/* Reset/base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: #020202;
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #020202;
  color: rgba(229, 199, 154, 0.72);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: var(--body-size);
  line-height: 1.35;
  text-rendering: geometricPrecision;
}

body,
button,
input,
textarea,
select {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

/* Design tokens / CSS variables */
:root {
  --black: #020202;
  --bg: #030302;
  --panel: #050403;
  --red: #ff3f2e;
  --red-deep: #d9412c;
  --gold: rgba(221, 180, 121, 0.86);
  --gold-strong: rgba(218, 165, 94, 0.92);
  --gold-soft: rgba(229, 199, 154, 0.62);
  --gold-muted: rgba(214, 190, 147, 0.5);
  --gold-faint: rgba(179, 131, 70, 0.28);

  --body-size: 18px;
  --header-brand-size: 23px;
  --nav-size: 13px;
  --hero-menu-size: 206px;
  --section-title-size: 76px;
  --about-head-size: 58px;
  --about-copy-size: 28px;
  --service-title-size: 52px;
  --service-copy-size: 24px;
  --asset-title-size: 148px;
  --asset-copy-size: 26px;
  --contact-title-size: 154px;
  --contact-copy-size: 24px;

  --side-pad: 5.5vw;
  --menu-left: 10.5vw;
  --menu-top: 27vh;
  --menu-rotate-y: 21deg;
  --menu-rotate-z: 3.4deg;
  --menu-skew-y: 5.4deg;
  --menu-scale-x: 0.82;
  --menu-color: rgba(216, 193, 145, 0.30);
  --menu-hover-color: rgba(245, 232, 198, 0.30);
  --hero-layer-position: left center;
  --sign-overlay-scale: 1;
  --sign-overlay-x: 0;
  --sign-overlay-y: 0;

  --shadow-opacity: 0.9;
  --card-w: 27vw;
  --card-h: 22vw;
  --gap: 0.45vw;
  --reel-top-padding: 3.2vw;
  --reel-bottom-padding: 3.2vw;
  --stage-padding-x: 1.6vw;

  --game-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Cpath d='M3 2 L18 11 L11.5 12.8 L9 20 Z' fill='%23ff3f2e'/%3E%3C/svg%3E") 3 2, auto;
}

@media (max-width: 1600px) {
  :root {
    --hero-menu-size: 184px;
    --section-title-size: 70px;
    --about-head-size: 54px;
    --about-copy-size: 26px;
    --service-title-size: 48px;
    --asset-title-size: 132px;
    --contact-title-size: 136px;
  }
}

@media (max-width: 1440px) {
  :root {
    --hero-menu-size: 164px;
    --section-title-size: 64px;
    --about-head-size: 48px;
    --about-copy-size: 24px;
    --service-title-size: 43px;
    --service-copy-size: 22px;
    --asset-title-size: 118px;
    --asset-copy-size: 23px;
    --contact-title-size: 122px;
  }
}

@media (max-width: 1280px) {
  :root {
    --hero-menu-size: 125px;
    --section-title-size: 58px;
    --about-head-size: 42px;
    --about-copy-size: 22px;
    --service-title-size: 38px;
    --service-copy-size: 20px;
    --asset-title-size: 104px;
    --asset-copy-size: 21px;
    --contact-title-size: 108px;
    --card-w: 31vw;
    --card-h: 25vw;
    --sign-overlay-scale: 1.02;
    --sign-overlay-x: 0;
  }
}

@media (max-width: 1100px) {
  :root {
    --side-pad: 32px;
    --hero-menu-size: 124px;
    --about-head-size: 38px;
    --service-title-size: 34px;
    --menu-left: 11vw;
  }
}

/* Global header */
.site-fold {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  background: var(--bg);
}

#heroFold {
  height: 100svh;
  overflow: hidden;
}

.global-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 96px;
  padding: 30px var(--side-pad) 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  border-bottom: 1px solid rgba(179, 131, 70, 0.24);
  background: linear-gradient(180deg, rgba(2, 2, 2, 0.9), rgba(2, 2, 2, 0.42));
  backdrop-filter: blur(10px);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.global-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.global-header__brand {
  text-transform: uppercase;
  letter-spacing: 0.42em;
}

