/* Self-hosted variable fonts, preloaded with metric-adjusted local fallbacks. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/fraunces-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/fraunces-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/fraunces-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Craftish: base, editorial layout, introduction, and record pattern. */
:root {
  color-scheme:light;
  --page:#fdfcfa;
  --ink:#242721;
  --body-ink:#41453e;
  --quiet:#64675e;
  --rule:#d1d1c5;
  --app:#e8ede2;
  --romaji:#e8e7ed
}
:root[data-theme="dark"] {
  color-scheme:dark;
  --page:#211f1b;
  --ink:#eee8dc;
  --body-ink:#cdc7ba;
  --quiet:#b0ad9e;
  --rule:#46443b;
  --app:#343b30;
  --romaji:#36333f
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--page);
  color:var(--ink);
  font:15px/1.5 'DM Sans','DM Sans Fallback',Arial,sans-serif;
  transition:background-color 300ms,color 300ms
}
a {
  color:inherit;
  text-underline-offset:4px
}
button {
  font:inherit
}
:focus-visible {
  outline:2px solid #97845c;
  outline-offset:5px
}
[hidden] {
  display:none!important
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  text-decoration:none;
  font:700 38px/1 Fraunces,'Fraunces Fallback',Georgia,serif;
  letter-spacing:-1.8px
}
.brand img {
  width:32px;
  height:32px
}
:root[data-theme="dark"] .brand img {
  filter:invert(1)
}
#theme-toggle {
  width:34px;
  height:34px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--rule);
  border-radius:50%;
  background:var(--page);
  color:var(--quiet);
  cursor:pointer;
  padding:0;
  flex:none
}
#theme-toggle:hover {
  color:var(--ink);
  border-color:var(--quiet)
}
#theme-toggle span {
  position:absolute;
  width:14px;
  height:14px;
  top:9px;
  left:9px;
  transform-origin:center
}
#theme-toggle svg {
  display:block;
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
#theme-toggle .theme-sun {
  transform:translate(0,0);
  opacity:1
}
#theme-toggle .theme-moon,
:root[data-theme="dark"] #theme-toggle .theme-sun {
  transform:translate(-23px,22px);
  opacity:0
}
:root[data-theme="dark"] #theme-toggle .theme-moon {
  transform:translate(0,0);
  opacity:1
}
main {
  padding:0 4vw
}
.project {
  display:flex;
  flex-direction:column;
  gap:27px;
  margin:0;
  padding-bottom:85px;
  min-width:0;
  align-self:start;
  transform-origin:top left
}
.visual {
  display:block;
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:1.65
}
.visual img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover
}
.photogravure .visual {
  aspect-ratio:1.48
}
.caption {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);
  gap:14px 6vw;
  align-items:start
}
.caption h2 {
  grid-column:1;
  grid-row:1;
  font:500 clamp(46px,5.5vw,82px)/.98 Fraunces,'Fraunces Fallback',Georgia,serif;
  letter-spacing:-.06em;
  margin:0;
  min-width:0
}
.meta {
  grid-column:1;
  grid-row:2;
  font-size:11px;
  letter-spacing:.035em;
  color:var(--quiet);
  margin-top:1px
}
.caption p {
  grid-column:2;
  grid-row:1;
  font-size:16px;
  line-height:1.65;
  letter-spacing:-.01em;
  color:var(--body-ink);
  padding-top:5px;
  max-width:440px;
  margin:0
}
.credit {
  grid-column:2;
  grid-row:2;
  font-size:11px;
  line-height:1.6;
  color:var(--quiet)
}
.credit a {
  text-decoration-color:#a1a397;
  text-decoration-thickness:1px
}
.project-link {
  display:inline-flex;
  align-items:baseline;
  gap:.28em;
  text-decoration:none;
  max-width:100%;
  padding-right:.16em
}
.title-text {
  position:relative;
  min-width:0
}
.title-arrow {
  display:inline-block;
  flex:none;
  font:400 .39em/1 'DM Sans','DM Sans Fallback',Arial,sans-serif;
  position:relative;
  top:-.14em
}
.derive .visual {
  background:#000
}
.derive .visual img {
  position:absolute;
  inset:0;
  object-fit:contain;
  padding:clamp(20px,4vw,64px);
  opacity:0
}
.derive .visual img:first-child {
  opacity:.22
}
.derive .visual img:nth-child(2) {
  opacity:.92
}
.motion .derive .visual img:nth-child(n+2) {
  animation:derive-layer-turn 8s linear infinite both
}
.motion .derive .visual img:nth-child(3) {
  animation-delay:-6s
}
.motion .derive .visual img:nth-child(4) {
  animation-delay:-4s
}
.motion .derive .visual img:nth-child(5) {
  animation-delay:-2s
}
.motion .derive:hover img,
.motion .derive:focus-within img {
  animation-play-state:paused
}
@keyframes derive-layer-turn{0%,20%,100%{opacity:.92}26%,94%{opacity:0}}
.photoseed .visual {
  aspect-ratio:3024/1722
}
.photoseed .visual img {
  object-fit:contain
}
.harmonograph .visual {
  aspect-ratio:3024/1722;
  background:#17140e;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(18px,3vw,48px)
}
.harmonograph-crop {
  display:block;
  width:100%;
  aspect-ratio:3024/1720;
  position:relative;
  overflow:hidden
}
.harmonograph-crop img {
  width:100%;
  height:auto
}
.harmonograph-crop:before,
.harmonograph-crop:after {
  content:'';
  position:absolute;
  bottom:0;
  width:1.35%;
  height:2.4%;
  background:#0e0d09;
  z-index:1;
  pointer-events:none
}
.harmonograph-crop:before {
  left:0
}
.harmonograph-crop:after {
  right:0
}
.phone-frame {
  --phone-bezel:5px;
  --phone-radius:32px;
  display:block;
  position:relative;
  min-width:0;
  border:var(--phone-bezel) solid #252623;
  border-radius:var(--phone-radius);
  background:#252623;
  box-shadow:0 0 0 1px #565650;
  overflow:visible;
  flex:none
}
.phone-frame img,
.phone-frame video {
  border-radius:calc(var(--phone-radius) - var(--phone-bezel));
  display:block
}
.phone-buttons {
  position:absolute;
  inset:0;
  pointer-events:none
}
.phone-buttons i,
.phone-buttons:after {
  position:absolute;
  width:3px;
  background:#353632;
  border-radius:2px
}
.phone-buttons i {
  left:calc(-1 * var(--phone-bezel) - 3px)
}
.phone-buttons:after {
  content:'';
  right:calc(-1 * var(--phone-bezel) - 3px);
  top:26%;
  height:12%
}
.phone-action {
  top:12%;
  height:3.5%
}
.phone-volume-up {
  top:21%;
  height:7%
}
.phone-volume-down {
  top:29.5%;
  height:7%
}
.phone-island {
  position:absolute;
  z-index:2;
  top:1.7%;
  left:50%;
  transform:translateX(-50%);
  width:29%;
  height:3.5%;
  border-radius:999px;
  background:#111210;
  pointer-events:none
}
.phone {
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:1.25;
  padding:28px;
  background:var(--app)
}
.environments .visual {
  aspect-ratio:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(32px,5vw,80px) clamp(22px,4vw,64px);
  background:#e9dfcd
}
:root[data-theme="dark"] .environments .visual {
  background:#393329
}
.environments-gallery {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  width:100%;
  max-width:920px;
  gap:clamp(12px,2vw,32px)
}
.environments-device {
  --phone-bezel:5px;
  --phone-radius:24px;
  width:100%
}
.environments-device img {
  width:100%;
  height:auto;
  object-fit:cover
}
@media(min-width:701px) {
.pair main {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start;
  gap:40px 44px
}
.pair .project {
  padding-bottom:35px;
  gap:24px
}
.pair .project .visual {
  height:min(34vw,544px);
  aspect-ratio:auto;
  display:flex;
  align-items:center;
  justify-content:center
}
.pair .caption {
  display:flex;
  flex-direction:column;
  gap:0
}
.pair .caption h2 {
  font-size:clamp(36px,4.25vw,63px);
  line-height:1;
  letter-spacing:-.05em;
  margin-bottom:12px
}
.pair .meta {
  margin-bottom:23px
}
.pair .caption p {
  font-size:15px;
  padding-top:0;
  max-width:470px;
  margin-bottom:15px
}
.pair .credit {
  font-size:12px
}
.pair .derive img {
  padding:clamp(18px,2.5vw,40px)
}
.pair .photoseed img {
  object-fit:cover
}
.pair .phone {
  padding:32px
}
.pair .environments .visual {
  padding:32px 24px
}
.pair .environments-gallery {
  height:100%;
  width:auto;
  max-width:100%;
  align-items:center
}
.pair .environments-device {
  max-height:100%
}
.pair .harmonograph .visual {
  padding:clamp(16px,2vw,32px)
}
.pair .harmonograph-crop {
  max-height:100%
}
}
#site-footer {
  display:block;
  margin-top:15px;
  padding:65px 4vw 80px;
  position:relative
}
#site-footer:before {
  content:'';
  position:absolute;
  top:0;
  left:4vw;
  right:4vw;
  height:1px;
  background:var(--rule)
}
#site-footer>div {
  max-width:620px;
  margin:auto
}
#site-footer h2 {
  font:500 clamp(30px,2.5vw,44px)/1.12 Fraunces,'Fraunces Fallback',Georgia,serif;
  letter-spacing:-.04em;
  margin:0 0 22px
}
#site-footer p {
  font-size:16px;
  line-height:1.7;
  color:var(--body-ink);
  margin:0 0 17px
}
.footer-email {
  display:block;
  width:fit-content;
  font-size:16px;
  margin:0 0 28px;
  text-decoration-thickness:1px
}
::view-transition-group(*) {
  animation-duration:450ms;
  animation-timing-function:cubic-bezier(.22,.7,.2,1)
}
@media(max-width:700px) {
.project {
  padding-bottom:60px;
  gap:27px
}
.caption {
  display:flex;
  flex-direction:column;
  gap:14px
}
.caption h2 {
  font-size:clamp(46px,5.5vw,82px)
}
.meta {
  margin:7px 0 16px
}
.caption p {
  margin:0 0 12px
}
.phone {
  padding:22px;
  aspect-ratio:1
}
.phone-frame {
  --phone-bezel:4px;
  --phone-radius:25px
}
.environments-gallery {
  gap:10px
}
.environments-device {
  --phone-bezel:2.5px;
  --phone-radius:12px
}
#site-footer {
  padding:40px 22px 55px
}
#site-footer:before {
  left:22px;
  right:22px
}
}
@media(pointer:coarse) {
#theme-toggle {
  width:44px;
  height:44px
}
#theme-toggle span {
  top:14px;
  left:14px
}
}
@media(prefers-reduced-motion:reduce) {
body {
  transition:none
}
::view-transition-group(*) {
  animation-duration:0s
}
.motion .derive .visual img:nth-child(n+2) {
  animation:none;
  opacity:0
}
.motion .derive .visual img:nth-child(2) {
  opacity:.92
}
}
:root {
  --gutter:clamp(22px,4vw,64px)
}
main,
#site-footer {
  max-width:1600px;
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--gutter);
  padding-right:var(--gutter)
}
#site-footer:before {
  left:var(--gutter);
  right:var(--gutter)
}
.caption {
  column-gap:clamp(24px,6vw,96px)
}
@media(max-width:700px) {
.brand {
  font-size:30px;
  letter-spacing:-1.3px
}
.brand img {
  width:27px;
  height:27px
}
.caption {
  gap:8px
}
.caption .meta {
  margin:0
}
.caption h2 {
  font-size:clamp(32px,7.5vw,46px);
  line-height:1.04;
  letter-spacing:-.045em
}
.project-link {
  overflow-wrap:anywhere
}
.caption p {
  font-size:15px;
  padding-top:0
}
.project {
  gap:22px
}
.environments .visual {
  padding:28px 16px
}
.environments-gallery {
  gap:9px
}
}
:root {
  --card-surface:#ffffff;
  --card-shadow:0 12px 30px #24242116;
  --card-edge:#24242108
}
:root[data-theme="dark"] {
  --card-surface:#2c2923;
  --card-shadow:0 12px 32px #00000045;
  --card-edge:#eee8dc12
}
.project {
  position:relative;
  isolation:isolate
}
.project:before {
  content:'';
  position:absolute;
  inset:-14px -14px 65px;
  z-index:-1;
  background:var(--card-surface);
  border:1px solid var(--card-edge);
  border-radius:2px;
  box-shadow:var(--card-shadow);
  opacity:0;
  transform:translateY(0);
  pointer-events:none;
  transition:opacity 240ms,transform 240ms
}
.project.is-hovered:before {
  opacity:1;
  transform:translateY(-3px)
}
.title-arrow {
  transition:transform 250ms cubic-bezier(.22,.7,.2,1)
}
.project.is-hovered .title-arrow {
  transform:translate(3px,-3px)
}
@media(min-width:701px) {
.pair .project:before {
  bottom:15px
}
}
@media(max-width:700px) {
.project:before {
  bottom:40px
}
}
@media(prefers-reduced-motion:reduce) {
.project:before,
.title-arrow {
  transition:none
}
.project.is-hovered:before,
.project.is-hovered .title-arrow {
  transform:none
}
}
.project.is-hovered .title-text {
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.09em
}
:root {
  --footer-surface:#eae4d8
}
:root[data-theme="dark"] {
  --footer-surface:#2c2822
}
#site-footer {
  background:var(--footer-surface);
  padding-top:72px;
  padding-bottom:80px
}
#site-footer:before {
  display:none
}
@media(max-width:700px) {
#site-footer {
  padding-top:44px;
  padding-bottom:52px
}
}
:root {
  --footer-surface:#392c35;
  --footer-ink:#faf3e7;
  --footer-body:#e7d9d5;
  --footer-quiet:#cbb8bd
}
:root[data-theme="dark"] {
  --footer-surface:#493640;
  --footer-ink:#fff5e9;
  --footer-body:#eee0da;
  --footer-quiet:#d6bec7
}
#site-footer {
  color:var(--footer-ink)
}
#site-footer p {
  color:var(--footer-body)
}
#site-footer a:focus-visible {
  outline-color:var(--footer-ink)
}
:root {
  --footer-surface:#d7bdb6;
  --footer-ink:#493630;
  --footer-body:#493630;
  --footer-quiet:#59443e
}
:root[data-theme="dark"] {
  --footer-surface:#4b3935;
  --footer-ink:#f4e7e1;
  --footer-body:#ead7d0;
  --footer-quiet:#d6bcb2
}
:root[data-theme="dark"] {
  --footer-surface:#bda099;
  --footer-ink:#352925;
  --footer-body:#3f302b;
  --footer-quiet:#4b3832
}
:root {
  --footer-heading:#885c52
}
:root[data-theme="dark"] {
  --footer-heading:#d2aaa0
}
#site-footer {
  background:var(--page);
  color:var(--ink)
}
#site-footer>div {
  margin-left:0;
  margin-right:auto
}
#site-footer h2 {
  color:var(--ink)
}
#site-footer p {
  color:var(--body-ink)
}
#site-footer a:focus-visible {
  outline-color:var(--ink)
}

