/* ==========================================================================
   SEAMON. — portfolio
   A quiet, typographic system: white paper, near-black ink, one blue note.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-var.woff2") format("woff2"),
       url("../fonts/josefin-sans-var.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --mute: #8d8d8d;
  --faint: #b7b7b7;
  --line: #e8e8e8;
  --paper: #ffffff;
  --blue: #0f6bff;
  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Inter Tight", "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --pad: clamp(22px, 4.2vw, 64px);
  --maxw: 1280px;
  --ease: cubic-bezier(.19, .76, .23, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
main { animation: pageIn .7s var(--ease) both; }

h1, h2, h3, p, figure, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 10px 14px;
  background: #111;
  color: #fff;
  font-size: 12px;
  transition: top .2s;
}
.skip:focus { top: 20px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.label {
  display: block;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

.muted { color: var(--faint); }

/* --------------------------------------------------------------------------
   Chrome: brand, hamburger, menu overlay, page veil, top labels
   -------------------------------------------------------------------------- */

.site-head {
  position: fixed;
  top: 25px;
  left: var(--pad);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #fff;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
body.header-on .site-head {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.brand {
  color: inherit;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1;
}
.menu .brand { color: var(--ink); }

.menu-btn {
  position: relative;
  display: block;
  width: 26px;
  height: 15px;
}
.menu-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: width .45s var(--ease), top .45s var(--ease), opacity .3s;
}
.menu-btn span:nth-child(1) { top: 0; }
.menu-btn span:nth-child(2) { top: 7px; }
.menu-btn span:nth-child(3) { top: 14px; }
.menu-btn:hover span:nth-child(2) { width: 62%; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  padding: 25px var(--pad) 30px;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  outline: none;
  transition: opacity .55s var(--ease), visibility 0s linear .55s;
}
.menu:focus { outline: none; }
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .55s var(--ease);
}

.menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.menu__close {
  position: relative;
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.menu__close svg { width: 22px; height: 22px; }
.menu__close svg path { stroke: currentColor; stroke-width: 1; }
.menu__close:hover { color: var(--mute); }

.menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(6px, 1.2vh, 14px);
  margin: auto 0;
  padding: 6vh 0;
}
.menu__nav a {
  display: block;
  width: max-content;
  max-width: 100%;
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), color .35s;
}
.menu__nav a:hover { color: #777; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .06s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .11s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .16s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .21s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .26s; }

.menu__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mute);
}
.menu__foot a:hover { color: var(--ink); }
.menu__foot .menu__meta { display: flex; flex-direction: column; gap: 3px; }

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--paper);
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.page-veil.is-covering { opacity: 1; pointer-events: auto; }

.now {
  position: fixed;
  top: 33px;
  left: 50%;
  z-index: 110;
  transform: translate(-50%, -5px);
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--faint);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  white-space: nowrap;
}
.now.is-on { opacity: 1; transform: translate(-50%, 0); }

.top-label {
  position: fixed;
  top: 30px;
  left: 50%;
  z-index: 110;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 300;
  color: var(--faint);
  transition: color .3s;
}
.top-label:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Cover
   -------------------------------------------------------------------------- */

.cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  background: #04101f;
  color: #fff;
  isolation: isolate;
}
@supports not (height: 100svh) {
  .cover { height: 100vh; }
}

.cover__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) brightness(.92);
}
.cover__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 85% at 50% 45%, rgba(3, 12, 28, .04) 0%, rgba(3, 12, 28, .38) 100%),
    linear-gradient(180deg, rgba(2, 9, 22, .46) 0%, rgba(2, 9, 22, .10) 32%, rgba(2, 9, 22, .18) 72%, rgba(2, 9, 22, .52) 100%);
}

.cover__corner {
  position: absolute;
  top: 30px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.cover__corner--tr {
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

/* CV download — same quiet caps as the corner label, one hairline on hover. */
.cover__cv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .7);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.cover__cv svg {
  width: 8px;
  height: 8px;
  transition: transform .3s var(--ease);
}
.cover__cv:hover,
.cover__cv:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .85);
}
.cover__cv:hover svg { transform: translateY(1.5px); }

.cover__inner {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
  transform: translateY(-2.5vh);
}

