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

* {
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --bg: #000;
  --panel: #060606;
  --ink: #f3eee3;
  --muted: rgba(243, 238, 227, 0.68);
  --subtle: rgba(243, 238, 227, 0.44);
  --line: rgba(243, 238, 227, 0.13);
  --line-strong: rgba(243, 238, 227, 0.24);
  --gold: #d6aa5d;
  --nav-h: 72px;
  --max: 1700px;
  --page-pad: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  --section-width: min(calc(100% - 48px), var(--max));
  --font-ui: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: Futura, "Futura PT", "Avenir Next", "Helvetica Neue", Helvetica, Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 22px);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

:lang(zh-CN) body {
  line-height: 1.72;
}

:lang(zh-CN) .rich-copy,
:lang(zh-CN) .section-intro,
:lang(zh-CN) .hero-copy,
:lang(zh-CN) .project-intro {
  line-height: 1.78;
}

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

button,
a {
  font: inherit;
}

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

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

::selection {
  background: rgba(214, 170, 93, 0.45);
  color: #fff;
}

.site-nav {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--nav-h);
  padding: 14px var(--page-pad);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
  backdrop-filter: blur(18px);
}

.site-nav.scrolled {
  background: rgba(0, 0, 0, 0.86);
}

.nav-inner {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav-mark {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-actions,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-actions {
  justify-content: flex-end;
  gap: 8px;
}

.nav-links {
  gap: 8px;
  list-style: none;
}

.nav-links a,
.language-trigger,
.detail-back {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 14px;
  border: 1px solid transparent;
  color: rgba(243, 238, 227, 0.78);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.language-trigger:hover,
.language-trigger:focus-visible,
.detail-back:hover,
.detail-back:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.language-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.language-trigger {
  color: var(--gold);
}

.language-options {
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  z-index: 100;
  display: grid;
  min-width: 150px;
  padding: 10px 8px 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.language-menu:hover .language-options,
.language-menu:focus-within .language-options,
.language-menu.is-open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-options button {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 560;
}

.language-options button:hover,
.language-options button:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
}

.nav-hamburger {
  display: none;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("hero_bg.png") center / cover no-repeat;
  filter: brightness(0.48) contrast(1.05) saturate(0.86);
  transform: scale(1.025);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.46) 54%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1) 58%, #000);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 72px), var(--max));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 28px) 0 54px clamp(16px, 1.7vw, 32px);
}

.eyebrow,
.section-label,
.block-label,
.detail-label {
  color: var(--gold);
  font-size: clamp(0.84rem, 0.95vw, 1.04rem);
  font-weight: 650;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-title {
  max-width: 13ch;
  margin-top: 1.28rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(4.9rem, 8vw, 6.65rem);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(980px, 100%);
  margin-top: 1.45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.06vw, 1.1rem);
  font-weight: 400;
  line-height: 1.56;
}

.hero-copy p {
  max-width: 84ch;
}

.hero-copy p:first-child {
  max-width: 78ch;
  color: var(--ink);
  font-weight: 650;
}

.hero-copy p + p {
  margin-top: 0.86rem;
}

.section {
  width: var(--section-width);
  margin: 0 auto;
  padding: clamp(74px, 8vw, 140px) 0;
}

.section-head {
  max-width: 980px;
  margin-bottom: clamp(38px, 4.5vw, 68px);
  text-align: left;
}

.section-head-centered {
  margin-inline: 0;
  text-align: left;
}

.works-section .section-head-centered,
.capabilities-section .section-head {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.works-section .section-intro {
  margin-right: auto;
  margin-left: auto;
  text-align: left;
}

.section-title {
  margin-top: 0.75rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 3.45vw, 3.15rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-intro {
  max-width: 860px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.06vw, 1.1rem);
  line-height: 1.68;
}

.section-intro p + p {
  margin-top: 0.65rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 30px);
}

.work-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.work-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.work-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.76) saturate(0.94);
  transform: scale(1.01);
  transition: filter 300ms ease, transform 500ms ease;
}

.work-card:hover img,
.work-card:focus-visible img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.04);
}

.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 2.2vw, 38px);
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.84) 100%);
}

.work-number {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.1;
}

