:root {
  --acid: #b6ff2c;
  --acid-soft: rgba(182, 255, 44, 0.24);
  --ink: #05070c;
  --paper: #f7fbff;
  --glass: rgba(9, 13, 22, 0.52);
  --line: rgba(255, 255, 255, 0.22);
  --gold: #ffd27c;
  --sky: #9ed7ff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: #080a0f;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: rgba(182, 255, 44, 0.22);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.045;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 7px);
  mix-blend-mode: soft-light;
}

body.is-lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
  touch-action: manipulation;
}

a,
button {
  touch-action: manipulation;
}

img,
video {
  -webkit-user-drag: none;
  user-select: none;
}

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

.skip-link {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 100;
  min-height: 2.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  color: #071007;
  background: var(--acid);
  font-weight: 900;
  box-shadow: 0 0 26px rgba(182, 255, 44, 0.35);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(182, 255, 44, 0.12), transparent 21rem),
    linear-gradient(180deg, #020305, #090a0e 55%, #020305);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  inset: 2vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.preloader::after {
  inset: 4vw;
  border-color: rgba(182, 255, 44, 0.08);
  filter: blur(1px);
}

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

.preloader__glow {
  position: absolute;
  width: min(42vw, 36rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 255, 44, 0.18), transparent 66%);
  animation: pulse 1.6s ease-in-out infinite;
}

.preloader p,
.preloader strong {
  position: relative;
  margin: 0;
  text-align: center;
}

.preloader p {
  align-self: end;
  padding-bottom: 6.7rem;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.68);
}

.preloader strong {
  align-self: start;
  margin-top: -6.3rem;
  color: var(--acid);
  font-size: clamp(4.5rem, 11vw, 9.8rem);
  line-height: 0.9;
  text-shadow: 0 0 34px rgba(182, 255, 44, 0.42);
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(182, 255, 44, 0.2), transparent 22rem),
    linear-gradient(180deg, #121c24, #090c12 42rem, #080a0f);
}

.hero {
  position: relative;
  min-height: 92svh;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__video,
.hero__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fallback {
  z-index: -6;
  filter: saturate(1.04) contrast(1.02) brightness(0.96);
  transform: scale(1.01);
}

.hero__video {
  z-index: -5;
  background: #080a0f;
  opacity: 0;
  filter: saturate(1.04) contrast(1.02) brightness(0.96);
  transform: scale(1.01);
  transform-origin: center;
  transition: opacity 900ms ease;
}

.hero__video.is-ready {
  opacity: 1;
}

.hero__video.has-error,
.hero__video.is-paused {
  opacity: 0;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 242, 190, 0.2), transparent 28rem),
    linear-gradient(90deg, rgba(2, 5, 10, 0.42), rgba(2, 5, 10, 0.04) 50%, rgba(2, 5, 10, 0.24)),
    linear-gradient(180deg, rgba(2, 5, 10, 0.12), rgba(2, 5, 10, 0.02) 42%, rgba(2, 5, 10, 0.62));
  transition: background 500ms ease;
}

.pixel-snow {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
  contain: layout style paint;
  transform: translateZ(0);
}

.hero__sun {
  position: absolute;
  top: 13%;
  right: 16%;
  z-index: -2;
  width: clamp(8rem, 16vw, 15rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 194, 0.96), rgba(255, 209, 91, 0.2) 43%, transparent 68%);
  filter: blur(2px);
  mix-blend-mode: screen;
  animation: breathe 4s ease-in-out infinite;
}

