/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000;
  --off-black: #0a0a0a;
  --surface: #111;
  --surface-2: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --white: #fff;
  --off-white: #e8e8e8;
  --muted: rgba(255,255,255,0.4);
  --accent: #fff;
  --accent-dim: rgba(255,255,255,0.06);
  --font-sans: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --nav-h: 64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 300;
  cursor: none;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
button { background: none; border: none; cursor: none; color: inherit; font: inherit; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  /* mix-blend-mode removed — causes heavy compositing in Safari */
}

.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  transition: transform 0.1s var(--ease-out), opacity 0.2s;
}

.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), border-color 0.3s;
}

.cursor__label {
  position: absolute;
  will-change: transform;
  transform: translate3d(-50%, -50%, 0);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
}

.cursor--hover .cursor__ring {
  width: 80px; height: 80px;
  border-color: rgba(255,255,255,0.9);
}
.cursor--hover .cursor__dot { transform: translate3d(-50%,-50%,0) scale(0); }
.cursor--hover .cursor__label { opacity: 1; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s;
}

.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 40px; right: 40px;
  height: 1px;
  background: var(--border);
  opacity: 0;
  transition: opacity 0.4s;
}

.nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav.scrolled::after { opacity: 1; }

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

.nav__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  opacity: 0.9;
  margin-right: -14px;
}

.nav__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.nav__role {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav__dot { display: none; }

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}

.hero__track {
  position: relative;
  width: 100%; height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide.exit {
  opacity: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
}

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

/* Fallback gradient shown when no real media */
.hero__fallback {
  position: absolute;
  inset: 0;
  background: var(--off-black);
}

.hero__fallback-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

/* When video/img fails to load, fallback shows */
.hero__video { z-index: 1; }
.hero__img { z-index: 1; }
.hero__fallback { z-index: 0; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, transparent 100%),
    linear-gradient(to right, rgba(0,0,0,0.4) 0%, transparent 60%);
  z-index: 2;
}

.hero__content {
  position: absolute;
  bottom: 120px;
  left: 80px;
  z-index: 3;
}

.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 0.1s var(--ease-out), transform 0.8s 0.1s var(--ease-out);
}

.hero__slide.active .hero__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.hero__slide.active .hero__line:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.hero__slide.active .hero__line:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.hero__slide.active .hero__line:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }

.hero__line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.hero__desc {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 0.45s var(--ease-out), transform 0.8s 0.45s var(--ease-out);
}

.hero__slide.active .hero__desc { opacity: 1; transform: translateY(0); }

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 28px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s 0.55s var(--ease-out), transform 0.8s 0.55s var(--ease-out), border-color 0.3s;
}

.hero__slide.active .hero__cta { opacity: 1; transform: translateY(0); }

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.hero__cta:hover { color: var(--black); border-color: var(--white); }
.hero__cta:hover::before { transform: translateX(0); }

.hero__cta .arrow { transition: transform 0.3s var(--ease-out); }
.hero__cta:hover .arrow { transform: translate(3px, -3px); }

.hero__meta {
  position: absolute;
  bottom: 120px;
  right: 80px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.6s 0.6s var(--ease-out);
}

.hero__slide.active .hero__meta { opacity: 1; }

.hero__meta span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* HERO CONTROLS */
.hero__controls {
  position: absolute;
  bottom: 48px;
  left: 80px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__progress {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.hero__progress-bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--white);
  width: 0%;
  transition: width 0.1s linear;
}

.hero__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero__dot {
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 1px;
  transition: background 0.3s, width 0.3s var(--ease-out);
}

.hero__dot.active {
  width: 36px;
  background: var(--white);
}

.hero__nav-btns {
  display: flex;
  gap: 4px;
}

.hero__btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, color 0.2s;
}

.hero__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease-out);
  z-index: -1;
}

.hero__btn:hover { border-color: var(--white); color: var(--black); }
.hero__btn:hover::before { transform: translateX(0); }

.hero__counter {
  position: absolute;
  bottom: 56px;
  right: 80px;
  z-index: 10;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================
   TICKER
   ============================================ */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  background: var(--off-black);
}

.ticker__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker__track span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker__sep {
  font-size: 9px;
  color: rgba(255,255,255,0.15) !important;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   CLIENT LOGO TICKER
   ============================================ */
.logo-ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  background: var(--off-black);
}

.logo-ticker__track {
  display: flex;
  align-items: center;
  gap: 72px;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}

.logo-ticker__logo {
  height: 22px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.28;
}

/* ============================================
   WORK SECTION
   ============================================ */
.work {
  padding: 80px 40px 100px;
}

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.work__label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.work__count {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* CLUSTER A — asymmetric 2-col */
.cluster--a {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cluster__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* CLUSTER B — cinematic full */
.cluster--b {
  margin-bottom: 12px;
}

/* CLUSTER C — mosaic */
.cluster--c {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  margin-bottom: 12px;
}

.cluster__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cluster__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* CLUSTER D — trio */
.cluster--d {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}

/* ============================================
   MODULE BASE
   ============================================ */
.module {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
}

.module__media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.module__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  z-index: 0;
}

/* Grid lines on placeholder for visual interest */
.module__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Animated shimmer sweep */
.module__placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.04) 50%,
    transparent 65%
  );
  background-size: 300% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.module__img,
.module__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Buttery ease-out-expo: fast start, silky deceleration */
  transition: transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

/* When image fails, fallback placeholder shows */
.module__img { background: transparent; }

.module__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.module__info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.module__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.module__tags span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 2px;
}

.module__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
  padding-right: 48px;
}

.module__sub {
  font-size: 12px;
  color: var(--muted);
}

