/* =========================================================
   Vijma Studios | Home
   1 Tokens  2 Base  3 Shared  4 Header  5 Sections  6 Responsive
   ========================================================= */

/* 1 TOKENS */
:root {
  --black: #000;
  --obsidian: #0d0d0d;
  --charcoal: #1b1b1b;
  --steel: #2c2c2c;
  --white: #fff;
  --muted: #a3a3a3;
  --accent: #f2b400; /* hazard yellow, hover/seams only */
  --display: "Big Shoulders Display", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

/* 2 BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--black); }
body { background: var(--black); color: var(--white); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 SHARED */
.wrap { width: min(1200px, 100% - 2 * var(--pad)); margin-inline: auto; }
.h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6.5vw, 5.5rem); line-height: .92; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-weight: 600; font-size: .95rem; letter-spacing: .02em; border: 1px solid var(--white); transition: background .22s cubic-bezier(0.22, 1, 0.36, 1), color .22s cubic-bezier(0.22, 1, 0.36, 1), border-color .22s cubic-bezier(0.22, 1, 0.36, 1), transform .22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .22s cubic-bezier(0.22, 1, 0.36, 1); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.btn--solid { background: var(--white); color: var(--black); }
.btn--gold { background: var(--accent); border-color: var(--accent); color: var(--black); font-weight: 700; }
.btn--gold:hover { background: #ffca2c; border-color: #ffca2c; color: var(--black); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(242, 180, 0, 0.28); }
.btn--outline { background: rgba(0, 0, 0, 0.35); border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn--outline:hover { background: rgba(242, 180, 0, 0.12); border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
video { width: 100%; height: 100%; object-fit: cover; }

.gridlines { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 25% 100%, 100% 120px; }

/* PAGE TRANSITION LOADER */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s cubic-bezier(0.22, 1, 0.36, 1), visibility .42s;
}
html.is-entering .page-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: none !important;
}
html.is-entering .page-loader__bar i {
  transform: translateX(0%);
}
.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.page-loader__ring {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}
.page-loader__ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: loaderSpin 1.1s linear infinite;
}
.page-loader__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.page-loader__bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.page-loader__bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: translateX(-100%);
}
.page-loader.is-active .page-loader__bar i {
  animation: loaderSweep .55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(0.94); opacity: .82; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes loaderSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}

/* 4 HEADER */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); background: linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 70%, transparent 100%); backdrop-filter: blur(6px); }
.site-header__logo { display: inline-flex; align-items: center; line-height: 0; transition: opacity .2s; }
.site-header__logo:hover { opacity: .85; }
.site-header__logo img { display: block; height: 44px; width: auto; }
.site-nav { display: flex; gap: clamp(14px, 2.5vw, 32px); align-items: center; font-size: .95rem; font-weight: 500; }
.site-nav a { transition: color .2s; }
.site-nav a:hover,
.site-nav a.is-active { color: var(--accent); }
.site-nav a.is-active { position: relative; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
}
.site-nav__cta { border: 1px solid var(--accent); color: var(--accent); padding: 8px 16px; }
.site-nav a.site-nav__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--black); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.progress__bar { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* 5 SECTIONS */
main > section { position: relative; z-index: 2; }

/* 5.1 Hero */
.hero { height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
.hero__reveal, .hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media video { opacity: 0.35; }
.hero__shade { z-index: 1; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.2) 70%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%); }
.hero__content {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: clamp(92px, 12vh, 124px) var(--pad) clamp(24px, 4.5vh, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__upper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: auto;
  padding-bottom: clamp(24px, 4vh, 42px);
}
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 8.8vw, 8.2rem);
  line-height: .9;
  letter-spacing: -0.01em;
}

.hero__lede {
  margin: 16px 0 24px;
  max-width: 44ch;
  color: #dcdcdc;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.45;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--steel);
  position: relative;
}
.hero__metrics::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.22) 0 1px,
    transparent 1px 18px
  );
  pointer-events: none;
}
.hero__metric {
  padding: clamp(16px, 2.4vh, 26px) clamp(14px, 2vw, 28px);
  border-right: 1px solid var(--steel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 2.2vh, 26px);
}
.hero__metric:first-child {
  padding-left: 0;
}
.hero__metric:last-child {
  border-right: none;
  padding-right: 0;
}
.hero__metric-num {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}
.hero__metric-accent {
  color: var(--accent);
}
.hero__metric-label {
  font-family: var(--body);
  font-size: clamp(.78rem, .92vw, .88rem);
  line-height: 1.4;
  color: var(--muted);
}

