/* ============================================================
   iDesignMedia — dark cinematic landing
   ============================================================ */

:root {
  --bg: #060607;
  --bg-2: #0b0b0d;
  --ink: #ecebe6;
  --ink-dim: #8f8e88;
  --red: #e6392e;
  --hairline: rgba(236, 235, 230, 0.14);
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "EB Garamond", Garamond, Georgia, serif;
  --pad: clamp(20px, 4vw, 64px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 560;
  letter-spacing: 0.005em;
}

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
  transition: opacity 0.7s var(--ease-out), visibility 0.7s;
}
.preloader__icon { width: 44px; opacity: 0.9; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.96); } }
.preloader__bar { width: 160px; height: 1px; background: var(--hairline); overflow: hidden; }
.preloader__bar-fill {
  display: block; width: 100%; height: 100%;
  background: var(--ink);
  transform: translateX(-100%);
  animation: load 1.2s var(--ease-out) forwards;
}
@keyframes load { to { transform: translateX(0); } }
body:not([data-loading]) .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ============ Grain + vignette ============ */
.grain {
  position: fixed; inset: -100px; z-index: 120; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  opacity: 0.055;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 20px); }
  40% { transform: translate(20px, -35px); } 60% { transform: translate(-25px, -15px); }
  80% { transform: translate(30px, 25px); } 100% { transform: translate(0, 0); }
}

/* ============ Cursor ============ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background-color 0.3s, opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 72px; height: 72px; background: #fff; }
.cursor__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #000; opacity: 0; transition: opacity 0.2s;
}
.cursor.is-hover .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============ Vimeo background video ============
   Emulates object-fit: cover for an iframe. Container query units keep
   the maths relative to the wrapper, so this works in any container:
   full-bleed sections and 4:5 cards alike. --ar is the video's aspect
   ratio, set per element (16:9 = 1.7778, 9:16 = 0.5625). */
.vbg {
  position: absolute; inset: 0;
  overflow: hidden;
  container-type: size;
  background: #000;
  --ar: 1.7778;
}
.vbg iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100cqw;
  height: calc(100cqw / var(--ar));
  min-width: calc(100cqh * var(--ar));
  min-height: 100cqh;
  border: 0;
  pointer-events: none; /* background video is not interactive */
}
.vbg__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.8s var(--ease-out);
}
.vbg.is-ready .vbg__poster { opacity: 0; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 14px;
  padding: clamp(18px, 2.2vh, 26px) var(--pad);
  transition: transform 0.5s var(--ease-out), background-color 0.5s, backdrop-filter 0.5s;
}
/* permanent scrim: keeps the logo off the raw footage on load */
.nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -130px;
  background: linear-gradient(180deg,
    rgba(6, 6, 7, 0.75) 0%,
    rgba(6, 6, 7, 0.55) 30%,
    rgba(6, 6, 7, 0.3) 55%,
    rgba(6, 6, 7, 0.12) 78%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s;
}
.nav.is-scrolled::before { opacity: 0; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; padding: 4px 0; margin-right: auto; }
.nav__icon { height: 30px; display: none; }
.nav__logo { height: 22px; opacity: 0.95; }
.nav__brand img { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.65)); }
/* floating glass capsule, Secret Level style: links capsule + separate CTA pill */
.nav__links {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px;
}
.nav__links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: #b9b8b1; transition: color 0.3s, background-color 0.3s;
  padding: 10px clamp(14px, 1.6vw, 20px);
  border-radius: 999px;
}
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.09); }
.nav__cta {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 15px 24px;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav__cta:hover {
  background: rgba(230, 57, 46, 0.3);
  border-color: rgba(230, 57, 46, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 24px rgba(230, 57, 46, 0.22);
}
@media (max-width: 720px) {
  .nav { padding: 18px var(--pad); }
  .nav__links { display: none; }
  .nav__cta { padding: 12px 18px; }
  .nav__icon { display: block; }
  .nav__logo { display: none; }
}

/* ============ Shared ============ */
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: clamp(20px, 3vh, 40px);
}
.section-title {
  font-size: clamp(38px, 6.6vw, 116px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.section-title em { text-transform: none; font-weight: 400; }

/* split-text plumbing
   the clip window is padded out (and margin-compensated) so deep
   italic descenders (g, p, y) don't get sheared by overflow:hidden */
.split-word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0.12em 0.08em 0.32em 0.1em;
  margin: -0.12em -0.08em -0.32em -0.1em;
}
.split-word > span { display: inline-block; transform: translateY(145%); }

[data-reveal] { opacity: 0; transform: translateY(30px); }

.reduced-motion [data-reveal],
.reduced-motion .split-word > span,
.reduced-motion .line__inner { opacity: 1 !important; transform: none !important; }

/* ============ 1 · Hero ============ */
.hero {
  position: relative; height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12);
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.1) 35%, rgba(6,6,7,0.25) 65%, rgba(6,6,7,0.92) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(6,6,7,0.5) 100%);
}
.letterbox {
  position: absolute; left: 0; right: 0; z-index: 5;
  background: var(--bg);
}
/* header band: JS sizes this to the nav's exact height so the black
   above and below the logo stays symmetric */
