:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --text: #f5f5f5;
  --muted: #888888;
  --accent: #f5f5f5;
  --stroke: #1f1f1f;
  --accent-gradient: linear-gradient(90deg, #89aacc 0%, #4e85bf 100%);
  --ink: var(--bg);
  --ink-soft: var(--surface);
  --ink-raised: var(--surface);
  --paper: var(--surface);
  --paper-light: var(--text);
  --white: var(--text);
  --muted-dark: var(--muted);
  --copper: #4e85bf;
  --copper-light: #89aacc;
  --mineral: #89aacc;
  --line: rgba(245, 245, 245, 0.12);
  --line-dark: rgba(245, 245, 245, 0.12);
  --display: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --serif-cn: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --shell: 1560px;
  --gutter: clamp(20px, 4vw, 72px);
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .site-header,
body.is-loading main {
  opacity: 0;
}

.site-header,
main {
  transition: opacity 500ms ease-out;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  color: var(--text);
  background: var(--bg);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 600ms ease;
}

.loading-screen.is-complete {
  opacity: 0;
  pointer-events: none;
}

.loading-brand {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  left: clamp(28px, 4vw, 48px);
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: loading-label-in 600ms var(--ease) 100ms both;
}

.loading-word-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 900px);
  height: clamp(56px, 7vw, 104px);
  overflow: hidden;
  text-align: center;
  transform: translate(-50%, -50%);
}

.loading-word {
  margin: 0;
  color: rgba(245, 245, 245, 0.8);
  font-family: var(--display);
  font-size: clamp(42px, 7vw, 96px);
  font-style: italic;
  line-height: 1;
  animation: loading-word-in 400ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.loading-count {
  position: absolute;
  right: clamp(28px, 4vw, 48px);
  bottom: clamp(28px, 4vw, 48px);
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 150px);
  font-variant-numeric: tabular-nums;
  line-height: 0.8;
  animation: loading-count-in 600ms var(--ease) 120ms both;
}

.loading-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(31, 31, 31, 0.6);
}

.loading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  box-shadow: 0 0 8px rgba(137, 170, 204, 0.35);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes loading-label-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loading-word-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loading-count-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

::selection {
  color: var(--ink);
  background: var(--copper-light);
}

:focus-visible {
  outline: 2px solid var(--copper-light);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper-light);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform-origin: left;
}

.cursor-light {
  position: fixed;
  z-index: 1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 136, 83, 0.08), transparent 68%);
  pointer-events: none;
  transform: translate3d(calc(var(--pointer-x, 50vw) - 50%), calc(var(--pointer-y, 50vh) - 50%), 0);
  transition: opacity 300ms ease;
}

.ambient-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.03);
  opacity: 0.9;
  pointer-events: none;
  transform: translateZ(0);
}

body[data-page="home"] .cursor-light {
  display: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition:
    min-height 300ms var(--ease),
    background-color 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  min-height: 66px;
  border-color: var(--line);
  background: rgba(11, 12, 13, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.5);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.brand-name {
  display: grid;
  line-height: 1.08;
}

.brand-name strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 42px);
}

.site-nav > a:not(.nav-download) {
  position: relative;
  color: rgba(247, 241, 232, 0.78);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.site-nav > a:not(.nav-download)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--copper-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav > a:not(.nav-download):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 241, 232, 0.34);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.language-switch button {
  padding: 2px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease;
}

.language-switch button.is-active {
  color: var(--copper-light);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(247, 241, 232, 0.38);
  font-size: 12px;
  transition:
    color 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease;
}

.nav-download:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.nav-download svg {
  width: 14px;
  height: 14px;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}

.menu-toggle {
  position: relative;
  z-index: 102;
  display: none;
}

/* Floating pill navigation */
.site-header {
  top: 16px;
  right: 0;
  left: 0;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  min-height: 0;
  padding: 8px;
  border: 1px solid rgba(245, 245, 245, 0.1);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  min-height: 0;
  border-color: rgba(245, 245, 245, 0.12);
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.brand {
  gap: 8px;
  padding-left: 2px;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: var(--bg);
  font-family: var(--display);
  font-style: italic;
  letter-spacing: -0.04em;
  transition:
    filter 300ms ease,
    transform 300ms ease;
}

.brand-mark::before {
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 50%;
  background: var(--accent-gradient);
  content: "";
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.brand:hover .brand-mark {
  filter: hue-rotate(24deg);
  transform: rotate(8deg) scale(1.05);
}

.brand-name strong {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.brand-name small {
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.site-nav {
  gap: 3px;
  margin-left: 4px;
}

.site-nav > a:not(.nav-download, .nav-say-hi) {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(245, 245, 245, 0.7);
  font-size: 12px;
  letter-spacing: 0;
  transition:
    color 220ms ease,
    background-color 220ms ease;
}

.site-nav > a:not(.nav-download, .nav-say-hi)::after {
  display: none;
}

.site-nav > a:not(.nav-download, .nav-say-hi):hover,
.site-nav > a:not(.nav-download, .nav-say-hi).is-active {
  color: var(--text);
  background: rgba(31, 31, 31, 0.6);
}

.language-switch {
  padding: 0 6px;
  color: rgba(245, 245, 245, 0.42);
}

.language-switch button.is-active {
  color: var(--text);
}

.nav-download {
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  color: rgba(245, 245, 245, 0.72);
  font-size: 11px;
}

.nav-download:hover {
  color: var(--text);
  background: rgba(31, 31, 31, 0.6);
}

.nav-say-hi {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--accent-gradient) border-box;
  font-size: 11px;
  transition:
    color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.nav-say-hi:hover {
  box-shadow: 0 0 20px rgba(78, 133, 191, 0.28);
  transform: translateY(-1px);
}

.section-dark {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: rgba(11, 12, 13, 0.78);
}

.theme-paper {
  position: relative;
  z-index: 3;
  color: #171513;
  background: rgba(238, 231, 219, 0.88);
}

.section-shell {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker span:first-child {
  color: var(--copper-light);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(480px, 1.6fr) minmax(260px, 0.7fr);
  gap: clamp(30px, 5vw, 100px);
  align-items: start;
  margin-bottom: clamp(58px, 8vw, 120px);
}

.section-heading h2,
.intro-heading h2 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.28;
}

.section-heading > p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.section-heading--paper > p:last-child {
  color: var(--muted-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition:
    color 300ms var(--ease),
    background-color 300ms var(--ease),
    border-color 300ms var(--ease),
    transform 300ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.7;
}

.button--solid {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--paper-light);
}

.button--solid:hover {
  color: var(--ink);
  background: var(--copper-light);
  border-color: var(--copper-light);
}

.button--outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(247, 241, 232, 0.34);
}

.button--outline:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(247, 241, 232, 0.4);
  color: rgba(247, 241, 232, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition:
    color 200ms ease,
    border-color 200ms ease;
}

.text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.list-section {
  overflow: hidden;
  padding: clamp(100px, 13vw, 190px) 0;
}

.list-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: start;
  margin-bottom: clamp(52px, 7vw, 100px);
}

.list-heading h2 {
  max-width: 1060px;
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(38px, 5vw, 86px);
  font-weight: 500;
  line-height: 1.24;
}

.list-heading > p:last-child {
  grid-column: 2;
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.list-heading-meta {
  margin: -46px 0 46px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: right;
}

.list-heading-meta span {
  color: inherit;
}

.list-heading .contact-availability {
  position: static;
  grid-column: 2;
  max-width: none;
  color: var(--copper-light);
}

.interactive-list {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.list-highlight {
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition:
    transform 420ms var(--ease),
    height 420ms var(--ease),
    opacity 220ms ease;
}

.list-preview {
  position: absolute;
  z-index: 30;
  top: var(--list-y, 50%);
  left: var(--list-x, 42%);
  width: clamp(13rem, 21vw, 20rem);
  aspect-ratio: 0.86;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) translate3d(var(--preview-x, 0), var(--preview-y, 0), 0);
  transition: transform 140ms ease-out;
}

.list-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  clip-path: inset(50%);
  transition:
    opacity 260ms ease,
    clip-path 620ms var(--ease);
}

.list-preview img.is-active {
  opacity: 1;
  clip-path: inset(0);
}

.list-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns:
    minmax(170px, 0.9fr)
    minmax(150px, 0.7fr)
    56px
    minmax(260px, 1.4fr);
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 18px clamp(18px, 3vw, 48px);
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 260ms ease;
  touch-action: manipulation;
}

button.list-row {
  font: inherit;
}

.list-row.is-active,
.list-row:hover {
  color: #000;
}

.list-row.is-active .list-row-platform,
.list-row.is-active .list-row-services {
  color: rgba(0, 0, 0, 0.62);
}

.list-row-client {
  font-family: var(--serif-cn);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 550;
  line-height: 1.2;
}

.list-row-platform,
.list-row-index {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.list-row-platform {
  color: var(--muted);
  transition: color 260ms ease;
}

.list-row-index {
  color: var(--copper-light);
  text-align: center;
}

.list-row-services {
  color: rgba(247, 241, 232, 0.7);
  font-size: 12px;
  line-height: 1.75;
  transition: color 260ms ease;
}

.list-row-thumb {
  display: none;
}

@media (max-width: 900px) {
  .list-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .list-heading > p:last-child {
    grid-column: auto;
    margin-top: 0;
  }

  .interactive-list {
    overflow: visible;
  }

  .list-highlight,
  .list-preview {
    display: none;
  }

  .list-row,
  .list-row:hover {
    grid-template-columns: 1fr;
    min-height: 176px;
    padding: 24px 40% 24px var(--gutter);
    color: var(--white);
    background: transparent;
  }

  .list-row.is-active {
    color: #000;
    background: #fff;
  }

  .list-row.is-active .list-row-platform,
  .list-row.is-active .list-row-services {
    color: rgba(0, 0, 0, 0.62);
  }

  .list-row-client {
    font-size: clamp(24px, 7vw, 34px);
  }

  .list-row-platform {
    font-size: 10px;
  }

  .list-row-index {
    display: none;
  }

  .list-row-services {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .list-row-thumb {
    position: absolute;
    inset: 0 0 0 auto;
    display: block;
    width: 38%;
    overflow: hidden;
    background: #090a0b;
  }

  .list-row-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.04);
    transition: transform 600ms var(--ease);
  }

  .list-row.is-active .list-row-thumb img {
    transform: scale(1.035);
  }
}

@media (max-width: 640px) {
  .list-section {
    padding: 88px 0;
  }

  .list-row,
  .list-row:hover {
    min-height: 150px;
    padding-right: 42%;
  }

  .list-row-thumb {
    width: 40%;
  }
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(189, 136, 83, 0.06), transparent 34%),
    var(--ink);
}

.cinematic-hero {
  height: 100svh;
  min-height: 620px;
  background: #151617;
  cursor: crosshair;
  isolation: isolate;
  touch-action: pan-y;
}

.cinematic-media,
.cinematic-image,
.cinematic-vignette {
  position: absolute;
  inset: 0;
}

.cinematic-media {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  animation: cinematic-reveal 1.45s var(--ease) both;
}

@keyframes cinematic-reveal {
  from {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.cinematic-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  user-select: none;
  transform: translateY(var(--hero-shift, 0)) scale(1.12);
  animation: cinematic-breathe 14s ease-in-out 1.45s infinite alternate;
  transform-origin: center center;
}

@keyframes cinematic-breathe {
  from {
    transform: translateY(var(--hero-shift, 0)) scale(1.12);
  }
  to {
    transform: translateY(var(--hero-shift, 0)) scale(1.14);
  }
}

@media (min-width: 901px) {
  .cinematic-image {
    object-fit: contain;
  }
}

.cinematic-image--base {
  filter: brightness(0.66) contrast(1.055) saturate(0.76);
}

.cinematic-image--trail,
.cinematic-image--light {
  z-index: 1;
  opacity: 0;
  will-change: mask-image, opacity;
}

.cinematic-image--trail {
  filter: brightness(1.1) contrast(1.025) saturate(1.1) blur(7px);
  -webkit-mask-image: radial-gradient(
    circle var(--spotlight-trail-size, clamp(210px, 30vw, 460px)) at var(--spotlight-trail-x, 50%) var(--spotlight-trail-y, 50%),
    rgba(0, 0, 0, 0.54) 0%,
    rgba(0, 0, 0, 0.37) 34%,
    rgba(0, 0, 0, 0.14) 58%,
    rgba(0, 0, 0, 0) 78%
  );
  mask-image: radial-gradient(
    circle var(--spotlight-trail-size, clamp(210px, 30vw, 460px)) at var(--spotlight-trail-x, 50%) var(--spotlight-trail-y, 50%),
    rgba(0, 0, 0, 0.54) 0%,
    rgba(0, 0, 0, 0.37) 34%,
    rgba(0, 0, 0, 0.14) 58%,
    rgba(0, 0, 0, 0) 78%
  );
}

.cinematic-image--light {
  z-index: 2;
  filter: brightness(1.21) contrast(1.04) saturate(1.06);
  -webkit-mask-image: radial-gradient(
    circle var(--spotlight-size, clamp(180px, 24vw, 360px)) at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.96) 18%,
    rgba(0, 0, 0, 0.65) 43%,
    rgba(0, 0, 0, 0) 74%
  );
  mask-image: radial-gradient(
    circle var(--spotlight-size, clamp(180px, 24vw, 360px)) at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.96) 18%,
    rgba(0, 0, 0, 0.65) 43%,
    rgba(0, 0, 0, 0) 74%
  );
  transition: opacity 420ms ease;
}

