:root {
  --paper: #fdfdfc;
  --ink: #000000;
  --muted: #494949;
  --line: #c5c5c5;
  --light-gray: #e9e9e8;
  --green: #ebfadb;
  --pink: #f8d4f8;
  --blue: #0d0df5;
  --pad: clamp(19px, 4.35vw, 76px);
  --sans: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
[data-field="installation"]{--field-background:var(--blue);--field-foreground:#fff}
[data-field="visual"]{--field-background:var(--pink);--field-foreground:var(--ink)}
[data-field="coding"]{--field-background:var(--green);--field-foreground:var(--ink)}
[data-field="vj"]{--field-background:var(--ink);--field-foreground:#fff}
[data-field="all"]{--field-background:var(--light-gray);--field-foreground:var(--ink)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:22px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-weight:400}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
img,video{display:block;width:100%;height:auto}
p,h1,h2,h3,figure,dl,dd{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
::selection{background:var(--pink);color:var(--ink)}
.frame{max-width:1680px;padding-inline:var(--pad);margin-inline:auto}
.mono{font:500 .73rem/1.45 var(--mono);letter-spacing:.035em;text-transform:uppercase}
.eyebrow{display:flex;align-items:center;gap:9px;color:var(--muted)}
.tiny-square{width:8px;height:8px;display:inline-block;background:var(--green);border:1px solid currentColor;flex:none}
.skip{position:fixed;z-index:5;top:10px;left:10px;background:var(--green);padding:12px;transform:translateY(-160%)}
.skip:focus{transform:none}
.header-line{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.site-header{border-bottom:1px solid var(--line)}
.wordmark{font-size:1.01rem;font-weight:500;display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.mark{width:37px;height:39px;flex:none;background:url(images/yaya-barcode-mark.png) center / 142% auto no-repeat}
nav{display:flex;align-items:center;gap:clamp(12px,3vw,46px);font-size:.87rem}
nav a{min-height:42px;display:inline-flex;align-items:center;gap:6px}
nav a:hover,.text-link:hover,.footer-links a:hover,.project-nav a:hover{text-decoration:underline;text-underline-offset:.25em}
nav a[aria-current=page]{font-weight:500}
nav a[aria-current=page]::before{content:"";width:6px;height:6px;background:var(--blue)}
.hello{border:1px solid var(--line);padding:0 13px}
.hello:hover{background:var(--pink)}


.page-head h1>span,.cv h1 span{color:var(--blue)}

.button{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:44px;padding:9px 14px;border:1px solid var(--ink);background:transparent;font-size:.85rem;font-weight:500}
.button:hover{background:var(--pink)}
.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.primary:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.text-link{font-size:.9rem;font-weight:500;display:inline-block;padding-block:8px;white-space:nowrap}








.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;border-top:1px solid var(--ink);padding:29px 0 24px}
.section-head h2,.practice h2,.section-subtitle,.case-body>h2{font-size:clamp(43px,6.25vw,96px);font-weight:300;line-height:1;letter-spacing:-.055em;margin-top:12px}
.features{display:grid;grid-template-columns:1fr 1fr;gap:clamp(26px,3.5vw,50px) clamp(14px,2.4vw,36px)}
.feature-image,.archive-image{overflow:hidden;background:var(--green);aspect-ratio:1.52}
.feature-image img,.archive-image img{height:100%;object-fit:cover;transition:transform .35s ease}
.feature a:hover img,.archive-grid a:hover img{transform:scale(1.045)}
.archive-image img[src$="/acid-neon-eyes-feature.webp"] {
  object-fit: contain;
  background: var(--paper);
}

.archive-grid a:hover img[src$="/acid-neon-eyes-feature.webp"] {
  transform: none;
}

.feature-copy{padding-block:13px 16px;border-bottom:1px solid var(--line)}
.feature-meta,.archive-meta{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}
.feature-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:7px 0}
.feature-title h3{font-size:clamp(21px,3.2vw,45px);font-weight:400;letter-spacing:-.035em;line-height:1.05}
.feature-title>span,.archive-grid h2>span{font-size:1.2em}
.feature-medium{color:var(--muted);font-size:.93rem}
.practice{margin:clamp(60px,9vw,135px) 0;display:grid;grid-template-columns:1fr 1fr;gap:30px;background:var(--pink);border:1px solid var(--ink);padding:clamp(22px,4vw,62px)}
.practice h2{font-size:clamp(44px,6vw,89px)}
.practice p:not(.eyebrow){margin:20px 0 10px;max-width:42ch;line-height:1.55;font-size:1.05rem}
.practice-fields{align-self:end}
.practice-fields a{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:14px 6px}
.practice-fields a:first-child{border-top:1px solid var(--line)}
.practice-fields a:is(:hover,:focus-visible){background:var(--field-background);color:var(--field-foreground)}
.practice-fields strong{font-weight:400;font-size:clamp(17px,2vw,29px);letter-spacing:-.04em}
.site-footer :focus-visible{outline-color:var(--pink)}
.site-footer{position:relative;isolation:isolate;background:var(--ink);color:var(--paper);margin-top:clamp(48px,8vw,112px)}
.footer-main{display:grid;grid-template-columns:1fr auto;gap:16px;padding:clamp(22px,3.5vw,46px) 0}
.barcode-wordmark {
  position: relative;
  aspect-ratio: 668 / 675;
  overflow: hidden;
}

.barcode-wordmark img {
  position: absolute;
  inset: 0 auto auto 0;
  /* Frame the lettering within the supplied 1018 × 954 reference. */
  width: 152.4%;
  transform: translate(-17.19%, -14.57%);
}

.footer-wordmark {
  width: clamp(106px, 10.25vw, 145px);
  margin-top: 16px;
  mix-blend-mode: screen;
}

.footer-wordmark img {
  filter: grayscale(1) invert(1) contrast(1.15);
}
.footer-main .tiny-square{margin-right:4px}
.footer-links{display:grid;align-content:end;gap:8px;font-size:.95rem}
.footer-base{display:flex;justify-content:space-between;gap:16px;padding-block:12px;border-top:1px solid #696969;color:var(--green)}
.page-head{padding:clamp(44px,7vw,100px) 0 32px}
.page-head h1,.cv h1{margin:12px 0 8px;font-size:clamp(53px,9vw,136px);font-weight:300;line-height:1;letter-spacing:-.058em;text-wrap:pretty;overflow-wrap:break-word}
.page-head>p:not(.eyebrow){font-size:clamp(16px,1.7vw,22px);color:var(--muted);margin-top:16px;line-height:1.4}
.archive-tools{display:flex;justify-content:space-between;align-items:end;gap:12px}
.filters{display:flex;flex-wrap:wrap;align-items:end;gap:4px}
.filters button {
  margin-top: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 0;
  min-height: 44px;
  background: var(--field-background);
  color: var(--field-foreground);
  font-size: .85rem;
  transition: transform 140ms ease-out;
}
@media (prefers-reduced-motion: no-preference) {
  .filters button:not([data-field="all"]):is(:hover, :focus-visible) {
    transform: translateY(-2px);
  }
  .filters button:not([data-field="all"]):active {
    transform: scale(.97);
  }
}
.filters button[aria-pressed="true"] {
  margin-top: 0;
  min-height: 50px;
  border-color: var(--ink);
}
.search{display:flex;gap:7px;align-items:center;border:1px solid var(--line);min-height:42px;margin-bottom:6px;padding:4px 9px;background:#fff}
.search input{width:175px;border:0;background:transparent;min-height:32px;font-size:1rem}
.archive-folder {
  border: 1px solid var(--line);
  border-top: 4px solid var(--field-background);
  padding: 0 clamp(10px, 1.5vw, 22px) clamp(14px, 2vw, 28px);
}
@media (max-width: 900px) {
  .archive-tools{flex-direction:column;align-items:stretch;gap:4px}
  .archive-tools .search{order:-1;align-self:flex-end}
}
.archive-count{padding:16px 0;color:var(--muted)}
.archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 18px}
.archive-grid article{min-width:0}
.archive-grid a{display:block;height:100%;border-bottom:1px solid var(--line);padding-bottom:12px}
.archive-meta{margin:9px 0 5px;color:#808080}
.archive-grid h2{display:flex;justify-content:space-between;gap:8px;font-size:clamp(17px,2vw,25px);font-weight:400;line-height:1.15;letter-spacing:-.025em}
.archive-index-entry {
  display: none;
}
.archive-results.is-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 48px);
}
.archive-preview {
  position: sticky;
  top: 22px;
  z-index: 1;
  display: block;
  min-width: 0;
  background: var(--paper);
}
.archive-preview-image {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 63vh;
  max-height: 63svh;
  background: var(--light-gray);
}
.archive-preview-image img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
}
.archive-preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.archive-preview:hover .archive-preview-caption {
  text-decoration: underline;
  text-underline-offset: .22em;
}
.archive-results.is-index .archive-grid {
  display: block;
  border-top: 1px solid var(--line);
}
.archive-results.is-index .archive-grid a {
  display: none;
}
.archive-results.is-index .archive-index-entry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font-size: clamp(.95rem, 1.4vw, 1.2rem);
  line-height: 1.3;
}
.archive-index-entry .mono {
  flex: none;
  color: var(--muted);
}
.archive-results.is-index .archive-index-entry:is(:hover, :focus-visible, [aria-pressed="true"]) {
  background: var(--field-background);
  color: var(--field-foreground);
}
.archive-results.is-index .archive-index-entry[aria-pressed="true"] {
  box-shadow: inset 3px 0 currentColor;
}
.archive-index-entry:is(:hover, :focus-visible, [aria-pressed="true"]) .mono {
  color: inherit;
}
.empty{padding:38px 0}
.empty button{background:var(--green);min-height:42px;border:1px solid var(--ink);margin-left:6px}
.about-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
}
.about-intro::backdrop {
  background: none;
}
.about-intro-enter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}
.about-intro-enter:focus-visible {
  outline: none;
}
.about-intro-enter:focus-visible .about-intro-hint {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.about-intro-type {
  position: absolute;
  inset: 2% 2% 6%;
  display: grid;
  grid-template-columns: minmax(0, var(--yaya-width, 46%)) minmax(0, 1fr);
  transition: grid-template-columns 130ms ease-out;
  transform-origin: top left;
  pointer-events: none;
}
.about-intro-type svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.about-intro-type text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 100;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: var(--type-weight, 1.2);
  stroke-linejoin: round;
  transition: stroke-width 110ms ease-out;
}
.about-intro-hint {
  position: absolute;
  top: 80px;
  right: var(--pad);
  padding: 8px 10px;
  background: var(--paper);
}
.about-intro.is-exiting .about-intro-hint {
  opacity: 0;
}
body:has(.about-intro[open]) {
  overflow: hidden;
}
body:has(.about-intro[open]) :is(.about-heading-squares span, .about-line-art path, .about-line-art rect) {
  animation-play-state: paused;
}
@media (max-aspect-ratio: 4/5) {
  .about-intro-type {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
}
.about-profile {
  padding-top: clamp(28px, 4.5vh, 48px);
}
.about-heading h1 {
  max-width: 19ch;
  margin: 14px 0 0;
  font-size: clamp(21px, 3.45vw, 52px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.about-heading h1:focus {
  outline: none;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(22px, 5vw, 72px);
  margin-top: clamp(30px, 4.75vh, 46px);
}
.about-portrait {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 225px);
}
.about-line-art {
  position: absolute;
  z-index: -1;
  right: calc(-.48 * var(--pad));
  bottom: -20px;
  width: 114%;
  height: auto;
  pointer-events: none;
}
.about-heading,
.about-copy {
  position: relative;
  z-index: 1;
}
.about-heading-squares {
  position: absolute;
  inset: 0 -47% 0 0;
  pointer-events: none;
}
.about-heading-squares span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: clamp(7px, .8vw, 13px);
  aspect-ratio: 1;
  background: var(--fill);
  border: 1px solid var(--ink);
  animation: intro-node 2.55s ease-in-out var(--delay) both;
}
.about-heading-squares.is-scattered span {
  animation-duration: .85s;
  animation-delay: calc(var(--delay) * .16);
}
@media (min-width: 721px) {
  .about-heading {
    width: min(68%, 748px);
  }
}
@media (721px <= width < 1100px) {
  .about-heading-squares:not(.is-scattered) span:first-child {
    left: 70%;
  }
}
.about-actions {
  margin-top: 44px;
}
.about-actions .primary:is(:hover, :focus-visible, :active) {
  background: var(--pink);
  border-color: var(--ink);
  color: var(--ink);
}
.about-copy p {
  max-width: 76ch;
  margin-bottom: 10px;
  font-size: clamp(.875rem, 1vw, .9375rem);
  line-height: 1.45;
}
.case-gallery figure,.case-video,.case-figures figure{border:1px solid var(--line)}
.case-video{background:var(--green)}
.case-gallery figure,.case-figures figure{background:#fff}
figcaption{padding:10px}
.case-story p,.case-notes p{font-size:clamp(15px,1.4vw,20px);line-height:1.58;max-width:54ch;margin-bottom:15px}
.project-nav,.cv-tools{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:27px}
.project-nav a{padding:8px 0}
.project-head{padding:28px 0 25px}
.project-head h1{font-size:clamp(42px,7.3vw,106px)}

.cover{background:#f2f2f0;border:1px solid var(--line)}
.cover img{max-height:75vh;object-fit:contain}
.project-info{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(22px,7vw,110px);padding:27px 0 38px}


.project-facts{border-top:1px solid var(--line)}
.project-facts div{display:grid;grid-template-columns:115px 1fr;gap:8px;border-bottom:1px solid var(--line);padding:10px 0;font-size:.93rem}
.project-facts dt{color:var(--muted);font:500 .70rem/1.55 var(--mono);text-transform:uppercase}
.case-body{border-top:1px solid var(--ink);padding-top:26px;margin:10px 0 48px}
.case-body>h2{margin-bottom:22px}
.case-story,.case-notes,.case-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.case-story h3,.case-notes h3{font-weight:500;font-size:1.18rem;margin-bottom:8px}
.case-video{margin:10px 0 42px}
.case-video video{max-height:76vh;background:var(--ink)}
/* The Mr Crab’s Jam source has a narrow black strip at its right edge. */
img[src$="/mr-crabs-jam.webp"] {
  object-view-box: inset(0 .5% 0 0);
}

@supports not (object-view-box: inset(0)) {
  .archive-image img[src$="/mr-crabs-jam.webp"] {
    clip-path: inset(0 .5% 0 0);
    scale: 1.006 1;
    transform-origin: left center;
  }

  .cover img[src$="/mr-crabs-jam.webp"] {
    width: auto;
    max-width: 100%;
    clip-path: inset(0 .5% 0 0);
  }
}

.case-gallery figure>img,.case-figures figure>img{object-fit:contain;background:#f2f2f0}
.case-gallery figure>img{aspect-ratio:4/3}
.case-gallery figure:first-child{grid-column:1/-1}
.case-gallery figure:first-child img{aspect-ratio:1.9}
.case-notes{border-block:1px solid var(--line);padding-block:20px;margin-top:25px}
.case-notes ul{list-style:none;padding:0;margin:0}
.case-notes li{margin-bottom:9px}
.case-notes a,.case-notes small{display:block}
.case-notes a{text-decoration:underline;text-underline-offset:3px}
.system-notes summary{cursor:pointer;padding:14px 0}
.system-notes img{width:min(100%,480px)}
.cv{margin-top:22px}
.cv-head{border:1px solid var(--line);padding:clamp(16px,3vw,45px);background:var(--green)}
.cv-intro-grid,.cv-layout{display:grid;grid-template-columns:2fr 1fr;gap:clamp(18px,4vw,56px)}
.cv-layout{grid-template-columns:1fr 2fr;margin-top:30px}
.cv-kicker,.cv-mini-label,.cv-date{font:500 .73rem/1.5 var(--mono);color:#707070}
.cv-date{color:#909090}
.cv-kicker{display:flex;justify-content:space-between;gap:5px;padding-bottom:12px}
.cv h1{font-size:clamp(46px,7vw,95px);margin:0 0 12px}
.cv-role{font-weight:500;margin:0 0 8px}
.cv-summary,.cv .t3{line-height:1.45;color:#707070}
.cv .t3{color:#808080}
.cv-intro-side>div{margin-bottom:9px}
.cv-mini-label{display:block}
.cv-block{padding:15px 0 23px;border-top:1px solid var(--line)}
.cv-block h2{font-weight:400;font-size:1.35rem;margin-bottom:10px;letter-spacing:-.03em}
.cv-item{margin:8px 0;padding:6px 0;break-inside:avoid}
.cv .t1{font-weight:500;margin:2px 0}
.cv .t2,.cv .t3{font-size:.9rem}
.cv .t3{margin-top:5px}
.cv-skills{display:flex;flex-wrap:wrap;gap:5px}
.cv-skill-tag{padding:5px 7px;border:1px solid var(--line);font-size:.79rem}
@media(max-width:850px){
  
  .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-facts div{grid-template-columns:95px 1fr}
}
@media(max-width:720px){
  .header-line{min-height:60px}
  .about-intro-hint{top:68px}
  .hello{display:none}
  
  
  
  
  .section-head{align-items:start;flex-direction:column;gap:5px}
  .features{grid-template-columns:1fr}
  .practice,.about-grid,.project-info,.cv-intro-grid,.cv-layout{grid-template-columns:1fr}
  .about-portrait{width:min(65%, 180px)}
  .about-line-art{right:auto;left:-23%;bottom:-12px;width:65%}
  .about-heading-squares{inset:-21px 3px auto auto;width:74px;height:10px}
  .about-heading-squares:not(.is-scattered) span{top:0;left:var(--mobile-x)}
  .about-heading-squares.is-scattered{inset:0;width:auto;height:auto}
  .archive-image{aspect-ratio:1.2}
  .archive-meta{font-size:.64rem}
  .archive-grid{gap:22px 11px}
  .archive-results.is-index{grid-template-columns:minmax(0,1fr);gap:14px}
  .archive-preview{top:0}
  .archive-preview-image{max-height:30vh;max-height:30svh}
  .case-story,.case-notes{grid-template-columns:1fr;gap:5px}
  .footer-main{grid-template-columns:1fr}
}
@media(max-width:375px){
  .wordmark{font-size:.88rem;gap:6px}
  .mark{width:32px;height:34px}
  nav{gap:8px;font-size:.78rem}
  
  
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@media print{
  .cv-page .site-header,.cv-page .site-footer,.cv-tools,.skip{display:none!important}
  .cv-page{background:white;font-size:10pt}
  .cv-page .frame{padding:0;max-width:none}
  .cv{margin:0}
  .cv-head{padding:8pt;background:white}
  .cv-intro-grid,.cv-layout{grid-template-columns:1fr;gap:8pt}
  .cv-intro-side{display:flex;gap:16pt}
  .cv h1{font-size:32pt}
  .cv-block h2{break-after:avoid}
}

/* Gallery layout */
/* The opening takes up one screen, including the site navigation. */
.home-page {
  --opening-nav-height: 72px;
  --opening-art-lift: clamp(38px, 3vw + 12px, 56px);
}

.home-page .site-header {
  position: relative;
  z-index: 1;
  border-bottom: 0;
}

.home-page .header-line {
  min-height: var(--opening-nav-height);
}

.gallery-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  min-height: calc(100vh - var(--opening-nav-height));
  min-height: calc(100svh - var(--opening-nav-height));
  padding-block: 22px;
  border-bottom: 1px solid var(--ink);
}

.intro-art {
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--opening-art-lift)) calc(-1 * var(--pad)) 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-art svg {
  display: block;
  position: absolute;
  top: -16px;
  left: -16px;
  width: calc(100% + 32px);
  height: calc(100% - var(--opening-art-lift) + 32px);
  overflow: visible;
}

:is(.intro-art, .about-line-art) path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: .46;
  stroke-width: 1px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  transition: transform .35s ease-out;
  animation: intro-draw 1.45s cubic-bezier(.25, .65, .2, 1) var(--delay) both;
}

:is(.intro-art, .about-line-art) rect {
  animation: intro-node 2.55s ease-in-out var(--delay) both;
}

:is(.intro-art, .about-line-art) rect[fill="var(--green)"],
:is(.intro-art, .about-line-art) rect[fill="var(--pink)"] {
  stroke: var(--ink);
  stroke-width: .5px;
  vector-effect: non-scaling-stroke;
}

@keyframes intro-draw {
  from { stroke-dashoffset: 1; opacity: 0; }
  15% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes intro-node {
  from { opacity: 0; }
  27%, 73% { opacity: 1; }
  50% { opacity: .27; }
  to { opacity: 1; }
}

.intro-identity {
  grid-area: 2 / 1;
  justify-self: center;
  text-align: center;
  padding: 12px 10px;
  background: radial-gradient(ellipse closest-side, var(--paper) 65%, transparent);
}

.intro-identity .barcode-wordmark {
  width: clamp(105px, 15.5vw, 205px);
  mix-blend-mode: multiply;
}

.intro-identity .barcode-wordmark img {
  filter: grayscale(1) contrast(1.15);
}

.intro-role {
  grid-area: 2 / 1;
  justify-self: start;
  margin-left: 3%;
  transform: translateY(clamp(-122px, -7vw - 12px, -58px));
  padding: 5px 8px;
  background: var(--paper);
  color: var(--muted);
  font: 400 .83rem/1.5 var(--mono);
}

/* Keep the replay control visible for keyboard users on focus. */
.intro-replay {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  left: 0;
  padding: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.intro-replay:not(:focus-visible) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}

.intro-scroll,
.intro-location {
  grid-area: 3 / 1;
  align-self: end;
  background: var(--paper);
}

.intro-scroll {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  padding-inline: 8px;
}

.intro-scroll span {
  color: var(--blue);
  font-size: 1.1rem;
}

.intro-scroll:hover,
.intro-scroll:focus-visible {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.intro-location {
  justify-self: end;
  padding: 14px 0 14px 8px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  :is(.intro-art, .about-line-art) :is(path, rect),
  .about-heading-squares span {
    animation: none;
  }

  .intro-art path {
    transform: none;
  }
}

.home-page .selected {
  width: 90%;
  max-width: 1280px;
  margin-inline: auto;
}

.home-page .section-head {
  align-items: baseline;
  border: 0;
  padding: 15px 0;
}

.home-page .section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.home-page .features {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.3vw, 34px);
}

.home-page .feature a {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(205px, 1fr);
}

.home-page .feature-image {
  aspect-ratio: 2 / 1;
}

.home-page .feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-width: 0;
  border: 0;
  padding: clamp(16px, 2.6vw, 40px);
  background: var(--blue);
  color: #fff;
}

.home-page .feature:nth-child(2) .feature-copy {
  background: var(--pink);
  color: var(--ink);
}

.home-page .feature:nth-child(3) .feature-copy {
  background: var(--green);
  color: var(--ink);
}

.home-page .feature:nth-child(4) .feature-copy {
  background: var(--ink);
  color: #fff;
}

.home-page .feature-title h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 300;
}

.home-page .feature-title > span {
  flex: none;
}

.home-page .feature :is(.feature-meta, .feature-medium) {
  color: inherit;
}

/* Show the full composition for the supplied homepage artwork. */
.home-page .feature-image.feature-image--full {
  aspect-ratio: auto;
  align-content: center;
}

.home-page .feature-image--full img {
  height: auto;
}

.home-page .feature a:hover .feature-image--full img {
  transform: none;
}

.home-page .feature a[href$="/vj-feifei-band.html"] img {
  object-position: center 42%;
}

.home-page .practice {
  background: transparent;
  border: 0;
  margin-bottom: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url(trace.svg) center 52% / cover no-repeat;
  opacity: .24;
  pointer-events: none;
}

.home-page .practice-fields a {
  grid-template-columns: 1fr auto;
  border-color: var(--ink);
}

.project-nav {
  align-items: baseline;
  margin-top: 15px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}

.project-nav a {
  color: var(--blue);
  flex-shrink: 0;
}

.project-nav > span {
  text-align: right;
}

.project-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, .38fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(16px, 3vw, 48px);
  padding-block: clamp(18px, 3vw, 43px);
}

.project-display .project-head {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(16px, 2vw, 30px) clamp(16px, 2vw, 30px) 12px;
  background: var(--field-background);
  color: var(--field-foreground);
}

.project-display .project-head h1 {
  margin: 0;
  font-size: clamp(34px, 4.1vw, 65px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.055em;
}

.project-display .project-head .pulse-title {
  text-transform: uppercase;
  font-size: clamp(31px, 3.5vw, 55px);
  line-height: 1.08;
  letter-spacing: -.035em;
  overflow-wrap: normal;
  text-wrap: balance;
}

.project-display .project-head > p {
  margin-top: 9px;
  font-size: .95rem;
}

.project-display .cover {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 2;
  place-items: center;
  min-width: 0;
  border: 0;
  background: #efefee;
}

.project-display .cover img {
  max-height: min(82vh, 930px);
  object-fit: contain;
}

.project-display .project-info {
  display: block;
  grid-column: 2;
  grid-row: 2;
  padding: 0 clamp(16px, 2vw, 30px) clamp(16px, 2vw, 30px);
  background: var(--field-background);
  color: var(--field-foreground);
}

.project-display .project-head > p,
.project-display .project-facts dt,
.project-display .project-links a {
  color: inherit;
}

.project-display .project-links a {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.project-display .project-links a:focus-visible {
  outline-color: currentColor;
}

.pulse-story {
  max-width: 63ch;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.58;
}

.pulse-story p + p {
  margin-top: 14px;
}

.nest-video {
  margin: 28px 0 0;
  background: #fff;
}

.nest-lyrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 28px 40px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.58;
}

.nest-lyrics h3,
.nest-process-heading {
  margin-bottom: 12px;
  font-size: 1.17rem;
  font-weight: 500;
}

.nest-lyrics p + p {
  margin-top: 14px;
}

.nest-process-heading {
  margin-top: 26px;
}

.nest-case .case-gallery:not(.nest-process) figure:last-child {
  grid-column: 1 / -1;
}

.nest-case .case-gallery:not(.nest-process) figure:last-child img {
  aspect-ratio: auto;
}

.nest-process figure:first-child {
  grid-column: auto;
}

.nest-process figure > img,
.nest-process figure:first-child img {
  aspect-ratio: 4 / 5;
}

.nest-slides {
  margin-top: 26px;
}

@media (max-width: 520px) {
  .nest-case .case-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 14px;
}

.project-links a {
  color: var(--blue);
}

.acid-tiles,
.signal-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.35vw, 20px);
}

.acid-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 86%;
  max-width: 1120px;
  margin-inline: auto;
}

@media (max-width: 560px) {
  .acid-tiles {
    width: 92%;
  }
}

.album-gallery {
  display: grid;
  width: min(88%, 840px);
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 34px);
}

.signal-gallery figure,
.album-gallery figure {
  border: 1px solid var(--line);
}

.image-enlarge,
.research-board-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-enlarge {
  position: relative;
}

.image-enlarge span {
  position: absolute;
  inset: auto 10px 10px auto;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.15rem;
}

.image-enlarge:hover span,
.image-enlarge:focus-visible span {
  border-color: var(--ink);
}

body:has(.image-lightbox[open]) {
  overflow: hidden;
}

.image-lightbox {
  width: fit-content;
  max-width: min(96vw, 1600px);
  max-height: 94vh;
  max-height: 94dvh;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.image-lightbox::backdrop {
  background: rgb(0 0 0 / 82%);
}

.image-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 10px;
  min-height: 44px;
  font-size: .87rem;
}

.image-lightbox-close {
  min-height: 40px;
  padding: 6px 2px;
  background: transparent;
  border: 0;
}

.image-lightbox-art {
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 46px);
  max-height: calc(94dvh - 46px);
  object-fit: contain;
  margin-inline: auto;
}

