﻿:root {
  --bg: #060606;
  --bg-soft: #101010;
  --bg-warm: #14100d;
  --panel: rgba(17, 13, 11, 0.72);
  --panel-strong: rgba(13, 10, 9, 0.84);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --text: #f4efe6;
  --muted: rgba(244, 239, 230, 0.72);
  --muted-soft: rgba(244, 239, 230, 0.46);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(239, 203, 122, 0.24);
  --gold: #efcb7a;
  --gold-soft: rgba(239, 203, 122, 0.14);
  --pink: #f06b95;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.26);
  --shell: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(239, 203, 122, 0.06), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(240, 107, 149, 0.06), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(239, 203, 122, 0.035), transparent 34%),
    linear-gradient(180deg, #080808 0%, #060505 58%, #050505 100%);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.is-loading {
  overflow: hidden;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  background:
    radial-gradient(circle at center, rgba(239, 203, 122, 0.035), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(3, 3, 3, 0.995));
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-loader-mark {
  position: relative;
  width: 156px;
  height: 156px;
}

.loader-frame,
.loader-axis,
.loader-dot {
  position: absolute;
  inset: 0;
  margin: auto;
}

.loader-frame {
  border: 1px solid rgba(244, 239, 230, 0.14);
}

.loader-frame-outer {
  width: 100%;
  height: 100%;
  animation: loader-outer 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-frame-inner {
  width: 62%;
  height: 62%;
  border-color: rgba(239, 203, 122, 0.28);
  animation: loader-inner 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-axis {
  background: rgba(244, 239, 230, 0.16);
}

.loader-axis-h {
  width: 60%;
  height: 1px;
  animation: loader-axis-h 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-axis-v {
  width: 1px;
  height: 60%;
  animation: loader-axis-v 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(239, 203, 122, 0.22);
  animation: loader-dot 1.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.intro-loader-label {
  margin: 0;
  color: rgba(244, 239, 230, 0.7);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.intro-loader-progress {
  position: relative;
  width: min(280px, calc(100vw - 96px));
  height: 2px;
  background: rgba(239, 203, 122, 0.14);
  overflow: hidden;
}

.intro-loader-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(239, 203, 122, 0.88), rgba(239, 203, 122, 1));
  transform: scaleX(var(--loader-progress, 0));
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(239, 203, 122, 0.22);
  transition: transform 0.18s linear;
}

@keyframes loader-outer {
  0%,
  100% {
    transform: rotate(45deg) scale(0.88);
    border-color: rgba(244, 239, 230, 0.12);
  }
  50% {
    transform: rotate(0deg) scale(1);
    border-color: rgba(239, 203, 122, 0.26);
  }
}

@keyframes loader-inner {
  0%,
  100% {
    transform: rotate(0deg) scale(0.92);
    opacity: 0.72;
  }
  50% {
    transform: rotate(-45deg) scale(1.08);
    opacity: 1;
  }
}

@keyframes loader-axis-h {
  0%,
  100% {
    transform: scaleX(0.38);
    opacity: 0.22;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.56;
  }
}

@keyframes loader-axis-v {
  0%,
  100% {
    transform: scaleY(0.38);
    opacity: 0.22;
  }
  50% {
    transform: scaleY(1);
    opacity: 0.56;
  }
}

@keyframes loader-dot {
  0%,
  100% {
    transform: translate(-24px, -24px) scale(0.82);
    opacity: 0.28;
  }
  50% {
    transform: translate(24px, 24px) scale(1);
    opacity: 1;
  }
}

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

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

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

.background-canvas,
.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-canvas {
  z-index: -3;
}

.background-grid {
  z-index: -2;
  opacity: 0.24;
  background:
    linear-gradient(rgba(239, 203, 122, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 203, 122, 0.012) 1px, transparent 1px);
  background-size: 84px 84px, 84px 84px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5) 24%, rgba(255, 255, 255, 0.5) 76%, rgba(255, 255, 255, 0.2));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 22px 0 0;
  transition: transform 0.32s ease, opacity 0.32s ease, padding 0.32s ease;
}

.site-header.is-scrolled {
  padding-top: 16px;
}

.site-header.is-hidden {
  transform: translateY(-120%);
  opacity: 0;
}

.header-shell,
.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.header-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.header-tools {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.language-switch {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.44);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

.language-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc((100% - 12px) / 2);
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d892 0%, #efc46d 100%);
  box-shadow: 0 12px 24px rgba(239, 203, 122, 0.18);
  transform: translateX(calc((100% + 4px) * var(--language-index, 0)));
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease;
  z-index: 0;
}

.language-option {
  position: relative;
  z-index: 1;
  min-width: 84px;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.24s ease, transform 0.24s ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.language-option.is-active {
  color: #18130c;
}

.language-option[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.brand-link {
  display: none;
}

.brand-logo {
  width: clamp(126px, 14vw, 176px);
  height: auto;
  object-fit: contain;
  filter: saturate(0.7) brightness(0.94) contrast(1.03) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
  opacity: 0.94;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0;
  border-radius: 0;
  color: rgba(244, 239, 230, 0.62);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--gold);
  background: transparent;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.32s ease, background-color 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.header-cta,
.button-primary {
  color: #18130c;
  background: linear-gradient(135deg, #f4d892 0%, #efc46d 100%);
  box-shadow: 0 16px 34px rgba(239, 203, 122, 0.18);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(239, 203, 122, 0.24);
}

.button-secondary {
  color: inherit;
  background: transparent;
  border-color: currentColor;
  box-shadow: none;
}

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

.header-cta {
  display: none;
}

.nav-toggle {
  display: none;
  place-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: 112px 0 56px;
}

.section[id] {
  scroll-margin-top: 92px;
}

.section-shell {
  position: relative;
  z-index: 1;
}

.hero,
.section-contact {
  color: var(--text);
}

.hero {
  min-height: 100svh;
  overflow: clip;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(6, 6, 6, 0.44), rgba(6, 6, 6, 0.84)),
    linear-gradient(90deg, rgba(6, 6, 6, 0.92) 0%, rgba(6, 6, 6, 0.58) 45%, rgba(6, 6, 6, 0.82) 100%),
    url("asset/witch-04.jpg") center/cover no-repeat;
  transform: scale(1.03);
  filter: saturate(0.72) brightness(0.58);
}

.hero::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 58%, rgba(15, 11, 10, 0.34) 78%, rgba(8, 6, 6, 0.84) 100%),
    radial-gradient(circle at 20% 65%, rgba(239, 203, 122, 0.08), transparent 32%),
    radial-gradient(circle at 78% 28%, rgba(240, 107, 149, 0.08), transparent 24%);
}

.hero-shell {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(260px, 1fr) auto;
  min-height: calc(100svh - 168px);
  gap: 18px;
}

.hero-copy {
  max-width: 470px;
  align-self: end;
}

.hero-title,
.section-heading h2,
.work-copy h3,
.contact-panel h2 {
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-title {
  display: grid;
  gap: 10px;
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 6.6rem);
  line-height: 0.96;
}

.hero-title-en {
  color: rgba(255, 255, 255, 0.78);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.16rem, 2vw, 1.9rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slogan {
  margin: 18px 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 700;
}

.hero-description,
.section-copy,
.feature-summary,
.contact-panel p {
  margin: 0;
  line-height: 1.8;
  font-size: 0.98rem;
}

.hero-description {
  max-width: 28rem;
  color: rgba(244, 239, 230, 0.84);
}

.hero-actions,
.feature-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  position: absolute;
  inset: 11% 0 auto 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-stage {
  position: relative;
  width: min(62vw, 780px);
  aspect-ratio: 1.08 / 0.78;
  pointer-events: auto;
}

.hero-logo-panel {
  position: absolute;
  inset: 13% 9%;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(10, 10, 10, 0.14);
  transform: translate3d(calc((var(--pointer-x, 0.5) - 0.5) * 16px), calc((var(--pointer-y, 0.5) - 0.5) * 16px), 0);
  transition: transform 0.35s ease;
}

.hero-logo-panel img {
  width: min(100%, 720px);
  height: auto;
  object-fit: contain;
  filter: saturate(0.76) brightness(0.94) contrast(1.05) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.32));
  opacity: 0.94;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(239, 203, 122, 0.09);
}

.orbit-one {
  inset: 6% 18% 17% 6%;
  transform: rotate(17deg);
}

.orbit-two {
  inset: 15% 8% 14% 17%;
  border-color: rgba(240, 107, 149, 0.08);
  transform: rotate(-12deg);
}

.orbit-three {
  inset: 27% 11% 8% 20%;
  border-color: rgba(255, 255, 255, 0.05);
  border-style: dashed;
  transform: rotate(32deg);
}

.floating-note {
  position: absolute;
  left: 7%;
  bottom: 10%;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.5);
  backdrop-filter: blur(12px);
}

