:root {
  --ink: #2b261f;
  --paper: #f4eee5;
  --milk: #fffaf2;
  --linen: #ebe0d1;
  --sage: #87927d;
  --rose: #bd8f91;
  --gold: #a98343;
  --line: rgba(43, 38, 31, 0.15);
  --dark-line: rgba(43, 38, 31, 0.14);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --scroll-progress: 0;
  --scroll-width: 0%;
  --scroll-frame-x: 0px;
  --scroll-frame-y: 0px;
  --scroll-frame-scale: 1;
  --film-shift-left: 0px;
  --film-shift-right: 0px;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family:
    "Avenir Next", "Manrope", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(169, 131, 67, 0.12), transparent 22%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 250, 242, 0.08) 48%, transparent 56%);
  opacity: 0;
  transition: opacity 0.5s ease;
  content: "";
  mix-blend-mode: soft-light;
}

body.has-pointer::before {
  opacity: 1;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

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

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

button,
input,
textarea {
  font: inherit;
}

#grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: soft-light;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 3;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(169, 131, 67, 0.18), rgba(255, 250, 242, 0.08) 36%, transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.4s ease;
  will-change: transform, opacity;
}

body.has-pointer .cursor-light {
  opacity: 1;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: var(--scroll-width);
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(169, 131, 67, 0), rgba(169, 131, 67, 0.9), rgba(189, 143, 145, 0.78));
  box-shadow: 0 0 22px rgba(169, 131, 67, 0.36);
  transform-origin: left center;
}

.film-hud {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 12;
  display: grid;
  gap: 10px;
  width: 18px;
  pointer-events: none;
  transform: translateY(-50%);
}

.film-hud span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: rgba(169, 131, 67, 0.36);
  transform: translateX(var(--film-shift-left));
  opacity: 0.42;
}

.film-hud span:nth-child(2),
.film-hud span:nth-child(4) {
  width: 10px;
  margin-left: auto;
  transform: translateX(var(--film-shift-right));
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 54px;
  color: var(--ink);
  background: linear-gradient(to bottom, rgba(255, 250, 242, 0.78), rgba(255, 250, 242, 0));
}

.brand,
.site-header nav,
.nav-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}

.site-header nav {
  justify-content: center;
  gap: 34px;
  font-size: 13px;
  color: rgba(43, 38, 31, 0.68);
}

.site-header nav a {
  transition: color 0.35s ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.nav-action {
  justify-content: center;
  min-width: 74px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96svh;
  padding: 118px 84px 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -12vw;
  bottom: -22vh;
  z-index: -1;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 143, 145, 0.2), transparent 64%);
  content: "";
  filter: blur(10px);
  animation: slowPulse 9s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(169, 131, 67, 0.11);
  border-radius: 18px;
  pointer-events: none;
  content: "";
  transform:
    translate3d(var(--scroll-frame-x), var(--scroll-frame-y), 0)
    scale(var(--scroll-frame-scale));
}

.hero-media,
.hero-media img,
.hero-shade,
.scan-line {
  position: absolute;
  inset: 0;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: drift 16s var(--ease) infinite alternate;
  filter: saturate(0.78) contrast(0.98) brightness(1.02);
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 73% 34%, rgba(255, 250, 242, 0.52), transparent 28%),
    linear-gradient(90deg, rgba(255, 250, 242, 0.88) 0%, rgba(255, 250, 242, 0.58) 45%, rgba(255, 250, 242, 0.22) 100%),
    linear-gradient(to top, rgba(244, 238, 229, 0.86), transparent 42%);
}

.scan-line {
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 131, 67, 0.42), transparent);
  animation: scan 7s ease-in-out infinite;
  opacity: 0.5;
}

.hero-motion,
.section-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-motion {
  z-index: -1;
}

.motion-ring,
.motion-word,
.motion-beam,
.film-frame {
  position: absolute;
  display: block;
  will-change: transform;
}

.motion-ring {
  border: 1px solid rgba(169, 131, 67, 0.24);
  border-radius: 50%;
  filter: blur(0.2px);
}

.ring-one {
  right: 12%;
  top: 18%;
  width: 310px;
  height: 310px;
  animation: floatOrbit 14s linear infinite;
}

.ring-two {
  right: 28%;
  bottom: 14%;
  width: 164px;
  height: 164px;
  border-color: rgba(135, 146, 125, 0.3);
  animation: floatOrbit 18s linear infinite reverse;
}