.cinematic-hero.is-light-active .cinematic-image--trail {
  opacity: 0.78;
}

.cinematic-hero.is-light-active .cinematic-image--light {
  opacity: 1;
}

.cinematic-vignette {
  z-index: 3;
  background:
    linear-gradient(to bottom, rgba(5, 6, 7, 0.2), transparent 22%, transparent 76%, rgba(5, 6, 7, 0.28)),
    radial-gradient(circle at 50% 46%, transparent 48%, rgba(4, 5, 6, 0.22) 100%);
  pointer-events: none;
}

.cinematic-vignette::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle var(--spotlight-size, clamp(180px, 24vw, 360px)) at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    rgba(255, 218, 173, 0.13) 0%,
    rgba(217, 132, 76, 0.07) 38%,
    rgba(217, 132, 76, 0) 72%
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 420ms ease;
  will-change: background;
}

.cinematic-hero.is-light-active .cinematic-vignette::after {
  opacity: 1;
}

.cinematic-scroll {
  position: absolute;
  z-index: 5;
  bottom: 26px;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(247, 241, 232, 0.74);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.cinematic-tie {
  display: block;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px rgba(247, 241, 232, 0.16));
  transform-origin: 50% 50%;
  animation: cinematic-tie 2.8s ease-in-out infinite;
}

@keyframes cinematic-tie {
  0%,
  100% {
    opacity: 0.56;
    transform: translateY(-2px);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
}

.cinematic-hero {
  background: transparent;
  cursor: default;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.hero-bottom-fade {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 12rem;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(100%, 1180px);
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 50px) var(--gutter) 110px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-display {
  margin: 0 0 22px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero-display-en {
  display: block;
  color: var(--text);
  font-size: clamp(72px, 11vw, 166px);
  font-style: italic;
}

.hero-display-cn {
  display: block;
  margin-top: 8px;
  color: rgba(245, 245, 245, 0.72);
  font-family: var(--serif-cn);
  font-size: clamp(25px, 3.4vw, 48px);
  letter-spacing: 0.18em;
}

.hero-role-line {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 28px);
}

.hero-role-word {
  color: var(--text);
  font-family: var(--display);
  font-style: italic;
}

.hero-role-word.is-changing {
  animation: role-fade 320ms ease both;
}

@keyframes role-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bio {
  max-width: 580px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 132px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13px;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    color 260ms ease,
    transform 260ms var(--ease);
}

.hero-button:hover {
  transform: scale(1.045);
}

.hero-button--solid {
  color: var(--bg);
  background: var(--text);
}

.hero-button--outline {
  border: 1px solid rgba(245, 245, 245, 0.24);
  color: var(--text);
  background: rgba(10, 10, 10, 0.5);
}

.hero-button--outline:hover {
  border-color: #4e85bf;
  box-shadow: 0 0 22px rgba(78, 133, 191, 0.2);
}

.name-reveal,
.blur-in {
  opacity: 0;
}

body.site-ready .name-reveal {
  animation: hero-name-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) 100ms both;
}

body.site-ready .blur-in {
  animation: hero-blur-in 1s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0.3s) both;
}

@keyframes hero-name-in {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-blur-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.cinematic-scroll {
  gap: 10px;
}

.scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: var(--stroke);
}

.scroll-line span {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #89aacc;
  box-shadow: 0 0 7px rgba(137, 170, 204, 0.5);
  transform: translateX(-50%);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    top: -6px;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    top: 42px;
    opacity: 0;
  }
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 241, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 241, 232, 0.035) 1px, transparent 1px);
  background-size: 10vw 10vw;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-mark {
  position: absolute;
  z-index: 0;
  top: 24%;
  left: -0.05em;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(110px, 18.8vw, 320px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(247, 241, 232, 0.14);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  width: min(100%, var(--shell));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(var(--header-height) + 30px) var(--gutter) 82px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1 / 7;
}

.hero-copy .eyebrow {
  justify-content: space-between;
  max-width: 440px;
  margin-bottom: clamp(28px, 4vh, 54px);
}

.hero-name-wrap {
  position: relative;
}

.hero-index {
  position: absolute;
  top: 12px;
  right: 8px;
  margin: 0;
  color: rgba(247, 241, 232, 0.42);
  font-family: var(--display);
  font-size: 13px;
}

.hero-name-en {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(60px, 9.3vw, 160px);
  line-height: 0.78;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-name-cn {
  position: relative;
  z-index: 2;
  margin: -0.22em 0 0 0.08em;
  color: var(--copper-light);
  font-family: var(--serif-cn);
  font-size: clamp(36px, 4.8vw, 84px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.hero-role {
  margin: 42px 0 0;
  font-size: clamp(15px, 1.3vw, 20px);
  letter-spacing: 0.08em;
}

.hero-tags {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-statement {
  max-width: 450px;
  margin: 28px 0 0;
  color: rgba(247, 241, 232, 0.7);
  font-family: var(--serif-cn);
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 38px;
}

.hero-portrait {
  position: relative;
  z-index: 2;
  grid-column: 7 / 13;
  align-self: end;
  height: min(76vh, 790px);
  min-height: 590px;
  margin-right: clamp(-72px, -3vw, -20px);
  overflow: hidden;
  transform: translateZ(0);
}

.hero-portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(11, 12, 13, 0.15) 33%, transparent 65%),
    linear-gradient(to bottom, transparent 55%, var(--ink) 100%),
    rgba(11, 12, 13, 0.17);
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  padding-top: 14px;
  object-fit: contain;
  object-position: center bottom;
  filter: grayscale(0.62) saturate(0.78) contrast(1.12) brightness(0.83);
  transition: transform 1000ms var(--ease), filter 700ms ease;
}

.hero-portrait:hover img {
  filter: grayscale(0.35) saturate(0.92) contrast(1.08) brightness(0.9);
  transform: scale(1.018);
}

.portrait-frame {
  position: absolute;
  z-index: 3;
  inset: 28px -16px 28px 28px;
  border: 1px solid rgba(214, 165, 111, 0.5);
  pointer-events: none;
}

.portrait-caption {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 42px;
  left: 54px;
  display: flex;
  justify-content: space-between;
  color: rgba(247, 241, 232, 0.72);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(247, 241, 232, 0.48);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  display: block;
  width: 70px;
  height: 1px;
  overflow: hidden;
  background: rgba(247, 241, 232, 0.18);
}

.scroll-line::after {
  position: absolute;
  inset: 0;
  background: var(--copper-light);
  content: "";
  animation: scroll-line 2.3s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

.intro {
  position: relative;
  padding: clamp(110px, 14vw, 220px) 0 clamp(100px, 12vw, 180px);
  overflow: hidden;
  isolation: isolate;
}

.intro::before {
  position: absolute;
  inset: -12%;
  z-index: 1;
  background: radial-gradient(
    circle at var(--about-x, 72%) var(--about-y, 34%),
    rgba(214, 165, 111, 0.28) 0%,
    rgba(120, 150, 141, 0.11) 25%,
    transparent 58%
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.94);
  transition:
    opacity 420ms ease,
    transform 800ms var(--ease);
}

.intro.is-pointer-active::before {
  opacity: 0.82;
  transform: scale(1);
}

.intro::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 12, 13, 0.94) 0%, rgba(11, 12, 13, 0.8) 48%, rgba(11, 12, 13, 0.3) 100%),
    linear-gradient(to bottom, rgba(11, 12, 13, 0.24), rgba(11, 12, 13, 0.7));
  content: "";
  pointer-events: none;
}

.intro > .section-shell {
  position: relative;
  z-index: 2;
}

.intro-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.7fr);
  gap: clamp(42px, 7vw, 130px);
  align-items: end;
}

.intro-heading h2 {
  max-width: 1040px;
}

.intro-heading p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(54px, 8vw, 110px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-stats > div {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  min-height: 108px;
  padding: 22px 0;
}

.intro-stats > div + div {
  padding-left: clamp(20px, 4vw, 60px);
  border-left: 1px solid var(--line);
}

.intro-stats strong {
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 400;
  line-height: 0.8;
}

.intro-stats span {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(70px, 10vw, 140px);
}

.discipline {
  position: relative;
  min-height: 430px;
  padding: 32px clamp(22px, 3vw, 48px) 26px 0;
  border-top: 1px solid var(--line);
}

.discipline + .discipline {
  padding-left: clamp(22px, 3vw, 48px);
  border-left: 1px solid var(--line);
}

.discipline-number {
  color: var(--copper-light);
  font-family: var(--display);
  font-size: 14px;
}

.discipline-symbol {
  display: grid;
  width: 76px;
  height: 76px;
  margin-top: 50px;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.28);
  border-radius: 50%;
  font-family: var(--serif-cn);
  font-size: 30px;
  transition:
    color 420ms ease,
    background-color 420ms ease,
    border-color 420ms ease,
    transform 520ms var(--ease);
}

.discipline h3 {
  margin: 38px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 66px);
  font-weight: 400;
  line-height: 1;
  transition:
    color 380ms ease,
    transform 520ms var(--ease);
}

.discipline h4 {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 500;
}

.discipline p {
  max-width: 370px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.discipline::after {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--copper-light), var(--mineral));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms var(--ease);
}

.discipline:hover::after {
  transform: scaleX(1);
}

.discipline:hover .discipline-symbol {
  color: var(--ink);
  background: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-7px) rotate(7deg);
}

.discipline:hover h3 {
  color: var(--copper-light);
  transform: translateX(8px);
}

.work-section {
  padding: 0 0 clamp(120px, 15vw, 220px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(390px, 1fr));
  gap: clamp(12px, 1.6vw, 24px);
}

.project-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: var(--ink-raised);
  isolation: isolate;
  transform-style: preserve-3d;
  transition:
    box-shadow 420ms var(--ease),
    transform 260ms var(--ease);
}

.project-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at var(--card-x, 50%) var(--card-y, 50%),
    rgba(214, 165, 111, 0.26) 0%,
    rgba(120, 150, 141, 0.09) 25%,
    transparent 52%
  );
  content: "";
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
}

.project-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.project-card:active {
  transform: scale(0.988);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card--tall {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  min-height: 820px;
}

.project-card--wide {
  grid-column: 5 / 13;
  grid-row: 1 / 2;
}

.project-card--landscape {
  grid-column: 5 / 9;
  grid-row: 2 / 3;
}

.project-card--square {
  grid-column: 9 / 13;
  grid-row: 2 / 3;
}

.project-image,
.project-image img {
  width: 100%;
  height: 100%;
}

.project-image {
  position: absolute;
  inset: 0;
}

.project-image img {
  object-fit: cover;
  filter: saturate(0.88) contrast(1.03);
  transition:
    transform 900ms var(--ease),
    filter 500ms ease;
}

.project-card:hover .project-image img {
  filter: saturate(1) contrast(1.02);
  transform: translate3d(var(--card-shift-x, 0), var(--card-shift-y, 0), 0) scale(1.05);
}

.project-card--tall .project-image img {
  object-position: center 43%;
}

.project-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(7, 8, 9, 0.92) 0%, rgba(7, 8, 9, 0.12) 60%),
    linear-gradient(115deg, rgba(7, 8, 9, 0.4), transparent 45%);
  transition: opacity 350ms ease;
}

.project-card-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
}

