:root {
  --ink: #0a0a0a;
  --charcoal: #313945;
  --walnut: #463729;
  --stone: #535352;
  --paper: #f5f5f3;
  --muted: #807d7a;
  --soft: #9c9d9c;
  --line: rgba(245, 245, 243, 0.16);
  --dark-line: rgba(10, 10, 10, 0.12);
  --surface: #efede8;
  --accent: #b79a70;
  --shadow: 0 30px 90px rgba(10, 10, 10, 0.28);
  --radius: 4px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  animation: pageIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  z-index: 24;
  height: clamp(10px, 2vw, 22px);
  background: var(--ink);
  pointer-events: none;
}

body::before {
  top: 0;
}

body::after {
  bottom: 0;
}

body.nav-open {
  overflow: hidden;
}

body:has(.preloader:not(.is-done)) {
  overflow: hidden;
}

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

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  gap: 10px;
  align-content: center;
  color: var(--paper);
  background: var(--ink);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), visibility 720ms ease, transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  height: 1px;
  background: rgba(245, 245, 243, 0.18);
  transform: scaleX(0);
  animation: preloaderLine 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.preloader::before {
  top: 44%;
  transform-origin: left;
}

.preloader::after {
  bottom: 44%;
  transform-origin: right;
}

.preloader span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 10vw, 124px);
  line-height: 0.9;
  opacity: 0;
  animation: textLift 720ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.preloader strong {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  animation: textLift 720ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 58px);
  color: white;
  animation: headerSettle 900ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
  transition: background 320ms ease, color 320ms ease, border-color 320ms ease, padding 320ms ease;
}

.site-header.is-scrolled,
body:not([data-page="home"]) .site-header {
  color: var(--paper);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 620;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(42px, 4.4vw, 64px);
  height: clamp(42px, 4.4vw, 64px);
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 245, 243, 0.48);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.86;
  position: relative;
  transition: opacity 240ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 245, 243, 0.45);
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 5vw, 72px) 34px;
  overflow: hidden;
  color: white;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: clamp(108px, 13vw, 154px) clamp(18px, 5vw, 72px) 132px;
  z-index: 1;
  border: 1px solid rgba(245, 245, 243, 0.16);
  pointer-events: none;
  animation: frameReveal 1300ms cubic-bezier(0.22, 1, 0.36, 1) 520ms both;
}

.hero::after,
.lift-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 70% 24%, rgba(183, 154, 112, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0.14) 48%, rgba(10, 10, 10, 0.76)),
    linear-gradient(180deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.9));
}

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

.ambient-rails span {
  position: absolute;
  top: -18%;
  bottom: -18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245, 245, 243, 0.28), transparent);
  opacity: 0.58;
  animation: railDrift 7s linear infinite;
}

.ambient-rails span:nth-child(1) {
  left: 16%;
  animation-duration: 8.5s;
}

.ambient-rails span:nth-child(2) {
  left: 42%;
  animation-duration: 10s;
  animation-delay: -3s;
}

.ambient-rails span:nth-child(3) {
  right: 28%;
  animation-duration: 7.2s;
  animation-delay: -5s;
}

.ambient-rails span:nth-child(4) {
  right: 8%;
  animation-duration: 11s;
  animation-delay: -2s;
}

.hero-frame {
  position: absolute;
  inset: clamp(98px, 10vw, 132px) clamp(30px, 6vw, 94px) auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(245, 245, 243, 0.62);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: textLift 900ms cubic-bezier(0.22, 1, 0.36, 1) 640ms both;
}

.hero-frame span:first-child {
  visibility: hidden;
}

.hero-media,
.lift-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.lift-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04);
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.08);
  animation: imageArrive 1600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  padding-top: clamp(28px, 5vw, 76px);
}

