/* ════════════════════════════════════════════════════════════════════
   Spreads + strips (2026-11-01). Composition by scale contrast: a small
   picture alone in open paper, a full-bleed spread, an asymmetric pair,
   a horizontal strip. Every picture carries a two-line credit under it.
   ════════════════════════════════════════════════════════════════════ */
.spreads, .work-ix { --sp-gap: clamp(20px, 2vw, 32px); --sp-edge: max(var(--gutter, 24px), calc((100vw - 1440px) / 2 + var(--gutter, 24px))); }
.sp-f { margin: 0; }
.sp-f a { display: block; color: inherit; text-decoration: none; }
.sp-f img { display: block; width: 100%; height: auto; background: rgba(23,18,14,.06); transition: opacity .4s ease; }
.sp-f a:hover img { opacity: .9; }
.cr { display: flex; gap: .7em; align-items: baseline; margin-top: 10px; font-size: 13px; line-height: 1.35; }
.cr-k { color: inherit; font-weight: 500; }
.cr-t { color: rgba(23,18,14,.6); }

.sp { padding: 0 var(--sp-edge); }
.spreads .sp + .sp, .spreads .sp + .sp-strip { margin-top: clamp(96px, 12vw, 200px); }
.spreads { padding-top: clamp(96px, 12vw, 200px); }

/* a small picture, alone, centred: the confident beat */
.sp-single .sp-f { width: min(34vw, 460px); margin: 0 auto; }
/* full bleed: the loud beat; the credit stays on the grid edge */
.sp-bleed { padding: 0; }
.sp-bleed .cr { padding: 0 var(--sp-edge); }
/* asymmetric pair: big on the grid, small set apart at the foot (pair) or the head (pair-r) */
.sp-pair, .sp-pair-r { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--sp-gap); }
.sp-pair { align-items: end; }
.sp-pair .sp-big { grid-column: 1 / 8; }
.sp-pair .sp-small { grid-column: 9 / 12; }
.sp-pair-r { align-items: start; }
.sp-pair-r .sp-small { grid-column: 2 / 5; margin-top: clamp(80px, 10vw, 180px); }
.sp-pair-r .sp-big { grid-column: 6 / 13; }

/* strip: a fixed-height row that scrolls sideways, each frame at its own width */
.sp-strip { --st-h: clamp(260px, 30vw, 440px); }
.st-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--sp-edge); margin-bottom: 14px; }
.st-l { font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; margin: 0; }
.st-hint { font-size: 13px; color: rgba(23,18,14,.5); }
.st-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--sp-edge) 8px; scrollbar-width: none; }
.st-row::-webkit-scrollbar { display: none; }
.st-row:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.st-f { flex: none; scroll-snap-align: start; }
.st-f img { height: var(--st-h); width: auto; max-width: none; }