.project-card-copy p {
  margin: 0 0 10px;
  color: rgba(247, 241, 232, 0.68);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card-copy h3 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(27px, 2.4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
}

.project-card-copy > span {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(247, 241, 232, 0.5);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 250ms ease,
    transform 250ms var(--ease);
}

.project-card:hover .project-card-copy > span {
  opacity: 1;
  transform: translateY(0);
}

.project-arrow {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid rgba(247, 241, 232, 0.35);
  color: var(--white);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition:
    opacity 250ms ease,
    transform 250ms var(--ease),
    background-color 250ms ease,
    color 250ms ease;
}

.project-card:hover .project-arrow {
  color: var(--ink);
  background: var(--white);
  opacity: 1;
  transform: translate(0, 0);
}

.awards-section,
.profile-section,
.life-section {
  padding: clamp(100px, 13vw, 190px) 0;
}

.awards-section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.award-list {
  border-top: 1px solid var(--line-dark);
}

.award-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(100px, 0.3fr) minmax(0, 1.7fr);
  gap: 30px;
  align-items: center;
  min-height: 108px;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  touch-action: manipulation;
}

.award-item::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--award-x, 50%) 50%, rgba(189, 136, 83, 0.2), transparent 42%),
    linear-gradient(90deg, rgba(189, 136, 83, 0.11), rgba(120, 150, 141, 0.035));
  content: "";
  opacity: 0;
  transform: scaleX(0.96);
  transform-origin: left;
  transition:
    opacity 360ms ease,
    transform 520ms var(--ease);
}

.award-item::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--copper-light), var(--mineral));
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 420ms var(--ease);
}

.award-item > * {
  position: relative;
  z-index: 1;
  transition: transform 460ms var(--ease);
}

.award-item:hover::before,
.award-item.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.award-item:hover::after,
.award-item.is-active::after {
  transform: scaleY(1);
  transform-origin: top;
}

.award-item:hover > *,
.award-item.is-active > * {
  transform: translateX(10px);
}

.award-item.is-pulsing {
  animation: award-row-pulse 520ms var(--ease);
}

@keyframes award-row-pulse {
  0% {
    background-color: rgba(214, 165, 111, 0);
  }
  42% {
    background-color: rgba(214, 165, 111, 0.12);
  }
  100% {
    background-color: rgba(214, 165, 111, 0);
  }
}

.award-item > span {
  color: var(--copper);
  font-family: var(--display);
  font-size: 21px;
  white-space: nowrap;
}

.award-item h3 {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 500;
}

.award-item p {
  margin: 6px 0 0;
  color: var(--muted-dark);
  font-size: 12px;
}

.profile-section {
  border-top: 1px solid var(--line-dark);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 80px);
  align-items: start;
}

.profile-column:first-child {
  grid-column: 1 / 5;
}

.profile-column:nth-child(2) {
  grid-column: 5 / 9;
}

.profile-column:nth-child(3) {
  grid-column: 9 / 13;
}

.profile-column {
  transition: transform 480ms var(--ease);
}

.js .profile-column.reveal.is-visible:hover {
  transform: translateY(-7px);
}

.profile-section.is-in-view .profile-column > * {
  animation: profile-item-in 620ms var(--ease) both;
  animation-delay: calc(var(--profile-index, 0) * 90ms);
}

@keyframes profile-item-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-label {
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-dark);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-column > h3,
.experience-row h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 550;
}

.profile-column > p:not(.profile-label, .profile-note) {
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.profile-note {
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.experience-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 0 0 28px;
}

.experience-row + .experience-row {
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.experience-row > span {
  color: var(--muted-dark);
  font-family: var(--display);
  font-size: 12px;
}

.experience-row p {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 13px;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-cloud span {
  position: relative;
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  font-size: 11px;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
  transition:
    color 280ms ease,
    background-color 280ms ease,
    border-color 280ms ease,
    transform 360ms var(--ease);
}

.skill-cloud span:hover,
.skill-cloud span.is-active {
  color: var(--ink);
  background: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-4px) rotate(-1deg);
}

.skill-cloud span.is-active::after {
  position: absolute;
  inset: -40%;
  border: 1px solid rgba(11, 12, 13, 0.4);
  border-radius: 50%;
  content: "";
  animation: skill-ring 520ms var(--ease) both;
}

@keyframes skill-ring {
  from {
    opacity: 0.8;
    transform: scale(0.2);
  }
  to {
    opacity: 0;
    transform: scale(1.5);
  }
}

.life-section {
  padding-top: clamp(60px, 8vw, 112px);
  border-top: 1px solid var(--line-dark);
}

.life-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(480px, 1.3fr);
  gap: clamp(30px, 6vw, 110px);
}

.life-heading h2 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(38px, 5vw, 86px);
  font-weight: 500;
  line-height: 1.25;
}

.life-words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08em;
  align-items: baseline;
  margin-top: clamp(50px, 8vw, 120px);
  font-family: var(--display);
  font-size: clamp(52px, 10vw, 170px);
  line-height: 0.95;
  perspective: 900px;
}

.life-words span {
  display: inline-block;
  transform: translate3d(var(--word-x, 0), var(--word-y, 0), 0) rotate(var(--word-rotate, 0deg));
  transform-origin: center bottom;
  transition:
    color 320ms ease,
    transform 460ms var(--ease),
    -webkit-text-stroke-color 320ms ease;
}

.life-words span:hover,
.life-words span.is-active {
  color: var(--mineral);
  -webkit-text-stroke-color: var(--mineral);
  transform: translate3d(var(--word-x, 0), calc(var(--word-y, 0px) - 9px), 0) rotate(var(--word-rotate, -1.5deg)) scale(1.025);
}

.life-words span:nth-child(2) {
  color: var(--copper);
}

.life-words span:nth-child(3) {
  color: transparent;
  -webkit-text-stroke: 1px #171513;
}

.life-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.life-tags span {
  padding: 7px 10px;
  border: 1px solid transparent;
  color: var(--muted-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    transform 360ms var(--ease);
}

.life-tags span:hover,
.life-tags span.is-active {
  color: var(--ink);
  background: var(--copper-light);
  border-color: var(--copper-light);
  transform: translateY(-3px);
}

.life-tags span.is-bouncing {
  animation: life-tag-bounce 480ms var(--ease);
}

@keyframes life-tag-bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  42% {
    transform: translateY(-8px) scale(1.06) rotate(-2deg);
  }
  72% {
    transform: translateY(1px) scale(0.98) rotate(1deg);
  }
  100% {
    transform: translateY(-3px) scale(1);
  }
}

.contact-section {
  min-height: 78svh;
  padding: clamp(100px, 14vw, 220px) 0 0;
  overflow: hidden;
  isolation: isolate;
}

.contact-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at var(--contact-x, 78%) var(--contact-y, 36%),
    rgba(214, 165, 111, 0.19) 0%,
    rgba(120, 150, 141, 0.08) 24%,
    transparent 56%
  );
  content: "";
  opacity: 1;
  pointer-events: none;
  transition: none;
}

.contact-section.is-pointer-active::before {
  opacity: 1;
}

.contact-orbit {
  position: absolute;
  top: 12%;
  right: -10vw;
  width: min(58vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(214, 165, 111, 0.14);
  border-radius: 50%;
  pointer-events: none;
  transform: none;
  transition: none;
}

.contact-section.is-pointer-active .contact-orbit {
  transition: none;
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  border: 1px solid rgba(247, 241, 232, 0.08);
  border-radius: 50%;
  content: "";
}

.contact-orbit::before {
  inset: 14%;
}

.contact-orbit::after {
  inset: 29%;
}

.contact-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(480px, 1.5fr);
  gap: clamp(30px, 5vw, 100px);
  align-items: start;
}

.contact-availability {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 300px;
  margin: 0;
  color: var(--copper-light);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(60px, 8vw, 120px);
}

.contact-actions .button {
  transform: none;
  transition: none;
}

.contact-actions .button:hover {
  transform: none;
  box-shadow: none;
}

.contact-actions .button svg {
  transition: none;
}

.contact-actions .button:hover svg {
  transform: none;
}

.contact-actions .button--outline:hover {
  color: var(--ink);
}

.contact-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(100px, 15vw, 220px);
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.contact-list + .contact-footer {
  margin-top: clamp(70px, 9vw, 120px);
}

.contact-footer a {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 22px);
}

.contact-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.qr-dialog {
  width: min(92vw, 440px);
  padding: 34px;
  border: 1px solid rgba(247, 241, 232, 0.25);
  color: var(--white);
  background: var(--ink-soft);
}

.qr-dialog::backdrop {
  background: rgba(3, 4, 5, 0.78);
  backdrop-filter: blur(8px);
}

.qr-dialog h2 {
  margin: 14px 0 24px;
  font-family: var(--serif-cn);
  font-size: 32px;
  font-weight: 500;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.qr-placeholder {
  display: grid;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid rgba(247, 241, 232, 0.24);
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(247, 241, 232, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
}

.qr-placeholder svg {
  width: 52px;
  height: 52px;
  stroke-width: 1;
}

.qr-placeholder span {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.dialog-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 40px));
  padding: 13px 16px;
  color: var(--ink);
  background: var(--paper-light);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 220ms ease,
    transform 220ms var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease),
    transform 900ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Project detail */
.project-page {
  background: var(--ink);
}

.project-main {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
}

.project-hero {
  position: relative;
  padding: clamp(55px, 8vw, 120px) 0 0;
  background: rgba(11, 12, 13, 0.76);
}

.project-hero-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: start;
  margin-bottom: clamp(50px, 7vw, 100px);
}

.project-hero-number {
  margin: 0;
  color: var(--copper-light);
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1;
}

.project-hero h1 {
  max-width: 1200px;
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(48px, 7vw, 118px);
  font-weight: 500;
  line-height: 1.08;
}

.project-hero-title-en {
  display: block;
  margin-top: 18px;
  color: var(--copper-light);
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 66px);
  font-weight: 400;
  line-height: 1;
}

.project-cover {
  position: relative;
  width: 100%;
  height: min(82svh, 900px);
  overflow: hidden;
  background: var(--ink-raised);
}

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

.project-cover.is-portrait {
  display: grid;
  height: auto;
  min-height: 70svh;
  padding: clamp(28px, 5vw, 80px);
  place-items: center;
  background: #08090a;
}

.project-cover.is-portrait img {
  width: auto;
  max-width: min(72vw, 760px);
  max-height: 88svh;
  object-fit: contain;
}

.project-overview {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 8vw, 150px);
  padding: clamp(70px, 9vw, 140px) var(--gutter);
  color: #171513;
  background: rgba(238, 231, 219, 0.88);
}

.project-lead {
  max-width: 610px;
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(21px, 2.1vw, 32px);
  line-height: 1.65;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  border-top: 1px solid var(--line-dark);
}

.project-meta-item {
  padding: 20px 18px 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.project-meta-item:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

.project-meta-item span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-dark);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-meta-item strong {
  font-size: 13px;
  font-weight: 500;
}

.project-story {
  padding: 0;
  background: rgba(11, 12, 13, 0.78);
}

.project-story-intro {
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 160px) var(--gutter) clamp(55px, 7vw, 100px);
}

.project-story-list {
  border-top: 1px solid var(--line);
}

.project-story-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 52px);
  align-items: center;
  min-height: clamp(560px, 62vw, 820px);
  padding: clamp(70px, 8vw, 130px) var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.project-story-row--reverse {
  background: rgba(18, 20, 22, 0.76);
}

.project-story-number {
  grid-column: 1 / 5;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(110px, 14.5vw, 260px);
  font-weight: 500;
  line-height: 0.72;
  -webkit-text-stroke: 1px rgba(247, 241, 232, 0.72);
}

.project-story-copy {
  grid-column: 5 / 8;
  max-width: 330px;
}

.project-story-copy p {
  margin: 0 0 18px;
  color: var(--copper-light);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-story-copy h3 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(30px, 3vw, 52px);
  font-weight: 500;
  line-height: 1.25;
}

.project-story-copy > span {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.project-story-fragment {
  grid-column: 9 / 12;
  width: min(100%, 330px);
  margin: 0;
  justify-self: end;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(247, 241, 232, 0.22);
  background: var(--ink-raised);
}

.project-story-fragment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.74);
  transition:
    filter 500ms ease,
    transform 900ms var(--ease);
}

.project-story-row:hover .project-story-fragment img {
  filter: grayscale(0.4) contrast(1.03) brightness(0.9);
  transform: scale(1.025);
}

.project-story-row--reverse .project-story-number {
  grid-column: 10 / 13;
  text-align: right;
}

.project-story-row--reverse .project-story-copy {
  grid-column: 6 / 9;
  grid-row: 1;
}

.project-story-row--reverse .project-story-fragment {
  grid-column: 2 / 5;
  grid-row: 1;
  justify-self: start;
}