.global-header__brand span {
  display: block;
  color: var(--gold-strong);
  font-size: var(--header-brand-size);
  font-weight: 500;
}

.global-header__brand small {
  display: block;
  margin-top: 8px;
  color: rgba(214, 190, 147, 0.55);
  font-size: 12px;
  letter-spacing: 0.34em;
}

.global-header__nav {
  display: flex;
  gap: 52px;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  color: var(--gold-muted);
  font-size: var(--nav-size);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.global-header__nav a {
  position: relative;
  transition: color 180ms ease;
}

.global-header__nav a:hover,
.global-header__nav a.is-active {
  color: rgba(218, 165, 94, 0.98);
}

.global-header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 18px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--red);
}

.global-header__availability {
  justify-self: end;
  padding-top: 8px;
  color: var(--gold-muted);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.global-header__availability span {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
}

/* Loader */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(159, 52, 31, 0.18), transparent 34%),
    radial-gradient(circle at 20% 70%, rgba(179, 131, 70, 0.12), transparent 30%),
    #020202;
  color: rgba(229, 199, 154, 0.82);
  transition: opacity 480ms ease, visibility 480ms ease;
}

.loader-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-panel {
  width: min(520px, calc(100vw - 44px));
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.loader-title {
  margin-bottom: 18px;
  color: rgba(218, 165, 94, 0.9);
  font-size: clamp(28px, 5vw, 58px);
  line-height: 0.95;
}

.loader-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: rgba(214, 190, 147, 0.54);
  font-size: 12px;
}

.loader-bar {
  height: 2px;
  overflow: hidden;
  background: rgba(179, 131, 70, 0.22);
}

.loader-bar span {
  display: block;
  width: 38%;
  height: 100%;
  background: var(--red);
  animation: loaderScan 1.15s ease-in-out infinite;
}

@keyframes loaderScan {
  from { transform: translateX(-110%); }
  to { transform: translateX(290%); }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
}

.layer {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.bg-layer {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-layer-position);
  z-index: 1;
}

.grade-layer {
  inset: 0;
  z-index: 2;
  background: linear-gradient(45deg, transparent 38%, black 87%);
  mix-blend-mode: multiply;
}

.wall-menu-wrap {
  position: absolute;
  left: var(--menu-left);
  top: var(--menu-top);
  z-index: 3;
  transform-origin: left top;
  transform: perspective(1100px) rotateY(var(--menu-rotate-y)) rotateZ(var(--menu-rotate-z)) skewY(var(--menu-skew-y)) scaleX(var(--menu-scale-x))!important;
  will-change: transform;
}

.wall-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0px, 0.35vw, 5px);
  margin-left: -30px;
}

.menu-link {
  position: relative;
  display: block;
  width: fit-content;
  color: rgb(203 137 67 / 30%);
  font-size: var(--hero-menu-size);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.78;
  text-transform: uppercase;
  mix-blend-mode: soft-light;
  filter: blur(0.8px) contrast(1.03);
  pointer-events: auto;
  transition: color 180ms ease, filter 180ms ease;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: rgb(203 137 67 / 34%);
  filter: blur(0) contrast(1.08);
  outline: none;
}

.wall-menu:hover .menu-link:not(:hover) {
  color: rgba(164, 139, 98, 0.22);
}

.has-texture .menu-link {
  background-image: linear-gradient(var(--menu-color), var(--menu-color)), url("../texture.png");
  background-size: cover, 520px 520px;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.has-texture .menu-link:hover,
.has-texture .menu-link:focus-visible {
  background-image: linear-gradient(var(--menu-hover-color), var(--menu-hover-color)), url("../texture.png");
  color: transparent;
}

.shadow-layer {
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-layer-position);
  opacity: var(--shadow-opacity);
  mix-blend-mode: multiply;
  filter: blur(0.6px);
  animation: shadowDrift 9s ease-in-out infinite alternate;
  will-change: transform;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, rgba(0, 0, 0, 0.65) 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, rgba(0, 0, 0, 0.65) 84%, transparent 100%);
}

@keyframes shadowDrift {
  from { transform: translate3d(-4px, 0, 0) scale(1.001); }
  to { transform: translate3d(5px, 0, 0) scale(1.002); }
}

