:root {
  --bg: #080808;
  --media: #242727;
  --text: #e9e8e4;
  --muted: #93938f;
  --line: #93938f;
  --pill: #f3f1ea;
  --ink: #161616;
  --sans: Arimo, Arial, "Liberation Sans", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: Tinos, Georgia, "Liberation Serif", "Times New Roman", "Songti SC", "SimSun", serif;
  --pad: 16px;
  --header: 18px;
}

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

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.page-home {
  background: var(--media);
  overflow: hidden;
}

.page-works,
.page-about,
.page-photography {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-works .works-foot,
.page-about .site-footer,
.page-photography .photo-note { margin-top: auto; }

img, video { max-width: 100%; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus { outline: none; }

:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 3px;
}

::selection { background: var(--text); color: var(--bg); }

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.serif { font-family: var(--serif); }

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

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: var(--header) var(--pad) 0;
}

.brand {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}

.brand-break { display: none; }

.primary {
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
}

.primary a[aria-current="page"],
.filters button:hover,
.filters button[aria-pressed="true"],
.series-index-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-roll {
  display: inline-block;
  vertical-align: top;
}

.nav-roll-clip {
  display: block;
  overflow: hidden;
  height: 1.45em;
}

.nav-roll-inner {
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-roll:hover .nav-roll-inner,
.nav-roll:focus-visible .nav-roll-inner {
  transform: translateY(-1.45em);
}

.nav-roll-text {
  display: block;
  height: 1.45em;
  line-height: 1.45;
}

.page-works .site-header {
  display: grid;
  grid-template-columns: 243px auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
}

.page-works .primary { justify-self: end; }

.filters {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: normal;
}

.filters [role="group"],
.filter-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.filters button { text-align: left; line-height: 1.45; }

.filters button[aria-pressed="true"] { color: var(--text); }

.filters button:not([aria-pressed="true"]) { color: var(--muted); }

.filter-sub {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.series-index-link {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px var(--pad) 0;
}

html.js-anim .page-works .rule {
  transform: scaleX(0);
  transform-origin: left center;
  animation: works-rule-draw 1.1s linear forwards;
}

@keyframes works-rule-draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

html.js-anim:not(.is-anim-done) .work-row:not(.is-in),
html.js-anim:not(.is-anim-done) .work-card:not(.is-in),
html.js-anim:not(.is-anim-done) .preview-panel:not(.is-in) {
  opacity: 0;
}

html.js-anim .work-row.is-in,
html.js-anim .work-card.is-in,
html.js-anim .preview-panel.is-in {
  opacity: 1;
  transition: opacity 0.6s ease;
}

html.is-anim-done .page-works .rule {
  transform: none;
  animation: none;
}

html.is-anim-done .work-row,
html.is-anim-done .work-card,
html.is-anim-done .preview-panel {
  opacity: 1;
  transition: none;
}

/* Home */

.home-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--media);
}