.project-visual-section {
  padding: 0 0 clamp(100px, 13vw, 200px);
  background: rgba(11, 12, 13, 0.78);
}

.project-visual-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 42px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.project-visual-heading h2 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(32px, 4vw, 68px);
  font-weight: 500;
}

.project-visual-heading span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.project-gallery {
  columns: 2;
  column-gap: clamp(12px, 2vw, 28px);
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(12px, 2vw, 28px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--ink-raised);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  filter: saturate(0.93) contrast(1.02);
  transition:
    transform 850ms var(--ease),
    filter 500ms ease;
}

.gallery-item:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.018);
}

.project-boards {
  padding: clamp(90px, 12vw, 180px) 0;
  color: #171513;
  background: rgba(238, 231, 219, 0.88);
}

.project-boards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.board-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #ded5c7;
  cursor: zoom-in;
}

.board-item img {
  width: 100%;
  height: auto;
}

.project-palette {
  padding: clamp(80px, 10vw, 150px) 0;
  background: rgba(11, 12, 13, 0.78);
}

.palette-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 42px;
}

.palette-item {
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(247, 241, 232, 0.16);
}

.palette-item span {
  font-family: var(--display);
  font-size: 13px;
}

.next-project {
  position: relative;
  display: block;
  min-height: 62svh;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.next-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
  transition:
    transform 900ms var(--ease),
    filter 500ms ease;
}

.next-project:hover img {
  filter: brightness(0.55) saturate(1);
  transform: scale(1.025);
}

.next-project-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 62svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  text-align: center;
}