.red-glow-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0.26;
  background:
    radial-gradient(ellipse at 18% 13%, rgba(255, 50, 24, 0.62), rgba(255, 50, 24, 0.18) 13%, transparent 28%),
    radial-gradient(ellipse at 19% 17%, rgba(255, 115, 35, 0.2), transparent 32%);
  background-size: cover;
  background-position: center;
  mix-blend-mode: screen;
  transform: translate3d(var(--sign-overlay-x), var(--sign-overlay-y), 0) scale(var(--sign-overlay-scale));
  transform-origin: left top;
  mask-image: radial-gradient(ellipse at 18% 14%, black 0 18%, rgba(0,0,0,0.5) 34%, transparent 52%);
  -webkit-mask-image: radial-gradient(ellipse at 18% 14%, black 0 18%, rgba(0,0,0,0.5) 34%, transparent 52%);
  animation: redGlowPulse 8.6s steps(1, end) infinite;
  will-change: opacity, filter;
}

.has-red-glow .red-glow-layer {
  background:
    radial-gradient(ellipse at 18% 13%, rgba(255, 55, 34, 0.34), transparent 30%),
    url("../red-glow.png");
  background-size: cover;
  background-position: center;
}

@keyframes redGlowPulse {
  0%, 16%, 31%, 54%, 76%, 100% { opacity: 0.24; filter: saturate(1) brightness(1); }
  18%, 19%, 33%, 57% { opacity: 0.18; filter: saturate(0.72) brightness(0.76); }
  21%, 24%, 35%, 38%, 60%, 64% { opacity: 0.34; filter: saturate(1.22) brightness(1.16); }
  25%, 39%, 65% { opacity: 0.27; filter: saturate(0.96) brightness(0.94); }
}

.sign-layer {
  z-index: 6;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-layer-position);
  opacity: 0.98;
  transform: translate3d(var(--sign-overlay-x), var(--sign-overlay-y), 0) scale(var(--sign-overlay-scale));
  transform-origin: left top;
  filter: brightness(1.05) saturate(1.18) drop-shadow(0 0 10px rgba(255, 38, 16, 0.26));
  animation: signFlicker 8.6s steps(1, end) infinite;
  will-change: filter;
}

.hero:not(.is-hero-active) .sign-layer,
.hero:not(.is-hero-active) .red-glow-layer,
.hero:not(.is-hero-active) .shadow-layer {
  animation-play-state: paused;
}

@keyframes signFlicker {
  0%, 15%, 30%, 53%, 75%, 100% {
    opacity: 0.98;
    filter: brightness(1.05) saturate(1.18) drop-shadow(0 0 10px rgba(255, 38, 16, 0.26));
  }
  17%, 18%, 32%, 56% {
    opacity: 0.98;
    filter: brightness(0.72) saturate(0.58) drop-shadow(0 0 4px rgba(255, 38, 16, 0.12));
  }
  20%, 23%, 34%, 37%, 59%, 63% {
    opacity: 0.98;
    filter: brightness(1.34) saturate(1.58) drop-shadow(0 0 18px rgba(255, 54, 22, 0.42));
  }
  24%, 38%, 64% {
    opacity: 0.98;
    filter: brightness(0.95) saturate(0.92) drop-shadow(0 0 8px rgba(255, 38, 16, 0.2));
  }
}

/* Work reel */
.work-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

.work-stage {
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(126, 78, 33, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.92)),
    var(--bg);
}

.work-section.is-reel-pinned .work-stage {
  position: fixed;
  inset: 0 0 auto;
  z-index: 3;
}

.work-section.is-reel-done .work-stage {
  position: absolute;
  inset: auto 0 0;
}

.grain,
.noise {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.06;
  background-image: repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.section-heading {
  position: absolute;
  top: 19vh;
  left: 50%;
  z-index: 8;
  transform: translateX(-50%);
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.section-heading h1 {
  position: relative;
  color: rgba(218, 165, 94, 0.82);
  font-size: var(--section-title-size);
  font-weight: 500;
  letter-spacing: 0.36em;
  white-space: nowrap;
}

.section-heading h1::before,
.section-heading h1::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218, 165, 94, 0.45));
}

.section-heading h1::before {
  right: calc(100% + 28px);
}

.section-heading h1::after {
  left: calc(100% + 28px);
  transform: rotate(180deg);
}