.letterbox--top { top: 0; height: 8vh; transform-origin: top; }
.letterbox--bottom { bottom: 0; height: 2.8vh; transform-origin: bottom; }

.hero__content {
  position: relative; z-index: 4;
  padding: 0 var(--pad) 12vh;
  max-width: 1560px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
}
.hero__rec {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
.hero__title {
  font-size: clamp(42px, 5.8vw, 116px);
  font-weight: 750;
  font-stretch: 108%;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__title em { text-transform: none; font-weight: 400; padding-right: 0.06em; }
.line { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
.line__inner { display: inline-block; transform: translateY(135%); }
.hero__sub {
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--ink-dim);
  max-width: 520px;
}
.hero__reel {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 34px;
  padding: 14px 28px 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 32px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.35s, background-color 0.35s;
}
.hero__reel:hover { border-color: rgba(230, 57, 46, 0.6); background: rgba(230, 57, 46, 0.18); }
.hero__reel-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red);
  color: #fff;
  transition: transform 0.35s var(--ease-out);
}
.hero__reel-icon svg { width: 14px; height: 14px; margin-left: 2px; }
.hero__reel:hover .hero__reel-icon { transform: scale(1.12); }
.hero__reel-time { color: var(--ink-dim); letter-spacing: 0.1em; }

.hero__meta {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 8vh; min-height: 48px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__scroll { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.hero__scroll-line {
  display: block; width: 44px; height: 1px; background: var(--hairline);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  animation: scrollhint 1.8s var(--ease-out) infinite;
}
@keyframes scrollhint {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ============ 2 · Manifesto ============ */
.manifesto { position: relative; background: var(--bg); }
.manifesto__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 20vh var(--pad);
  max-width: 1150px;
}
.manifesto__text {
  font-size: clamp(28px, 4.4vw, 68px);
  font-weight: 640;
  font-stretch: 105%;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.manifesto__text .m-word { opacity: 0.12; transition: opacity 0.25s linear, color 0.25s; }
.manifesto__text .m-word.is-lit { opacity: 1; }
.manifesto__text em .m-word.is-lit, .manifesto__text .m-word.is-lit em { color: var(--red); }
.reduced-motion .manifesto__text .m-word { opacity: 1; }

/* ============ Interlude ============ */
.interlude {
  position: relative; height: 110vh; overflow: hidden;
  display: flex; align-items: center;
}
.interlude__media { position: absolute; inset: 0; }
.interlude__video { width: 100%; height: 120%; object-fit: cover; }
.interlude__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 100% at 50% 50%, transparent 45%, rgba(3, 3, 4, 0.6) 100%),
    rgba(6, 6, 7, 0.32);
}
.interlude__title {
  position: relative; z-index: 2;
  white-space: nowrap;
  font-size: clamp(70px, 13vw, 210px);
  font-weight: 800;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 235, 230, 0.85);
}
.interlude__track { display: inline-block; will-change: transform; }

