:root {
  --bg: #0d0d0b;
  --bg-soft: #171713;
  --paper: #eeece2;
  --paper-muted: #d7d2c2;
  --text: #f7f3e8;
  --muted: #a8a293;
  --line: rgba(247, 243, 232, 0.16);
  --accent: #d8ff6d;
  --warm: #cfae85;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  background:
    radial-gradient(circle at 62% 20%, rgba(118, 90, 84, 0.1), transparent 34vw),
    linear-gradient(180deg, #060505 0%, #0d0b0b 44%, #060706 100%);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.82) 0%, rgba(3, 3, 3, 0.48) 34%, rgba(3, 3, 3, 0.2) 60%, rgba(3, 3, 3, 0.62) 100%),
    linear-gradient(180deg, rgba(4, 4, 4, 0.72) 0%, rgba(4, 4, 4, 0.16) 42%, rgba(4, 4, 4, 0.86) 100%),
    radial-gradient(circle at 62% 28%, rgba(235, 210, 195, 0.12), transparent 38vw);
  opacity: 0.88;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.ambient-backdrop {
  --ambient-x: 58%;
  --ambient-y: 44%;
  --ambient-drift-x: 0px;
  --ambient-drift-y: 0px;
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.76;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 22%, rgba(255, 255, 255, 0.018) 58%, transparent 86%),
    #050505;
}

.ambient-backdrop::before,
.ambient-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.ambient-backdrop::before {
  background:
    radial-gradient(circle at var(--ambient-x) var(--ambient-y), rgba(244, 236, 220, 0.16), rgba(244, 236, 220, 0.05) 10%, transparent 23%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 18% 54%, rgba(255, 255, 255, 0.045) 66%, rgba(255, 255, 255, 0) 82%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0.48) 62%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.92) 100%);
  backdrop-filter: blur(2px) saturate(1.05);
  -webkit-backdrop-filter: blur(2px) saturate(1.05);
}

.ambient-backdrop::after {
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 4, 0.36) 100%);
  mix-blend-mode: soft-light;
  opacity: 0.54;
}

.ambient-layer {
  position: absolute;
  inset: -12vh -12vw;
  z-index: 1;
  transform:
    translate3d(var(--ambient-drift-x), var(--ambient-drift-y), 0)
    scale(1.14);
  transition: transform 0.6s ease;
}

.ambient-layer-clear {
  z-index: 2;
  opacity: 0;
  clip-path: circle(0 at var(--ambient-x) var(--ambient-y));
  mix-blend-mode: screen;
  transition:
    opacity 0.34s ease,
    clip-path 0.38s ease;
}

.ambient-backdrop.is-awake .ambient-layer-clear {
  opacity: 0.54;
  clip-path: circle(clamp(170px, 18vw, 290px) at var(--ambient-x) var(--ambient-y));
}

.ambient-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.ambient-slide.is-active {
  opacity: 1;
}

.ambient-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 45%;
}

.ambient-layer-soft .ambient-slide img {
  filter: blur(38px) saturate(0.5) contrast(1.12) brightness(0.34);
  transform: scale(1.18);
}

.ambient-layer-clear .ambient-slide img {
  filter: blur(9px) saturate(0.78) contrast(1.2) brightness(0.62);
  transform: scale(1.12);
}

.ambient-material-sheen {
  position: absolute;
  inset: -18vh -18vw;
  z-index: 3;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(104deg, transparent 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.012) 48%, transparent 68%),
    linear-gradient(24deg, transparent 0%, rgba(216, 255, 109, 0.05) 42%, transparent 62%);
  transform:
    translate3d(calc(var(--ambient-drift-x) * -1.2), calc(var(--ambient-drift-y) * -0.8), 0)
    skewX(-8deg);
  transition:
    opacity 0.36s ease,
    transform 0.5s ease;
}

.ambient-backdrop.is-awake .ambient-material-sheen {
  opacity: 0.34;
}

.ambient-noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.18) 0 1px, transparent 1.5px);
  background-size: 58px 58px, 58px 58px, 22px 22px;
  mix-blend-mode: soft-light;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 86%, transparent 100%);
}

.ambient-backdrop-slices {
  opacity: 0.78;
  background:
    radial-gradient(circle at 72% 24%, rgba(70, 92, 118, 0.16), transparent 32vw),
    radial-gradient(circle at 18% 78%, rgba(170, 139, 111, 0.12), transparent 30vw),
    linear-gradient(180deg, #050505 0%, #0a0908 52%, #050505 100%);
}

.ambient-backdrop-slices::before {
  background:
    radial-gradient(circle at var(--ambient-x) var(--ambient-y), rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.032) 13%, transparent 27%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0.38) 66%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18) 44%, rgba(0, 0, 0, 0.88));
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
}

.ambient-backdrop-slices::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 120px);
  opacity: 0.6;
  mix-blend-mode: normal;
}

.ambient-slice-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translate3d(var(--ambient-drift-x), var(--ambient-drift-y), 0);
  transition: transform 0.55s ease;
}

.ambient-slice-field-clear {
  z-index: 2;
  opacity: 0;
  clip-path: circle(0 at var(--ambient-x) var(--ambient-y));
  transition:
    opacity 0.3s ease,
    clip-path 0.34s ease;
}

.ambient-backdrop-slices.is-awake .ambient-slice-field-clear {
  opacity: 1;
  clip-path: circle(clamp(170px, 18vw, 290px) at var(--ambient-x) var(--ambient-y));
}