.home-video,
.home-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-shade {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.home-mid {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 28px;
  font-family: var(--sans);
  font-size: 13px;
}

.home-mid .brand { justify-self: start; font-size: 13px; }

.home-mid .identity {
  margin: 0;
  text-align: center;
  font-size: 13px;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.home-mid nav {
  justify-self: end;
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 13px;
}

.home-mid.is-intro {
  display: flex;
  justify-content: center;
  gap: 28px;
}

@keyframes home-intro-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-mid.is-intro .brand,
.home-mid.is-intro .identity { opacity: 0; }

.home-mid.is-intro .brand {
  animation: home-intro-in 0.5s ease 0.35s forwards;
}

.home-mid.is-intro .identity {
  animation: home-intro-in 0.5s ease 1.05s forwards;
}

.home-mid.is-intro nav {
  position: absolute;
  right: 0;
  opacity: 0;
  pointer-events: none;
}

.showreel-label-desktop {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 77.8%;
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.role-line {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  bottom: 26px;
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.home-mobile { display: none; }

.home-stage.has-video .showreel-label-desktop,
.home-stage.has-video .home-mobile .showreel-label {
  visibility: hidden;
}

.has-custom-cursor,
.has-custom-cursor * { cursor: none; }

.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 0;
  height: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
}

.site-cursor-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: width 0.22s ease, height 0.22s ease;
}

.site-cursor.is-link .site-cursor-dot {
  width: 28px;
  height: 28px;
}

/* Player overlay */

.player {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: #1c1e1e;
  color: var(--text);
}

.player-label {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.player-label strong {
  display: block;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.08em;
}

.player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-ui {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.player-time { font-variant-numeric: tabular-nums; color: var(--text); }

.player-actions { display: flex; gap: 22px; }

.player-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }

.player-progress {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 10px;
  height: 2px;
  background: rgba(233, 232, 228, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.player-progress span {
  display: block;
  height: 2px;
  width: 0;
  background: var(--text);
}

/* Works */

.works-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.works-bg img {
  position: absolute;
  top: -12%;
  left: -12%;
  width: 124%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  filter: blur(64px) saturate(1.08) brightness(0.62);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.works-bg img.is-on { opacity: 1; }

.works-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.28);
  opacity: 0;
  transition: opacity 0.55s ease;
}

.works-bg.has-image::after { opacity: 1; }

.page-works .site-header,
.page-works .rule,
.page-works .works-body,
.page-works .works-foot {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .works-bg img,
  .works-bg::after { transition: none; }
}

@media (max-width: 860px) {
  .works-bg { display: none; }
}

.works-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 650px;
  gap: 48px;
  align-items: start;
  padding: 18px var(--pad) 28px;
}

.work-rows { min-width: 0; }

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(90px, 180px) minmax(90px, 170px) 4.6rem;
  gap: 20px;
  align-items: baseline;
  min-height: 34px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text);
}

.work-row .meta { color: var(--muted); }

.work-row .dur {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.work-row:hover .title,
.work-row:focus-visible .title,
.work-row.is-current .title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work-cards { display: none; }

.empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.preview-panel {
  position: sticky;
  top: 24px;
  width: 650px;
  max-width: 100%;
  justify-self: end;
}

.preview-frame,
.ph-frame {
  position: relative;
  background: var(--media);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.preview-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.preview-copy {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.preview-copy p { margin: 0; }

.preview-frame img,
.preview-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-frame img,
.ph-frame video,
.detail-frame img,
.detail-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-frame.has-media .preview-copy,
.cover.has-media .cover-label,
.thumb.has-media .thumb-label,
.ph-frame.has-media .ph-label,
.detail-frame.has-media .ph-label,
.detail-frame.has-video .ph-label,
.detail-frame.has-video img,
.reel-frame.has-media .reel-label { display: none; }


.works-foot {
  margin: 0;
  padding: 36px var(--pad) 28px;
  max-width: 860px;
  color: var(--muted);
  font-size: 11px;
}

.thumb {
  display: grid;
  place-items: center;
  position: relative;
  background: var(--media);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thumb img,
.thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-label,
.cover-label,
.ph-label {
  color: #8a8884;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.card-title {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  line-height: 20px;
  color: var(--text);
}

.card-dur {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

/* About */

.about-wrap {
  display: grid;
  grid-template-columns: minmax(0, 724px) minmax(220px, 1fr);
  column-gap: 105px;
  padding: 58px var(--pad) 48px;
  align-items: start;
}

.bio { max-width: 724px; }

.experience { margin-top: 72px; }

.education { margin-top: 28px; }

.practice { margin-top: 96px; }

.bio p { margin: 0 0 1em; }

.bio p:last-child { margin-bottom: 0; }

.block-title {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.contact p,
.practice li,
.bio p { font-size: 13px; }

.contact p { margin: 0; }

.contact .wechat { margin-top: 1em; }

.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.practice ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.practice li { line-height: 1.45; }

.practice a:hover { text-decoration: underline; text-underline-offset: 3px; }

.years { margin: 0; }

.years div {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 12px 20px;
  margin: 0 0 2px;
}

.years dt,
.years dd { margin: 0; }

.site-footer {
  margin: 0;
  padding: 12px var(--pad) 28px;
  color: var(--muted);
  font-size: 11px;
}

/* Photography index */

.photo-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 62px var(--pad) 0;
}

.photo-head h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.photo-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: right;
}

.series-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px 64px;
  padding: 28px 40px 24px;
}

.series-card { display: block; color: inherit; width: min(339px, 28vw); }

.series-card.ratio-land { width: min(433px, 34vw); }

.series-card.stagger-a { margin-top: 36px; }
.series-card.stagger-b { margin-top: 144px; }
.series-card.stagger-c { margin-top: 0; }
.series-card.stagger-d { margin-top: 48px; }

.cover {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--media);
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cover.ratio-portrait { aspect-ratio: 3 / 4; }
.cover.ratio-land { aspect-ratio: 4 / 3; }
.cover.ratio-kv { aspect-ratio: 3 / 2; }

.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-label { padding: 0 20px; }

.view-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--pill);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.series-card:hover .cover,
.series-card:focus-visible .cover {
  transform: scale(1.02);
  filter: brightness(1.18);
}

.series-card:hover .view-pill,
.series-card:focus-visible .view-pill { opacity: 1; }

.series-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 10px;
}

.series-title { font-size: 14px; }

.series-count {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.photo-note {
  margin: 0;
  padding: 28px var(--pad) 32px;
  color: var(--muted);
  font-size: 12px;
}

/* Viewer */

.viewer-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 46px var(--pad) 0;
}

.viewer-bar h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}

.viewer-bar h1 a:hover { text-decoration: underline; text-underline-offset: 3px; }

.counter {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.viewer-stage {
  position: relative;
  min-height: calc(100vh - 220px);
  min-height: calc(100dvh - 220px);
  touch-action: pan-y;
}

.slide {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  z-index: 1;
  display: grid;
  place-items: center;
  background: var(--media);
  max-width: min(760px, calc(100vw - 220px));
}

.slide[data-ratio="3 / 4"],
.slide[data-ratio="2 / 3"] {
  height: min(650px, calc(100vh - 250px));
  height: min(650px, calc(100dvh - 250px));
  aspect-ratio: 3 / 4;
}

.slide[data-ratio="4 / 3"],
.slide[data-ratio="3 / 2"] {
  height: min(507px, calc(100vh - 280px));
  height: min(507px, calc(100dvh - 280px));
  aspect-ratio: 4 / 3;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-label {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.slide.has-media { background: transparent; }
.slide.has-media .slide-label { display: none; }

.hit {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 50%;
  display: flex;
  align-items: center;
  color: var(--text);
  font-family: var(--serif);
  font-size: 13px;
}

.hit-prev { left: 0; justify-content: flex-start; padding-left: var(--pad); }
.hit-next { right: 0; justify-content: flex-end; padding-right: var(--pad); }

.hit:hover { text-decoration: underline; text-underline-offset: 3px; }

.peek { display: none; }

.viewer-foot {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad) 28px;
  color: var(--muted);
  font-size: 12px;
}

.viewer-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Detail */

.detail {
  padding: 56px var(--pad) 64px;
  max-width: 980px;
}

.detail .kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.detail h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 400;
}

.detail .role { margin: 0 0 28px; }

.detail-frame {
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
}

.detail .pending {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Reel */

.page-reel { background: #000; }

.header-reel { align-items: center; }

.reel-stage {
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--media);
  display: grid;
  place-items: center;
}

.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.reel-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
}

.reel-controls {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px var(--pad) 0;
  font-size: 11px;
}

.icon-btn {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--text);
}

.reel-progress {
  height: 3px;
  background: rgba(233, 232, 228, 0.3);
  border: 0;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
}

.reel-progress span {
  display: block;
  height: 3px;
  width: 0;
  background: var(--text);
  border-radius: 2px;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(8, 8, 8, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-size: 22px;
}

.menu-open { font-family: var(--serif); font-size: 15px; }

.menu button { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Missing page */

.missing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px var(--pad);
  gap: 18px;
}

.missing h1 { margin: 0; font-size: 25px; font-weight: 400; }

.missing a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .works-body { grid-template-columns: 1fr; }
  .preview-panel { position: static; width: min(650px, 100%); max-width: 650px; }
  .about-wrap { column-gap: 48px; }
  .series-card.stagger-b { margin-top: 64px; }
}

@media (max-width: 860px) {
  .home-shade { display: block; }
  .home-mid,
  .role-line,
  .showreel-label-desktop { display: none; }

  .home-mobile {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .home-mobile .name {
    position: absolute;
    top: 32.7%;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: 14px;
  }

  .home-mobile nav {
    position: absolute;
    top: 48.6%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 44px;
    font-family: var(--serif);
    font-size: 17px;
  }

  .home-mobile .identity {
    position: absolute;
    top: 65.9%;
    left: 16px;
    right: 16px;
    margin: 0;
    text-align: center;
    font-size: 13px;
  }

  .home-mobile .showreel-label {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 28px;
    margin: 0;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.04em;
    color: var(--muted);
  }

  .page-works .site-header {
    grid-template-columns: minmax(0, 128px) minmax(0, 1fr) auto;
    column-gap: 12px;
  }

  .page-works .brand-line { display: none; }
  .page-works .brand-break { display: inline; }

  .page-works .nav-works,
  .page-about .nav-about { display: none; }

  .work-rows,
  .preview-panel { display: none; }

  .work-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 28px var(--pad) 12px;
  }

  .about-wrap {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 36px var(--pad) 24px;
  }

  .about-main,
  .about-side { display: contents; }

  .bio { order: 1; text-align: justify; }
  .contact { order: 2; }
  .experience { order: 3; margin-top: 0; }
  .education { order: 4; margin-top: 0; }
  .practice { order: 5; margin-top: 0; }

  .photo-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 36px;
  }

  .photo-kicker { text-align: left; }

  .series-row {
    flex-direction: column;
    gap: 28px;
    padding: 24px var(--pad) 8px;
  }

  .series-card,
  .series-card.ratio-land,
  .series-card.stagger-a,
  .series-card.stagger-b,
  .series-card.stagger-c,
  .series-card.stagger-d {
    width: 100%;
    margin-top: 0;
  }

  .viewer-bar { padding-top: 28px; }

  .viewer-stage { min-height: 62vh; }

  .slide {
    left: 16px;
    top: 16px;
    transform: none;
    max-width: none;
    height: auto !important;
    width: calc(100% - 36px);
  }

  .hit { font-size: 0; color: transparent; }
  .hit:hover { text-decoration: none; }

  .peek {
    display: block;
    position: absolute;
    z-index: 2;
    right: 0;
    top: 16px;
    width: 18px;
    background: #2e3131;
    pointer-events: none;
  }

  .viewer-stage[data-ratio="3 / 4"] .peek,
  .viewer-stage[data-ratio="2 / 3"] .peek { height: calc((100vw - 48px) * 4 / 3); }
  .viewer-stage[data-ratio="4 / 3"] .peek,
  .viewer-stage[data-ratio="3 / 2"] .peek { height: calc((100vw - 48px) * 3 / 4); }

  .viewer-foot { flex-direction: column; gap: 8px; }

  .reel-stage { justify-content: center; padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .cover { transition: none; }
  .view-pill { transition: none; }
}