/* work page */
.work-ix { padding-bottom: clamp(64px, 8vw, 140px); }
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 0 var(--sp-edge); margin: 8px 0 clamp(56px, 7vw, 110px); font-size: 17px; }
.cat-nav a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.cat-nav a:hover { border-color: currentColor; }
.work-ix .sp-strip { scroll-margin-top: 90px; }
.work-ix .sp-strip + .sp-strip, .work-ix .ix { margin-top: clamp(72px, 9vw, 150px); }
.ix { padding: 0 var(--sp-edge); }
.ix .st-l { margin-bottom: 18px; }
.ix-list { list-style: none; margin: 0; padding: 0; }
.ix-list a { display: grid; grid-template-columns: minmax(0,3fr) minmax(0,5fr) auto; gap: 24px; padding: 10px 0; color: inherit; text-decoration: none; font-size: 17px; }
.ix-t { color: rgba(23,18,14,.6); }
.ix-y { color: rgba(23,18,14,.5); font-variant-numeric: tabular-nums; }
.ix-list a:hover .ix-c, .ix-list a:hover .ix-t { color: var(--sage, #56633F); }

@media (max-width: 760px) {
    .spreads { padding-top: 72px; }
    .spreads .sp + .sp, .spreads .sp + .sp-strip { margin-top: 72px; }
    .sp-single .sp-f { width: 64%; }
    .sp-pair, .sp-pair-r { display: block; }
    .sp-pair .sp-small { width: 56%; margin: 28px 0 0 auto; }
    .sp-pair-r .sp-small { width: 56%; margin: 0 0 28px; }
    .sp-strip { --st-h: 300px; }
    .ix-list a { grid-template-columns: 1fr auto; row-gap: 2px; }
    .ix-t { grid-column: 1; grid-row: 2; }
    .ix-y { grid-column: 2; grid-row: 1; }
}
/* strips: lead-in spacer so the first frame sits on the grid edge in every engine */
.st-row { padding-left: 0; padding-right: 0; }
.st-row::before, .st-row::after { content: ''; flex: 0 0 calc(var(--sp-edge) - 14px); }
/* project index: fixed columns so titles align */
.ix-list a { grid-template-columns: 34% 1fr 7em; }
.ix-y { text-align: right; }
.spreads { padding-bottom: clamp(96px, 12vw, 200px); }
@media (max-width: 760px) { .ix-list a { grid-template-columns: 1fr auto; } .spreads { padding-bottom: 72px; } }
.st-row { scroll-padding-inline: var(--sp-edge); }
.cr { flex-wrap: wrap; row-gap: 0; }
.cr-t, .ix-t, .ix-y, .st-hint { color: rgba(23,18,14,.72); }

/* homepage v2 (11/01): statement, then four features at one scale, then the index */
.sp-statement { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--sp-gap); }
.stm { grid-column: 1 / 10; font-weight: 500; font-size: clamp(30px, 3.6vw, 58px); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; margin: 0; }
.stm-sub { grid-column: 1 / 10; margin-top: 20px; font-size: 15px; color: rgba(23,18,14,.72); }
.spreads .sp-feature { margin-top: clamp(72px, 8vw, 128px); }
.spreads .sp-statement + .sp-feature { margin-top: clamp(80px, 9vw, 150px); }
.ft { display: block; color: inherit; text-decoration: none; }
.ft-row { display: flex; gap: 12px; }
.ft-f { flex: var(--r) 1 0; aspect-ratio: var(--r); margin: 0; min-width: 0; overflow: hidden; background: rgba(23,18,14,.06); }
.ft-f img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.ft:hover .ft-f img { transform: scale(1.02); }
.ft-cap { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--sp-gap); align-items: baseline; margin-top: 18px; }
.ft-k { grid-column: 1 / 4; font-weight: 500; font-size: 15px; }
.ft-t { grid-column: 4 / 8; font-weight: 500; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; }
.ft-m { grid-column: 8 / 11; font-size: 14px; color: rgba(23,18,14,.72); }
.ft-go { grid-column: 11 / 13; justify-self: end; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ft:hover .ft-t { color: var(--sage, #56633F); }
@media (max-width: 760px) {
  .stm { grid-column: 1 / -1; } .stm-sub { grid-column: 1 / -1; }
  .ft-row { flex-wrap: wrap; gap: 8px; }
  .ft-f { flex: 1 1 100%; }
  .ft-f + .ft-f { flex: 1 1 calc(50% - 4px); }
  .ft-cap { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .ft-t { flex-basis: 100%; order: -1; }
  .ft-go { margin-left: auto; }
}
@media (max-width: 760px) { .cat-nav a { display: inline-flex; align-items: center; min-height: 44px; } }

/* homepage hero: Edoboy Night Market Pop Up. A full-screen wall of the blur portraits drifting sideways. */
.hb { position: relative; width: 100vw; max-width: 100vw; margin-top: calc(-1 * var(--mast, 65px)); margin-left: calc(50% - 50vw); padding: 0 !important; height: 100vh; height: 100svh; min-height: 560px; background: #14110E; overflow: hidden; }
.hb-a { position: absolute; inset: 0; display: block; color: #F2EEE6; text-decoration: none; }
.hb-a:focus-visible { outline: 2px solid #F2EEE6; outline-offset: -6px; }
.hb-wall { position: absolute; inset: 0; overflow: hidden; }
.hb-track { display: flex; width: max-content; height: 100%; animation: hb-drift 90s linear infinite; }
.hb-track img { display: block; height: 100%; width: auto; max-width: none; flex: none; }
.hb:hover .hb-track { animation-play-state: paused; }
@keyframes hb-drift { to { transform: translateX(-50%); } }
.hb-ghost { mix-blend-mode: screen; opacity: var(--do, 0); pointer-events: none; }
.hb-drag { height: 100%; transform: translateX(calc(var(--dx, 0) * 1px)); will-change: transform; }
.hb-ghost .hb-track img { filter: saturate(1.6); }
.hb-scrim { position: absolute; inset: 72% 0 0; background: linear-gradient(to bottom, rgba(14,11,8,0), rgba(14,11,8,.5)); pointer-events: none; }
.hb-t { position: absolute; left: var(--sp-edge); right: var(--sp-edge); bottom: clamp(20px, 3vw, 44px); margin: 0; font-weight: 500; font-size: clamp(44px, 12.6vw, 300px); line-height: .9; letter-spacing: -0.045em; color: #F2EEE6; white-space: nowrap; }
.hb-t .mb { display: none; }
@media (max-width: 760px) {
  .hb-t { font-size: 11.6vw; }
  .hb-t .mb { display: inline; }
  .hb-t .dk { display: none; }
  .hb-track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) { .hb-track { animation: none; } .hb-ghost { display: none; } }
.js .mast.on-dark.over-hb .mark { opacity: 1; pointer-events: auto; }

/* homepage layout: one edge, four compositions, type at poster scale. Each chapter is a different shape. */
body:has(.hb) { --sp-edge: max(var(--gutter, 24px), calc((100vw - 1440px) / 2 + var(--gutter, 24px))); --night: #07080D; --bone: #F2EEE6; }
main > section#work.spreads { padding-inline: 0; }
#work { --chap: clamp(80px, 13vw, 200px); padding-top: clamp(72px, 9vw, 140px); padding-bottom: 0; }
#work .sp + .sp, #work .sp + .sp-strip, #work .sp-statement + .sp-feature { margin-top: var(--chap); }
#work .sp-statement { max-width: none; padding-inline: var(--sp-edge); }
.stm-n { grid-column: 1 / -1; margin: 0 0 clamp(16px, 2vw, 28px); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: 0; }
#work .stm { grid-column: 1 / -1; font-size: clamp(38px, 6.1vw, 118px); line-height: .98; letter-spacing: -0.045em; text-wrap: pretty; }
.ch-t { margin: 0 0 clamp(18px, 2.6vw, 40px); font-weight: 500; font-size: clamp(52px, 9.6vw, 200px); line-height: .9; letter-spacing: -0.05em; text-wrap: balance; }
#work .ft-cap { grid-template-columns: repeat(12, minmax(0, 1fr)); }
#work .ft-k { grid-column: 1 / 4; }
#work .ft-m { grid-column: 4 / 11; }
#work .ft-go { grid-column: 11 / 13; }

/* film: full bleed, title on the picture */
.ft-film { position: relative; width: 100vw; height: 100vh; height: 100svh; margin: 0 0 12px calc(50% - 50vw); overflow: hidden; background: #1C1610; }
.ft-film img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ft-film::after { content: ''; position: absolute; inset: 62% 0 0; background: linear-gradient(to bottom, rgba(14,11,8,0), rgba(14,11,8,.55)); pointer-events: none; }
.ft-film .ch-t { position: absolute; z-index: 1; left: var(--sp-edge); right: var(--sp-edge); bottom: clamp(16px, 2.4vw, 36px); margin: 0; color: var(--bone); }

/* big left, small set apart on the right, bottoms aligned */
#work .ly-big-small .ft-row, #work .ly-small-big .ft-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sp-gap); align-items: end; }
#work .ly-big-small .ft-f, #work .ly-small-big .ft-f, #work .ly-dark .ft-f { width: 100%; }
#work .ly-big-small .ft-f:nth-child(1) { grid-column: 1 / 10; }
#work .ly-big-small .ft-f:nth-child(2) { grid-column: 10 / 13; }
/* the mirror: small left, big right, title set flush right */
#work .ly-small-big .ft-f:nth-child(1) { grid-column: 1 / 5; }
#work .ly-small-big .ft-f:nth-child(2) { grid-column: 5 / 13; }
#work .ly-small-big .ch-t { text-align: right; }

/* after six: the page goes to night, three frames edge to edge with no gap */
#work .ly-dark { padding-inline: 0; padding-block: clamp(56px, 7vw, 112px) clamp(32px, 3.4vw, 56px); background: var(--night); color: var(--bone); }
#work .ly-dark .ch-t, #work .ly-dark .ft-cap { padding-inline: var(--sp-edge); }
#work .ly-dark .ft-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
#work .ly-dark .ft-m { color: rgba(242,238,230,.78); }

/* close: the hero's scale, on night, to the bottom of the page */
.close { width: 100vw; margin: var(--chap, 160px) 0 0 calc(50% - 50vw); padding: clamp(56px, 8vw, 128px) var(--sp-edge) clamp(40px, 5vw, 72px) !important; display: block; background: var(--night); color: var(--bone); }
body:has(.hb) .close { margin-top: clamp(80px, 13vw, 200px); }
.close h2 { margin: 0 0 clamp(28px, 4vw, 64px); font-size: clamp(52px, 12.6vw, 300px); line-height: .9; letter-spacing: -0.05em; color: var(--bone); white-space: nowrap; }
.close-side { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; }
.close .cta { color: var(--bone); border-color: var(--bone); }
.close .close-alt, .close .close-alt a { color: rgba(242,238,230,.78); }
body:has(.hb) .colophon { max-width: none; padding-inline: var(--sp-edge); background: var(--night); color: rgba(242,238,230,.78); }
body:has(.hb) .colophon .label { color: rgba(242,238,230,.78); }

/* motion: hard mask reveals, added by JS only */
.ft-f.rv { clip-path: inset(100% 0 0 0); transition: clip-path 1.2s cubic-bezier(.16,1,.3,1); }
.ft-f.rv:nth-child(2) { transition-delay: .09s; } .ft-f.rv:nth-child(3) { transition-delay: .18s; }
.ft-f.rv.in { clip-path: inset(0); }
.ch-t.rv, .stm.rv, .close h2.rv { opacity: 0; transform: translateY(.22em); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.16,1,.3,1); }
.ch-t.rv.in, .stm.rv.in, .close h2.rv.in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  #work { --chap: 88px; padding-top: 64px; }
  #work .stm { font-size: 10.6vw; line-height: 1; }
  .ch-t { font-size: 15.4vw; line-height: .92; }
  .ft-film { height: auto; aspect-ratio: 4 / 5; margin-bottom: 8px; }
  #work .ly-big-small .ft-f:nth-child(1) { grid-column: 1 / -1; }
  #work .ly-big-small .ft-f:nth-child(2) { grid-column: 6 / -1; margin-top: 8px; }
  #work .ly-small-big .ft-f:nth-child(1) { grid-column: 1 / 9; margin-bottom: 8px; }
  #work .ly-small-big .ft-f:nth-child(2) { grid-column: 1 / -1; }
  #work .ly-small-big .ch-t { text-align: left; }
  #work .ly-dark .ft-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #work .ly-dark .ft-f:nth-child(1) { grid-column: 1 / -1; }
  #work .ft-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  #work .ft-go { margin-left: auto; }
  .close h2 { font-size: 15.4vw; white-space: normal; }
  .close-side { flex-direction: column; }
  body:has(.hb) .colophon { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .ft-f.rv, .ch-t.rv, .stm.rv, .close h2.rv { clip-path: none; opacity: 1; transform: none; transition: none; } }

/* work feature: Filigree product. A pinned sideways run; the whole field takes the colour of the print on the shirt. */
.pf { position: relative; width: 100vw; margin-left: calc(50% - 50vw); background: var(--field); color: #17120E; overflow: hidden; transition: background-color .55s cubic-bezier(.16,1,.3,1); margin-bottom: clamp(72px, 9vw, 150px); }
.pf-scroll { overflow-x: auto; scrollbar-width: none; }
.pf-scroll::-webkit-scrollbar { display: none; }
.pf-scroll:focus-visible { outline: 2px solid #17120E; outline-offset: -4px; }
html.pf-pin .pf-scroll { overflow: hidden; }
.pf-track { display: flex; align-items: stretch; gap: clamp(10px, 1.1vw, 18px); width: max-content; height: 100vh; height: 100svh; min-height: 560px; padding: calc(var(--nav-h) + 6px) var(--sp-edge) 56px; transform-origin: 50% 50%; }
.pf-open { position: relative; z-index: 2; flex: none; align-self: center; margin-right: calc(-1 * clamp(44px, 6vw, 130px)); }
.pf-t { margin: 0; font-weight: 500; font-size: clamp(64px, 12.6vw, 300px); line-height: .9; letter-spacing: -0.032em; font-variant-ligatures: none; white-space: nowrap; color: #17120E; }
.pf-sub { margin: clamp(10px, 1.2vw, 20px) 0 0; font-size: 15px; font-weight: 500; color: #17120E; }
.pf-i { flex: none; margin: 0; height: 100%; }
.pf-i img { display: block; width: auto; height: 100%; max-width: none; }
.pf-i.s { height: 58%; }
.pf-i.st { align-self: flex-start; }
.pf-i.sb { align-self: flex-end; }
.pf-go { flex: none; align-self: flex-end; margin-left: 5vw; font-size: 15px; font-weight: 500; color: #17120E; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
html.pf-on .nav, html.pf-on .nav.scrolled { background: transparent; }
@media (max-width: 860px) {
  .pf-scroll { scroll-snap-type: x proximity; }
  .pf-track { height: auto; min-height: 0; padding-top: 40px; padding-bottom: 56px; align-items: center; }
  .pf-open { align-self: center; margin-right: -9vw; scroll-snap-align: start; scroll-margin-left: var(--sp-edge); }
  .pf-t { font-size: 15vw; }
  .pf-i { height: 66vh; height: 66svh; scroll-snap-align: center; }
  .pf-i.s { height: 44svh; }
  .pf-go { align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .pf { transition: none; } }

/* chapter titles: a touch more air so F-i and f-f never touch */
.ch-t { letter-spacing: -0.036em; font-variant-ligatures: none; }

/* banner polish: compositor-only movement, nav fades back to paper as the pin ends */
.pf-track { will-change: transform; }
body[data-page="work"] .nav { transition: background-color .35s cubic-bezier(.16,1,.3,1); }

/* optical left edge: big type carries side space in its first letter, so the stem sits right of the small type under it.
   Each headline is pulled back by its own first letter's measured side bearing. */
.hb-t { margin-left: -0.064em; }
#work .stm { margin-left: -0.064em; }
.ly-film .ch-t { margin-left: -0.064em; }
.ly-big-small .ch-t { margin-left: -0.064em; }
.ly-dark .ch-t { text-indent: -0.021em; }
.close h2 { margin-left: -0.024em; }
.pf-t { margin-left: -0.064em; }

/* hero title: fits the grid at every width, flush to the logo on the left and the nav on the right */
.hb-t { font-size: calc((100vw - 2 * var(--sp-edge)) / 7.2); }
.hb-t { right: auto; }
/* banner: small line set one step up so the pair reads as a title and its line, on one left edge */
.pf-sub { margin-top: clamp(14px, 1.5vw, 26px); font-size: clamp(17px, 1.5vw, 26px); line-height: 1.2; letter-spacing: -0.012em; }
@media (max-width: 760px) { .hb-t { font-size: 11.6vw; } }

/* one edge on the homepage at every width: the grid follows the logo and nav (--max), including on wide screens */
body:has(.hb), body:has(.hb) .spreads { --sp-edge: max(var(--gutter, 24px), calc((100vw - var(--max, 1600px)) / 2 + var(--gutter, 24px))); }
.pf-sub { margin-left: -0.064em; }

/* homepage runs edge to edge: chapters use the logo's edge at every width; the name lives in the logo */
main > section#work.spreads { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.stm-n { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#work .ft-cap .ft-m:first-child { grid-column: 1 / 11; }
#work .ft-cap .ft-go:first-child { grid-column: 1 / -1; }
.pf-track { padding-bottom: 28px; }
@media (max-width: 860px) { .pf-track { padding-bottom: 40px; } }

/* ══ Work wall (2026-11-05): big category list holds on the left, the page takes each category's colour, pictures keep their shape. ══ */
html.wx-live body { --black: var(--f, #F3EFE7); --white: var(--c, #17120E); --dim: color-mix(in srgb, var(--c, #17120E) 86%, transparent); --faint: color-mix(in srgb, var(--c, #17120E) 62%, transparent); --line: color-mix(in srgb, var(--c, #17120E) 14%, transparent); --line-2: color-mix(in srgb, var(--c, #17120E) 26%, transparent); background: var(--f, #F3EFE7); color: var(--c, #17120E); transition: background-color .9s cubic-bezier(.16,1,.3,1), color .9s cubic-bezier(.16,1,.3,1); }
html.wx-live .foot { --faint: var(--dim); }
html.wx-live .nav, html.wx-live .nav.scrolled, html.wx-live .foot { background: var(--f, #F3EFE7); transition: background-color .9s cubic-bezier(.16,1,.3,1); }
.work-ix { padding-bottom: 0; }
.wx-world { padding-top: clamp(40px, 6vw, 100px); }
.wx { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--sp-gap); padding: 0 var(--sp-edge); }
.wx-rail { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h, 64px) + 20px); align-self: start; height: calc(100svh - var(--nav-h, 64px) - 44px); display: flex; flex-direction: column; justify-content: space-between; z-index: 3; }
.wx-n { display: flex; flex-direction: column; font-size: min(6.1vw, 12svh); line-height: 1; letter-spacing: -0.045em; font-weight: 500; font-variant-ligatures: none; }
.wx-n a { color: inherit; text-decoration: none; opacity: .6; width: max-content; transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); margin-left: -.05em; }
.wx-n a:hover, .wx-n a.on { opacity: 1; }
.wx-n a.on { transform: translateX(.16em); }
.wx-k { margin: 0; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -0.015em; min-height: 1.4em; opacity: 0; transform: translateY(6px); transition: opacity .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1); }
.wx-k.on { opacity: 1; transform: none; }
.wx-body { grid-column: 6 / 13; min-width: 0; }
.wx-c { padding-bottom: 24svh; scroll-margin-top: calc(var(--nav-h, 64px) + 20px); }
.wx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wx-cols { display: flex; align-items: flex-start; gap: clamp(10px, 1.1vw, 18px); }
.wx-col { flex: var(--w) 1 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(10px, 1.1vw, 18px); will-change: translate; }
.wx-f { margin: 0; transition: opacity .5s cubic-bezier(.16,1,.3,1); }
.wx-f a, .wx-nl { position: relative; display: block; overflow: hidden; background: color-mix(in srgb, currentColor 10%, transparent); }
.wx-f a[style] img { height: 100%; object-fit: cover; }
.wx-f img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.wx-f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wx-f a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (hover: hover) {
  .wx-f [data-k]:hover img { transform: scale(1.025); }
  .wx-c:has(.wx-f [data-k]:hover) .wx-f:not(:has([data-k]:hover)) { opacity: .4; }
}

/* projects: the names are the list */
.wx-world .ix { padding: 8svh var(--sp-edge) 0; position: relative; }
.wx-world .ix .st-l { font-size: clamp(17px, 1.5vw, 22px); margin-bottom: clamp(20px, 3vw, 44px); }
.wx-world .ix-list a { grid-template-columns: minmax(0, 1fr) auto 6.5em; align-items: baseline; padding: .06em 0; font-size: clamp(16px, 1.25vw, 19px); }
.wx-world .ix-c { font-size: clamp(38px, 6.6vw, 118px); font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; transition: opacity .4s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.wx-world .ix-t, .wx-world .ix-y { color: var(--dim); white-space: nowrap; }
.wx-world .ix-list:has(a:hover) a:not(:hover) .ix-c { opacity: .6; }
.wx-world .ix-list a:hover .ix-c { color: inherit; transform: translateX(.12em); }
.wx-world .ix-list a:hover .ix-t { color: var(--dim); }
.wx-world .ix-list.ix-scroll .ix-c { opacity: .6; }
.wx-world .ix-list.ix-scroll li.on .ix-c { opacity: 1; }
.wx-cur { position: fixed; left: 0; top: 0; width: clamp(220px, 21vw, 340px); pointer-events: none; z-index: 30; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .35s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.wx-cur img { display: block; width: 100%; height: auto; }
.wx-cur.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* the close */
.wx-close { padding: clamp(96px, 16vw, 260px) var(--sp-edge) clamp(48px, 7vw, 110px); }
.wx-close a { display: block; color: inherit; text-decoration: none; font-weight: 500; font-size: clamp(56px, 12.4vw, 230px); line-height: .92; letter-spacing: -0.05em; margin-left: -.05em; font-variant-ligatures: none; }

@media (max-width: 860px) {
  .wx { display: block; padding: 0; }
  /* one big line under the nav: the current category, the others a swipe away */
  .wx-rail { position: sticky; top: var(--nav-h, 64px); height: auto; display: block; background: var(--f, #F3EFE7); transition: background-color .9s cubic-bezier(.16,1,.3,1); }
  .wx-n { flex-direction: row; gap: .32em; position: relative; overflow-x: auto; scrollbar-width: none; padding: 6px var(--sp-edge) 12px; font-size: min(13.5vw, 15svh); line-height: 1.04; scroll-snap-type: none; }
  .wx-n::-webkit-scrollbar { display: none; }
  .wx-n a { flex: none; margin-left: 0; }
  .wx-n a.on { transform: none; }
  .wx-k { display: none; }
  .wx-body { padding: 8px var(--sp-edge) 0; }
  .wx-c { padding-bottom: 14svh; scroll-margin-top: calc(var(--nav-h, 64px) + 19vw); }
  .wx-cols, .wx-col { gap: 8px; }
  .wx-world .ix-list a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0; padding: 10px 0; }
  .wx-world .ix-c { grid-column: 1 / 3; font-size: 11.6vw; }
  .wx-world .ix-t { grid-column: 1; grid-row: 2; white-space: normal; }
  .wx-world .ix-y { grid-column: 2; grid-row: 2; }
  .wx-cur { display: none; }
  .wx-close a { font-size: 21vw; }
}
@media (prefers-reduced-motion: reduce) {
  html.wx-live body, html.wx-live .nav, html.wx-live .foot, .wx-rail, .wx-n a, .wx-f, .wx-f img, .wx-k, .wx-world .ix-c { transition: none; }
  .wx-cur { display: none; }
}
@media (max-width: 860px) and (max-height: 500px) { .wx-body { padding-inline: 20%; } }

/* ══ Home stack (2026-11-05). Everything here needs html.hs-live, so reduced motion and no-JS keep the plain page. ══ */
html.hs-live .stm-stage { position: sticky; top: var(--mast, 64px); min-height: calc(100svh - var(--mast, 64px)); display: flex; flex-direction: column; justify-content: center; }
html.hs-live #work { padding-top: 0; }
html.hs-live #work .sp-statement { height: 190svh; display: block; }
html.hs-live #work .stm { max-width: none; opacity: 1 !important; transform: none !important; font-size: min(7.2vw, 13.5svh); line-height: .98; }
html.hs-live .stm .w { opacity: .46; transition: opacity .35s cubic-bezier(.16,1,.3,1); }
html.hs-live .stm .w.on { opacity: 1; }
html.hs-live #work .sp-feature { position: sticky; top: 0; margin: 0 !important; padding: 0 !important; background: #07080D; overflow: clip; max-width: none; }
html.hs-live #work .sp-feature .ft { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: calc(var(--mast, 64px) + clamp(10px, 1.6vw, 24px)) var(--sp-edge) clamp(16px, 2vw, 28px); background: var(--cf); color: var(--ci); transform-origin: 50% 70%; will-change: transform, opacity; }
html.hs-live #work .sp-feature .ft .ft-row { margin-top: auto; }
html.hs-live #work .sp-feature .ft-cap { margin-top: clamp(10px, 1.2vw, 18px); }
html.hs-live #work .sp-feature .ft-k, html.hs-live #work .sp-feature .ft-m, html.hs-live #work .sp-feature .ft-go { color: inherit; border-color: currentColor; }
html.hs-live #work .sp-feature .ch-t { color: inherit; }
html.hs-live #work .ly-film .ft { padding-top: 0; }
html.hs-live #work .ly-film .ft-film .ch-t { color: var(--bone); }
html.hs-live #work .ly-film .ft-row { margin-top: clamp(8px, 1vw, 14px); display: flex; gap: clamp(8px, 1vw, 14px); align-items: flex-start; }
html.hs-live #work .ly-film .ft-f { flex: var(--r) 1 0; min-width: 0; }
html.hs-live #work .ly-film .ft-f img { width: 100%; height: auto; }
html.hs-live #work .ly-dark .ft { padding-inline: 0; }
/* each card gets a beat on screen before the next one arrives */
html.hs-live #work .sp-feature { margin-bottom: 32svh !important; }
/* the masthead takes the card's colour; over the film it clears */
html.hs-on .mast, html.hs-on .mast.is-stuck { background: var(--f); color: var(--c); border-color: transparent; }
html.hs-on .mast a, html.hs-on .mast button, html.hs-on .mast .mark { color: var(--c); }
html.hs-on.hs-film .mast, html.hs-on.hs-film .mast.is-stuck { background: transparent; color: #F2EEE6; }
html.hs-on.hs-film .mast a, html.hs-on.hs-film .mast button, html.hs-on.hs-film .mast .mark { color: #F2EEE6; }
html.hs-on .mast a[aria-current], html.hs-on .mast .mast-cta { border-color: currentColor; }
/* phone menu open: back to paper, the menu is paper */
html.hs-on:has(.menu-btn[aria-expanded="true"]) .mast, html.hs-on:has(.menu-btn[aria-expanded="true"]) .mast.is-stuck { background: var(--paper, #F3EFE7); color: var(--ink, #17120E); }
html.hs-on:has(.menu-btn[aria-expanded="true"]) .mast a, html.hs-on:has(.menu-btn[aria-expanded="true"]) .mast button, html.hs-on:has(.menu-btn[aria-expanded="true"]) .mast .mark { color: var(--ink, #17120E); }
/* disciplines: one big row, carried by the scroll */
html.hs-live #work .sp-strip { position: relative; z-index: 2; margin: 0 !important; padding: 0; background: var(--paper, #F3EFE7); --st-h: min(56svh, 680px); }
html.hs-live #work .st-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: flex; flex-direction: column; justify-content: center; padding-top: var(--mast, 64px); background: var(--paper, #F3EFE7); }
html.hs-live #work .sp-strip .st-h { margin-bottom: clamp(16px, 2vw, 28px); }
html.hs-live #work .sp-strip .st-l { font-size: min(clamp(52px, 9.6vw, 200px), 15svh); line-height: .9; letter-spacing: -0.05em; }
html.hs-live #work .sp-strip .st-row { overflow: visible; width: max-content; scroll-snap-type: none; will-change: transform; }
html.hs-live #work .sp-strip .cr-k { font-size: clamp(22px, 2.6vw, 42px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
html.hs-live body:has(.hb) .close, html.hs-live .close { position: relative; z-index: 2; margin-top: 0 !important; }
html.hs-live .colophon { position: relative; z-index: 2; }
@media (max-width: 760px) {
  html.hs-live #work .stm { font-size: min(11.4vw, 7.2svh); }
  html.hs-live #work .sp-strip { --st-h: min(56svh, 118vw); }
  html.hs-live #work .sp-feature { margin-bottom: 22svh !important; }
  html.hs-live #work .sp-feature .ch-t { font-size: 19vw; line-height: .9; }
  html.hs-live #work .ly-film .ft-film .ch-t { font-size: 15.4vw; }
  html.hs-live #work .ly-big-small .ft-f:nth-child(2) { grid-column: 1 / -1; margin-top: 8px; }
  html.hs-live #work .sp-feature .ft { padding-top: calc(var(--mast, 56px) + 8px); }
  html.hs-live #work .ly-film .ft { padding-top: 0; }
  html.hs-live #work .ly-film .ft-row { flex-wrap: wrap; }
  html.hs-live #work .ly-film .ft-f { flex: var(--r) 1 0; }
  html.hs-live #work .ly-film .ft-f:first-child { flex: 1 1 100%; }
}

/* Work: no dead field before Projects */
.wx-c:last-child { padding-bottom: 8svh; }

/* desktop cards fit the screen exactly, so a title never holds under the masthead: the frames yield, never crop */
@media (min-width: 761px) {
  html.hs-live #work .sp-feature { --chrome: calc(var(--mast, 64px) + 96px + clamp(52px, 9.6vw, 200px) * .9 + clamp(18px, 2.6vw, 40px)); }
  html.hs-live #work .ly-big-small .ft-row { width: 100%; max-width: calc((100svh - var(--chrome)) * 2.37); margin-right: auto; }
  html.hs-live #work .ly-small-big .ft-row { width: 100%; max-width: calc((100svh - var(--chrome)) * 2.02); margin-left: auto; }
  html.hs-live #work .ly-dark .ft-row { width: 100%; max-width: calc((100svh - var(--chrome)) * 2.4); margin-inline: auto; }
}
@media (max-width: 760px) {
  html.hs-live #work .ly-small-big .ch-t { font-size: 17vw; }
  html.hs-live #work .ly-small-big .ft-f:nth-child(1) { grid-column: 1 / 8; }
}