.brand {
  transition:font-size 300ms
}
.brand img {
  transition:width 300ms,height 300ms
}
.about-copy {
  max-width:680px;
  margin-left:24%
}
.about-copy p {
  font-size:clamp(17px,1.7vw,23px);
  line-height:1.65;
  color:var(--body-ink);
  margin:0 0 24px
}
.about-copy .footer-email {
  font-size:20px;
  margin-top:35px
}
#site-footer {
  padding-top:35px;
  padding-bottom:60px
}
#site-footer>div {
  max-width:none;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:24px
}
#site-footer .footer-email {
  margin:0
}
#site-footer span {
  font-size:12px;
  color:var(--quiet)
}
@media(max-width:700px) {
.about-copy {
  margin-left:0
}
}
@media(prefers-reduced-motion:reduce) {
.brand,
.brand img {
  transition:none
}
}
html {
  scrollbar-gutter:stable
}
.about-copy {
  margin-left:0;
  text-align:left
}
.about-copy p {
  color:var(--about-body)
}
.project .title-text,
.project.is-hovered .title-text {
  text-decoration:none
}
.project .title-text:after {
  content:'';
  position:absolute;
  left:0;
  bottom:-.09em;
  width:100%;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 240ms cubic-bezier(.22,.7,.2,1)
}
.project.is-hovered .title-text:after {
  transform:scaleX(1)
}
.caption p a,
.caption .credit a,
.about-copy a,
#site-footer a {
  text-decoration-line:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.2em;
  text-decoration-color:currentColor;
  transition:background-color 160ms,color 160ms
}
.caption p a:hover,
.caption .credit a:hover,
.caption p a:focus-visible,
.caption .credit a:focus-visible {
  color:var(--ink);
  background:color-mix(in srgb,var(--ink) 9%,transparent);
  text-decoration-thickness:2px
}
.about-copy a:hover,
.about-copy a:focus-visible {
  color:var(--about-ink);
  background:color-mix(in srgb,var(--about-ink) 12%,transparent);
  text-decoration-thickness:2px
}
#site-footer a:hover,
#site-footer a:focus-visible {
  background:color-mix(in srgb,var(--ink) 9%,transparent);
  text-decoration-thickness:2px
}
.external-arrow {
  display:inline-block;
  margin-left:.22em;
  font-size:.8em;
  text-decoration:none
}
@media(prefers-reduced-motion:reduce) {
.project .title-text:after,
.caption a,
.about-copy a,
#site-footer a {
  transition:none
}
}
:root,
:root[data-theme="dark"] {
  --about-surface:#191817;
  --about-ink:#f5efe3;
  --about-body:#dcd5c9
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  top:8px;
  left:16px;
  z-index:100;
  padding:10px 14px;
  background:var(--page);
  color:var(--ink);
  transform:translateY(-160%)
}
.skip-link:focus {
  transform:none
}
#work {
  scroll-margin-top:110px
}
#motion-toggle {
  display:block;
  margin:0 max(var(--gutter),calc((100vw - 1472px)/2)) 20px;
  padding:8px 0;
  border:0;
  background:transparent;
  color:var(--quiet);
  font:12px/1.4 'DM Sans','DM Sans Fallback',Arial,sans-serif;
  text-decoration:underline;
  text-underline-offset:4px;
  cursor:pointer
}
#motion-toggle:hover {
  color:var(--ink)
}
#motion-toggle:disabled {
  cursor:default;
  text-decoration:none
}
.intro {
  min-height:100vh;
  min-height:100svh;
  background:var(--about-surface);
  color:var(--about-ink);
  display:flex;
  align-items:center;
  padding:140px var(--gutter) 48px
}
.intro-inner {
  width:100%;
  max-width:1472px;
  margin-inline:auto
}
.intro h1 {
  font:500 clamp(58px,8vw,116px)/1 Fraunces,'Fraunces Fallback',Georgia,serif;
  letter-spacing:-.055em;
  margin:0 0 40px
}
.intro .about-copy {
  max-width:760px
}
.intro-work {
  display:inline-flex;
  align-items:center;
  gap:22px;
  margin-top:48px;
  color:var(--about-ink);
  text-decoration:underline;
  text-underline-offset:.25em;
  font-size:15px
}
.intro-work:hover {
  text-decoration-thickness:2px
}
.intro :focus-visible {
  outline-color:var(--about-ink)
}
#work {
  padding-top:clamp(40px,6vw,96px);
  scroll-margin-top:76px
}
@media(max-width:700px) {
.intro {
  padding-top:124px;
  padding-bottom:36px
}
.intro h1 {
  font-size:clamp(48px,11vw,72px);
  margin-bottom:28px
}
.intro .about-copy p {
  font-size:17px;
  line-height:1.6
}
.intro .footer-email {
  margin-top:24px
}
.intro-work {
  margin-top:36px
}
}
body {
  background:var(--about-surface);
  transition:background-color 450ms ease-out,color 450ms ease-out
}
body.projects-visible {
  background:var(--page)
}
.intro {
  background:transparent;
  transition:color 450ms ease-out
}
body.projects-visible .intro {
  --about-ink:var(--ink);
  --about-body:var(--body-ink)
}
.intro .about-copy p,
.intro a {
  transition:color 450ms ease-out
}
#site-footer {
  background:transparent
}
@media(prefers-reduced-motion:reduce) {
body,
.intro,
.intro .about-copy p,
.intro a {
  transition:none
}
}
.link-tail {
  white-space:nowrap
}
html {
  scroll-behavior:smooth
}
@media(prefers-reduced-motion:reduce) {
html {
  scroll-behavior:auto
}
}
.keep-together {
  white-space:nowrap
}
#work {
  scroll-margin-top:104px
}
.project:before {
  display:none
}
.project .title-text:after {
  transition:none
}
.project .title-arrow {
  transition:transform 220ms ease-out
}
@media(min-width:701px) {
.pair main {
  row-gap:64px
}
.pair .project-wide {
  grid-column:1/-1
}
.pair .project-wide .visual {
  height:auto;
  min-height:0;
  aspect-ratio:auto;
  padding:48px 64px
}
.pair .project-wide .environments-gallery {
  height:auto;
  width:100%;
  max-width:780px
}
.pair .project-wide .caption {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr);
  gap:14px 6vw
}
.pair .project-wide .caption h2 {
  margin:0
}
.pair .project-wide .caption .meta {
  margin:0
}
.pair .project-wide .caption p {
  margin:0
}
}
@media(prefers-reduced-motion:reduce) {
.project .title-arrow {
  transition:none
}
}
.project:before {
  display:block;
  inset:-12px -12px 15px;
  border:0;
  border-radius:2px;
  box-shadow:none;
  background:color-mix(in srgb,var(--ink) 3%,transparent);
  opacity:0;
  transform:none;
  transition:opacity 180ms ease-out
}
.project.is-hovered:before {
  opacity:1;
  transform:none
}
@media(max-width:700px) {
.project:before {
  bottom:40px
}
}
@media(prefers-reduced-motion:reduce) {
.project:before {
  transition:none
}
}
:root[data-theme="dark"] {
  --page:#302c26
}
@media(min-width:701px) {
.pair .caption h2 {
  font-size:clamp(30px,3.5vw,52px)
}
}
@media(max-width:700px) {
.caption h2 {
  font-size:clamp(28px,6.2vw,38px)
}
}
.intro {
  position:relative
}
.intro-theme {
  position:absolute;
  top:28px;
  right:max(var(--gutter),calc((100vw - 1472px)/2))
}
.intro-theme #theme-toggle {
  color:var(--about-ink);
  background:transparent;
  border-color:#f5efe350
}
.intro-theme #theme-toggle:hover {
  background:#ffffff12;
  border-color:var(--about-ink)
}
#site-footer .brand {
  font:700 38px/1 Fraunces,'Fraunces Fallback',Georgia,serif;
  letter-spacing:-1.8px;
  color:var(--ink);
  text-decoration:none;
  flex:none
}
#site-footer .brand:hover {
  background:transparent
}
#site-footer .brand img {
  width:32px;
  height:32px
}
#site-footer>div {
  flex-wrap:wrap
}
#work {
  scroll-margin-top:0
}
@media(max-width:700px) {
.intro-theme {
  top:22px
}
#site-footer>div {
  align-items:flex-start;
  flex-direction:column
}
#site-footer .brand {
  font-size:32px
}
}
:root {
  --about-surface:#f3f0ea;
  --about-ink:#242721;
  --about-body:#41453e
}
:root[data-theme="dark"] {
  --about-surface:#191817;
  --about-ink:#f5efe3;
  --about-body:#dcd5c9
}
.intro-theme #theme-toggle {
  border-color:color-mix(in srgb,var(--about-ink) 35%,transparent)
}
.intro-theme #theme-toggle:hover {
  background:color-mix(in srgb,var(--about-ink) 8%,transparent);
  border-color:var(--about-ink)
}
#site-footer .footer-contact {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px
}
#site-footer .footer-contact .footer-email {
  margin:0;
  font-size:16px
}
#site-footer>div {
  align-items:center
}
#site-footer .footer-contact {
  gap:3px
}
#site-footer .footer-contact>span {
  font-size:12px;
  line-height:16px
}
#site-footer .footer-contact .footer-email {
  font-size:14px;
  line-height:19px
}
@media(max-width:700px) {
#site-footer>div {
  align-items:flex-start
}
}
.intro-work {
  gap:.45em;
  text-decoration:none;
  white-space:nowrap
}
.intro-work-label {
  text-decoration:underline;
  text-underline-offset:.25em
}
.intro-work:hover .intro-work-label {
  text-decoration-thickness:2px
}
.title-arrow {
  font-size:.2925em
}
.external-arrow {
  font-size:.6em
}
.intro-work>span[aria-hidden="true"] {
  font-size:.75em
}