.hero__panel { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 5; overflow: hidden; background: var(--black); will-change: transform; }
.hero__panel--l { left: 0; }
.hero__panel--r { right: 0; }
.hero__word { position: absolute; top: 0; bottom: 0; width: 100vw; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 14.2vw, 15rem); line-height: .86; white-space: nowrap; }
.hero__panel--l .hero__word { left: 0; }
.hero__panel--r .hero__word { left: -50vw; }
.hero__seam { position: absolute; z-index: 6; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); }
.hero__cue { position: absolute; z-index: 7; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__cue i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 5.2 Reel (text-knockout zoom-through) */
.zoom { background: var(--black); }
.zoom__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--black); }
.zoom__media { position: absolute; inset: 0; }
.zoom__knockout { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: #000; mix-blend-mode: multiply; }
.zoom__word { position: relative; color: #fff; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 20vw, 23rem); line-height: .8; white-space: nowrap; }
.zoom__caption { position: absolute; z-index: 3; left: 50%; bottom: clamp(40px, 10vh, 100px); transform: translateX(-50%); width: min(90%, 28ch); text-align: center; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 500; text-shadow: 0 2px 20px rgba(0,0,0,.8); }

/* 5.3 Work (SVG Light Sweep Work text -> 3-row drifting portrait wall -> bottom-up copy) */
.iris { background: var(--black); }
.iris__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--black); }
.iris__word-wrap {
  position: relative;
  z-index: 1;
  width: min(92vw, 1400px);
  display: grid;
  place-items: center;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  will-change: opacity;
}
.iris__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.iris__svg-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: 330px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.iris__svg-text--sweep {
  pointer-events: none;
}
.iris__open { position: absolute; inset: 0; z-index: 2; background: transparent; }
.iris__media { position: absolute; inset: 0; overflow: hidden; }
.iris__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.88) 28%, rgba(0, 0, 0, 0.56) 54%, rgba(0, 0, 0, 0.34) 78%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.14) 24%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.88) 100%),
    radial-gradient(ellipse 62% 58% at 62% 48%, transparent 0%, rgba(0, 0, 0, 0.45) 68%, rgba(0, 0, 0, 0.82) 100%);
}
.iris__copy { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(48px, 12vh, 120px); max-width: 560px; }
.iris__copy > * { opacity: 0; will-change: transform, opacity; }
.iris__copy p { margin: 20px 0 28px; color: #d6d6d6; max-width: 40ch; }

/* 3 horizontal drifting rows filling 100% viewport height with zero gaps */
.work-mosaic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  overflow: hidden;
}

.work-row {
  display: flex;
  flex: 1 1 33.3333%;
  width: max-content;
  height: 33.3333%;
  gap: 0;
  will-change: transform;
}

/* Row 3 recedes slightly more into shadow */
.work-row--3 .work-tile img {
  filter: brightness(0.76) saturate(0.78);
}

.work-tile {
  position: relative;
  flex: 0 0 10vw;
  width: 10vw;
  height: 100%;
  overflow: hidden;
  background: var(--black);
  opacity: 0;
  will-change: transform, opacity;
}

.work-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .45s ease, filter .35s ease;
}

.work-tile:hover img {
  transform: scale(1.08);
  filter: brightness(1.16);
}

.work-tile.is-empty {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.03) 14px 16px),
    radial-gradient(ellipse at 65% 35%, #2b2b2b 0%, #121212 65%, #080808 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.work-tile.is-empty img { display: none; }

/* 5.4 Services (4-column responsive grid with oversized vector/ artwork) */
.services { background: var(--charcoal); }
.services__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.services__bgword { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(8rem, 34vw, 38rem); line-height: .8; white-space: nowrap; color: var(--steel); opacity: .55; }
.services__track { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); padding-inline: var(--pad); will-change: transform; }
.card { position: relative; overflow: hidden; min-width: 0; height: min(62vh, 520px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(20px, 2.5vw, 32px); background: var(--black); border: 1px solid var(--steel); transition: border-color .25s, background .25s; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 34%, rgba(242, 180, 0, 0.14) 0%, rgba(242, 180, 0, 0.04) 44%, transparent 74%);
  opacity: 0.72;
  transition: opacity .3s ease;
}
.card:hover { border-color: var(--accent); background: var(--obsidian); }
.card:hover::before { opacity: 1; }
.card__art {
  position: absolute;
  top: clamp(14px, 2vh, 26px);
  left: 50%;
  transform: translateX(-50%);
  width: min(86%, 290px);
  height: 58%;
  display: grid;
  place-items: center;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 68%, rgba(0, 0, 0, 0.18) 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.96) 68%, rgba(0, 0, 0, 0.18) 100%);
}
.card__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(242, 180, 0, 0.16));
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), filter .35s ease;
}
.card:hover .card__art img {
  transform: scale(1.07) translateY(-4px);
  filter: drop-shadow(0 16px 34px rgba(242, 180, 0, 0.32));
}
.card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 2.6vw, 3rem);
  text-transform: uppercase;
  line-height: 1.02;
  min-height: 2.08em;
  transition: color .2s;
}
.card:hover h3 { color: var(--accent); }
.card p {
  color: var(--muted);
  max-width: 30ch;
  min-height: 4.7em;
}