.ambient-slice {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ambient-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ambient-slice-field-soft .ambient-slice {
  opacity: 0.38;
}

.ambient-slice-field-soft .ambient-slice img {
  filter: blur(12px) saturate(0.56) contrast(1.04) brightness(0.5);
  transform: scale(1.09);
}

.ambient-slice-field-clear .ambient-slice {
  opacity: 0.78;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.48),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.ambient-slice-field-clear .ambient-slice img {
  filter: saturate(0.92) contrast(1.04) brightness(0.72);
  transform: scale(1.025);
}

.ambient-slice-1 {
  right: 5vw;
  top: 7vh;
  width: min(33vw, 560px);
  height: min(42vw, 680px);
  transform: translate3d(calc(var(--ambient-drift-x) * -0.6), calc(var(--ambient-drift-y) * -0.35), 0) rotate(-2deg);
}

.ambient-slice-2 {
  right: 37vw;
  top: 14vh;
  width: min(20vw, 340px);
  height: min(24vw, 390px);
  transform: translate3d(calc(var(--ambient-drift-x) * 0.55), calc(var(--ambient-drift-y) * -0.2), 0) rotate(2.5deg);
}

.ambient-slice-3 {
  right: 27vw;
  bottom: 10vh;
  width: min(18vw, 300px);
  height: min(23vw, 370px);
  transform: translate3d(calc(var(--ambient-drift-x) * -0.35), calc(var(--ambient-drift-y) * 0.5), 0) rotate(-4deg);
}

.ambient-slice-4 {
  left: 48vw;
  top: 45vh;
  width: min(15vw, 260px);
  height: min(18vw, 300px);
  opacity: 0.3;
  transform: translate3d(calc(var(--ambient-drift-x) * 0.9), calc(var(--ambient-drift-y) * 0.35), 0) rotate(5deg);
}

.ambient-slice-5 {
  right: -4vw;
  bottom: -5vh;
  width: min(30vw, 520px);
  height: min(24vw, 390px);
  transform: translate3d(calc(var(--ambient-drift-x) * -0.8), calc(var(--ambient-drift-y) * 0.8), 0) rotate(1deg);
}

.ambient-slice-6 {
  left: 5vw;
  top: 8vh;
  width: min(22vw, 360px);
  height: min(28vw, 450px);
  opacity: 0.16;
  transform: translate3d(calc(var(--ambient-drift-x) * 0.5), calc(var(--ambient-drift-y) * -0.5), 0) rotate(-7deg);
}

.ambient-slice-7 {
  left: 18vw;
  bottom: 8vh;
  width: min(18vw, 300px);
  height: min(22vw, 360px);
  opacity: 0.14;
  transform: translate3d(calc(var(--ambient-drift-x) * 0.72), calc(var(--ambient-drift-y) * 0.42), 0) rotate(4deg);
}

.ambient-slice-8 {
  right: 19vw;
  top: -8vh;
  width: min(26vw, 450px);
  height: min(20vw, 340px);
  opacity: 0.2;
  transform: translate3d(calc(var(--ambient-drift-x) * -0.4), calc(var(--ambient-drift-y) * -0.7), 0) rotate(8deg);
}

.ambient-backdrop-slices .ambient-material-sheen {
  opacity: 0.1;
  background:
    linear-gradient(108deg, transparent 0%, rgba(255, 255, 255, 0.11) 38%, rgba(255, 255, 255, 0.016) 48%, transparent 66%);
}

.ambient-backdrop-slices.is-awake .ambient-material-sheen {
  opacity: 0.24;
}

.ambient-backdrop-focus {
  opacity: 0.72;
  background:
    radial-gradient(circle at 72% 20%, rgba(94, 116, 146, 0.14), transparent 30vw),
    radial-gradient(circle at 22% 82%, rgba(162, 132, 108, 0.1), transparent 28vw),
    linear-gradient(180deg, #050505 0%, #090807 54%, #050505 100%);
}

.ambient-backdrop-focus::before {
  background:
    radial-gradient(circle at var(--ambient-x) var(--ambient-y), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.028) 15%, transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 33%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0.76) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.2) 44%, rgba(0, 0, 0, 0.9));
  backdrop-filter: blur(1.2px) saturate(1.04);
  -webkit-backdrop-filter: blur(1.2px) saturate(1.04);
}

.ambient-backdrop-focus::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.46)),
    radial-gradient(circle at 26% 28%, rgba(216, 255, 109, 0.05), transparent 24vw);
  mix-blend-mode: normal;
  opacity: 0.82;
}

.ambient-backdrop-focus .ambient-layer {
  inset: -9vh -9vw;
  transform:
    translate3d(var(--ambient-drift-x), var(--ambient-drift-y), 0)
    scale(1.08);
}

.ambient-backdrop-focus .ambient-layer-clear {
  mix-blend-mode: normal;
}

.ambient-backdrop-focus.is-awake .ambient-layer-clear {
  opacity: 0.78;
  clip-path: circle(clamp(150px, 16vw, 260px) at var(--ambient-x) var(--ambient-y));
}

.ambient-backdrop-focus .ambient-layer-soft .ambient-slide img {
  filter: blur(28px) saturate(0.56) contrast(1.08) brightness(0.38);
  transform: scale(1.1);
}

.ambient-backdrop-focus .ambient-layer-clear .ambient-slide img {
  filter: blur(1px) saturate(0.92) contrast(1.08) brightness(0.72);
  transform: scale(1.04);
}

