/* ============================================================
   STUDIO LACOMBE — Cinematic Portfolio
   ============================================================ */

/* ----- CUSTOM PROPERTIES ----- */
:root {
  --black: #050505;
  --black-warm: #0a0a08;
  --surface: #111110;
  --surface-alt: #1a1918;

  --accent: #c8a44e;
  --accent-light: #e8cc7a;
  --accent-dim: #8a7234;

  --text-primary: #f0ece4;
  --text-secondary: #9a958c;
  --text-dim: #5a5650;

  --grain-opacity: 0.04;
  --vignette-strength: 0.55;

  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 72px;
  --section-padding: clamp(80px, 12vh, 160px);
}

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

html {
  scroll-behavior: auto; /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

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

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: none;
}

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

/* ----- SELECTION ----- */
::selection {
  background: var(--accent);
  color: var(--black);
}

/* ============================================================
   GLOBAL OVERLAYS (Grain, Vignette)
   ============================================================ */

#grain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  pointer-events: none;
  opacity: var(--grain-opacity);
}

#bg-grid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, var(--vignette-strength)) 100%);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, transform 0.15s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-ring.is-hover {
  width: 72px;
  height: 72px;
  border-color: var(--accent);
}

.cursor-dot.is-hover {
  transform: translate(-50%, -50%) scale(0);
}

.cursor-ring.is-hidden,
.cursor-dot.is-hidden {
  opacity: 0;
}

/* (Preloader removed) */

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 60px);
  z-index: 9000;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  transition: color 0.3s;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Burger (mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.is-open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav__burger.is-open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ============================================================
   SMOOTH SCROLL WRAPPER
   ============================================================ */

#smooth-wrapper {
  position: relative;
}

#smooth-content {
  position: relative;
}

/* ============================================================
   SECTION HEADER (reusable)
   ============================================================ */

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(40px, 6vh, 80px);
  padding: 0 clamp(24px, 4vw, 60px);
}

.section-header__number {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  /* Transparent — lets the bg-grid canvas show through */
  background: transparent;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  font-size: clamp(3rem, 10vw, 11rem);
  letter-spacing: 0.05em;
  clip-path: inset(100% 0 0 0);
}

.hero__title-line--accent {
  color: var(--accent);
  font-size: clamp(3.5rem, 12vw, 13rem);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(30px);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero__scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============================================================
   SHOWREEL
   ============================================================ */

.showreel {
  position: relative;
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.showreel__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--surface-alt);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 0.05em;
  user-select: none;
}

.showreel__player {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  z-index: 1;
}

.showreel__screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--surface-alt);
  box-shadow:
    0 0 80px rgba(200, 164, 78, 0.05),
    0 40px 80px rgba(0, 0, 0, 0.5);
}

.showreel__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(ellipse at center, rgba(200, 164, 78, 0.03) 0%, transparent 70%),
    var(--surface);
}

.showreel__play-btn {
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background 0.4s, transform 0.4s;
  cursor: none;
}

.showreel__play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px;
}

.showreel__play-btn:hover {
  background: var(--accent);
  color: var(--black);
}

.showreel__placeholder-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Film Strip */
.showreel__film-strip {
  width: 36px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--surface-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 12px 0;
}

.showreel__film-strip--left {
  border-radius: 4px 0 0 4px;
  border-right: none;
}

.showreel__film-strip--right {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.film-hole {
  width: 16px;
  height: 10px;
  border-radius: 2px;
  background: var(--black);
  border: 1px solid var(--surface-alt);
}

/* ============================================================
   PROJECTS (Horizontal Scroll)
   ============================================================ */

.projects {
  padding: var(--section-padding) 0;
  position: relative;
}

.projects__horizontal-wrapper {
  overflow: hidden;
}

.projects__track {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  padding: 0 clamp(24px, 4vw, 60px);
  will-change: transform;
}

.project-card {
  flex: 0 0 clamp(300px, 65vw, 800px);
  position: relative;
}

.project-card__image {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.project-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    hsl(var(--hue, 30) 30% 12%) 0%,
    hsl(var(--hue, 30) 40% 18%) 50%,
    hsl(var(--hue, 30) 30% 10%) 100%
  );
}

.project-card__placeholder--empty {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--surface-alt);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.6) 0%, transparent 50%);
}

.project-card__info {
  padding: 0 4px;
}