/* 5.5 Security & Confidentiality (6-pillar vault + bold commitment) */
.security { position: relative; background: var(--obsidian); overflow: hidden; }
.security__bgword {
  position: absolute;
  left: -2vw;
  bottom: -4vh;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(10rem, 30vw, 34rem);
  line-height: .78;
  color: var(--steel);
  opacity: .32;
  pointer-events: none;
  user-select: none;
}
.security__stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(18px, 2.8vh, 30px);
  padding: 84px var(--pad) 38px;
}
.security__header {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: clamp(16px, 3vw, 48px);
}
.security__title {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: .94;
}
.security__tagline {
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(.92rem, 1.15vw, 1.05rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}
.security__intro {
  color: #d6d6d6;
  font-size: clamp(.92rem, 1.05vw, 1rem);
  line-height: 1.5;
  max-width: 54ch;
}

.security__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}
.sec-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(205px, 24vh, 245px);
  padding: clamp(20px, 2.1vw, 28px);
  background: var(--black);
  border: 1px solid var(--steel);
  transition: border-color .22s cubic-bezier(0.22, 1, 0.36, 1), background .22s cubic-bezier(0.22, 1, 0.36, 1);
}
.sec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 72%, rgba(242, 180, 0, 0.06), transparent 64%);
  opacity: 0;
  transition: opacity .25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.sec-card:hover {
  border-color: var(--accent);
  background: var(--obsidian);
}
.sec-card:hover::before {
  opacity: 1;
}
.sec-card__watermark {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: clamp(190px, 18vw, 250px);
  height: clamp(190px, 18vw, 250px);
  opacity: 0.64;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at 86% 78%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle at 86% 78%, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0) 72%);
  transition: opacity .25s cubic-bezier(0.22, 1, 0.36, 1), transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sec-card__watermark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sec-card:hover .sec-card__watermark {
  opacity: 0.96;
  transform: scale(1.04) translate(-4px, -4px);
}
.sec-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 86%;
}
.sec-card__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  line-height: 1.02;
  color: var(--white);
}
.sec-card__sub {
  font-family: var(--body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}
.sec-card__desc {
  font-family: var(--body);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--muted);
}

.security__commitment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 1.8vh, 22px) clamp(20px, 2.4vw, 32px);
  background: var(--black);
  border: 1px solid var(--steel);
  border-left: 4px solid var(--accent);
}
.security__mantra {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 32px);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  line-height: .95;
  letter-spacing: .01em;
  color: var(--white);
}
.security__mantra .is-accent {
  color: var(--accent);
}

/* 5.5 Statement (blur to focus) */
.statement { background: var(--black); }
.statement__stage { height: 100vh; height: 100svh; display: grid; place-items: center; padding: 0 var(--pad); overflow: hidden; }
.statement__text { max-width: 16em; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 7.5rem); line-height: .98; text-align: left; }
.statement__text .word { display: inline-block; margin-right: .22em; }

/* 5.6 Team (consistent theme typography + subtle rich duotone gradient silhouettes) */
.team { position: relative; background: var(--charcoal); overflow: hidden; }
.team__bgword {
  position: absolute;
  right: -2vw;
  bottom: -4vh;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(10rem, 32vw, 36rem);
  line-height: .78;
  color: var(--steel);
  opacity: .35;
  pointer-events: none;
  user-select: none;
}
.team__stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 4.5vh, 48px);
  padding: 96px var(--pad) 56px;
}
.team__title {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  line-height: .92;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.role-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(230px, 28vh, 285px);
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--black);
  border: 1px solid var(--steel);
  transition: border-color .22s cubic-bezier(0.22, 1, 0.36, 1), background .22s cubic-bezier(0.22, 1, 0.36, 1);
}
.role-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 72%, rgba(242, 180, 0, 0.06), transparent 62%);
  opacity: 0;
  transition: opacity .25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.role-card:hover {
  border-color: var(--accent);
  background: var(--obsidian);
}
.role-card:hover::before {
  opacity: 1;
}

/* Top row: CEO (7 cols) + CFO (5 cols) */
.role-card--lead {
  grid-column: span 7;
  border-left: 3px solid var(--accent);
}
.role-card--finance {
  grid-column: span 5;
}

/* Bottom row: CRM/VFX Sup (4 cols) + VFX Sup (4 cols) + 50+ Artists (4 cols) */
.role-card--client,
.role-card--vfx,
.role-card--artists {
  grid-column: span 4;
}