.motion-word {
  color: rgba(43, 38, 31, 0.13);
  font-family: "Didot", "Bodoni 72", "Cormorant Garamond", Georgia, serif;
  font-size: 84px;
  line-height: 1;
  text-transform: lowercase;
}

.motion-beam {
  width: 34vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 131, 67, 0.36), rgba(255, 250, 242, 0.65), transparent);
  filter: blur(0.2px);
  opacity: 0.74;
  transform-origin: center;
  animation: beamTravel 8.5s ease-in-out infinite;
}

.beam-one {
  right: 4%;
  top: 32%;
  transform: rotate(-18deg);
}

.beam-two {
  left: 34%;
  bottom: 26%;
  width: 26vw;
  transform: rotate(24deg);
  animation-delay: -4s;
}

.film-frame {
  width: 190px;
  height: 118px;
  border: 1px solid rgba(169, 131, 67, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.15), transparent),
    repeating-linear-gradient(90deg, rgba(43, 38, 31, 0.11) 0 7px, transparent 7px 18px);
  opacity: 0.28;
  transform: rotate(-7deg);
  animation: frameFloat 10s ease-in-out infinite alternate;
}

.frame-one {
  right: 17%;
  top: 58%;
}

.frame-two {
  left: 6%;
  top: 32%;
  width: 132px;
  height: 86px;
  transform: rotate(9deg);
  animation-delay: -5s;
}

.word-one {
  right: 9%;
  top: 42%;
  transform: rotate(-8deg);
  animation: wordDrift 7s ease-in-out infinite alternate;
}

.word-two {
  left: 45%;
  bottom: 10%;
  transform: rotate(6deg);
  animation: wordDrift 8s ease-in-out infinite alternate-reverse;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  max-width: 980px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.kinetic-title {
  display: grid;
  gap: 0;
  margin: 0;
  font-family: "Didot", "Bodoni 72", "Cormorant Garamond", Georgia, serif;
  font-size: 176px;
  font-weight: 400;
  line-height: 0.82;
  text-wrap: balance;
}

.kinetic-title span {
  display: block;
  opacity: 0;
  transform: translateY(42px);
  animation: titleIn 1.2s var(--ease) forwards;
}

.kinetic-title span:nth-child(2) {
  color: rgba(43, 38, 31, 0.5);
  animation-delay: 0.12s;
}

.hero-line {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(43, 38, 31, 0.72);
  font-size: 22px;
  line-height: 1.45;
}

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

.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    background 0.35s ease;
}

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

.primary,
.contact-form button {
  background: var(--ink);
  color: var(--milk);
}

.ghost {
  border-color: var(--line);
  background: rgba(255, 250, 242, 0.38);
}

.hero-caption {
  position: absolute;
  right: 84px;
  bottom: 64px;
  z-index: 2;
  width: min(270px, calc(100% - 36px));
  color: rgba(43, 38, 31, 0.66);
  font-size: 13px;
  line-height: 1.55;
}

.hero-caption span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
}

.section-band {
  position: relative;
  padding: 104px 120px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.section-motion {
  overflow: hidden;
}

.section-motion span {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(169, 131, 67, 0.2), transparent);
  transform: rotate(-18deg);
  will-change: transform;
}

.intro-motion span:first-child {
  top: 22%;
  left: -8%;
  width: 44%;
  height: 1px;
}

.intro-motion span:last-child {
  right: -10%;
  bottom: 24%;
  width: 38%;
  height: 1px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 1fr);
  gap: 120px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.studio h2,
.contact h2 {
  margin: 0;
  font-family: "Didot", "Bodoni 72", "Cormorant Garamond", Georgia, serif;
  font-size: 88px;
  font-weight: 400;
  line-height: 0.96;
  text-wrap: balance;
}

.intro p:last-child,
.studio-copy p,
.contact-copy p {
  margin: 0;
  color: rgba(7, 7, 7, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.34fr);
  gap: 96px;
  overflow: hidden;
  padding: 112px 84px;
}

.section-grid::before,
.section-band::before,
.contact::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 250, 242, 0.2) 48%, transparent 56%),
    radial-gradient(circle at calc(35% + var(--scene-shift, 0%)) 20%, rgba(169, 131, 67, 0.12), transparent 30%);
  opacity: var(--scene-opacity, 0.2);
  transform: translate3d(0, var(--scene-y, 0px), 0);
}