.project-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-card__desc {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
}

.project-card--coming .project-card__title {
  color: var(--accent);
}

/* Progress bar */
.projects__progress {
  margin-top: 48px;
  padding: 0 clamp(24px, 4vw, 60px);
}

.projects__progress-bar {
  width: 100%;
  height: 2px;
  background: var(--surface-alt);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.projects__progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.1s linear;
}

/* ============================================================
   PROCESS / TIMELINE
   ============================================================ */

.process {
  padding: var(--section-padding) 0;
  position: relative;
}

.process__timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  position: relative;
}

.process__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--surface-alt);
  transform: translateX(-50%);
}

.process__line-fill {
  width: 100%;
  height: 0%;
  background: var(--accent);
  transition: height 0.1s linear;
}

.process__step {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 80px;
}

.process__step:last-child {
  margin-bottom: 0;
}

.process__node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.process__step.is-active .process__node {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(200, 164, 78, 0.2);
}

.process__node-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.process__content {
  width: calc(50% - 52px);
}

.process__content--right {
  margin-left: calc(50% + 52px);
}

.process__content--left {
  margin-right: calc(50% + 52px);
  text-align: right;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

.process__step-desc {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   WHY US — Attention Economy / Value Proposition
   ============================================================ */

.why {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.why__bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 28rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--surface-alt);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 0.05em;
  user-select: none;
}

/* Problem block */
.why__problem {
  max-width: 900px;
  margin: 0 auto clamp(60px, 10vh, 120px);
  padding: 0 clamp(24px, 4vw, 60px);
  position: relative;
  z-index: 1;
}

.why__problem-content {
  margin-top: clamp(32px, 5vh, 56px);
}

.why__problem-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: clamp(32px, 4vh, 48px);
  color: var(--text-primary);
}

.why__problem-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why__pain {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(255, 60, 60, 0.03);
  border: 1px solid rgba(255, 60, 60, 0.08);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.why__pain:hover {
  border-color: rgba(255, 60, 60, 0.15);
  background: rgba(255, 60, 60, 0.05);
}

.why__pain-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 60, 60, 0.1);
  color: #ff5c5c;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.why__pain p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Solution block */
.why__solution {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  position: relative;
  z-index: 1;
}

.why__solution-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 72px);
}

.why__solution-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
}

.why__solution-headline strong {
  color: var(--accent);
}

/* Versus comparison */
.why__versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.why__vs-col {
  padding: clamp(28px, 3vw, 44px);
  border-radius: 20px;
  border: 1px solid var(--surface-alt);
  background: var(--surface);
}

.why__vs-col--before {
  background: rgba(255, 60, 60, 0.02);
  border-color: rgba(255, 60, 60, 0.08);
}

.why__vs-col--after {
  background: rgba(200, 164, 78, 0.04);
  border-color: rgba(200, 164, 78, 0.15);
  box-shadow: 0 0 60px rgba(200, 164, 78, 0.05);
}

.why__vs-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--surface-alt);
}

.why__vs-title--before {
  color: var(--text-dim);
  border-bottom-color: rgba(255, 60, 60, 0.12);
}

.why__vs-title--after {
  color: var(--accent);
  border-bottom-color: var(--accent-dim);
}

.why__vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why__vs-list li {
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 24px;
  position: relative;
}

.why__vs-col--before .why__vs-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.why__vs-col--after .why__vs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.why__vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.why__vs-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Promise */
.why__promise {
  max-width: 700px;
  margin: clamp(48px, 8vh, 80px) auto 0;
  text-align: center;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(200, 164, 78, 0.12);
  border-radius: 20px;
  background: rgba(200, 164, 78, 0.02);
}

.why__promise-text {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

.why__promise-text strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .why__versus {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why__vs-divider {
    padding-top: 0;
    transform: rotate(90deg);
  }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding: var(--section-padding) 0;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
}

.about__image-wrapper {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(200, 164, 78, 0.1) 0%, transparent 60%),
    linear-gradient(160deg, var(--surface) 0%, var(--black-warm) 100%);
}

.about__image-curtain {
  position: absolute;
  inset: 0;
  background: var(--accent);
  z-index: 2;
  transform-origin: left;
}