.moving-clouds {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cloud-band,
.cloud-wisp,
.cloud-depth {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.cloud-depth {
  inset: -4%;
  background-image: url("./assets/hero-reference.png");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: blur(8px) saturate(1.08) brightness(1.12);
}

.cloud-depth--sky {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 40%, transparent 62%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 40%, transparent 62%, transparent 100%);
  animation: realCloudSky 32s ease-in-out infinite alternate;
}

.cloud-depth--sea {
  -webkit-mask-image: linear-gradient(180deg, transparent 18%, transparent 30%, #000 48%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 18%, transparent 30%, #000 48%, #000 88%, transparent 100%);
  opacity: 0.24;
  filter: blur(11px) saturate(1.05) brightness(1.16);
  animation: realCloudSea 42s ease-in-out infinite alternate;
}

.cloud-band,
.cloud-wisp {
  left: -35%;
  width: 170%;
}

.cloud-band {
  height: 42%;
  opacity: 0.42;
  filter: blur(18px);
  background:
    radial-gradient(ellipse at 9% 58%, rgba(255, 255, 255, 0.56), transparent 16%),
    radial-gradient(ellipse at 24% 42%, rgba(255, 244, 218, 0.5), transparent 18%),
    radial-gradient(ellipse at 43% 62%, rgba(255, 255, 255, 0.42), transparent 17%),
    radial-gradient(ellipse at 62% 43%, rgba(255, 232, 190, 0.46), transparent 19%),
    radial-gradient(ellipse at 79% 58%, rgba(255, 255, 255, 0.45), transparent 18%),
    radial-gradient(ellipse at 94% 50%, rgba(255, 255, 255, 0.36), transparent 15%);
}

.cloud-band--far {
  top: 12%;
  animation: cloudSlideFar 58s linear infinite;
}

.cloud-band--mid {
  bottom: 4%;
  height: 46%;
  opacity: 0.5;
  filter: blur(24px);
  animation: cloudSlideMid 38s linear infinite reverse;
}

.cloud-wisp {
  height: 32%;
  opacity: 0.36;
  filter: blur(28px);
  background:
    radial-gradient(ellipse at 18% 52%, rgba(255, 255, 255, 0.5), transparent 15%),
    radial-gradient(ellipse at 37% 44%, rgba(255, 236, 207, 0.42), transparent 16%),
    radial-gradient(ellipse at 61% 56%, rgba(255, 255, 255, 0.38), transparent 17%),
    radial-gradient(ellipse at 82% 45%, rgba(255, 246, 229, 0.4), transparent 15%);
}

.cloud-wisp--one {
  top: 25%;
  animation: cloudFloatOne 31s ease-in-out infinite alternate;
}

.cloud-wisp--two {
  bottom: -4%;
  opacity: 0.5;
  animation: cloudFloatTwo 24s ease-in-out infinite alternate;
}

.cloud-wisp--three {
  top: 46%;
  opacity: 0.26;
  animation: cloudFloatThree 44s ease-in-out infinite alternate;
}

.weather-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: 50%;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(72rem, calc(100% - 2rem));
  min-height: 3.25rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 10, 16, 0.5);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.contact-pill,
.nav-links a,
.weather-toggle,
.weather-option {
  min-height: 2.35rem;
  border-radius: 8px;
}

.brand:focus-visible,
.contact-pill:focus-visible,
.nav-links a:focus-visible,
.hero-work-card:focus-visible,
.work-tile:focus-visible,
.lightbox__close:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(182, 255, 44, 0.18), 0 0 30px rgba(182, 255, 44, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  color: #081007;
  background: var(--acid);
  font-weight: 900;
  letter-spacing: 0.03em;
  box-shadow: 0 0 22px rgba(182, 255, 44, 0.36);
}

.brand__mark,
.weather-toggle__icon {
  display: inline-block;
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #081007;
  box-shadow: inset 0 0 0 0.23rem var(--acid);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.nav-links a,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.contact-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-pill {
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: clamp(12rem, 24vh, 18rem);
}

.eyebrow {
  position: relative;
  z-index: 2;
  margin: 0 0 0.6rem;
  color: var(--acid);
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 20px rgba(182, 255, 44, 0.52);
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(4.7rem, 10.5vw, 7.8rem);
  line-height: 0.83;
  letter-spacing: 0;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}

.hero__title {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  overflow: visible;
  font-weight: 900;
  user-select: none;
  will-change: filter;
  transition: filter 180ms ease;
}

.hero__content:hover .hero__title {
  filter: contrast(1.04);
}

.pressure-char {
  display: inline-block;
  min-width: 0;
  transform: translate3d(0, var(--pressure-y, 0), 0) scaleX(var(--pressure-scale, 1));
  transform-origin: center bottom;
  font-variation-settings: "wght" var(--pressure-weight, 900), "wdth" var(--pressure-width, 100);
  font-weight: var(--pressure-weight, 900);
  transition:
    transform 180ms ease,
    color 180ms ease,
    font-variation-settings 180ms ease,
    font-weight 180ms ease;
  will-change: transform, font-variation-settings;
}

.pressure-char.is-active {
  color: #c9ff54;
}

.pressure-space {
  display: inline-block;
  flex: 0 0 0.28em;
  width: 0.28em;
}

.subtitle {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2.3vw, 1.8rem);
  line-height: 1.5;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  text-wrap: balance;
  transition: color 220ms ease, text-shadow 220ms ease, transform 220ms ease;
}

.hero__content:hover .subtitle {
  color: #fff;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

.hero-works {
  position: absolute;
  right: 0;
  bottom: clamp(1rem, 2.8vh, 2rem);
  left: 0;
  z-index: 3;
  overflow: hidden;
  padding: 4rem 0 0.65rem;
}

.hero-works__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.84), transparent 11%, transparent 89%, rgba(5, 7, 12, 0.84)),
    linear-gradient(180deg, transparent, rgba(5, 7, 12, 0.72) 42%, rgba(5, 7, 12, 0.94));
  pointer-events: none;
}

