/* ============================================================
   MATTIS® Studio — custom code build
   Design tokens taken 1:1 from the original Framer site
   ============================================================ */

:root {
  --black: #0b0b0b;
  --black-60: rgba(11, 11, 11, 0.6);
  --orange: #ff4500;
  --white: #fff;
  --white-60: rgba(255, 255, 255, 0.6);
  --white-70: rgba(255, 255, 255, 0.7);
  --light: #e9e9e9;
  --margin: 30px;
  --col-gap: 15px;
  --font: "Geist", "Inter", sans-serif;
  --mono: "Geist Mono", monospace;
  --ease-hero: cubic-bezier(0.68, 0, 0, 1);
  --ease-soft: cubic-bezier(0.16, 0.33, 0.3, 1.01);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
figure { margin: 0; }
::selection { background: var(--orange); color: #fff; }

/* ---------- shared utility ---------- */
.dim { opacity: 0.6; }

.cell-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
}
.cell-label.dim-d { color: var(--black-60); }
.cell-label.dim-l { color: var(--white-60); }

/* vertical center divider used in several sections */
.v-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.v-divider.dark { background: rgba(11, 11, 11, 0.08); }

/* ---------- text roll hover ---------- */
.roll span[data-text],
.link-roll span[data-text] {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.roll span[data-text]::after,
.link-roll span[data-text]::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 100%;
}
.roll span[data-text] > *,
.roll span[data-text] { transition: transform 0.4s var(--ease-out); }
.roll:hover span[data-text] { transform: translateY(-100%); }
.link-roll span[data-text] { transition: transform 0.4s var(--ease-out); }
.link-roll:hover span[data-text] { transform: translateY(-100%); }

.link-roll {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.link-roll .arr { transition: transform 0.35s var(--ease-out); display: inline-block; }
.link-roll:hover .arr { transform: translate(3px, -3px); }
.link-roll.light { color: var(--white); }
.link-roll.dark { color: var(--black); }

/* block button (white↔black inversion) */
.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.btn-block:hover { background: var(--orange); color: #fff; }
.btn-block.small { height: 52px; }

.counter { font-variant-numeric: tabular-nums; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 var(--margin);
  color: var(--white);
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
}
.site-header.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark svg { width: 42px; height: 21px; display: block; overflow: visible; }
.logo-word {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.header-tagline {
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
}
.header-tagline .dim { color: var(--white-60); }
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 40px;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.nav-sep { font-size: 12px; opacity: 0.5; }
.btn-primary {
  display: inline-block;
  padding: 11px 13px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  transition: background 0.3s;
}
.btn-primary:hover { background: #e63e00; }

/* ============================================================
   FLOATING MENU (fab)
   ============================================================ */
.fab-wrap {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.fab-wrap.visible { opacity: 1; pointer-events: auto; }

.fab-btn {
  width: 58px;
  height: 58px;
  background: rgba(20, 20, 20, 0.92);
  display: grid;
  place-items: center;
  transition: background 0.3s;
}
.fab-btn:hover { background: var(--orange); }
.fab-icon { display: flex; flex-direction: column; gap: 4px; width: 20px; }
.fab-icon span {
  height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.3s, width 0.3s;
}
.fab-icon span:nth-child(1) { width: 100%; }
.fab-icon span:nth-child(2) { width: 70%; }
.fab-icon span:nth-child(3) { width: 100%; }
.fab-wrap.open .fab-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fab-wrap.open .fab-icon span:nth-child(2) { opacity: 0; }
.fab-wrap.open .fab-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fab-panel {
  position: absolute;
  bottom: 78px;
  width: min(780px, calc(100vw - 40px));
  background: rgba(17, 17, 17, 0.96);
  padding: 44px 44px 24px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom center;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.fab-wrap.open .fab-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-cols { display: flex; justify-content: space-between; gap: 40px; }
.fab-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 18px;
}
.fab-nav { display: flex; flex-direction: column; gap: 10px; }
.fab-nav a {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.25s, transform 0.25s;
}
.fab-nav a:hover { color: var(--orange); transform: translateX(6px); }
.fab-col-right { text-align: right; display: flex; flex-direction: column; }
.fab-contact {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.fab-contact:hover { color: var(--orange); }
.fab-legal {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fab-legal a {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-60);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fab-legal a:hover { color: #fff; }
.fab-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-top: 36px;
  background: rgba(30, 30, 30, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.3s;
}
.fab-cta:hover { background: var(--orange); }

/* backdrop blur while menu open */
body.menu-open main,
body.menu-open footer,
body.menu-open .site-header {
  filter: blur(14px) brightness(0.8);
  transition: filter 0.45s var(--ease-out);
}
main, footer, .site-header { transition: filter 0.45s var(--ease-out); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: sticky; /* pinned: the About section slides over it like a curtain */
  top: 0;
  z-index: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
}
main > section:not(.hero) { position: relative; z-index: 1; }

/* ---- intro gate ----
   .preload is set by an inline script in <head>, so it only ever applies
   when JS is alive to take it off again. It holds every entrance animation
   at frame 1 for the few ms it takes to test whether muted autoplay is
   allowed: permitted (the normal case) -> released immediately, nothing
   visibly changes; refused (battery saver) -> the gate takes over and the
   animations start on the Enter click instead.
   The gate reveals itself with transitions, not animations, so the freeze
   above can never hold its own intro hostage. */
html.preload *,
html.preload *::before,
html.preload *::after { animation-play-state: paused !important; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* html.gating is set by the inline <head> script, so this cover is painted
   with the very first frame — the page is never briefly visible underneath.
   It starts as flat black; the gradient only fades up once the gate is
   actually needed, so a normal visitor sees at most a few black ms. */
html.gating .gate { opacity: 1; visibility: visible; pointer-events: auto; }
/* nothing scrolls while the gate is up, so a stray swipe cannot decide
   where you land when you press Enter */
html.gating, html.gating body { overflow: hidden; }
html.gating .gate.closing {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s var(--ease-hero), transform 0.9s var(--ease-hero);
}

/* living gradient — WebGL canvas, with a static CSS wash behind it so the
   panel still looks intentional when WebGL is unavailable */
.gate-fallback,
.gate-canvas { opacity: 0; transition: opacity 0.9s var(--ease-out); }
.gate.visible .gate-fallback,
.gate.visible .gate-canvas { opacity: 1; }
.gate-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 30% 30%, rgba(255, 69, 0, 0.55), transparent 70%),
    radial-gradient(60% 50% at 75% 70%, rgba(255, 122, 60, 0.35), transparent 70%),
    var(--black);
}
.gate-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.gate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 50%, transparent 25%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.gate-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
/* staggered reveal, transition-driven so the freeze never stalls it */
.gate-inner > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.gate.visible .gate-inner > * { opacity: 1; transform: none; }
.gate.visible .gate-logo  { transition-delay: 0.15s; }
.gate.visible .gate-est   { transition-delay: 0.30s; }
.gate.visible .gate-mark  { transition-delay: 0.40s; }
.gate.visible .gate-sub   { transition-delay: 0.50s; }
.gate.visible .gate-btn   { transition-delay: 0.65s; }

.gate-logo { width: clamp(64px, 11vw, 104px); height: auto; margin: 0 auto 26px; display: block; }
.gate-est {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-60);
}
.gate-mark {
  margin: 12px 0 10px;
  font-size: clamp(46px, 11vw, 118px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.gate-mark sup { font-size: 0.28em; vertical-align: super; font-weight: 500; }
.gate-sub {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-70);
}

.gate-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 13px 30px 13px 14px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.gate-btn:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; transform: translateY(-2px); }
.gate-btn .play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  flex: none;
}
.gate-btn .play svg { width: 11px; height: 13px; margin-left: 2px; }

@media (max-width: 809px) {
  .gate-logo { margin-bottom: 20px; }
  .gate-btn { margin-top: 30px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  animation: heroBg 1.6s var(--ease-hero) both;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
}
/* Cloudflare Stream reel as a full-bleed background (cover-scaled, no player UI) */
.hero-video-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;      /* 16:9 from width */
  min-width: 177.78vh;  /* 16:9 from height — guarantees cover */
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  filter: brightness(0.95);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
}
@keyframes heroBg {
  from { opacity: 0.001; transform: scale(1.5) rotate(2deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* crosshair lines */
.hero-cross {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  z-index: 2;
}
.hero-cross-v { top: 0; bottom: 0; left: 50%; width: 1px; }
.hero-cross-h { left: 0; right: 0; top: 36%; height: 1px; }

/* glass panel */
.hero-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  width: min(1135px, calc(100vw - 240px));
  height: min(715px, 78vh);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.hero-panel-blur {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.6s cubic-bezier(0.68, 0.14, 0.31, 0.97) 1.4s both;
}
@keyframes fadeIn { from { opacity: 0.001; } to { opacity: 1; } }

.corner-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  z-index: 4;
}
.dot-tl { top: -4px; left: -4px; }
.dot-tr { top: -4px; right: -4px; }
.dot-bl { bottom: -4px; left: -4px; }
.dot-br { bottom: -4px; right: -4px; }

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  padding: 42px 46px;
  display: flex;
  flex-direction: column;
}
.hero-est {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  opacity: 0.8;
  animation: riseSoft 0.7s var(--ease-out) 0.7s both;
}
@keyframes riseSoft {
  from { opacity: 0.001; transform: translateY(16px); }
  to   { opacity: 0.8; transform: translateY(0); }
}

.hero-title-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.hero-title {
  font-size: clamp(72px, 9.8vw, 141px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: titleIn 1.4s var(--ease-hero) 0.3s both;
}
@keyframes titleIn {
  from { opacity: 0.001; transform: translateY(-100px) scale(1.3); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-reg {
  font-size: 0.23em;
  font-weight: 500;
  letter-spacing: -0.01em;
  vertical-align: top;
  position: relative;
  top: -0.35em;
}
.hero-studio {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  padding-bottom: 0.4em;
  white-space: nowrap;
  animation: riseUp 0.8s var(--ease-out) 0.35s both;
}
@keyframes riseUp {
  from { opacity: 0.001; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-mid {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-top: 34px;
  max-width: 1040px;
}
.hero-copy {
  max-width: 340px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  animation: riseSoft2 0.7s var(--ease-out) 0.7s both;
}
.hero-copy .char { opacity: 0; }
.hero-copy.chars-ready .char { animation: charIn 0.02s linear both; }
@keyframes charIn { to { opacity: 1; } }
@keyframes riseSoft2 {
  from { opacity: 0.001; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-ceo {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: ceoIn 0.9s var(--ease-out) 0.5s both;
}
@keyframes ceoIn {
  from { opacity: 0.001; transform: translateX(60px) scale(1.2); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-ceo img { border-radius: 50%; width: 62px; height: 62px; object-fit: cover; }
.ceo-name { font-size: 13px; font-weight: 500; }
.ceo-role { font-size: 11px; font-weight: 500; color: var(--white-60); text-transform: uppercase; }

.hero-signature {
  position: absolute;
  right: 4%;
  top: 44%;
  width: min(620px, 52%);
  aspect-ratio: 1709 / 608;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.hero-signature svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
@keyframes sigIn {
  from { opacity: 0.001; transform: scale(1.2); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-services {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero-services span { animation: riseSoft2 0.6s var(--ease-out) both; }
.hero-services span:nth-child(1) { animation-delay: 0.9s; }
.hero-services span:nth-child(2) { animation-delay: 0.95s; }
.hero-services span:nth-child(3) { animation-delay: 1.0s; }
.hero-services span:nth-child(4) { animation-delay: 1.05s; }
.hero-services span:nth-child(5) { animation-delay: 1.1s; }
.hero-services .sep { opacity: 0.2 !important; animation-name: riseSep; }
@keyframes riseSep {
  from { opacity: 0.001; transform: translateY(20px); }
  to   { opacity: 0.2; transform: translateY(0); }
}

.hero-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--margin);
  height: 56px;
  animation: bottomIn 1.4s var(--ease-hero) 0.3s both;
}
@keyframes bottomIn {
  from { opacity: 0.001; transform: translateY(50px) scale(1.3); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.slots {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.slot-ticks { display: inline-flex; gap: 3px; }
.slot-ticks i {
  width: 3px;
  height: 12px;
  background: var(--orange);
  animation: tickPulse 1.6s ease-in-out infinite;
}
.slot-ticks i:nth-child(2) { animation-delay: 0.12s; }
.slot-ticks i:nth-child(3) { animation-delay: 0.24s; }
.slot-ticks i:nth-child(4) { animation-delay: 0.36s; }
.slot-ticks i:nth-child(5) { animation-delay: 0.48s; }
.slot-ticks i.off { background: rgba(255, 255, 255, 0.3); animation: none; }
@keyframes tickPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.local-time { font-size: 12px; font-weight: 500; text-transform: uppercase; }
.local-time .dim { color: var(--white-60); }

/* ============================================================
   ABOUT (orange)
   ============================================================ */
.about {
  position: relative;
  background: var(--orange);
  color: var(--white);
  padding: var(--margin);
  overflow: hidden;
}
.about-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--col-gap);
  align-items: start;
}
.about-title {
  grid-column: 3 / 5;
  justify-self: end;
  text-align: left;
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--col-gap);
  margin-top: 56px;
}
.about-left { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 36px; }
.about-img {
  width: min(380px, 90%);
  overflow: hidden;
}
.about-img img { width: 100%; height: auto; filter: grayscale(1); }
.about-copy {
  max-width: 345px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white-70);
}
.about-copy b { color: #fff; font-weight: 500; }
.about-right {
  grid-column: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  gap: 8px;
}
.big-counter {
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.big-counter sup { font-size: 0.55em; }
.about-industries {
  max-width: 330px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

/* ============================================================
   SHOWREEL (light)
   ============================================================ */
.showreel {
  position: relative;
  background: var(--light);
  color: var(--black);
  padding: var(--margin);
}
.showreel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.showreel-title {
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.showreel-title span { display: block; }
.showreel-sub {
  max-width: 430px;
  margin-top: 26px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--black-60);
}
.showreel-sub b { color: var(--black); font-weight: 500; }
.showreel-media {
  margin: 34px auto 0;
  width: min(58vw, 780px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  border-radius: 6px;
}
.showreel-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.showreel-media:hover video { transform: scale(1.02); }
.showreel-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.showreel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}
.showreel-play {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--black);
}
.play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.3s;
}
.showreel-play:hover .play-btn { background: var(--orange); transform: scale(1.06); }
.showreel .cell-label { color: var(--black); }
.showreel-play { cursor: pointer; }

/* Fullscreen Video Modal (Showreel) */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-modal-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 1100px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.video-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.video-modal-close:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.video-modal-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
}
.video-modal-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   WORKS — sticky stacked full-screen cards
   ============================================================ */
.works { position: relative; background: var(--light); }
.work {
  position: sticky;      /* each card pins at the top … */
  top: 0;
  height: 135vh;         /* taller than the viewport = longer dwell per card */
  overflow: hidden;      /* … clips the viewport-centered media during the wipe */
  background: var(--light);
}
/* full-bleed backdrop = grayed showreel video with a grain overlay */
.work-bg { position: absolute; inset: 0; overflow: hidden; }
.work-bg video, .work-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.02) blur(6px);
}
/* Cloudflare Stream reel as an ambient card backdrop (cover-scaled, no UI) */
.work-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 240vh);   /* 240vh = 135vh × 16/9 → covers the tall card */
  height: max(135vh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  filter: brightness(0.82) contrast(1.02) blur(6px);
}
/* static film grit, only over the card backdrops (never the media).
   background-attachment:fixed locks the noise to the viewport so all three
   cards sample ONE continuous grain field — no per-card shift while scrolling. */
.work-grain {
  position: absolute;
  inset: 0;
  background: url("../../assets/img/noise.png");
  background-size: 240px;
  background-attachment: fixed;
  opacity: 0.38;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* centered media frame — JS keeps translateY so it stays viewport-centered */
.work-media {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(62vw, 900px);
  aspect-ratio: 932 / 537;
  overflow: hidden;
  transform: translate(-50%, 0);
  will-change: transform;
  z-index: 4;
}
.work-media img, .work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.work-bg img[src*="sleutelbloem"],
.work-media img[src*="sleutelbloem"],
.proj-hero-media img[src*="sleutelbloem"],
.proj-next-bg img[src*="sleutelbloem"],
.proj-gallery img[src*="sleutelbloem"],
.work-bg img[src*="trouwdanserij"],
.work-media img[src*="trouwdanserij"],
.proj-hero-media img[src*="trouwdanserij"],
.proj-next-bg img[src*="trouwdanserij"],
.proj-gallery img[src*="trouwdanserij"],
.img-top {
  object-position: center 10%;
}
.work:hover .work-media img, .work:hover .work-media video { transform: scale(1.03); }

/* Glassmorphism card overlay ("SEE FULL PROJECT") */
.work-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 11, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.work-media.show-overlay .work-media-overlay {
  opacity: 1;
  pointer-events: auto;
}
.work-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 69, 0, 0.9);
  color: #fff;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease;
}
.work-overlay-btn:hover {
  background: #ff4500;
  transform: scale(1.05);
}
.work-overlay-btn .arr {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.work-overlay-btn:hover .arr {
  transform: translate(2px, -2px);
}
/* UI layer is anchored to a viewport-height box so labels stay in frame
   even though the card itself is taller than the viewport */
.work-ui {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}
.work-ui a { pointer-events: auto; }
/* center line sits BELOW the media frame (z-index 1 < media's 2),
   so it only shows in the background gaps, not across the pictures */
.work-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 100vh;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.22);
  z-index: 1;
}
.work-num {
  position: absolute;
  top: 26px;
  left: var(--margin);
  font-size: 12px;
  font-weight: 500;
}
.work-cats {
  position: absolute;
  top: 42%;
  right: var(--margin);
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  text-transform: uppercase;
}
.work-id { position: absolute; left: var(--margin); bottom: 11%; }
.work-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.work-year { font-size: 12px; font-weight: 500; opacity: 0.6; margin-top: 6px; }
.work-link { position: absolute; inset: 0; }

/* ============================================================
   WHY US (light, stats)
   ============================================================ */
.whyus {
  position: relative;
  background: var(--light);
  color: var(--black);
  padding: var(--margin);
}
.whyus-head {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--col-gap);
  align-items: start;
}
.whyus-title {
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.whyus-title span { display: block; }
.whyus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--col-gap);
  margin-top: 60px;
  align-items: start;
}
.stat-card {
  min-height: 340px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.stat-dark { background: var(--black); color: #fff; }
.stat-light { background: #fff; color: var(--black); }
.stat-caption {
  max-width: 180px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.stat-value {
  margin-top: auto;
  font-size: clamp(56px, 5.4vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-value sup { font-size: 0.5em; }
.stat-value .unit { font-size: 0.6em; }
.stat-card .link-roll { align-self: flex-end; margin-top: 18px; }

/* ============================================================
   SERVICES (dark accordion)
   ============================================================ */
.services {
  background: var(--black);
  color: var(--white);
  padding: 90px var(--margin);
}
.services-intro {
  max-width: 1070px;
  margin-top: 22px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.acc { margin-top: 56px; }
.acc-item { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.acc-item:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.acc-head {
  display: grid;
  grid-template-columns: 60px 1fr auto 40px;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 26px 0;
  text-align: left;
  color: inherit;
}
.acc-num { font-size: 12px; font-weight: 500; opacity: 0.5; }
.acc-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.acc-head:hover .acc-title { color: var(--orange); }
.acc-price { font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -0.02em; }
.acc-price .dim { font-size: 0.65em; margin-right: 8px; }
.acc-icon {
  position: relative;
  width: 22px;
  height: 22px;
  justify-self: end;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}
.acc-icon::before { width: 16px; height: 2px; }
.acc-icon::after { width: 2px; height: 16px; }
.acc-item.open .acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.acc-go { font-size: 22px; justify-self: end; transition: transform 0.35s var(--ease-out), color 0.3s; }
.acc-head:hover .acc-go { transform: translateX(6px); color: var(--orange); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out);
}
.acc-item.open .acc-body { max-height: 1200px; }
.acc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.acc-inner > .acc-text { grid-column: 2; }
.acc-text p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--white-70);
  margin-bottom: 18px;
  max-width: 700px;
}
.acc-img { grid-column: 2; }
.acc-img img { width: min(835px, 100%); filter: grayscale(1); }

/* ============================================================
   HOW WE DO IT (orange)
   ============================================================ */
.howwe {
  position: relative;
  background: var(--orange);
  color: var(--white);
  padding: var(--margin);
}
.howwe-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  margin-top: 100px;
}
.howwe-value {
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.howwe-value sup { font-size: 0.5em; }
.howwe-value .unit { font-size: 0.6em; }
.howwe-caption {
  max-width: 240px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.75);
}
.howwe-caption b { color: #fff; font-weight: 500; }
.howwe-quote {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 130px;
  align-items: end;
}
.howwe-line {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.howwe-line span { display: block; }
.howwe-copy {
  max-width: 420px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.howwe-copy b { color: #fff; font-weight: 500; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.person img { border-radius: 50%; }
.person-name { font-size: 14px; font-weight: 500; }
.person-name.light { color: #fff; }
.person-role { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.person-role b { color: #fff; font-weight: 500; }

/* ============================================================
   FAQ (light)
   ============================================================ */
.faq {
  background: var(--light);
  color: var(--black);
  padding: 90px var(--margin);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.faq-title {
  margin-top: 16px;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.faq-title span { display: block; }
.acc-faq { margin-top: 0; }
.acc-faq .acc-item { border-color: rgba(11, 11, 11, 0.12); }
.acc-faq .acc-head { grid-template-columns: 48px 1fr 40px; padding: 22px 0; }
.acc-faq .acc-title { font-size: clamp(17px, 1.6vw, 21px); }
.acc-faq .acc-inner {
  display: block;
  padding-bottom: 28px;
}
.acc-faq .acc-inner p {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(11, 11, 11, 0.75);
}
.acc-faq .btn-block { margin-top: 36px; }

/* ============================================================
   QUOTE + PRICING (dark)
   ============================================================ */
.pricing-sec {
  background: var(--black);
  color: var(--white);
  padding: 90px var(--margin) 110px;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 60px;
  align-items: start;
}
.quote-thumb { width: 150px; overflow: hidden; }
.quote-thumb img { filter: grayscale(1); }
.quote-person .person-name { margin-top: 16px; }
.quote-text {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.quote-text span { display: block; }
.quote-sub {
  margin-top: 70px;
  max-width: 420px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--white-60);
}
.quote-sub b { color: #fff; font-weight: 500; }

.pricing { margin-top: 140px; }
.pricing-title {
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-transform: uppercase;
}
/* quote-based CTA that replaces the pricing table */
.pricing-cta .pricing-title { font-size: clamp(40px, 5.4vw, 76px); }
.pricing-cta .pricing-title span { display: block; }
.pricing-cta-sub {
  max-width: 620px;
  margin-top: 28px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: var(--white-60);
}
.pricing-cta-btn {
  width: auto;
  min-width: 300px;
  max-width: 100%;
  margin-top: 40px;
  padding: 0 40px;
  background: #fff;
  color: var(--black);
}
.pricing-cta-btn:hover { background: var(--orange); color: #fff; }
.plan-tabs { display: none; gap: 10px; margin-top: 36px; }
.plan-tab {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.plan-tab.active { background: #fff; color: var(--black); }

.price-table { margin-top: 56px; }
.pt-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--col-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.pt-row.pt-head { border-top: 0; align-items: start; padding-bottom: 34px; }
.pt-h-label { font-size: 12px; color: var(--white-60); text-transform: uppercase; }
.pt-plan { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pt-desc {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--white-60);
  max-width: 250px;
}
.pt-price { margin-top: 18px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.pt-price .dim { font-size: 0.55em; font-weight: 500; margin-left: 4px; }
.pt-feature { color: var(--white-70); position: relative; }
.pt-feature.has-tip { cursor: help; }
.tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 10;
  width: 260px;
  padding: 12px 14px;
  background: #1c1c1c;
  color: var(--white-70);
  font-size: 12px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.pt-feature.has-tip:hover .tip { opacity: 1; transform: translateY(0); }
.check {
  display: inline-block;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.pt-cta-row { border-top: 0; margin-top: 24px; }

/* ============================================================
   TESTIMONIALS (light)
   ============================================================ */
.testimonials {
  position: relative;
  background: var(--light);
  color: var(--black);
  padding: 80px var(--margin);
}
.testi-head {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.testi-intro {
  max-width: 480px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--black-60);
}
.testi-intro b { color: var(--black); font-weight: 500; }
.testi-nav { display: flex; gap: 10px; }
.testi-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(11, 11, 11, 0.2);
  display: grid;
  place-items: center;
  color: var(--black);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.testi-arrow:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.testi-arrow.filled { background: var(--black); border-color: var(--black); color: #fff; }
.testi-arrow.filled:hover { background: var(--orange); border-color: var(--orange); }
.testi-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  transition: opacity 0.35s, transform 0.35s;
}
.testi-body.switching { opacity: 0; transform: translateY(10px); }
.quote-mark {
  display: block;
  font-size: 120px;
  font-weight: 900;
  line-height: 0.6;
  color: rgba(11, 11, 11, 0.15);
}
.testi-quote {
  margin-top: 46px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 560px;
}
.testi-person { margin-top: 60px; }
.testi-person .person-role { color: rgba(11, 11, 11, 0.6); }
.testi-photo {
  position: relative;
  background: #dcdcdc url("../../assets/img/noise.png");
  padding: 24px;
  max-width: 360px;
  justify-self: end;
  align-self: start;
  border-radius: 4px;
}
.testi-photo img {
  filter: grayscale(1);
  width: 312px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 4px;
}

/* ============================================================
   ARTICLES (light)
   ============================================================ */
.articles {
  background: var(--light);
  color: var(--black);
  padding: 80px var(--margin) 100px;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
}
.articles-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.articles-title {
  font-size: clamp(48px, 5.6vw, 80px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.articles-title span { display: block; }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--col-gap);
  margin-top: 56px;
  align-items: start;
}
.article-card figure { overflow: hidden; }
.article-card img {
  width: 100%;
  filter: grayscale(1);
  transition: transform 0.6s var(--ease-out);
}
.article-card:hover img { transform: scale(1.04); }
.article-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 320px;
}
.article-date {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black-60);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--white); }
.footer-hero { position: relative; }
.footer-photo {
  width: 100%;
  height: 240px; /* the photo is near-black; at full height it read as an empty gap */
  object-fit: cover;
}
.footer-hero-person {
  position: absolute;
  right: 40px;
  bottom: 130px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.footer-hero-person img { border-radius: 50%; }
.footer-hero-card {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--black);
  width: min(560px, 90%);
  padding: 28px 36px;
  text-align: right;
}
.fh-note { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.fh-role { margin-top: 12px; font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--black-60); }

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 80px var(--margin);
}
.footer-phone, .footer-mail {
  display: block;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 18px;
  transition: color 0.25s;
}
.footer-phone:hover, .footer-mail:hover { color: var(--orange); }
.footer-hint {
  margin-top: 26px;
  max-width: 340px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white-60);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-title {
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}
.footer-sub {
  margin-top: 22px;
  max-width: 430px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white-60);
}
.footer-sub b { color: #fff; font-weight: 500; }
.footer-form { margin-top: 44px; }
.field { display: block; margin-bottom: 26px; }
.field-label {
  display: block;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}
.field input, .field select {
  width: 100%;
  height: 74px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
  -webkit-appearance: none;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field select:focus { border-color: rgba(255, 255, 255, 0.45); background: rgba(255,255,255,0.04); }
.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.footer-form .btn-block {
  height: 74px;
  background: #fff;
  color: var(--black);
}
.footer-form .btn-block:hover { background: var(--orange); color: #fff; }
.form-legal {
  margin-top: 18px;
  font-size: 13px;
  color: var(--white-60);
}
.form-legal a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 40px var(--margin) 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fb-nav { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.fb-nav a {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.fb-nav a:hover { color: var(--orange); }
.fb-address { margin-top: 20px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.fb-hours { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--white-60); }
.fb-social { display: flex; gap: 18px; margin-top: 24px; }
.fb-social a { color: rgba(255,255,255,0.7); transition: color 0.25s; }
.fb-social a:hover { color: #fff; }
.fb-meta {
  align-self: end;
  justify-self: end;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-60);
}

/* ============================================================
   SCROLL REVEAL (lines slide up)
   ============================================================ */
.reveal-lines span {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.reveal-lines span {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-lines.in span { opacity: 1; transform: translateY(0); }
.reveal-lines span:nth-child(2) { transition-delay: 0.08s; }
.reveal-lines span:nth-child(3) { transition-delay: 0.16s; }
.reveal-lines span:nth-child(4) { transition-delay: 0.24s; }

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .header-tagline { display: none; }
  .hero-panel { width: calc(100vw - 80px); }
  .hero-signature { top: 50%; }
  .about-top { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .about-title { grid-column: 1 / 3; justify-self: start; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-left { grid-column: 1 / 2; }
  .about-right { grid-column: 2 / 3; }
  .acc-inner { grid-template-columns: 1fr; }
  .acc-inner > .acc-text, .acc-img { grid-column: 1; }
  .faq-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .footer-main { grid-template-columns: 1fr; }
  .testi-head { grid-template-columns: 1fr auto; }
  .testi-intro { grid-row: 2; grid-column: 1 / 3; }
}

@media (max-width: 809px) {
  :root { --margin: 20px; }

  /* ---- Header ---- */
  .site-header .header-nav, .site-header .btn-primary { display: none; }

  /* ---- Floating menu ---- */
  .fab-wrap { opacity: 1; pointer-events: auto; }
  .fab-cols { flex-direction: column; }
  .fab-col-right { text-align: left; }
  /* Move fab button to bottom-right so it doesn't overlap center content */
  .fab-wrap { left: auto; right: 20px; transform: none; }
  .fab-panel { right: 0; left: auto; transform-origin: bottom right; }

  /* ---- Hero ---- */
  .hero-panel { width: calc(100vw - 40px); height: auto; top: 52%; }
  .hero-content { padding: 26px 22px 34px; }
  .hero-title { font-size: clamp(48px, 14vw, 92px); }
  .hero-mid { flex-direction: column; gap: 28px; margin-top: 28px; }
  .hero-signature { position: relative; right: auto; top: auto; width: 80%; margin: 30px 0 0 auto; }
  .hero-services { margin-top: 40px; font-size: 14px; gap: 10px; flex-wrap: wrap; }
  .hero-bottom .local-time { display: none; }
  .hero-bottom { padding-bottom: 12px; }

  /* ---- About ---- */
  .about-top { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .about-top .cell-label { flex: 0 0 auto; }
  .about-title { flex: 1 0 100%; margin-top: 8px; font-size: clamp(34px, 11vw, 52px); line-height: 0.9; }
  .about-grid { grid-template-columns: 1fr; margin-top: 22px; }
  /* reset the tablet column placement so both blocks stack full-width */
  .about-left, .about-right { grid-column: auto; }
  .about-left { gap: 18px; }
  /* cap the image to a controlled crop + kill the mobile parallax jank */
  .about-img { width: 100%; aspect-ratio: 4 / 5; }
  .about-img img { width: 100%; height: 100%; object-fit: cover; transform: none !important; }
  .about-copy { max-width: none; }
  .about-industries { max-width: none; }
  .about-right { align-items: flex-start; text-align: left; margin-top: 26px; }
  .big-counter { font-size: clamp(46px, 13vw, 60px); }

  /* ---- Showreel ---- */
  .showreel-head { flex-direction: column; gap: 20px; }
  .showreel-media { width: 100%; }

  /* ---- Why Us ---- */
  .whyus-head { grid-template-columns: 1fr; gap: 24px; }
  .whyus-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 260px; }

  /* ---- Services accordion ---- */
  .acc-head {
    grid-template-columns: 40px 1fr 36px;
    gap: 12px;
    padding: 20px 0;
  }
  .acc-price { display: none; }
  .acc-title { font-size: clamp(17px, 4.5vw, 24px); }
  .acc-inner { grid-template-columns: 1fr; gap: 24px; }
  .acc-inner > .acc-text, .acc-img { grid-column: 1; }
  .acc-text p { font-size: 14px; }

  /* ---- FAQ accordion ---- */
  .acc-faq .acc-head { grid-template-columns: 36px 1fr 36px; padding: 18px 0; }
  .acc-faq .acc-title { font-size: clamp(15px, 3.8vw, 19px); }

  /* ---- How We Do It ---- */
  .howwe-stats { grid-template-columns: 1fr; gap: 48px; margin-top: 60px; }
  .howwe-quote { grid-template-columns: 1fr; margin-top: 80px; }

  /* ---- Quote + Pricing ---- */
  .quote-grid { grid-template-columns: 1fr; }
  .pricing { margin-top: 90px; }
  .plan-tabs { display: flex; flex-wrap: wrap; }
  .pt-row { grid-template-columns: 1fr 1fr; }
  .pt-col { display: none; text-align: right; }
  .pt-col.active { display: block; }
  .pt-row.pt-head { grid-template-columns: 1fr; padding-bottom: 24px; }
  .pt-row.pt-head .pt-feature { display: none; }
  .pt-row.pt-head .pt-col { text-align: left; }
  .pt-row.pt-head .pt-desc { max-width: 100%; }
  .pt-cta-row { grid-template-columns: 1fr; }
  .pt-cta-row .pt-feature { display: none; }

  /* ---- Testimonials ---- */
  .testi-head { grid-template-columns: 1fr; gap: 24px; }
  .testi-nav { order: 3; }
  .testi-body { grid-template-columns: 1fr; gap: 30px; }
  .testi-photo {
    justify-self: start;
    max-width: 220px;
    padding: 14px;
    margin-top: 24px;
    border-radius: 4px;
  }
  .testi-photo img {
    width: 192px;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 4px;
  }
  .testi-quote { font-size: clamp(18px, 4.5vw, 24px); margin-top: 30px; }
  .quote-mark { font-size: 80px; }

  /* ---- Articles ---- */
  .articles-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .articles-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .article-card figure { aspect-ratio: 4 / 3; overflow: hidden; }
  .article-card img { width: 100%; height: 100%; object-fit: cover; }
  .article-card h3 { font-size: 15px; margin-top: 12px; }

  /* ---- Works ----
     On touch the JS per-frame centering jitters, so center the media purely in
     CSS (compositor-driven = smooth) and make each card exactly one viewport. */
  .work { height: 100vh; }
  .work-media {
    width: calc(100vw - 40px);
    top: 50%;
    transform: translate(-50%, -50%) !important;
  }
  .work-grain { background-attachment: scroll; }
  .work-cats { top: auto; bottom: 20%; font-size: 11px; }
  .work-num { font-size: 11px; }
  .work-title { font-size: 12px; }
  .work-id { bottom: 14%; }

  /* ---- Footer ---- */
  .footer-hero-card { text-align: left; padding: 20px 24px; }
  .footer-hero-card .fh-note { font-size: 16px; }
  .footer-hero-person { right: 20px; bottom: 110px; font-size: 14px; }
  .footer-hero-person img { width: 36px; height: 36px; }
  .footer-main { grid-template-columns: 1fr; gap: 50px; padding: 50px var(--margin); }
  .footer-phone, .footer-mail { font-size: clamp(20px, 5vw, 28px); }
  .footer-title { font-size: clamp(36px, 9vw, 56px); }
  .footer-form { margin-top: 32px; }
  .field-label { text-align: left; }
  .field input, .field select { height: 60px; font-size: 15px; }
  .footer-form .btn-block { height: 60px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 36px; }
  .fb-meta { justify-self: start; text-align: left; }
  .fb-nav a { font-size: 18px; }
  .fb-address { font-size: 18px; }

  /* Extra bottom padding so fab doesn't hide footer content */
  .footer-bottom { padding-bottom: 100px; }
}

/* ---- Extra-small phones ---- */
@media (max-width: 480px) {
  :root { --margin: 16px; }

  .hero-panel { width: calc(100vw - 32px); }
  .hero-content { padding: 20px 16px 28px; }
  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .hero-studio { font-size: clamp(16px, 4vw, 24px); }
  .hero-est { font-size: 10px; }
  .hero-copy { font-size: 11px; }
  .hero-ceo img { width: 48px; height: 48px; }
  .hero-services { font-size: 13px; gap: 8px; }
  .hero-signature { width: 90%; }

  /* Stack articles into single column on very small screens */
  .articles-grid { grid-template-columns: 1fr; row-gap: 36px; }

  /* Services section */
  .services { padding: 60px var(--margin); }
  .services-intro { font-size: clamp(22px, 5.5vw, 32px); }
  .acc-head { grid-template-columns: 32px 1fr 28px; gap: 8px; padding: 16px 0; }
  .acc-title { font-size: clamp(16px, 4.2vw, 20px); }

  /* FAQ */
  .faq { padding: 60px var(--margin); }
  .faq-title { font-size: clamp(40px, 10vw, 56px); }
  .acc-faq .acc-head { grid-template-columns: 28px 1fr 28px; }
  .acc-faq .acc-title { font-size: clamp(14px, 3.6vw, 17px); }

  /* Pricing */
  .pricing-sec { padding: 60px var(--margin) 80px; }
  .pricing-title { font-size: clamp(48px, 13vw, 80px); }
  .pt-row { font-size: 13px; }
  .pt-plan { font-size: 18px; }
  .pt-price { font-size: 22px; }

  /* Why Us / How We */
  .stat-card { min-height: 220px; padding: 22px; }
  .stat-value { font-size: clamp(44px, 12vw, 64px); }
  .howwe-value { font-size: clamp(48px, 14vw, 80px); }
  .howwe-line { font-size: clamp(24px, 6vw, 36px); }

  /* Quote */
  .quote-text { font-size: clamp(22px, 5.5vw, 32px); }
  .quote-thumb { width: 120px; }

  /* Testimonials */
  .testimonials { padding: 50px var(--margin); }
  .testi-photo { padding: 16px; }

  /* Work cards */
  .work-media { width: calc(100vw - 32px); }

  /* Footer */
  .footer-hero-card { width: 100%; }
  .footer-form .field { margin-bottom: 20px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .grain { animation: none; }
}

/* ============================================================
   WORKS PAGE (works.html)
   ============================================================ */
.works-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.works-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../assets/img/noise.png");
  background-size: 300px;
  opacity: 0.28;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.works-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--margin);
  text-align: right;
}
.works-hero-title {
  font-size: clamp(72px, 13vw, 210px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.works-hero-title span { display: block; }
.works-hero-sub {
  margin: 26px 0 0 auto;
  max-width: 400px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--white-60);
}
.works-hero-sub b { color: #fff; font-weight: 500; }

/* sticky filter / search bar */
.works-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
  padding: 0 var(--margin);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.works-filters { display: flex; gap: 8px; flex: 0 0 auto; }
.wf-pill {
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white-60);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}
.wf-pill:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.wf-pill.active { background: #fff; color: var(--black); border-color: #fff; }
.works-search {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white-60);
}
.works-search svg { flex: 0 0 auto; }
.works-search input {
  width: min(340px, 42vw);
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.works-search input::placeholder { color: var(--white-60); }
.works-year {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-60);
}

/* works-page card chrome (adds to the shared .work stacking cards) */
.works-page .work-index {
  position: absolute;
  top: 96px;
  left: var(--margin);
  z-index: 4;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}
.works-page .work-portfolio {
  position: absolute;
  top: 96px;
  right: var(--margin);
  z-index: 4;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.works-page .work-foot {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: 30px;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.works-page .wf-name { text-align: left; letter-spacing: -0.01em; }
.works-page .wf-cats { text-align: center; opacity: 0.8; }
.works-page .wf-year { text-align: right; opacity: 0.6; }

/* big faint project name behind the media (centered on the pinned card) */
.work-bgtext {
  position: absolute;
  left: 0;
  right: 0;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 6vw;
  white-space: nowrap;
  font-size: clamp(110px, 21vw, 320px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

/* play badge on video project cards */
.work-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3;
  pointer-events: none;
}
.work-play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

.work.hidden { display: none; }
.works-empty {
  position: relative;
  z-index: 2;
  padding: 140px var(--margin);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black-60);
  background: var(--light);
}

/* ============================================================
   PROJECT DETAIL PAGE (work-*.html)
   ============================================================ */
.proj { background: var(--black); color: var(--white); }
.proj-top { padding: 120px var(--margin) 0; }
.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--white-60);
  transition: color 0.25s;
}
.proj-back:hover { color: #fff; }
.proj-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 34px;
}
.proj-title {
  font-size: clamp(56px, 8vw, 128px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.proj-meta { display: flex; gap: 40px; }
.proj-meta div { font-size: 13px; }
.proj-meta .k { color: var(--white-60); text-transform: uppercase; margin-bottom: 6px; }
.proj-meta .v { font-weight: 500; }
.proj-hero-media { margin: 30px var(--margin) 0; overflow: hidden; border-radius: 6px; }
.proj-hero-media img, .proj-hero-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: grayscale(0.1);
}
.proj-hero-media.portrait {
  display: flex;
  justify-content: center;
  background: transparent;
}
.proj-hero-media.portrait img,
.proj-hero-media.portrait video {
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
}
.proj-hero-media.portrait-dual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: 30px var(--margin) 0;
  background: transparent;
}
.proj-hero-media.portrait-dual img,
.proj-hero-media.portrait-dual video {
  width: min(380px, 46vw);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}
@media (max-width: 768px) {
  .proj-hero-media.portrait-dual {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .proj-hero-media.portrait-dual img,
  .proj-hero-media.portrait-dual video {
    width: min(360px, 100%);
  }
}
.proj-hero-media iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* extra video embeds inside a project */
.proj-embed { margin: var(--col-gap) var(--margin) 0; }
.proj-embed iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.proj-embed.portrait iframe { aspect-ratio: 9 / 16; width: min(420px, 100%); margin: 0 auto; }

.proj-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: 80px var(--margin);
}
.proj-lead { font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.proj-text p { margin-top: 20px; font-size: 16px; line-height: 1.55; color: var(--white-70); max-width: 640px; }
.proj-facts { display: flex; flex-direction: column; gap: 22px; align-self: start; }
.proj-facts .k { font-size: 12px; text-transform: uppercase; color: var(--white-60); margin-bottom: 6px; }
.proj-facts .v { font-size: 16px; font-weight: 500; }
.proj-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); padding: 0 var(--margin) 90px; }
.proj-gallery figure { overflow: hidden; border-radius: 6px; background: #0d0e12; }
.proj-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.5s var(--ease-out);
}
.proj-gallery figure:hover img {
  transform: scale(1.03);
}
.proj-gallery .wide { grid-column: 1 / -1; }

/* artistic page: editorial grid — uncropped photos/films, staggered via --y (set per item) */
.art-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--col-gap);
  row-gap: clamp(48px, 7vw, 120px);
  align-items: start;
  padding: 20px var(--margin) 140px;
}
.art-grid figure { grid-column: var(--c); margin-top: var(--y, 0); }
.art-grid img, .art-grid video { display: block; width: 100%; height: auto; border-radius: 4px; }
.art-grid img { cursor: pointer; transition: opacity 0.4s; }
.art-grid img:hover { opacity: 0.85; }
.art-grid figcaption {
  margin-top: 10px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-60);
}
.proj-gallery .wide img { aspect-ratio: 16 / 7; object-position: center center; }

.proj-gallery figure.fit {
  background: #0d0e12;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
}
.proj-gallery figure.fit img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 8%;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  transition: transform 0.5s var(--ease-out);
}
.proj-gallery figure.fit:hover img {
  transform: scale(1.04);
}

/* ===================== IMAGE LIGHTBOX MODAL ===================== */
.img-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
}
.img-lightbox-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.img-lightbox-wrap {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.img-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  transform: scale(0.94);
  transition: transform 0.35s var(--ease-out);
}
.img-lightbox-modal.is-open .img-lightbox-img {
  transform: scale(1);
}
.img-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.img-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.img-lightbox-caption {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Next-project preview — same graphic as the works cards, but static */
.proj-next {
  display: block;
  position: relative;
  height: min(62vh, 540px);
  overflow: hidden;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.proj-next-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.proj-next-bg img,
.proj-next-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) contrast(1.02);
  transition: transform 0.8s var(--ease-out);
}
.proj-next-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 113.78vh);   /* 113.78vh = 64vh × 16/9 */
  height: max(64vh, 56.25vw);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  filter: brightness(0.62) contrast(1.02);
}
.proj-next .work-grain { z-index: 1; }
.proj-next::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1) 55%, rgba(0, 0, 0, 0.3));
  pointer-events: none;
}
.proj-next:hover .proj-next-bg img,
.proj-next:hover .proj-next-bg video { transform: scale(1.04); }
.proj-next-label {
  position: absolute;
  top: 30px;
  left: var(--margin);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
}
.proj-next-inner {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: 38px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.proj-next-name {
  font-size: clamp(34px, 6vw, 88px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}
.proj-next-arrow {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  transition: transform 0.3s var(--ease-out), color 0.3s;
}
.proj-next:hover .proj-next-arrow { transform: translateX(10px); color: var(--orange); }

/* service pages: "All services" — thin strips that open up on hover */
.svc-more-label {
  padding: 30px var(--margin) 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-70);
}
.proj-next.svc-strip { height: 140px; transition: height 0.7s var(--ease-out); }
.proj-next.svc-strip:hover,
.proj-next.svc-strip:focus-visible { height: min(62vh, 540px); }
.svc-strip .proj-next-inner { bottom: 30px; }
.svc-strip .proj-next-name { font-size: clamp(28px, 4vw, 56px); }
@media (hover: none) { .proj-next.svc-strip { height: 200px; } }

/* weddings page: one card per couple — looping clip, names on top, click = full film */
.couples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); /* 1 couple = full width */
  gap: var(--col-gap);
  padding: 0 var(--margin) 90px;
}
.couple {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.couple video { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.couple::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}
.couple:hover video { transform: scale(1.03); }
.couple-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.couple-name { font-size: clamp(26px, 3.4vw, 52px); font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; }
.couple-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-70);
  white-space: nowrap;
}
.couple-play { color: #fff; transition: color 0.3s; }
.couple:hover .couple-play { color: var(--orange); }

/* service pages: related projects as small square tiles */
.svc-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px var(--col-gap);
  padding: 0 var(--margin) 90px;
}
.svc-tile figure { overflow: hidden; border-radius: 6px; aspect-ratio: 1; background: #0d0e12; }
.svc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.svc-tile img[src*="sleutelbloem"] { object-position: center 10%; }
.svc-tile:hover img { transform: scale(1.04); }
.svc-tile-name { margin-top: 14px; font-size: 14px; font-weight: 500; text-transform: uppercase; transition: color 0.3s; }
.svc-tile:hover .svc-tile-name { color: var(--orange); }
.svc-tile-meta { margin-top: 4px; font-size: 12px; color: var(--white-60); }
.svc-tile-all figure {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: background 0.3s, border-color 0.3s;
}
.svc-tile-all:hover figure { background: var(--orange); border-color: var(--orange); }

/* ---- works + detail: mobile ---- */
@media (max-width: 809px) {
  .works-hero { min-height: calc(100vh - 120px); }
  .works-hero-inner { text-align: left; }
  .works-hero-sub { margin-left: 0; }
  .works-bar { height: auto; flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .works-filters { order: 2; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wf-pill { flex: 0 0 auto; }
  .works-search { order: 1; width: 100%; justify-content: flex-start; }
  .works-search input { width: 100%; }
  .works-year { display: none; }
  .works-page .work-index, .works-page .work-portfolio { top: 84px; }
  .works-page .work-foot { grid-template-columns: 1fr; gap: 4px; bottom: 22px; font-size: 12px; }
  .works-page .wf-cats, .works-page .wf-year { text-align: left; }
  .work-bgtext { font-size: clamp(80px, 26vw, 180px); }

  .proj-top { padding: 100px 20px 0; }
  .proj-title { font-size: clamp(36px, 13.5vw, 56px); } /* long words like COMMERCIAL must fit a 360px phone */
  .svc-more-label { padding-left: 20px; padding-right: 20px; }
  .svc-work-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; padding: 0 20px 60px; }
  .couples-grid { padding: 0 20px 60px; }
  .couple video { aspect-ratio: 4 / 3; } /* 21:9 is too thin for the names on a phone */
  .couple-info { left: 16px; right: 16px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .couple-meta { align-items: flex-start; }
  .art-grid { grid-template-columns: 1fr; row-gap: 36px; padding: 0 20px 70px; }
  .art-grid figure { grid-column: auto; margin-top: 0; width: var(--mw, 100%); justify-self: var(--mj, start); }
  .proj-head { align-items: flex-start; }
  .proj-meta { gap: 24px; }
  .proj-body { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .proj-gallery { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .proj-next { height: min(52vh, 420px); }
  .proj-next-label { left: 20px; }
  .proj-next-inner { left: 20px; right: 20px; bottom: 28px; }
}