.hero-content > *,
.lift-hero-content > * {
  animation: textLift 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > :nth-child(2),
.lift-hero-content > :nth-child(2) {
  animation-delay: 120ms;
}

.hero-content > :nth-child(3),
.lift-hero-content > :nth-child(3) {
  animation-delay: 240ms;
}

.hero-content > :nth-child(4),
.lift-hero-content > :nth-child(4) {
  animation-delay: 360ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.72;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  text-wrap: balance;
}

h1 {
  margin: 0;
  max-width: 9.6ch;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(54px, 9.4vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.hero-copy {
  width: min(590px, 100%);
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: rgba(245, 245, 243, 0.78);
  font-size: clamp(16px, 2.3vw, 20px);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms ease, color 300ms ease, background 300ms ease, transform 300ms ease;
  will-change: transform;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 245, 243, 0.18);
  transform: translateX(-110%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover::after {
  transform: translateX(110%);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.button.ghost {
  color: currentColor;
  background: rgba(245, 245, 243, 0.06);
  backdrop-filter: blur(16px);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(900px, 100%);
  margin-top: 86px;
  border-top: 1px solid rgba(245, 245, 243, 0.24);
  border-bottom: 1px solid rgba(245, 245, 243, 0.24);
  border-radius: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.26);
  backdrop-filter: blur(18px);
  animation: textLift 900ms cubic-bezier(0.22, 1, 0.36, 1) 460ms both;
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 38px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(245, 245, 243, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: textLift 900ms cubic-bezier(0.22, 1, 0.36, 1) 780ms both;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 58px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation: scrollCue 1600ms ease-in-out infinite;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  min-height: 94px;
  align-content: center;
  padding: 16px;
  background: rgba(10, 10, 10, 0.2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.intro-section,
.motion-marquee,
.film-strip-section,
.signature-showcase,
.cinema-section,
.category-section,
.process-section,
.gallery-section,
.spec-section,
.contact-band {
  padding: clamp(76px, 11vw, 138px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: end;
  color: var(--ink);
  background: var(--paper);
}

.intro-section p:last-child {
  margin: 0;
  color: var(--stone);
  font-size: 19px;
  line-height: 1.7;
}

.motion-marquee {
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  border-bottom: 1px solid rgba(10, 10, 10, 0.12);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(38px, 7vw, 110px);
  padding: clamp(22px, 4vw, 42px) 0;
  animation: marqueeMove 28s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 118px);
  line-height: 0.9;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 10, 10, 0.34);
}

.film-strip-section {
  overflow-x: hidden;
  overflow-y: visible;
  color: var(--paper);
  background: linear-gradient(180deg, var(--paper) 0, var(--paper) 44%, var(--ink) 44%, var(--ink) 100%);
}

.film-strip-heading {
  max-width: min(920px, 78vw);
  margin-bottom: clamp(28px, 5vw, 64px);
  color: var(--ink);
}

.film-strip-heading h2 {
  font-size: clamp(42px, 6.2vw, 88px);
  line-height: 0.98;
}

.film-strip-heading .eyebrow {
  color: var(--walnut);
}

.film-strip {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  width: max-content;
  transform: translate3d(var(--strip-shift, 0), 0, 0);
  transition: transform 320ms ease-out;
  will-change: transform;
  animation: stripBreath 18s ease-in-out infinite alternate;
}

.film-frame {
  position: relative;
  width: clamp(260px, 31vw, 520px);
  aspect-ratio: 0.72;
  overflow: hidden;
  color: var(--paper);
  background: var(--charcoal);
  opacity: 0;
  transform: translateY(28px);
  animation: textLift 860ms cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms) both;
}

.film-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(10, 10, 10, 0.86));
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.06);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 800ms ease;
}

.film-frame:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.12);
}

.film-frame span,
.film-frame strong {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 2vw, 28px);
}

.film-frame span {
  bottom: clamp(70px, 7vw, 104px);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.film-frame strong {
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(24px, 3vw, 38px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.9;
}

.signature-showcase {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96), rgba(49, 57, 69, 0.66)),
    var(--ink);
  overflow: hidden;
}

.moving-architecture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
}

.moving-architecture span {
  position: absolute;
  height: 1px;
  width: 46vw;
  background: linear-gradient(90deg, transparent, rgba(183, 154, 112, 0.55), transparent);
  animation: architectureSlide 13s linear infinite;
}

.moving-architecture span:nth-child(1) {
  top: 22%;
  animation-delay: -2s;
}