.signal-quote {
  margin: 20px 0;
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--line);
}

.signal-quote footer {
  margin-top: 8px;
  font-size: .875em;
  color: var(--muted);
}

.project-demo {
  max-width: 1000px;
  background: #fff;
}

.project-video-embed {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--ink);
}

.crab-gallery figure:first-child img {
  aspect-ratio: auto;
}

.crab-development figure:first-child {
  grid-column: auto;
}

.crab-development figure:first-child img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 640px) {
  .crab-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.matcha-research {
  max-width: 1000px;
  margin-top: 26px;
  grid-template-columns: minmax(0, 1fr);
}

.matcha-research figure:first-child img {
  aspect-ratio: auto;
}

.matcha-pdf-link figcaption {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.night-quote {
  margin: 0 0 28px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--line);
}

.night-quote p {
  font-size: clamp(22px, 2.4vw, 32px);
}

.night-quote footer {
  margin-top: 4px;
  font-size: .875em;
  color: var(--muted);
}

.case-figures {
  display: grid;
  gap: clamp(14px, 2vw, 26px);
}

.night-portraits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.night-portraits img {
  aspect-ratio: 3 / 4;
}

.night-collages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.case-figures figcaption,
.research-board-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
}

.research-board-gallery {
  width: min(82%, 900px);
  margin-inline: auto;
}