.hero-works__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 0 0.6rem;
}

.hero-works__viewport:focus-within {
  box-shadow: inset 0 0 0 1px rgba(182, 255, 44, 0.28);
}

.hero-works__track {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.15rem);
  width: max-content;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.hero-work-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(8.3rem, 10.5vw, 12rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

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

.hero-work-card::before {
  opacity: 0;
  background: var(--src) center / cover;
  filter: blur(18px) saturate(1.08);
  transform: scale(1.14);
  transition: opacity 180ms ease;
}

.hero-work-card::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.2));
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-work-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-work-card.is-framed::before {
  opacity: 0.72;
}

.hero-work-card.is-framed img {
  object-fit: contain;
  padding: 0.52rem;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

.hero-work-card:hover {
  z-index: 5;
  border-color: rgba(182, 255, 44, 0.74);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 0 28px rgba(182, 255, 44, 0.24);
  filter: saturate(1.06);
  transform: translateY(-0.55rem) scale(1.05);
}

.hero-work-card:hover img {
  filter: brightness(1.06) contrast(1.02);
  transform: scale(1.03);
}

.weather-control {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  top: 48%;
  z-index: 8;
  width: min(11.4rem, calc(100vw - 2rem));
  transform: translateY(-50%);
}

.weather-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  border: 1px solid rgba(182, 255, 44, 0.45);
  color: #081007;
  background: var(--acid);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(182, 255, 44, 0.34), var(--shadow);
}

.weather-toggle__icon {
  background: #081007;
  box-shadow: 0 0 0 0.25rem rgba(182, 255, 44, 0.55);
}

.weather-panel {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 10, 16, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  transform-origin: top;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}

.weather-control.is-collapsed .weather-panel {
  opacity: 0;
  visibility: hidden;
  transform: scaleY(0.92) translateY(-0.5rem);
}

.weather-option {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.weather-option:hover,
.weather-option.is-active {
  color: #071007;
  background: var(--acid);
}

.reveal-explorer-section {
  position: relative;
  z-index: 4;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 3rem) 0 clamp(0.5rem, 2vw, 1.5rem);
}

.reveal-explorer-section::before {
  content: "";
  position: absolute;
  top: -2.5rem;
  bottom: -2rem;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0), rgba(5, 7, 12, 0.86) 34%, #05070c 100%),
    radial-gradient(circle at 28% 0%, rgba(182, 255, 44, 0.08), transparent 22rem),
    radial-gradient(circle at 72% 18%, rgba(255, 210, 124, 0.08), transparent 26rem);
  pointer-events: none;
}

.reveal-explorer {
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-opacity: 0.16;
  position: relative;
  min-height: clamp(16rem, 25vw, 22rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #030508;
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  cursor: crosshair;
  isolation: isolate;
}

.reveal-explorer::before,
.reveal-explorer::after,
.reveal-explorer__base,
.reveal-explorer__layer,
.reveal-explorer__edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.reveal-explorer::before,
.reveal-explorer::after {
  content: "";
  z-index: 4;
}

.reveal-explorer::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.36)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 72%, rgba(0, 0, 0, 0.4));
  opacity: 0.44;
}

.reveal-explorer::after {
  background:
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(182, 255, 44, 0.24), transparent 7rem),
    radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 210, 124, 0.16), transparent 12rem);
  opacity: var(--spot-opacity);
  transition: opacity 420ms cubic-bezier(0.32, 0.72, 0, 1);
  mix-blend-mode: screen;
}