.cover__name {
  font-family: var(--display);
  font-size: clamp(54px, 9.4vw, 148px);
  font-weight: 200;
  line-height: .95;
  letter-spacing: .018em;
  color: #fff;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.25s var(--ease) .1s, transform 1.25s var(--ease) .1s;
}
body.is-loaded .cover__name { opacity: 1; transform: none; }
.cover__name .dot { font-weight: 300; margin-left: .04em; }

.cover__role {
  margin-top: clamp(20px, 3.2vh, 30px);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .44em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s var(--ease) .35s, transform 1s var(--ease) .35s;
}
body.is-loaded .cover__role { opacity: 1; transform: none; }

.cover__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(34px, 6.5vh, 66px);
}
.cover__nav a {
  font-family: var(--display);
  font-size: clamp(19px, 1.85vw, 26px);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: .005em;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease), color .3s;
}
.cover.is-revealed .cover__nav a {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.cover.is-revealed .cover__nav a:nth-child(1) { transition-delay: .02s; }
.cover.is-revealed .cover__nav a:nth-child(2) { transition-delay: .09s; }
.cover.is-revealed .cover__nav a:nth-child(3) { transition-delay: .16s; }
.cover.is-revealed .cover__nav a:nth-child(4) { transition-delay: .23s; }
.cover__nav a:hover { color: rgba(255, 255, 255, .5); }
.cover:focus-within .cover__nav a {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cover__foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 27px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.cover__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cover__scroll::before {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, .32);
}
.cover__foot > span[lang="zh"] {
  letter-spacing: .2em;
  font-size: 10px;
}

/* New display face for the cover and the menu (the "contents" page). */
.cover__name,
.cover__role,
.cover__nav a,
.menu__nav a {
  font-family: "Josefin Sans", "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
}
.menu__nav a { font-weight: 300; }
.cover__role {
  font-size: 11px;
  letter-spacing: .4em;
}

/* --------------------------------------------------------------------------
   Chapters
   -------------------------------------------------------------------------- */

.chapter {
  position: relative;
  padding: clamp(120px, 16vh, 178px) 0 46px;
}
.chapter__head {
  position: relative;
  margin-bottom: clamp(58px, 9vh, 98px);
  text-align: center;
}
.chapter__eyebrow {
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  font-family: var(--display);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 300;
  color: var(--faint);
  letter-spacing: .01em;
}
.chapter h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.next {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  margin: clamp(76px, 12vh, 126px) auto 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 300;
  color: var(--faint);
  transition: color .4s;
}
.next svg {
  width: 13px;
  height: 13px;
  transition: transform .45s var(--ease);
}
.next:hover { color: var(--ink); }
.next:hover svg { transform: translateY(4px); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.about__frame {
  overflow: hidden;
  background: #f7f7f5;
}
.about__frame img {
  width: 100%;
  height: auto;
  filter: contrast(1.015);
}
.about__figure figcaption {
  margin-top: clamp(16px, 2.4vh, 24px);
  font-family: var(--display);
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 300;
  letter-spacing: .17em;
  line-height: 1;
  text-transform: uppercase;
}

.about__info {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 42px);
  padding-top: 3px;
}
.about__block .label { margin-bottom: 9px; }
.about__block p {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--ink-2);
}
.about__block p + p { margin-top: 3px; }
.about__block .sep { color: var(--faint); margin: 0 3px; }
.about__block .tools { color: #7d7d7d; }

.about__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.awards li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 6px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.awards li + li { margin-top: 9px; }
.awards span { color: #a2a2a2; font-variant-numeric: tabular-nums; }

.about__block--last { max-width: 340px; }

/* --------------------------------------------------------------------------
   Project marquee
   -------------------------------------------------------------------------- */

.container--wide { max-width: calc(var(--maxw) + 2 * var(--pad)); }

.marquee {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}
.marquee.is-dragging { cursor: grabbing; }
.marquee__track {
  display: flex;
  gap: clamp(18px, 2vw, 26px);
  width: max-content;
  padding-left: 24px;
  will-change: transform;
}
.work-card {
  display: block;
  flex: 0 0 auto;
  width: clamp(196px, 20.8vw, 296px);
}
.work-card__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f3f3f1;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.01);
  transform: scale(1.001);
  -webkit-user-drag: none;
  user-select: none;
  transition: filter .8s var(--ease), transform 1.5s var(--ease);
}
.work-card:hover .work-card__img img,
.work-card:focus-visible .work-card__img img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.035);
}
.work-card__cap {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.45;
  color: #737373;
}
.work-card__cap span {
  color: #b4b4b4;
  font-variant-numeric: tabular-nums;
  margin-right: 1px;
}