.section-heading p {
  margin-top: 14px;
  color: rgba(214, 190, 147, 0.42);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: none;
}

.reel-viewport {
  position: absolute;
  left: 0;
  right: 0;
  top: 36vh;
  z-index: 5;
  height: calc(var(--card-h) + var(--reel-top-padding) + var(--reel-bottom-padding));
  cursor: grab;
  user-select: none;
}

.reel-viewport.dragging {
  cursor: grabbing;
}

.reel-track {
  position: absolute;
  left: var(--stage-padding-x);
  top: 0;
  display: flex;
  gap: var(--gap);
  height: 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.reel-track::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: url("../Reel.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
  opacity: 0.96;
}

.work-card {
  position: relative;
  z-index: 5;
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  height: var(--card-h);
  margin-top: var(--reel-top-padding);
  overflow: hidden;
  border: 2px solid #54412e;
  border-radius: 12px;
  background: #050505;
}

.work-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
  filter: brightness(0.78) contrast(1.08) saturate(0.88);
  transition: filter 200ms ease, transform 320ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.72) 100%),
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(0,0,0,0.35) 100%);
}

.work-card:hover video {
  filter: brightness(1.02) contrast(1.1) saturate(1);
  transform: scale(1.025);
}

.work-card {
  cursor: pointer;
}

.work-card::before {
  content: "Play";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(218, 165, 94, 0.42);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: rgba(240, 218, 184, 0.76);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.work-card:hover::before,
.work-card:focus-visible::before {
  opacity: 1;
}

.card-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: end;
  justify-content: space-between;
  pointer-events: none;
}

.card-title {
  color: rgba(240, 218, 184, 0.86);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-type {
  margin-top: 4px;
  color: rgba(240, 218, 184, 0.48);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-num {
  color: var(--red);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-lightbox__frame {
  width: min(1180px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(179, 131, 70, 0.42);
  background: #020202;
  box-shadow: 0 0 42px rgba(255, 63, 46, 0.16);
}

.video-lightbox__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020202;
}

.video-lightbox__close {
  position: fixed;
  right: clamp(18px, 4vw, 42px);
  top: clamp(18px, 4vw, 42px);
  z-index: 1;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 63, 46, 0.62);
  background: rgba(2, 2, 2, 0.72);
  color: rgba(240, 218, 184, 0.9);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.is-lightbox-open {
  overflow: hidden;
}

.drag-indicator {
  position: absolute;
  left: 50%;
  bottom: 48px;
  z-index: 10;
  transform: translateX(-50%);
  color: var(--gold-muted);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.mouse-icon {
  position: relative;
  width: 24px;
  height: 42px;
  margin: 0 auto 12px;
  border: 1px solid rgba(214, 190, 147, 0.45);
  border-radius: 20px;
}

.mouse-icon::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(214, 190, 147, 0.55);
  animation: wheelMove 1.5s ease-in-out infinite;
}

@keyframes wheelMove {
  from { transform: translate(-50%, 0); opacity: 0.2; }
  45% { opacity: 1; }
  to { transform: translate(-50%, 12px); opacity: 0; }
}

.scroll-progress,
.scroll-label {
  display: none;
}

/* About */
.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

#aboutFold .page {
  padding: 34px var(--side-pad) 48px;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}

.about-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - 82px);
  margin: 0 auto;
}

.about-left {
  max-width: 100%;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.kicker::after {
  content: "";
  width: 96px;
  height: 1px;
  background: rgba(179, 131, 70, 0.48);
}

.red-line {
  width: 68px;
  height: 3px;
  margin: 30px 0;
  background: var(--red);
}

.about-left h2 {
  max-width: 100%;
  margin: 0 0 30px;
  color: var(--gold);
  font-size: var(--about-head-size);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-left p {
  max-width: 100%;
  margin: 0 0 22px;
  color: var(--gold-soft);
  font-size: var(--about-copy-size);
  font-weight: 300;
  letter-spacing: 0.075em;
  line-height: 1.42;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: min(68vh, 680px);
}

.service-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(179, 131, 70, 0.24);
  background: rgba(255,255,255,0.008);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease, transform 420ms ease, border-color 220ms ease;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: rgba(255, 75, 52, 0.48);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.82)),
    radial-gradient(circle at 0% 0%, rgba(255,63,46,0.13), transparent 38%);
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: sepia(0.4) brightness(0.56) contrast(1.16) saturate(0.78);
  transform: scale(1.01);
  transition: transform 360ms ease, opacity 220ms ease, filter 220ms ease;
}

