:root {
  --bg: #070707;
  --bg-elevated: #0d0d0d;
  --ink: #f6f0e4;
  --muted: rgba(246, 240, 228, 0.64);
  --soft: rgba(246, 240, 228, 0.38);
  --line: rgba(220, 185, 108, 0.16);
  --line-strong: rgba(220, 185, 108, 0.34);
  --gold: #dcb96c;
  --gold-2: #f0d99a;
  --gold-deep: #806332;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(255, 255, 255, 0.095);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --container: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(220, 185, 108, 0.14), transparent 30vw),
    radial-gradient(circle at 84% 14%, rgba(95, 70, 31, 0.22), transparent 34vw),
    linear-gradient(180deg, #060606 0%, #090909 45%, #050505 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border: 0;
}

::selection {
  color: #060606;
  background: var(--gold);
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-2));
  box-shadow: 0 0 24px rgba(220, 185, 108, 0.5);
}

.site-grain {
  position: fixed;
  inset: 0;
  z-index: 1900;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.52'/%3E%3C/svg%3E");
}

.cursor-dot,
.cursor-ring {
  display: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: min(1320px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 14px 14px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  background: rgba(9, 9, 9, 0.72);
  border-color: rgba(220, 185, 108, 0.18);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 18px rgba(220, 185, 108, 0.32));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.72);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.28s var(--ease), background 0.28s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav a.is-current {
  border-color: rgba(220, 185, 108, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-nav .nav-cta {
  color: #080808;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 34px rgba(220, 185, 108, 0.18);
}

.site-nav .nav-cta:hover {
  color: #080808;
  background: linear-gradient(135deg, #fff2bf, var(--gold));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  --hero-progress: 0;
  position: relative;
  min-height: 162svh;
  display: block;
  padding: 0;
  overflow: clip;
  isolation: isolate;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-ambient,
.hero-grid,
.ambient-orb {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ambient {
  z-index: -2;
}

.hero-grid {
  opacity: calc(0.34 - var(--hero-progress) * 0.12);
  background-image: radial-gradient(circle, rgba(220, 185, 108, 0.12) 0 1px, transparent 1.4px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 72%);
}

.ambient-orb {
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.5;
}

.ambient-orb--one {
  top: 7%;
  left: -16%;
  background: rgba(220, 185, 108, 0.22);
}

.ambient-orb--two {
  right: -12%;
  bottom: 8%;
  background: rgba(129, 89, 37, 0.32);
}

.hero-light-sweep,
.depth-line,
.hero-ambient .depth-line,
.hero-ambient .hero-light-sweep {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

[data-hero-layer] {
  will-change: transform;
}

.hero-shell {
  position: sticky;
  top: 0;
  min-height: 100svh;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.86fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
  padding: 108px 0 58px;
  transform-style: preserve-3d;
}

.hero-copy {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  opacity: max(0.62, calc(1 - var(--hero-progress) * 0.34));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title,
.section-heading h2,
.studio-copy h2,
.stage-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-title {
  max-width: 690px;
  font-size: clamp(3.25rem, 7vw, 7.25rem);
  line-height: 0.88;
  transform-style: preserve-3d;
}

.hero-title-line {
  display: block;
  will-change: transform;
}

.hero-title-line:nth-child(2) {
  margin-top: -0.02em;
}

.hero .eyebrow {
  gap: 0;
}

.hero .eyebrow::before,
.hero .eyebrow::after,
.hero-title::before,
.hero-title::after,
.hero-title-line::before,
.hero-title-line::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

.hero .eyebrow::before,
.hero .eyebrow::after,
.hero-title::before,
.hero-title::after,
.hero-title-line::before,
.hero-title-line::after,
.hero-copy::before,
.hero-copy::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: none !important;
  border: 0 !important;
}

.hero-title em,
.stage-copy h2 em {
  color: var(--gold);
  font-style: italic;
}

.hero-lead {
  max-width: 460px;
  margin: 20px 0 0;
  color: rgba(246, 240, 228, 0.58);
  font-size: clamp(0.94rem, 1vw, 1rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 196px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.38), transparent 34%);
}

.button:hover::after {
  opacity: 1;
}

.button--gold {
  color: #080808;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 20px 58px rgba(220, 185, 108, 0.2);
}

.button--gold:hover {
  border-color: rgba(255, 231, 166, 0.72);
  box-shadow: 0 26px 80px rgba(220, 185, 108, 0.28);
  transform: translateY(-2px);
}

.button--glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.button--glass:hover {
  border-color: rgba(220, 185, 108, 0.58);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: min(66vw, 700px);
  transform-style: preserve-3d;
  will-change: transform;
  filter: saturate(calc(1.04 - var(--hero-progress) * 0.08));
}

.hero-ornament {
  position: absolute;
  right: 5%;
  top: 7%;
  z-index: 0;
  width: min(18vw, 172px);
  height: auto;
  fill: none;
  stroke: rgba(220, 185, 108, 0.24);
  stroke-width: 1.25;
  opacity: calc(0.56 - var(--hero-progress) * 0.18);
  filter: drop-shadow(0 0 18px rgba(220, 185, 108, 0.12));
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-card,
.stage-frame,
.studio-photo,
.work-card {
  background-color: #161616;
  background-position: center;
  background-size: cover;
}

.hero-card {
  position: absolute;
  border: 1px solid rgba(220, 185, 108, 0.22);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  will-change: transform, filter;
  transition: border-color 0.8s var(--ease), box-shadow 0.8s var(--ease), filter 0.8s var(--ease);
}

.hero-card::before,
.stage-frame::before,
.studio-photo::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)),
    radial-gradient(circle at 35% 24%, rgba(240, 217, 154, 0.25), transparent 38%);
  pointer-events: none;
}

.hero-card::after,
.stage-frame::after,
.studio-photo::after,
.work-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.stage-frame::before {
  background:
    radial-gradient(circle at var(--lens-x, 50%) var(--lens-y, 50%), rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at var(--lens-x, 50%) var(--lens-y, 50%), rgba(240, 217, 154, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.52));
  opacity: calc(0.72 + var(--lens-focus, 0.5) * 0.16);
  mix-blend-mode: screen;
}

.hero-card .media-tag {
  transform: translateZ(60px);
}

.hero-card:hover {
  border-color: rgba(220, 185, 108, 0.42);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.56), 0 0 70px rgba(220, 185, 108, 0.08);
}

.hero-card--main {
  inset: 5% 6% 10% 10%;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.58)),
    url("../assets/media/artland-hero-couple.jpg");
  background-position: center 26%;
}

.hero-card--side {
  right: -14%;
  bottom: -10%;
  width: 42%;
  height: 38%;
  border-radius: 26px;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.58)),
    url("../assets/media/artland-bts-photographer.jpg");
  background-position: center 32%;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.56);
}

.media-tag,
.work-kicker {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.76);
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-metric {
  position: absolute;
  z-index: 3;
  width: 152px;
  padding: 18px;
  border: 1px solid rgba(220, 185, 108, 0.2);
  border-radius: 24px;
  background: rgba(10, 10, 10, 0.62);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.hero-metric--one {
  top: 9%;
  right: 3%;
}

.hero-metric--two {
  left: 0;
  bottom: 18%;
}

.hero-metric strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-2);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
}

.hero-metric span {
  display: block;
  margin-top: 7px;
  color: rgba(246, 240, 228, 0.55);
  font-size: 0.72rem;
  line-height: 1.5;
}

.hero-bottom {
  position: absolute;
  bottom: 26px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(246, 240, 228, 0.42);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 1px;
  height: 58px;
  overflow: hidden;
  background: rgba(220, 185, 108, 0.18);
}

.scroll-indicator i {
  display: block;
  width: 100%;
  height: 42%;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  animation: scrollLine 1.9s var(--ease) infinite;
}

@keyframes scrollLine {
  from { transform: translateY(-120%); }
  to { transform: translateY(260%); }
}

.marquee {
  width: 100%;
  padding: 20px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: rgba(220, 185, 108, 0.42);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-style: italic;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  color: rgba(220, 185, 108, 0.7);
  font-size: 0.82rem;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-pad {
  padding: clamp(86px, 12vw, 160px) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.studio-copy h2,
.contact-copy h2 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.section-heading p:not(.eyebrow),
.studio-copy p,
.contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}


/* --------------------------------------------------------------------------
   Immersive camera lens scroll section
   -------------------------------------------------------------------------- */

.lens-dive {
  --lens-progress: 0;
  --lens-camera-scale: 0.58;
  --lens-camera-y: 100px;
  --lens-camera-x: 0px;
  --lens-camera-opacity: 0;
  --lens-camera-rotate-x: 11deg;
  --lens-camera-rotate-y: -13deg;
  --lens-camera-rotate-z: -1.4deg;
  --lens-copy-opacity: 1;
  --lens-copy-y: 0px;
  --lens-final-opacity: 0;
  --lens-final-radius: 0vmax;
  --lens-final-scale: 1.18;
  --lens-tunnel-opacity: 0;
  --lens-tunnel-scale: 0.34;
  --lens-iris: 48%;
  --lens-glass-light: 0.52;
  position: relative;
  min-height: 520vh;
  margin-top: -1px;
  overflow: clip;
  isolation: isolate;
  border-top: 1px solid rgba(220, 185, 108, 0.09);
  border-bottom: 1px solid rgba(220, 185, 108, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(220, 185, 108, 0.16), transparent 20vw),
    radial-gradient(circle at 26% 16%, rgba(255, 255, 255, 0.045), transparent 26vw),
    radial-gradient(circle at 76% 82%, rgba(220, 185, 108, 0.09), transparent 30vw),
    linear-gradient(180deg, #050505 0%, #090909 42%, #040404 100%);
}

.lens-dive::before,
.lens-dive::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lens-dive::before {
  z-index: 0;
  opacity: 0.54;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 68%);
}

.lens-dive::after {
  z-index: 8;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 40%, rgba(0, 0, 0, calc(0.26 + var(--lens-progress) * 0.28)) 82%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 24%, transparent 72%, rgba(0, 0, 0, 0.5));
  mix-blend-mode: multiply;
}

.lens-dive__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  perspective: 1800px;
  transform-style: preserve-3d;
}

.lens-dive__ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(-180px);
}

.lens-dive__ambient span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(18px);
  opacity: calc(0.28 + var(--lens-progress) * 0.32);
  background: radial-gradient(circle, rgba(240, 217, 154, 0.18), transparent 68%);
  transform: translate3d(0, calc(var(--lens-progress) * -44px), 0);
}

.lens-dive__ambient span:nth-child(1) {
  width: 34vw;
  height: 34vw;
  left: 8%;
  top: 16%;
}

.lens-dive__ambient span:nth-child(2) {
  width: 28vw;
  height: 28vw;
  right: 6%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09), transparent 68%);
  transform: translate3d(0, calc(var(--lens-progress) * 38px), 0);
}

.lens-dive__ambient span:nth-child(3) {
  width: 52vw;
  height: 16vw;
  left: 50%;
  top: 50%;
  opacity: calc(0.13 + var(--lens-progress) * 0.2);
  transform: translate(-50%, -50%) rotate(-12deg) scale(calc(0.8 + var(--lens-progress) * 0.42));
}

.lens-dive__final {
  position: absolute;
  inset: -2svh -2vw;
  z-index: 2;
  opacity: var(--lens-final-opacity);
  clip-path: circle(var(--lens-final-radius) at 50% 50%);
  transform: scale(var(--lens-final-scale));
  transform-origin: 50% 50%;
  filter: saturate(calc(0.92 + var(--lens-progress) * 0.22)) contrast(1.06) brightness(calc(0.72 + var(--lens-final-opacity) * 0.3));
  will-change: clip-path, opacity, transform, filter;
}

.lens-dive__final::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, transparent 0 38%, rgba(0, 0, 0, 0.28) 78%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 38%, rgba(0, 0, 0, 0.38));
}

.lens-dive__final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.lens-dive__copy {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  top: clamp(96px, 14vh, 138px);
  z-index: 9;
  width: min(560px, calc(100vw - 48px));
  opacity: var(--lens-copy-opacity);
  transform: translate3d(0, var(--lens-copy-y), 120px);
  transition: opacity 0.12s linear;
  will-change: opacity, transform;
}

.lens-dive__copy h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.078em;
  text-wrap: balance;
}

.lens-dive__copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(246, 240, 228, 0.68);
  font-size: 0.98rem;
  line-height: 1.78;
}

.camera-scene {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  pointer-events: none;
}

.camera-device {
  position: relative;
  width: min(760px, 68vw);
  aspect-ratio: 1.48;
  opacity: var(--lens-camera-opacity);
  transform:
    translate3d(var(--lens-camera-x), var(--lens-camera-y), 220px)
    rotateX(var(--lens-camera-rotate-x))
    rotateY(var(--lens-camera-rotate-y))
    rotateZ(var(--lens-camera-rotate-z))
    scale(var(--lens-camera-scale));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.camera-device__shadow {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -10%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 72%);
  filter: blur(22px);
  transform: translateZ(-120px) scaleX(1.08);
  opacity: calc(0.26 + var(--lens-camera-opacity) * 0.36);
}

.camera-device__beam {
  position: absolute;
  inset: -30% -42%;
  z-index: 0;
  background:
    conic-gradient(from 0deg at 50% 50%, transparent 0 14%, rgba(240, 217, 154, 0.07) 18%, transparent 26% 58%, rgba(255, 255, 255, 0.04) 64%, transparent 72% 100%),
    radial-gradient(circle at 50% 50%, rgba(240, 217, 154, 0.22), transparent 20%, transparent 100%);
  filter: blur(18px);
  opacity: calc(0.12 + var(--lens-progress) * 0.32);
  transform: translateZ(-60px) rotate(calc(var(--lens-progress) * 22deg));
}

.camera-device__body {
  position: absolute;
  inset: 15% 0 12%;
  z-index: 1;
  border: 1px solid rgba(246, 240, 228, 0.12);
  border-radius: 46px 46px 58px 58px;
  background:
    linear-gradient(148deg, rgba(255, 255, 255, 0.16), transparent 14% 34%, rgba(255, 255, 255, 0.04) 58%, transparent 78%),
    radial-gradient(circle at 21% 14%, rgba(240, 217, 154, 0.15), transparent 21%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.035), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.013) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #242321 0%, #111110 40%, #040404 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -48px 92px rgba(0, 0, 0, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 58px 140px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(220, 185, 108, 0.08);
  transform: translateZ(40px);
  overflow: visible;
}

.camera-device__body::before,
.camera-device__body::after {
  content: "";
  position: absolute;
  inset: 10% 4% auto;
  height: 26%;
  border-radius: 34px;
  pointer-events: none;
}

.camera-device__body::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  opacity: 0.72;
}

.camera-device__body::after {
  inset: auto 4% 4%;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.44));
  border-radius: 18px 18px 46px 46px;
}

.camera-device__top {
  position: absolute;
  left: 9%;
  right: 12%;
  top: -9%;
  height: 19%;
  border-radius: 28px 28px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(135deg, #302e2a, #090909 72%);
  border: 1px solid rgba(246, 240, 228, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 45px rgba(0, 0, 0, 0.34);
  transform: translateZ(42px);
}

.camera-device__top::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22%;
  height: 16%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0.6;
}

.camera-device__finder {
  position: absolute;
  left: 50%;
  top: -21%;
  width: 28%;
  height: 31%;
  border-radius: 30px 30px 16px 16px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(180deg, #24231f, #070707);
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 26px 60px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%) translateZ(72px);
  clip-path: polygon(16% 0, 84% 0, 100% 62%, 86% 100%, 14% 100%, 0 62%);
}

.camera-device__finder::before {
  content: "";
  position: absolute;
  inset: 18% 22% 22%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(121, 172, 182, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06);
}

.camera-device__hotshoe {
  position: absolute;
  left: 50%;
  top: -24%;
  width: 14%;
  height: 5%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 240, 228, 0.4), transparent), #060606;
  transform: translateX(-50%) translateZ(92px);
  opacity: 0.78;
}

.camera-device__dial {
  position: absolute;
  top: -19%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.12) 0deg 1.4deg, rgba(0, 0, 0, 0.24) 1.4deg 6deg),
    radial-gradient(circle at 40% 34%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 50%, #22211e 0 56%, #080808 77%, #020202 100%);
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 30px rgba(0, 0, 0, 0.36);
  transform: translateZ(88px);
}

.camera-device__dial::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  width: 14%;
  height: 18%;
  border-radius: 999px;
  background: rgba(240, 217, 154, 0.46);
  transform: translateX(-50%);
}

.camera-device__dial--left {
  left: 18%;
}

.camera-device__dial--right {
  right: 18%;
  width: 10%;
}

.camera-device__button {
  position: absolute;
  top: -15%;
  width: 11%;
  height: 8%;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 48%),
    linear-gradient(90deg, #2a2925, #080808);
  border: 1px solid rgba(246, 240, 228, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 32px rgba(0, 0, 0, 0.3);
  transform: translateZ(102px);
}

.camera-device__button--left {
  left: 13%;
}

.camera-device__button--right {
  right: 13%;
  width: 8%;
}

.camera-device__grip {
  position: absolute;
  right: -4%;
  top: 17%;
  width: 19%;
  height: 71%;
  border-radius: 32px 48px 54px 32px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #181715, #030303);
  border: 1px solid rgba(246, 240, 228, 0.07);
  box-shadow: inset 18px 0 36px rgba(255, 255, 255, 0.03), inset -18px 0 38px rgba(0, 0, 0, 0.58);
  transform: translateZ(24px);
}

.camera-device__front-panel {
  position: absolute;
  inset: 20% 12% 18% 16%;
  border-radius: 28px 38px 34px 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 26% 64%, rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), inset 0 -18px 28px rgba(0, 0, 0, 0.28);
  transform: translateZ(54px);
}

.camera-device__plate {
  position: absolute;
  left: 8%;
  top: 22%;
  width: 22%;
  height: 42%;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(220, 185, 108, 0.11), transparent 44%),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(220, 185, 108, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0.66;
  transform: translateZ(58px);
}

.camera-device__plate::before {
  content: "ArtLand";
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(246, 240, 228, 0.52);
  font-size: clamp(0.58rem, 0.8vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.camera-device__mount {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0 44%, rgba(0, 0, 0, 0.48) 55%, #040404 72%, #010101 100%),
    conic-gradient(from 0deg, rgba(255, 255, 255, 0.09), rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.54), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.05), inset 0 -20px 30px rgba(0, 0, 0, 0.52), 0 22px 46px rgba(0, 0, 0, 0.42);
  transform: translate(-50%, -50%) translateZ(82px);
}

.camera-lens {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 43%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(108px);
  transform-style: preserve-3d;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.56), 0 0 110px rgba(220, 185, 108, 0.08);
}