.next-project-copy span {
  color: var(--copper-light);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-project-copy h2 {
  margin: 20px 0 0;
  font-family: var(--serif-cn);
  font-size: clamp(45px, 6vw, 100px);
  font-weight: 500;
}

.next-project-copy i {
  width: 42px;
  height: 42px;
  margin-top: 28px;
  padding: 10px;
  border: 1px solid rgba(247, 241, 232, 0.4);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(5, 6, 7, 0.96);
}

.lightbox::backdrop {
  background: rgba(3, 4, 5, 0.92);
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  z-index: 3;
  top: 22px;
  right: 22px;
  color: var(--white);
  background: rgba(11, 12, 13, 0.7);
}

.project-error {
  display: grid;
  min-height: 70svh;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
}

.project-error h1 {
  margin: 0;
  font-family: var(--serif-cn);
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 500;
}

.project-error p {
  color: var(--muted);
}

/* Black background theme for every section after the home hero */
.section-dark,
.theme-paper,
.project-hero,
.project-overview,
.project-story,
.project-story-row--reverse,
.project-visual-section,
.project-boards,
.project-palette,
.project-error {
  background: rgba(0, 0, 0, 0.72);
}

.project-story-row--reverse {
  background: rgba(0, 0, 0, 0.62);
}

.theme-paper,
.project-overview,
.project-boards {
  color: var(--white);
}

.section-heading--paper > p:last-child,
.award-item p,
.profile-label,
.profile-column > p:not(.profile-label, .profile-note),
.profile-note,
.experience-row > span,
.experience-row p,
.life-tags span,
.project-meta-item span {
  color: var(--muted);
}

.award-list,
.award-item,
.profile-section,
.profile-label,
.experience-row + .experience-row,
.life-section,
.life-tags,
.skill-cloud span,
.project-meta,
.project-meta-item,
.project-meta-item:nth-child(even),
.project-boards .project-visual-heading,
.board-item {
  border-color: var(--line);
}

.life-words span:nth-child(3) {
  -webkit-text-stroke-color: var(--white);
}

.board-item {
  background: rgba(0, 0, 0, 0.42);
}

@media (hover: none) {
  .project-card-copy > span,
  .project-arrow {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
.section-heading {
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  }

  .section-heading > p:last-child {
    grid-column: 2;
    max-width: 560px;
  }

  .hero-name-en {
    font-size: clamp(58px, 9.5vw, 118px);
  }

  .project-card--tall {
    grid-column: 1 / 6;
  }

  .project-card--wide {
    grid-column: 6 / 13;
  }

  .project-card--landscape {
    grid-column: 6 / 10;
  }

  .project-card--square {
    grid-column: 10 / 13;
  }

  .profile-column:first-child {
    grid-column: 1 / 6;
  }

  .profile-column:nth-child(2) {
    grid-column: 6 / 13;
  }

  .profile-column:nth-child(3) {
    grid-column: 1 / 13;
    margin-top: 30px;
  }
}

.section-heading--work {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
}

.section-heading--work > p:last-child {
  grid-column: 2;
  max-width: 560px;
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 100px var(--gutter) 50px;
    background: rgba(11, 12, 13, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 300ms ease,
      transform 350ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-download) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif-cn);
    font-size: 28px;
  }

  .language-switch {
    margin-top: 30px;
    font-size: 16px;
  }

  .nav-download {
    align-self: flex-start;
    margin-top: 24px;
    padding: 14px 18px;
    font-size: 14px;
  }

  .hero-inner {
    display: flex;
    min-height: auto;
    flex-direction: column;
    gap: 0;
    padding-top: 88px;
    padding-bottom: 100px;
  }

  .hero-portrait {
    order: 1;
    width: calc(100% + (var(--gutter) * 2));
    height: 46svh;
    min-height: 390px;
    margin: 0 calc(var(--gutter) * -1);
  }

  .hero-portrait img {
    object-position: center bottom;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    margin-top: -80px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 34px;
  }

  .hero-name-en {
    font-size: clamp(64px, 15vw, 118px);
  }

  .hero-name-cn {
    font-size: clamp(42px, 9vw, 68px);
  }

  .hero-role {
    margin-top: 32px;
  }

  .intro-heading,
  .contact-heading {
    grid-template-columns: 1fr;
  }

  .intro-stats {
    grid-template-columns: 1fr;
  }

  .intro-stats > div {
    min-height: 86px;
  }

  .intro-stats > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .discipline {
    min-height: auto;
    padding: 34px 0 44px;
  }

  .discipline + .discipline {
    padding-left: 0;
    border-left: 0;
  }

  .discipline-symbol {
    margin-top: 28px;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
  }

  .project-card {
    min-height: 62svh;
  }

  .project-card--tall,
  .project-card--wide,
  .project-card--landscape,
  .project-card--square {
    min-height: 62svh;
  }

  .profile-column:first-child,
  .profile-column:nth-child(2),
  .profile-column:nth-child(3) {
    grid-column: 1 / 13;
  }

  .profile-column:nth-child(2) {
    margin-top: 20px;
  }

  .life-heading {
    grid-template-columns: 1fr;
  }

  .contact-heading {
    padding-top: 42px;
  }

  .contact-availability {
    top: 0;
    right: auto;
    left: 0;
  }

  .project-hero-copy,
  .project-story-intro {
    grid-template-columns: 1fr;
  }

  .project-cover {
    height: 65svh;
  }

  .project-overview {
    grid-template-columns: 1fr;
  }

  .project-story-row,
  .project-story-row--reverse {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-height: auto;
    padding: 104px var(--gutter) 84px;
  }

  .project-story-number,
  .project-story-row--reverse .project-story-number {
    position: absolute;
    z-index: 0;
    top: 24px;
    right: 10px;
    color: transparent;
    font-size: clamp(105px, 31vw, 220px);
    opacity: 0.38;
    text-align: right;
  }

  .project-story-copy,
  .project-story-row--reverse .project-story-copy {
    z-index: 1;
    grid-column: 1 / 7;
    grid-row: 2;
    max-width: 76%;
    margin-top: 55px;
  }

  .project-story-fragment,
  .project-story-row--reverse .project-story-fragment {
    z-index: 1;
    grid-column: 4 / 7;
    grid-row: 1;
    width: min(38vw, 240px);
    justify-self: end;
  }

  .palette-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .cursor-light {
    display: none;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid-lines {
    background-size: 25vw 25vw;
  }

  .hero-mark {
    top: 28%;
    font-size: 31vw;
  }

  .hero-inner {
    padding-top: 78px;
  }

  .hero-portrait {
    height: 41svh;
    min-height: 340px;
  }

  .portrait-frame {
    inset: 16px 16px 16px;
  }

  .portrait-caption {
    right: 26px;
    bottom: 26px;
    left: 32px;
  }

  .hero-copy {
    margin-top: -54px;
  }

  .hero-index {
    top: -22px;
    right: 0;
  }

  .hero-name-en {
    font-size: 18vw;
    white-space: normal;
  }

  .hero-name-cn {
    margin-top: -0.08em;
    font-size: 13vw;
  }

  .hero-statement {
    max-width: 330px;
    font-size: 19px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions .text-link,
  .contact-actions .button {
    width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .award-item {
    grid-template-columns: 76px 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .life-words {
    font-size: 20vw;
  }

  .contact-actions .button {
    justify-content: space-between;
  }

  .contact-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .qr-dialog {
    padding: 28px 20px;
  }

  .project-main {
    padding-top: 68px;
  }

  .project-hero h1 {
    font-size: 16vw;
  }

  .project-hero-title-en {
    font-size: 10vw;
  }

  .project-cover.is-portrait {
    min-height: auto;
    padding: 24px 16px;
  }

  .project-cover.is-portrait img {
    max-width: 100%;
    max-height: none;
  }

  .project-overview {
    padding: 78px var(--gutter);
  }

  .project-story-intro {
    padding: 78px var(--gutter) 48px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-meta-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .project-story-copy,
  .project-story-row--reverse .project-story-copy {
    max-width: 84%;
  }

  .project-gallery {
    columns: 1;
  }

  .project-boards-grid {
    grid-template-columns: 1fr;
  }

  .palette-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .palette-item {
    min-height: 130px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    backdrop-filter: none;
  }

  .site-nav {
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 108px var(--gutter) 42px;
    background: rgba(10, 10, 10, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 300ms ease,
      transform 350ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-download, .nav-say-hi) {
    padding: 14px 0;
    border-bottom: 1px solid var(--stroke);
    border-radius: 0;
    color: var(--text);
    background: transparent;
    font-family: var(--display);
    font-size: 34px;
    font-style: italic;
    line-height: 1.1;
  }

  .site-nav > a:not(.nav-download, .nav-say-hi):hover,
  .site-nav > a:not(.nav-download, .nav-say-hi).is-active {
    background: transparent;
  }

  .language-switch {
    align-self: flex-start;
    margin: 24px 0 4px;
    font-size: 14px;
  }

  .nav-download,
  .nav-say-hi {
    align-self: flex-start;
    width: auto;
    padding: 10px 16px;
    font-size: 13px;
  }

  .nav-download {
    margin-top: 6px;
  }

  .nav-say-hi {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Restore the second approved version (interactions, no video background). */
:root {
  --ink: #0b0c0d;
  --ink-soft: #121416;
  --ink-raised: #181b1d;
  --paper: #eee7db;
  --paper-light: #f7f2e9;
  --white: #f7f1e8;
  --muted: #a7a29a;
  --muted-dark: #67615b;
  --copper: #bd8853;
  --copper-light: #d6a56f;
  --mineral: #78968d;
  --line: rgba(247, 241, 232, 0.16);
  --line-dark: rgba(11, 12, 13, 0.17);
  --display: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --serif-cn: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
}

body {
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  width: auto;
  max-width: none;
  min-height: var(--header-height);
  margin: 0;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  min-height: 66px;
  border-color: var(--line);
  background: rgba(11, 12, 13, 0.86);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand {
  gap: 12px;
  padding-left: 0;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(247, 241, 232, 0.5);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-family: var(--display);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.04em;
}

.brand-mark::before,
.brand-mark::after {
  display: none;
}

.brand:hover .brand-mark {
  filter: none;
  transform: none;
}

.brand-name strong {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.brand-name small {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.site-nav {
  gap: clamp(20px, 2.4vw, 42px);
  margin-left: 0;
}

.site-nav > a:not(.nav-download, .nav-say-hi) {
  position: relative;
  padding: 0;
  border-radius: 0;
  color: rgba(247, 241, 232, 0.78);
  background: transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.site-nav > a:not(.nav-download, .nav-say-hi)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  display: block;
  height: 1px;
  background: var(--copper-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease);
}

.site-nav > a:not(.nav-download, .nav-say-hi):hover {
  color: var(--white);
  background: transparent;
}

.site-nav > a:not(.nav-download, .nav-say-hi):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  padding: 0;
  color: rgba(247, 241, 232, 0.34);
  font-size: 11px;
}

.language-switch button.is-active {
  color: var(--copper-light);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid rgba(247, 241, 232, 0.38);
  border-radius: 0;
  color: var(--white);
  background: transparent;
  font-size: 12px;
}

.nav-download:hover {
  color: var(--ink);
  background: var(--white);
}

.nav-say-hi {
  display: none;
}

.section-dark {
  color: var(--white);
  background: rgba(11, 12, 13, 0.78);
}

.theme-paper {
  color: #171513;
  background: rgba(238, 231, 219, 0.88);
}

.section-heading--paper > p:last-child,
.award-item p,
.profile-label,
.profile-column > p:not(.profile-label, .profile-note),
.profile-note,
.experience-row > span,
.experience-row p,
.life-tags span {
  color: var(--muted-dark);
}

.award-list,
.award-item,
.profile-section,
.profile-label,
.experience-row + .experience-row,
.life-section,
.life-tags,
.skill-cloud span {
  border-color: var(--line-dark);
}

.life-words span:nth-child(3) {
  -webkit-text-stroke-color: #171513;
}

.intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 46%;
  filter: grayscale(0.78) contrast(1.08) brightness(0.84);
  opacity: 0.82;
  pointer-events: none;
  transform: translate3d(var(--about-shift-x, 0), var(--about-shift-y, 0), 0) scale(1.035);
  transition: transform 760ms var(--ease);
}

.intro.is-pointer-active .intro-background {
  transition-duration: 180ms;
}

.cinematic-hero {
  height: 100svh;
  min-height: 620px;
  cursor: crosshair;
  background: #151617;
  isolation: isolate;
  touch-action: pan-y;
}

.project-page {
  background: var(--ink);
}

.project-hero {
  position: static;
  background: transparent;
}

.project-overview {
  color: #171513;
  background: var(--paper);
}

.project-story {
  background: var(--ink);
}

.project-story-row--reverse {
  background: var(--ink-soft);
}

.project-visual-section {
  background: transparent;
}

.project-boards {
  color: #171513;
  background: var(--paper);
}

.project-palette {
  background: transparent;
}

.project-meta,
.project-meta-item,
.project-meta-item:nth-child(even),
.board-item {
  border-color: var(--line-dark);
}

.project-meta-item span {
  color: var(--muted-dark);
}

.board-item {
  background: #ded5c7;
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    backdrop-filter: blur(18px);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin: 0;
    padding: 100px var(--gutter) 50px;
    background: rgba(11, 12, 13, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-16px);
    transition:
      opacity 300ms ease,
      transform 350ms var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a:not(.nav-download, .nav-say-hi) {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    color: rgba(247, 241, 232, 0.78);
    font-family: var(--serif-cn);
    font-size: 28px;
    letter-spacing: 0;
  }

  .language-switch {
    align-self: flex-start;
    margin: 30px 0 0;
    font-size: 16px;
  }

  .nav-download {
    align-self: flex-start;
    width: auto;
    margin-top: 24px;
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* About profile */
.about-profile {
  padding: clamp(92px, 8vw, 136px) 0 clamp(76px, 7vw, 118px);
  color: #f7f1e8;
  background: #050505;
}

.about-profile::before,
.about-profile::after {
  display: none;
}

.about-profile-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(247, 241, 232, 0.22);
}

.about-profile-head .section-kicker {
  margin: 0;
}

.about-profile-role {
  margin: 0;
  color: rgba(247, 241, 232, 0.5);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-profile-title {
  margin: clamp(26px, 3.5vw, 52px) 0 0;
  font-family: var(--display);
  font-size: clamp(68px, 10vw, 158px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.78;
  text-transform: uppercase;
}

.about-profile-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.2fr);
  gap: clamp(44px, 6vw, 104px);
  align-items: start;
  margin-top: clamp(48px, 5vw, 86px);
}

.about-portrait {
  margin: 0;
}

.about-portrait-frame {
  position: relative;
  overflow: visible;
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.about-portrait-frame::after {
  content: none;
}

.about-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  box-shadow: none;
  object-fit: contain;
  transition: transform 700ms var(--ease);
}

.about-portrait:hover .about-portrait-frame img {
  transform: scale(1.025);
}

.about-portrait figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 241, 232, 0.3);
}

.about-portrait figcaption strong {
  font-family: var(--serif-cn);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
}

.about-portrait figcaption span {
  color: rgba(247, 241, 232, 0.48);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.about-profile-content {
  min-width: 0;
}

.about-profile-summary {
  max-width: 900px;
  margin: 0;
  color: rgba(247, 241, 232, 0.88);
  font-size: clamp(19px, 2vw, 30px);
  font-weight: 300;
  line-height: 1.55;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(42px, 5vw, 72px);
  border-top: 1px solid rgba(247, 241, 232, 0.22);
  border-bottom: 1px solid rgba(247, 241, 232, 0.22);
}

.about-facts > div {
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: 20px 20px 20px 0;
}

.about-facts > div + div {
  padding-left: clamp(18px, 2.5vw, 36px);
  border-left: 1px solid rgba(247, 241, 232, 0.22);
}

.about-facts strong {
  font-family: var(--display);
  font-size: clamp(34px, 3.7vw, 58px);
  font-weight: 400;
  line-height: 0.82;
}

.about-facts span {
  color: rgba(247, 241, 232, 0.52);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 82px);
  border-top: 1px solid rgba(247, 241, 232, 0.22);
}

.about-detail {
  min-width: 0;
  padding: 28px clamp(22px, 3vw, 42px) 34px 0;
  border-right: 1px solid rgba(247, 241, 232, 0.22);
  border-bottom: 1px solid rgba(247, 241, 232, 0.22);
}

.about-detail:nth-child(even) {
  padding-right: 0;
  padding-left: clamp(22px, 3vw, 42px);
  border-right: 0;
}

.about-detail h3 {
  margin: 0 0 22px;
  color: var(--copper-light);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-detail p {
  margin: 0 0 9px;
  color: rgba(247, 241, 232, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.about-detail p:first-of-type {
  color: #f7f1e8;
  font-size: 16px;
}

.about-detail > span {
  display: block;
  margin-top: 12px;
  color: rgba(247, 241, 232, 0.48);
  font-size: 12px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(247, 241, 232, 0.24);
  color: rgba(247, 241, 232, 0.78);
  font-size: 11px;
  line-height: 1.2;
}

.about-contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 26px;
}

.about-contact > div {
  display: grid;
  gap: 7px;
}

.about-contact > div > span {
  color: rgba(247, 241, 232, 0.46);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-contact > div a {
  color: #f7f1e8;
  font-size: clamp(14px, 1.4vw, 19px);
  text-decoration: underline;
  text-decoration-color: rgba(247, 241, 232, 0.35);
  text-underline-offset: 5px;
}

.about-resume-link {
  padding: 12px 18px;
  border: 1px solid rgba(247, 241, 232, 0.45);
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    background-color 220ms ease;
}

.about-resume-link:hover {
  color: #050505;
  background: #f7f1e8;
}

@media (max-width: 1040px) {
  .about-profile-layout {
    grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.15fr);
    gap: 44px;
  }

  .about-detail {
    padding-right: 24px;
  }

  .about-detail:nth-child(even) {
    padding-left: 24px;
  }
}

@media (max-width: 900px) {
  .about-profile {
    padding-top: 118px;
  }

  .about-profile-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .about-portrait {
    width: min(100%, 560px);
  }

}

@media (max-width: 640px) {
  .about-profile-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-profile-title {
    font-size: clamp(64px, 23vw, 104px);
  }

  .about-profile-summary {
    font-size: 18px;
  }

  .about-facts > div {
    min-height: 88px;
    padding-right: 10px;
  }

  .about-facts > div + div {
    padding-left: 12px;
  }

  .about-facts strong {
    font-size: 34px;
  }

  .about-detail-grid {
    grid-template-columns: 1fr;
  }

  .about-detail,
  .about-detail:nth-child(even) {
    padding: 26px 0 30px;
    border-right: 0;
  }

  .about-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-resume-link {
    text-align: center;
  }
}

/* Work gallery */
.work-section {
  overflow: hidden;
}

.work-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.work-gallery-head .section-kicker {
  margin: 0;
}

.work-gallery-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.work-gallery-status {
  min-width: 58px;
  margin: 0 8px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.work-gallery-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(247, 241, 232, 0.32);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.work-gallery-button:hover:not(:disabled) {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.work-gallery-button:disabled {
  cursor: default;
  opacity: 0.28;
}

.work-gallery-button svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.project-grid.work-gallery-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: calc(100% + (var(--gutter) * 2));
  margin-left: calc(var(--gutter) * -1);
  padding: 44px var(--gutter) 52px;
  gap: clamp(14px, 1.5vw, 22px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  cursor: grab;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.project-grid.work-gallery-track::-webkit-scrollbar {
  display: none;
}

.project-grid.work-gallery-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.work-section .work-gallery-card {
  position: relative;
  display: block;
  flex: 0 0 clamp(320px, 31vw, 510px);
  width: clamp(320px, 31vw, 510px);
  min-width: 0;
  min-height: 0;
  overflow: visible;
  background: transparent;
  scroll-snap-align: center;
  opacity: var(--gallery-opacity, 1);
  transform: translateY(var(--gallery-shift, 0)) scale(var(--gallery-scale, 1));
  transition:
    opacity 240ms ease,
    transform 240ms var(--ease);
}

.work-section .work-gallery-card::after {
  display: none;
}

.work-section .work-gallery-card .project-image {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-raised);
}

.work-section .work-gallery-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.035) brightness(0.92);
  transform: scale(1.01);
  transition:
    transform 850ms var(--ease),
    filter 420ms ease;
}

.work-section .work-gallery-card:hover .project-image img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.055);
}

.work-section .work-gallery-card .project-card-copy {
  position: static;
  right: auto;
  bottom: auto;
  left: auto;
  padding-top: 16px;
}

.work-section .work-gallery-card .project-card-copy p {
  margin: 0 0 7px;
  color: rgba(247, 241, 232, 0.48);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.work-section .work-gallery-card .project-card-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.work-gallery-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: clamp(36px, 4vw, 62px);
  border-top: 1px solid var(--line);
}

.work-gallery-number,
.work-gallery-word {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.78;
}

.work-gallery-number {
  font-size: clamp(72px, 10vw, 154px);
}

.work-gallery-word {
  font-size: clamp(58px, 10vw, 150px);
}

@media (max-width: 900px) {
  .work-gallery-head {
    align-items: center;
  }

  .project-grid.work-gallery-track {
    padding-top: 34px;
  }

  .work-section .work-gallery-card {
    flex-basis: clamp(280px, 60vw, 360px);
    width: clamp(280px, 60vw, 360px);
  }
}

@media (max-width: 640px) {
  .work-gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-gallery-controls {
    align-self: flex-end;
  }

  .project-grid.work-gallery-track {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .work-section .work-gallery-card {
    flex-basis: 76vw;
    width: 76vw;
  }

  .work-gallery-number,
  .work-gallery-word {
    font-size: clamp(48px, 15vw, 68px);
  }

  .work-gallery-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .work-gallery-word {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-grid.work-gallery-track {
    scroll-snap-type: none;
  }
}

/* Simplified black portfolio sections */
.site-header,
.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: transparent;
  background: rgba(83, 83, 83, 0.94);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-nav {
  position: relative;
  isolation: isolate;
}

.site-nav > a,
.site-nav > .language-switch {
  position: relative;
  z-index: 2;
}

.nav-lamp {
  position: absolute;
  z-index: 1;
  top: -9px;
  bottom: -7px;
  left: var(--lamp-x, 50%);
  width: var(--lamp-width, 64px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  transition:
    left 360ms var(--ease),
    width 360ms var(--ease),
    opacity 180ms ease;
}

.site-nav.has-lamp .nav-lamp {
  opacity: 1;
}

.nav-lamp::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(42px, 72%);
  height: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.48);
  content: "";
  transform: translateX(-50%);
}

.nav-lamp::after {
  position: absolute;
  inset: 3px 0 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.82),
    rgba(255, 255, 255, 0.3) 48%,
    rgba(255, 255, 255, 0.02)
  );
  clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%);
  content: "";
  filter: blur(0.4px);
}

.site-nav .is-lamp-target {
  color: var(--ink);
}

.site-nav > a:not(.nav-download, .nav-say-hi):hover,
.site-nav > a:not(.nav-download, .nav-say-hi).is-active {
  background: transparent;
}

.about-facts {
  border: 0;
}

.about-facts > div + div {
  padding-left: 0;
  border-left: 0;
}

.about-detail-grid {
  gap: 0 clamp(42px, 6vw, 92px);
  border-top: 0;
}

.about-detail,
.about-detail:nth-child(even) {
  padding: 30px 0 38px;
  border-right: 0;
  border-bottom: 0;
}

.about-detail:nth-child(even) {
  padding-left: 0;
}

.about-tags {
  display: block;
  color: rgba(247, 241, 232, 0.7);
  font-size: 13px;
  line-height: 1.8;
}

.about-tags span {
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
}

.about-tags span:not(:last-child)::after {
  margin: 0 5px;
  color: rgba(247, 241, 232, 0.28);
  content: "/";
}

.work-gallery-footer {
  margin-top: clamp(46px, 6vw, 96px);
}

.awards-section,
.profile-section,
.life-section {
  color: #fff;
  background: #000;
}

.awards-section {
  padding: clamp(90px, 11vw, 160px) 0;
}

.awards-section .award-list {
  border-top: 0;
}

.awards-section .award-item {
  min-height: 96px;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.awards-section .award-item::before,
.awards-section .award-item::after {
  display: none;
}

.awards-section .award-item:hover > *,
.awards-section .award-item.is-active > * {
  transform: none;
}

.awards-section .award-item > span {
  color: rgba(255, 255, 255, 0.48);
}

.awards-section .award-item h3 {
  color: #fff;
}

.awards-section .award-item p {
  color: rgba(255, 255, 255, 0.58);
}

.profile-section {
  border-top: 0;
}

.profile-section .profile-grid {
  gap: clamp(32px, 4vw, 72px);
}

.profile-section .profile-label {
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.46);
}

.profile-section .profile-column > h3,
.profile-section .experience-row h3 {
  color: #fff;
}

.profile-section .profile-column > p:not(.profile-label, .profile-note),
.profile-section .experience-row > span {
  color: rgba(255, 255, 255, 0.58);
}

.profile-section .experience-row,
.profile-section .experience-row + .experience-row {
  padding-top: 0;
  border-top: 0;
}

.profile-section .experience-row + .experience-row {
  margin-top: 24px;
}

.profile-section .skill-cloud {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.9;
}

.profile-section .skill-cloud span {
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
}

.profile-section .skill-cloud span:not(:last-child)::after {
  margin: 0 5px;
  color: rgba(255, 255, 255, 0.28);
  content: "/";
}

.profile-section .skill-cloud span:hover,
.profile-section .skill-cloud span.is-active {
  color: #fff;
  background: transparent;
  transform: none;
}

.profile-section .skill-cloud span.is-active::after {
  display: none;
}

.life-section {
  padding: clamp(64px, 8vw, 118px) 0;
  border-top: 0;
}

.life-section .life-tags {
  justify-content: center;
  gap: 18px clamp(24px, 4vw, 54px);
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.life-section .life-tags span {
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
}

.life-section .life-tags span:hover,
.life-section .life-tags span.is-active {
  color: var(--copper-light);
  background: transparent;
}

@media (max-width: 900px) {
  .nav-lamp {
    display: none;
  }

  .awards-section .award-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .about-detail,
  .about-detail:nth-child(even) {
    padding: 24px 0 28px;
  }

  .awards-section .award-item {
    min-height: 86px;
  }

  .life-section .life-tags {
    justify-content: flex-start;
  }
}

/* Transparent navigation and card-style about content */
.site-header,
.site-header.is-scrolled,
.site-header.is-menu-open {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 8, 0.2);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}

@media (min-width: 901px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    top: 14px;
    right: auto;
    left: 50%;
    width: max-content;
    max-width: calc(100vw - 32px);
    min-height: 0;
    margin: 0;
    padding: 5px 7px;
    border-color: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(28, 28, 28, 0.52);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transform: translateX(-50%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    backdrop-filter: blur(24px) saturate(150%);
  }

  .site-header.is-scrolled,
  .site-header.is-menu-open {
    background: rgba(25, 25, 25, 0.68);
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .brand {
    gap: 7px;
    padding: 0 3px 0 1px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 10px;
  }

  .brand-name strong {
    font-size: 10px;
  }

  .brand-name small {
    margin-top: 1px;
    font-size: 8px;
  }

  .site-nav {
    gap: 2px;
    margin-left: 4px;
  }

  .site-nav > a:not(.nav-download, .nav-say-hi) {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
  }

  .language-switch {
    padding: 0 4px;
    font-size: 10px;
  }

  .nav-download {
    gap: 5px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 10px;
  }

  .nav-download svg {
    width: 12px;
    height: 12px;
  }
}

.nav-lamp {
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 7px 20px rgba(255, 255, 255, 0.06);
}

.nav-lamp::before {
  top: 2px;
  width: min(24px, 52%);
  height: 3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.38);
}

.nav-lamp::after {
  display: none;
}

.site-nav .is-lamp-target {
  color: #fff;
}

.about-profile-card {
  position: relative;
  padding: clamp(28px, 3.2vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(24px, 3vw, 38px);
  background: #0d0d0d;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.about-profile-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    -30deg,
    transparent 60%,
    rgba(113, 103, 86, 0.3) 70%,
    transparent
  );
  background-position:
    -100% -100%,
    0 0;
  background-repeat: no-repeat;
  background-size:
    300% 300%,
    100% 100%;
  content: "";
  pointer-events: none;
  transition: background-position 800ms ease;
}

.about-profile-card > * {
  position: relative;
  z-index: 1;
}

.about-profile-card:hover::before,
.about-profile-card:focus-within::before {
  background-position:
    100% 100%,
    0 0;
}

.about-profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.56);
  background: #1c1c1c;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.about-profile-question {
  display: flex;
  align-items: baseline;
  margin: 22px 0 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(42px, 4.8vw, 76px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.about-profile-name-en {
  margin-left: 0.08em;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--sans);
  font-size: 0.3em;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.about-profile-card .about-profile-summary {
  max-width: 720px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.65;
}

.about-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.about-profile-stats > span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.about-profile-stats strong {
  color: #fff;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
}

.about-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.about-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #fff;
  background: #1b1b1b;
  font-size: 13px;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 260ms var(--ease);
}

.about-action--solid {
  color: #0a0a0a;
  background: #fff;
}

.about-action:hover,
.about-action:focus-visible {
  transform: translateY(-2px);
}

.about-action svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}

.about-rows {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}

.about-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 62px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #191919;
  outline: none;
  transition:
    border-color 240ms ease,
    background-color 240ms ease,
    transform 280ms var(--ease);
}

.about-row:hover,
.about-row:focus-visible,
.about-row.is-active {
  border-color: rgba(255, 255, 255, 0.12);
  background: #242424;
  transform: translateX(7px);
}

.about-row strong {
  min-width: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 550;
}

.about-row span {
  min-width: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

.about-row small {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.work-section .work-gallery-card .project-card-copy h3 {
  overflow: visible;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.35;
  white-space: normal;
}

@media (max-width: 900px) {
  .about-profile-card {
    padding: 28px 20px;
  }

  .about-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .about-row > span {
    grid-column: 1;
    grid-row: 2;
  }

  .about-row small {
    grid-column: 2;
    grid-row: 1 / 3;
  }
}

@media (max-width: 640px) {
  .about-profile-question {
    font-size: 44px;
  }

  .about-profile-action {
    width: 100%;
  }

  .about-action {
    flex: 1 1 100%;
  }

  .about-row {
    align-items: start;
    border-radius: 22px;
  }
}

/* Immersive 3D work carousel */
.work-section {
  position: relative;
  padding: clamp(118px, 13vw, 190px) 0 clamp(110px, 12vw, 170px);
  background:
    radial-gradient(980px 560px at 50% 48%, rgba(77, 105, 126, 0.24), transparent 68%),
    linear-gradient(180deg, #050607 0%, #0a0d10 46%, #050607 100%);
}

.work-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  content: "";
  mask-image: radial-gradient(circle at 50% 56%, #000 0%, transparent 66%);
  pointer-events: none;
}

.work-section .section-shell {
  position: relative;
}

.work-section .section-shell::after {
  position: absolute;
  z-index: 0;
  top: 28%;
  left: 50%;
  width: min(1380px, 108vw);
  height: min(620px, 58vw);
  border: 1px solid rgba(168, 198, 220, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(122, 162, 193, 0.17), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 -34px 90px rgba(95, 135, 165, 0.09);
  content: "";
  pointer-events: none;
  transform: translateX(-50%) rotateX(68deg);
  transform-origin: center top;
}

.work-gallery-head,
.work-gallery-track {
  position: relative;
  z-index: 2;
}

.work-gallery-head {
  align-items: center;
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.work-gallery-head .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.work-gallery-controls {
  gap: 8px;
}

.work-gallery-status {
  color: rgba(255, 255, 255, 0.52);
}

.work-gallery-button {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.work-gallery-button:hover:not(:disabled) {
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.project-grid.work-gallery-track {
  align-items: center;
  min-height: min(78vh, 760px);
  padding:
    72px
    max(var(--gutter), calc(50vw - clamp(160px, 15.5vw, 255px)))
    88px;
  gap: clamp(16px, 2vw, 30px);
  overflow-x: auto;
  overflow-y: hidden;
  perspective: 1500px;
  perspective-origin: 50% 46%;
  scroll-snap-type: x mandatory;
}

.work-section .work-gallery-card {
  --gallery-pointer-x: 0deg;
  --gallery-pointer-y: 0deg;
  overflow: hidden;
  flex: 0 0 clamp(320px, 31vw, 510px);
  width: clamp(320px, 31vw, 510px);
  padding: 10px 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(44, 50, 55, 0.76), rgba(12, 14, 16, 0.96) 62%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: blur(var(--gallery-blur, 0));
  opacity: var(--gallery-opacity, 1);
  transform:
    perspective(1200px)
    translate3d(0, var(--gallery-shift, 0), var(--gallery-depth, 0))
    rotateX(var(--gallery-pointer-x))
    rotateY(calc(var(--gallery-rotate, 0deg) + var(--gallery-pointer-y)))
    scale(var(--gallery-scale, 1));
  transform-origin: center center;
  transform-style: preserve-3d;
  transition:
    opacity 380ms ease,
    filter 420ms ease,
    transform 680ms var(--ease),
    border-color 380ms ease,
    box-shadow 380ms ease;
  scroll-snap-align: center;
  will-change: transform, opacity, filter;
}

.work-section .work-gallery-card.is-active {
  border-color: rgba(210, 228, 240, 0.34);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 54px rgba(116, 161, 194, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.work-section .work-gallery-card::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    radial-gradient(circle at 72% 18%, rgba(152, 192, 221, 0.12), transparent 36%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 340ms ease;
}

.work-section .work-gallery-card:hover::after,
.work-section .work-gallery-card:focus-visible::after {
  opacity: 1;
}

.work-section .work-gallery-card .project-image {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.work-section .work-gallery-card .project-card-copy {
  position: relative;
  z-index: 4;
  padding: 16px 8px 8px;
}

.work-section .work-gallery-card .project-card-copy p {
  color: rgba(255, 255, 255, 0.42);
}

.work-section .work-gallery-card .project-card-copy h3 {
  color: rgba(255, 255, 255, 0.82);
  transition:
    color 320ms ease,
    transform 420ms var(--ease);
}

.work-section .work-gallery-card.is-active .project-card-copy h3,
.work-section .work-gallery-card:hover .project-card-copy h3 {
  color: #fff;
  transform: translateX(4px);
}

.work-gallery-footer {
  display: none;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
  }

  .work-section {
    padding: 92px 0 104px;
  }

  .work-section .section-shell::after {
    display: none;
  }

  .project-grid.work-gallery-track {
    min-height: 0;
    padding:
      38px
      max(var(--gutter), calc(50vw - clamp(140px, 30vw, 180px)))
      50px;
    perspective: 1000px;
  }

  .work-section .work-gallery-card {
    flex-basis: clamp(280px, 60vw, 360px);
    width: clamp(280px, 60vw, 360px);
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-section .work-gallery-card {
    filter: none;
    transition:
      opacity 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease;
  }
}

.work-section {
  background: #000;
}

.work-section::before,
.work-section .section-shell::after {
  display: none;
}

/* Editorial certificate archive */
.awards-section {
  position: relative;
  padding: clamp(94px, 8vw, 128px) 0 clamp(96px, 8.5vw, 138px);
  background: #000;
}

.awards-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(22px, 2vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.awards-heading .section-kicker {
  margin: 0 0 18px;
  color: #e25822;
}

.awards-heading-title {
  margin: 0;
  color: #f0ece3;
  font-family: var(--sans);
  font-size: clamp(52px, 7vw, 102px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.85;
}

.awards-heading-meta {
  display: grid;
  justify-items: end;
  gap: 4px;
  padding-bottom: 5px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.awards-heading-meta strong {
  color: #e25822;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.awards-timeline {
  display: grid;
}

.award-year-group {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(58px, 7vw, 98px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.award-year-group:last-child {
  border-bottom: 0;
}

.award-year-rail {
  position: sticky;
  top: 108px;
  align-self: start;
  padding-top: 2px;
}

.award-year-rail > span {
  display: block;
  margin-bottom: 10px;
  color: #e25822;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.award-year-rail h3 {
  margin: 0;
  color: #f0ece3;
  font-family: var(--sans);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.95;
}

.award-year-rail p {
  display: grid;
  gap: 3px;
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.award-year-rail p strong {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(16px, 2vw, 26px);
}

.award-card {
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: #060606;
  cursor: zoom-in;
  transition:
    border-color 380ms ease,
    box-shadow 420ms ease,
    transform 520ms var(--ease);
}

.award-card[data-layout="wide"] {
  grid-column: span 6;
}

.award-card[data-layout="feature"] {
  display: grid;
  grid-column: span 8;
  grid-template-columns: minmax(0, 1.45fr) minmax(210px, 0.75fr);
}

.award-card-media {
  display: grid;
  min-height: 0;
  margin: 0;
  padding: 12px;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 65%),
    #0c0c0c;
}

.award-card[data-layout="feature"] .award-card-media {
  min-height: 420px;
  aspect-ratio: auto;
}

.award-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.03);
  transform: scale(1);
  transition:
    filter 480ms ease,
    transform 1.05s var(--ease);
}

.award-card-copy {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  padding: 20px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.award-card[data-layout="feature"] .award-card-copy {
  min-height: 0;
  padding: clamp(24px, 3vw, 42px);
  border-top: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.award-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  color: #e25822;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.award-card-meta span:last-child {
  color: rgba(255, 255, 255, 0.38);
  text-align: right;
}

.award-card-copy h4 {
  margin: 0;
  color: #f0ece3;
  font-family: var(--sans);
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.award-card-copy > p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.65;
}

.award-card-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: color 260ms ease;
}

.award-card-action svg {
  width: 14px;
  height: 14px;
  transition: transform 380ms var(--ease);
}

.js .award-card.reveal {
  transition-delay: var(--award-delay, 0ms);
}

@media (hover: hover) {
  .award-card:hover,
  .award-card:focus-visible {
    border-color: rgba(226, 88, 34, 0.72);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44);
    transform: translateY(-5px);
  }

  .award-card:hover .award-card-media img,
  .award-card:focus-visible .award-card-media img {
    filter: saturate(1) contrast(1.02);
    transform: scale(1.035);
  }

  .award-card:hover .award-card-action,
  .award-card:focus-visible .award-card-action {
    color: #e25822;
  }

  .award-card:hover .award-card-action svg,
  .award-card:focus-visible .award-card-action svg {
    transform: translate(3px, -3px);
  }
}

.award-lightbox {
  width: min(94vw, 1420px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  color: #f0ece3;
  background: transparent;
  overflow: visible;
}

.award-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.award-lightbox-figure {
  display: grid;
  max-height: 92vh;
  margin: 0;
  gap: 16px;
}

.award-lightbox-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #111;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

.award-lightbox-figure figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  padding: 0 2px;
}

.award-lightbox-figure figcaption span {
  color: #e25822;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.award-lightbox-figure figcaption strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
}

.award-lightbox-close,
.award-lightbox-arrow {
  position: fixed;
  z-index: 2;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(12, 12, 12, 0.72);
}

.award-lightbox-close {
  top: 22px;
  right: 26px;
}

.award-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.award-lightbox-arrow--prev {
  left: 26px;
}

.award-lightbox-arrow--next {
  right: 26px;
}

@media (max-width: 900px) {
  .awards-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .awards-heading-meta {
    justify-items: start;
  }

  .award-year-group {
    grid-template-columns: 1fr;
  }

  .award-year-rail {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 14px;
  }

  .award-year-rail > span,
  .award-year-rail p {
    margin: 0;
  }

  .award-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .award-card,
  .award-card[data-layout="wide"],
  .award-card[data-layout="feature"] {
    display: block;
    grid-column: span 1;
  }

  .award-card[data-layout="feature"] {
    grid-column: span 2;
  }

  .award-card[data-layout="feature"] .award-card-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .award-card[data-layout="feature"] .award-card-copy {
    min-height: 178px;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 600px) {
  .award-grid {
    grid-template-columns: 1fr;
  }

  .award-card[data-layout="feature"] {
    grid-column: span 1;
  }

  .award-card-copy {
    min-height: 164px;
  }

  .award-lightbox-arrow {
    top: auto;
    bottom: 18px;
  }

  .award-lightbox-arrow--prev {
    left: 18px;
  }

  .award-lightbox-arrow--next {
    right: 18px;
  }

  .award-lightbox-figure figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 56px;
  }

  .award-lightbox-figure figcaption strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .award-card,
  .award-card-media img {
    transition: none;
  }
}

/* Sci-fi honors console */
.awards-console {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(36px, 4vw, 58px);
}

.awards-year-nav {
  position: sticky;
  top: 108px;
  align-self: start;
  display: grid;
  gap: 2px;
}

.awards-year-nav button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0 13px 14px;
  border: 0;
  color: rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    color 280ms ease,
    transform 320ms var(--ease);
}

.awards-year-nav button::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 1px;
  background: #e25822;
  content: "";
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition:
    opacity 220ms ease,
    transform 360ms var(--ease);
}

.awards-year-nav button span {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.awards-year-nav button small {
  color: inherit;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.awards-year-nav button:hover {
  color: rgba(255, 255, 255, 0.72);
}

.awards-year-nav button.is-active {
  color: #fff;
  transform: translateX(28px);
}

.awards-year-nav button.is-active::before {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}

.awards-year-nav button.is-active small {
  color: #e25822;
}

.awards-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.74fr) minmax(0, 1.26fr);
  min-height: clamp(460px, 38vw, 540px);
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}

.awards-stage::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: radial-gradient(circle at 70% 48%, #000 0%, transparent 72%);
  pointer-events: none;
}

.awards-stage::after {
  position: absolute;
  top: -1px;
  right: 8%;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e25822 34%, #4b71ff);
  box-shadow: 0 0 18px rgba(75, 113, 255, 0.55);
  content: "";
}

.awards-stage-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(34px, 4vw, 62px);
}

.awards-stage-date {
  min-height: 18px;
  margin: 0 0 clamp(30px, 5vw, 64px);
  color: #e25822;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.awards-stage-number {
  display: block;
  max-width: 7.6em;
  margin: 0;
  color: #f4f1eb;
  font-family: var(--display);
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
}

.awards-stage-result {
  max-width: 28em;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.awards-stage-category {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 22px;
  padding: 6px 10px;
  border: 1px solid rgba(75, 113, 255, 0.42);
  color: rgba(170, 196, 255, 0.82);
  background: rgba(40, 58, 122, 0.12);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.awards-stage-controls {
  position: absolute;
  right: auto;
  bottom: clamp(30px, 3.6vw, 56px);
  left: clamp(34px, 4vw, 62px);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.awards-stage-button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    border-color 260ms ease,
    color 260ms ease,
    background-color 260ms ease,
    transform 320ms var(--ease);
}

.awards-stage-button:hover {
  border-color: #e25822;
  color: #e25822;
  background: rgba(226, 88, 34, 0.08);
  transform: translateY(-2px);
}

.awards-stage-button svg {
  width: 18px;
  height: 18px;
}

.awards-visual {
  --award-tilt-x: 0deg;
  --award-tilt-y: 0deg;
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  perspective: 1200px;
}

.awards-visual-glow {
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(circle at 62% 42%, rgba(94, 41, 177, 0.47), transparent 48%),
    radial-gradient(circle at 72% 70%, rgba(37, 95, 169, 0.3), transparent 54%);
  filter: blur(28px);
  opacity: 0.82;
  transition: opacity 480ms ease;
}

.awards-visual-grid {
  position: absolute;
  inset: 12% 5%;
  border: 1px solid rgba(92, 132, 255, 0.14);
  background:
    linear-gradient(rgba(85, 125, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 125, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: perspective(900px) rotateX(63deg);
  transform-origin: center bottom;
}

.awards-stage-media {
  position: absolute;
  inset: 8% 6% 12%;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(174, 198, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(62, 49, 110, 0.32), rgba(8, 10, 18, 0.96) 56%);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.68),
    0 0 54px rgba(82, 75, 203, 0.2);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  transform:
    perspective(1200px)
    rotateX(var(--award-tilt-x))
    rotateY(calc(-12deg + var(--award-tilt-y)))
    rotateZ(-3deg)
    translateY(-4px);
  transform-origin: center;
  transition:
    border-color 420ms ease,
    box-shadow 420ms ease,
    transform 580ms var(--ease);
}

.awards-stage-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.04) brightness(0.94);
  transform: scale(1.02);
  transition:
    filter 460ms ease,
    transform 1.1s var(--ease);
}

.awards-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 5px,
    rgba(104, 144, 255, 0.075) 6px,
    transparent 7px
  );
  mix-blend-mode: screen;
  opacity: 0.42;
  pointer-events: none;
  animation: award-scan 6s linear infinite;
}

.awards-visual:hover .awards-stage-media {
  border-color: rgba(226, 88, 34, 0.62);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.74),
    0 0 70px rgba(83, 87, 224, 0.3);
}

.awards-visual:hover .awards-stage-media img {
  filter: saturate(1) contrast(1.02) brightness(1);
  transform: scale(1.035);
}

.awards-visual:hover .awards-visual-glow {
  opacity: 1;
}

.awards-filmstrip {
  grid-column: 2;
  display: flex;
  gap: 10px;
  padding-top: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.awards-filmstrip::-webkit-scrollbar {
  display: none;
}

.awards-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090909;
  cursor: pointer;
  opacity: 0.48;
  transition:
    border-color 300ms ease,
    opacity 300ms ease,
    transform 360ms var(--ease);
}

.awards-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.awards-thumb:hover,
.awards-thumb.is-active {
  border-color: #e25822;
  opacity: 1;
  transform: translateY(-3px);
}

.awards-console.is-updating .awards-stage-copy > * {
  animation: award-copy-in 540ms var(--ease) both;
}

.awards-console.is-updating .awards-stage-copy > *:nth-child(2) {
  animation-delay: 40ms;
}

.awards-console.is-updating .awards-stage-copy > *:nth-child(3) {
  animation-delay: 80ms;
}

.awards-console.is-updating .awards-stage-copy > *:nth-child(4) {
  animation-delay: 120ms;
}

.awards-console.is-updating .awards-stage-media {
  animation: award-media-in 720ms var(--ease) both;
}

@keyframes award-scan {
  from {
    transform: translateY(-8%);
  }

  to {
    transform: translateY(8%);
  }
}

@keyframes award-copy-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes award-media-in {
  from {
    opacity: 0;
    transform:
      perspective(1200px)
      rotateX(var(--award-tilt-x))
      rotateY(calc(-16deg + var(--award-tilt-y)))
      rotateZ(-4deg)
      translateX(28px);
  }

  to {
    opacity: 1;
    transform:
      perspective(1200px)
      rotateX(var(--award-tilt-x))
      rotateY(calc(-12deg + var(--award-tilt-y)))
      rotateZ(-3deg)
      translateY(-4px);
  }
}

@media (max-width: 900px) {
  .awards-console {
    grid-template-columns: 1fr;
  }

  .awards-year-nav {
    position: sticky;
    z-index: 8;
    top: 72px;
    display: flex;
    gap: 4px;
    padding: 8px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    scrollbar-width: none;
  }

  .awards-year-nav::-webkit-scrollbar {
    display: none;
  }

  .awards-year-nav button {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .awards-year-nav button::before {
    display: none;
  }

  .awards-year-nav button.is-active {
    border-color: rgba(226, 88, 34, 0.68);
    color: #e25822;
    transform: none;
  }

  .awards-stage {
    grid-template-columns: 1fr;
  }

  .awards-stage-copy {
    min-height: 480px;
  }

  .awards-stage-media {
    inset: 7% 4% 10%;
  }

  .awards-filmstrip {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .awards-stage-copy {
    min-height: 450px;
    padding: 30px 22px;
  }

  .awards-stage-date {
    margin-bottom: 54px;
  }

  .awards-visual {
    min-height: 430px;
  }

  .awards-stage-media {
    inset: 6% 3% 8%;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  }

  .awards-thumb {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awards-scanline {
    animation: none;
  }

  .awards-console.is-updating .awards-stage-copy > *,
  .awards-console.is-updating .awards-stage-media {
    animation: none;
  }
}

/* Keep only the certificate artwork in every viewer */
.awards-stage-media,
.awards-visual:hover .awards-stage-media {
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.awards-stage-media img,
.awards-visual:hover .awards-stage-media img {
  background: transparent;
  filter:
    saturate(0.96)
    contrast(1.025)
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.62));
}

.awards-thumb {
  background: transparent;
}

.award-lightbox-figure img {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.72));
}

/* Global faulty terminal background */
.faulty-terminal-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050505;
  pointer-events: none;
}

.faulty-terminal-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.faulty-terminal-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.34)),
    radial-gradient(circle at 50% 44%, transparent 12%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.58) 100%);
  content: "";
}

.faulty-terminal-bg.is-unavailable {
  background:
    radial-gradient(circle at 50% 40%, rgba(142, 128, 112, 0.14), transparent 48%),
    #050505;
}

body {
  position: relative;
  background: #050505;
}

main {
  position: relative;
  z-index: 1;
}

.about-profile,
.work-section,
.awards-section {
  background: rgba(4, 4, 4, 0.76);
}

.contact-section {
  background: transparent;
}

/* Accordion gallery for selected work */
.project-grid.work-gallery-track {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: calc(100% + (var(--gutter) * 2));
  height: 460px;
  min-height: 460px;
  margin-left: calc(var(--gutter) * -1);
  padding: 0;
  overflow: visible;
  perspective: 1200px;
  transform:
    perspective(1200px)
    rotateX(var(--gallery-tilt-x, 0deg))
    rotateY(var(--gallery-tilt-y, 0deg));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  touch-action: pan-y;
  cursor: default;
  user-select: none;
  transition: transform 520ms cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform;
}

.work-section .work-gallery-card {
  position: relative;
  top: auto;
  left: auto;
  flex: var(--gallery-grow, 1) 1 0%;
  width: auto;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #060010;
  box-shadow:
    0 22px 50px -28px rgba(0, 0, 0, 0.92),
    0 8px 24px -16px rgba(0, 0, 0, 0.84);
  opacity: 1;
  transform: none;
  transform-style: preserve-3d;
  cursor: pointer;
  transition:
    flex-grow 600ms cubic-bezier(0.215, 0.61, 0.355, 1),
    border-color 420ms cubic-bezier(0.215, 0.61, 0.355, 1),
    box-shadow 420ms ease;
  will-change: flex-grow;
}

.work-section .work-gallery-card::before {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: #fff;
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition:
    opacity 320ms ease,
    transform 600ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.work-section .work-gallery-card::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(6, 0, 16, 0.02) 10%,
      rgba(6, 0, 16, 0.26) 52%,
      rgba(6, 0, 16, 0.92) 100%
    ),
    rgba(6, 0, 16, 0.16);
  content: "";
  opacity: 0.92;
  pointer-events: none;
  transition: opacity 520ms ease;
}

.work-section .work-gallery-card.is-active {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 34px 74px -30px rgba(0, 0, 0, 0.96),
    0 12px 30px -18px rgba(0, 0, 0, 0.82);
}

.work-section .work-gallery-card.is-active::before {
  opacity: 1;
  transform: scaleX(1);
}

.work-section .work-gallery-card.is-active::after {
  opacity: 0.82;
}

.work-section .work-gallery-card:active {
  transform: none;
}

.work-section .work-gallery-card .project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  background: #060010;
}

.work-section .work-gallery-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.66) contrast(1.08);
  transform:
    translate3d(
      var(--card-parallax-x, 0px),
      var(--card-parallax-y, 0px),
      0
    )
    scale(1.065);
  transition:
    transform 540ms cubic-bezier(0.215, 0.61, 0.355, 1),
    filter 620ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.work-section .work-gallery-card:hover .project-image img,
.work-section .work-gallery-card.is-active .project-image img {
  filter: grayscale(0.08) brightness(0.9) contrast(1.04);
  transform:
    translate3d(
      var(--card-parallax-x, 0px),
      var(--card-parallax-y, 0px),
      0
    )
    scale(1.095);
}

.work-section .work-gallery-card .project-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  padding: 86px 22px 22px;
  color: #fff;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 0, 16, 0.12) 44%,
    rgba(6, 0, 16, 0.78) 100%
  );
  pointer-events: none;
  transition:
    padding 600ms cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 420ms ease;
}