.service-card:hover img {
  opacity: 0.38;
  transform: scale(1.04);
  filter: sepia(0.35) brightness(0.66) contrast(1.18) saturate(0.9);
}

.service-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px 26px 28px;
}

.service-top {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-top span {
  color: var(--red);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.service-top div {
  flex: 1;
  height: 1px;
  background: rgba(179, 131, 70, 0.28);
}

.service-bottom h3 {
  color: rgba(221, 180, 121, 0.88);
  font-size: var(--service-title-size);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 0.94;
  text-transform: uppercase;
}

.service-bottom i {
  display: block;
  width: 28px;
  height: 2px;
  margin: 18px 0;
  background: var(--red);
}

.service-bottom p {
  max-width: 430px;
  color: rgba(229, 199, 154, 0.68);
  font-size: var(--service-copy-size);
  font-weight: 300;
  letter-spacing: 0.07em;
  line-height: 1.32;
}

/* Assets */
.assets-section {
  position: relative;
  min-height: calc(50vh - 48px);
  padding: 42px var(--side-pad) 38px;
  border-bottom: 1px solid rgba(179, 131, 70, 0.34);
  background:
    radial-gradient(circle at 22% 40%, rgba(159, 52, 31, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.45)),
    var(--bg);
}

.assets-layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 0.72fr 1.62fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.assets-copy {
  max-width: 430px;
}

.assets-copy .kicker,
.software-heading .kicker {
  display: none;
}

.assets-copy h1 {
  color: rgba(194, 145, 83, 0.78);
  font-size: var(--asset-title-size);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.82;
  text-transform: uppercase;
}

.assets-copy p {
  max-width: 380px;
  color: var(--gold-soft);
  font-size: var(--asset-copy-size);
  font-weight: 300;
  letter-spacing: 0.09em;
  line-height: 1.42;
  text-transform: uppercase;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  height: min(36vh, 390px);
}

.asset-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(179, 131, 70, 0.34);
  background: rgba(255,255,255,0.008);
}

.asset-card::before,
.asset-card::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 18px;
  height: 18px;
  border-color: rgba(179, 131, 70, 0.42);
  pointer-events: none;
}

.asset-card::before {
  top: 18px;
  right: 18px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.asset-card::after {
  left: 18px;
  bottom: 18px;
  border-left: 1px solid;
  border-bottom: 1px solid;
}

.asset-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.18) saturate(0.86);
  transform: scale(1.02);
  transition: transform 420ms ease, filter 260ms ease;
}

.asset-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.86) contrast(1.14) saturate(0.98);
}

.asset-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.74)),
    radial-gradient(circle at 0% 0%, rgba(255,63,46,0.11), transparent 38%);
}

.asset-meta,
.asset-name {
  display: none;
}

.software-section {
  position: relative;
  height: 50vh;
  min-height: 390px;
  overflow: hidden;
  border-top: 1px solid rgba(179, 131, 70, 0.28);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.82)),
    radial-gradient(circle at 20% 18%, rgba(255,63,46,0.16), transparent 28%),
    url("../brickwall.png");
  background-size: cover;
  background-position: center;
}

.software-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.76), transparent 22%, transparent 72%, rgba(0,0,0,0.82)),
    radial-gradient(circle at 50% 70%, rgba(179, 131, 70, 0.12), transparent 40%);
}

.software-heading {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: end;
  gap: 42px;
  width: 100%;
  margin: 0 auto;
  padding: 42px var(--side-pad) 0;
}

.software-heading h2 {
  color: rgba(194, 145, 83, 0.84);
  font-size: clamp(42px, 4.4vw, 74px);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 0.9;
  text-transform: uppercase;
}

.software-heading p {
  max-width: 280px;
  padding-left: 28px;
  border-left: 1px solid rgba(179, 131, 70, 0.35);
  color: rgba(229, 199, 154, 0.56);
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.32;
  text-transform: uppercase;
}

.logo-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  z-index: 4;
  overflow: hidden;
  padding: 8px 0;
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 22s linear infinite;
}