.camera-lens__barrel {
  inset: -15%;
  z-index: 1;
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 255, 255, 0.13), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, #232220 0%, #0b0b0b 52%, #020202 100%);
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), inset 0 -24px 36px rgba(0, 0, 0, 0.54);
  transform: translateZ(-24px);
}

.camera-lens__focus-ring {
  inset: -4%;
  z-index: 2;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, rgba(0, 0, 0, 0.05) 2px 7px),
    radial-gradient(circle, transparent 0 58%, rgba(0, 0, 0, 0.42) 74%, rgba(0, 0, 0, 0.72) 100%);
  border: 1px solid rgba(246, 240, 228, 0.08);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.04);
  opacity: 0.92;
  transform: translateZ(-6px);
}

.camera-lens::before,
.camera-lens::after,
.camera-lens span {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.camera-lens::before {
  inset: -19%;
  background:
    repeating-conic-gradient(from 2deg, rgba(255, 255, 255, 0.11) 0deg 1.2deg, rgba(0, 0, 0, 0.14) 1.2deg 4deg),
    radial-gradient(circle, #1a1916 0 55%, #060606 76%, #000 100%);
  border: 1px solid rgba(246, 240, 228, 0.1);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.055), inset 0 -24px 40px rgba(0, 0, 0, 0.54);
  transform: translateZ(-16px);
}

.camera-lens::after {
  inset: -5%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 54%, rgba(255, 255, 255, 0.08) 55% 57%, transparent 58%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 28% 70%, rgba(0, 0, 0, 0.5));
  border: 1px solid rgba(246, 240, 228, 0.12);
  box-shadow: inset 0 0 34px rgba(255, 255, 255, 0.04), 0 0 40px rgba(220, 185, 108, 0.06);
  transform: translateZ(8px);
}

.camera-lens__outer {
  inset: 10%;
  z-index: 3;
  background:
    repeating-conic-gradient(from calc(var(--lens-progress) * 90deg), rgba(255, 255, 255, 0.06) 0deg 4deg, transparent 4deg 10deg),
    radial-gradient(circle, #1a1a18 0 46%, #060606 77%, #000 100%);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.055), inset 0 -30px 40px rgba(0, 0, 0, 0.58);
}

.camera-lens__knurl {
  inset: 18%;
  z-index: 4;
  background:
    radial-gradient(circle, transparent 0 58%, rgba(255, 255, 255, 0.07) 59% 61%, transparent 62%),
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.045) 0deg 2deg, transparent 2deg 6deg);
  border: 1px dashed rgba(240, 217, 154, 0.15);
  opacity: 0.72;
}

.camera-lens__rim {
  inset: 22%;
  z-index: 5;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 var(--lens-iris), rgba(0, 0, 0, 0.82) calc(var(--lens-iris) + 1%), rgba(0, 0, 0, 0.98) 72%),
    conic-gradient(from 0deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.54), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(246, 240, 228, 0.13);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7), 0 0 36px rgba(220, 185, 108, 0.08);
}

.camera-lens__glass {
  inset: 31%;
  z-index: 6;
  background:
    radial-gradient(circle at 39% 31%, rgba(255, 255, 255, calc(0.18 + var(--lens-glass-light) * 0.26)), transparent 9%),
    radial-gradient(circle at 60% 65%, rgba(220, 185, 108, 0.16), transparent 18%),
    radial-gradient(circle at 46% 44%, rgba(46, 94, 112, 0.18), transparent 26%),
    radial-gradient(circle at 50% 50%, rgba(40, 58, 54, 0.42), rgba(2, 5, 5, 0.96) 66%, #000 100%);
  border: 1px solid rgba(240, 217, 154, 0.15);
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.08),
    inset 0 0 72px rgba(0, 0, 0, 0.72),
    0 0 54px rgba(220, 185, 108, calc(0.05 + var(--lens-progress) * 0.1));
  transform: translateZ(20px);
}

.camera-lens__aperture {
  inset: 36%;
  z-index: 7;
  background:
    conic-gradient(from calc(var(--lens-progress) * -120deg), rgba(0, 0, 0, 0.88), rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.96), rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.88));
  clip-path: polygon(50% 3%, 88% 18%, 97% 50%, 82% 88%, 50% 97%, 18% 82%, 3% 50%, 18% 12%);
  opacity: calc(0.66 - var(--lens-progress) * 0.38);
  transform: translateZ(26px) rotate(calc(var(--lens-progress) * 95deg));
}

.camera-lens__reflection {
  z-index: 8;
  background: rgba(255, 255, 255, 0.42);
  filter: blur(0.4px);
  mix-blend-mode: screen;
}

.camera-lens__reflection--one {
  width: 14%;
  height: 5%;
  left: 34%;
  top: 29%;
  transform: rotate(-34deg) translateZ(38px);
}

.camera-lens__reflection--two {
  width: 7%;
  height: 7%;
  right: 34%;
  bottom: 32%;
  opacity: 0.46;
  transform: translateZ(38px);
}

.lens-dive__tunnel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42vmax;
  aspect-ratio: 1;
  opacity: var(--lens-tunnel-opacity);
  transform: translate(-50%, -50%) translateZ(88px) scale(var(--lens-tunnel-scale));
  transform-origin: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.lens-dive__tunnel span {
  position: absolute;
  inset: calc(var(--i, 0) * 9%);
  border-radius: 50%;
  border: 1px solid rgba(240, 217, 154, 0.18);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 48%, rgba(255, 255, 255, 0.045) 49%, transparent 55%),
    conic-gradient(from calc(var(--lens-progress) * 180deg), rgba(240, 217, 154, 0.22), transparent 18%, rgba(255, 255, 255, 0.08), transparent 44%, rgba(240, 217, 154, 0.16), transparent 76%);
  box-shadow: inset 0 0 70px rgba(220, 185, 108, 0.045), 0 0 70px rgba(220, 185, 108, 0.04);
}

.lens-dive__tunnel span:nth-child(1) { --i: 0; opacity: 0.54; }
.lens-dive__tunnel span:nth-child(2) { --i: 1; opacity: 0.44; transform: rotate(18deg); }
.lens-dive__tunnel span:nth-child(3) { --i: 2; opacity: 0.34; transform: rotate(-24deg); }
.lens-dive__tunnel span:nth-child(4) { --i: 3; opacity: 0.28; transform: rotate(42deg); }

.lens-dive__caption {
  position: absolute;
  left: 50%;
  bottom: clamp(32px, 8vh, 72px);
  z-index: 10;
  opacity: calc(var(--lens-final-opacity) * 0.94);
  transform: translate3d(-50%, calc((1 - var(--lens-final-opacity)) * 20px), 180px);
  pointer-events: none;
}

.lens-dive__caption span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(240, 217, 154, 0.18);
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.76);
  background: rgba(8, 8, 8, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.cinematic-scroll {
  position: relative;
  min-height: 330vh;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 18%, rgba(220, 185, 108, 0.13), transparent 30vw),
    radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.035), transparent 26vw),
    linear-gradient(180deg, #070707, #0b0b0b 44%, #060606);
}

.sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(22px, 4.8vw, 58px);
  width: var(--container);
  margin: 0 auto;
  padding: clamp(52px, 7vh, 80px) 0 clamp(30px, 5vh, 52px);
  overflow: visible;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.stage-media {
  --lens-x: 43%;
  --lens-y: 42%;
  --lens-focus: 0.5;
  --lens-aperture: 48%;
  position: relative;
  min-height: clamp(380px, 56vh, 590px);
  isolation: isolate;
  transform-style: preserve-3d;
}

.stage-media::before {
  content: "";
  position: absolute;
  inset: 7% 0 7% -8%;
  z-index: 0;
  border-radius: 54px;
  background:
    radial-gradient(circle at var(--lens-x) var(--lens-y), rgba(246, 240, 228, calc(0.09 + var(--lens-focus) * 0.055)), transparent 10%),
    radial-gradient(circle at var(--lens-x) var(--lens-y), rgba(220, 185, 108, calc(0.11 + var(--lens-focus) * 0.07)), transparent 34%),
    radial-gradient(ellipse at 52% 46%, rgba(255, 255, 255, 0.045), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 46%);
  opacity: 0.88;
  filter: blur(1px);
  pointer-events: none;
}

.stage-media::after {
  content: "";
  position: absolute;
  inset: -4% -7% -5% -10%;
  z-index: 2;
  border-radius: 64px;
  background:
    radial-gradient(circle at var(--lens-x) var(--lens-y), transparent 0 25%, rgba(255, 255, 255, 0.035) 26%, transparent 30%),
    radial-gradient(circle at var(--lens-x) var(--lens-y), transparent 0 48%, rgba(0, 0, 0, 0.24) 77%, rgba(0, 0, 0, 0.46) 100%);
  opacity: calc(0.42 + var(--lens-focus) * 0.2);
  mix-blend-mode: screen;
  pointer-events: none;
}

.stage-frame {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(220, 185, 108, 0.22);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter, clip-path, border-radius;
  transition: opacity 0.55s var(--ease), filter 0.55s var(--ease), border-radius 0.65s var(--ease-soft);
}

.stage-frame--one {
  inset: 4% 16% 16% 0;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.50)),
    url("../assets/media/artland-lantern-alley.jpg");
  background-position: center;
}

.stage-frame--two {
  inset: 20% 0 5% 28%;
  opacity: 0.72;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.56)),
    url("../assets/media/artland-bts-photographer.jpg");
  background-position: center 28%;
}

.stage-frame--three {
  inset: 56% 54% 0 4%;
  border-radius: 28px;
  opacity: 0.82;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.62)),
    url("../assets/media/artland-portrait-monochrome.jpg");
  background-position: center 16%;
}

.lens-glass {
  position: absolute;
  top: var(--lens-y);
  left: var(--lens-x);
  z-index: 2;
  width: min(44vw, 548px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(42px) scale(calc(0.96 + var(--lens-focus) * 0.075));
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.17), transparent 8%),
    radial-gradient(circle at 51% 49%, transparent 0 42%, rgba(255, 255, 255, 0.05) 43%, transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(220, 185, 108, 0.08), transparent 62%);
  opacity: calc(0.26 + var(--lens-focus) * 0.18);
  filter: blur(0.2px) saturate(1.08);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform, opacity;
}

.lens-ring {
  --iris-hole: 47%;
  position: absolute;
  top: var(--lens-y);
  left: var(--lens-x);
  z-index: 3;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 185, 108, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.58;
  box-shadow:
    inset 0 0 78px rgba(220, 185, 108, 0.055),
    inset 0 0 18px rgba(255, 255, 255, 0.045),
    0 0 100px rgba(220, 185, 108, 0.06);
  pointer-events: none;
  will-change: transform, opacity;
}

.lens-ring::before,
.lens-ring::after,
.lens-ring__inner,
.lens-ring__iris,
.lens-ring__glint {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.lens-ring::before {
  inset: 9%;
  border: 1px solid rgba(220, 185, 108, 0.14);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.22);
}

.lens-ring::after {
  inset: 27%;
  border: 1px solid rgba(220, 185, 108, 0.12);
  opacity: calc(0.46 + var(--lens-focus) * 0.34);
}

.lens-ring__inner {
  inset: 16%;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(220, 185, 108, 0.035) 35%, transparent 62%);
}

.lens-ring__iris {
  inset: 22%;
  background:
    repeating-conic-gradient(from 17deg, rgba(220, 185, 108, 0.14) 0deg 18deg, rgba(255, 255, 255, 0.025) 19deg 35deg, transparent 36deg 60deg);
  opacity: calc(0.18 + var(--lens-focus) * 0.28);
  -webkit-mask: radial-gradient(circle, transparent 0 var(--iris-hole), #000 calc(var(--iris-hole) + 1%), #000 72%, transparent 73%);
  mask: radial-gradient(circle, transparent 0 var(--iris-hole), #000 calc(var(--iris-hole) + 1%), #000 72%, transparent 73%);
}

.lens-ring__glint {
  inset: 5%;
  background:
    linear-gradient(132deg, transparent 0 30%, rgba(255, 255, 255, 0.16) 41%, transparent 53%),
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.22), transparent 9%);
  opacity: calc(0.14 + var(--lens-focus) * 0.16);
  mix-blend-mode: screen;
}

.stage-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  min-width: 0;
  padding-right: clamp(10px, 1.6vw, 22px);
  overflow: visible;
  transform-style: preserve-3d;
  will-change: transform;
}

.stage-copy h2 {
  max-width: 540px;
  font-size: clamp(2.25rem, 4.15vw, 4.55rem);
  line-height: 0.96;
}

.scene-list {
  position: relative;
  display: grid;
  gap: 6px;
  width: min(100%, 480px);
  max-width: calc(100% - clamp(10px, 1.6vw, 22px));
  margin-top: clamp(20px, 3.2vw, 30px);
  padding: 6px;
  box-sizing: border-box;
  overflow: visible;
  border: 1px solid rgba(220, 185, 108, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(7, 7, 7, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 68px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  will-change: transform;
}

.scene-list::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% calc(18% + var(--scene-glow-y, 0%)), rgba(220, 185, 108, 0.16), transparent 28%),
    linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 45%, transparent 64%);
  opacity: 0.46;
  pointer-events: none;
}

.scene {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px 12px 54px;
  box-sizing: border-box;
  transform-origin: center;
  border: 1px solid transparent;
  border-radius: 22px;
  color: rgba(246, 240, 228, 0.52);
  background: transparent;
  opacity: 0.74;
  transition:
    min-height 0.55s var(--ease-soft),
    border-color 0.55s var(--ease-soft),
    background 0.55s var(--ease-soft),
    color 0.55s var(--ease-soft),
    opacity 0.55s var(--ease-soft),
    transform 0.55s var(--ease-soft);
}

.scene.is-active {
  min-height: 98px;
  color: var(--ink);
  opacity: 1;
  border-color: rgba(220, 185, 108, 0.32);
  background:
    linear-gradient(180deg, rgba(220, 185, 108, 0.13), rgba(220, 185, 108, 0.05)),
    rgba(255, 255, 255, 0.035);
  transform: translate3d(0, -1px, 0) scale(1.002);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.scene span {
  position: absolute;
  top: 15px;
  left: 18px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.16rem;
  line-height: 1;
}

.scene h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.32rem;
  font-weight: 300;
}

.scene p {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(4px);
  transition:
    max-height 0.62s var(--ease-soft),
    margin-top 0.62s var(--ease-soft),
    opacity 0.48s var(--ease-soft),
    transform 0.48s var(--ease-soft);
}

.scene.is-active p {
  max-height: 90px;
  margin-top: 6px;
  opacity: 1;
  transform: translateY(0);
}

.work {
  background:
    radial-gradient(circle at 18% 16%, rgba(220, 185, 108, 0.08), transparent 30vw),
    #060606;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(260px, 30vw);
  gap: 18px;
}

.work-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(220, 185, 108, 0.14);
  border-radius: 32px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3);
  transform: translateZ(0);
  transition:
    transform 0.7s var(--ease),
    border-color 0.7s var(--ease),
    box-shadow 0.7s var(--ease);
}

.work-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.80)),
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(240, 217, 154, 0.18), transparent 32%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 38%);
  transition: opacity 0.5s var(--ease);
}

.work-card:hover {
  border-color: rgba(220, 185, 108, 0.38);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.5);
  transform: translateY(-7px) scale(1.01);
}

.work-card > * {
  position: relative;
  z-index: 2;
}

.work-card--large {
  grid-column: span 7;
  grid-row: span 2;
}

.work-card:not(.work-card--large) {
  grid-column: span 5;
}

.work-card:nth-child(n+4) {
  grid-column: span 4;
}

.work-card strong {
  margin-top: auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 0.95;
}

.work-card small {
  margin-top: 10px;
  color: rgba(246, 240, 228, 0.64);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-card--sacred {
  background-image: url("../assets/media/artland-sacred-interior.jpg");
  background-position: center 40%;
}

.work-card--heritage {
  background-image: url("../assets/media/artland-hero-couple.jpg");
  background-position: center 24%;
}

.work-card--automotive {
  background-image: url("../assets/media/artland-mercedes-night.jpg");
  background-position: center 56%;
}

.work-card--portrait {
  background-image: url("../assets/media/artland-portrait-monochrome.jpg");
  background-position: center 18%;
}

.work-card--landscape {
  background-image: url("../assets/media/artland-stream-arches.jpg");
  background-position: center 56%;
}

.work-card--atmosphere {
  background-image: url("../assets/media/artland-candle-mood.jpg");
  background-position: center 58%;
}

.studio {
  --studio-progress: 0;
  --studio-shift: 0px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 28%, rgba(220, 185, 108, 0.12), transparent 31vw),
    radial-gradient(circle at 16% 70%, rgba(240, 217, 154, 0.035), transparent 24vw),
    linear-gradient(180deg, rgba(14, 14, 13, 0.92), rgba(5, 5, 5, 1)),
    var(--bg);
}

.studio.section-pad {
  padding: clamp(72px, 8.4vw, 118px) 0;
}

.studio::before,
.studio::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.studio::before {
  width: min(58vw, 720px);
  aspect-ratio: 1;
  left: -18vw;
  top: 10%;
  border-radius: 50%;
  border: 1px solid rgba(220, 185, 108, 0.1);
  background:
    radial-gradient(circle, rgba(240, 217, 154, 0.1), transparent 58%),
    repeating-radial-gradient(circle, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 46px);
  opacity: calc(0.2 + var(--studio-progress) * 0.28);
  transform: translate3d(0, calc(var(--studio-shift) * -0.56), 0) scale(calc(0.96 + var(--studio-progress) * 0.06));
  will-change: transform, opacity;
}

.studio::after {
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(240, 217, 154, 0.055), transparent 28vw),
    radial-gradient(circle at 22% 82%, rgba(220, 185, 108, 0.045), transparent 26vw),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 24%, rgba(0, 0, 0, 0.24));
  opacity: 0.92;
}

.studio-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.studio-orb,
.studio-line {
  position: absolute;
  display: block;
  will-change: transform;
}

.studio-orb {
  width: clamp(150px, 18vw, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(220, 185, 108, 0.12);
  background: radial-gradient(circle at 38% 32%, rgba(240, 217, 154, 0.16), rgba(240, 217, 154, 0.02) 42%, transparent 70%);
  filter: blur(0.2px);
}

.studio-orb--one {
  left: 7%;
  bottom: 10%;
  opacity: 0.42;
}

.studio-orb--two {
  right: 9%;
  top: 14%;
  width: clamp(110px, 13vw, 210px);
  opacity: 0.28;
}

.studio-line {
  right: 22%;
  bottom: 14%;
  width: min(34vw, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 185, 108, 0.32), transparent);
  transform-origin: center;
  opacity: 0.45;
}

.studio-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(310px, 0.84fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(34px, 5.8vw, 78px);
}

.studio-visual {
  position: relative;
  min-height: clamp(430px, 52vw, 560px);
  transform-style: preserve-3d;
}