.work-section .work-gallery-card .project-card-copy p {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  transition:
    opacity 360ms ease var(--gallery-stagger, 0s),
    transform 520ms cubic-bezier(0.215, 0.61, 0.355, 1)
      var(--gallery-stagger, 0s);
}

.work-section .work-gallery-card .project-card-copy h3 {
  color: #fff;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.22;
  text-wrap: balance;
  transition:
    font-size 520ms cubic-bezier(0.215, 0.61, 0.355, 1)
      var(--gallery-stagger, 0s),
    letter-spacing 520ms cubic-bezier(0.215, 0.61, 0.355, 1)
      var(--gallery-stagger, 0s),
    opacity 360ms ease var(--gallery-stagger, 0s);
}

.work-section .work-gallery-card:not(.is-active) .project-card-copy {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
  padding: 22px 10px;
  background:
    linear-gradient(
      180deg,
      rgba(6, 0, 16, 0.2) 0%,
      rgba(6, 0, 16, 0.34) 46%,
      rgba(6, 0, 16, 0.94) 100%
    );
}

.work-section .work-gallery-card:not(.is-active) .project-card-copy p {
  display: none;
}

.work-section .work-gallery-card:not(.is-active) .project-card-copy h3 {
  max-height: calc(100% - 28px);
  overflow: hidden;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--serif-cn);
  font-size: 15px;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.work-section .work-gallery-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.work-gallery-dots {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
}