.work-overlay h3 {
  max-width: 12ch;
  margin-top: 0.58rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.78rem, 2.72vw, 3.55rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.work-overlay p {
  margin-top: 1rem;
  color: rgba(243, 238, 227, 0.72);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-section-label {
  margin-bottom: clamp(34px, 4vw, 58px);
  text-align: center;
}

.about-lead {
  display: grid;
  width: min(100%, 1100px);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(220px, 300px) minmax(0, 760px);
  gap: clamp(40px, 4.8vw, 82px);
  align-items: stretch;
  justify-content: center;
}

.about-portrait {
  position: static;
  width: min(100%, 300px);
  min-height: 100%;
  justify-self: end;
  background: var(--panel);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) contrast(1.02);
}

.about-copy {
  max-width: 980px;
  padding-top: 0.08rem;
}

.block-label {
  display: block;
  margin-bottom: 1.32rem;
}

.rich-copy {
  color: var(--muted);
  font-size: clamp(0.98rem, 1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.74;
}

.rich-copy p + p {
  margin-top: 1.08rem;
}

.about-options {
  display: grid;
  width: min(100%, 1180px);
  grid-template-columns: 1fr;
  gap: 18px;
  margin: clamp(54px, 6vw, 92px) auto 0;
}

.about-option {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(24px, 3vw, 54px);
  min-height: 150px;
  padding: clamp(28px, 3.1vw, 48px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 38%), var(--panel);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.about-option:hover,
.about-option:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}

.about-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
}

.about-option h3,
.about-page-option h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 2vw, 2.1rem);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: 0;
}

.about-option p,
.about-page-option p {
  max-width: 760px;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 1vw, 1.04rem);
  line-height: 1.6;
}

.about-option strong,
.about-page-option strong {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 650;
  text-transform: uppercase;
}

.capability-grid {
  display: grid;
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 46px);
}

.capability-card {
  min-height: 0;
  padding: 0;
  background: transparent;
}

.capability-card h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.26rem, 1.55vw, 1.72rem);
  font-weight: 560;
  line-height: 1.12;
}

.capability-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.software-row {
  margin-top: clamp(36px, 4.5vw, 62px);
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.software-row span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.3;
  text-transform: uppercase;
}

.software-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.software-row b {
  display: inline;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-layout {
  display: grid;
  width: min(100%, 1500px);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
}

.contact-statement {
  padding-left: clamp(18px, 2vw, 38px);
}

.contact-heading {
  max-width: 780px;
  margin-top: 1.28rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 2.55vw, 2.35rem);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-location {
  margin-top: 2.8rem;
  color: var(--gold);
  font-size: clamp(0.95rem, 1vw, 1.08rem);
  font-weight: 650;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  min-height: 118px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 220ms ease, border-color 220ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.contact-card span {
  display: block;
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 0.9rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.75vw, 1.86rem);
  font-weight: 560;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.footer {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

/* Project detail pages */
.detail-page {
  background: var(--bg);
}

.project-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #050505;
  background-position: center;
  background-size: cover;
}

.project-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.56) 48%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.14) 45%, #000);
}

.detail-back {
  position: absolute;
  top: 34px;
  left: var(--page-pad);
  z-index: 4;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
}

.project-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--section-width);
  margin: 0 auto;
  padding: 132px 0 88px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.56fr);
  gap: clamp(46px, 6vw, 96px);
  align-items: end;
}

.project-copy h1 {
  max-width: 12ch;
  margin-top: 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5.25rem);
  font-weight: 560;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.project-type {
  margin-top: 1.65rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-intro {
  width: min(720px, 100%);
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  font-weight: 500;
  line-height: 1.58;
}

.hero-info-card {
  width: 100%;
  align-self: end;
  padding: clamp(24px, 2.2vw, 34px);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(12px);
}

.hero-info-card .detail-label {
  margin-bottom: 14px;
}

.hero-info-card .meta-row {
  grid-template-columns: 112px minmax(0, 1fr);
  padding: 14px 0;
}

.project-player {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.7);
}

.project-player video,
.player-placeholder {
  width: 100%;
  height: 100%;
}

.project-player video {
  object-fit: contain;
  background: #000;
}

.player-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.project-body {
  width: var(--section-width);
  margin: 0 auto;
  padding: clamp(62px, 7vw, 106px) 0 120px;
}

.project-video-section {
  width: min(100%, 1420px);
  margin: 0 auto;
}

.project-player-large {
  width: 100%;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.72);
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.42fr) minmax(220px, 0.92fr);
  gap: clamp(34px, 4vw, 70px);
  width: min(100%, 1420px);
  margin: clamp(54px, 6vw, 88px) auto 0;
  align-items: start;
}

.detail-column {
  min-width: 0;
}

.detail-section + .detail-section {
  margin-top: 46px;
}

.detail-label {
  display: block;
  margin-bottom: 20px;
}

.meta-list,
.credit-list,
.awards-block ul {
  border-top: 1px solid var(--line);
}