.floating-note span {
  color: var(--muted-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-note strong {
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  display: inline;
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  line-height: 0.98;
  padding: 0 0.08em 0.06em 0;
  background-image: linear-gradient(180deg, transparent 68%, rgba(239, 203, 122, 0.16) 68%, rgba(239, 203, 122, 0.16) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-studio {
  min-height: 72svh;
  display: flex;
  align-items: center;
  background: transparent;
}

.section-studio::before,
.section-studio::after,
.section-contact::before,
.section-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-studio::before {
  background:
    linear-gradient(180deg, rgba(10, 8, 8, 0.08) 0%, rgba(10, 8, 8, 0.26) 18%, rgba(10, 8, 8, 0.18) 82%, rgba(10, 8, 8, 0.08) 100%),
    radial-gradient(circle at 18% 20%, rgba(239, 203, 122, 0.05), transparent 24%),
    radial-gradient(circle at 80% 68%, rgba(240, 107, 149, 0.045), transparent 22%);
}

.section-studio::after {
  background:
    linear-gradient(rgba(239, 203, 122, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 203, 122, 0.01) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.1;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.7) 18%, rgba(255, 255, 255, 0.7) 82%, transparent 100%);
}

.studio-brief {
  display: grid;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-brief p {
  margin: 0;
  max-width: 44rem;
  color: var(--text);
  font-size: 1.04rem;
  line-height: 1.9;
}

.tag-list li {
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-section {
  --scene-progress: 0;
  --scene-intensity: 0;
  overflow: clip;
  isolation: isolate;
}

.scene-track {
  position: relative;
  min-height: auto;
}

.scene-sticky {
  position: relative;
  min-height: auto;
  display: block;
}

.scene-shell {
  min-height: calc(100svh - 168px);
  display: grid;
  align-content: center;
}

.section-work,
.section-gallery {
  background: transparent;
}

.section-work::before,
.section-work::after,
.section-gallery::before,
.section-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-work::before {
  background:
    linear-gradient(180deg, rgba(15, 11, 10, 0.04) 0%, rgba(15, 11, 10, 0.22) 18%, rgba(8, 7, 6, 0.34) 58%, rgba(8, 7, 6, 0.12) 88%, rgba(8, 7, 6, 0) 100%),
    radial-gradient(circle at 72% 22%, rgba(239, 203, 122, 0.085), transparent 28%),
    radial-gradient(circle at 28% 82%, rgba(240, 107, 149, 0.05), transparent 24%),
    linear-gradient(rgba(239, 203, 122, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 203, 122, 0.01) 1px, transparent 1px);
  background-size: auto, auto, auto, 96px 96px, 96px 96px;
  opacity: calc(0.11 + var(--scene-intensity) * 0.15);
  transform: scale(calc(1.02 - var(--scene-progress) * 0.02));
  transition: opacity 0.25s ease;
}

.section-work::after {
  background:
    radial-gradient(circle at 58% 44%, rgba(255, 255, 255, 0.045), transparent 38%);
  opacity: calc(0.04 + var(--scene-progress) * 0.08);
}

.section-gallery::before {
  background:
    linear-gradient(180deg, rgba(11, 9, 9, 0.06) 0%, rgba(11, 9, 9, 0.2) 22%, rgba(7, 7, 7, 0.3) 54%, rgba(7, 7, 7, 0.18) 84%, rgba(7, 7, 7, 0.04) 100%),
    radial-gradient(circle at 18% 34%, rgba(240, 107, 149, 0.055), transparent 22%),
    radial-gradient(circle at 84% 70%, rgba(239, 203, 122, 0.075), transparent 26%),
    linear-gradient(rgba(239, 203, 122, 0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 203, 122, 0.008) 1px, transparent 1px);
  background-size: auto, auto, auto, 120px 120px, 120px 120px;
  opacity: calc(0.1 + var(--scene-intensity) * 0.13);
  transform: scale(calc(1.01 - var(--scene-progress) * 0.015));
  transition: opacity 0.25s ease;
}

.section-gallery::after {
  background:
    radial-gradient(circle at 44% 52%, rgba(255, 255, 255, 0.035), transparent 44%);
  opacity: calc(0.035 + var(--scene-progress) * 0.07);
}

.work-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 38px;
  align-items: center;
  margin-top: 0;
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.media-frame img {
  width: 100%;
  height: 100%;
}

.work-visual {
  width: min(100%, 760px);
  min-height: 0;
  aspect-ratio: 616 / 353;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 9, 8, 0.72);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.2);
  transform: translate3d(calc((1 - var(--scene-progress)) * -36px), calc((1 - var(--scene-progress)) * 34px), 0) scale(calc(0.92 + var(--scene-progress) * 0.08));
  opacity: calc(0.3 + var(--scene-progress) * 0.7);
  appearance: none;
  cursor: pointer;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.work-visual:hover,
.work-visual:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.26);
}

.work-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 616 / 353;
  object-fit: contain;
  filter: none;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.work-copy {
  transform: translate3d(calc((1 - var(--scene-progress)) * 28px), calc((1 - var(--scene-progress)) * 44px), 0);
  opacity: calc(0.24 + var(--scene-progress) * 0.76);
}

.feature-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-copy h3 {
  margin: 0;
  display: inline;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.98;
  padding: 0 0.08em 0.06em 0;
  background-image: linear-gradient(180deg, transparent 70%, rgba(239, 203, 122, 0.16) 70%, rgba(239, 203, 122, 0.16) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.feature-summary {
  margin-top: 18px;
  max-width: 27rem;
  color: rgba(244, 239, 230, 0.76);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 239, 230, 0.8);
  background: rgba(255, 255, 255, 0.02);
}

.media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background: rgba(20, 18, 16, 0.92);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
}

.media-frame.is-fallback .media-fallback {
  opacity: 1;
}

.media-frame.is-fallback img {
  opacity: 0;
}

.gallery-collage {
  position: relative;
  min-height: min(64vh, 720px);
  margin-top: 8px;
}

.gallery-card {
  position: absolute;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 9, 8, 0.72);
  box-shadow: var(--shadow);
  cursor: pointer;
  transform: translate3d(calc(var(--drift-x) * (1 - var(--scene-progress))), calc(var(--drift-y) * (1 - var(--scene-progress))), 0) rotate(calc(var(--tilt) * (0.35 + (1 - var(--scene-progress)) * 0.65))) scale(calc(0.92 + var(--scene-progress) * 0.08));
  opacity: calc(0.28 + var(--scene-progress) * 0.72);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.gallery-card-media {
  overflow: hidden;
  background: rgba(6, 6, 6, 0.72);
}

.gallery-card-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: rgba(6, 6, 6, 0.72);
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  background: transparent;
}

.gallery-card-caption {
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-card-index {
  color: var(--muted-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slot-hero {
  top: 8%;
  left: 7%;
  width: 34%;
  z-index: 5;
  --tilt: -6deg;
  --drift-x: -80px;
  --drift-y: 90px;
}

.slot-wide-top {
  top: 1%;
  right: 6%;
  width: 34%;
  z-index: 3;
  --tilt: 4deg;
  --drift-x: 100px;
  --drift-y: -70px;
}

.slot-left-mid {
  top: 45%;
  left: 4%;
  width: 24%;
  z-index: 2;
  --tilt: -4deg;
  --drift-x: -110px;
  --drift-y: 60px;
}

.slot-right-mid {
  top: 32%;
  right: 14%;
  width: 25%;
  z-index: 4;
  --tilt: 6deg;
  --drift-x: 90px;
  --drift-y: 50px;
}

.slot-left-bottom {
  top: 54%;
  left: 32%;
  width: 24%;
  z-index: 3;
  --tilt: -3deg;
  --drift-x: -40px;
  --drift-y: 120px;
}

.slot-wide-bottom {
  right: 5%;
  bottom: 2%;
  width: 33%;
  z-index: 1;
  --tilt: 5deg;
  --drift-x: 120px;
  --drift-y: 90px;
}

.section-contact {
  min-height: auto;
  display: block;
  padding: 72px 0 28px;
  background: transparent;
}

.section-contact::before {
  background:
    linear-gradient(180deg, rgba(9, 9, 9, 0.02) 0%, rgba(5, 5, 5, 0.18) 16%, rgba(3, 3, 3, 0.88) 46%, rgba(2, 2, 2, 0.98) 100%),
    radial-gradient(circle at 16% 18%, rgba(239, 203, 122, 0.03), transparent 20%),
    radial-gradient(circle at 74% 70%, rgba(240, 107, 149, 0.02), transparent 16%);
}

.section-contact::after {
  background:
    linear-gradient(rgba(239, 203, 122, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 203, 122, 0.01) 1px, transparent 1px);
  background-size: 108px 108px;
  opacity: 0.07;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.45) 18%, rgba(255, 255, 255, 0.45) 100%);
}

.contact-footer {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 30px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-footer h2 {
  margin: 0 0 14px;
  display: inline;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  padding: 0 0.08em 0.06em 0;
  background-image: linear-gradient(180deg, transparent 70%, rgba(239, 203, 122, 0.14) 70%, rgba(239, 203, 122, 0.14) 88%, transparent 88%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 26px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.contact-column-title {
  margin: 0 0 4px;
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  color: var(--text);
  border-bottom: 1px solid rgba(239, 203, 122, 0.24);
  transition: color 0.22s ease, border-color 0.22s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-muted {
  margin: 0;
  color: rgba(244, 239, 230, 0.48);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.visit-widget {
  display: inline-grid;
  justify-items: start;
  gap: 6px;
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.34);
  backdrop-filter: blur(8px);
}

.visit-widget-hero {
  position: absolute;
  top: 10%;
  right: 6%;
  z-index: 3;
}

.visit-widget-label {
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit-widget-value {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: rgba(4, 4, 4, 0.94);
  backdrop-filter: blur(12px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.lightbox-figure img {
  max-width: min(1280px, 100%);
  max-height: 78vh;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.lightbox-figure figcaption {
  color: var(--muted);
}

.lightbox-close,
.lightbox-nav {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  font-size: 2rem;
}

@media (max-width: 1100px) {
  .hero-visual {
    position: relative;
    inset: auto;
    justify-content: flex-start;
    margin-top: 24px;
    pointer-events: auto;
  }

  .hero-stage {
    width: min(90vw, 760px);
  }

  .work-showcase,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .studio-brief {
    grid-template-columns: 1fr;
  }

  .gallery-collage {
    min-height: 760px;
  }

  .slot-hero {
    width: 42%;
  }

  .slot-wide-top,
  .slot-wide-bottom {
    width: 40%;
  }

  .slot-left-mid,
  .slot-right-mid,
  .slot-left-bottom {
    width: 28%;
  }

}

@media (max-width: 900px) {
  .scene-track {
    min-height: auto;
  }

  .scene-sticky {
    position: relative;
    min-height: auto;
  }

  .scene-shell {
    min-height: auto;
  }

  .section {
    padding: 98px 0 56px;
  }

  .section-work,
  .section-gallery {
    padding-top: 104px;
  }

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

  .gallery-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 860px) {
  :root {
    --shell: min(100vw - 24px, 1000px);
  }

  .site-header {
    padding-top: 14px;
  }

  .header-shell {
    justify-content: flex-end;
  }

  .header-tools {
    left: 0;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: auto;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .header-shell.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    justify-content: flex-start;
    min-height: 32px;
    padding: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .visit-widget {
    justify-items: start;
    width: fit-content;
  }

  .visit-widget-hero {
    top: 8%;
    right: 4%;
  }

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

  .lightbox-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .language-option {
    min-width: 72px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .hero-stage {
    width: 100%;
    aspect-ratio: 1.04 / 1.02;
  }

  .hero-logo-panel {
    inset: 18% 4%;
    padding: 18px;
  }

  .floating-note {
    left: 4%;
    bottom: 7%;
  }

  .gallery-collage {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .background-canvas {
    display: none;
  }

  .gallery-card,
  .work-visual,
  .work-copy {
    transform: none;
    opacity: 1;
  }
}