/* Subtle sculpted duotone gradient silhouette with soft peripheral fade */
.role-card__watermark {
  position: absolute;
  right: -52px;
  bottom: -50px;
  width: clamp(220px, 21vw, 295px);
  height: clamp(220px, 21vw, 295px);
  opacity: 0.62;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at 86% 78%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0) 72%);
  mask-image: radial-gradient(circle at 86% 78%, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.28) 44%, rgba(0, 0, 0, 0) 72%);
  transition: opacity .25s cubic-bezier(0.22, 1, 0.36, 1), transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}
.role-card--lead .role-card__watermark {
  right: -58px;
  bottom: -56px;
  width: clamp(275px, 26vw, 365px);
  height: clamp(275px, 26vw, 365px);
  -webkit-mask-image: radial-gradient(circle at 88% 76%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.32) 46%, rgba(0, 0, 0, 0) 74%);
  mask-image: radial-gradient(circle at 88% 76%, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.32) 46%, rgba(0, 0, 0, 0) 74%);
}
.role-card__watermark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.role-card:hover .role-card__watermark {
  opacity: 0.95;
  transform: scale(1.04) translate(-4px, -4px);
}

.role-card__body {
  position: relative;
  z-index: 2;
  max-width: 80%;
}
.role-card--lead .role-card__body {
  max-width: 70%;
}

/* Unified theme typography matching .card h3 and .card p */
.role-card__name {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--white);
  transition: color .2s;
}
.role-card:hover .role-card__name {
  color: var(--white);
}

.role-card__stat {
  font-family: var(--display);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
}

.role-card__title {
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  color: var(--accent);
  margin: 10px 0 12px;
}
.role-card--artists .role-card__title {
  color: var(--white);
}

.role-card__quote,
.role-card__desc {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}
.role-card__quote {
  color: #d6d6d6;
}

.role-card__rule {
  position: relative;
  z-index: 2;
  height: 2px;
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
}

/* 5.7 Contact (character flip) */
.contact { background: var(--black); padding: clamp(100px, 16vw, 220px) 0; perspective: 1000px; }
.contact__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 12vw, 11rem); line-height: .9; margin-bottom: 40px; }
.contact__title span { display: block; }

.site-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 24px var(--pad); border-top: 1px solid var(--steel); background: var(--black); color: var(--muted); font-size: .9rem; }
.imdb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  transition: transform .22s cubic-bezier(0.22, 1, 0.36, 1), filter .22s cubic-bezier(0.22, 1, 0.36, 1);
}
.imdb-btn__logo {
  display: block;
  border-radius: 4px;
}
.imdb-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* 6 RESPONSIVE */
@media (max-width: 1024px) {
  .security__header { grid-template-columns: 1fr; gap: 10px; }
  .security__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .role-card--lead,
  .role-card--finance,
  .role-card--client,
  .role-card--vfx,
  .role-card--artists {
    grid-column: span 6;
  }
  .role-card--lead {
    grid-column: span 12;
  }
}
@media (max-width: 820px) {
  .site-nav a:not(.site-nav__cta) { display: none; }
  .hero__word { font-size: clamp(2.6rem, 13.5vw, 8rem); }
  .services__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { height: auto; min-height: 260px; }
  .card__art { width: 72%; height: 48%; top: 12px; }
  .card h3, .card p { min-height: 0; }
  .team__stage { padding-top: 84px; padding-bottom: 36px; gap: 18px; }
  .team__grid { grid-template-columns: 1fr; gap: 12px; }
  .role-card--lead,
  .role-card--finance,
  .role-card--client,
  .role-card--vfx,
  .role-card--artists {
    grid-column: span 1;
  }
  .role-card { min-height: auto; padding: 18px 20px; }
  .role-card__body,
  .role-card--lead .role-card__body { max-width: 82%; }
  .role-card__watermark,
  .role-card--lead .role-card__watermark {
    width: 165px;
    height: 165px;
    right: -34px;
    bottom: -34px;
  }

  .security__stage { padding-top: 76px; padding-bottom: 28px; gap: 12px; }
  .security__grid { grid-template-columns: 1fr; gap: 10px; }
  .sec-card { min-height: auto; padding: 18px 20px; }
  .sec-card__body { max-width: 84%; }
  .sec-card__watermark { width: 155px; height: 155px; right: -32px; bottom: -32px; }
  .security__mantra { font-size: clamp(1.35rem, 6vw, 1.9rem); gap: 8px 16px; }

  .work-tile {
    flex: 0 0 20vw;
    width: 20vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__panel, .hero__seam, .hero__cue, .zoom__knockout { display: none; }
  .hero__cue i { animation: none; }
  .iris__word-wrap, .iris__copy > *, .work-tile { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 960px) {
  .hero__upper {
    padding-bottom: 24px;
  }

  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__metric:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .hero__metric:nth-child(3) {
    padding-left: 0;
  }
  .hero__metric:nth-child(1),
  .hero__metric:nth-child(2) {
    border-bottom: 1px solid var(--steel);
  }
}