.reveal-explorer__base {
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0 22%, rgba(255, 255, 255, 0.055) 32%, transparent 48%),
    radial-gradient(ellipse at 18% 34%, rgba(255, 255, 255, 0.09), transparent 16rem),
    radial-gradient(ellipse at 76% 58%, rgba(182, 255, 44, 0.08), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 5.8rem),
    linear-gradient(135deg, #030508, #090d12 42%, #020305);
  filter: saturate(0.78) brightness(0.76);
}

.reveal-explorer__base::before,
.reveal-explorer__base::after,
.reveal-explorer__layer::before,
.reveal-explorer__layer::after {
  content: "";
  position: absolute;
  inset: 0;
}

.reveal-explorer__base::before {
  background:
    radial-gradient(ellipse at 25% 52%, rgba(255, 255, 255, 0.055), transparent 20rem),
    conic-gradient(from 220deg at 76% 54%, transparent, rgba(255, 255, 255, 0.05), transparent 28%);
  opacity: 0.8;
}

.reveal-explorer__base::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4.8rem 4.8rem;
  opacity: 0.16;
}

.reveal-explorer__layer {
  z-index: 2;
  opacity: var(--spot-opacity);
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(182, 255, 44, 0.28) 7% 7.25%, transparent 7.25% 22%, rgba(255, 210, 124, 0.36) 22% 22.3%, transparent 22.3% 100%),
    linear-gradient(180deg, transparent 0 18%, rgba(255, 255, 255, 0.11) 18% 18.35%, transparent 18.35% 54%, rgba(255, 255, 255, 0.08) 54% 54.25%, transparent 54.25% 100%),
    radial-gradient(circle at 32% 43%, rgba(255, 255, 255, 0.22), transparent 10rem),
    radial-gradient(circle at 71% 48%, rgba(182, 255, 44, 0.2), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(182, 255, 44, 0.07), rgba(255, 210, 124, 0.05));
  -webkit-mask-image: radial-gradient(circle at var(--spot-x) var(--spot-y), #000 0 5rem, rgba(0, 0, 0, 0.86) 8.5rem, rgba(0, 0, 0, 0.25) 13rem, transparent 17rem);
  mask-image: radial-gradient(circle at var(--spot-x) var(--spot-y), #000 0 5rem, rgba(0, 0, 0, 0.86) 8.5rem, rgba(0, 0, 0, 0.25) 13rem, transparent 17rem);
  transition: opacity 420ms cubic-bezier(0.32, 0.72, 0, 1);
}

.reveal-explorer__layer::before {
  inset: 12% 8%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(90deg, transparent 0 28%, rgba(255, 255, 255, 0.14) 28% 28.25%, transparent 28.25% 61%, rgba(255, 255, 255, 0.12) 61% 61.25%, transparent 61.25%),
    linear-gradient(180deg, transparent 0 44%, rgba(255, 255, 255, 0.13) 44% 44.35%, transparent 44.35%);
  box-shadow: inset 0 0 0 1px rgba(182, 255, 44, 0.08);
}

.reveal-explorer__layer::after {
  inset: auto 8% 13%;
  height: 0.55rem;
  background:
    linear-gradient(90deg, #b6ff2c 0 10%, #ffd27c 10% 22%, #73d7ff 22% 34%, #f3f3ee 34% 46%, transparent 46% 100%);
  opacity: 0.7;
}

.reveal-explorer__edge {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), transparent 36%, rgba(0, 0, 0, 0.56));
}

.reveal-explorer__content {
  position: absolute;
  inset: auto 1.25rem 1.15rem;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: end;
  pointer-events: none;
}

.reveal-explorer__content p,
.reveal-explorer__content h2,
.reveal-explorer__content span {
  margin: 0;
}