/* ============ 3 · Work ============ */
.work { position: relative; background: var(--bg); }
.work__head { padding: 18vh var(--pad) 8vh; }
.work__pin { overflow: hidden; }
/* desktop: the whole section pins as one 100vh composition,
   header on top, gallery centered in the remaining space */
@media (min-width: 821px) {
  .work {
    height: 100svh;
    box-sizing: border-box;
    padding-top: clamp(84px, 11vh, 116px); /* clearance for the fixed nav */
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
  }
  .work__head { padding: 0 var(--pad); margin-bottom: clamp(14px, 3vh, 36px); }
  .work__track { padding: 0 var(--pad); }
  .card__media { max-height: 44vh; }
  .work__progress { margin: clamp(14px, 3vh, 36px) var(--pad) 0; }
}
.work__track {
  display: flex; align-items: stretch;
  gap: clamp(18px, 2.5vw, 40px);
  padding: 0 var(--pad) 10vh;
  width: max-content;
}
.card {
  position: relative;
  width: clamp(300px, 34vw, 560px);
  flex-shrink: 0;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-2);
}
.card__media img, .card__media video, .card__media .vbg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  filter: saturate(0.92) contrast(1.02);
}
.card:hover .card__media img,
.card:hover .card__media video,
.card:hover .card__media .vbg { transform: scale(1.0); filter: saturate(1.05); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,6,7,0.55) 100%);
}
.card__info {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  margin-top: 18px;
}
.card__index { font-size: 12px; font-weight: 600; color: var(--red); letter-spacing: 0.1em; }
.card__title {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 700; font-stretch: 108%;
  text-transform: uppercase; letter-spacing: 0.01em;
}
.card__desc { margin-left: auto; font-size: 13px; color: var(--ink-dim); text-align: right; max-width: 45%; }
.work__progress {
  height: 1px; background: var(--hairline);
  margin: 0 var(--pad) 12vh;
  position: relative;
}
.work__progress-fill {
  position: absolute; inset: 0;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
}
@media (max-width: 820px) {
  .work__track { flex-direction: column; width: auto; }
  .card { width: 100%; }
  .card__media { aspect-ratio: 16 / 10; }
  .work__progress { display: none; }
}

/* ============ Filmstrip ============ */
.filmstrip { padding: 6vh 0 14vh; background: var(--bg); overflow: hidden; }
.filmstrip__row {
  display: flex; gap: clamp(12px, 1.6vw, 24px);
  width: max-content;
  will-change: transform;
}
.filmstrip__row img {
  height: clamp(140px, 22vh, 240px);
  width: auto;
  border-radius: 4px;
  filter: saturate(0.9) brightness(0.92);
  transition: filter 0.5s;
}
.filmstrip__row img:hover { filter: saturate(1.05) brightness(1); }
.filmstrip__caption {
  text-align: center;
  margin-top: 7vh;
  font-size: clamp(17px, 1.7vw, 24px);
  color: var(--ink-dim);
}
.filmstrip__caption em { color: var(--ink); }