.section-grid > *,
.section-band > *,
.contact > * {
  position: relative;
  z-index: 1;
}

.services {
  background: linear-gradient(135deg, #fffaf2, #ebe0d1 58%, #e4e8df);
  color: var(--ink);
}

.section-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.section-heading.narrow {
  position: relative;
  top: auto;
  max-width: 820px;
  margin: 0 auto 44px;
  padding: 0 18px;
  text-align: center;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-x: 0px;
  --hover-y: 0px;
  position: relative;
  min-height: 176px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.86), rgba(255, 250, 242, 0.4)),
    rgba(255, 250, 242, 0.72);
  box-shadow: 0 24px 80px rgba(43, 38, 31, 0.08);
  transform-style: preserve-3d;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s ease,
    background 0.45s ease;
  overflow: hidden;
  isolation: isolate;
}

.service-card::before,
.process-step::before,
.reel-card::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(169, 131, 67, 0.22), transparent 32%),
    linear-gradient(120deg, transparent, rgba(255, 250, 242, 0.34), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  content: "";
  z-index: 0;
}

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

.service-card:hover {
  border-color: rgba(169, 131, 67, 0.52);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(228, 232, 223, 0.72)),
    rgba(255, 250, 242, 0.92);
}

.service-card:hover::before,
.process-step:hover::before,
.reel-card:hover::before {
  opacity: 1;
}

.service-card span,
.process-step span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin: 22px 0 12px;
  font-size: 28px;
  font-weight: 500;
}

.service-card p {
  max-width: 610px;
  margin: 0;
  color: rgba(43, 38, 31, 0.66);
  line-height: 1.65;
}

.reel-wall {
  position: relative;
  padding: 112px 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

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

.reel-ambient span {
  position: absolute;
  display: block;
  border: 1px solid rgba(169, 131, 67, 0.18);
  border-radius: 999px;
  transform: translate3d(0, var(--depth-y, 0px), 0);
  animation: ambientSpin 14s linear infinite;
}

.reel-ambient span:nth-child(1) {
  left: 6%;
  top: 28%;
  width: 180px;
  height: 180px;
}

.reel-ambient span:nth-child(2) {
  right: 10%;
  top: 16%;
  width: 110px;
  height: 110px;
  animation-direction: reverse;
}

.reel-ambient span:nth-child(3) {
  right: 18%;
  bottom: 10%;
  width: 260px;
  height: 260px;
  border-radius: 34% 66% 58% 42%;
  animation-duration: 20s;
}

.reel-wall::before,
.reel-wall::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 131, 67, 0.28), transparent);
  animation: lineSweep 8s ease-in-out infinite;
}

.reel-wall::before {
  top: 18%;
}

.reel-wall::after {
  bottom: 16%;
  animation-delay: -4s;
}

.reel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 18px;
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  align-items: center;
}

.reel-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-x: 0px;
  --hover-y: 0px;
  display: grid;
  gap: 14px;
  position: relative;
  border-radius: 8px;
  transform-style: preserve-3d;
}

.reel-card p {
  margin: 0;
  color: rgba(7, 7, 7, 0.58);
  font-size: 13px;
  text-transform: uppercase;
}

.motion-panel {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.95), rgba(235, 224, 209, 0.62)),
    #fffaf2;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(43, 38, 31, 0.08), 0 24px 70px rgba(43, 38, 31, 0.1);
  isolation: isolate;
  transform:
    translate3d(var(--panel-x, 0px), var(--panel-y, 0px), 0)
    scale(var(--scene-card-scale, 1));
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.motion-panel:hover {
  box-shadow: inset 0 0 0 1px rgba(43, 38, 31, 0.08), 0 34px 96px rgba(43, 38, 31, 0.14);
}

.motion-panel.cinematic i {
  position: absolute;
  inset: -35%;
  display: block;
  background:
    linear-gradient(110deg, transparent 34%, rgba(255, 250, 242, 0.58) 46%, transparent 58%),
    linear-gradient(180deg, transparent, rgba(169, 131, 67, 0.1), transparent);
  transform: translateX(-34%) rotate(8deg);
  animation: lightSweep 4.6s ease-in-out infinite;
  content: "";
}

.reel-card:not(.tall) .motion-panel {
  min-height: 330px;
}

.motion-panel::before,
.motion-panel::after {
  position: absolute;
  content: "";
  inset: 18%;
  border: 1px solid rgba(43, 38, 31, 0.16);
  transform: rotate(8deg);
  animation: orbit 9s linear infinite;
}