.moving-architecture span:nth-child(2) {
  top: 48%;
  width: 32vw;
  animation-duration: 16s;
  animation-delay: -7s;
}

.moving-architecture span:nth-child(3) {
  top: 74%;
  width: 58vw;
  animation-duration: 19s;
  animation-delay: -11s;
}

.showcase-copy {
  z-index: 1;
  align-self: start;
  position: sticky;
  top: 118px;
}

.showcase-copy h2 {
  max-width: 11ch;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.showcase-stage {
  position: relative;
  z-index: 1;
  min-height: 72svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: end;
}

.showcase-visual {
  position: relative;
  min-height: min(72svh, 740px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.showcase-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.28));
  pointer-events: none;
}

.showcase-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.78) contrast(1.05);
  transform: scale(1.12) translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 1200ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.showcase-visual img.is-active {
  opacity: 1;
  filter: saturate(0.96) contrast(1.06);
  transform: scale(1.02) translateY(0);
}

.showcase-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.showcase-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(245, 245, 243, 0.52);
  transition: color 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-item span {
  grid-row: span 2;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.showcase-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.94;
}

.showcase-item em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-item.is-active,
.showcase-item:hover {
  color: var(--paper);
  transform: translateX(-10px);
}

.cinema-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 90px);
  min-height: 220svh;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.cinema-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(20px, 4vw, 58px);
  align-items: end;
  padding: 92px 0 32px;
}

.cinema-media {
  position: relative;
  height: min(74svh, 760px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.cinema-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(10, 10, 10, 0.42)),
    linear-gradient(90deg, rgba(10, 10, 10, 0.18), transparent 34%);
  pointer-events: none;
}

.cinema-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.16) translateY(38px);
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1), transform 1300ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.cinema-media img.is-active {
  opacity: 1;
  filter: saturate(0.94) contrast(1.08);
  transform: scale(1.02) translateY(0);
}

.cinema-copy {
  display: grid;
  gap: 26px;
  padding-bottom: 14px;
}

.cinema-copy h2 {
  max-width: 11ch;
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1;
}

.cinema-progress {
  height: 1px;
  background: rgba(245, 245, 243, 0.18);
  overflow: hidden;
}

.cinema-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-steps {
  display: grid;
  align-content: start;
  gap: 48svh;
  padding: 28svh 0 58svh;
}

.cinema-step {
  display: grid;
  gap: 16px;
  max-width: 580px;
  opacity: 0.32;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.cinema-step span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.cinema-step h3 {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 0.96;
}

.cinema-step p {
  margin: 0;
  color: rgba(245, 245, 243, 0.66);
  font-size: 17px;
  line-height: 1.75;
}

.cinema-step a {
  width: fit-content;
  margin-top: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 950px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.category-grid,
.gallery-grid,
.process-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}

.category-card,
.gallery-card,
.process-grid article,
.spec-grid article {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: none;
}

.category-card.reveal,
.gallery-card.reveal {
  clip-path: inset(12% 0 12% 0);
  transform: translateY(36px) scale(0.985);
}

.category-card.reveal.is-visible,
.gallery-card.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

.category-card {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: white;
  transform-style: preserve-3d;
}

.category-card img,
.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06);
  transform: scale(1.05);
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.category-card::after,
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.06), rgba(10, 10, 10, 0.86));
}

.category-card:hover img,
.gallery-card:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.11);
}

.category-card-content,
.gallery-card-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
}

.category-card p,
.gallery-card p {
  margin: 0;
  color: rgba(245, 245, 243, 0.74);
  line-height: 1.55;
}

.category-card:nth-child(1),
.category-card:nth-child(4) {
  grid-column: span 2;
}

.process-section {
  color: var(--paper);
  background: var(--charcoal);
}

.final-scene {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(92px, 12vw, 150px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.final-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0.18) 56%, rgba(10, 10, 10, 0.82)),
    linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.82));
}

.final-scene-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.final-scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 50%;
  filter: saturate(0.8) contrast(1.08);
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.08);
  will-change: transform;
}

.final-scene-copy {
  width: min(1100px, 100%);
}