.studio-frame-stack {
  position: absolute;
  inset: 1% 10% 10% 0;
  overflow: hidden;
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: 34px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  transform-origin: 50% 58%;
  will-change: transform;
}

.studio-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.54)),
    url("../assets/media/artland-portrait-senior.jpg");
  background-position: center calc(24% + var(--studio-photo-drift, 0px));
  background-size: cover;
  transform: translate3d(0, calc(var(--studio-photo-drift, 0px) * -0.22), 0) scale(calc(1.025 + var(--studio-progress) * 0.026));
  transform-origin: center;
  will-change: transform, background-position;
}

.studio-outline {
  position: absolute;
  inset: 10% 0 0 11%;
  border: 1px solid rgba(220, 185, 108, 0.24);
  border-radius: 34px;
  pointer-events: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.studio-focus-ring {
  position: absolute;
  right: 3%;
  top: 8%;
  width: clamp(112px, 15vw, 176px);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 217, 154, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.035) 41% 42%, transparent 43%),
    radial-gradient(circle at 38% 28%, rgba(240, 217, 154, 0.16), transparent 58%);
  box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.035);
  transform-origin: 50% 50%;
  will-change: transform;
}

.studio-note {
  position: absolute;
  left: 8%;
  bottom: 7%;
  width: min(250px, 55%);
  padding: 15px 16px;
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035)),
    rgba(7, 7, 7, 0.48);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-origin: 16% 86%;
  will-change: transform;
}

.studio-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.studio-note strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
}

.studio-copy {
  position: relative;
}

.studio-copy-panel {
  max-width: 650px;
  transform-origin: 38% 50%;
  will-change: transform;
}

.studio-copy h2 {
  max-width: 620px;
  font-size: clamp(2.35rem, 4.7vw, 4.65rem);
  line-height: 0.98;
}

.studio-copy p {
  max-width: 580px;
  margin: 20px 0 0;
  font-size: 0.96rem;
  line-height: 1.76;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
}

.stats-row div {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(220, 185, 108, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.028);
}

.stats-row dt {
  color: var(--gold-2);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.48rem, 2.2vw, 2.08rem);
  line-height: 1;
}

.stats-row dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.services {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 14% 18%, rgba(220, 185, 108, 0.08), transparent 26vw),
    radial-gradient(circle at 86% 8%, rgba(255, 255, 255, 0.04), transparent 24vw),
    #060606;
}

.services::before,
.services::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.4;
}

.services::before {
  top: 12%;
  left: -6%;
  width: 240px;
  height: 240px;
  background: rgba(220, 185, 108, 0.1);
}

.services::after {
  right: -8%;
  bottom: 6%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.06);
}

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

.services .section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.services .section-heading h2 {
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.services .section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  font-size: 0.97rem;
  line-height: 1.8;
}

.service-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-column {
  position: relative;
}

.service-column:nth-child(2) {
  margin-top: 16px;
}

.service-column:nth-child(3) {
  margin-top: 6px;
}

.service-card,
.package-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 185, 108, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.028);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 362px;
  padding: 24px;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), background 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.service-card::before,
.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(220, 185, 108, 0.16), transparent 36%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.service-card:hover,
.package-card:hover {
  border-color: rgba(220, 185, 108, 0.32);
  transform: translateY(-6px);
}

.service-card:hover {
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before,
.package-card:hover::before {
  opacity: 1;
}

.service-card > *,
.package-card > * {
  position: relative;
  z-index: 1;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-number {
  display: inline-flex;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.06rem;
  letter-spacing: 0.14em;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(246, 240, 228, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.package-card h3 {
  margin: 34px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  font-weight: 300;
  line-height: 1;
}

.service-card p {
  margin: 0;
  max-width: 31ch;
  color: rgba(246, 240, 228, 0.66);
  font-size: 0.95rem;
  line-height: 1.72;
}

.service-card ul,
.package-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.package-card li {
  display: flex;
  gap: 10px;
  color: rgba(246, 240, 228, 0.7);
  font-size: 0.86rem;
  line-height: 1.45;
}

.service-card li::before,
.package-card li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(220, 185, 108, 0.95), rgba(220, 185, 108, 0.45));
  box-shadow: 0 0 0 5px rgba(220, 185, 108, 0.08);
}

.packages {
  position: relative;
  overflow: clip;
  isolation: isolate;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(220, 185, 108, 0.09), transparent 30vw),
    radial-gradient(circle at 84% 78%, rgba(255, 255, 255, 0.04), transparent 28vw),
    #080808;
}

.packages::before,
.packages::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(84px);
  opacity: 0.4;
}

.packages::before {
  top: 14%;
  right: -5%;
  width: 260px;
  height: 260px;
  background: rgba(220, 185, 108, 0.08);
}

.packages::after {
  left: -6%;
  bottom: 12%;
  width: 240px;
  height: 240px;
  background: rgba(255, 255, 255, 0.05);
}

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

.packages .section-heading {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 5vw, 56px);
  text-align: center;
}

.packages .section-heading .eyebrow {
  justify-content: center;
}

.packages .section-heading h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.7rem);
}

.packages .section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  font-size: 0.97rem;
  line-height: 1.8;
}

.package-grid {
  align-items: stretch;
  gap: 18px;
}

.package-column {
  position: relative;
}

.package-column:nth-child(1) {
  margin-top: 8px;
}

.package-column:nth-child(2) {
  margin-top: 0;
}

.package-column:nth-child(3) {
  margin-top: 12px;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 470px;
  padding: 26px;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease), background 0.55s var(--ease);
}

.package-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.package-card:hover {
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.3);
}

.package-card--featured {
  border-color: rgba(220, 185, 108, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    linear-gradient(180deg, rgba(220, 185, 108, 0.045), rgba(220, 185, 108, 0.015));
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.38), 0 0 80px rgba(220, 185, 108, 0.08);
}

.package-topbar {
  display: flex;
  justify-content: flex-end;
  min-height: 24px;
  margin-bottom: 8px;
}

.package-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.package-tier {
  display: inline-flex;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.package-kind {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(246, 240, 228, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.package-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #070707;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 24px 0 12px;
}

.package-copy {
  margin: 0;
  max-width: 31ch;
  color: rgba(246, 240, 228, 0.66);
  font-size: 0.95rem;
  line-height: 1.72;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.package-card strong {
  display: block;
  margin-top: 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 3.7vw, 3.3rem);
  font-weight: 300;
  line-height: 0.95;
}

.package-card strong span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.package-card ul {
  margin-top: 22px;
}

.service-card ul {
  margin-top: 22px;
}

.package-card .button {
  align-self: flex-start;
  width: auto;
  min-width: 210px;
  margin-top: auto;
}

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 14%, rgba(240, 217, 154, 0.16), transparent 30vw),
    radial-gradient(circle at 14% 78%, rgba(128, 99, 50, 0.2), transparent 34vw),
    linear-gradient(180deg, #050505, #090909 52%, #040404);
}

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

.contact::before {
  opacity: 0.64;
  background:
    linear-gradient(112deg, transparent 0%, rgba(240, 217, 154, 0.08) var(--contact-sheen, 0%), transparent calc(var(--contact-sheen, 0%) + 24%)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 82px);
  transform: translate3d(0, var(--contact-shift, 0px), 0);
}

.contact::after {
  opacity: calc(0.18 + (var(--contact-progress, 0) * 0.28));
  background:
    radial-gradient(ellipse at 50% 50%, transparent 0 34%, rgba(220, 185, 108, 0.08) 35%, transparent 48%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.34) 100%);
  transform: scale(calc(1.08 - (var(--contact-progress, 0) * 0.05)));
}

.contact-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-glow,
.contact-orbit,
.contact-beam {
  position: absolute;
  display: block;
  will-change: transform;
}

.contact-glow {
  border-radius: 999px;
  filter: blur(6px);
  opacity: 0.62;
}

.contact-glow--one {
  top: 8%;
  right: 4%;
  width: min(36vw, 480px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(240, 217, 154, 0.2), rgba(220, 185, 108, 0.04) 56%, transparent 72%);
}

.contact-glow--two {
  left: -10%;
  bottom: -4%;
  width: min(44vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(220, 185, 108, 0.12), rgba(128, 99, 50, 0.045) 58%, transparent 74%);
}

.contact-beam {
  width: min(52vw, 690px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 217, 154, 0.38), transparent);
  opacity: 0.32;
  filter: blur(0.2px);
  transform-origin: center;
}

.contact-beam--one {
  top: 28%;
  right: -8%;
  rotate: -18deg;
}

.contact-beam--two {
  left: -12%;
  bottom: 30%;
  rotate: 17deg;
}

.contact-orbit {
  border: 1px solid rgba(220, 185, 108, 0.13);
  border-radius: 50%;
  box-shadow: inset 0 0 46px rgba(220, 185, 108, 0.025);
  opacity: 0.72;
}

.contact-orbit--one {
  top: 13%;
  right: 10%;
  width: min(30vw, 380px);
  aspect-ratio: 1;
}

.contact-orbit--two {
  left: 4%;
  bottom: 8%;
  width: min(24vw, 300px);
  aspect-ratio: 1;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(28px, 5.5vw, 72px);
  min-height: min(760px, 92vh);
}

.contact-copy,
.contact-stage {
  will-change: transform;
}

.contact.section-pad {
  padding: clamp(66px, 8vw, 116px) 0;
}

.contact .contact-copy h2 {
  max-width: 620px;
  font-size: clamp(2.35rem, 5.1vw, 4.6rem);
}

.contact .contact-copy p {
  font-size: 0.96rem;
  line-height: 1.74;
}

.contact-copy p {
  max-width: 640px;
}

.contact-copy p + p {
  margin-top: 18px;
}

.contact-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.contact-note span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(220, 185, 108, 0.16);
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.66);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-stage {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.contact-lens {
  position: absolute;
  inset: 4% 0 0 8%;
  z-index: 0;
  pointer-events: none;
}

.contact-lens span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(38vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(220, 185, 108, 0.11);
  border-radius: 50%;
  translate: -50% -50%;
  opacity: 0.9;
  transform: scale(calc(0.92 + (var(--contact-progress, 0) * 0.12)));
}

.contact-lens span:nth-child(2) {
  width: min(29vw, 355px);
  border-color: rgba(255, 255, 255, 0.08);
  transform: scale(calc(1.04 - (var(--contact-progress, 0) * 0.08)));
}

.contact-lens span:nth-child(3) {
  width: min(18vw, 220px);
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.16), transparent 22%),
    radial-gradient(circle, rgba(220, 185, 108, 0.09), transparent 64%);
  border-color: rgba(240, 217, 154, 0.16);
  filter: blur(0.2px);
}

.contact-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 0%, rgba(240, 217, 154, 0.14), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(9, 9, 9, 0.74);
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: rotateX(calc((var(--contact-progress, 0) - 0.5) * -2deg)) rotateY(calc((var(--contact-progress, 0) - 0.5) * 2.6deg));
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: -35% -20% auto -20%;
  height: 62%;
  background: radial-gradient(ellipse at center, rgba(240, 217, 154, 0.13), transparent 68%);
  transform: translate3d(calc((var(--contact-progress, 0) - 0.5) * 36px), 0, 0);
  pointer-events: none;
}

.contact-panel > * {
  position: relative;
  z-index: 1;
}

.contact-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(22px, 4vw, 38px);
}

.contact-status,
.contact-location {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.7);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-status i {
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 18px rgba(240, 217, 154, 0.74);
}

.contact-panel-title p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel-title h3 {
  max-width: 430px;
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(22px, 4vw, 34px);
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 72px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(220, 185, 108, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(240, 217, 154, 0.15), transparent 40%);
  transition: opacity 0.45s var(--ease);
}