.ambient-backdrop-focus .ambient-noise {
  opacity: 0.16;
  background-size: 54px 54px, 54px 54px, 24px 24px;
}

body.is-route-restoring #app {
  opacity: 0;
  transition: none;
}

body:has(.cursor.is-visible) {
  cursor: none;
}

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

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

button {
  font: inherit;
}

a,
button {
  cursor: pointer;
}

body:has(.cursor.is-visible) a,
body:has(.cursor.is-visible) button {
  cursor: none;
}

::selection {
  background: var(--accent);
  color: #111;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--paper);
  letter-spacing: 0.36em;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(216, 255, 109, 0.82);
  border-radius: 999px;
  background: rgba(13, 13, 11, 0.18);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  transform: translate3d(-100px, -100px, 0) scale(0.72);
  transition:
    opacity 0.12s ease,
    width 0.16s ease,
    height 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
}

.cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--mag-image);
  background-repeat: no-repeat;
  background-size: var(--mag-size);
  background-position: var(--mag-pos);
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.16s ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor.is-active {
  background: var(--accent);
  color: #111;
}

.cursor.is-pressed {
  border-color: rgba(255, 255, 255, 0.78);
}

.cursor.is-magnifier {
  width: 136px;
  height: 136px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
  color: transparent;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

.cursor.is-magnifier::before {
  opacity: 0.9;
}

.cursor.is-magnifier span {
  opacity: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 64px);
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.28em;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 80px) 42px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 11, 0.04) 0%, rgba(13, 13, 11, 0.42) 60%, rgba(13, 13, 11, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 4, 3, 0.9) 0%, rgba(4, 4, 3, 0.76) 32%, rgba(4, 4, 3, 0.34) 56%, rgba(4, 4, 3, 0.08) 73%, rgba(4, 4, 3, 0.32) 100%);
  backdrop-filter: blur(1.4px) saturate(1.04);
  -webkit-backdrop-filter: blur(1.4px) saturate(1.04);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: min(74vw, 1180px);
  background:
    radial-gradient(circle at 31% 49%, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.34) 44%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.48) 54%, rgba(0, 0, 0, 0));
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 66%, rgba(0, 0, 0, 0) 100%);
}

.hero-collage {
  --reveal-x: 62%;
  --reveal-y: 48%;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.hero-collage-layer {
  position: absolute;
  inset: -3vh -2vw;
  transform: scale(1.015);
  transform-origin: center;
}

.hero-collage-blur {
  filter: blur(18px) saturate(0.62) contrast(1.02) brightness(0.48);
}

.hero-collage-clear {
  opacity: 0;
  filter: saturate(0.96) contrast(1.04) brightness(0.82);
  clip-path: circle(0 at var(--reveal-x) var(--reveal-y));
  transition:
    opacity 0.28s ease,
    clip-path 0.32s ease;
}

.hero-collage.is-revealing .hero-collage-clear {
  opacity: 1;
  clip-path: circle(clamp(130px, 15vw, 230px) at var(--reveal-x) var(--reveal-y));
}

.hero-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at var(--reveal-x) var(--reveal-y), rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 15%, rgba(0, 0, 0, 0) 25%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 46%, rgba(0, 0, 0, 0.18));
  opacity: 0.9;
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-1 {
  right: 5vw;
  top: -1vh;
  width: min(36vw, 620px);
  height: 104vh;
  border-radius: 0 0 22px 22px;
}

.hero-photo-2 {
  right: min(39vw, 690px);
  top: 10vh;
  width: min(18vw, 310px);
  height: min(23vw, 390px);
}

.hero-photo-3 {
  right: min(38vw, 650px);
  top: 42vh;
  width: min(17vw, 285px);
  height: min(19vw, 330px);
}

.hero-photo-4 {
  right: min(27vw, 465px);
  bottom: 7vh;
  width: min(14vw, 240px);
  height: min(17vw, 300px);
}

.hero-photo-5,
.hero-photo-6 {
  left: -4vw;
  top: -5vh;
  width: 58vw;
  height: 110vh;
  border-radius: 0;
  opacity: 0.52;
}

.hero-photo-6 {
  left: 48vw;
  top: 12vh;
  width: 24vw;
  height: 32vw;
  opacity: 0.28;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: clamp(-24px, -1.6vw, -10px);
  bottom: -26px;
  z-index: -1;
  width: min(62vw, 920px);
  height: calc(100% + 78px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035) 48%, rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 46px rgba(255, 255, 255, 0.035),
    0 34px 120px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.22);
  -webkit-backdrop-filter: blur(22px) saturate(1.22);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, rgba(0, 0, 0, 0) 100%);
}

.eyebrow,
.section-kicker,
.detail-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 1080px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 12vw, 172px);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  color: #fffbed;
  text-shadow: 0 10px 42px rgba(0, 0, 0, 0.72);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--paper-muted);
  font-size: clamp(13px, 1.4vw, 18px);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.72);
}

.hero-meta p {
  max-width: 620px;
  margin: 0;
}

.hero-count {
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: 34px;
  display: inline-grid;
  gap: 12px;
  justify-items: center;
  color: var(--paper-muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: rgba(247, 243, 232, 0.2);
}

.scroll-cue i::after {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  background: var(--accent);
  animation: scrollPulse 1.45s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-24px); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(58px); opacity: 0; }
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 170px) clamp(20px, 5vw, 80px);
}

.intro-section {
  padding-top: clamp(96px, 12vw, 168px);
  padding-bottom: clamp(96px, 12vw, 168px);
}

.intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 8vw, 128px);
  align-items: center;
  padding: clamp(34px, 5vw, 72px) 0;
  border-top: 1px solid rgba(247, 243, 232, 0.16);
  border-bottom: 1px solid rgba(247, 243, 232, 0.12);
}

.intro-grid::before {
  content: "";
  position: absolute;
  left: 44%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(216, 255, 109, 0.34), transparent);
}

.intro-title-block {
  position: relative;
}

.intro-title-block .section-kicker {
  color: rgba(216, 255, 109, 0.86);
}

.intro-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8.4vw, 132px);
  font-weight: 400;
  line-height: 0.9;
  max-width: 620px;
}

.intro-number {
  display: inline-flex;
  margin-top: clamp(28px, 4vw, 54px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.intro-copy-block {
  position: relative;
  display: grid;
  gap: clamp(24px, 3vw, 42px);
  padding-left: clamp(4px, 2vw, 28px);
}

.intro-copy {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(23px, 2.6vw, 42px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: 0;
}

.intro-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(247, 243, 232, 0.12);
}

.intro-metrics span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--paper-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}

.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(46px, 8vw, 118px);
}

.work-heading h2,
.profile-heading h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 108px);
  font-weight: 400;
  line-height: 0.95;
}

.category-rail {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 620px;
}

.filter-btn {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}

.project-list {
  display: grid;
  gap: clamp(76px, 12vw, 170px);
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
}

.project-card:nth-child(even) {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.18fr);
}

.project-card:nth-child(even) .project-figure {
  order: 2;
}

.project-figure {
  position: relative;
  min-height: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transform: perspective(1200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.24s ease;
}

.project-figure::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: 28px;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(216, 255, 109, 0.2), transparent 42%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.project-figure:hover::before {
  opacity: 1;
}

.project-figure img,
.project-figure video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
}

.project-figure video {
  background: #111;
}

.cover-carousel {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.cover-slide {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.cover-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.cover-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  background: rgba(247, 243, 232, 0.16);
  overflow: hidden;
}

.cover-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.project-index {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.project-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 84px);
  font-weight: 400;
  line-height: 0.96;
}

.project-subtitle {
  margin: 0 0 24px;
  color: var(--warm);
  font-size: clamp(18px, 2.3vw, 32px);
}

.project-desc {
  margin: 0 0 28px;
  color: var(--paper-muted);
  font-size: clamp(15px, 1.4vw, 19px);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: scaleX(1.45);
}

.profile {
  background: var(--paper);
  color: #171713;
}

.profile-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(86px, 11vw, 150px) clamp(20px, 5vw, 80px);
}

.profile-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(42px, 7vw, 112px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 54px);
  border-top: 1px solid rgba(23, 23, 19, 0.16);
}

.profile-photo {
  overflow: visible;
  background: transparent;
}

.profile-photo img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.profile-copy {
  display: grid;
  gap: clamp(18px, 2.2vw, 30px);
}

.profile-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-bottom: 0;
}

.profile-heading .section-kicker {
  color: #697044;
}

.profile-heading h2 {
  font-size: clamp(74px, 8vw, 132px);
}

.profile-role-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(23, 23, 19, 0.14);
}

.profile-role-line span {
  border: 1px solid rgba(23, 23, 19, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: #697044;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-text {
  max-width: 780px;
  margin: 0;
  color: rgba(23, 23, 19, 0.84);
  font-size: clamp(18px, 2vw, 29px);
  line-height: 1.52;
}

.profile-facts {
  display: grid;
  gap: 0;
  margin: 4px 0 0;
  border-bottom: 1px solid rgba(23, 23, 19, 0.14);
}

.fact {
  display: grid;
  grid-template-columns: minmax(100px, 0.24fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 42px);
  padding: 16px 0;
  border-top: 1px solid rgba(23, 23, 19, 0.14);
}

.fact strong {
  font-weight: 500;
  color: #697044;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.skill-list span {
  border: 1px solid rgba(23, 23, 19, 0.24);
  border-radius: 999px;
  padding: 8px 13px;
}

.contact {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact p {
  max-width: 720px;
  margin: 28px auto 0;
  color: var(--paper-muted);
  font-size: clamp(17px, 2vw, 24px);
}

.detail-hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 130px clamp(20px, 5vw, 80px) 54px;
  background: var(--paper);
  color: #171713;
}

.detail-back-button {
  position: fixed;
  left: clamp(18px, 4vw, 64px);
  top: 82px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border: 1px solid rgba(247, 243, 232, 0.24);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(13, 13, 11, 0.45);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.detail-back-button::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
  transition: transform 0.24s ease;
  transform-origin: left;
}

.detail-back-button:hover::after {
  transform: scaleX(1.35);
}

.detail-hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.detail-kicker {
  color: #697044;
}

.detail-title {
  margin: 0;
  max-width: 940px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 10vw, 146px);
  font-weight: 400;
  line-height: 0.9;
}

.detail-desc {
  max-width: 760px;
  margin: 32px 0 0 auto;
  color: rgba(23, 23, 19, 0.7);
  font-size: clamp(16px, 1.8vw, 24px);
}

.detail-toolbar {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 80px);
}

.detail-toolbar .text-link {
  color: var(--paper);
}

.media-stage {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 80px) clamp(86px, 10vw, 150px);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2.5vw, 34px);
}

.media-item {
  overflow: visible;
  background: transparent;
}