.intro {
  isolation:isolate;
  overflow:hidden
}
.intro-inner {
  position:relative;
  z-index:1
}
.intro-theme {
  z-index:3
}
:root:not([data-theme="dark"]) {
  --about-surface:#f3f0ea
}
body {
  transition:background-color 600ms ease-out,color 600ms ease-out
}
@media(prefers-reduced-motion:reduce) {
body {
  transition:none
}
}
.mark-trail {
  display:none;
  position:absolute;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  color:var(--about-ink);
  transition:opacity 600ms ease-out
}
body[data-mark="19"] .mark-trail {
  display:block
}
.mark-trail svg {
  position:absolute;
  fill:currentColor;
  width:calc(900px - var(--i)*88px);
  height:calc(900px - var(--i)*88px);
  left:calc(max(-180px,(100vw - 1472px)/2 - 180px) + var(--i)*170px);
  top:50%;
  transform:translateY(-50%);
  opacity:calc(.10 - var(--i)*.014)
}
body[data-mark="19"] .mark-trail svg {
  width:900px;
  height:900px;
  left:calc(-180px + var(--i)*145px);
  opacity:calc(.065 - var(--i)*.009)
}
body.projects-visible .mark-trail {
  opacity:0
}
@media(max-width:700px) {
.mark-trail {
  opacity:.7
}
.mark-trail svg {
  margin-left:-160px
}
}
@media(prefers-reduced-motion:reduce) {
.mark-trail {
  transition:none
}
}
body[data-mark="19"] .mark-trail svg {
  --full-mark:119.047619svh;
  
 width:calc(var(--full-mark) - var(--i)*11svh);
  
 height:calc(var(--full-mark) - var(--i)*11svh);
  
 top:50svh;
  
 margin-left:0;
  
 left:calc(-9.52381svh + var(--i)*19svh);
  
}
body[data-mark="19"] .mark-trail svg {
  width:var(--full-mark);
  height:var(--full-mark);
  left:calc(-9.52381svh + var(--i)*17svh)
}
body[data-mark="19"] .mark-trail {
  opacity:calc(var(--trail-presence,1)*.88);
  transition:none
}
@media(prefers-reduced-motion:reduce) {
body[data-mark="19"] .mark-trail {
  opacity:.88
}
body[data-mark="19"].projects-visible .mark-trail {
  opacity:0
}
}
body[data-mark="19"] .mark-trail {
  opacity:.88
}
body[data-mark="19"] .mark-trail svg {
  opacity:calc((.065 - var(--i)*.009)*var(--mark-presence,1))
}
@media(prefers-reduced-motion:reduce) {
body[data-mark="19"] .mark-trail svg {
  opacity:calc(.065 - var(--i)*.009)
}
body[data-mark="19"].projects-visible .mark-trail {
  opacity:0
}
}
body[data-mark="19"] .mark-trail svg {
  opacity:calc((.065 - var(--i)*.009)*var(--mark-presence,1)*var(--hover-strength,1));
  transition:opacity 160ms ease-out
}
@media(prefers-reduced-motion:reduce) {
body[data-mark="19"] .mark-trail svg {
  opacity:calc(.065 - var(--i)*.009);
  transition:none
}
}
body[data-mark="19"] .mark-trail svg {
  opacity:calc((.065 - var(--i)*.008)*var(--mark-presence,1));
  transition:none
}
@media(prefers-reduced-motion:reduce) {
body[data-mark="19"] .mark-trail svg {
  opacity:calc(.065 - var(--i)*.008)
}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Phone layouts, including short landscape viewports. */
@media(max-width:700px), (max-width:1000px) and (max-height:600px){
 .intro{padding:96px max(22px,env(safe-area-inset-right)) 40px max(22px,env(safe-area-inset-left));min-height:100svh}
 .intro-inner{width:100%;min-width:0}
 .intro .about-copy{max-width:620px}
 .intro h1{font-size:clamp(48px,11vw,72px);margin-bottom:28px}
 .intro .about-copy p{font-size:17px;line-height:1.6;margin-bottom:20px}
 .intro .footer-email{font-size:18px;margin-top:24px}
 .intro-work{margin-top:32px}
 .intro-theme{top:max(18px,env(safe-area-inset-top));right:max(22px,env(safe-area-inset-right))}
 .intro-theme #theme-toggle{width:44px;height:44px}
 .intro-theme #theme-toggle span{top:14px;left:14px}
 body[data-mark="19"] .mark-trail svg{--full-mark:108vw;width:var(--full-mark);height:var(--full-mark);top:50%;left:calc(-18vw + var(--i)*10vw)}
 .pair main{display:block}
 .pair .project{gap:22px;padding-bottom:52px}
 .pair .project .visual{height:auto;aspect-ratio:1.65}
 .pair .project .caption,.pair .project-wide .caption{display:flex;flex-direction:column;gap:8px}
 .pair .caption h2{font-size:clamp(28px,6.2vw,38px);line-height:1.04;margin:0}
 .pair .caption .meta{margin:0}
 .pair .caption p{font-size:15px;max-width:620px;margin:0 0 12px;padding:0}
 .pair .credit{font-size:12px;margin:0}
 .pair .environments .visual{padding:28px 16px;aspect-ratio:auto}
 .pair .environments-gallery{height:auto;width:100%;max-width:620px;gap:9px}
 .pair .harmonograph .visual{padding:16px}
 .pair .derive img{padding:20px}
 .project:before{bottom:32px}
 #site-footer>div{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:1000px) and (max-height:600px) and (orientation:landscape){
 .intro{padding-top:64px;padding-bottom:32px;align-items:flex-start}
 .intro h1{font-size:48px;margin-bottom:20px}
 .intro .about-copy{max-width:660px;padding-right:36px}
 .intro .about-copy p{font-size:16px;line-height:1.5;margin-bottom:14px}
 .intro .footer-email{margin-top:18px;margin-bottom:0}
 .intro-work{margin-top:24px}
 body[data-mark="19"] .mark-trail svg{--full-mark:calc(var(--intro-height,600px)*1.19047619);top:50%;left:calc(-.0952381*var(--intro-height,600px) + var(--i)*10vw)}
 /* Let each image determine its height instead of cropping to the viewport. */
 .pair .project .visual{height:auto;max-height:none;aspect-ratio:auto}
 .pair .photogravure .visual img,
 .pair .photoseed .visual img{height:auto;object-fit:contain}
 .pair .derive .visual{aspect-ratio:900/665}
 .pair .harmonograph-crop{max-height:none;aspect-ratio:auto}
 .pair .environments-gallery{max-width:480px}
}

/* Portrait: full-height artwork, not a width-sized band behind the copy. */
@media(max-width:700px) and (orientation:portrait){
 body[data-mark="19"] .mark-trail svg{
  --full-mark:calc(var(--intro-height,100svh)*1.19047619);
  width:var(--full-mark);
  height:var(--full-mark);
  top:50%;
  left:calc(var(--intro-height,100svh)*-.68 + var(--i)*10vw);
 }
 .intro{align-items:flex-start;padding-top:clamp(112px,18svh,160px)}
}

/* Extend the mobile artwork to the large viewport, including browser chrome. */
@media(max-width:700px), (max-width:1000px) and (max-height:600px){
 .intro{
  /* Extra artwork below the copy keeps the first project clear of the toolbar. */
  --intro-bleed:max(80px,env(safe-area-inset-bottom,0px));
  min-height:calc(100vh + var(--intro-bleed));
  min-height:calc(100lvh + var(--intro-bleed))
 }
}
@media(max-width:700px) and (orientation:portrait){
 .intro h1{font-size:clamp(60px,16vw,84px);line-height:1}
}

/* Edge-to-edge mobile artwork; keep content inside the safe areas. */
@media(max-width:700px), (max-width:1000px) and (max-height:600px){
 .intro{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
 .intro-theme{
  top:calc(18px + env(safe-area-inset-top,0px));
  right:max(22px,env(safe-area-inset-right,0px))
 }
 main,#site-footer{
  padding-left:max(var(--gutter),env(safe-area-inset-left,0px));
  padding-right:max(var(--gutter),env(safe-area-inset-right,0px))
 }
 #site-footer{padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:700px) and (orientation:portrait){
 .intro{padding-top:calc(clamp(112px,18svh,160px) + env(safe-area-inset-top,0px))}
}

/* Vector arrows retain the same shape on platforms with emoji arrow glyphs. */
.title-arrow>svg,.external-arrow>svg{
 display:inline-block;
 width:1em;
 height:1em;
 vertical-align:-.05em
}

/* Romaji keeps its complete portrait screen within the shared phone frame. */
.pair .romaji .visual{background:var(--romaji);padding:28px;min-height:460px}
.romaji .phone-frame{width:180px;max-width:100%}
.romaji .phone-frame img,.romaji .phone-frame video{width:100%;height:auto;object-fit:contain}
@media(max-width:700px), (max-width:1000px) and (max-height:600px){
 .pair .romaji .visual{aspect-ratio:auto;height:auto;padding:28px;min-height:0}
}

#site-footer .footer-social{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:8px;
 margin-top:5px;
 color:var(--quiet);
 font-size:12px;
 line-height:1.5
}