/* ============ 4 · Process ============ */
.process { position: relative; overflow: clip; }
.process__bg { position: absolute; inset: 0; }
.process__bg video, .process__bg .vbg { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.process__bg-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(6,6,7,0.55) 30%, rgba(6,6,7,0.55) 70%, var(--bg) 100%);
}
.process__pin {
  position: relative; z-index: 2;
  min-height: 100vh;
  padding: 16vh var(--pad);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(340px, 1.2fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.process__head { position: sticky; top: 18vh; }
.process__steps { position: relative; padding-left: clamp(28px, 3vw, 48px); }
.process__line {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--hairline);
}
.process__line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(var(--line-progress, 0));
}
.step {
  display: flex; gap: clamp(18px, 2vw, 32px);
  padding: clamp(28px, 4.5vh, 52px) 0;
  border-bottom: 1px solid var(--hairline);
  opacity: 0.55;
  transition: opacity 0.45s, transform 0.45s var(--ease-out);
}
.step.is-active { opacity: 1; }
.step:last-of-type { border-bottom: none; }
.step:hover { opacity: 1; transform: translateX(10px); }
.step__num {
  font-size: 13px; font-weight: 600; color: var(--red); letter-spacing: 0.1em;
  padding-top: 6px;
  transition: text-shadow 0.45s;
}
.step:hover .step__num { text-shadow: 0 0 14px rgba(230, 57, 46, 0.9); }
.step__title {
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 700; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: 0;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.step__title::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.step:hover .step__title::after { transform: scaleX(1); }
.step__desc { color: #a6a59e; max-width: 46ch; font-size: clamp(14px, 1.2vw, 17px); }
@media (max-width: 820px) {
  .process__pin { grid-template-columns: 1fr; }
  .process__head { position: static; }
}

/* ============ 5 · Studio ============ */
.studio { position: relative; overflow: clip; }
.studio__bg { position: absolute; inset: 0; }
.studio__bg img { width: 100%; height: 115%; object-fit: cover; object-position: center 20%; opacity: 0.55; }
.studio__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(6,6,7,0.35) 35%, rgba(6,6,7,0.75) 100%),
    radial-gradient(90% 70% at 50% 45%, transparent 30%, rgba(6,6,7,0.55) 100%);
}
.studio__content {
  position: relative; z-index: 2;
  min-height: 100vh;
  padding: 22vh var(--pad);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1250px;
}
.studio__statement {
  font-size: clamp(30px, 4.6vw, 72px);
  font-weight: 700; font-stretch: 106%;
  line-height: 1.1; letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 20ch;
}
.studio__statement em { text-transform: none; font-weight: 400; }
.studio__pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
  margin-top: clamp(48px, 9vh, 110px);
}
.pillar { border-top: 1px solid var(--hairline); padding-top: 22px; }
.pillar__title {
  font-size: 15px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.pillar__desc { color: var(--ink-dim); font-size: clamp(14px, 1.15vw, 16px); }
@media (max-width: 720px) { .studio__pillars { grid-template-columns: 1fr; } }

/* ============ Ident ============ */
.ident {
  background: var(--bg);
  padding: 16vh 0 10vh;
  display: flex; flex-direction: column; align-items: center; gap: 4vh;
}
.ident__video {
  width: min(52vh, 74vw);
  aspect-ratio: 1;
  mix-blend-mode: screen; /* melts the black plate into the page */
}
.ident__tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============ 6 · Contact ============ */
.contact { position: relative; background: var(--bg); overflow: clip; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.contact__content {
  position: relative; z-index: 2;
  padding: 20vh var(--pad) 10vh;
  max-width: 1250px;
}
.contact__title {
  font-size: clamp(46px, 8.6vw, 156px);
  font-weight: 750; font-stretch: 110%;
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: clamp(48px, 9vh, 100px);
}
.contact__title em { text-transform: none; font-weight: 400; }
.contact__list { border-top: 1px solid var(--hairline); }
.contact__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(22px, 3.6vh, 38px) 8px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 0.45s var(--ease-out);
  overflow: hidden;
}
.contact__row::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(230, 57, 46, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.45s;
}
.contact__row:hover { padding-left: 28px; }
.contact__row:hover::before { opacity: 1; }
.contact__row-label {
  font-size: clamp(20px, 2.8vw, 42px);
  font-weight: 640; font-stretch: 106%;
  text-transform: uppercase; letter-spacing: 0;
  position: relative;
}
.contact__row-arrow {
  font-size: clamp(20px, 2.4vw, 36px);
  color: var(--red);
  transform: translateX(-14px); opacity: 0.4;
  transition: transform 0.45s var(--ease-out), opacity 0.45s;
  position: relative;
}
.contact__row:hover .contact__row-arrow { transform: translateX(0); opacity: 1; }

/* ============ Footer ============ */
.footer {
  position: relative; z-index: 2;
  padding: 12vh var(--pad) 40px;
}
.footer__logo { width: min(88%, 1100px); margin: 0 auto 8vh; opacity: 0.95; }
.footer__meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  font-size: 13px; color: var(--ink-dim);
}
.footer__email { color: var(--ink); letter-spacing: 0.06em; }
.footer__email:hover { color: var(--red); }
.footer__social { display: flex; align-items: center; gap: 10px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--ink-dim);
  transition: color 0.3s, border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.footer__social svg { width: 15px; height: 15px; }