.motion-panel::after {
  inset: 28%;
  border-color: rgba(169, 131, 67, 0.24);
  animation-duration: 12s;
  animation-direction: reverse;
}

.motion-panel span {
  z-index: 1;
  max-width: 220px;
  text-align: center;
  color: rgba(43, 38, 31, 0.72);
  font-family: "Didot", "Bodoni 72", "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
  transform:
    translate3d(var(--text-x, 0px), var(--text-y, 0px), 34px)
    scale(var(--scene-text-scale, 1));
}

.motion-panel.quiet {
  background:
    linear-gradient(145deg, rgba(228, 232, 223, 0.95), rgba(255, 250, 242, 0.64)),
    #e4e8df;
}

.motion-panel.light {
  background:
    radial-gradient(circle at 50% 34%, rgba(189, 143, 145, 0.18), transparent 32%),
    linear-gradient(160deg, #fffaf2, #ebe0d1);
}

.studio {
  background: linear-gradient(135deg, #e4e8df, #fffaf2 65%);
  color: var(--ink);
}

.studio-copy p {
  margin-top: 28px;
  color: rgba(43, 38, 31, 0.66);
}

.process {
  display: grid;
  gap: 12px;
}

.process-step {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --hover-x: 0px;
  --hover-y: 0px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-radius: 8px;
  transform-style: preserve-3d;
  transition:
    transform 0.45s var(--ease),
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.process-step:hover {
  background: rgba(255, 250, 242, 0.42);
  box-shadow: 0 18px 60px rgba(43, 38, 31, 0.06);
}

.process-step strong {
  display: block;
  margin-top: 28px;
  font-size: 28px;
  font-weight: 500;
}

.process-step p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(43, 38, 31, 0.64);
  line-height: 1.65;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 0.82fr);
  gap: 100px;
  overflow: hidden;
  padding: 112px 84px;
  background: var(--paper);
  color: var(--ink);
}

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

.contact-form {
  display: grid;
  gap: 22px;
  align-self: start;
}

.contact-form label {
  display: grid;
  gap: 12px;
}

.contact-form label span {
  display: inline-flex;
  padding-left: 2px;
  color: rgba(43, 38, 31, 0.68);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  outline: 0;
  padding: 17px 20px;
  resize: vertical;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-form input {
  min-height: 68px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(43, 38, 31, 0.34);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(196, 169, 107, 0.72);
  background: var(--milk);
  box-shadow: 0 0 0 4px rgba(196, 169, 107, 0.08);
}

.contact-form button {
  width: fit-content;
  min-width: 162px;
  margin-top: 6px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 84px;
  background: var(--paper);
  color: rgba(43, 38, 31, 0.58);
  font-size: 13px;
}

[data-reveal],
.reveal-split {
  --reveal-x: 0;
  --reveal-y: 34px;
  --reveal-rotate: 0deg;
  --reveal-scale: 1;
  opacity: 0;
  transform:
    translate3d(var(--reveal-x), var(--reveal-y), 0)
    rotate(var(--reveal-rotate))
    scale(var(--reveal-scale));
  will-change: opacity, transform, filter;
  filter: blur(14px);
  transition:
    opacity 1.05s var(--ease),
    transform 1.05s var(--ease),
    filter 1.05s var(--ease);
}

[data-reveal="from-left"] {
  --reveal-x: -64px;
  --reveal-y: 0;
}

[data-reveal="from-right"] {
  --reveal-x: 64px;
  --reveal-y: 0;
}

[data-reveal="fade-down"] {
  --reveal-y: -28px;
}

[data-reveal="fade-up"] {
  --reveal-y: 58px;
}

[data-reveal="diagonal-left"] {
  --reveal-x: 54px;
  --reveal-y: 54px;
  --reveal-rotate: 2deg;
}

[data-reveal="diagonal-right"] {
  --reveal-x: -54px;
  --reveal-y: 54px;
  --reveal-rotate: -2deg;
}

[data-reveal="scale-in"] {
  --reveal-y: 46px;
  --reveal-scale: 0.92;
}

[data-reveal].is-visible,
.reveal-split.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  filter: blur(0);
}

[data-tilt].is-visible {
  transform:
    perspective(920px)
    translate3d(var(--hover-x), var(--hover-y), 0)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
}

[data-tilt].is-visible:hover {
  --hover-y: -4px;
}

@keyframes drift {
  from {
    transform: scale(1.06) translate3d(-1%, calc(-1% + var(--depth-y, 0px)), 0);
  }
  to {
    transform: scale(1.12) translate3d(1.2%, calc(1% + var(--depth-y, 0px)), 0);
  }
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(20svh);
  }
  50% {
    transform: translateY(84svh);
  }
}