.contact-card:hover {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(240, 217, 154, 0.36);
  background:
    linear-gradient(180deg, rgba(220, 185, 108, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.24);
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card--primary {
  grid-column: 1 / -1;
  min-height: 82px;
  background:
    radial-gradient(circle at 16% 0%, rgba(240, 217, 154, 0.18), transparent 42%),
    linear-gradient(140deg, rgba(220, 185, 108, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
}

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

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: 15px;
  color: var(--gold-2);
  background:
    radial-gradient(circle at 28% 20%, rgba(240, 217, 154, 0.18), transparent 48%),
    rgba(0, 0, 0, 0.22);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  overflow: hidden;
  color: var(--ink);
  font-size: clamp(0.84rem, 0.95vw, 0.98rem);
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}



@media (max-width: 1180px) {
  .site-header {
    top: 14px;
    width: calc(100vw - 28px);
    padding: 10px 10px 10px 14px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    padding: 96px 24px 40px;
    background:
      radial-gradient(circle at 50% 18%, rgba(220, 185, 108, 0.16), transparent 36vh),
      rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease);
  }

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

  .site-nav a {
    min-height: 48px;
    padding: 0 18px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1040px) {
  .contact-grid {
    min-height: auto;
  }

  .contact-stage {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .contact-stage {
    min-height: auto;
  }

  .contact-panel {
    border-radius: 28px;
  }

  .contact-panel-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-card--primary {
    grid-column: auto;
  }

  .contact-orbit,
  .contact-beam {
    display: none;
  }

  .contact-note span {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: var(--container);
  margin: 0 auto;
  padding: 46px 0;
  color: rgba(246, 240, 228, 0.5);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin: 10px 0 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(246, 240, 228, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.copyright {
  justify-self: end;
  text-align: right;
}

.section-heading[data-parallax],
.service-column[data-parallax],
.package-column[data-parallax] {
  --parallax-y: 0px;
  --parallax-scale: 1;
  will-change: transform;
}

.reveal {
  --reveal-y: 34px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y, 0px)), 0) scale(var(--parallax-scale, 1));
  transition:
    opacity 0.9s var(--ease-soft),
    transform 1.15s cubic-bezier(0.2, 0.78, 0.2, 1);
}

.reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }
.reveal-delay-4 { transition-delay: 360ms; }

@media (pointer: fine) and (min-width: 900px) {
  body {
    cursor: none;
  }

  a,
  button,
  input,
  select,
  textarea {
    cursor: none;
  }

  .cursor-dot,
  .cursor-ring {
    position: fixed;
    display: block;
    left: 0;
    top: 0;
    z-index: 2100;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
  }

  .cursor-dot {
    width: 7px;
    height: 7px;
    background: var(--gold-2);
    box-shadow: 0 0 16px rgba(220, 185, 108, 0.55);
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(220, 185, 108, 0.54);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s var(--ease), border-color 0.25s var(--ease);
  }

  body.cursor-hover .cursor-ring {
    width: 62px;
    height: 62px;
    opacity: 0.42;
    border-color: rgba(240, 217, 154, 0.7);
  }
}


@media (max-width: 1040px) {
  .hero-shell,
  .sticky-stage,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .studio-visual {
    min-height: 600px;
  }

  .stage-media {
    min-height: min(60vh, 560px);
  }

  .lens-ring,
  .lens-glass {
    width: min(72vw, 430px);
  }

  .sticky-stage {
    align-content: start;
    padding-top: 92px;
  }

  .stage-media {
    order: 2;
  }

  .stage-copy {
    order: 1;
    padding-right: 0;
  }

  .scene-list {
    max-width: 100%;
  }

  .service-grid,
  .package-grid {
    grid-template-columns: 1fr;
  }

  .service-column:nth-child(2),
  .service-column:nth-child(3),
  .package-column:nth-child(1),
  .package-column:nth-child(2),
  .package-column:nth-child(3) {
    margin-top: 0;
  }

  .service-card,
  .package-card {
    min-height: auto;
  }

  .work-card--large,
  .work-card:not(.work-card--large),
  .work-card:nth-child(n+4) {
    grid-column: span 6;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .copyright {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    top: 12px;
    width: calc(100vw - 24px);
    padding: 10px 10px 10px 14px;
  }

  .brand {
    font-size: 1.16rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    padding: 96px 24px 40px;
    background:
      radial-gradient(circle at 50% 18%, rgba(220, 185, 108, 0.16), transparent 36vh),
      rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease);
  }

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

  .site-nav a {
    min-height: 54px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero-shell {
    position: relative;
    min-height: auto;
    padding: 102px 0 58px;
  }

  .hero-light-sweep,
  .depth-line {
    display: none;
  }


  .hero-copy {
    opacity: 1;
  }

  .hero-title {
    font-size: clamp(3.15rem, 13.5vw, 5.2rem);
    line-height: 0.9;
  }

  .hero-lead {
    max-width: 92%;
    font-size: 0.94rem;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .studio-visual {
    min-height: 470px;
  }

  .stage-media {
    min-height: 430px;
  }

  .lens-ring,
  .lens-glass {
    width: min(86vw, 370px);
  }

  .hero-card--main {
    inset: 0 0 10% 0;
  }

  .hero-card--side {
    right: -5%;
    bottom: -2%;
    width: 54%;
    height: 34%;
  }


  .hero-metric {
    width: 136px;
    padding: 14px;
  }

  .hero-bottom {
    display: none;
  }

  .cinematic-scroll {
    min-height: auto;
  }

  .sticky-stage {
    position: relative;
    min-height: auto;
    padding: 88px 0;
  }

  .stage-copy h2,
  .section-heading h2,
  .studio-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.28rem, 10.5vw, 3.45rem);
  }

  .scene-list {
    border-radius: 24px;
    margin-top: 22px;
  }

  .scene {
    min-height: 52px;
    padding: 12px 14px 12px 50px;
  }

  .scene.is-active {
    min-height: 104px;
  }

  .scene span {
    left: 16px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-card--large,
  .work-card:not(.work-card--large),
  .work-card:nth-child(n+4) {
    grid-column: auto;
  }

  .work-card {
    min-height: 380px;
    border-radius: 26px;
  }

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

  .service-card,
  .package-card {
    border-radius: 24px;
    padding: 22px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  .button {
    width: 100%;
    min-width: 0;
  }

  .package-card .button {
    width: 100%;
  }

  .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .eyebrow::before {
    width: 26px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-visual,
  .studio-visual {
    min-height: 410px;
  }

  .stage-media {
    min-height: 390px;
  }

  .hero-metric--one {
    right: 0;
  }

  .hero-ornament {
    display: none;
  }

  .hero-metric--two {
    bottom: 9%;
  }
}


/* --------------------------------------------------------------------------
   Cinema Curtain Gallery Page
   -------------------------------------------------------------------------- */
.gallery-page {
  background:
    radial-gradient(circle at 18% 6%, rgba(128, 39, 28, 0.28), transparent 30vw),
    radial-gradient(circle at 82% 12%, rgba(220, 185, 108, 0.13), transparent 32vw),
    linear-gradient(180deg, #050505 0%, #080605 48%, #040404 100%);
}

.gallery-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: clamp(88px, 9vw, 116px) 0 clamp(38px, 5vw, 70px);
  overflow: hidden;
}

.gallery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 20%),
    radial-gradient(circle at 50% 118%, rgba(220, 185, 108, 0.12), transparent 34vw);
  pointer-events: none;
}

.gallery-ambient,
.gallery-orb {
  position: absolute;
  pointer-events: none;
}

.gallery-ambient {
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.gallery-orb {
  width: 36vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.45;
}

.gallery-orb--one {
  top: 8%;
  left: -12%;
  background: rgba(128, 39, 28, 0.5);
}

.gallery-orb--two {
  right: -10%;
  bottom: 8%;
  background: rgba(220, 185, 108, 0.18);
}

.gallery-intro {
  width: var(--container);
  margin: 0 auto clamp(18px, 3vw, 34px);
  text-align: center;
}

.gallery-intro .eyebrow {
  justify-content: center;
}

.gallery-intro h1 {
  max-width: 760px;
  margin: 8px auto 0;
  font-size: clamp(2.35rem, 5.2vw, 5.15rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.gallery-intro p:not(.eyebrow) {
  max-width: 670px;
  margin: 14px auto 0;
  color: rgba(246, 240, 228, 0.66);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.68;
}

.gallery-theatre {
  position: relative;
  width: min(940px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(38px, 4vw, 56px) clamp(16px, 2.8vw, 42px) clamp(16px, 2.2vw, 26px);
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: clamp(30px, 4vw, 50px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(7, 5, 4, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 42px 140px rgba(0, 0, 0, 0.56),
    0 0 110px rgba(128, 39, 28, 0.12);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}

.gallery-theatre::before,
.gallery-theatre::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-theatre::before {
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 -46px 100px rgba(0, 0, 0, 0.34);
}

.gallery-theatre::after {
  left: 8%;
  right: 8%;
  bottom: -20px;
  z-index: 0;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 185, 108, 0.22), transparent 70%);
  filter: blur(16px);
  opacity: 0.52;
}

.gallery-curtain {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 222, 175, 0.16), transparent 22%),
    linear-gradient(90deg, #210606 0%, #5a1310 18%, #8f241b 50%, #53100d 82%, #1d0505 100%);
}

.curtain-folds,
.curtain-valance,
.curtain-side,
.curtain-stage-glow {
  position: absolute;
  pointer-events: none;
}

.curtain-folds {
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.3) 0 12px,
      rgba(255, 255, 255, 0.065) 18px 28px,
      rgba(96, 11, 8, 0.22) 36px 58px,
      rgba(0, 0, 0, 0.34) 70px 86px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.44));
  mix-blend-mode: soft-light;
  opacity: 0.92;
}

.curtain-valance {
  top: 0;
  left: 0;
  right: 0;
  height: clamp(54px, 6.2vw, 84px);
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(220, 185, 108, 0.16), transparent 56%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0 18px, rgba(255, 255, 255, 0.055) 25px 34px, rgba(92, 12, 9, 0.65) 42px 72px),
    linear-gradient(180deg, #210404, #831e17 46%, #2a0605);
  border-bottom: 1px solid rgba(240, 217, 154, 0.18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.curtain-side {
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(92px, 13vw, 180px);
  background:
    radial-gradient(ellipse at 50% 26%, rgba(255, 223, 185, 0.1), transparent 35%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.48) 0 20px, rgba(255, 255, 255, 0.06) 30px 42px, rgba(92, 12, 9, 0.62) 58px 92px),
    linear-gradient(180deg, #1e0303, #8d1e17 45%, #1b0303);
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.54));
  opacity: 0.96;
}

.curtain-side--left {
  left: 0;
  transform-origin: left center;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.curtain-side--right {
  right: 0;
  transform-origin: right center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
}

.curtain-stage-glow {
  left: 12%;
  right: 12%;
  bottom: 8%;
  height: 28%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(240, 217, 154, 0.26), transparent 70%);
  filter: blur(30px);
  opacity: 0.58;
}

.projector-head {
  position: absolute;
  top: clamp(24px, 3vw, 38px);
  left: clamp(24px, 4vw, 56px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 34px;
  border: 1px solid rgba(240, 217, 154, 0.16);
  border-radius: 16px;
  background: rgba(5, 5, 5, 0.5);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.projector-head span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff4c8, rgba(220, 185, 108, 0.95) 24%, rgba(220, 185, 108, 0.2) 52%, transparent 68%);
  box-shadow: 0 0 24px rgba(240, 217, 154, 0.7);
}

.projector-beam {
  position: absolute;
  top: clamp(36px, 4vw, 52px);
  left: clamp(46px, 5vw, 76px);
  z-index: 2;
  width: min(74%, 780px);
  height: 72%;
  clip-path: polygon(0 0, 100% 18%, 86% 88%, 16% 100%);
  background:
    linear-gradient(100deg, rgba(255, 242, 191, 0.26), rgba(255, 242, 191, 0.065) 36%, transparent 74%),
    radial-gradient(ellipse at 68% 54%, rgba(220, 185, 108, 0.18), transparent 52%);
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0.58;
  transform: rotate(-1.5deg);
  animation: projectorBreath 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes projectorBreath {
  0%, 100% { opacity: 0.46; transform: rotate(-1.65deg) scaleX(0.99); }
  50% { opacity: 0.68; transform: rotate(-1.2deg) scaleX(1.012); }
}

.gallery-frame {
  position: relative;
  z-index: 3;
  width: min(660px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(240, 217, 154, 0.24);
  border-radius: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    rgba(55, 7, 6, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -70px 130px rgba(0, 0, 0, 0.36),
    0 28px 110px rgba(0, 0, 0, 0.52),
    0 0 90px rgba(220, 185, 108, 0.18);
  transform: translateZ(0);
}

.gallery-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 10;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 42%, transparent 44%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translate3d(5.5%, 0, 0) scale(1.045);
  filter: blur(10px) brightness(0.55) saturate(0.88);
  transition:
    opacity 0.72s var(--ease-soft),
    transform 0.92s var(--ease-soft),
    filter 0.92s var(--ease-soft);
  will-change: opacity, transform, filter;
}

.gallery-slide::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  background-image: var(--gallery-image);
  background-position: center;
  background-size: cover;
  filter: blur(34px) saturate(1.2);
  opacity: 0.65;
  transform: scale(1.05);
}

.gallery-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0) brightness(1.04) saturate(1.06);
}

.gallery-slide.is-leaving-left {
  transform: translate3d(-5.5%, 0, 0) scale(1.035);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  mix-blend-mode: screen;
  filter: contrast(1.06) saturate(1.04);
}

.gallery-fabric-overlay,
.gallery-frame-glass {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  border-radius: inherit;
}

.gallery-fabric-overlay {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, rgba(0, 0, 0, 0.075) 2px 4px, transparent 6px 11px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 2px 7px),
    radial-gradient(circle at 50% 45%, rgba(255, 242, 191, 0.16), transparent 50%);
  mix-blend-mode: overlay;
  opacity: 0.72;
}

.gallery-frame-glass {
  z-index: 8;
  background:
    linear-gradient(118deg, transparent 0 32%, rgba(255, 255, 255, 0.13) 44%, transparent 55%),
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.2), transparent 8%);
  mix-blend-mode: screen;
  opacity: 0.18;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: clamp(48px, 5vw, 62px);
  height: clamp(48px, 5vw, 62px);
  border: 1px solid rgba(240, 217, 154, 0.2);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(7, 7, 7, 0.54);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}

.gallery-arrow:hover {
  border-color: rgba(240, 217, 154, 0.46);
  background: rgba(220, 185, 108, 0.12);
  transform: translateY(-50%) scale(1.045);
}

.gallery-arrow span {
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-arrow--prev {
  left: clamp(12px, 3vw, 34px);
}

.gallery-arrow--next {
  right: clamp(12px, 3vw, 34px);
}

.gallery-caption-panel {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  width: min(660px, 100%);
  margin: clamp(10px, 1.4vw, 16px) auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(240, 217, 154, 0.15);
  border-radius: 28px;
  background: rgba(7, 7, 7, 0.43);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.gallery-caption-panel .eyebrow {
  margin-bottom: 7px;
}

.gallery-caption-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.25vw, 2.45rem);
  line-height: 0.98;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.gallery-caption-panel p:not(.eyebrow) {
  max-width: 540px;
  margin: 8px 0 0;
  color: rgba(246, 240, 228, 0.64);
  font-size: 0.86rem;
  line-height: 1.55;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.gallery-caption-panel.is-changing h2,
.gallery-caption-panel.is-changing p {
  opacity: 0;
  transform: translateY(6px);
}

.gallery-counter {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: rgba(246, 240, 228, 0.72);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.gallery-counter i {
  display: block;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(220, 185, 108, 0.24), rgba(220, 185, 108, 0.9));
}

.gallery-control-deck {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  width: min(760px, calc(100vw - 44px));
  margin: clamp(14px, 2vw, 24px) auto 0;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(240, 217, 154, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: width 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease);
}

.gallery-dot.is-active {
  width: 30px;
  border-radius: 999px;
  border-color: rgba(240, 217, 154, 0.72);
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.gallery-filmstrip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(240, 217, 154, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-thumb {
  position: relative;
  min-height: 46px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 217, 154, 0.12);
  border-radius: 18px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)),
    var(--thumb-image);
  background-position: center;
  background-size: cover;
  cursor: pointer;
  opacity: 0.72;
  transform: translateZ(0);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(240, 217, 154, 0.14), transparent 52%);
  opacity: 0;
  transition: opacity 0.32s var(--ease);
}