.meta-row,
.credit-row,
.awards-block li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.meta-row span,
.credit-row span {
  color: var(--subtle);
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
}

.meta-row strong,
.credit-row strong {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.38;
}

.approach-block h2 {
  max-width: 620px;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.85vw, 2.08rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-columns .rich-copy {
  font-size: clamp(0.94rem, 0.98vw, 1.02rem);
  line-height: 1.72;
}

.awards-block ul {
  list-style: none;
}

.festival-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.awards-block li {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.gallery-block {
  width: min(100%, 1420px);
  margin: clamp(60px, 6.5vw, 96px) auto 0;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-gallery figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

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

.detail-not-found {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.detail-not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.6rem);
  font-weight: 560;
}

/* About detail page */
.about-page-nav {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--nav-h);
  padding: 14px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.24));
  backdrop-filter: blur(18px);
}

.about-page-back {
  position: static;
}

.about-page-lang {
  margin-left: auto;
}

.about-page-content {
  width: min(calc(100% - 120px), 1440px);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 86px) 0 120px;
}

.about-page-head {
  max-width: 900px;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.about-page-head .about-number {
  display: block;
  margin-top: 1.6rem;
}

.about-page-head h1 {
  max-width: 900px;
  margin-top: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.9vw, 4.15rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

.about-page-grid {
  display: grid;
  gap: 20px;
}

.about-page-card {
  max-width: 980px;
}

.about-page-card .rich-copy {
  font-size: clamp(1rem, 1.06vw, 1.1rem);
  line-height: 1.78;
}

.about-page-option {
  max-width: 1120px;
}

@media (max-width: 1180px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-hero-inner,
  .detail-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 66px;
    --section-width: min(calc(100% - 40px), var(--max));
    --page-pad: 20px;
  }

  .site-nav {
    padding-top: 11px;
    padding-bottom: 11px;
    backdrop-filter: none;
  }

  .nav-mark {
    font-size: 0.9rem;
    max-width: calc(100vw - 210px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px var(--page-pad) 24px;
    background: rgba(0, 0, 0, 0.98);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
    padding: 13px 0;
    font-size: 0.92rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .language-trigger {
    padding-inline: 10px;
    font-size: 0.74rem;
  }

  .language-options {
    right: 0;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-bg {
    background-position: center;
  }

  .hero-content {
    padding-top: calc(var(--nav-h) + 42px);
    padding-bottom: 58px;
    padding-left: 0;
  }

  .hero-title {
    margin-top: 1rem;
    font-size: clamp(3rem, 9.4vw, 4.35rem);
    line-height: 0.98;
  }

  .hero-copy {
    margin-top: 1.05rem;
    font-size: 0.92rem;
    line-height: 1.58;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-title {
    font-size: clamp(2rem, 8.2vw, 2.76rem);
  }

  .work-grid,
  .about-lead,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-statement {
    padding-left: 0;
  }

  .about-portrait {
    width: min(100%, 300px);
    max-width: 300px;
    min-height: auto;
    justify-self: center;
  }

  .about-portrait img {
    height: auto;
    object-fit: contain;
  }

  .about-option {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 26px;
  }

  .software-row {
    grid-template-columns: 1fr;
  }

  .project-hero {
    min-height: auto;
    align-items: flex-start;
  }

  .detail-back {
    top: 20px;
    left: 20px;
  }

  .project-hero-inner {
    padding-top: 92px;
    padding-bottom: 52px;
    gap: 32px;
  }

  .project-copy h1 {
    font-size: clamp(2.65rem, 11.5vw, 3.9rem);
  }

  .project-intro {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .hero-info-card {
    padding: 22px;
    backdrop-filter: none;
  }

  .project-player {
    min-width: 0;
  }

  .project-body {
    padding-top: 48px;
  }

  .detail-columns {
    margin-top: 44px;
    gap: 40px;
  }

  .about-page-nav {
    padding: 11px 20px;
  }

  .about-page-content {
    width: var(--section-width);
    padding-top: calc(var(--nav-h) + 58px);
    padding-bottom: 88px;
  }

  .about-page-head h1 {
    font-size: clamp(2.05rem, 9.2vw, 3.35rem);
  }
}

@media (max-width: 560px) {
  .nav-mark {
    max-width: calc(100vw - 184px);
  }

  .eyebrow,
  .section-label,
  .block-label,
  .detail-label {
    font-size: 0.82rem;
  }

  .work-overlay {
    padding: 20px;
  }

  .work-overlay h3 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .capability-grid,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .meta-row,
  .credit-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-heading {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .contact-card {
    padding: 24px;
  }
}

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

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

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