.work-gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition:
    width 260ms var(--ease),
    background-color 260ms ease;
}

.work-gallery-dots button:hover,
.work-gallery-dots button.is-active {
  width: 22px;
  background: #fff;
}

@media (max-width: 900px) {
  .project-grid.work-gallery-track {
    height: 420px;
    min-height: 420px;
    gap: 8px;
  }

  .work-section .work-gallery-card {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  .project-grid.work-gallery-track {
    height: 400px;
    min-height: 400px;
    gap: 7px;
  }

  .work-section .work-gallery-card .project-card-copy {
    padding: 72px 16px 17px;
  }

  .work-section .work-gallery-card .project-card-copy h3 {
    font-size: 19px;
  }

  .work-section .work-gallery-card:not(.is-active) .project-card-copy {
    padding: 18px 7px;
  }

  .work-section .work-gallery-card:not(.is-active) .project-card-copy h3 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-grid.work-gallery-track,
  .work-section .work-gallery-card,
  .work-section .work-gallery-card::before,
  .work-section .work-gallery-card::after,
  .work-section .work-gallery-card .project-image img,
  .work-section .work-gallery-card .project-card-copy,
  .work-section .work-gallery-card .project-card-copy h3 {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .project-grid.work-gallery-track {
    transform: none;
    will-change: auto;
  }
}

/* Keep the honor title compact and reserve space for controls */
.awards-stage {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.awards-stage-copy {
  padding-bottom: clamp(90px, 7vw, 112px);
}

.awards-stage-copy h3 {
  max-width: none;
  margin: clamp(26px, 3.4vw, 46px) 0 0;
  overflow: hidden;
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.awards-stage-controls {
  flex-wrap: nowrap;
}

.awards-stage-controls > span {
  min-width: 54px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .awards-stage {
    grid-template-columns: 1fr;
  }
}

.antigravity-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.antigravity-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

main {
  z-index: 2;
}

/* Gooey interaction for contact actions */
.contact-actions {
  --gooey-color-1: #ffffff;
  --gooey-color-2: #89aacc;
  --gooey-color-3: #686653;
  --gooey-color-4: #e25822;
  position: relative;
  isolation: isolate;
  transform: translateZ(0.01px);
}

.contact-actions .button {
  position: relative;
  z-index: 3;
  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease,
    transform 300ms var(--ease);
}

.contact-actions .button.is-gooey-active {
  color: #050505;
  border-color: #fff;
  background: #fff;
}

.contact-gooey-filter {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  width: 0;
  height: 0;
  place-items: center;
  filter: blur(7px) contrast(100) blur(0);
  mix-blend-mode: screen;
  pointer-events: none;
}

.contact-gooey-filter::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background: #fff;
  content: "";
  opacity: 0;
  transform: scale(0);
}

.contact-gooey-filter.active::after {
  animation: gooey-pill 300ms ease both;
}

.contact-gooey-filter .particle,
.contact-gooey-filter .point {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.contact-gooey-filter .particle {
  --time: 1.5s;
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 10px);
  opacity: 0;
  transform-origin: center;
  animation: gooey-particle var(--time) ease 1 -350ms;
}

.contact-gooey-filter .point {
  background: var(--color);
  opacity: 1;
  animation: gooey-point var(--time) ease 1 -350ms;
}

@keyframes gooey-pill {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gooey-particle {
  0% {
    opacity: 1;
    transform: rotate(0deg) translate(var(--start-x), var(--start-y));
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }

  70% {
    opacity: 1;
    transform:
      rotate(calc(var(--rotate) * 0.5))
      translate(calc(var(--end-x) * 1.2), calc(var(--end-y) * 1.2));
    animation-timing-function: ease;
  }

  85% {
    opacity: 1;
    transform:
      rotate(calc(var(--rotate) * 0.66))
      translate(var(--end-x), var(--end-y));
  }

  100% {
    opacity: 1;
    transform:
      rotate(calc(var(--rotate) * 1.2))
      translate(calc(var(--end-x) * 0.5), calc(var(--end-y) * 0.5));
  }
}

@keyframes gooey-point {
  0% {
    opacity: 0;
    transform: scale(0);
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
  }

  25% {
    transform: scale(calc(var(--scale) * 0.25));
  }

  38% {
    opacity: 1;
  }

  65%,
  85% {
    opacity: 1;
    transform: scale(var(--scale));
  }

  100% {
    opacity: 0;
    transform: scale(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-gooey-filter {
    display: none;
  }

  .contact-actions .button {
    transition: none;
  }
}

/* Drifting certificate wall behind the honors console */
.awards-stage {
  background: rgba(5, 5, 5, 0.78);
}

.awards-drift-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: var(--dw-perspective, 1200px);
  perspective-origin: 50% 50%;
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(ellipse 78% 82% at 50% 46%, #000 var(--dw-edge, 40%), transparent 100%),
    linear-gradient(to top, #000 var(--dw-edge, 40%), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(ellipse 78% 82% at 50% 46%, #000 var(--dw-edge, 40%), transparent 100%),
    linear-gradient(to top, #000 var(--dw-edge, 40%), transparent 100%);
  mask-composite: intersect;
}

.awards-drift-wall .drift-wall__plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: row;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}

.awards-drift-wall .drift-wall__col {
  position: relative;
  width: calc(var(--dw-tile-w) + var(--dw-gap));
  transform-style: preserve-3d;
}

.awards-drift-wall .drift-wall__track {
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  will-change: transform;
}

.awards-drift-wall .drift-wall__tile {
  position: relative;
  display: block;
  width: 100%;
  height: calc(var(--dw-tile-h) + var(--dw-gap));
  flex: 0 0 auto;
}

.awards-drift-wall .drift-wall__inner {
  position: absolute;
  inset: calc(var(--dw-gap) / 2);
  display: block;
  overflow: hidden;
  border-radius: var(--dw-radius);
  background: #0b0b12;
  opacity: var(--dw-dim);
  transform: translateZ(0);
}

.awards-drift-wall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  user-select: none;
}

.awards-drift-wall .drift-wall__overlay {
  position: absolute;
  inset: 0;
  background: var(--dw-overlay);
  opacity: 0.42;
}

@media (prefers-reduced-motion: reduce) {
  .awards-drift-wall .drift-wall__plane,
  .awards-drift-wall .drift-wall__track {
    will-change: auto;
  }
}

/* Let the portrait fully occupy the left half of the About section */
@media (min-width: 901px) {
  .about-profile-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(32px, 4vw, 68px);
    align-items: stretch;
  }

  .about-portrait {
    height: 100%;
  }

  .about-portrait-frame {
    height: clamp(520px, 45vw, 680px);
    overflow: hidden;
  }

  .about-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
  }
}

@media (max-width: 900px) {
  .about-portrait-frame {
    height: min(60svh, 520px);
    overflow: hidden;
  }

  .about-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 46%;
  }
}