.gallery-thumb span {
  position: absolute;
  left: 9px;
  bottom: 8px;
  z-index: 1;
  color: rgba(246, 240, 228, 0.78);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(240, 217, 154, 0.48);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.gallery-thumb.is-active::before {
  opacity: 1;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(16px, 2.6vw, 28px);
}

.gallery-footer {
  border-top: 1px solid rgba(220, 185, 108, 0.16);
}



@media (max-height: 860px) and (min-width: 761px) {
  .gallery-hero {
    padding-top: clamp(82px, 8vh, 96px);
    padding-bottom: 34px;
  }

  .gallery-intro {
    margin-bottom: 18px;
  }

  .gallery-intro h1 {
    max-width: 760px;
    font-size: clamp(2.35rem, 5.2vw, 5.35rem);
  }

  .gallery-intro p:not(.eyebrow) {
    margin-top: 10px;
    line-height: 1.55;
  }

  .gallery-theatre {
    width: min(840px, calc(100vw - 42px));
    padding-top: 48px;
  }

  .gallery-frame,
  .gallery-caption-panel {
    width: min(580px, 100%);
  }

  .gallery-caption-panel {
    margin-top: 12px;
  }

  .gallery-control-deck {
    margin-top: 12px;
  }

  .gallery-filmstrip {
    padding: 8px;
  }

  .gallery-thumb {
    min-height: 46px;
  }

  .gallery-actions {
    margin-top: 16px;
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .gallery-intro p:not(.eyebrow) {
    display: none;
  }

  .gallery-intro h1 {
    font-size: clamp(2.1rem, 4.7vw, 4.7rem);
  }

  .gallery-frame,
  .gallery-caption-panel {
    width: min(520px, 100%);
  }

  .gallery-caption-panel p:not(.eyebrow) {
    display: none;
  }
}

@media (max-width: 1040px) {
  .gallery-theatre {
    width: min(820px, calc(100vw - 30px));
  }

  .gallery-filmstrip {
    overflow-x: auto;
    grid-template-columns: repeat(8, minmax(82px, 1fr));
    scrollbar-width: none;
  }

  .gallery-filmstrip::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 760px) {
  .gallery-hero {
    padding-top: 88px;
  }

  .gallery-intro {
    text-align: left;
  }

  .gallery-intro .eyebrow {
    justify-content: flex-start;
  }

  .gallery-intro h1 {
    letter-spacing: -0.058em;
  }

  .gallery-theatre {
    width: calc(100vw - 22px);
    padding: 58px 12px 16px;
    border-radius: 28px;
  }

  .gallery-frame {
    width: min(100%, 440px);
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .gallery-slide img {
    object-position: center;
  }

  .curtain-side {
    width: 84px;
    opacity: 0.72;
  }

  .projector-head,
  .projector-beam {
    display: none;
  }

  .gallery-arrow {
    top: auto;
    bottom: 104px;
    width: 42px;
    height: 42px;
  }

  .gallery-arrow--prev {
    left: 22px;
  }

  .gallery-arrow--next {
    right: 22px;
  }

  .gallery-caption-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 13px;
    border-radius: 20px;
  }

  .gallery-counter {
    align-self: flex-end;
  }

  .gallery-filmstrip {
    grid-template-columns: repeat(8, minmax(82px, 1fr));
  }

  .gallery-thumb {
    min-height: 52px;
    border-radius: 15px;
  }
}

@media (max-width: 430px) {
  .gallery-intro h1 {
    font-size: clamp(2.45rem, 14vw, 3.95rem);
  }

  .gallery-frame {
    width: min(100%, 340px);
    aspect-ratio: 4 / 5;
  }

  .gallery-arrow {
    bottom: 116px;
  }

  .gallery-caption-panel p:not(.eyebrow) {
    font-size: 0.86rem;
  }
}



/* --------------------------------------------------------------------------
   Gallery refinement: scroll reveal, stable arrows, full-image projection,
   and a minimalist ArtLand camera cursor.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  min-height: 132svh;
  padding-bottom: clamp(42px, 8vh, 86px);
}

.gallery-page .gallery-intro {
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.gallery-page.gallery-scroll-enhanced .gallery-intro {
  opacity: var(--gallery-intro-opacity, 1);
  transform: translate3d(0, var(--gallery-intro-y, 0px), 0);
}

.gallery-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  color: rgba(240, 217, 154, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-scroll-cue::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(240, 217, 154, 0.78);
  border-bottom: 1px solid rgba(240, 217, 154, 0.78);
  transform: rotate(45deg) translateY(-1px);
  animation: galleryCueFloat 1.7s var(--ease) infinite;
}

@keyframes galleryCueFloat {
  0%, 100% { opacity: 0.34; transform: rotate(45deg) translateY(-2px); }
  50% { opacity: 0.9; transform: rotate(45deg) translateY(4px); }
}

.gallery-page .gallery-theatre {
  margin-top: clamp(34px, 7vh, 86px);
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  opacity: var(--gallery-theatre-opacity, 0);
  transform: translate3d(0, var(--gallery-theatre-y, 92px), 0) scale(var(--gallery-theatre-scale, 0.955));
  filter: blur(var(--gallery-theatre-blur, 8px)) saturate(0.98);
  transform-origin: center 58%;
  will-change: opacity, transform, filter;
}

.gallery-page.gallery-scroll-enhanced .gallery-curtain {
  transform: translate3d(0, var(--gallery-curtain-y, 34px), 0) scale(var(--gallery-curtain-scale, 0.982));
  filter: brightness(var(--gallery-curtain-brightness, 0.8)) saturate(1.05);
  will-change: transform, filter;
}

.gallery-page.gallery-scroll-enhanced .gallery-control-deck,
.gallery-page.gallery-scroll-enhanced .gallery-actions {
  opacity: var(--gallery-controls-opacity, 0);
  transform: translate3d(0, var(--gallery-controls-y, 32px), 0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  will-change: opacity, transform;
}

.gallery-frame {
  width: min(var(--gallery-frame-width, 660px), 100%);
  height: var(--gallery-frame-height, auto);
  aspect-ratio: var(--gallery-frame-ratio, 16 / 9);
  display: grid;
  place-items: center;
  touch-action: pan-y;
  user-select: none;
}

.gallery-slide {
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.1vw, 14px);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  mix-blend-mode: normal;
  filter: contrast(1.04) saturate(1.035) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

.gallery-slide::before {
  inset: -18%;
  filter: blur(38px) saturate(1.18) brightness(0.75);
  opacity: 0.68;
}

.gallery-caption-panel {
  width: min(var(--gallery-panel-width, 660px), 100%);
}

.gallery-arrow {
  top: var(--gallery-arrow-top, 50%);
  transform: translateY(-50%);
  transition:
    border-color 0.32s var(--ease),
    background 0.32s var(--ease),
    box-shadow 0.32s var(--ease),
    color 0.32s var(--ease);
}

.gallery-arrow:hover {
  color: #fff8df;
  border-color: rgba(240, 217, 154, 0.68);
  background:
    radial-gradient(circle at 50% 45%, rgba(240, 217, 154, 0.2), rgba(220, 185, 108, 0.1) 42%, rgba(7, 7, 7, 0.62) 100%);
  box-shadow:
    0 0 0 1px rgba(240, 217, 154, 0.08),
    0 0 30px rgba(220, 185, 108, 0.42),
    0 18px 48px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-50%);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.985);
}

@media (pointer: fine) and (min-width: 900px) {
  .cursor-dot {
    width: 24px;
    height: 18px;
    border: 1px solid rgba(240, 217, 154, 0.88);
    border-radius: 6px;
    background:
      linear-gradient(180deg, rgba(255, 246, 216, 0.18), rgba(220, 185, 108, 0.05)),
      rgba(7, 7, 7, 0.34);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.2),
      0 0 18px rgba(220, 185, 108, 0.4);
  }

  .cursor-dot::before,
  .cursor-dot::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .cursor-dot::before {
    left: 7px;
    top: 4px;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 247, 218, 0.94);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 38%, rgba(255, 247, 218, 0.95), rgba(220, 185, 108, 0.42) 35%, rgba(7, 7, 7, 0.2) 68%);
    box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.34);
  }

  .cursor-dot::after {
    left: 5px;
    top: -4px;
    width: 10px;
    height: 5px;
    border-radius: 5px 5px 1px 1px;
    background: rgba(240, 217, 154, 0.78);
    box-shadow: 13px 5px 0 -3px rgba(240, 217, 154, 0.72);
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 0;
    background: radial-gradient(circle, rgba(240, 217, 154, 0.17), transparent 64%);
    opacity: 0.72;
  }

  body.cursor-hover .cursor-dot {
    border-color: rgba(255, 247, 218, 0.98);
    background:
      linear-gradient(180deg, rgba(255, 246, 216, 0.25), rgba(220, 185, 108, 0.1)),
      rgba(7, 7, 7, 0.44);
    box-shadow:
      0 0 0 1px rgba(240, 217, 154, 0.18),
      0 0 24px rgba(240, 217, 154, 0.54);
  }

  body.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    opacity: 0.58;
    background: radial-gradient(circle, rgba(240, 217, 154, 0.18), transparent 68%);
  }
}

@media (max-height: 820px) and (min-width: 761px) {
  .gallery-page .gallery-hero {
    min-height: 138svh;
  }

  .gallery-page .gallery-theatre {
    margin-top: clamp(28px, 6vh, 72px);
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 140svh;
    padding-top: 88px;
  }

  .gallery-scroll-cue {
    justify-content: flex-start;
    margin-left: 0;
  }

  .gallery-page .gallery-theatre {
    margin-top: clamp(34px, 7vh, 76px);
  }

  .gallery-frame {
    width: min(var(--gallery-frame-width, 440px), 100%);
    height: var(--gallery-frame-height, auto);
    aspect-ratio: var(--gallery-frame-ratio, 4 / 5);
  }

  .gallery-arrow {
    top: var(--gallery-arrow-top, 50%);
    bottom: auto;
    transform: translateY(-50%);
  }

  .gallery-arrow:hover,
  .gallery-arrow:active {
    transform: translateY(-50%);
  }
}

@media (max-width: 430px) {
  .gallery-frame {
    width: min(var(--gallery-frame-width, 340px), 100%);
  }

  .gallery-arrow {
    bottom: auto;
  }
}



/* --------------------------------------------------------------------------
   Gallery refinement patch 2: earlier reveal, luxury curtain/projector,
   and an always-on camera cursor with flash on interactive hover.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  min-height: 128svh;
}

.gallery-page .gallery-theatre {
  margin-top: clamp(24px, 5vh, 54px);
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  transform-origin: center 54%;
}

.gallery-curtain {
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 236, 195, 0.2), transparent 22%),
    radial-gradient(circle at 50% 64%, rgba(92, 12, 9, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%, rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(90deg, #170202 0%, #46100d 8%, #6b1812 18%, #9e2b1f 50%, #6c1812 82%, #3f0b09 92%, #130202 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 213, 0.14),
    inset 0 -28px 60px rgba(0, 0, 0, 0.28);
}

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

.gallery-curtain::before {
  background:
    repeating-linear-gradient(90deg,
      rgba(13, 2, 2, 0.68) 0 10px,
      rgba(255, 250, 234, 0.1) 11px 16px,
      rgba(120, 20, 16, 0.16) 18px 36px,
      rgba(15, 2, 2, 0.56) 37px 53px,
      rgba(255, 250, 234, 0.06) 54px 58px,
      rgba(100, 16, 14, 0.16) 59px 82px);
  mix-blend-mode: soft-light;
  opacity: 0.94;
}

.gallery-curtain::after {
  background:
    linear-gradient(180deg, rgba(255, 246, 222, 0.12), transparent 18%, transparent 56%, rgba(0, 0, 0, 0.24) 100%),
    radial-gradient(ellipse at 50% 18%, rgba(255, 240, 207, 0.14), transparent 36%),
    radial-gradient(ellipse at 50% 90%, rgba(255, 209, 134, 0.1), transparent 32%);
  opacity: 0.9;
}

.curtain-folds {
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.34) 0 12px,
      rgba(255, 240, 212, 0.07) 13px 19px,
      rgba(91, 11, 8, 0.18) 20px 48px,
      rgba(0, 0, 0, 0.32) 49px 63px,
      rgba(255, 255, 255, 0.04) 64px 68px,
      rgba(92, 12, 9, 0.18) 69px 92px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.36));
  opacity: 0.9;
}

.curtain-valance {
  height: clamp(58px, 6.8vw, 90px);
  background:
    linear-gradient(180deg, rgba(255, 244, 216, 0.14), transparent 14%),
    radial-gradient(ellipse at 50% 106%, rgba(255, 211, 129, 0.18), transparent 58%),
    repeating-linear-gradient(90deg, rgba(21, 3, 3, 0.55) 0 18px, rgba(255, 255, 255, 0.05) 19px 25px, rgba(124, 19, 15, 0.54) 26px 68px),
    linear-gradient(180deg, #250404 0%, #6d1510 42%, #8f251b 64%, #250404 100%);
  border-bottom: 1px solid rgba(240, 217, 154, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 243, 212, 0.16),
    0 18px 48px rgba(0, 0, 0, 0.52);
}

.curtain-valance::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 217, 154, 0.72), transparent);
  box-shadow: 0 3px 10px rgba(240, 217, 154, 0.25);
}

.curtain-side {
  width: clamp(96px, 13vw, 188px);
  background:
    linear-gradient(180deg, rgba(255, 246, 226, 0.09), transparent 18%),
    radial-gradient(ellipse at 52% 18%, rgba(255, 232, 191, 0.14), transparent 34%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0 18px, rgba(255, 250, 234, 0.05) 19px 26px, rgba(102, 14, 11, 0.6) 27px 82px),
    linear-gradient(180deg, #1b0303 0%, #811c15 46%, #1a0303 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 219, 0.1),
    0 0 40px rgba(0, 0, 0, 0.46);
}

.curtain-stage-glow {
  left: 10%;
  right: 10%;
  bottom: 7%;
  background: radial-gradient(ellipse at center, rgba(255, 223, 161, 0.28), rgba(240, 217, 154, 0.12) 36%, transparent 70%);
  opacity: 0.72;
}

.projector-head {
  width: 66px;
  height: 44px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(53, 53, 57, 0.96), rgba(16, 16, 18, 0.98) 58%, rgba(40, 40, 44, 0.92));
  border: 1px solid rgba(255, 240, 214, 0.16);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 18px rgba(0, 0, 0, 0.26);
}

.projector-head::before,
.projector-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.projector-head::before {
  top: -6px;
  left: 10px;
  width: 22px;
  height: 7px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, rgba(255, 245, 218, 0.32), rgba(128, 128, 132, 0.14));
  box-shadow: 20px 5px 0 -2px rgba(255, 245, 218, 0.26);
}

.projector-head::after {
  right: -14px;
  top: 15px;
  width: 14px;
  height: 10px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, #292a2f, #111217);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.projector-head span {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 247, 224, 0.24);
  background:
    radial-gradient(circle at 38% 34%, #fff8df 0%, rgba(255, 236, 177, 0.96) 18%, rgba(220, 185, 108, 0.72) 32%, rgba(42, 44, 54, 0.9) 52%, rgba(10, 10, 12, 1) 70%);
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.44),
    0 0 20px rgba(240, 217, 154, 0.28);
}

.projector-head span::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 245, 218, 0.14);
  opacity: 0.8;
}

.projector-beam {
  width: min(76%, 780px);
  height: 74%;
  clip-path: polygon(0 4%, 100% 17%, 88% 88%, 17% 100%);
  background:
    linear-gradient(102deg, rgba(255, 247, 220, 0.34), rgba(255, 245, 202, 0.13) 28%, rgba(255, 242, 191, 0.06) 44%, transparent 70%),
    linear-gradient(100deg, rgba(255, 248, 226, 0.08), transparent 48%),
    radial-gradient(ellipse at 72% 54%, rgba(240, 217, 154, 0.24), transparent 52%);
  filter: blur(0.4px);
  opacity: 0.72;
}

@keyframes projectorBreath {
  0%, 100% { opacity: 0.58; transform: rotate(-1.45deg) scaleX(0.995); }
  50% { opacity: 0.76; transform: rotate(-1.15deg) scaleX(1.012); }
}

@media (pointer: fine) {
  html,
  body,
  body *,
  body *::before,
  body *::after {
    cursor: none !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: block;
  }

  .cursor-dot {
    width: 24px;
    height: 18px;
    border: 1px solid rgba(240, 217, 154, 0.92);
    border-radius: 6px;
    background:
      linear-gradient(180deg, rgba(255, 248, 226, 0.2), rgba(220, 185, 108, 0.06)),
      rgba(8, 8, 10, 0.4);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.24),
      0 0 16px rgba(220, 185, 108, 0.34);
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease), filter 0.22s var(--ease);
  }

  .cursor-dot::before,
  .cursor-dot::after {
    content: "";
    position: absolute;
    pointer-events: none;
  }

  .cursor-dot::before {
    left: 7px;
    top: 4px;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(255, 247, 218, 0.95);
    border-radius: 50%;
    background: radial-gradient(circle at 42% 38%, rgba(255, 247, 218, 0.95), rgba(220, 185, 108, 0.42) 35%, rgba(7, 7, 7, 0.16) 68%);
    box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.38);
    transition: box-shadow 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
  }

  .cursor-dot::after {
    left: 5px;
    top: -4px;
    width: 10px;
    height: 5px;
    border-radius: 5px 5px 1px 1px;
    background: rgba(240, 217, 154, 0.78);
    box-shadow: 13px 5px 0 -3px rgba(240, 217, 154, 0.72);
  }

  .cursor-ring {
    width: 38px;
    height: 38px;
    border: 0;
    opacity: 0.68;
    background: radial-gradient(circle at center, rgba(240, 217, 154, 0.12), transparent 66%);
    transition: width 0.22s var(--ease), height 0.22s var(--ease), opacity 0.22s var(--ease), background 0.22s var(--ease), filter 0.22s var(--ease);
  }

  body.cursor-hover .cursor-dot {
    border-color: rgba(255, 250, 235, 1);
    background:
      linear-gradient(180deg, rgba(255, 248, 226, 0.3), rgba(220, 185, 108, 0.12)),
      rgba(8, 8, 10, 0.48);
    box-shadow:
      0 0 0 1px rgba(240, 217, 154, 0.2),
      0 0 24px rgba(240, 217, 154, 0.46),
      0 0 42px rgba(255, 243, 212, 0.18);
    filter: brightness(1.08);
  }

  body.cursor-hover .cursor-dot::before {
    border-color: rgba(255, 250, 235, 1);
    background: radial-gradient(circle at 42% 38%, rgba(255, 255, 255, 1), rgba(255, 244, 214, 0.96) 28%, rgba(255, 228, 150, 0.78) 48%, rgba(22, 22, 26, 0.36) 70%);
    box-shadow:
      0 0 12px rgba(255, 255, 255, 0.44),
      0 0 24px rgba(255, 236, 177, 0.28),
      inset 0 0 7px rgba(0, 0, 0, 0.28);
  }

  body.cursor-hover .cursor-ring {
    width: 64px;
    height: 64px;
    opacity: 0.96;
    background: radial-gradient(circle at 36% 36%, rgba(255, 255, 255, 0.5), rgba(255, 244, 214, 0.28) 16%, rgba(240, 217, 154, 0.12) 36%, transparent 68%);
    filter: drop-shadow(0 0 22px rgba(255, 244, 214, 0.24));
    animation: cursorFlashPulse 1.1s ease-in-out infinite;
  }
}

@keyframes cursorFlashPulse {
  0%, 100% {
    opacity: 0.72;
    filter: drop-shadow(0 0 14px rgba(255, 244, 214, 0.18));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 24px rgba(255, 244, 214, 0.28));
  }
}

@media (max-height: 820px) and (min-width: 761px) {
  .gallery-page .gallery-hero {
    min-height: 132svh;
  }

  .gallery-page .gallery-theatre {
    margin-top: clamp(18px, 4vh, 42px);
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 136svh;
  }

  .gallery-page .gallery-theatre {
    margin-top: clamp(22px, 5vh, 52px);
  }
}



/* --------------------------------------------------------------------------
   Gallery refinement patch 3: softer distant reveal and premium 3D projector.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  min-height: 130svh;
}

.gallery-page .gallery-theatre {
  margin-top: clamp(28px, 6vh, 60px);
  perspective: 1200px;
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  opacity: var(--gallery-theatre-opacity, 0);
  transform:
    translate3d(0, var(--gallery-theatre-y, 124px), 0)
    rotateX(var(--gallery-theatre-tilt, -7.5deg))
    scale(var(--gallery-theatre-scale, 0.895));
  filter: blur(var(--gallery-theatre-blur, 14px)) saturate(0.96);
  transform-origin: center 54%;
}

.gallery-page.gallery-scroll-enhanced .gallery-curtain {
  opacity: var(--gallery-curtain-opacity, 0.16);
  transform: translate3d(0, var(--gallery-curtain-y, 46px), 0) scale(var(--gallery-curtain-scale, 0.95));
  filter: brightness(var(--gallery-curtain-brightness, 0.7)) saturate(1.06);
}

.projector-head {
  top: clamp(8px, 1.2vw, 14px);
  left: 50%;
  width: clamp(120px, 12vw, 148px);
  height: clamp(54px, 5.2vw, 66px);
  border-radius: 18px;
  transform: translateX(-50%) perspective(1000px) rotateX(20deg);
  transform-style: preserve-3d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%),
    linear-gradient(90deg, rgba(255,255,255,0.06), transparent 18%, transparent 82%, rgba(255,255,255,0.04)),
    linear-gradient(135deg, #5e6167 0%, #1e2027 42%, #0e1016 72%, #373944 100%);
  border: 1px solid rgba(255, 245, 220, 0.18);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.42),
    0 10px 18px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -12px 18px rgba(0,0,0,0.24);
}

.projector-head::before,
.projector-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.projector-head::before {
  left: 50%;
  top: -26px;
  width: 86px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 14px 14px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04)),
    linear-gradient(135deg, #4e5258, #1a1d24 70%, #2d3038);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.projector-head::after {
  left: 50%;
  top: -8px;
  width: 10px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: linear-gradient(180deg, #63676f, #23262d 70%, #16181f);
  box-shadow:
    -38px 0 0 -2px rgba(255,255,255,0.06),
    38px 0 0 -2px rgba(255,255,255,0.06),
    0 8px 12px rgba(0,0,0,0.22);
}

.projector-head span {
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 28px;
  height: 28px;
  transform: translateX(-50%) translateZ(10px);
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 228, 0.32);
  background:
    radial-gradient(circle at 38% 34%, rgba(255,255,255,0.96) 0%, rgba(255, 245, 208, 0.98) 14%, rgba(240, 217, 154, 0.82) 28%, rgba(52, 57, 72, 0.96) 50%, rgba(9, 10, 14, 1) 68%);
  box-shadow:
    inset 0 0 14px rgba(0,0,0,0.48),
    0 0 18px rgba(255, 236, 177, 0.18),
    0 6px 16px rgba(0,0,0,0.24);
}

.projector-head span::before,
.projector-head span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.projector-head span::before {
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.18);
  background: radial-gradient(circle at 42% 40%, rgba(255,255,255,0.5), rgba(255,255,255,0.04) 42%, transparent 66%);
}

.projector-head span::after {
  inset: -6px;
  border: 1px solid rgba(255,245,218,0.14);
  box-shadow: 0 0 18px rgba(240, 217, 154, 0.14);
}

.projector-beam {
  top: clamp(38px, 4vw, 52px);
  left: 50%;
  width: min(74%, 760px);
  height: 78%;
  transform: translateX(-50%) rotate(0deg);
  clip-path: polygon(48% 0%, 84% 24%, 92% 62%, 84% 100%, 16% 100%, 8% 62%, 16% 24%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 12%),
    radial-gradient(ellipse at 50% 16%, rgba(255,248,226,0.28), rgba(255,244,214,0.14) 26%, rgba(255,244,214,0.05) 48%, transparent 74%),
    linear-gradient(180deg, rgba(255,247,223,0.18), rgba(255,241,198,0.12) 20%, rgba(255,240,195,0.08) 46%, rgba(255,240,195,0.03) 68%, transparent 100%);
  filter: blur(0.8px);
  mix-blend-mode: screen;
  opacity: 0.88;
  overflow: hidden;
  isolation: isolate;
  animation: projectorBeamBreath 7s ease-in-out infinite;
}

.projector-beam::before,
.projector-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.projector-beam::before {
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,0.18), transparent 22%),
    radial-gradient(circle at 54% 56%, rgba(255, 236, 177, 0.08), transparent 26%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  background-size: auto, auto, 180px 180px;
  mix-blend-mode: screen;
  opacity: 0.44;
  animation: projectorGrainDrift 9s linear infinite;
}

.projector-beam::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 16%),
    linear-gradient(90deg, transparent, rgba(255,255,255,0.07) 50%, transparent);
  opacity: 0.34;
  filter: blur(10px);
  animation: projectorBeamFlicker 4.4s ease-in-out infinite;
}

@keyframes projectorBeamBreath {
  0%, 100% {
    opacity: 0.76;
    filter: blur(0.8px) brightness(0.96);
  }
  50% {
    opacity: 0.94;
    filter: blur(1.2px) brightness(1.05);
  }
}

@keyframes projectorGrainDrift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.34;
  }
  50% {
    transform: translate3d(0, 12px, 0);
    opacity: 0.48;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.36;
  }
}

@keyframes projectorBeamFlicker {
  0%, 100% {
    opacity: 0.24;
  }
  35% {
    opacity: 0.38;
  }
  60% {
    opacity: 0.29;
  }
  80% {
    opacity: 0.42;
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 138svh;
  }
}



/* --------------------------------------------------------------------------
   Gallery refinement patch 4: external premium projector and elegant black curtain.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  min-height: 132svh;
}

.gallery-theatre {
  position: relative;
}

.gallery-projector-rig {
  position: absolute;
  left: 50%;
  top: clamp(250px, 27vw, 330px);
  width: min(1100px, calc(100vw - 40px));
  height: 620px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.gallery-page.gallery-scroll-enhanced .gallery-projector-rig {
  opacity: var(--gallery-theatre-opacity, 0);
  transform: translateX(-50%) translate3d(0, calc(var(--gallery-theatre-y, 124px) * 0.55), 0) scale(calc(0.94 + (var(--gallery-theatre-scale, 0.895) - 0.895) * 0.9));
  filter: blur(calc(var(--gallery-theatre-blur, 14px) * 0.35));
}

.gallery-curtain {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.065), transparent 20%),
    radial-gradient(circle at 50% 74%, rgba(205, 175, 105, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 16%, rgba(0,0,0,0.24) 52%, rgba(0,0,0,0.48) 100%),
    linear-gradient(90deg, #040404 0%, #111214 12%, #1e2023 26%, #26292d 50%, #1d1f22 74%, #0d0f12 88%, #030303 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -38px 70px rgba(0,0,0,0.32);
}

.gallery-curtain::before {
  background:
    repeating-linear-gradient(90deg,
      rgba(6, 6, 8, 0.72) 0 12px,
      rgba(255, 255, 255, 0.035) 13px 18px,
      rgba(36, 39, 43, 0.12) 19px 42px,
      rgba(6, 6, 8, 0.68) 43px 58px,
      rgba(255, 255, 255, 0.03) 59px 63px,
      rgba(26, 28, 31, 0.14) 64px 90px);
  opacity: 0.98;
}

.gallery-curtain::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 14%, transparent 64%, rgba(0,0,0,0.32) 100%),
    radial-gradient(ellipse at 50% 16%, rgba(255,255,255,0.08), transparent 34%),
    radial-gradient(ellipse at 50% 88%, rgba(205,175,105,0.06), transparent 28%);
}

.curtain-folds {
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, 0.4) 0 12px,
      rgba(255, 255, 255, 0.04) 13px 18px,
      rgba(35, 37, 41, 0.15) 19px 48px,
      rgba(0, 0, 0, 0.38) 49px 63px,
      rgba(255, 255, 255, 0.025) 64px 68px,
      rgba(30, 32, 36, 0.16) 69px 92px),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.44));
  opacity: 0.88;
}

.curtain-valance {
  height: clamp(58px, 6.8vw, 92px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 12%),
    radial-gradient(ellipse at 50% 106%, rgba(205,175,105,0.1), transparent 58%),
    repeating-linear-gradient(90deg, rgba(3,3,4,0.6) 0 18px, rgba(255,255,255,0.03) 19px 25px, rgba(36,38,42,0.36) 26px 68px),
    linear-gradient(180deg, #090909 0%, #1b1d21 48%, #090909 100%);
  border-bottom: 1px solid rgba(220, 185, 108, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 44px rgba(0,0,0,0.5);
}

.curtain-valance::after {
  background: linear-gradient(90deg, transparent, rgba(220, 185, 108, 0.48), transparent);
  box-shadow: 0 3px 10px rgba(220, 185, 108, 0.18);
}

.curtain-side {
  width: clamp(96px, 13vw, 188px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 16%),
    radial-gradient(ellipse at 52% 16%, rgba(255,255,255,0.07), transparent 30%),
    repeating-linear-gradient(90deg, rgba(2,2,3,0.56) 0 18px, rgba(255,255,255,0.03) 19px 26px, rgba(30,32,35,0.45) 27px 82px),
    linear-gradient(180deg, #050505 0%, #1d2024 46%, #050505 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 40px rgba(0,0,0,0.44);
}

.curtain-stage-glow {
  left: 8%;
  right: 8%;
  bottom: 8%;
  background: radial-gradient(ellipse at center, rgba(255, 244, 214, 0.1), rgba(220, 185, 108, 0.06) 36%, transparent 72%);
  opacity: 0.44;
}

.projector-head {
  position: absolute;
  top: 0;
  right: clamp(64px, 8vw, 110px);
  left: auto;
  width: clamp(110px, 11vw, 138px);
  height: clamp(46px, 4.6vw, 58px);
  transform: perspective(1000px) rotateX(16deg) rotateY(-14deg);
  transform-style: preserve-3d;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), transparent 22%),
    linear-gradient(135deg, #60646c 0%, #23262d 38%, #101216 78%, #2d3036 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 20px 40px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -10px 18px rgba(0,0,0,0.28);
}

.projector-head::before,
.projector-head::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.projector-head::before {
  left: 16px;
  right: 16px;
  top: -12px;
  height: 12px;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)), linear-gradient(135deg, #4a4d54, #1a1c22 72%, #2a2c33);
  box-shadow: 0 8px 14px rgba(0,0,0,0.18);
}

.projector-head::after {
  left: 50%;
  bottom: -18px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.14), rgba(40,42,48,0.18) 48%, transparent 50%);
  box-shadow: -24px -6px 0 -6px rgba(255,255,255,0.06), 24px -6px 0 -6px rgba(255,255,255,0.06);
}

.projector-head span {
  position: absolute;
  right: 16px;
  top: 50%;
  left: auto;
  bottom: auto;
  width: 24px;
  height: 24px;
  transform: translateY(-50%) translateZ(12px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background:
    radial-gradient(circle at 40% 36%, rgba(255,255,255,0.98) 0%, rgba(255,247,223,0.95) 12%, rgba(220,185,108,0.72) 26%, rgba(52,57,72,0.92) 50%, rgba(9,10,14,1) 68%);
  box-shadow: inset 0 0 12px rgba(0,0,0,0.48), 0 0 18px rgba(255,236,177,0.18);
}

.projector-head span::before,
.projector-head span::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.projector-head span::before {
  inset: 4px;
  border: 1px solid rgba(255,255,255,0.16);
}

.projector-head span::after {
  inset: -5px;
  border: 1px solid rgba(255,255,255,0.08);
}

.projector-beam {
  position: absolute;
  top: 42px;
  right: clamp(150px, 15vw, 210px);
  left: auto;
  width: min(720px, 56vw);
  height: 500px;
  transform: rotate(18deg);
  transform-origin: top right;
  clip-path: polygon(98% 2%, 80% 6%, 38% 42%, 14% 100%, 62% 100%, 100% 18%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 12%),
    radial-gradient(ellipse at 92% 10%, rgba(255,255,255,0.18), rgba(255,244,214,0.12) 18%, rgba(255,244,214,0.05) 34%, transparent 62%),
    linear-gradient(112deg, rgba(255,247,223,0.22), rgba(255,243,212,0.1) 24%, rgba(255,243,212,0.04) 48%, transparent 78%);
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0.78;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  animation: projectorBeamBreath 6.5s ease-in-out infinite;
}

.projector-beam::before,
.projector-beam::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.projector-beam::before {
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,0.22), transparent 18%),
    radial-gradient(circle at 56% 58%, rgba(255,236,177,0.06), transparent 24%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E");
  background-size: auto, auto, 180px 180px;
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: projectorGrainDrift 9s linear infinite;
}

.projector-beam::after {
  background:
    linear-gradient(112deg, rgba(255,255,255,0.16), transparent 22%, transparent 62%, rgba(255,255,255,0.04) 82%, transparent),
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 16%);
  opacity: 0.26;
  filter: blur(8px);
  animation: projectorBeamFlicker 4.2s ease-in-out infinite;
}

.gallery-theatre .gallery-frame {
  z-index: 3;
}

.gallery-theatre .gallery-arrow,
.gallery-theatre .gallery-caption-panel {
  z-index: 4;
}

@media (max-width: 1040px) {
  .gallery-projector-rig {
    width: calc(100vw - 24px);
    top: clamp(250px, 30vw, 340px);
  }

  .projector-beam {
    width: min(620px, 58vw);
    height: 460px;
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 138svh;
  }

  .gallery-projector-rig {
    display: none;
  }
}



/* --------------------------------------------------------------------------
   Gallery refinement patch 5: remove projector and use a minimalist silk curtain.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  min-height: 128svh;
}

.gallery-page .gallery-theatre {
  margin-top: clamp(24px, 5vh, 50px);
}

.gallery-projector-rig,
.projector-head,
.projector-beam {
  display: none !important;
}

.gallery-curtain {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 255, 255, 0.055), transparent 24%),
    radial-gradient(ellipse at 50% 88%, rgba(220, 185, 108, 0.045), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 18%, rgba(0,0,0,0.18) 56%, rgba(0,0,0,0.34) 100%),
    linear-gradient(90deg, #050505 0%, #0d0e10 14%, #17191c 50%, #0e0f11 86%, #050505 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.055),
    inset 0 -26px 54px rgba(0,0,0,0.24);
}

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

.gallery-curtain::before {
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.028) 0%,
      rgba(255,255,255,0.01) 12%,
      rgba(0,0,0,0.035) 28%,
      rgba(255,255,255,0.02) 46%,
      rgba(0,0,0,0.03) 64%,
      rgba(255,255,255,0.012) 82%,
      rgba(255,255,255,0.028) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
  background-size: auto, 220px 220px;
  mix-blend-mode: soft-light;
  opacity: 0.42;
}

.gallery-curtain::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 16%, transparent 66%, rgba(0,0,0,0.16) 100%),
    radial-gradient(ellipse at 50% 20%, rgba(255,255,255,0.05), transparent 34%),
    radial-gradient(ellipse at 50% 94%, rgba(220,185,108,0.04), transparent 26%);
  opacity: 0.82;
}

.curtain-folds {
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.04) 0%,
      rgba(255,255,255,0.02) 12%,
      rgba(0,0,0,0.035) 24%,
      rgba(255,255,255,0.018) 38%,
      rgba(0,0,0,0.04) 52%,
      rgba(255,255,255,0.016) 66%,
      rgba(0,0,0,0.038) 82%,
      rgba(255,255,255,0.016) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.16));
  opacity: 0.44;
}

.curtain-valance {
  height: clamp(48px, 5.2vw, 70px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 20%),
    linear-gradient(90deg, #090909 0%, #14161a 50%, #090909 100%);
  border-bottom: 1px solid rgba(220, 185, 108, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 34px rgba(0,0,0,0.34);
}

.curtain-valance::after {
  left: 14%;
  right: 14%;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 185, 108, 0.32), transparent);
  box-shadow: none;
}

.curtain-side {
  width: clamp(78px, 10vw, 120px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), transparent 16%),
    linear-gradient(90deg, #070707 0%, #131518 55%, #080808 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.045),
    0 0 26px rgba(0,0,0,0.22);
  opacity: 0.92;
}

.curtain-side--left {
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.curtain-side--right {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
}

.curtain-stage-glow {
  left: 12%;
  right: 12%;
  bottom: 9%;
  height: 22%;
  background: radial-gradient(ellipse at center, rgba(255, 244, 214, 0.06), rgba(220, 185, 108, 0.03) 34%, transparent 72%);
  filter: blur(28px);
  opacity: 0.34;
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  opacity: var(--gallery-theatre-opacity, 0);
  transform:
    translate3d(0, var(--gallery-theatre-y, 124px), 0)
    rotateX(var(--gallery-theatre-tilt, -7.5deg))
    scale(var(--gallery-theatre-scale, 0.895));
  filter: blur(var(--gallery-theatre-blur, 14px)) saturate(0.98);
}

.gallery-page.gallery-scroll-enhanced .gallery-curtain {
  opacity: var(--gallery-curtain-opacity, 0.16);
  transform: translate3d(0, var(--gallery-curtain-y, 46px), 0) scale(var(--gallery-curtain-scale, 0.95));
  filter: brightness(var(--gallery-curtain-brightness, 0.7)) saturate(1.02);
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 136svh;
  }

  .gallery-page .gallery-theatre {
    margin-top: clamp(20px, 4vh, 42px);
  }

  .curtain-side {
    width: 62px;
    opacity: 0.84;
  }
}

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

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

@media (max-width: 1040px) {
  .lens-dive {
    min-height: 450vh;
  }

  .lens-dive__copy {
    top: 92px;
    left: 24px;
  }

  .lens-dive__copy h2 {
    max-width: 680px;
  }

  .camera-device {
    width: min(720px, 86vw);
  }
}

@media (max-width: 760px) {
  .lens-dive {
    min-height: 410vh;
  }

  .lens-dive__copy {
    top: 86px;
    width: calc(100vw - 40px);
  }

  .lens-dive__copy h2 {
    font-size: clamp(2.65rem, 15vw, 4.9rem);
    letter-spacing: -0.075em;
  }

  .lens-dive__copy p:not(.eyebrow) {
    max-width: 92%;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .camera-device {
    width: min(620px, 112vw);
  }

  .camera-device__body {
    border-radius: 34px 34px 42px 42px;
  }

  .camera-device__finder {
    width: 32%;
  }

  .camera-device__plate {
    display: none;
  }

  .camera-lens {
    width: 49%;
  }

  .lens-dive__caption {
    width: calc(100vw - 32px);
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lens-dive {
    min-height: auto;
  }

  .lens-dive__sticky {
    position: relative;
    min-height: auto;
    padding: 120px 24px 92px;
  }

  .lens-dive__copy {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    transform: none;
    margin-right: auto;
  }

  .camera-scene {
    position: relative;
    min-height: 460px;
    inset: auto;
    width: 100%;
    margin-top: 36px;
  }

  .camera-device {
    opacity: 1;
    transform: none;
  }

  .lens-dive__final {
    opacity: 0.32;
    clip-path: none;
    transform: none;
  }

  .lens-dive__caption,
  .lens-dive__tunnel {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Gallery refinement patch 4: premium cinematic opening curtains.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  position: relative;
  min-height: 228svh;
  padding: 0;
}

.gallery-page .gallery-sticky-stage {
  position: sticky;
  top: clamp(74px, 8vh, 94px);
  min-height: calc(100svh - clamp(74px, 8vh, 94px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(22px, 4vh, 40px) 0 clamp(36px, 5vh, 56px);
}

.gallery-page .gallery-intro {
  position: relative;
  z-index: 9;
  width: min(820px, calc(100vw - 36px));
  margin: 0 auto clamp(24px, 4.2vh, 44px);
  text-align: center;
}

.gallery-page .gallery-intro h1 {
  max-width: 760px;
  margin-inline: auto;
}

.gallery-page .gallery-intro p:not(.gallery-scroll-cue) {
  max-width: 620px;
  margin-inline: auto;
}

.gallery-page.gallery-scroll-enhanced .gallery-intro {
  opacity: var(--gallery-intro-opacity, 1);
  transform: translate3d(0, var(--gallery-intro-y, 0px), 0);
}

.gallery-page .gallery-theatre {
  position: relative;
  width: min(980px, calc(100vw - 42px));
  margin: 0 auto;
  padding: clamp(58px, 7vw, 86px) clamp(18px, 3.4vw, 34px) clamp(16px, 2vw, 28px);
  border-radius: clamp(30px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(20, 18, 17, 0.96), rgba(6, 6, 6, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -48px 110px rgba(0, 0, 0, 0.46),
    0 54px 160px rgba(0, 0, 0, 0.62),
    0 0 120px rgba(220, 185, 108, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  opacity: var(--gallery-theatre-opacity, 0);
  transform:
    translate3d(0, var(--gallery-theatre-y, 124px), 0)
    rotateX(var(--gallery-theatre-tilt, -8.5deg))
    scale(var(--gallery-theatre-scale, 0.89));
  filter: blur(var(--gallery-theatre-blur, 18px)) saturate(0.98);
}

.gallery-stage-screen {
  position: absolute;
  left: clamp(42px, 7vw, 86px);
  right: clamp(42px, 7vw, 86px);
  top: clamp(82px, 10vw, 118px);
  bottom: clamp(126px, 14vw, 186px);
  z-index: 1;
  border-radius: clamp(24px, 3vw, 34px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 246, 225, 0.78), transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.28), transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, rgba(0, 0, 0, 0.035) 1px 7px, transparent 7px 16px),
    linear-gradient(180deg, rgba(255, 248, 235, 0.98), rgba(229, 219, 203, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(120, 92, 52, 0.1),
    inset 0 24px 60px rgba(255, 255, 255, 0.34),
    inset 0 -22px 48px rgba(124, 96, 58, 0.16),
    0 26px 70px rgba(0, 0, 0, 0.22);
  opacity: var(--gallery-screen-opacity, 0);
  transform: translate3d(0, var(--gallery-screen-y, 26px), 0) scale(var(--gallery-screen-scale, 0.965));
  will-change: opacity, transform;
}

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

.gallery-stage-screen::before {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 245, 225, 0.05), transparent 40%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.14));
}

.gallery-stage-screen::after {
  inset: 10% 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 185, 108, 0.09), transparent 72%);
  filter: blur(28px);
  opacity: 0.42;
}

.gallery-page.gallery-scroll-enhanced .gallery-curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform: translate3d(0, var(--gallery-curtain-y, 0px), 0) scale(var(--gallery-curtain-scale, 1));
  filter: brightness(var(--gallery-curtain-brightness, 1));
  opacity: var(--gallery-curtain-opacity, 1);
}

.gallery-curtain {
  background: transparent;
  overflow: hidden;
}

.gallery-curtain::before,
.gallery-curtain::after {
  content: "";
  position: absolute;
  top: clamp(44px, 5vw, 60px);
  bottom: clamp(26px, 3vw, 36px);
  width: 54%;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, rgba(0, 0, 0, 0.16) 1px 15px, rgba(255, 255, 255, 0.03) 15px 22px, rgba(0, 0, 0, 0.1) 22px 38px),
    linear-gradient(180deg, #191919 0%, #090909 44%, #020202 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset -32px 0 56px rgba(0, 0, 0, 0.28),
    0 18px 42px rgba(0, 0, 0, 0.4);
}

.gallery-curtain::before {
  left: 0;
  border-radius: 0 0 32px 0;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
  transform-origin: left center;
  transform:
    translateX(calc(var(--gallery-curtain-open, 0) * -72%))
    rotateY(calc(var(--gallery-curtain-open, 0) * -8deg));
}

.gallery-curtain::after {
  right: 0;
  border-radius: 0 0 0 32px;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: right center;
  transform:
    translateX(calc(var(--gallery-curtain-open, 0) * 72%))
    rotateY(calc(var(--gallery-curtain-open, 0) * 8deg));
  box-shadow:
    inset 32px 0 56px rgba(0, 0, 0, 0.28),
    0 18px 42px rgba(0, 0, 0, 0.4);
}

.curtain-valance,
.curtain-side,
.curtain-folds,
.curtain-stage-glow {
  position: absolute;
  pointer-events: none;
}

.curtain-valance {
  top: 0;
  left: 0;
  right: 0;
  height: clamp(54px, 6vw, 82px);
  z-index: 4;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, rgba(0, 0, 0, 0.08) 2px 16px),
    linear-gradient(180deg, #161616, #040404);
  border-bottom: 1px solid rgba(240, 217, 154, 0.14);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.52);
}

.curtain-side {
  top: clamp(46px, 5vw, 62px);
  bottom: clamp(26px, 3vw, 36px);
  z-index: 3;
  width: clamp(64px, 8vw, 108px);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.11), transparent 26%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0.16) 1px 12px, transparent 12px 20px),
    linear-gradient(180deg, #181818, #020202);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.42));
  opacity: calc(0.54 + var(--gallery-curtain-open, 0) * 0.28);
}

.curtain-side--left {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 66% 100%, 0 100%);
  transform: translateX(calc(var(--gallery-curtain-open, 0) * -12px));
}

.curtain-side--right {
  right: 0;
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  transform: translateX(calc(var(--gallery-curtain-open, 0) * 12px));
}

.curtain-folds {
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.03), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(220, 185, 108, 0.16), transparent 40%);
  opacity: calc(0.5 - var(--gallery-curtain-open, 0) * 0.24);
}

.curtain-stage-glow {
  left: 12%;
  right: 12%;
  bottom: 10%;
  height: 32%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 185, 108, 0.24), transparent 70%);
  filter: blur(28px);
  opacity: calc(0.42 + var(--gallery-curtain-open, 0) * 0.22);
}

.gallery-frame {
  z-index: 3;
  opacity: var(--gallery-frame-opacity, 0);
  transform: translate3d(0, var(--gallery-frame-y, 22px), 0) scale(var(--gallery-frame-scale, 0.972));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -70px 130px rgba(0, 0, 0, 0.36),
    0 34px 110px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(220, 185, 108, 0.16);
}

.gallery-slide.is-active {
  filter: blur(0) brightness(1.02) saturate(1.03);
}

.gallery-slide img {
  opacity: 0.94;
  mix-blend-mode: normal;
  filter: contrast(1.05) saturate(1.03);
}

.gallery-fabric-overlay {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0.06) 1px 4px, transparent 4px 11px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 50% 42%, rgba(255, 242, 191, 0.12), transparent 48%);
  opacity: 0.48;
}

.gallery-frame-glass {
  opacity: 0.14;
}

.gallery-page.gallery-scroll-enhanced .gallery-caption-panel,
.gallery-page.gallery-scroll-enhanced .gallery-control-deck,
.gallery-page.gallery-scroll-enhanced .gallery-actions {
  opacity: var(--gallery-controls-opacity, 0);
  transform: translate3d(0, var(--gallery-controls-y, 30px), 0);
  will-change: opacity, transform;
}

.gallery-caption-panel,
.gallery-control-deck,
.gallery-actions {
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.gallery-caption-panel {
  position: relative;
  z-index: 5;
  background: rgba(7, 7, 7, 0.5);
}

.gallery-page .gallery-control-deck {
  width: min(820px, calc(100vw - 42px));
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 198svh;
  }

  .gallery-page .gallery-sticky-stage {
    top: 76px;
    min-height: calc(100svh - 76px);
    padding-top: 10px;
  }

  .gallery-page .gallery-intro {
    width: calc(100vw - 24px);
    text-align: left;
  }

  .gallery-scroll-cue {
    justify-content: flex-start;
    margin-left: 0;
  }

  .gallery-page .gallery-theatre {
    width: calc(100vw - 20px);
    padding: 54px 12px 16px;
    border-radius: 26px;
  }

  .gallery-stage-screen {
    left: 14px;
    right: 14px;
    top: 66px;
    bottom: 164px;
    border-radius: 22px;
  }

  .gallery-curtain::before,
  .gallery-curtain::after {
    top: 42px;
    bottom: 16px;
    width: 59%;
  }

  .curtain-side {
    top: 42px;
    bottom: 16px;
    width: 48px;
  }
}

@media (max-width: 430px) {
  .gallery-stage-screen {
    bottom: 176px;
  }
}

/* --------------------------------------------------------------------------
   Gallery refinement patch 5: full-page cinematic silk curtains.
   Creates a real theatre reveal where the large curtains cover the whole
   viewport and open with scroll, while the gallery screen appears behind them.
   -------------------------------------------------------------------------- */
.gallery-page {
  --gallery-full-open: 0;
  --gallery-full-opacity: 1;
  --gallery-depth-light: 0;
  --gallery-theatre-glow: 0;
  --gallery-screen-parallax-y: 22px;
  --gallery-frame-parallax-y: 28px;
  --gallery-frame-rotate: -0.8deg;
  --gallery-text-lift: 0px;
  --gallery-vignette-strength: 0.72;
  --gallery-full-left-drift: 0px;
  --gallery-full-right-drift: 0px;
  --gallery-full-float-y: 0px;
  --gallery-full-left-tilt: 0deg;
  --gallery-full-right-tilt: 0deg;
  --gallery-full-roll: 0deg;
  --gallery-full-left-skew: 0deg;
  --gallery-full-right-skew: 0deg;
  --gallery-full-left-scale-x: 1;
  --gallery-full-right-scale-x: 1;
  --gallery-full-left-scale-y: 1;
  --gallery-full-right-scale-y: 1;
  --gallery-full-ripple: 0;
  --gallery-full-sheen-shift: 0px;
}

.gallery-page .gallery-hero {
  min-height: 258svh;
  background:
    radial-gradient(circle at 50% 24%, rgba(240, 217, 154, calc(0.08 + var(--gallery-depth-light, 0) * 0.11)), transparent 34%),
    radial-gradient(circle at 18% 16%, rgba(220, 185, 108, 0.08), transparent 34%),
    radial-gradient(circle at 84% 14%, rgba(255, 245, 220, 0.055), transparent 30%),
    linear-gradient(180deg, #050505 0%, #090807 42%, #040404 100%);
  overflow: clip;
}

.gallery-page .gallery-sticky-stage {
  top: 0;
  min-height: 100svh;
  justify-content: center;
  padding: clamp(74px, 8vh, 96px) 0 clamp(22px, 3.5vh, 34px);
  perspective: 1800px;
  isolation: isolate;
}

.gallery-full-curtain {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  min-height: 100%;
  z-index: 6;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateZ(120px);
  transform-style: preserve-3d;
  opacity: var(--gallery-full-opacity, 1);
  will-change: opacity, transform;
}

.gallery-full-curtain::before,
.gallery-full-curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.gallery-full-curtain::before {
  background:
    radial-gradient(circle at 50% 40%, transparent 32%, rgba(0, 0, 0, calc(0.18 + var(--gallery-vignette-strength, 0.72) * 0.26)) 78%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.68));
  mix-blend-mode: multiply;
  opacity: calc(0.74 - var(--gallery-full-open, 0) * 0.36);
}

.gallery-full-curtain::after {
  background:
    radial-gradient(ellipse at 50% 72%, rgba(240, 217, 154, calc(0.12 + var(--gallery-depth-light, 0) * 0.28)), transparent 52%),
    linear-gradient(180deg, transparent 0 52%, rgba(0, 0, 0, 0.26) 100%);
  mix-blend-mode: screen;
  opacity: calc(0.2 + var(--gallery-depth-light, 0) * 0.42);
}

.full-curtain {
  position: absolute;
  top: 0;
  bottom: -7vh;
  width: 57.5vw;
  z-index: 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.12), transparent 22%),
    radial-gradient(ellipse at 50% 66%, rgba(255, 244, 220, 0.055), transparent 42%),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.055) 0 1px,
      rgba(0, 0, 0, 0.2) 1px 18px,
      rgba(255, 255, 255, 0.035) 18px 27px,
      rgba(0, 0, 0, 0.16) 27px 48px,
      rgba(255, 255, 255, 0.025) 48px 54px,
      rgba(0, 0, 0, 0.22) 54px 78px),
    linear-gradient(180deg, #1c1c1c 0%, #080808 48%, #020202 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -120px 160px rgba(0, 0, 0, 0.52),
    inset 0 0 86px rgba(0, 0, 0, 0.18),
    0 34px 78px rgba(0, 0, 0, 0.58);
  filter: saturate(0.92) brightness(calc(0.82 + var(--gallery-depth-light, 0) * 0.18));
  will-change: transform, filter;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.full-curtain::before,
.full-curtain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.full-curtain::before {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.06), transparent 15%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 72%, rgba(0, 0, 0, 0.24)),
    radial-gradient(ellipse at 50% 24%, rgba(255, 250, 235, 0.1), transparent 38%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.035) 24px 27px, rgba(0, 0, 0, 0.09) 27px 48px);
  mix-blend-mode: soft-light;
  opacity: calc(0.76 + var(--gallery-full-ripple, 0) * 0.15);
  transform: translate3d(0, calc(var(--gallery-full-sheen-shift, 0px) * -0.55), 14px);
}