.about__light-leak {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 164, 78, 0.12) 0%, transparent 70%);
  animation: lightLeakPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes lightLeakPulse {
  0%, 100% { opacity: 0.3; transform: translate(0, 0); }
  50% { opacity: 0.8; transform: translate(-10px, 10px); }
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__bio {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-secondary);
}

.about__stats {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--surface-alt);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat__number::after {
  content: '+';
  font-size: 0.6em;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  padding: var(--section-padding) 0;
}

.testimonials__frame {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  display: flex;
  align-items: stretch;
  position: relative;
}

/* Sprockets (film perforations) */
.testimonials__sprockets {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  flex-shrink: 0;
  padding: 20px 0;
}

.testimonials__sprockets span {
  display: block;
  width: 14px;
  height: 9px;
  border-radius: 2px;
  border: 1px solid var(--surface-alt);
  margin: 0 auto;
}

.testimonials__sprockets--left {
  border-right: 1px solid var(--surface-alt);
}

.testimonials__sprockets--right {
  border-left: 1px solid var(--surface-alt);
}

/* Carousel */
.testimonials__carousel {
  flex: 1;
  position: relative;
  min-height: 280px;
  border-top: 1px solid var(--surface-alt);
  border-bottom: 1px solid var(--surface-alt);
  padding: 48px clamp(24px, 4vw, 60px);
}

.testimonial {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(24px, 4vw, 60px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.4;
}

.testimonial__text {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 300;
  font-style: italic;
}

.testimonial__author {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* Controls */
.testimonials__controls {
  position: absolute;
  bottom: -56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}

.testimonials__btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--surface-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}

.testimonials__btn svg {
  width: 18px;
  height: 18px;
}

.testimonials__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--surface-alt);
  transition: background 0.3s, transform 0.3s;
}

.testimonials__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact {
  padding: var(--section-padding) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__content {
  text-align: center;
  padding: 0 clamp(24px, 4vw, 60px);
}

.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 48px;
}

.contact__title-line {
  display: block;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.02em;
}

.contact__title-line--accent {
  color: var(--accent);
  font-size: clamp(3rem, 8vw, 7rem);
}

.contact__email {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 4px;
}

.contact__email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact__email:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact__socials {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.contact__social {
  width: 48px;
  height: 48px;
  border: 1px solid var(--surface-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.contact__social svg {
  width: 22px;
  height: 22px;
}

.contact__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 40px clamp(24px, 4vw, 60px) 48px;
}

.footer__line {
  width: 100%;
  height: 1px;
  background: var(--surface-alt);
  margin-bottom: 40px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer__top {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.footer__top svg {
  width: 16px;
  height: 16px;
}

.footer__top:hover {
  color: var(--accent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 8999;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    font-size: 1.2rem;
  }

  .nav__burger {
    display: flex;
    z-index: 9001;
  }

  /* Process: stack vertically */
  .process__line {
    left: 28px;
  }

  .process__node {
    position: relative;
    left: 0;
    transform: none;
    flex-shrink: 0;
  }

  .process__step {
    flex-direction: row;
    gap: 20px;
  }

  .process__content,
  .process__content--right,
  .process__content--left {
    width: auto;
    margin: 0;
    text-align: left;
  }

  /* About: stack */
  .about__content {
    grid-template-columns: 1fr;
  }

  .about__image-wrapper {
    max-height: 400px;
  }

  /* Testimonial sprockets hidden */
  .testimonials__sprockets {
    display: none;
  }

  /* Projects: vertical on mobile */
  .projects__track {
    flex-direction: column;
  }

  .project-card {
    flex: none;
    width: 100%;
  }

  /* Footer stack */
  .footer__content {
    flex-direction: column;
    text-align: center;
  }

  /* Hero: fit text on small screens */
  .hero__title-line {
    font-size: clamp(1.8rem, 10vw, 4rem);
    letter-spacing: 0.02em;
  }

  .hero__title-line--accent {
    font-size: clamp(2rem, 11.5vw, 5rem);
    letter-spacing: -0.03em;
  }

  .hero__subtitle {
    letter-spacing: 0.1em;
    font-size: 0.75rem;
  }

  /* Film strips hidden */
  .showreel__film-strip {
    display: none;
  }
}

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

  #grain-canvas {
    display: none;
  }

  .hero__title-line {
    clip-path: none;
  }

  .hero__subtitle {
    opacity: 1;
    transform: none;
  }
}