.reveal-explorer__content p {
  grid-column: 1 / -1;
  color: var(--acid);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.reveal-explorer__content h2 {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.reveal-explorer__content span {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: right;
}

.reveal-explorer.is-active {
  --spot-opacity: 1;
}

.gallery-section,
.video-section,
.contact-section {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 42rem;
  scroll-margin-top: 5.5rem;
}

.gallery-section {
  position: relative;
  isolation: isolate;
  padding-top: clamp(5.2rem, 9vw, 8.5rem);
}

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

.gallery-section::before {
  top: -5rem;
  bottom: -5rem;
  left: 50%;
  z-index: -3;
  width: 100vw;
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(8, 10, 15, 0), #05070c 8rem, #05070c 74%, rgba(8, 10, 15, 0.88)),
    linear-gradient(90deg, rgba(6, 9, 14, 0.96), rgba(9, 13, 20, 0.64) 24%, rgba(8, 10, 15, 0.28) 50%, rgba(9, 13, 20, 0.66) 76%, rgba(6, 9, 14, 0.96));
}

.gallery-section::after {
  top: -7rem;
  bottom: -6rem;
  left: 50%;
  z-index: -2;
  width: 100vw;
  transform: translateX(-50%);
  background:
    url("./assets/hero-poster.png") center top / min(118rem, 140vw) auto no-repeat,
    linear-gradient(180deg, rgba(182, 255, 44, 0.05), transparent 22rem);
  opacity: 0.13;
  mix-blend-mode: screen;
}

.gallery-atmosphere {
  top: -2rem;
  bottom: -3rem;
  left: 50%;
  z-index: -1;
  width: min(100vw, 118rem);
  transform: translateX(-50%);
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(130, 171, 190, 0.12) 32%, transparent 48% 100%),
    linear-gradient(72deg, transparent 0 54%, rgba(255, 210, 124, 0.09) 67%, transparent 82% 100%),
    repeating-linear-gradient(90deg, transparent 0 7.25rem, rgba(255, 255, 255, 0.035) 7.25rem 7.32rem, transparent 7.32rem 14.5rem);
  opacity: 0.78;
}

.gallery-section > .section-heading,
.gallery-archive-strip,
.gallery-grid {
  position: relative;
  z-index: 2;
}

.gallery-section > .section-heading {
  margin-bottom: 0.85rem;
}

.gallery-archive-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  padding: 0.78rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gallery-archive-strip span:nth-child(2) {
  text-align: center;
}

.gallery-archive-strip span:nth-child(3) {
  text-align: right;
}

.gallery-rail {
  position: absolute;
  top: clamp(7rem, 11vw, 10rem);
  z-index: 1;
  display: grid;
  align-content: space-between;
  width: min(22rem, 26vw);
  min-height: clamp(27rem, 53vw, 46rem);
  padding: clamp(1rem, 1.7vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    rgba(6, 8, 12, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.gallery-rail--left {
  left: max(calc((100% - 100vw) / 2 + 2rem), -26rem);
}

.gallery-rail--right {
  right: max(calc((100% - 100vw) / 2 + 2rem), -26rem);
  text-align: right;
}

.gallery-rail span,
.gallery-rail em {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.gallery-rail span {
  color: var(--acid);
}

.gallery-rail strong {
  display: block;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(2.6rem, 5.8vw, 6.2rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.gallery-rail em {
  max-width: 14rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
}

.gallery-rail--right em {
  margin-left: auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.section-heading p {
  margin: 0;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
  text-wrap: balance;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 5.8rem;
  gap: 0.8rem;
}

.work-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 520ms cubic-bezier(0.32, 0.72, 0, 1),
    border-color 520ms cubic-bezier(0.32, 0.72, 0, 1),
    filter 520ms cubic-bezier(0.32, 0.72, 0, 1),
    box-shadow 520ms cubic-bezier(0.32, 0.72, 0, 1);
}

.work-tile::before,
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
}

.work-tile::before {
  display: none;
  opacity: 0.96;
  transition: transform 420ms ease;
}

.work-tile img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  user-select: none;
  transition: transform 620ms cubic-bezier(0.32, 0.72, 0, 1);
}

.work-tile::after {
  z-index: 2;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.work-tile:hover {
  border-color: rgba(255, 255, 255, 0.28);
  filter: saturate(1.1);
  transform: translateY(-0.25rem);
  box-shadow:
    0 32px 86px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.work-tile:hover img {
  transform: scale(1.045);
}

.tile-wide {
  grid-column: span 6;
  grid-row: span 3;
}

.tile-portrait {
  grid-column: span 3;
  grid-row: span 5;
}

.tile-square {
  grid-column: span 3;
  grid-row: span 3;
}

.tile-tall {
  grid-column: span 4;
  grid-row: span 6;
}

.tile-landscape {
  grid-column: span 5;
  grid-row: span 3;
}

.tile-poster {
  grid-column: span 3;
  grid-row: span 4;
}

.visual-a::before {
  background: url("./assets/hero-poster.png") center / cover;
}

.visual-b::before {
  background:
    radial-gradient(circle at 50% 34%, #ffe7f2, transparent 22%),
    linear-gradient(150deg, #ff7dc8, #5b4dff 52%, #06111e);
}

.visual-c::before {
  background:
    conic-gradient(from 20deg at 70% 40%, #b6ff2c, #f8f3be, #5edbff, #171b2a, #b6ff2c);
}

.visual-d::before {
  background:
    radial-gradient(circle at 56% 24%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(180deg, #d8f1ff, #90b9ff 42%, #18243a);
}

.visual-e::before {
  background:
    linear-gradient(100deg, rgba(182, 255, 44, 0.85), transparent 24%),
    radial-gradient(circle at 68% 42%, #ffefb3, transparent 24%),
    linear-gradient(135deg, #0b1321, #356a8d);
}

.visual-f::before {
  background:
    radial-gradient(circle at 50% 72%, #ffcf6d, transparent 20%),
    linear-gradient(180deg, #1d1017, #4e111d 48%, #050608);
}

.visual-g::before {
  background:
    radial-gradient(circle at 22% 50%, #edf7ff, transparent 20%),
    linear-gradient(120deg, #e7fbff, #7bc6ff 46%, #123047);
}

.visual-h::before {
  background:
    linear-gradient(45deg, transparent 44%, rgba(255, 255, 255, 0.75) 45% 48%, transparent 49%),
    radial-gradient(circle at 56% 40%, #b6ff2c, transparent 20%),
    linear-gradient(180deg, #171d21, #08090f);
}

.video-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(18rem, 42vw, 30rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(182, 255, 44, 0.16), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    #05070c;
  box-shadow: var(--shadow);
}

.video-stage__ring {
  position: absolute;
  width: min(42vw, 25rem);
  aspect-ratio: 1;
  border: 1px solid rgba(182, 255, 44, 0.34);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(182, 255, 44, 0.16);
  animation: rotateGlow 8s linear infinite;
}

.video-stage p,
.video-stage span {
  position: relative;
  margin: 0;
  text-align: center;
}

.video-stage p {
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 4.6rem);
  font-weight: 900;
}

.video-stage span {
  margin-top: -3.8rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.16em;
}

.motion-gallery {
  display: grid;
  grid-template-columns: minmax(24rem, 2.4fr) repeat(3, minmax(6.2rem, 0.75fr));
  grid-auto-flow: dense;
  align-items: stretch;
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
}

.motion-card {
  position: relative;
  min-height: auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(182, 255, 44, 0.13), transparent 14rem),
    #05070c;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}

.motion-card--feature {
  grid-column: 1;
  grid-row: 1 / span 3;
  aspect-ratio: auto;
}

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

.motion-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.28));
  mix-blend-mode: screen;
  opacity: 0.62;
}

.motion-card::after {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(3, 5, 10, 0.54));
}

.motion-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02) brightness(0.9);
  transition: filter 260ms ease, transform 360ms ease;
}

.motion-card:hover,
.motion-card:focus-visible {
  z-index: 2;
  border-color: rgba(182, 255, 44, 0.62);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.48), 0 0 30px rgba(182, 255, 44, 0.18);
  filter: saturate(1.08);
  transform: translateY(-0.35rem);
}

.motion-card:hover video,
.motion-card:focus-visible video,
.motion-card.is-playing video {
  filter: saturate(1.08) contrast(1.04) brightness(1);
  transform: scale(1.025);
}

.film-cases {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.film-cases__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: clamp(1rem, 2.4vw, 1.7rem);
}

.film-cases__heading p,
.film-cases__heading h3 {
  margin: 0;
}

.film-cases__heading p {
  margin-bottom: 0.45rem;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.film-cases__heading h3 {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.film-cases__heading span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}

.film-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #05070c;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transform: translateZ(0);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

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

.film-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(0deg, rgba(3, 5, 10, 0.78), rgba(3, 5, 10, 0.02) 56%);
}

.film-card::after {
  inset: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 260ms ease;
}

.film-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.98) contrast(1.02);
  transition: filter 300ms ease, transform 520ms ease;
}

.film-card__meta {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.film-card__meta b,
.film-card__meta em {
  display: block;
  font-style: normal;
}

.film-card__meta b {
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.film-card__meta em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.film-card:hover,
.film-card:focus-visible,
.film-card.is-playing {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.52);
  transform: translateY(-0.28rem);
}

.film-card:hover::after,
.film-card:focus-visible::after,
.film-card.is-playing::after {
  opacity: 1;
}

.film-card:hover video,
.film-card:focus-visible video,
.film-card.is-playing video {
  filter: brightness(1) saturate(1.04) contrast(1.04);
  transform: scale(1.018);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 24rem);
  gap: 2rem;
  align-items: end;
  padding-bottom: 5rem;
}

.contact-copy p {
  margin-bottom: 0.7rem;
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-copy h2 {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(2rem, 5vw, 5.2rem);
  line-height: 1.04;
  text-wrap: balance;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(3, 5, 10, 0.86);
  backdrop-filter: blur(18px);
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

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

.lightbox__image,
.lightbox__video {
  max-width: min(92vw, 88rem);
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  object-fit: contain;
}

.lightbox__video {
  display: none;
  background: #020305;
}

.lightbox.is-video .lightbox__image {
  display: none;
}

.lightbox.is-video .lightbox__video {
  display: block;
}

.lightbox__close {
  position: fixed;
  top: max(1.1rem, env(safe-area-inset-top));
  right: max(1.1rem, env(safe-area-inset-right));
  z-index: 2;
  min-height: 2.4rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #071007;
  background: var(--acid);
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
}

[data-weather="rain"] .hero__veil {
  background:
    radial-gradient(circle at 32% 38%, rgba(155, 196, 255, 0.22), transparent 24rem),
    linear-gradient(90deg, rgba(3, 7, 14, 0.72), rgba(10, 25, 38, 0.34) 48%, rgba(2, 5, 10, 0.72)),
    linear-gradient(180deg, rgba(4, 8, 15, 0.45), rgba(3, 7, 14, 0.22) 44%, rgba(2, 5, 10, 0.83));
}

[data-weather="rain"] .hero__sun {
  opacity: 0.18;
}

[data-weather="snow"] .hero__veil {
  background:
    radial-gradient(circle at 50% 28%, rgba(230, 248, 255, 0.42), transparent 24rem),
    linear-gradient(90deg, rgba(2, 9, 18, 0.54), rgba(150, 206, 255, 0.16), rgba(3, 7, 14, 0.58)),
    linear-gradient(180deg, rgba(225, 242, 255, 0.08), rgba(4, 8, 13, 0.74));
}

[data-weather="sunset"] .hero__veil {
  background:
    radial-gradient(circle at 68% 32%, rgba(255, 148, 87, 0.42), transparent 25rem),
    linear-gradient(90deg, rgba(10, 4, 11, 0.64), rgba(86, 38, 72, 0.18), rgba(7, 5, 10, 0.7)),
    linear-gradient(180deg, rgba(255, 139, 82, 0.15), rgba(5, 5, 10, 0.78));
}

[data-weather="night"] .hero__veil {
  background:
    radial-gradient(circle at 70% 18%, rgba(182, 255, 44, 0.12), transparent 17rem),
    linear-gradient(90deg, rgba(1, 3, 9, 0.82), rgba(4, 13, 28, 0.5), rgba(1, 3, 9, 0.85)),
    linear-gradient(180deg, rgba(3, 7, 18, 0.72), rgba(1, 3, 8, 0.9));
}

[data-weather="night"] .hero__sun {
  width: clamp(5rem, 11vw, 9rem);
  background: radial-gradient(circle, rgba(231, 250, 255, 0.86), rgba(182, 255, 44, 0.12) 43%, transparent 70%);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.86;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes heroFloat {
  from {
    transform: scale(1.03) translate3d(-0.6%, -0.4%, 0);
  }
  to {
    transform: scale(1.07) translate3d(0.8%, 0.5%, 0);
  }
}

@keyframes cloudSlideFar {
  from {
    transform: translate3d(-8%, -1%, 0);
  }
  to {
    transform: translate3d(16%, 1%, 0);
  }
}

@keyframes realCloudSky {
  from {
    transform: translate3d(-1.4%, -0.6%, 0) scale(1.04);
  }
  to {
    transform: translate3d(1.7%, 0.7%, 0) scale(1.08);
  }
}

@keyframes realCloudSea {
  from {
    transform: translate3d(1.8%, 0.8%, 0) scale(1.05);
  }
  to {
    transform: translate3d(-2.2%, -0.9%, 0) scale(1.1);
  }
}

@keyframes cloudSlideMid {
  from {
    transform: translate3d(-6%, 2%, 0);
  }
  to {
    transform: translate3d(18%, -1%, 0);
  }
}

@keyframes cloudFloatOne {
  from {
    transform: translate3d(-7%, -3%, 0) scale(1);
  }
  to {
    transform: translate3d(10%, 2%, 0) scale(1.06);
  }
}

@keyframes cloudFloatTwo {
  from {
    transform: translate3d(8%, 3%, 0) scale(1.08);
  }
  to {
    transform: translate3d(-7%, -2%, 0) scale(1);
  }
}

@keyframes cloudFloatThree {
  from {
    transform: translate3d(-3%, 1%, 0);
  }
  to {
    transform: translate3d(13%, -4%, 0);
  }
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.03);
  }
}

@media (max-width: 1280px) {
  .gallery-rail {
    display: none;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero__content {
    padding-top: 11rem;
  }

  .hero-works {
    bottom: 0.65rem;
    padding-top: 2.8rem;
  }

  .hero-work-card {
    width: clamp(7.4rem, 28vw, 9rem);
  }

  .reveal-explorer-section {
    padding-top: 1.2rem;
  }

  .reveal-explorer {
    min-height: 15rem;
  }

  .reveal-explorer__content {
    grid-template-columns: 1fr;
  }

  .reveal-explorer__content span {
    text-align: left;
  }

  .gallery-section {
    padding-top: clamp(4.5rem, 8vw, 6rem);
  }

  .gallery-archive-strip {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .gallery-archive-strip span,
  .gallery-archive-strip span:nth-child(2),
  .gallery-archive-strip span:nth-child(3) {
    text-align: left;
  }

  .weather-control {
    top: auto;
    right: 1rem;
    bottom: 1rem;
    transform: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 4.8rem;
  }

  .tile-wide,
  .tile-landscape {
    grid-column: span 6;
  }

  .tile-portrait,
  .tile-square,
  .tile-poster {
    grid-column: span 3;
  }

  .tile-tall {
    grid-column: span 3;
    grid-row: span 5;
  }

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

  .motion-card,
  .motion-card--feature {
    grid-column: span 1;
    grid-row: span 1;
    min-height: auto;
  }

  .film-cases__heading {
    align-items: start;
    flex-direction: column;
  }

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

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

@media (max-width: 540px) {
  .contact-pill {
    display: none;
  }

  .topbar {
    width: calc(100% - 1rem);
  }

  .hero {
    min-height: 90svh;
  }

  .hero__content {
    width: calc(100% - 1.5rem);
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18.5vw, 4.6rem);
  }

  .subtitle {
    max-width: 19rem;
  }

  .hero-works {
    padding-top: 2rem;
  }

  .hero-works__track {
    gap: 0.65rem;
    padding-inline: 0.75rem;
  }

  .hero-work-card {
    width: 7.15rem;
  }

  .reveal-explorer-section {
    width: calc(100% - 1rem);
  }

  .reveal-explorer {
    min-height: 12.5rem;
  }

  .reveal-explorer__content {
    inset: auto 0.85rem 0.85rem;
  }

  .reveal-explorer__content h2 {
    font-size: clamp(1.35rem, 9vw, 2rem);
  }

  .reveal-explorer__content span {
    font-size: 0.56rem;
    line-height: 1.5;
  }

  .motion-gallery {
    gap: 0.65rem;
  }

  .gallery-archive-strip {
    font-size: 0.58rem;
    letter-spacing: 0.13em;
  }

  .gallery-atmosphere {
    opacity: 0.5;
  }

  .film-cases {
    margin-top: 2.4rem;
  }

  .film-card__meta {
    right: 0.75rem;
    bottom: 0.7rem;
    left: 0.75rem;
  }

  .weather-control {
    width: calc(100% - 2rem);
  }

  .weather-panel {
    grid-template-columns: repeat(5, 1fr);
  }

  .weather-option {
    min-height: 2.2rem;
    padding: 0;
    font-size: 0.78rem;
  }

  .gallery-grid {
    display: block;
  }

  .work-tile {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.8rem;
    aspect-ratio: 4 / 3;
  }

  .tile-portrait,
  .tile-tall,
  .tile-poster {
    aspect-ratio: 4 / 5;
  }

  .video-stage span {
    margin-top: -2.2rem;
  }
}

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