.zoomable-media {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.media-item img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .site-header,
body.lightbox-open .detail-back-button,
body.lightbox-open .detail-toolbar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block;
  overflow: auto;
  padding: 92px clamp(18px, 7vw, 132px) 110px;
  background: rgba(5, 5, 5, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  overscroll-behavior: contain;
  scroll-behavior: auto;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  width: auto;
  max-width: min(100%, 1680px);
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox::after {
  content: "滚轮向下查看";
  position: fixed;
  right: clamp(18px, 4vw, 64px);
  bottom: 88px;
  color: rgba(247, 243, 232, 0.72);
  font-size: 11px;
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
}

.lightbox-back,
.lightbox-close {
  position: fixed;
  z-index: 201;
  border: 1px solid rgba(247, 243, 232, 0.22);
  background: rgba(247, 243, 232, 0.08);
  color: var(--paper);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.lightbox-back {
  left: clamp(18px, 4vw, 64px);
  top: 24px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.lightbox-close {
  right: clamp(18px, 4vw, 64px);
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 201;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(247, 243, 232, 0.22);
  border-radius: 50%;
  background: rgba(247, 243, 232, 0.08);
  color: var(--paper);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-prev {
  left: clamp(18px, 4vw, 64px);
}

.lightbox-next {
  right: clamp(18px, 4vw, 64px);
}

.lightbox-hint {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 201;
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(247, 243, 232, 0.18);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(247, 243, 232, 0.08);
  color: rgba(247, 243, 232, 0.82);
  font-size: 12px;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}

.lightbox-hint span:first-child {
  color: var(--accent);
}

.long-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  gap: clamp(18px, 2.4vw, 32px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.long-detail-zoom {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(247, 243, 232, 0.12);
  background: var(--paper);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.long-detail-zoom::after {
  content: "点击查看";
  position: absolute;
  left: 14px;
  bottom: 14px;
  border: 1px solid rgba(247, 243, 232, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(13, 13, 11, 0.42);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.14em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.long-detail-zoom:hover {
  border-color: rgba(216, 255, 109, 0.52);
  transform: translateY(-4px);
}

.long-detail-list img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: top center;
  background: var(--paper);
}

.video-stage {
  display: grid;
  gap: 24px;
}

.video-stage video {
  width: 100%;
  max-height: 78vh;
  background: #000;
}

.empty {
  padding: 160px 20px;
  text-align: center;
}

.is-filtered-out {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 16px;
  }

  .nav {
    gap: 13px;
    font-size: 11px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-meta,
  .work-heading,
  .intro-grid,
  .profile-grid {
    display: grid;
  }

  .category-rail {
    justify-content: flex-start;
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .project-card:nth-child(even) .project-figure {
    order: 0;
  }

  .project-figure {
    min-height: 0;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 14px;
  }

  .hero {
    padding-bottom: 30px;
  }

  .hero-title,
  .detail-title {
    overflow-wrap: anywhere;
  }

  .section,
  .profile-inner,
  .media-stage {
    padding-left: 16px;
    padding-right: 16px;
  }

  .project-desc {
    margin-bottom: 22px;
  }

  .profile-photo img {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  body:has(.cursor.is-visible),
  body:has(.cursor.is-visible) a,
  body:has(.cursor.is-visible) button {
    cursor: auto;
  }

  .site-header {
    align-items: flex-start;
    padding: 18px 16px 0;
    mix-blend-mode: normal;
  }

  .brand {
    color: var(--paper);
    font-size: 15px;
    letter-spacing: 0.22em;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.75);
  }

  .nav {
    display: flex;
    gap: 11px;
    padding-top: 3px;
    color: rgba(247, 243, 232, 0.78);
    font-size: 10px;
    letter-spacing: 0.13em;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 96px 16px 26px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(13, 13, 11, 0.12) 0%, rgba(13, 13, 11, 0.38) 48%, rgba(13, 13, 11, 0.96) 100%),
      linear-gradient(90deg, rgba(4, 4, 3, 0.88) 0%, rgba(4, 4, 3, 0.68) 45%, rgba(4, 4, 3, 0.18) 100%);
    backdrop-filter: blur(0.6px) saturate(1.02);
    -webkit-backdrop-filter: blur(0.6px) saturate(1.02);
  }

  .hero::before {
    width: 100%;
    background:
      radial-gradient(circle at 26% 58%, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.62) 58%, rgba(0, 0, 0, 0.86));
    backdrop-filter: blur(10px) saturate(1.12);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-media {
    inset: 0;
  }

  .hero-media img,
  .hero-media video {
    width: 100%;
    height: 100%;
    object-position: 62% center;
    filter: blur(0.6px) saturate(0.88) contrast(1.02) brightness(0.76);
    transform: scale(1.006);
  }

  .hero-content {
    width: 100%;
  }

  .hero-content::before {
    left: -12px;
    right: -12px;
    bottom: -18px;
    width: auto;
    height: calc(100% + 44px);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
      rgba(0, 0, 0, 0.23);
    backdrop-filter: blur(18px) saturate(1.18);
    -webkit-backdrop-filter: blur(18px) saturate(1.18);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .eyebrow,
  .section-kicker,
  .detail-kicker {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(54px, 18vw, 76px);
    line-height: 0.88;
  }

  .hero-meta {
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding-top: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-meta p {
    max-width: 100%;
  }

  .hero-count {
    white-space: normal;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .scroll-cue {
    right: 16px;
    bottom: 22px;
    gap: 8px;
    font-size: 9px;
  }

  .scroll-cue i {
    height: 40px;
  }

  .section {
    padding: 72px 16px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 0;
  }

  .intro-grid::before {
    display: none;
  }

  .intro-title {
    font-size: clamp(48px, 14vw, 68px);
  }

  .intro-number {
    margin-top: 22px;
  }

  .intro-copy-block {
    gap: 22px;
    padding-left: 0;
  }

  .intro-copy {
    font-size: clamp(20px, 6vw, 28px);
    line-height: 1.46;
  }

  .intro-metrics {
    gap: 8px;
    padding-top: 16px;
  }

  .intro-metrics span {
    padding: 7px 10px;
    font-size: 10px;
  }

  .work-heading {
    display: grid;
    gap: 24px;
    margin-bottom: 54px;
  }

  .work-heading h2,
  .profile-heading h2,
  .contact h2 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .category-rail {
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin-inline: -16px;
    padding: 0 16px 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  .project-list {
    gap: 80px;
  }

  .project-card,
  .project-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card:nth-child(even) .project-figure {
    order: 0;
  }

  .project-figure {
    align-items: flex-start;
    transform: none !important;
  }

  .project-figure::before {
    inset: -12px;
    border-radius: 20px;
    opacity: 0.45;
    background: radial-gradient(circle at 50% 50%, rgba(216, 255, 109, 0.08), transparent 58%);
  }

  .project-figure:active::before {
    opacity: 1;
  }

  .project-figure img,
  .project-figure video {
    width: 100%;
    max-height: 68svh;
    object-fit: contain;
  }

  .cover-progress {
    bottom: -10px;
  }

  .project-index {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .project-title {
    margin-bottom: 12px;
    font-size: clamp(40px, 13vw, 58px);
  }

  .project-subtitle {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .project-desc {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.64;
  }

  .tag-row {
    gap: 8px;
    margin-bottom: 24px;
  }

  .tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  .text-link {
    min-height: 40px;
    font-size: 12px;
  }

  .profile-inner {
    padding: 76px 16px 82px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
  }

  .profile-photo img {
    width: 100%;
    max-height: none;
  }

  .profile-text {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.58;
  }

  .profile-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-heading h2 {
    font-size: clamp(64px, 22vw, 96px);
  }

  .profile-role-line {
    gap: 8px;
    padding-top: 14px;
  }

  .profile-role-line span {
    padding: 7px 10px;
    font-size: 10px;
  }

  .fact {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    font-size: 13px;
  }

  .skill-list span {
    padding: 7px 11px;
    font-size: 12px;
  }

  .contact {
    min-height: 46vh;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .contact p {
    font-size: 16px;
    line-height: 1.7;
  }

  .detail-back-button {
    top: 64px;
    left: 16px;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 12px;
    background: rgba(13, 13, 11, 0.62);
  }

  .detail-back-button::after {
    width: 30px;
  }

  .detail-hero {
    min-height: 58svh;
    padding: 120px 16px 36px;
  }

  .detail-title {
    font-size: clamp(48px, 15vw, 72px);
    line-height: 0.94;
  }

  .detail-desc {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.65;
  }

  .detail-toolbar {
    padding: 18px 16px 10px;
  }

  .media-stage {
    padding: 18px 16px 82px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .media-item img,
  .long-detail-list img {
    width: 100%;
  }

  .long-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
  }

  .long-detail-zoom {
    aspect-ratio: 3 / 4.35;
  }

  .long-detail-zoom::after {
    left: 10px;
    bottom: 10px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .video-stage video {
    max-height: none;
  }

  .lightbox {
    padding: 82px 10px 94px;
  }

  .lightbox img {
    max-width: 100%;
  }

  .lightbox-back {
    left: 12px;
    top: 18px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .lightbox-close {
    right: 12px;
    top: 16px;
    width: 42px;
    height: 42px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-hint {
    bottom: 22px;
    max-width: calc(100vw - 126px);
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .lightbox::after {
    right: 12px;
    bottom: 80px;
    font-size: 9px;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-pad: 18px;
  }

  body {
    background: #080807;
    text-rendering: optimizeLegibility;
  }

  body::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.46) 36%, rgba(5, 5, 5, 0.92)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.68), rgba(5, 5, 5, 0.18) 62%, rgba(5, 5, 5, 0.5));
    opacity: 0.9;
  }

  .ambient-backdrop {
    opacity: 0.54;
  }

  .ambient-layer {
    inset: -8vh -30vw;
    transform: scale(1.12);
  }

  .ambient-layer-soft .ambient-slide img {
    filter: blur(26px) saturate(0.54) contrast(1.08) brightness(0.34);
  }

  .ambient-layer-clear {
    display: none;
  }

  .ambient-backdrop::before {
    background:
      linear-gradient(112deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.04) 74%, transparent),
      linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.5) 38%, rgba(5, 5, 5, 0.94)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.28) 70%, rgba(5, 5, 5, 0.62));
  }

  .ambient-material-sheen {
    opacity: 0.16;
  }

  .ambient-noise {
    opacity: 0.14;
    background-size: 42px 42px, 42px 42px, 20px 20px;
  }

  .ambient-backdrop-slices {
    opacity: 0.56;
  }

  .ambient-backdrop-slices::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.48) 38%, rgba(5, 5, 5, 0.94)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.24) 72%, rgba(5, 5, 5, 0.68));
  }

  .ambient-slice-field-clear {
    display: none;
  }

  .ambient-slice-field-soft .ambient-slice {
    opacity: 0.28;
  }

  .ambient-slice-field-soft .ambient-slice img {
    filter: blur(10px) saturate(0.5) contrast(1.02) brightness(0.44);
  }

  .ambient-slice-1 {
    right: -26vw;
    top: 10vh;
    width: 76vw;
    height: 58vh;
  }

  .ambient-slice-2 {
    right: 38vw;
    top: 17vh;
    width: 38vw;
    height: 30vh;
  }

  .ambient-slice-3 {
    right: 8vw;
    bottom: 9vh;
    width: 44vw;
    height: 30vh;
  }

  .ambient-slice-4,
  .ambient-slice-5,
  .ambient-slice-6,
  .ambient-slice-7,
  .ambient-slice-8 {
    display: none;
  }

  .ambient-backdrop-focus {
    opacity: 0.56;
  }

  .ambient-backdrop-focus .ambient-layer {
    inset: -6vh -28vw;
    transform: scale(1.08);
  }

  .ambient-backdrop-focus .ambient-layer-soft .ambient-slide img {
    filter: blur(18px) saturate(0.54) contrast(1.04) brightness(0.36);
  }

  .ambient-backdrop-focus .ambient-layer-clear {
    display: none;
  }

  .ambient-backdrop-focus::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.5) 38%, rgba(5, 5, 5, 0.94)),
      linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.26) 72%, rgba(5, 5, 5, 0.64));
  }

  .site-header {
    align-items: center;
    padding: 16px var(--mobile-pad);
    background: linear-gradient(180deg, rgba(8, 8, 7, 0.82), rgba(8, 8, 7, 0));
    color: var(--paper);
    mix-blend-mode: normal;
  }

  .brand {
    font-size: 14px;
    letter-spacing: 0.24em;
  }

  .nav {
    gap: 12px;
    padding-top: 0;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .nav a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
  }

  .hero {
    min-height: 100svh;
    padding: 84px var(--mobile-pad) 24px;
    align-items: end;
  }

  .hero-collage {
    inset: 0;
  }

  .hero-collage-layer {
    inset: 0;
    transform: none;
  }

  .hero-collage-blur {
    filter: blur(9px) saturate(0.68) contrast(1.02) brightness(0.56);
    transform: scale(1.035);
  }

  .hero-collage-clear {
    display: none;
  }

  .hero-collage::after {
    background:
      radial-gradient(circle at 24% 62%, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0) 54%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.08) 72%);
  }

  .hero-photo {
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  }

  .hero-photo-1 {
    right: -18vw;
    top: 4vh;
    width: 76vw;
    height: 66vh;
    border-radius: 18px;
  }

  .hero-photo-2 {
    right: 42vw;
    top: 15vh;
    width: 34vw;
    height: 34vw;
  }

  .hero-photo-3 {
    right: 35vw;
    top: 43vh;
    width: 32vw;
    height: 34vw;
  }

  .hero-photo-4 {
    right: 7vw;
    bottom: 17vh;
    width: 27vw;
    height: 34vw;
  }

  .hero-photo-5,
  .hero-photo-6 {
    left: -26vw;
    top: 0;
    width: 82vw;
    height: 100%;
    opacity: 0.38;
  }

  .hero-photo-6 {
    left: 58vw;
    top: 20vh;
    width: 38vw;
    height: 46vw;
    opacity: 0.2;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 7, 0.1) 0%, rgba(8, 8, 7, 0.22) 36%, rgba(8, 8, 7, 0.78) 68%, rgba(8, 8, 7, 0.98) 100%),
      linear-gradient(90deg, rgba(8, 8, 7, 0.72) 0%, rgba(8, 8, 7, 0.32) 64%, rgba(8, 8, 7, 0.08) 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-content {
    width: 100%;
    padding: 18px 0 0;
  }

  .hero-content::before {
    left: -10px;
    right: -10px;
    bottom: -12px;
    height: calc(100% + 26px);
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(247, 243, 232, 0.16);
    background:
      linear-gradient(180deg, rgba(247, 243, 232, 0.07), rgba(247, 243, 232, 0.02)),
      rgba(8, 8, 7, 0.34);
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(1.12);
    -webkit-backdrop-filter: blur(14px) saturate(1.12);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .eyebrow,
  .section-kicker,
  .detail-kicker {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .hero-title {
    max-width: 8ch;
    font-size: clamp(58px, 17vw, 78px);
    line-height: 0.86;
    text-shadow: 0 16px 46px rgba(0, 0, 0, 0.78);
  }

  .hero-meta {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-top: 24px;
    padding-top: 14px;
    font-size: 13px;
    line-height: 1.62;
  }

  .hero-meta p {
    max-width: 27em;
  }

  .hero-count {
    align-self: start;
    white-space: nowrap;
    font-size: 11px;
    letter-spacing: 0.14em;
    writing-mode: vertical-rl;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    width: 100%;
    padding: 78px var(--mobile-pad);
  }

  .intro-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px 0 30px;
    border-top: 1px solid rgba(247, 243, 232, 0.18);
    border-bottom: 1px solid rgba(247, 243, 232, 0.12);
  }

  .intro-grid::before {
    display: none;
  }

  .intro-title {
    max-width: 7.5ch;
    font-size: clamp(48px, 15vw, 68px);
    line-height: 0.9;
  }

  .intro-number {
    margin-top: 20px;
    color: rgba(216, 255, 109, 0.78);
  }

  .intro-copy-block {
    gap: 20px;
    padding-left: 0;
  }

  .intro-copy {
    max-width: none;
    color: rgba(247, 243, 232, 0.86);
    font-size: 18px;
    line-height: 1.72;
  }

  .split-char {
    transform: none;
  }

  .intro-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    border-top: 1px solid rgba(247, 243, 232, 0.14);
  }

  .intro-metrics span {
    border: 0;
    border-bottom: 1px solid rgba(247, 243, 232, 0.1);
    border-radius: 0;
    padding: 12px 0;
    color: rgba(247, 243, 232, 0.66);
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .work {
    padding-top: 76px;
  }

  .work-heading {
    display: grid;
    gap: 22px;
    margin-bottom: 42px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(247, 243, 232, 0.12);
  }

  .work-heading h2,
  .contact h2 {
    font-size: clamp(58px, 18vw, 86px);
  }

  .category-rail {
    max-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0 calc(var(--mobile-pad) * -1);
    padding: 0 var(--mobile-pad) 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 8px 13px;
    background: rgba(247, 243, 232, 0.04);
    color: rgba(247, 243, 232, 0.7);
    font-size: 12px;
    white-space: nowrap;
  }

  .project-list {
    gap: 0;
  }

  .project-card,
  .project-card:nth-child(even) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 0 58px;
    margin-bottom: 58px;
    border-bottom: 1px solid rgba(247, 243, 232, 0.12);
  }

  .project-card:last-child {
    margin-bottom: 0;
  }

  .project-card:nth-child(even) .project-figure {
    order: 0;
  }

  .project-figure {
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: none !important;
  }

  .project-figure::before {
    inset: -8px;
    border-radius: 0;
    background: radial-gradient(circle at 50% 50%, rgba(216, 255, 109, 0.1), transparent 56%);
    opacity: 0.65;
  }

  .cover-carousel {
    width: 100%;
  }

  .cover-slide {
    min-height: auto;
  }

  .project-figure img,
  .project-figure video {
    width: 100%;
    max-width: 100%;
    max-height: 66svh;
    object-fit: contain;
  }

  .cover-progress {
    bottom: -10px;
  }

  .project-info {
    display: grid;
    gap: 10px;
    padding-top: 8px;
  }

  .project-index {
    margin: 0;
    color: rgba(216, 255, 109, 0.72);
    font-size: 11px;
  }

  .project-title {
    margin: 0;
    font-size: clamp(42px, 13vw, 62px);
    line-height: 0.94;
  }

  .project-subtitle {
    margin: 0;
    color: var(--warm);
    font-size: 21px;
  }

  .project-desc {
    max-width: 30em;
    margin: 4px 0 10px;
    color: rgba(247, 243, 232, 0.72);
    font-size: 14px;
    line-height: 1.72;
  }

  .tag-row {
    gap: 8px;
    margin-bottom: 12px;
  }

  .tag {
    padding: 6px 10px;
    font-size: 11px;
  }

  .text-link {
    min-height: 42px;
    width: fit-content;
    font-size: 12px;
  }

  .profile {
    background: #ece9df;
  }

  .profile-inner {
    padding: 72px var(--mobile-pad) 80px;
  }

  .profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 0;
    border-top: 0;
  }

  .profile-photo {
    order: 2;
    padding-top: 8px;
    border-top: 1px solid rgba(23, 23, 19, 0.14);
  }

  .profile-photo img {
    width: 100%;
    max-height: none;
  }

  .profile-copy {
    order: 1;
    gap: 18px;
  }

  .profile-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(23, 23, 19, 0.14);
  }

  .profile-heading h2 {
    font-size: clamp(62px, 22vw, 94px);
    line-height: 0.9;
  }

  .profile-heading .section-kicker {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .profile-role-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 0;
    border-top: 0;
  }

  .profile-role-line span {
    padding: 7px 10px;
    font-size: 10px;
  }

  .profile-text {
    color: rgba(23, 23, 19, 0.82);
    font-size: 17px;
    line-height: 1.72;
  }

  .profile-facts {
    margin-top: 2px;
  }

  .fact {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .skill-list {
    gap: 8px;
  }

  .skill-list span {
    padding: 7px 10px;
    font-size: 12px;
  }

  .contact {
    min-height: 42vh;
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .contact p {
    font-size: 15px;
    line-height: 1.72;
  }

  .detail-back-button {
    top: 64px;
    left: var(--mobile-pad);
    min-height: 38px;
    padding: 8px 14px;
    font-size: 12px;
    background: rgba(13, 13, 11, 0.66);
  }

  .detail-back-button::after {
    width: 28px;
  }

  .detail-hero {
    min-height: 56svh;
    padding: 118px var(--mobile-pad) 34px;
  }

  .detail-title {
    font-size: clamp(48px, 15vw, 72px);
    line-height: 0.94;
  }

  .detail-desc {
    margin: 22px 0 0;
    font-size: 15px;
    line-height: 1.68;
  }

  .detail-toolbar,
  .media-stage {
    padding-left: var(--mobile-pad);
    padding-right: var(--mobile-pad);
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .long-detail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .long-detail-zoom {
    aspect-ratio: 3 / 4.25;
  }

  .long-detail-zoom::after {
    left: 9px;
    bottom: 9px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .lightbox {
    padding: 78px 10px 92px;
  }

  .lightbox-back {
    left: 12px;
    top: 16px;
  }

  .lightbox-close {
    right: 12px;
    top: 14px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-hint {
    bottom: 22px;
    max-width: calc(100vw - 126px);
    padding: 9px 10px;
    gap: 7px;
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .lightbox::after {
    right: 12px;
    bottom: 80px;
    font-size: 9px;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