@keyframes titleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbit {
  to {
    transform: rotate(368deg);
  }
}

@keyframes floatOrbit {
  from {
    transform: translate3d(0, var(--depth-y, 0px), 0) rotate(0deg);
  }
  to {
    transform: translate3d(0, var(--depth-y, 0px), 0) rotate(360deg);
  }
}

@keyframes wordDrift {
  from {
    translate: 0 var(--depth-y, 0px);
  }
  to {
    translate: 18px calc(var(--depth-y, 0px) - 14px);
  }
}

@keyframes lightSweep {
  0%,
  100% {
    transform: translateX(-44%) rotate(8deg);
    opacity: 0.22;
  }
  48% {
    transform: translateX(42%) rotate(8deg);
    opacity: 0.78;
  }
}

@keyframes lineSweep {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0;
  }
  50% {
    transform: translateX(18%);
    opacity: 1;
  }
}

@keyframes beamTravel {
  0%,
  100% {
    opacity: 0.18;
    translate: -26px var(--depth-y, 0px);
    scale: 0.92 1;
  }
  48% {
    opacity: 0.8;
    translate: 32px calc(var(--depth-y, 0px) - 18px);
    scale: 1.12 1;
  }
}

@keyframes frameFloat {
  from {
    opacity: 0.16;
    translate: -14px var(--depth-y, 0px);
  }
  to {
    opacity: 0.36;
    translate: 18px calc(var(--depth-y, 0px) - 20px);
  }
}

@keyframes ambientSpin {
  to {
    transform: translate3d(0, var(--depth-y, 0px), 0) rotate(360deg);
  }
}

@keyframes slowPulse {
  from {
    transform: scale(0.92);
    opacity: 0.42;
  }
  to {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

@media (max-width: 860px) {
  [data-reveal="from-left"],
  [data-reveal="diagonal-right"] {
    --reveal-x: -28px;
  }

  [data-reveal="from-right"],
  [data-reveal="diagonal-left"] {
    --reveal-x: 28px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 22px;
  }

  .site-header nav {
    display: none;
  }

  .film-hud {
    display: none;
  }

  .hero {
    min-height: 94svh;
    padding: 96px 22px 54px;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 52% 36%, rgba(255, 250, 242, 0.36), transparent 30%),
      linear-gradient(to bottom, rgba(255, 250, 242, 0.62), rgba(244, 238, 229, 0.86)),
      linear-gradient(to top, rgba(244, 238, 229, 0.82), transparent 48%);
  }

  .kinetic-title {
    font-size: 86px;
  }

  .hero-line {
    font-size: 18px;
  }

  .hero-caption {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 48px;
  }

  .intro,
  .section-grid,
  .contact {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 88px 22px;
  }

  .section-band {
    padding: 88px 22px;
  }

  .intro h2,
  .section-heading h2,
  .studio h2,
  .contact h2 {
    font-size: 58px;
  }

  .section-heading {
    position: relative;
    top: auto;
  }

  .reel-track {
    grid-template-columns: 1fr;
  }

  .motion-panel,
  .reel-card:not(.tall) .motion-panel {
    min-height: 360px;
  }

  .motion-word {
    font-size: 48px;
  }

  .motion-beam,
  .film-frame {
    opacity: 0.22;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 16px;
  }

  .nav-action {
    min-width: 0;
    min-height: 36px;
    padding: 0 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  .brand span:last-child {
    display: none;
  }

  .hero,
  .section-band,
  .section-grid,
  .contact {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button,
  .contact-form button {
    width: 100%;
  }

  .contact-form {
    gap: 20px;
  }

  .contact-form label {
    gap: 11px;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 10px;
    padding: 16px 18px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .service-card {
    padding: 22px;
  }

  .intro h2,
  .section-heading h2,
  .studio h2,
  .contact h2 {
    font-size: 42px;
  }

  .kinetic-title {
    font-size: 58px;
  }
}

@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;
  }

  .scroll-meter,
  .film-hud,
  .cursor-light {
    display: none;
  }
}