.full-curtain::after {
  inset: auto -4% -2%;
  height: 28%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05), transparent 40%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 26%, rgba(0, 0, 0, 0.72) 100%);
  opacity: calc(0.78 + var(--gallery-full-ripple, 0) * 0.16);
  transform: translateY(calc(var(--gallery-full-float-y, 0px) * 0.34));
}

.full-curtain--left {
  left: 0;
  border-radius: 0 0 5vw 0;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  transform-origin: 4% 8%;
  transform:
    translate3d(calc(var(--gallery-full-open, 0) * -62vw + var(--gallery-full-left-drift, 0px)), var(--gallery-full-float-y, 0px), calc(var(--gallery-full-open, 0) * 110px))
    rotateY(calc(var(--gallery-full-open, 0) * -19deg + var(--gallery-full-left-tilt, 0deg)))
    rotateX(var(--gallery-full-roll, 0deg))
    skewY(calc(var(--gallery-full-open, 0) * -1.8deg + var(--gallery-full-left-skew, 0deg)))
    scaleX(var(--gallery-full-left-scale-x, 1))
    scaleY(var(--gallery-full-left-scale-y, 1));
}

.full-curtain--right {
  right: 0;
  border-radius: 0 0 0 5vw;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  transform-origin: 96% 8%;
  transform:
    translate3d(calc(var(--gallery-full-open, 0) * 62vw + var(--gallery-full-right-drift, 0px)), var(--gallery-full-float-y, 0px), calc(var(--gallery-full-open, 0) * 110px))
    rotateY(calc(var(--gallery-full-open, 0) * 19deg + var(--gallery-full-right-tilt, 0deg)))
    rotateX(calc(var(--gallery-full-roll, 0deg) * -1))
    skewY(calc(var(--gallery-full-open, 0) * 1.8deg + var(--gallery-full-right-skew, 0deg)))
    scaleX(var(--gallery-full-right-scale-x, 1))
    scaleY(var(--gallery-full-right-scale-y, 1));
}