/* --------------------------------------------------------------------------
   Others
   -------------------------------------------------------------------------- */

.others {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.cats { display: block; }
.cats__img {
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  background: #f2f2f0;
}
.cats__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82);
  transition: transform 1.4s var(--ease), filter .9s var(--ease);
}
.cats:hover .cats__img img { transform: scale(1.025); filter: saturate(1); }
.cats__cap,
.other-card__cap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 15px;
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  letter-spacing: .005em;
}
.cats__cap .muted,
.other-card__cap .muted {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: .03em;
}

.others__side {
  display: flex;
  flex-direction: column;
  gap: clamp(34px, 5vh, 54px);
}
.side-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 11px;
}
.side-head .label { margin: 0; }

.music {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  transition: border-color .4s, background .4s;
}
.music:hover { border-color: #d3d3d3; background: #fcfcfc; }
.music__art {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  overflow: hidden;
}
.music__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.music__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.music__title { font-size: 13.5px; font-weight: 450; line-height: 1.45; }
.music__artist { font-size: 11.5px; color: #8f8f8f; line-height: 1.45; }
.music__source {
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b4b4b4;
}
.music__play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid #dedede;
  border-radius: 50%;
  transition: background .35s, color .35s, border-color .35s;
}
.music__play svg { width: 13px; height: 13px; }
.music:hover .music__play {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.other-card { display: block; }
.other-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f3ef;
}
.other-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: saturate(.9);
  transition: transform 1.4s var(--ease), filter .9s var(--ease);
}
.other-card:hover .other-card__img img { transform: scale(1.025); filter: saturate(1); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 4.2vh, 38px);
  max-width: 560px;
  margin: clamp(8px, 3vh, 34px) auto 0;
  text-align: center;
}
.contact__row .label { margin-bottom: 7px; }
.contact__value {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.72;
  color: var(--ink-2);
}
.contact__value a { transition: color .3s; }
.contact__value a:hover { color: #777; }

.copy {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.copy__hint {
  font-family: var(--body);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color .3s;
}
.copy.is-copied .copy__hint { color: var(--ink); }

.contact__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
}
.contact__qr img {
  width: 92px;
  height: 92px;
  padding: 4px;
  border: 1px solid var(--line);
  background: #fff;
}
.contact__qr figcaption {
  font-size: 9px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--faint);
}

.signature {
  display: block;
  width: max-content;
  margin: clamp(72px, 13vh, 128px) auto 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--faint);
  transition: color .4s;
}
.signature:hover { color: var(--ink); }

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid #f0f0f0;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #c3c3c3;
}

/* --------------------------------------------------------------------------
   Work detail
   -------------------------------------------------------------------------- */

.work {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(130px, 17vh, 180px) var(--pad) 70px;
}
.work__index {
  font-family: var(--body);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: #a3a3a3;
}
.work h1 {
  max-width: 1020px;
  margin-top: 16px;
  font-family: var(--display);
  font-size: clamp(38px, 5.1vw, 68px);
  font-weight: 200;
  line-height: 1.06;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.work__sub {
  margin-top: 15px;
  font-family: var(--display);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 300;
  color: #8c8c8c;
}

.work__meta {
  display: grid;
  grid-template-columns: 220px minmax(0, 660px);
  gap: clamp(40px, 8vw, 120px);
  margin-top: clamp(46px, 7vh, 76px);
}
.work__facts {
  font-size: 12px;
  line-height: 1.95;
  color: #929292;
}
.work__facts p { margin-bottom: 1px; }
.work__facts .facts-rule {
  width: 24px;
  height: 1px;
  margin: 16px 0;
  background: #e3e3e3;
}
.work__text {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 640px;
}
.work__text p + p { margin-top: 15px; }
.work__tools {
  margin-top: 24px !important;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8f8f8f;
}

.work__gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 28px);
  margin-top: clamp(64px, 9vh, 104px);
  align-items: start;
}
.work__gallery figure { margin: 0; }
.work__gallery img {
  width: 100%;
  height: auto;
  background: #f5f5f3;
}
.work__gallery .cap {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b3b3b3;
}
.g-full { grid-column: 1 / -1; }
.g-8 { grid-column: span 8; }
.g-6 { grid-column: span 6; }
.g-4 { grid-column: span 4; }
.g-3 { grid-column: span 3; }