.final-scene-copy h2 {
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: 0.98;
}

.final-scene-copy::after {
  content: "Thomson Lifts / precision in motion /";
  display: block;
  margin-top: clamp(28px, 4vw, 52px);
  color: rgba(245, 245, 243, 0.36);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fadePulse 4.2s ease-in-out infinite;
}

.process-grid article,
.spec-grid article {
  padding: clamp(24px, 3vw, 38px);
  color: var(--paper);
  background: rgba(245, 245, 243, 0.055);
  border-top: 1px solid var(--line);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), background 520ms ease;
}

.process-grid article:hover,
.spec-grid article:hover {
  transform: translateY(-8px);
  background: rgba(245, 245, 243, 0.1);
}

.process-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 800;
}

.process-grid p,
.spec-grid p {
  color: rgba(245, 245, 243, 0.68);
  line-height: 1.65;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 24px;
  color: white;
  background: linear-gradient(135deg, var(--walnut), var(--ink));
}

.contact-band h2 {
  max-width: 860px;
  font-size: clamp(30px, 5vw, 62px);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: rgba(245, 245, 243, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.contact-copy a,
.site-footer a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.enquiry-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(245, 245, 243, 0.08);
  border: 1px solid rgba(245, 245, 243, 0.16);
  backdrop-filter: blur(18px);
}

.enquiry-form label {
  display: grid;
  gap: 8px;
}

.enquiry-form span {
  color: rgba(245, 245, 243, 0.7);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(245, 245, 243, 0.2);
  border-radius: 0;
  padding: 12px 14px;
  color: var(--paper);
  background: rgba(10, 10, 10, 0.28);
  font: inherit;
  outline: none;
  transition: border-color 220ms ease, background 220ms ease;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent);
  background: rgba(10, 10, 10, 0.42);
}

.enquiry-form option {
  color: var(--ink);
}

.enquiry-form .button {
  width: 100%;
  cursor: pointer;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(22px, 4vw, 42px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

.whatsapp-icon,
.whatsapp-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

.whatsapp-icon svg {
  fill: currentColor;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--soft);
  font-size: 14px;
}

.not-found {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 24px;
  padding: clamp(72px, 12vw, 150px) clamp(18px, 5vw, 72px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.86), rgba(10, 10, 10, 0.42)),
    url("images/thomson-lifts-showcase.webp") center / cover;
}

.not-found h1 {
  max-width: 900px;
}

.lift-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  color: white;
  padding: 118px clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
  isolation: isolate;
}

.lift-hero-content {
  width: min(900px, 100%);
}

.lift-hero h1 {
  max-width: 12ch;
}

.lift-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 6vw, 84px);
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
  color: var(--ink);
  background: var(--paper);
}

.lift-summary p {
  color: var(--stone);
  font-size: 18px;
  line-height: 1.7;
}

.gallery-card {
  min-height: 480px;
  color: white;
}