/* Wordmark trial: a quieter “ish”, kept together as one word. */
#site-footer .brand .wordmark,
#site-footer .brand .wordmark-ish{
 font-size:inherit;
 line-height:inherit;
 color:inherit;
 letter-spacing:inherit;
 font-variant-ligatures:none
}
#site-footer .brand .wordmark{font-weight:700;white-space:nowrap}
#site-footer .brand .wordmark-ish{font-weight:300}

/* Inline wordmark keeps the surrounding copy's size and colour. */
.intro .inline-wordmark,
#site-footer .footer-contact .inline-wordmark{
 font-family:Fraunces,'Fraunces Fallback',Georgia,serif;
 font-size:1.08em;
 font-weight:700;
 color:inherit;
 line-height:inherit;
 letter-spacing:-.035em;
 font-variant-ligatures:none;
 white-space:nowrap
}
.intro .inline-wordmark-ish,
#site-footer .footer-contact .inline-wordmark-ish{
 font-size:inherit;
 font-weight:300;
 color:inherit
}

/* Fallback widths measured from site copy; vertical metrics from shipped fonts. */
@font-face {
 font-family:'DM Sans Fallback';
 src:local('Arial');
 font-style:normal;
 font-weight:400;
 size-adjust:104.090%;
 ascent-override:95.302%;
 descent-override:29.782%;
 line-gap-override:0.000%;
}
@font-face {
 font-family:'DM Sans Fallback';
 src:local('Arial');
 font-style:normal;
 font-weight:500;
 size-adjust:105.883%;
 ascent-override:93.688%;
 descent-override:29.278%;
 line-gap-override:0.000%;
}
@font-face {
 font-family:'DM Sans Fallback';
 src:local('Arial Bold');
 font-style:normal;
 font-weight:600;
 size-adjust:100.459%;
 ascent-override:98.747%;
 descent-override:30.858%;
 line-gap-override:0.000%;
}
@font-face {
 font-family:'Fraunces Fallback';
 src:local('Georgia');
 font-style:normal;
 font-weight:300;
 size-adjust:93.192%;
 ascent-override:104.944%;
 descent-override:27.363%;
 line-gap-override:0.000%;
}
@font-face {
 font-family:'Fraunces Fallback';
 src:local('Georgia');
 font-style:normal;
 font-weight:500;
 size-adjust:98.708%;
 ascent-override:99.081%;
 descent-override:25.834%;
 line-gap-override:0.000%;
}
@font-face {
 font-family:'Fraunces Fallback';
 src:local('Georgia Bold');
 font-style:normal;
 font-weight:700;
 size-adjust:89.315%;
 ascent-override:109.500%;
 descent-override:28.551%;
 line-gap-override:0.000%;
}