.gallery--masonry {
  display: block;
  columns: 3;
  column-gap: clamp(16px, 1.9vw, 28px);
}
.gallery--masonry figure {
  break-inside: avoid;
  margin-bottom: clamp(16px, 1.9vw, 28px);
}

.gifs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  grid-column: 1 / -1;
}
.gifs img {
  width: 100%;
  height: auto;
  background: #f7f7f5;
}

.row-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
  align-items: start;
}
.row-5 img {
  width: 100%;
  height: auto;
  background: #f5f5f3;
}
.cap--lead {
  margin: 0 0 12px;
}

.film-wrap {
  grid-column: 1 / -1;
  margin: 0;
}
.film {
  position: relative;
  overflow: hidden;
  background: #050505;
}
.film video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  background: #000;
}
.film__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  background: rgba(3, 6, 11, .16);
  cursor: pointer;
  transition: background .45s, opacity .5s;
}
.film__overlay:hover { background: rgba(3, 6, 11, .28); }
.film__ring {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  transition: transform .55s var(--ease), background .4s;
}
.film__ring svg { width: 17px; height: 17px; margin-left: 3px; }
.film__overlay:hover .film__ring {
  transform: scale(1.06);
  background: rgba(255, 255, 255, .1);
}
.film__label {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.film.is-playing .film__overlay {
  opacity: 0;
  pointer-events: none;
}
.film-cap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 2px 0;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b3b3b3;
}

.work__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(64px, 10vh, 110px);
  padding-top: 20px;
  border-top: 1px solid #ededed;
  font-size: 12px;
  letter-spacing: .01em;
  color: #8f8f8f;
}
.work__foot a { transition: color .3s; }
.work__foot a:hover { color: var(--ink); }
.work__next { text-align: right; max-width: 46%; }
.work__next .label { margin-bottom: 5px; }
.work__next strong { font-weight: 400; color: var(--ink-2); }

.work-nav {
  position: fixed;
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  transform: translateY(-50%);
  color: #b4b4b4;
  transition: color .3s;
}
.work-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.work-nav--prev { left: clamp(6px, 2.1vw, 32px); }
.work-nav--next { right: clamp(6px, 2.1vw, 32px); }
.work-nav svg {
  width: 22px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transition: transform .4s var(--ease);
}
.work-nav .num {
  font-size: 9.5px;
  letter-spacing: .12em;
  color: #bdbdbd;
  font-variant-numeric: tabular-nums;
}
.work-nav:hover { color: var(--ink); }
.work-nav--prev:hover svg { transform: translateX(-4px); }
.work-nav--next:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Sub pages: internships, cats
   -------------------------------------------------------------------------- */

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(132px, 17vh, 176px) var(--pad) 70px;
}
.subhead {
  margin-bottom: clamp(52px, 8vh, 88px);
  text-align: center;
}
.subhead .eyebrow {
  font-family: var(--display);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 300;
  color: var(--faint);
}
.subhead h1 {
  margin-top: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: -.018em;
}

.interns {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.interns__figure { position: sticky; top: 110px; }
.interns__figure img {
  width: 100%;
  height: auto;
  background: #f7f5f2;
}
.interns__figure figcaption {
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b3b3b3;
}

.intern-entry {
  padding: clamp(26px, 4vh, 38px) 0;
  border-top: 1px solid #ededed;
}
.intern-entry:first-child { padding-top: 0; border-top: 0; }
.intern-entry__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: .02em;
  color: #a0a0a0;
}
.intern-entry__top .num { font-variant-numeric: tabular-nums; }
.intern-entry h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 33px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.intern-entry h3 {
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  color: #777;
}
.intern-entry ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 17px;
}
.intern-entry li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 4px;
  font-size: 12.5px;
  line-height: 1.72;
  color: #3a3a3a;
}
.intern-entry li .n { color: #b0b0b0; }

.cats-hero {
  max-width: 940px;
  margin: 0 auto;
}
.cats-hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(.92);
}
.cats-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  max-width: 1040px;
  margin: 0 auto;
}
.cat-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.cat-photo figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
}
.cat-photo figcaption span {
  font-family: var(--body);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
}