.graffiti-question {
  margin-top: 12px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid var(--line);
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.3;
}

.research-board-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 8px 0;
  text-align: center;
}

@media (min-width: 721px) {
  #loofah-furniture-images + .research-board-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #mondrians-bonfire-images + .research-board-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #graffiti-workflow + .research-board-gallery,
  #graffiti-studies + .research-board-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #graffiti-workflow + .research-board-gallery > :is(:first-child, :last-child),
  #graffiti-studies + .research-board-gallery > :is(:first-child, :last-child) {
    grid-column: 1 / -1;
  }
}

.research-board-caption {
  padding: 10px;
  text-align: start;
}

.research-board-action {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.cable-temple-quote span {
  white-space: pre-wrap;
}

.cable-temple-renders {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cable-temple-renders figure:first-child {
  grid-column: 1 / -1;
}

.cable-temple-renders img {
  width: 100%;
  height: auto;
}

.mcmen-concept {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  margin-top: 26px;
}

.mcmen-concept img {
  height: clamp(220px, 32vw, 460px);
}

.mcmen-photos {
  max-width: 1080px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mcmen-photos figure > img {
  aspect-ratio: 4 / 3;
  object-fit: scale-down;
}

.nasal-photos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nasal-photos img {
  aspect-ratio: 1;
}

.architecture-photos {
  margin-top: 26px;
}

@media (max-width: 640px) {
  .architecture-photos,
  .nasal-photos,
  .mcmen-concept,
  .night-portraits,
  .night-collages,
  .cable-temple-renders {
    grid-template-columns: minmax(0, 1fr);
  }

  .mcmen-concept img {
    height: auto;
    max-height: 380px;
  }

  .mcmen-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .night-portraits img {
    aspect-ratio: auto;
  }
}

.acid-tile {
  width: 100%;
  aspect-ratio: 1;
  background: url(images/acid-neon-eyes-feature.webp)
    var(--tile-x) var(--tile-y) / 300% 200% no-repeat;
}

.acid-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.acid-video {
  margin: 0;
  background: #fff;
}

.acid-video video {
  aspect-ratio: 1;
  max-height: none;
}

@media (max-width: 560px) {
  .acid-videos,
  .signal-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pulse-story > .cable-band-links {
  font-size: .93rem;
}

.cable-band-links a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.cable-phrases {
  max-width: 63ch;
  margin-block: 22px;
  border-top: 1px solid var(--line);
}

.cable-phrases div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
}

.cable-phrases dd {
  color: var(--muted);
}

.cable-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
  max-width: 1060px;
  margin-inline: auto;
}

.cable-video {
  margin: 0;
  background: #fff;
}

.cable-video video {
  max-height: none;
}

.cable-poster-note {
  margin-bottom: 24px;
}

@media (max-width: 560px) {
  .cable-videos {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pulse-exhibitions {
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.pulse-case .case-gallery figure:nth-last-child(-n+2) img {
  aspect-ratio: 4 / 5;
}

.project-display .project-overview {
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 19px;
}

.project-display .project-facts,
.project-display .project-facts div {
  border-color: currentColor;
  border-color: color-mix(in srgb, currentColor 50%, transparent);
}

.project-display .project-facts div {
  grid-template-columns: minmax(72px, .8fr) minmax(0, 1fr);
  overflow-wrap: anywhere;
}

.related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: fit-content;
  max-width: min(100%, 22rem);
  padding: 10px 14px;
  background: var(--light-gray);
}

.related:is(:hover, :focus-visible) {
  background: var(--field-background);
  color: var(--field-foreground);
}

.related h2 {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.related > span {
  flex: none;
  font-size: 1.2rem;
}

@media (max-width: 850px) {
  .project-display .project-head h1 {
    font-size: clamp(32px, 5vw, 47px);
  }
}

@media (max-width: 720px) {
  .home-page .selected {
    width: 100%;
  }

  .project-display,
  .home-page .feature a {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page {
    --opening-nav-height: 60px;
    --opening-art-lift: 26px;
  }

  .intro-role {
    grid-area: 3 / 1;
    align-self: start;
    justify-self: center;
    margin: 0;
    transform: none;
    text-align: center;
    background: transparent;
  }

  .intro-location {
    display: none;
  }

  .intro-art path {
    stroke-opacity: .30;
  }

  .home-page .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .home-page .feature-image {
    aspect-ratio: 1.55;
  }

  .project-display .project-head,
  .project-display .cover,
  .project-display .project-info {
    grid-column: auto;
    grid-row: auto;
  }

  .project-display .project-head {
    padding-bottom: 16px;
  }

  .project-display .project-info {
    padding-top: 16px;
  }

  .project-display .cover img {
    max-height: 75vh;
  }
}