.gallery-card.tall {
  min-height: 640px;
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

.spec-section {
  color: var(--ink);
  background: #e8e3da;
}

.spec-section .eyebrow,
.intro-section .eyebrow,
.lift-summary .eyebrow,
.category-section .eyebrow {
  color: var(--walnut);
}

.category-section {
  color: var(--paper);
  background: var(--ink);
}

.category-section .section-heading {
  margin-left: auto;
  text-align: right;
}

.gallery-section {
  color: var(--paper);
  background: var(--ink);
}

.spec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spec-grid article {
  color: var(--ink);
  background: rgba(245, 245, 243, 0.54);
  border-top-color: rgba(10, 10, 10, 0.14);
}

.spec-grid article:hover {
  background: rgba(245, 245, 243, 0.7);
}

.spec-grid p {
  color: var(--stone);
}

.process-grid article h3,
.spec-grid article h3 {
  margin-bottom: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms cubic-bezier(0.22, 1, 0.36, 1), transform 900ms cubic-bezier(0.22, 1, 0.36, 1), clip-path 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

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

@keyframes pageIn {
  from {
    background: #000000;
  }
  to {
    background: var(--ink);
  }
}

@keyframes headerSettle {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageArrive {
  from {
    opacity: 0.72;
    filter: saturate(0.66) contrast(1.12);
    transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.18);
  }
  to {
    opacity: 1;
    filter: saturate(0.95) contrast(1.04);
    transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.08);
  }
}

@keyframes textLift {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes preloaderLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes frameReveal {
  from {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes scrollCue {
  0%,
  100% {
    transform: scaleY(0.35);
    transform-origin: top;
    opacity: 0.55;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

@keyframes railDrift {
  from {
    transform: translateY(-22%);
  }
  to {
    transform: translateY(22%);
  }
}

@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes architectureSlide {
  from {
    transform: translateX(-60vw);
  }
  to {
    transform: translateX(110vw);
  }
}

@keyframes stripBreath {
  from {
    gap: clamp(14px, 2vw, 28px);
  }
  to {
    gap: clamp(22px, 3vw, 44px);
  }
}

@keyframes fadePulse {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 0.82;
  }
}

@media (max-width: 1280px) {
  .hero-content {
    width: min(780px, 100%);
  }

  .hero h1 {
    max-width: 8.4ch;
    font-size: clamp(54px, 8.4vw, 104px);
  }

  .hero .eyebrow {
    margin-bottom: 18px;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
    position: relative;
    z-index: 40;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 22px;
    padding: 96px 28px;
    background: var(--ink);
    color: white;
    transform: translateX(100%);
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    transform: translateX(24px);
    opacity: 0;
    transition: opacity 540ms ease, transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.nav-open .site-nav a {
    transform: translateX(0);
    opacity: 1;
  }

  body.nav-open .site-nav a:nth-child(2) {
    transition-delay: 60ms;
  }

  body.nav-open .site-nav a:nth-child(3) {
    transition-delay: 120ms;
  }

  body.nav-open .site-nav a:nth-child(4) {
    transition-delay: 180ms;
  }

  body.nav-open .site-nav a:nth-child(5) {
    transition-delay: 240ms;
  }

  .site-nav a {
    font-size: clamp(30px, 10vw, 62px);
    font-weight: 780;
    line-height: 0.98;
  }

  .hero-stats,
  .intro-section,
  .motion-marquee,
  .film-strip-section,
  .lift-summary,
  .signature-showcase,
  .showcase-stage,
  .cinema-section,
  .cinema-sticky {
    grid-template-columns: 1fr;
  }

  .showcase-copy {
    position: static;
  }

  .film-strip-section {
    background: var(--ink);
  }

  .film-strip-heading {
    color: var(--paper);
  }

  .film-strip-heading .eyebrow {
    color: var(--accent);
  }

  .film-frame {
    width: min(78vw, 380px);
  }

  .marquee-track {
    animation-duration: 22s;
  }

  .showcase-visual {
    min-height: 56svh;
  }

  .cinema-section {
    min-height: auto;
  }

  .cinema-sticky {
    position: relative;
    height: auto;
    padding-top: 0;
  }

  .cinema-media {
    height: 56svh;
  }

  .cinema-steps {
    gap: 32px;
    padding: 0;
  }

  .cinema-step {
    opacity: 1;
    transform: none;
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }

  .category-grid,
  .gallery-grid,
  .process-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .category-card:nth-child(1),
  .category-card:nth-child(4),
  .gallery-card,
  .gallery-card.tall,
  .gallery-card.wide {
    min-height: 350px;
    grid-column: auto;
    grid-row: auto;
  }

  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .hero::before,
  .hero-frame,
  .moving-architecture {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 94svh;
  }

  .scroll-cue {
    display: none;
  }

  .hero-actions,
  .lift-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .floating-whatsapp {
    width: 54px;
    right: 16px;
    bottom: 18px;
  }

  .hero-stats span {
    min-height: 76px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  body,
  .site-header,
  .preloader,
  .preloader span,
  .preloader strong,
  .hero::before,
  .ambient-rails span,
  .marquee-track,
  .moving-architecture span,
  .hero-media img,
  .lift-hero-media img,
  .film-frame,
  .hero-content > *,
  .lift-hero-content > *,
  .hero-stats {
    animation: none !important;
  }
}