.subnote {
  max-width: 1180px;
  margin: clamp(40px, 7vh, 80px) auto 0;
  padding-top: 18px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
  color: #b0b0b0;
  letter-spacing: .02em;
}
.subnote a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .work-nav { display: none; }
  .work__meta { grid-template-columns: 180px minmax(0, 1fr); gap: 50px; }
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 44px;
  }
  .about__cols { grid-template-columns: 1fr; gap: 28px; }
  .others { grid-template-columns: 1fr 1fr; gap: 36px; }
  .interns { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; }
}

@media (max-width: 760px) {
  .site-head { top: 18px; gap: 13px; }
  .brand { font-size: 11.5px; }
  .top-label { top: 22px; font-size: 14px; }
  .now { display: none; }

  .cover__corner { top: 20px; }
  .cover__corner--tr { gap: 14px; }
  .cover__foot { bottom: 20px; }
  .cover__name { font-size: clamp(52px, 15vw, 100px); }
  .cover__role { margin-top: 20px; font-size: 9.5px; letter-spacing: .36em; }
  .cover__nav { margin-top: 34px; }
  .cover__nav a {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    font-size: 19px;
    line-height: 1.72;
  }
  .cover__foot > span[lang="zh"] { display: none; }
  .cover__scroll { display: none; }

  .chapter { padding-top: 128px; padding-bottom: 34px; }
  .chapter__head { margin-bottom: 46px; }
  .chapter__eyebrow { top: -30px; }
  .chapter h2 { font-size: clamp(38px, 9.4vw, 54px); }
  .next { margin-top: 66px; }

  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__figure { max-width: 440px; }
  .about__info { gap: 30px; }
  .about__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .awards li { grid-template-columns: 34px 1fr; }

  .container--wide { padding: 0; }
  .marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--pad);
    scrollbar-width: none;
    cursor: default;
    touch-action: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee__track { padding: 0 var(--pad); gap: 18px; }
  .work-card { width: clamp(212px, 66vw, 300px); scroll-snap-align: start; }

  .others { grid-template-columns: 1fr; gap: 40px; }
  .cats__img { aspect-ratio: 1 / 1; }
  .music__bar { display: none; }

  .contact { gap: 27px; }

  .work { padding-top: 132px; }
  .work__meta {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }
  .work__facts { font-size: 11.5px; }
  .work__facts .facts-rule { display: none; }
  .work__gallery { margin-top: 52px; }
  .g-6, .g-8, .g-4 { grid-column: 1 / -1; }
  .g-3 { grid-column: span 6; }
  .gallery--masonry { columns: 2; }
  .gifs { grid-template-columns: repeat(3, 1fr); }
  .row-5 { grid-template-columns: repeat(3, 1fr); }
  .film-wrap video { max-height: 62vh; }
  .work__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .work__next { text-align: left; max-width: 100%; }

  .page { padding-top: 128px; }
  .interns { grid-template-columns: 1fr; gap: 40px; }
  .interns__figure { position: static; max-width: 420px; }
  .cats-pair { grid-template-columns: 1fr; gap: 32px; }
  .cats-hero img { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .about__cols { grid-template-columns: 1fr; }
  .about__figure figcaption { letter-spacing: .14em; }
  .work-card__cap { font-size: 11.5px; }
  .gallery--masonry { columns: 1; }
  .gifs { grid-template-columns: repeat(2, 1fr); }
  .intern-entry__top { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  /* Narrow phones: keep the download clear of the wordmark by stacking the two labels. */
  .cover__corner--tr {
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
  }
}

@media (hover: none) {
  .work-card__img img { filter: none; }
  .cats__img img, .other-card__img img { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cover__name, .cover__role, .cover__nav a { opacity: 1; transform: none; }
}

/* Deterministic rendering for visual QA screenshots. */
html.static,
html.static *,
html.static *::before,
html.static *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}
html.static .reveal { opacity: 1; transform: none; }