.full-curtain-valance {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 4;
  width: 100vw;
  height: clamp(72px, 10.6vh, 122px);
  transform: translateX(-50%) translateY(calc(var(--gallery-full-open, 0) * -18px));
  border-bottom: 1px solid rgba(240, 217, 154, 0.16);
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 255, 255, 0.13), transparent 48%),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      rgba(0, 0, 0, 0.18) 2px 22px,
      rgba(255, 255, 255, 0.024) 22px 34px,
      rgba(0, 0, 0, 0.16) 34px 64px),
    linear-gradient(180deg, #202020 0%, #070707 72%, #020202 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.62);
  opacity: calc(1 - var(--gallery-full-open, 0) * 0.08);
}

.full-curtain-valance::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 217, 154, 0.6), transparent);
  opacity: calc(0.26 + var(--gallery-depth-light, 0) * 0.42);
}

.full-curtain-floor {
  position: absolute;
  left: 50%;
  bottom: -18vh;
  z-index: 2;
  width: 120vw;
  height: 38vh;
  transform: translateX(-50%) rotateX(72deg) translateZ(-80px);
  transform-origin: 50% 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 6%, rgba(240, 217, 154, calc(0.16 + var(--gallery-depth-light, 0) * 0.3)), transparent 44%),
    radial-gradient(ellipse at 50% 80%, rgba(0, 0, 0, 0.78), transparent 68%);
  filter: blur(2px);
  opacity: calc(0.54 + var(--gallery-depth-light, 0) * 0.22);
}

.full-curtain-haze {
  position: absolute;
  inset: 16% 8% 10%;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(255, 249, 232, calc(0.08 + var(--gallery-depth-light, 0) * 0.18)), transparent 58%),
    radial-gradient(ellipse at 50% 78%, rgba(220, 185, 108, calc(0.06 + var(--gallery-depth-light, 0) * 0.12)), transparent 62%);
  filter: blur(28px);
  opacity: calc(0.26 + var(--gallery-depth-light, 0) * 0.4);
}

.gallery-page .gallery-intro {
  z-index: 8;
  max-width: 820px;
  margin-bottom: clamp(22px, 4vh, 38px);
  transform: translate3d(0, var(--gallery-text-lift, 0), 180px);
}

.gallery-page .gallery-intro h1 {
  max-width: 720px;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.72);
}

.gallery-page .gallery-intro p:not(.gallery-scroll-cue) {
  max-width: 570px;
  color: rgba(246, 240, 228, 0.68);
}

.gallery-scroll-cue {
  color: rgba(240, 217, 154, calc(0.56 + var(--gallery-depth-light, 0) * 0.24));
}

.gallery-page .gallery-theatre {
  z-index: 5;
  width: min(980px, calc(100vw - 44px));
  padding: clamp(52px, 6vw, 76px) clamp(18px, 3.2vw, 30px) clamp(14px, 1.8vw, 22px);
  border: 1px solid rgba(240, 217, 154, calc(0.09 + var(--gallery-theatre-glow, 0) * 0.2));
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, calc(0.025 + var(--gallery-theatre-glow, 0) * 0.06)), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014)),
    linear-gradient(180deg, rgba(18, 17, 15, 0.74), rgba(3, 3, 3, 0.82));
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -56px 120px rgba(0, 0, 0, 0.5),
    0 62px 180px rgba(0, 0, 0, 0.64),
    0 0 calc(56px + var(--gallery-theatre-glow, 0) * 110px) rgba(220, 185, 108, calc(0.06 + var(--gallery-theatre-glow, 0) * 0.14));
}

.gallery-page .gallery-theatre::before,
.gallery-page .gallery-theatre::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.gallery-page .gallery-theatre::before {
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.24)),
    radial-gradient(ellipse at 50% 0%, rgba(240, 217, 154, calc(0.06 + var(--gallery-theatre-glow, 0) * 0.14)), transparent 50%);
}

.gallery-page .gallery-theatre::after {
  left: 16%;
  right: 16%;
  bottom: -2px;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 217, 154, 0.52), transparent);
  opacity: calc(0.22 + var(--gallery-theatre-glow, 0) * 0.45);
}

.gallery-stage-screen {
  left: clamp(40px, 6.4vw, 82px);
  right: clamp(40px, 6.4vw, 82px);
  top: clamp(76px, 8.4vw, 108px);
  bottom: clamp(108px, 11.4vw, 150px);
  z-index: 1;
  border: 1px solid rgba(190, 160, 108, 0.12);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 240, 205, 0.09), transparent 20%),
    radial-gradient(circle at 50% 54%, rgba(255, 255, 255, 0.05), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, rgba(0, 0, 0, 0.03) 1px 8px, transparent 8px 18px),
    linear-gradient(180deg, rgba(18, 18, 17, 0.96) 0%, rgba(8, 8, 8, 0.985) 100%);
  opacity: var(--gallery-screen-opacity, 0);
  transform:
    translate3d(0, calc(var(--gallery-screen-y, 26px) + var(--gallery-screen-parallax-y, 22px)), -18px)
    scale(var(--gallery-screen-scale, 0.965));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 18px 42px rgba(255, 255, 255, 0.025),
    inset 0 -26px 50px rgba(0, 0, 0, 0.32),
    0 28px 76px rgba(0, 0, 0, 0.24),
    0 0 calc(28px + var(--gallery-theatre-glow, 0) * 56px) rgba(240, 217, 154, calc(0.06 + var(--gallery-theatre-glow, 0) * 0.1));
}

.gallery-page.gallery-scroll-enhanced .gallery-curtain {
  z-index: 2;
  opacity: calc(var(--gallery-curtain-opacity, 1) * (0.58 - var(--gallery-full-open, 0) * 0.24));
  filter: brightness(calc(var(--gallery-curtain-brightness, 1) * 0.72)) saturate(0.95);
}

.gallery-curtain::before,
.gallery-curtain::after {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, rgba(0, 0, 0, 0.12) 1px 16px, rgba(255, 255, 255, 0.02) 16px 24px, rgba(0, 0, 0, 0.09) 24px 40px),
    linear-gradient(180deg, #151515 0%, #050505 60%, #020202 100%);
}

.gallery-frame {
  opacity: var(--gallery-frame-opacity, 0);
  transform:
    translate3d(0, calc(var(--gallery-frame-y, 22px) + var(--gallery-frame-parallax-y, 28px)), 42px)
    rotateX(var(--gallery-frame-rotate, -0.8deg))
    scale(var(--gallery-frame-scale, 0.972));
  border-color: rgba(240, 217, 154, calc(0.2 + var(--gallery-theatre-glow, 0) * 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -70px 130px rgba(0, 0, 0, 0.32),
    0 40px 120px rgba(0, 0, 0, 0.52),
    0 0 calc(70px + var(--gallery-theatre-glow, 0) * 75px) rgba(220, 185, 108, calc(0.12 + var(--gallery-theatre-glow, 0) * 0.12));
  will-change: opacity, transform;
}

.gallery-caption-panel {
  z-index: 6;
  background: rgba(5, 5, 5, 0.62);
  border-color: rgba(240, 217, 154, calc(0.14 + var(--gallery-theatre-glow, 0) * 0.16));
}

.gallery-page .gallery-control-deck,
.gallery-page .gallery-actions {
  z-index: 6;
}

.gallery-ambient {
  opacity: calc(0.38 + var(--gallery-depth-light, 0) * 0.2);
}

@media (max-height: 820px) and (min-width: 761px) {
  .gallery-page .gallery-hero {
    min-height: 270svh;
  }

  .gallery-page .gallery-sticky-stage {
    padding-top: 78px;
    padding-bottom: 26px;
  }

  .gallery-page .gallery-intro {
    margin-bottom: 18px;
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 238svh;
  }

  .gallery-page .gallery-sticky-stage {
    top: 0;
    min-height: 100svh;
    padding: 82px 0 24px;
  }

  .gallery-page .gallery-intro {
    z-index: 8;
    width: calc(100vw - 28px);
    margin-bottom: 18px;
    text-align: left;
  }

  .gallery-page .gallery-intro h1 {
    max-width: 420px;
  }

  .gallery-page .gallery-intro p:not(.gallery-scroll-cue) {
    max-width: 390px;
  }

  .gallery-page .gallery-theatre {
    width: calc(100vw - 18px);
    padding: 46px 10px 14px;
    border-radius: 24px;
  }

  .gallery-stage-screen {
    left: 12px;
    right: 12px;
    top: 54px;
    bottom: 146px;
    border-radius: 18px;
  }

  .full-curtain {
    width: 62vw;
  }

  .full-curtain--left {
    transform:
      translate3d(calc(var(--gallery-full-open, 0) * -69vw), 0, calc(var(--gallery-full-open, 0) * 70px))
      rotateY(calc(var(--gallery-full-open, 0) * -13deg));
  }

  .full-curtain--right {
    transform:
      translate3d(calc(var(--gallery-full-open, 0) * 69vw), 0, calc(var(--gallery-full-open, 0) * 70px))
      rotateY(calc(var(--gallery-full-open, 0) * 13deg));
  }

  .full-curtain-valance {
    height: 82px;
  }

  .gallery-frame {
    transform:
      translate3d(0, calc(var(--gallery-frame-y, 22px) + var(--gallery-frame-parallax-y, 28px)), 28px)
      scale(var(--gallery-frame-scale, 0.972));
  }
}

@media (max-width: 430px) {
  .gallery-page .gallery-hero {
    min-height: 248svh;
  }

  .gallery-stage-screen {
    bottom: 138px;
  }

  .full-curtain {
    width: 66vw;
  }
}


/* --------------------------------------------------------------------------
   Gallery pinned scroll carousel patch: curtain locks centered, then scroll
   drives image steps before the page continues.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-hero {
  /* Enough scroll runway for: reveal -> 8 image steps -> gentle release. */
  min-height: 560svh;
  overflow: clip;
}

.gallery-page .gallery-sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  padding: clamp(64px, 7vh, 86px) 0 clamp(18px, 3vh, 30px);
}

.gallery-page .gallery-intro {
  grid-row: 1;
  margin: 0 auto clamp(14px, 2.6vh, 26px);
  pointer-events: none;
}

.gallery-page .gallery-theatre {
  grid-row: 2;
  margin: 0 auto;
  max-height: calc(100svh - clamp(120px, 17vh, 172px));
}

.gallery-page .gallery-control-deck,
.gallery-page .gallery-actions {
  grid-row: auto;
}

.gallery-page .gallery-control-deck {
  margin-top: clamp(10px, 1.8vh, 18px);
}

.gallery-page .gallery-actions {
  margin-top: clamp(10px, 1.8vh, 18px);
}