.logo-group {
  display: flex;
}

.logo-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 138px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  height: 158px;
  margin-bottom: 14px;
  opacity: 0.58;
  filter: grayscale(1) sepia(0.6) brightness(0.75) contrast(1.15) drop-shadow(1px 1px 1px rgba(0,0,0,0.85)) drop-shadow(-1px -1px 0 rgba(255,220,160,0.13));
  mix-blend-mode: screen;
}

.logo-box img {
  max-width: 100%;
  max-height: 100%;
}

.logo-item h3,
.logo-item p {
  display: none;
}

@keyframes marqueeMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Contact */
.contact-fold {
  min-height: 100vh;
  padding: 128px var(--side-pad) 92px;
  display: grid;
  align-items: center;
  color: rgba(218, 165, 94, 0.86);
  background:
    radial-gradient(circle at 18% 22%, rgba(159, 52, 31, 0.12), transparent 32%),
    linear-gradient(180deg, var(--bg), var(--black));
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: end;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.contact-copy h2 {
  color: rgba(194, 145, 83, 0.82);
  font-size: var(--contact-title-size);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 0.82;
  text-transform: uppercase;
}

.contact-copy p {
  max-width: 420px;
  margin-top: 30px;
  color: rgba(229, 199, 154, 0.56);
  font-size: var(--contact-copy-size);
  letter-spacing: 0.1em;
  line-height: 1.42;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  display: grid;
  gap: 10px;
}

.contact-field label {
  color: rgba(214, 190, 147, 0.46);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact-field input {
  width: 100%;
  height: 64px;
  padding: 0 20px;
  border: 1px solid rgba(179, 131, 70, 0.34);
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,0.018);
  color: rgba(240, 218, 184, 0.9);
  font-size: 22px;
  letter-spacing: 0.06em;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-field input:focus {
  border-color: rgba(255, 63, 46, 0.72);
  background: rgba(255,255,255,0.036);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.contact-button {
  height: 58px;
  padding: 0 34px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #090604;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 63, 46, 0.82);
}

.contact-button--cv {
  border-color: rgba(179, 131, 70, 0.52);
  background: transparent;
  color: rgba(229, 199, 154, 0.82);
}

.contact-button--cv:hover {
  border-color: var(--red);
  background: rgba(255, 63, 46, 0.06);
  color: var(--red);
}

/* Custom cursor */
@media (min-width: 1024px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body {
    cursor: var(--game-cursor);
  }

  a,
  button,
  .reel-viewport,
  input,
  [role="button"] {
    cursor: var(--game-cursor);
  }
}

/* Shared animation states */
.cinematic-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.99);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.cinematic-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive styles */
@media (max-width: 1024px) {
  :root {
    --body-size: 17px;
    --header-brand-size: 20px;
    --nav-size: 12px;
    --hero-menu-size: 104px;
    --section-title-size: 46px;
    --about-head-size: 34px;
    --about-copy-size: 21px;
    --service-title-size: 36px;
    --service-copy-size: 20px;
    --asset-title-size: 92px;
    --asset-copy-size: 21px;
    --contact-title-size: 96px;
    --contact-copy-size: 22px;
    --side-pad: 24px;
    --sign-overlay-scale: 1.05;
    --sign-overlay-x: 0;
  }

  .global-header {
    height: auto;
    padding: 24px var(--side-pad) 20px;
    display: flex;
    justify-content: space-between;
  }

  .global-header__nav,
  .global-header__availability {
    display: none;
  }

  .about-layout,
  .assets-layout,
  .contact-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  #aboutFold .page {
    padding: 64px var(--side-pad);
  }

  .about-layout {
    gap: 46px;
    min-height: auto;
  }

  .services-grid {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .service-card {
    min-height: 360px;
  }

  .assets-section {
    min-height: auto;
    padding: 52px var(--side-pad) 44px;
  }

  .asset-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .asset-card {
    min-height: 320px;
    height: 72vw;
  }

  .software-section {
    height: 56vh;
    min-height: 430px;
  }

  .software-heading {
    padding: 36px var(--side-pad) 0;
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .software-heading p {
    padding-left: 0;
    border-left: 0;
  }

  .logo-item {
    width: 220px;
  }

  .logo-box {
    width: 128px;
    height: 128px;
  }

  .contact-fold {
    padding: 96px var(--side-pad) 72px;
  }
}

@media (max-width: 900px) {
  :root {
    --hero-menu-size: 92px;
    --section-title-size: 38px;
    --card-w: 72vw;
    --card-h: 58vw;
    --gap: 2vw;
    --reel-top-padding: 8vw;
    --reel-bottom-padding: 8vw;
    --menu-left: 11.5vw;
    --menu-top: 30vh;
    --menu-rotate-z: 5.6deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.92;
    --sign-overlay-scale: 1.08;
    --sign-overlay-x: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .bg-layer,
  .shadow-layer {
    object-position: var(--hero-layer-position);
  }

  .work-section {
    min-height: 100vh;
  }

  .work-stage {
    height: 100vh;
    min-height: 100svh;
    padding: 96px 0 52px;
    overflow: hidden;
  }

  .work-section.is-reel-pinned .work-stage,
  .work-section.is-reel-done .work-stage {
    position: fixed;
    inset: 0 0 auto;
    z-index: 3;
  }

  .work-section.is-reel-done .work-stage {
    position: absolute;
    inset: auto 0 0;
  }

  .section-heading {
    position: absolute;
    top: 14vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, calc(100vw - 36px));
    margin: 0 auto;
  }

  .section-heading h1 {
    letter-spacing: 0.22em;
    white-space: normal;
  }

  .section-heading h1::before,
  .section-heading h1::after {
    width: 54px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .reel-viewport {
    position: absolute;
    top: 36vh;
    height: calc(var(--card-h) + var(--reel-top-padding) + var(--reel-bottom-padding));
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .reel-track {
    position: absolute;
    left: var(--stage-padding-x);
    width: max-content;
    padding: 0;
    will-change: transform;
  }

  .work-card::before {
    opacity: 0.78;
  }

  .drag-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --body-size: 16px;
    --hero-menu-size: 82px;
    --about-head-size: 30px;
    --about-copy-size: 20px;
    --service-title-size: 34px;
    --asset-title-size: 82px;
    --asset-copy-size: 20px;
    --contact-title-size: 82px;
    --contact-copy-size: 20px;
    --side-pad: 22px;
    --sign-overlay-scale: 1.1;
    --sign-overlay-x: 0;
    --menu-left: 12.5vw;
  }

  .wall-menu {
    margin-left: -12px;
  }

  .menu-link {
    line-height: 0.84;
  }

  .kicker {
    margin-bottom: 26px;
    font-size: 15px;
    letter-spacing: 0.32em;
  }

  .kicker::after {
    width: 52px;
  }

  .service-content {
    padding: 22px;
  }

  .contact-field input {
    height: 58px;
  }
}

@media (max-width: 700px) {
  :root {
    --hero-layer-position: 2% center;
    --sign-overlay-scale: 1.12;
    --menu-left: 13.5vw;
  }
}

@media (max-width: 640px) {
  :root {
    --hero-menu-size: 70px;
    --section-title-size: 34px;
    --about-head-size: 28px;
    --about-copy-size: 19px;
    --service-title-size: 31px;
    --service-copy-size: 18px;
    --asset-title-size: 70px;
    --asset-copy-size: 18px;
    --contact-title-size: 70px;
    --contact-copy-size: 18px;
    --card-w: 78vw;
    --card-h: 64vw;
    --hero-layer-position: 3% center;
    --sign-overlay-scale: 1.13;
    --sign-overlay-x: 0;
    --menu-left: 14.5vw;
  }

  .global-header__brand {
    letter-spacing: 0.3em;
  }

  .global-header__brand small {
    letter-spacing: 0.22em;
  }

  .section-heading h1::before,
  .section-heading h1::after {
    display: none;
  }

  .work-stage {
    padding: 78px 0 34px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .reel-viewport {
    height: calc(var(--card-h) + 22vw);
  }

  .card-meta {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --about-head-size: 25px;
    --about-copy-size: 18px;
    --service-title-size: 28px;
    --asset-title-size: 58px;
    --contact-title-size: 58px;
    --side-pad: 18px;
    --menu-top: 32vh;
    --hero-layer-position: 5% center;
    --sign-overlay-scale: 1.16;
    --sign-overlay-x: 0;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-button {
    width: 100%;
  }

  .work-stage {
    padding: 66px 0 26px;
  }

  .logo-item {
    width: 190px;
  }

  .logo-box {
    width: 108px;
    height: 108px;
  }
}

/*
  Hero menu device calibration.
  Keep these max-width queries in largest-to-smallest order. With max-width,
  every smaller screen matches the larger rules too, so the last matching block wins.
*/

@media (max-width: 2560px) {
  :root {
    --menu-left: 9.5vw;
    --hero-menu-size: 142px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1920px) {
  :root {
    --menu-left: 10.5vw;
    --hero-menu-size: 110px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1600px) {
  :root {
    --menu-left: 10.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1440px) {
  :root {
    --menu-left: 11.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1320px) {
  :root {
    --menu-left: 11.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1130px) {
  :root {
    --menu-left: 14.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 1024px) {
  :root {
    --menu-left: 17.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 912px) {
  :root {
    --menu-left: 17.5vw;
    --hero-menu-size: 98px;
    --menu-rotate-y: 21.5deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.91;
  }
}

@media (max-width: 853px) {
  :root {
    --menu-left: 18vw;
    --hero-menu-size: 94px;
    --menu-rotate-y: 22deg;
    --menu-rotate-z: 3deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 820px) {
  :root {
    --menu-left: 19.2vw;
    --hero-menu-size: 94px;
    --menu-rotate-y: 22deg;
    --menu-rotate-z: 3.2deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 768px) {
  :root {
    --menu-left: 18.5vw;
    --hero-menu-size: 100px;
    --menu-rotate-y: 24deg;
    --menu-rotate-z: 3.4deg;
    --menu-skew-y: 5.6deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 700px) {
  :root {
    --menu-left: 19.5vw;
    --hero-menu-size: 88px;
    --menu-rotate-y: 22.5deg;
    --menu-rotate-z: 5.2deg;
    --menu-skew-y: 5.5deg;
    --menu-scale-x: 0.93;
  }
}

@media (max-width: 640px) {
  :root {
    --menu-left: 19.5vw;
    --hero-menu-size: 92px;
    --menu-rotate-y: 22.5deg;
    --menu-rotate-z: 4.8deg;
    --menu-skew-y: 5.4deg;
    --menu-scale-x: 0.94;
  }
}

@media (max-width: 540px) {
  :root {
    --menu-left: 20vw;
    --hero-menu-size: 86px;
    --menu-rotate-y: 22.5deg;
    --menu-rotate-z: 4.2deg;
    --menu-skew-y: 5.2deg;
    --menu-scale-x: 0.95;
  }
}

@media (max-width: 480px) {
  :root {
    --menu-left: 19.5vw;
    --hero-menu-size: 95px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3.6deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.96;
  }
}

@media (max-width: 430px) {
  :root {
    --menu-left: 22.5vw;
    --hero-menu-size: 108px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 2.6deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 414px) {
  :root {
    --menu-left: 24.5vw;
    --hero-menu-size: 96px;
    --menu-rotate-y: 18deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 412px) {
  :root {
    --menu-left: 25vw;
    --hero-menu-size: 100px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 2.8deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 400px) {
  :root {
    --menu-left: 20vw;
    --hero-menu-size: 96px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.93;
  }
}

@media (max-width: 390px) {
  :root {
    --menu-left: 24vw;
    --hero-menu-size: 96px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3.2deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.93;
  }
}

@media (max-width: 375px) {
  :root {
    --menu-left: 22.5vw;
    --hero-menu-size: 84px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3.4deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 360px) {
  :root {
    --menu-left: 23vw;
    --hero-menu-size: 94px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3.5deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

@media (max-width: 344px) {
  :root {
    --menu-left: 24vw;
    --hero-menu-size: 100px;
    --menu-rotate-y: 23deg;
    --menu-rotate-z: 3.6deg;
    --menu-skew-y: 5deg;
    --menu-scale-x: 0.92;
  }
}

/* Reduced-motion styles */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .shadow-layer,
  .sign-layer,
  .red-glow-layer,
  .logo-track,
  .mouse-icon::before {
    animation: none !important;
  }

  .cinematic-reveal {
    opacity: 1;
    transform: none;
  }
}