.footer__social a:hover {
  color: var(--ink);
  border-color: var(--red);
  background: rgba(230, 57, 46, 0.12);
  transform: translateY(-3px);
}
@media (max-width: 720px) {
  .footer__meta { flex-direction: column; align-items: center; text-align: center; }
}

/* ============ Showreel lightbox ============ */
html.reel-lock, html.reel-lock body { overflow: hidden; }
.reel {
  position: fixed; inset: 0; z-index: 140;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0;
  transition: opacity 0.45s;
}
.reel[hidden] { display: none; }
.reel.is-open { opacity: 1; }
.reel__backdrop { position: absolute; inset: 0; background: rgba(3, 3, 4, 0.95); }
.reel__stage {
  position: relative;
  width: min(1180px, 100%);
  margin: 0;
  transform: scale(0.955);
  transition: transform 0.55s var(--ease-out);
}
.reel.is-open .reel__stage { transform: scale(1); }
/* Vimeo player frame: poster paints first, iframe fills once ready */
.reel__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.reel__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.reel__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.6s var(--ease-out);
}
.reel__frame.is-ready .reel__poster { opacity: 0; }
.reel__controls {
  display: flex; align-items: center; gap: 16px;
  padding-top: 16px;
}
.reel__btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
  flex-shrink: 0;
}
.reel__btn:hover { border-color: var(--red); background: rgba(230, 57, 46, 0.14); }
.reel__btn svg { width: 16px; height: 16px; }
.reel__progress {
  flex: 1; height: 30px;
  display: flex; align-items: center;
  cursor: pointer;
  position: relative;
}
.reel__progress::before {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; background: var(--hairline);
}
.reel__progress-fill {
  position: absolute; left: 0;
  height: 2px; width: 100%;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
}
.reel__time {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.reel__close {
  position: absolute; top: -54px; right: 0;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
  font-size: 15px; line-height: 1;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.reel__close:hover { border-color: var(--red); background: rgba(230, 57, 46, 0.14); transform: rotate(90deg); }
/* play/pause + mute + fullscreen icon swapping */
.reel__ico-pause, .reel__ico-muted, .reel__ico-fsx { display: none; }
.reel.is-playing .reel__ico-pause { display: block; }
.reel.is-playing .reel__ico-play { display: none; }
.reel.is-muted .reel__ico-muted { display: block; }
.reel.is-muted .reel__ico-sound { display: none; }
.reel.is-fullscreen .reel__ico-fsx { display: block; }
.reel.is-fullscreen .reel__ico-fs { display: none; }
.reel__btn[hidden] { display: none; }

/* Fullscreen: the stage goes fullscreen rather than the iframe, so our
   controls stay usable. Vimeo's own chrome is off (controls=0), so
   fullscreening the iframe alone would leave no controls at all. */
.reel__stage:fullscreen,
.reel__stage:-webkit-full-screen {
  width: 100vw; height: 100vh;
  max-width: none;
  background: #000;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(8px, 2vw, 32px);
  transform: none;
}
.reel__stage:fullscreen .reel__close,
.reel__stage:-webkit-full-screen .reel__close { top: 16px; right: 16px; }

@media (max-width: 720px) {
  .reel__close { top: auto; bottom: -54px; }
  .reel__time { display: none; }
  .reel__controls { gap: 12px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__rec, .hero__scroll-line::after, .preloader__icon { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
