@charset "UTF-8";

:root {
  --paper: #f4f4f1;
  --ink: #292a29;
  --muted: #62635f;
  --line: #d3d4ce;
  --accent: #343633;
  --birch: #dddeda;
  --clay: #666862;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
}
body[data-palette="color"] {
  --paper: #f5efe3;
  --ink: #34493b;
  --muted: #66634f;
  --line: #d8c9b1;
  --accent: #42634c;
  --birch: #dfc299;
  --clay: #a3583e;
}
body[data-palette="simulation"] {
  --paper: #eee7d2;
  --ink: #23453e;
  --muted: #555f4b;
  --line: #c5c5a8;
  --accent: #235a4b;
  --birch: #dbb84f;
  --clay: #a6432f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .8s ease, color .6s ease; }
body.viewer-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0 !important; }
.shell { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.muted { color: var(--muted); }
.skip-link { position: fixed; left: 20px; top: -100px; background: var(--ink); color: white; padding: 12px 20px; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); transition: background-color .8s ease, border-color .8s ease; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: var(--accent); color: var(--paper); border-radius: 45% 55% 37% 63% / 60% 42% 58% 40%; font: italic 27px/1 var(--serif); }
.brand-name { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 35px; font-size: 13px; }
.site-nav a { text-decoration: none; padding-block: 10px; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.hero { padding-top: 62px; padding-bottom: 38px; }
.hero-topline { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 30px; }
.hero-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 62px; align-items: center; padding-block: 18px; }
.hero h1 { font: 400 clamp(50px, 6.2vw, 92px)/1.04 var(--sans); letter-spacing: -.065em; }
.hero h1 span { display: block; }
.hero h1 .or { font: italic .52em/1.1 var(--serif); padding-block: 12px; color: var(--clay); letter-spacing: -.04em; }
.hero-copy { max-width: 290px; margin-top: 30px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.text-link { display: inline-flex; gap: 36px; align-items: center; padding-block: 12px; text-decoration: none; border-bottom: 1px solid var(--ink); font-size: 13px; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero .text-link { margin-top: 20px; }
.hero-art { position: relative; isolation: isolate; padding: 34px 26px; margin-right: 18px; background: #dedfd9; border-radius: 4px 82px 4px 35px; }
.hero-art::before { content: ''; position: absolute; z-index: -1; inset: 19% -20px -24px 25%; background: #c6c8c1; border-radius: 44% 46% 36% 60%; transform: rotate(-8deg); }
.hero-art::after { content: ''; position: absolute; z-index: -1; top: -24px; right: 48px; width: 75px; height: 105px; background: repeating-linear-gradient(90deg, #767972 0 3px, transparent 3px 12px); opacity: .45; }
.hero-art .work-link { padding: 9px; background: #fff; box-shadow: 0 8px 24px #45341b20; }
.hero-art img { width: 100%; height: auto; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.hero-bottom a { text-decoration: none; }
.work { padding-top: 58px; padding-bottom: 74px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.section-intro h2 { max-width: 670px; font: 400 clamp(34px, 3.6vw, 50px)/1.13 var(--sans); letter-spacing: -.055em; }
.section-intro p { max-width: 290px; color: var(--muted); font-size: 13px; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 37px; }
.filters { display: flex; gap: 9px; flex-wrap: wrap; }
.filter-button { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 24px; background: transparent; padding: 10px 17px; min-height: 44px; font-size: 12px; transition: background .15s, color .15s; }
.filter-button span { font-size: 10px; }
.filter-button:hover { border-color: var(--ink); }
.filter-button[aria-pressed="true"] { color: var(--paper); background: var(--accent); border-color: var(--accent); }
#filter-status { color: var(--muted); font-size: 12px; white-space: nowrap; }
.work-collection {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  padding: 38px 0 12px;
  scroll-margin-top: 18px;
}
.work-collection + .work-collection { margin-top: 66px; border-top: 1px solid var(--line); }
.monochrome-collection { --ink: #292a29; --muted: #62635f; --line: #d3d4ce; --accent: #343633; --paper: #f4f4f1; --print-paper: #fff; --swatch-one: #353835; --swatch-two: #a5a8a0; --swatch-three: #dedfd9; }
.colour-collection { --ink: #34493b; --muted: #66634f; --line: #d8c9b1; --accent: #42634c; --paper: #f5efe3; --print-paper: #fffcf5; --swatch-one: #c49b72; --swatch-two: #94a288; --swatch-three: #d4bc87; }
.simulation-collection { --ink: #23453e; --muted: #555f4b; --line: #c5c5a8; --accent: #235a4b; --paper: #eee7d2; --swatch-one: #b44b34; --swatch-two: #d4ac35; --swatch-three: #2d6a5b; }
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.collection-heading .eyebrow { color: var(--muted); margin-bottom: 12px; letter-spacing: .12em; font-size: 10px; }
.collection-heading h3 { font: 400 clamp(32px, 3.3vw, 46px)/1.12 var(--sans); letter-spacing: -.05em; }
.collection-note { text-align: right; }
.collection-note p { color: var(--muted); font-size: 11px; margin-top: 14px; }
.palette-study { display: flex; justify-content: flex-end; align-items: end; gap: 8px; height: 48px; }
.palette-study i { display: block; width: 29px; height: 43px; background: var(--swatch-one); border-radius: 18px 18px 3px 3px; transform: rotate(-9deg); }
.palette-study i:nth-child(2) { width: 35px; height: 33px; background: var(--swatch-two); border-radius: 46% 55% 37% 63%; transform: rotate(8deg); }
.palette-study i:nth-child(3) { height: 46px; width: 23px; background: var(--swatch-three); border-radius: 3px 17px 3px 3px; transform: rotate(7deg); }
.collection-empty { column-span: all; display: grid; place-content: center; min-height: 210px; padding: 42px 24px; background: #e9dfcb; color: #5c604c; border-radius: 3px 72px 3px 32px; text-align: center; font: italic 20px/1.5 var(--serif); }
.collection-empty::before { content: ''; display: block; width: 100px; height: 4px; margin: 0 auto 25px; background: linear-gradient(90deg, #b99470 0 33%, #879980 33% 66%, #ccb26f 66%); border-radius: 3px; }
.monochrome-collection .collection-empty { background: #e3e4de; color: #62635f; }
.monochrome-collection .collection-empty::before { background: linear-gradient(90deg, #353835 0 33%, #a5a8a0 33% 66%, #dedfd9 66%); }
.photo-grid { columns: 3; column-gap: 34px; padding: 18px 9px 4px; }
.photo-grid .work-card { position: relative; padding: 6px; margin-bottom: 30px; }
.photo-grid .work-card:nth-child(4n+1) { --print-angle: -1.4deg; }
.photo-grid .work-card:nth-child(4n+2) { --print-angle: 1.2deg; }
.photo-grid .work-card:nth-child(4n+3) { --print-angle: -.6deg; }
.photo-grid .work-card:nth-child(4n) { --print-angle: .8deg; }
.photo-grid .work-link { padding: 12px; background: var(--print-paper, #fff); transform: perspective(1000px) rotate(var(--print-angle, 0deg)); transform-origin: center; box-shadow: 0 2px 5px #49392112, 0 9px 20px #4939210a; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.photo-grid .work-card:focus-within { z-index: 2; }
.photo-grid .work-link:focus-visible { transform: translateY(-7px) rotate(0deg); box-shadow: 0 18px 32px #49392125; }
.work-card { break-inside: avoid; margin-bottom: 30px; }
.work-link { display: block; position: relative; text-decoration: none; background: #e8e5dd; }
.work-link img { width: 100%; height: auto; }
.view-icon { position: absolute; display: grid; place-items: center; right: 12px; bottom: 12px; width: 35px; height: 35px; color: var(--ink); background: var(--paper); border-radius: 50%; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; font-size: 18px; }
.work-link:hover .view-icon, .work-link:focus-visible .view-icon { opacity: 1; transform: none; }
.work-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; font-size: 11px; }
.work-card figcaption span:last-child { font-size: 10px; color: var(--muted); }
.gallery-more { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 28px; }
.gallery-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
[data-show-all], [data-shuffle] { display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 14px 25px; min-height: 48px; border: 1px solid var(--accent); border-radius: 28px; font-size: 12px; transition: background .2s, transform .2s; }
[data-show-all] { color: var(--paper); background: var(--accent); }
[data-show-all]:hover { background: var(--ink); transform: translateY(-2px); }
[data-shuffle] { background: transparent; }
[data-shuffle]:hover { background: var(--line); transform: translateY(-2px); }
[data-shuffle] span { font-size: 21px; line-height: 1; display: inline-block; transition: transform .4s; }
[data-shuffle]:hover span { transform: rotate(90deg); }
[data-photo-count] { font-size: 11px; color: var(--muted); }
.science-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.science-grid .work-link { padding: 10px; background: #bd6b50; border-radius: 2px 32px 2px 2px; box-shadow: 0 5px 18px #384c3412; transition: transform .3s ease, box-shadow .3s ease; }
.science-grid .work-card:nth-child(3n+2) .work-link { background: #d1ad42; }
.science-grid .work-card:nth-child(3n) .work-link { background: #4d806e; }
.science-grid .work-link img { background: #fff; border-top-right-radius: 23px; }
.science-grid .work-link:hover, .science-grid .work-link:focus-visible { transform: translateY(-5px); box-shadow: 0 13px 25px #384c3424; }
.science-grid .work-link img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 15px; }
.science-grid .work-card:last-child { grid-column: span 2; }
.science-grid .work-card:last-child img { aspect-ratio: 16/9; padding: 0; }
.about { padding: 72px 0 76px; background: #ced8b7; border-top: 1px solid #b1bd98; color: #28463b; border-radius: 0 90px 0 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about h2 { max-width: 490px; margin-top: 23px; font: 400 clamp(36px, 4vw, 56px)/1.13 var(--sans); letter-spacing: -.055em; }
.about-copy { padding-top: 34px; max-width: 400px; }
.about-copy .chinese { font-size: 21px; letter-spacing: .14em; margin-bottom: 16px; }
.about-copy p { color: #445442; }
.site-footer { padding-block: 30px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 11px; color: var(--muted); }
.footer-links { display: flex; gap: 28px; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.artwork-viewer { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; margin: 0; color: #f3f0e9; background: #141612; }
.artwork-viewer::backdrop { background: #141612; }
.viewer-layout { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 20px 28px; }
.viewer-top, .viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.viewer-top .eyebrow { color: #b9bfb2; }
.viewer-button { width: 46px; height: 46px; border: 1px solid #62685a; border-radius: 50%; color: inherit; background: transparent; font-size: 22px; flex-shrink: 0; }
.viewer-button:hover { background: #34392e; }
.artwork-viewer button:focus-visible, .artwork-viewer a:focus-visible { outline-color: #dce6c9; }
.viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 0; padding: 18px 0; }
#viewer-image { width: calc(100% - 132px); height: 100%; object-fit: contain; }
.artwork-viewer.is-loading #viewer-image { opacity: 0; }
#viewer-status { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 300px; font-size: 13px; pointer-events: none; }
.viewer-bottom { min-height: 64px; }
#viewer-title { font: normal 24px/1.2 var(--serif); }
#viewer-count { color: #b9bfb2; font-size: 11px; margin-top: 6px; }
#viewer-original { font-size: 12px; }

@media (hover: hover) and (pointer: fine) {
  .photo-grid .work-card:hover { z-index: 2; }
  .photo-grid .work-link:hover { transform: perspective(1000px) translateY(-9px) rotate(0deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.025); box-shadow: 0 20px 35px #49392126; }
}
@media (min-width: 1700px) { .hero h1 { font-size: 100px; } }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .hero { padding-top: 42px; }
  .hero-layout { gap: 30px; }
  .hero-art { padding: 24px 18px; }
  .hero-copy { font-size: 14px; }
  .photo-grid { column-gap: 22px; }
  .science-grid { gap: 14px 20px; }
  .about-layout { gap: 40px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 85px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; gap: 15px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 10px; letter-spacing: .03em; }
  .brand-mark { width: 29px; height: 29px; font-size: 22px; }
  .site-nav { gap: 20px; font-size: 12px; }
  .hero { padding-top: 32px; padding-bottom: 20px; }
  .hero-topline { padding-bottom: 25px; }
  .hero-topline .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .hero-topline .edition { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: clamp(50px, 11.4vw, 76px); }
  .hero h1 .or { display: inline; font-size: .5em; padding: 0; }
  .hero-copy { margin-top: 22px; max-width: 290px; }
  .hero .text-link { margin-top: 10px; }
  .hero-art { padding: 24px 18px; margin: 12px 14px 14px 0; border-top-right-radius: 60px; }
  .hero-art::before { right: -14px; bottom: -14px; }
  .hero-art::after { top: -19px; width: 55px; right: 40px; }
  .hero-art .work-link { padding: 7px; }
  .hero-bottom { margin-top: 28px; padding-top: 18px; font-size: 10px; }
  .work { padding-top: 38px; padding-bottom: 46px; }
  .section-intro { align-items: start; gap: 15px; flex-direction: column; margin-bottom: 25px; }
  .section-intro p { max-width: 290px; font-size: 12px; }
  .work-toolbar { flex-direction: column; align-items: start; gap: 14px; padding-block: 18px; margin-bottom: 27px; }
  .filters { gap: 6px; }
  .filter-button { gap: 7px; padding: 9px 12px; font-size: 11px; }
  #filter-status { font-size: 11px; }
  .work-collection { padding-top: 24px; }
  .collection-heading { gap: 14px; align-items: end; }
  .collection-heading h3 { font-size: 29px; }
  .collection-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
  .collection-note { max-width: 112px; flex-shrink: 0; }
  .collection-note p { font-size: 10px; line-height: 1.4; }
  .palette-study { gap: 5px; height: 35px; }
  .palette-study i { width: 20px; height: 32px; }
  .palette-study i:nth-child(2) { width: 26px; height: 25px; }
  .palette-study i:nth-child(3) { width: 18px; height: 34px; }
  .collection-empty { min-height: 185px; padding: 30px 22px; font-size: 18px; }
  .photo-grid { columns: 2; column-gap: 16px; padding: 12px 3px 0; }
  .photo-grid .work-card { padding: 3px; margin-bottom: 18px; }
  .photo-grid .work-link { padding: 7px; }
  .gallery-actions { gap: 10px; }
  [data-show-all], [data-shuffle] { padding: 12px 17px; gap: 12px; font-size: 11px; }
  .work-card { margin-bottom: 22px; }
  .work-card figcaption { padding-top: 7px; font-size: 10px; }
  .work-card figcaption span:last-child { font-size: 9px; }
  .view-icon { width: 28px; height: 28px; right: 8px; bottom: 8px; font-size: 15px; }
  .science-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
  .science-grid .work-link img { padding: 8px; }
  .work-collection + .work-collection { margin-top: 44px; }
  .science-grid .work-link { padding: 6px; border-top-right-radius: 23px; }
  .science-grid .work-link img { border-top-right-radius: 17px; }
  .about { padding-block: 45px; }
  .about-layout { grid-template-columns: 1fr; gap: 22px; }
  .about h2 { margin-top: 17px; }
  .about-copy { padding-top: 0; font-size: 14px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 15px; }
  .footer-links { width: 100%; justify-content: space-between; gap: 15px; font-size: 10px; }
  .viewer-layout { padding: 12px 16px; }
  .viewer-stage { gap: 0; }
  #viewer-image { width: 100%; padding-bottom: 45px; }
  #viewer-prev, #viewer-next { position: absolute; bottom: 6px; z-index: 1; }
  #viewer-prev { left: calc(50% - 56px); }
  #viewer-next { right: calc(50% - 56px); }
  #viewer-title { font-size: 21px; }
  #viewer-original { font-size: 11px; }
}
@media (max-width: 360px) {
  .brand-name { max-width: 90px; }
  .filter-button { padding-inline: 9px; }
  .photo-grid { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .photo-grid .work-link, .photo-grid .work-link:hover, .photo-grid .work-link:focus-visible, [data-show-all]:hover, [data-shuffle]:hover, [data-shuffle]:hover span, .science-grid .work-link:hover, .science-grid .work-link:focus-visible { transform: none; }
}