.gallery-page.gallery-scroll-enhanced .gallery-theatre {
  transform-origin: center center;
}

.gallery-page.gallery-scroll-enhanced .gallery-intro {
  will-change: opacity, transform;
}

.gallery-page .gallery-frame {
  max-height: min(38svh, 390px);
}

.gallery-page .gallery-slide {
  transition:
    opacity 0.54s var(--ease-soft),
    transform 0.7s var(--ease-soft),
    filter 0.7s var(--ease-soft);
}

.gallery-page .gallery-slide.is-active {
  transform: translate3d(0, 0, 0) scale(1);
}

.gallery-page .gallery-slide.is-leaving-left {
  transform: translate3d(-7%, 0, 0) scale(1.025);
}

@media (max-height: 820px) and (min-width: 761px) {
  .gallery-page .gallery-hero {
    min-height: 585svh;
  }

  .gallery-page .gallery-sticky-stage {
    padding-top: 58px;
    padding-bottom: 18px;
  }

  .gallery-page .gallery-intro {
    margin-bottom: 12px;
  }

  .gallery-page .gallery-intro h1 {
    font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  }

  .gallery-page .gallery-intro p:not(.gallery-scroll-cue) {
    display: none;
  }

  .gallery-page .gallery-frame {
    max-height: min(34svh, 340px);
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-hero {
    min-height: 590svh;
  }

  .gallery-page .gallery-sticky-stage {
    padding: 68px 0 18px;
    align-content: center;
  }

  .gallery-page .gallery-intro {
    width: calc(100vw - 28px);
    margin-bottom: 12px;
  }

  .gallery-page .gallery-intro h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .gallery-page .gallery-intro p:not(.gallery-scroll-cue) {
    display: none;
  }

  .gallery-page .gallery-theatre {
    max-height: calc(100svh - 118px);
  }

  .gallery-page .gallery-frame {
    max-height: min(32svh, 330px);
  }

  .gallery-page .gallery-control-deck {
    width: calc(100vw - 18px);
  }

  .gallery-page .gallery-actions {
    display: none;
  }
}

/* Center-lock correction: keep the theatre itself centered while scroll drives slides. */
.gallery-page .gallery-sticky-stage {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 0;
}

.gallery-page .gallery-intro {
  position: absolute;
  top: clamp(82px, 9vh, 112px);
  left: 50%;
  width: min(820px, calc(100vw - 36px));
  margin: 0;
  transform: translate3d(-50%, var(--gallery-intro-y, 0px), 180px);
}

.gallery-page.gallery-scroll-enhanced .gallery-intro {
  transform: translate3d(-50%, var(--gallery-intro-y, 0px), 180px);
}

.gallery-page .gallery-theatre {
  grid-row: 1;
  margin: 0 auto;
  max-height: min(78svh, 700px);
}

.gallery-page .gallery-control-deck {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.2vh, 34px);
  width: min(820px, calc(100vw - 42px));
  margin: 0;
  transform: translate3d(-50%, var(--gallery-controls-y, 30px), 0);
}

.gallery-page.gallery-scroll-enhanced .gallery-control-deck {
  transform: translate3d(-50%, var(--gallery-controls-y, 30px), 0);
}

.gallery-page .gallery-actions {
  display: none;
}

@media (max-height: 820px) and (min-width: 761px) {
  .gallery-page .gallery-intro {
    top: 68px;
  }

  .gallery-page .gallery-theatre {
    max-height: 80svh;
  }

  .gallery-page .gallery-control-deck {
    bottom: 12px;
  }
}

@media (max-width: 760px) {
  .gallery-page .gallery-intro {
    top: 72px;
    left: 50%;
    width: calc(100vw - 28px);
    transform: translate3d(-50%, var(--gallery-intro-y, 0px), 180px);
  }

  .gallery-page.gallery-scroll-enhanced .gallery-intro {
    transform: translate3d(-50%, var(--gallery-intro-y, 0px), 180px);
  }

  .gallery-page .gallery-control-deck {
    bottom: 10px;
    width: calc(100vw - 18px);
  }
}

.gallery-page.gallery-scroll-enhanced .gallery-intro {
  opacity: var(--gallery-intro-opacity, 1) !important;
}


/* --------------------------------------------------------------------------
   Gallery side previews patch: replace bottom thumbnail strip with elegant
   previous/next image cards on the left and right of the stage.
   -------------------------------------------------------------------------- */
.gallery-page .gallery-filmstrip {
  display: none !important;
}

.gallery-page .gallery-control-deck {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-page .gallery-dots {
  margin-inline: auto;
}

.gallery-page .gallery-theatre {
  --gallery-side-preview-top: calc(var(--gallery-arrow-top, 50%) - 2px);
}

.gallery-side-preview {
  position: absolute;
  top: var(--gallery-side-preview-top);
  z-index: 7;
  width: clamp(118px, 12vw, 156px);
  padding: 10px;
  border: 1px solid rgba(240, 217, 154, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(7, 7, 7, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 24px 54px rgba(0, 0, 0, 0.32),
    0 0 42px rgba(220, 185, 108, 0.08);
  backdrop-filter: blur(16px) saturate(1.14);
  -webkit-backdrop-filter: blur(16px) saturate(1.14);
  color: rgba(246, 240, 228, 0.92);
  cursor: pointer;
  transform-style: preserve-3d;
  transition:
    transform 0.34s var(--ease),
    border-color 0.34s var(--ease),
    background 0.34s var(--ease),
    box-shadow 0.34s var(--ease),
    opacity 0.28s var(--ease);
}

.gallery-side-preview::after {
  content: "";
  position: absolute;
  inset: auto 18px -8px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220, 185, 108, 0.22), transparent 72%);
  filter: blur(12px);
  opacity: 0.42;
  pointer-events: none;
}

.gallery-side-preview:hover,
.gallery-side-preview:focus-visible {
  border-color: rgba(240, 217, 154, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(10, 10, 10, 0.76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 64px rgba(0, 0, 0, 0.36),
    0 0 52px rgba(220, 185, 108, 0.12);
  outline: none;
}

.gallery-side-preview--prev {
  left: clamp(14px, 2vw, 24px);
  transform: translate3d(0, -50%, 22px) rotateY(12deg) rotateZ(-1.2deg);
}

.gallery-side-preview--prev:hover,
.gallery-side-preview--prev:focus-visible {
  transform: translate3d(-4px, -50%, 30px) rotateY(8deg) rotateZ(-1.1deg) scale(1.02);
}

.gallery-side-preview--next {
  right: clamp(14px, 2vw, 24px);
  transform: translate3d(0, -50%, 22px) rotateY(-12deg) rotateZ(1.2deg);
}

.gallery-side-preview--next:hover,
.gallery-side-preview--next:focus-visible {
  transform: translate3d(4px, -50%, 30px) rotateY(-8deg) rotateZ(1.1deg) scale(1.02);
}

.gallery-side-preview__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: rgba(240, 217, 154, 0.82);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: left;
}

.gallery-side-preview__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12)),
    rgba(18, 18, 18, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 16px 34px rgba(0, 0, 0, 0.26);
}

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

.gallery-side-preview__media::before {
  background-image: var(--side-preview-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
  opacity: 0.001;
}

.gallery-side-preview__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
}

.gallery-side-preview__media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 28%, transparent 66%, rgba(0, 0, 0, 0.42)),
    linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255, 0.16) 46%, transparent 57%);
  mix-blend-mode: screen;
  opacity: 0.74;
}

.gallery-side-preview__title {
  display: block;
  margin-top: 10px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.02;
  color: rgba(246, 240, 228, 0.92);
}

@media (min-width: 961px) {
  .gallery-page .gallery-theatre .gallery-arrow {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 1160px) {
  .gallery-side-preview {
    width: clamp(104px, 11vw, 134px);
    padding: 9px;
  }

  .gallery-side-preview__title {
    font-size: 0.96rem;
  }
}

@media (max-width: 960px) {
  .gallery-side-preview {
    display: none;
  }

  .gallery-page .gallery-theatre .gallery-arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .gallery-page .gallery-control-deck {
    width: calc(100vw - 18px);
  }
}


/* --------------------------------------------------------------------------
   Gallery center image corner-fit patch: make the artwork fully follow the
   rounded frame so the image edges align with the frame corners.
   -------------------------------------------------------------------------- */
.gallery-frame {
  isolation: isolate;
}

.gallery-slide {
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border-radius: inherit;
  overflow: hidden;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.gallery-fabric-overlay,
.gallery-frame-glass,
.gallery-frame::before {
  border-radius: inherit;
}

/* Contact section refinement: premium action cards and smooth parallax responsiveness */
@media (max-width: 640px) {
  .contact-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .contact-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 68px;
    padding: 12px;
    border-radius: 21px;
  }

  .contact-card:hover {
    transform: translate3d(0, -2px, 0);
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .contact-card strong {
    font-size: 0.92rem;
    white-space: normal;
  }

  .contact-orbit--one,
  .contact-orbit--two {
    opacity: 0.42;
  }
}


/* Studio section responsive polish */
@media (max-width: 1040px) {
  .studio {
    min-height: auto;
  }

  .studio.section-pad {
    padding: clamp(70px, 10vw, 112px) 0;
  }

  .studio-grid {
    gap: 30px;
  }

  .studio-visual {
    min-height: min(70vw, 520px);
  }

  .studio-copy-panel {
    max-width: 720px;
  }

  .studio-copy h2 {
    max-width: 680px;
    font-size: clamp(2.25rem, 7vw, 4.3rem);
  }
}

@media (max-width: 700px) {
  .studio.section-pad {
    padding: 68px 0 76px;
  }

  .studio-grid {
    gap: 24px;
  }

  .studio-visual {
    min-height: 420px;
  }

  .studio-frame-stack {
    inset: 0 7% 10% 0;
    border-radius: 28px;
  }

  .studio-outline {
    inset: 10% 0 0 8%;
    border-radius: 28px;
  }

  .studio-note {
    left: 6%;
    bottom: 5%;
    width: min(230px, 68%);
  }

  .studio-focus-ring {
    right: 0;
    top: 4%;
  }

  .studio-copy h2 {
    font-size: clamp(2.1rem, 11vw, 3.45rem);
  }

  .studio-copy p {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .stats-row {
    gap: 9px;
    margin-top: 24px;
  }

  .stats-row div {
    min-height: auto;
    padding: 14px 15px;
  }
}

@media (max-width: 430px) {
  .studio-visual {
    min-height: 360px;
  }

  .studio-note {
    padding: 12px 13px;
    border-radius: 18px;
  }

  .studio-note strong {
    font-size: 0.78rem;
  }
}


/* Project dialog refinement: calmer package actions + premium glass contact modal */
.package-card ul {
  margin-bottom: clamp(30px, 4.2vw, 46px);
}

.package-card {
  gap: 0;
}

.package-card .button {
  min-height: 50px;
  margin-top: auto;
}

body.project-dialog-open {
  overflow: hidden;
}

.project-dialog {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.42s var(--ease-soft),
    visibility 0.42s var(--ease-soft);
}

.project-dialog.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-dialog__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(240, 217, 154, 0.13), transparent 34vw),
    radial-gradient(circle at 18% 82%, rgba(128, 99, 50, 0.2), transparent 32vw),
    rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.project-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(26px, 4vw, 38px);
  outline: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 18% 0%, rgba(240, 217, 154, 0.13), transparent 34%),
    rgba(10, 10, 10, 0.78);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(1.24);
  -webkit-backdrop-filter: blur(28px) saturate(1.24);
  transform: translate3d(0, 24px, 0) scale(0.96);
  transition:
    transform 0.58s var(--ease-soft),
    opacity 0.46s var(--ease-soft);
}

.project-dialog.is-open .project-dialog__panel {
  transform: translate3d(0, 0, 0) scale(1);
}

.project-dialog__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(220, 185, 108, 0.12), transparent 42%);
  mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  padding: 1px;
  mask-composite: exclude;
  -webkit-mask-composite: xor;
}

.project-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.project-dialog__close:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(240, 217, 154, 0.32);
  background: rgba(255, 255, 255, 0.11);
}

.project-dialog__close span {
  position: absolute;
  width: 15px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
}

.project-dialog__close span:first-child {
  transform: rotate(45deg);
}

.project-dialog__close span:last-child {
  transform: rotate(-45deg);
}

.project-dialog__ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.project-dialog__ambient span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.58;
}

.project-dialog__ambient span:nth-child(1) {
  top: -14%;
  right: 8%;
  width: 210px;
  height: 210px;
  background: rgba(240, 217, 154, 0.14);
}

.project-dialog__ambient span:nth-child(2) {
  left: -8%;
  bottom: 8%;
  width: 180px;
  height: 180px;
  background: rgba(128, 99, 50, 0.2);
}

.project-dialog__ambient span:nth-child(3) {
  right: -6%;
  bottom: -9%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.055);
}

.project-dialog__header,
.project-dialog__selected,
.project-dialog__actions {
  position: relative;
  z-index: 2;
}

.project-dialog__header {
  padding-right: 42px;
}

.project-dialog__header .eyebrow {
  margin-bottom: 18px;
}

.project-dialog__header h2 {
  max-width: 560px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.45rem, 6vw, 4.55rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.project-dialog__header p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(246, 240, 228, 0.66);
  font-size: 0.95rem;
  line-height: 1.72;
}

.project-dialog__selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(22px, 4vw, 34px) 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 185, 108, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.052);
}

.project-dialog__selected span {
  color: rgba(246, 240, 228, 0.44);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-dialog__selected strong {
  color: var(--gold-2);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-align: right;
}

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

.project-dialog__contact {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.052);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition:
    transform 0.38s var(--ease),
    border-color 0.38s var(--ease),
    background 0.38s var(--ease),
    box-shadow 0.38s var(--ease);
}

.project-dialog__contact::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(240, 217, 154, 0.18), transparent 44%);
  transition: opacity 0.38s var(--ease);
}

.project-dialog__contact:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 217, 154, 0.28);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

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

.project-dialog__contact--primary {
  border-color: rgba(240, 217, 154, 0.32);
  background:
    linear-gradient(135deg, rgba(220, 185, 108, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.055);
}

.project-dialog__contact--wide {
  grid-column: 1 / -1;
}

.project-dialog__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(220, 185, 108, 0.18);
  border-radius: 16px;
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.065);
}

.project-dialog__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-dialog__contact span:last-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.project-dialog__contact small,
.project-dialog__contact strong {
  display: block;
}

.project-dialog__contact small {
  margin-bottom: 6px;
  color: rgba(246, 240, 228, 0.48);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-dialog__contact strong {
  overflow: hidden;
  color: rgba(246, 240, 228, 0.9);
  font-size: 0.91rem;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .project-dialog {
    padding: 12px;
  }

  .project-dialog__panel {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 18px;
    border-radius: 30px;
  }

  .project-dialog__header {
    padding-right: 44px;
  }

  .project-dialog__selected {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .project-dialog__selected strong {
    text-align: left;
  }

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

  .project-dialog__contact--wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-dialog,
  .project-dialog__panel,
  .project-dialog__contact {
    transition: none;
  }
}

/* Project dialog cursor fix: keep the custom cursor above the glass modal. */
@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    z-index: 9999;
  }

  body.project-dialog-open .cursor-dot,
  body.project-dialog-open .cursor-ring {
    z-index: 9999;
    opacity: 1;
  }
}


/* Mobile navigation repair: keep the menu fixed to the viewport, not the transformed header. */
@media (max-width: 1180px) {
  .site-header {
    left: 14px;
    right: 14px;
    width: auto;
    transform: none;
    z-index: 2600;
    overflow: visible;
    background: rgba(9, 9, 9, 0.58);
    border-color: rgba(220, 185, 108, 0.14);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
  }

  .menu-open .site-header {
    background: rgba(9, 9, 9, 0.72);
    border-color: rgba(240, 217, 154, 0.22);
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
      rgba(10, 10, 10, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    margin: 0;
    border-radius: 999px;
    background: var(--ink);
    transform-origin: center;
  }

  .menu-toggle span:first-child {
    transform: translate(-50%, -4px);
  }

  .menu-toggle span:last-child {
    transform: translate(-50%, 4px);
  }

  .menu-open .menu-toggle span:first-child {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: start;
    justify-items: stretch;
    gap: 8px;
    width: auto;
    height: 100dvh;
    padding: calc(76px + env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) calc(26px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 50% 8%, rgba(240, 217, 154, 0.16), transparent 34vh),
      radial-gradient(circle at 12% 92%, rgba(128, 99, 50, 0.22), transparent 30vh),
      rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(30px) saturate(1.24);
    -webkit-backdrop-filter: blur(30px) saturate(1.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0) scale(0.985);
    transition:
      opacity 0.38s var(--ease-soft),
      visibility 0.38s var(--ease-soft),
      transform 0.48s var(--ease-soft);
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .site-nav a {
    width: min(430px, 100%);
    min-height: 46px;
    margin: 0 auto;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;
    color: rgba(246, 240, 228, 0.78);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    opacity: 0;
    transform: translate3d(0, 8px, 0);
    transition:
      opacity 0.36s var(--ease),
      transform 0.46s var(--ease),
      color 0.28s var(--ease),
      background 0.28s var(--ease),
      border-color 0.28s var(--ease);
  }

  .menu-open .site-nav a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .menu-open .site-nav a:nth-child(1) { transition-delay: 0.03s; }
  .menu-open .site-nav a:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .site-nav a:nth-child(3) { transition-delay: 0.07s; }
  .menu-open .site-nav a:nth-child(4) { transition-delay: 0.09s; }
  .menu-open .site-nav a:nth-child(5) { transition-delay: 0.11s; }
  .menu-open .site-nav a:nth-child(6) { transition-delay: 0.13s; }
  .menu-open .site-nav a:nth-child(7) { transition-delay: 0.15s; }
  .menu-open .site-nav a:nth-child(8) { transition-delay: 0.17s; }
  .menu-open .site-nav a:nth-child(9) { transition-delay: 0.19s; }

  .site-nav a:hover,
  .site-nav a.is-current {
    border-color: rgba(240, 217, 154, 0.22);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.085);
  }

  .site-nav .nav-cta {
    min-height: 50px;
    margin-top: 4px;
    border-color: rgba(240, 217, 154, 0.34);
    color: #080808;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
  }
}

@media (max-width: 520px) {
  .site-nav {
    gap: 7px;
    padding-top: calc(72px + env(safe-area-inset-top));
  }

  .site-nav a {
    min-height: 43px;
    font-size: 0.72rem;
  }

  .site-nav .nav-cta {
    min-height: 47px;
  }
}

@media (max-height: 640px) and (max-width: 1180px) {
  .site-nav {
    gap: 6px;
    padding-top: calc(68px + env(safe-area-inset-top));
  }

  .site-nav a {
    min-height: 40px;
    font-size: 0.68rem;
  }
}