.module__link {
  position: absolute;
  top: 20px;
  right: 24px;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--muted);
  border-radius: 50%;
  transition: border-color 0.2s, color 0.2s, transform 0.3s var(--ease-out);
}

.module__link:hover { border-color: var(--white); color: var(--white); transform: rotate(45deg); }

/* PROJECT NUMBER */
.module__num {
  position: absolute;
  bottom: 16px;
  right: 20px;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.18);
  pointer-events: none;
  transition: color 0.3s;
}
.module:hover .module__num { color: rgba(255,255,255,0.35); }

/* HOVER OVERLAY */
.module::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 3;
  transition: background 0.4s;
  pointer-events: none;
}

.module:hover::before { background: rgba(0,0,0,0.15); }

.module:hover .module__img,
.module:hover .module__video {
  /* Scale up + subtle diagonal lift — drifts up-left as it grows */
  transform: translate(-5px, -7px) scale(1.07);
}

.module__hover {
  position: absolute;
  left: 0; right: 0;
  top: 0;
  bottom: 80px; /* clears the info bar — centers within the image area */
  z-index: 4;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.module__hover p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--off-white);
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(12px);
  padding: 16px 20px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.module:hover .module__hover {
  opacity: 1;
  transform: translateY(0);
}

/* MODULE SIZES */
.module--large .module__media { height: 460px; }
.module--small .module__media { height: 220px; }
.module--cinema .module__media { height: 440px; }
.module--mosaic-tall .module__media { height: 420px; }
.module--mosaic-wide .module__media { height: 200px; }
.module--mosaic-sm .module__media { height: 180px; }
.module--card .module__media { height: 300px; }

/* Cinema module info */
.module__info--cinema {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 32px;
  gap: 40px;
}

.module__title--cinema {
  font-size: 22px;
  font-weight: 600;
}

.module__cinema-right {
  max-width: 360px;
}

.module__cinema-right p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 8px;
}

/* VIEW MORE */
.work__more {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 16px 40px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn-outline:hover { color: var(--black); border-color: var(--white); }
.btn-outline:hover::before { transform: translateX(0); }

.btn-outline__arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn-outline:hover .btn-outline__arrow { transform: translateX(6px); }

/* ============================================
   ABOUT
   ============================================ */
.about {
  border-top: 1px solid var(--border);
  padding: 100px 80px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  background-attachment: fixed;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.about__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.about__heading {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

.about__heading em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.about__right {
  padding-top: 56px;
}

.about__right p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}

.about__awards {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__award {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.about__award-year {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.25);
  min-width: 36px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  border-top: 1px solid var(--border);
  padding: 120px 80px;
  overflow: hidden;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('media/hero/background/Footer_BKGD.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.contact__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.contact__email {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(28px, 5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 60px;
  position: relative;
  transition: color 0.3s;
  width: fit-content;
}

.contact__email::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width 0.5s var(--ease-out);
}

.contact__email:hover::after { width: 100%; }

.contact__domain { opacity: 0.4; }
.contact__arrow {
  font-size: 0.6em;
  vertical-align: super;
  opacity: 0.5;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.contact__email:hover .contact__arrow { transform: translate(6px, -6px); opacity: 1; }

.contact__links {
  display: flex;
  gap: 32px;
}

.contact__links a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.contact__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease-out);
}

.contact__links a:hover { color: var(--white); }
.contact__links a:hover::after { width: 100%; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 80px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .cluster--a { grid-template-columns: 1fr 1fr; }
  .cluster--c { grid-template-columns: 1fr; }
  .cluster__col { flex-direction: row; flex-wrap: wrap; }
  .module--mosaic-tall .module__media { height: 300px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 56px; }
  .nav { padding: 0 24px; }
  .nav__status { display: none; }
  .work { padding: 60px 24px 80px; }
  .hero__content { left: 40px; bottom: 100px; }
  .hero__meta { right: 40px; bottom: 100px; }
  .hero__controls { left: 40px; }
  .hero__counter { right: 40px; }
  .cluster--a { grid-template-columns: 1fr; }
  .cluster--d { grid-template-columns: 1fr 1fr; }
  .about { padding: 80px 40px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact { padding: 80px 40px; }
  .footer { padding: 24px 40px; }
}

/* Touch devices — hide custom cursor, restore native pointer */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor__label { display: none !important; }
  body, button, a { cursor: auto; }
}

/* CTA arrow — SVG keyline inherits text color */
.hero__cta .arrow,
.btn-outline .arrow {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

@media (max-width: 600px) {
  .hero__title { font-size: 48px; }
  .hero__content { left: 24px; bottom: 80px; max-width: calc(100% - 48px); }
  .hero__meta { display: none; }
  /* Hide scroll hint */
  .hero__scroll-hint { display: none; }
  /* Move controls to right, level with CTA */
  .hero__controls { left: auto; right: 24px; bottom: 80px; }
  /* Hide progress bar and dots — just show ← → on mobile */
  .hero__progress, .hero__dots { display: none; }
  /* Counter sits left of the nav buttons */
  .hero__counter { right: 116px; bottom: 91px; }
  /* All tiles full-width — reset cluster__col back to column stacking */
  .cluster__col { flex-direction: column; }
  .cluster__col > .module,
  .cluster__row > .module { width: 100%; }
  .cluster--d { grid-template-columns: 1fr; }
  .cluster__row { grid-template-columns: 1fr; }
  .module__info--cinema { flex-direction: column; gap: 16px; }
  .about { padding: 60px 24px; }
  .contact { padding: 60px 24px; }
  .footer { padding: 24px; }
}
