/* ==========================================================================
   GORILLA STUDIOS® — AHMED MAGDY
   Signature Red / Black / White Editorial & Cinema Portfolio System
   ========================================================================== */

:root {
  --bg: #080808;
  --bg-elev: #0e0e0e;
  --bg-panel: #141414;
  --white: #ffffff;
  --off-white: #f4f4f5;
  --silver: #d4d4d8;
  --mute: #8a8a93;
  --red: #e11d2e;
  --red-bright: #ff293b;
  --red-deep: #8f0b17;
  --red-glow: rgba(225, 29, 46, 0.35);
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(12, 12, 12, 0.14);
  --tag-bg: rgba(16, 16, 18, 0.78);
  --ease: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --qout: cubic-bezier(0.25, 1, 0.5, 1);
  --pad: clamp(18px, 3vw, 44px);
  --font-display: 'Archivo', 'Kanit', system-ui, sans-serif;
  --font-kanit: 'Kanit', 'Archivo', system-ui, sans-serif;
  --font-ui: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html {
  background-color: var(--bg);
  color: var(--white);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ui);
  background-color: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  line-height: 1.5;
}

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

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

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

[hidden] {
  display: none !important;
}

/* Featherweight cinema vignette (no full-screen mix-blend-mode SVG repaint!) */
.film-grain {
  display: none;
}

/* ==========================================================================
   CUSTOM CONTEXTUAL LABELLED CURSOR (Pointer Fine Only)
   ========================================================================== */
@media (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor [data-cursor] {
    cursor: none !important;
  }
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  will-change: transform;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.cursor-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--red-bright);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 18px rgba(225, 29, 46, 0.55);
  transition: width 0.26s var(--ease-out), height 0.26s var(--ease-out),
    margin 0.26s var(--ease-out), background 0.26s ease, border-color 0.26s ease;
}

.custom-cursor.is-hover .cursor-dot {
  width: 40px;
  height: 40px;
  margin-left: -20px;
  margin-top: -20px;
  background: rgba(225, 29, 46, 0.14);
  border-color: rgba(255, 255, 255, 0.78);
}

.custom-cursor.is-pressed .cursor-dot {
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  background: var(--white);
}

.cursor-pill {
  position: absolute;
  left: 16px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 0.32s var(--ease-out), opacity 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.custom-cursor.has-label .cursor-pill {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   CINEMATIC INTRO LOADER CURTAIN (Obverse + Embers Fusion)
   ========================================================================== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: #060606;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--pad);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.95s var(--ease);
}

.intro-curtain.is-done {
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.intro-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.intro-top .live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  margin-right: 8px;
  box-shadow: 0 0 12px var(--red-bright);
}

.intro-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 9.5vw, 156px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.02em;
  color: var(--white);
}

.intro-word .char-mask {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.intro-word .char-mask i {
  display: inline-block;
  font-style: normal;
  transform: translateY(115%);
  transition: transform 0.72s var(--ease-out);
}

.intro-curtain.is-active .intro-word .char-mask i {
  transform: translateY(0%);
}

.intro-curtain.is-leaving .intro-word .char-mask i {
  transform: translateY(-115%);
  transition: transform 0.5s var(--ease-exit);
}

.intro-word .accent-char {
  color: var(--red-bright);
}

.intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.intro-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.intro-count {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.intro-count span {
  color: var(--red-bright);
}

/* ==========================================================================
   SHARED TYPOGRAPHY & REUSABLE COMPONENTS
   ========================================================================== */
.hero-heading {
  font-family: var(--font-kanit);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 35%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-heading-red {
  color: var(--red-bright);
  background: linear-gradient(180deg, #ff3b4d 15%, #e11d2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Signature Glowing Crimson Contact Button (Jack's ContactButton adapted to Red/Black/White) */
.contact-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 9999px;
  padding: 13px 34px;
  font-family: var(--font-kanit);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffffff;
  background: linear-gradient(123deg, #1b0205 6%, #e11d2e 42%, #8e0b16 74%, #ff2e40 100%);
  box-shadow: 0 8px 28px rgba(225, 29, 46, 0.35), 4px 4px 14px rgba(143, 11, 23, 0.85) inset;
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: -3px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, filter 0.25s ease;
  white-space: nowrap;
}

.contact-pill:hover {
  box-shadow: 0 12px 36px rgba(255, 41, 59, 0.55), 4px 4px 16px rgba(255, 41, 59, 0.65) inset;
  filter: brightness(1.08);
}

.ghost-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 10px 24px;
  font-family: var(--font-kanit);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.ghost-pill:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Magnetic wrapper */
.magnet {
  display: inline-block;
  will-change: transform;
  transition: transform 0.6s ease-in-out;
}

.magnet.is-magnetic {
  transition: transform 0.25s ease-out;
}

/* Reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.25, 0.1, 0.25, 1),
    transform 0.75s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.from-left {
  transform: translateX(-56px);
}

.reveal.from-right {
  transform: translateX(56px);
}

.reveal.is-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* ==========================================================================
   FIXED EDITORIAL NAVBAR (Embers + Obverse + Gorilla Fusion)
   ========================================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  height: 78px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.35) 75%, transparent 100%);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-nav.is-scrolled {
  background: rgba(8, 8, 8, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-crest {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-name span {
  color: var(--red-bright);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.icon-btn:hover {
  background: rgba(225, 29, 46, 0.2);
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  list-style: none;
}

.nav-links li {
  overflow: hidden;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--ease-out);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cms-btn {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--silver);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.nav-cms-btn:hover {
  border-color: var(--red-bright);
  background: rgba(225, 29, 46, 0.15);
  color: var(--white);
}

.nav-cta-mini {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.2s ease;
}

.nav-cta-mini:hover {
  background: var(--red-bright);
}

.hamburger {
  display: none;
  width: 34px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.hamburger[aria-expanded='true'] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.hamburger[aria-expanded='true'] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 115;
  background: rgba(6, 6, 6, 0.96);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 96px var(--pad) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease);
  pointer-events: none;
}

.mobile-drawer.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.mobile-drawer a,
.mobile-drawer button {
  font-family: var(--font-kanit);
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--white);
  transition: color 0.2s ease, transform 0.25s ease;
}

.mobile-drawer a:hover,
.mobile-drawer button:hover {
  color: var(--red-bright);
  transform: translateX(8px);
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta-mini {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* ==========================================================================
   SECTION 1: CINEMATIC HERO STAGE (Mouse-Scrubbed Video + Embers + Jack)
   ========================================================================== */
.hero-stage {
  position: relative;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 94px var(--pad) 26px;
  background: #060606;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.22);
  transition: transform 1.45s var(--qout);
  filter: contrast(1.06) saturate(0.92);
}

body.hero-ready .hero-bg-video {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(65% 65% at 72% 45%, rgba(225, 29, 46, 0.16) 0%, transparent 65%),
    linear-gradient(90deg, rgba(6, 6, 6, 0.88) 0%, rgba(6, 6, 6, 0.54) 48%, rgba(6, 6, 6, 0.24) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.76) 0%, rgba(6, 6, 6, 0.08) 26%, rgba(6, 6, 6, 0.05) 68%, rgba(8, 8, 8, 0.96) 100%);
}

/* Giant Background Display Wordmark (Embers Foundry) */
.hero-giant-word {
  position: absolute;
  left: -2vw;
  right: -2vw;
  bottom: 58px;
  z-index: 2;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(82px, 19.5vw, 310px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.075);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
  user-select: none;
  display: flex;
  justify-content: space-between;
}

.hero-giant-word i {
  display: inline-block;
  font-style: normal;
  opacity: 0;
  transform: translateY(18%);
  transition: opacity 0.65s var(--ease-out), transform 0.75s var(--ease-out);
}

body.hero-ready .hero-giant-word i {
  opacity: 1;
  transform: translateY(0);
}

.hero-giant-word i.red-letter {
  color: rgba(225, 29, 46, 0.22);
  -webkit-text-stroke: 1px rgba(225, 29, 46, 0.42);
}

/* Left-Edge Studio Glyph Rail (Embers Foundry) */
.glyph-rail {
  position: absolute;
  left: clamp(12px, 1.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.45);
}

.glyph-rail svg {
  width: 15px;
  height: 15px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.glyph-rail svg:nth-child(4) {
  color: var(--red-bright);
}

@media (max-width: 1024px) {
  .glyph-rail {
    display: none;
  }
}

/* Hero Main Grid */
.hero-inner {
  position: relative;
  z-index: 4;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  align-items: center;
  gap: 32px;
  padding-left: clamp(0px, 2.5vw, 34px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 18px;
}

.hero-kicker .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(255, 41, 59, 0.7);
  animation: beaconPulse 2.2s infinite;
}

@keyframes beaconPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 41, 59, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 41, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 41, 59, 0); }
}

.hero-mask-line {
  overflow: hidden;
  padding-bottom: 0.04em;
}

.hero-mask-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.95s var(--ease-out);
}

body.hero-ready .hero-mask-line > span {
  transform: translateY(0%);
}

.hero-title {
  font-family: var(--font-kanit);
  font-weight: 900;
  font-size: clamp(44px, 7.2vw, 114px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title .line-white {
  background: linear-gradient(180deg, #ffffff 15%, #bdbdc7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .line-red {
  color: var(--red-bright);
}

.hero-typewriter-wrap {
  max-width: 580px;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 28px;
  min-height: 58px;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--red-bright);
  vertical-align: -2px;
  margin-left: 3px;
  animation: blink 0.95s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.copy-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: var(--silver);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.copy-email-pill:hover {
  border-color: var(--white);
  background: var(--white);
  color: #080808;
}

/* Right Hero Column: Mini Cinema Video Card (Embers Foundry) + Scrub Indicator */
.hero-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

.hero-film-card {
  position: relative;
  width: 224px;
  height: 148px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #121212;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: block;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease;
}

.hero-film-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--red-bright);
}

.hero-film-card video,
.hero-film-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
}

.hero-film-card:hover video,
.hero-film-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.95);
}

.hero-film-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.28) 0%, rgba(8, 8, 8, 0.35) 100%);
}

.hero-film-play .play-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(225, 29, 46, 0.75);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out), background 0.25s ease;
}

.hero-film-card:hover .play-circle {
  transform: scale(1.12);
  background: var(--red-bright);
}

.hero-film-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.scrub-hint-box {
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.scrub-bar {
  margin-top: 7px;
  margin-left: auto;
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  border-radius: 2px;
}

.scrub-bar-fill {
  height: 100%;
  width: 24%;
  background: var(--red-bright);
  transition: width 0.08s linear;
}

/* Bottom 01-04 Numbered Captions (Embers Foundry) */
.hero-captions {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 18px;
  padding-left: clamp(0px, 2.5vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.caption-item {
  overflow: hidden;
}

.caption-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(110%);
  transition: transform 0.7s var(--ease-out);
}

body.hero-ready .caption-inner {
  transform: translateY(0);
}

.caption-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
  color: var(--red-bright);
  letter-spacing: -0.02em;
}

.caption-copy {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  padding-left: 12px;
  font-size: 12px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.82);
}

.caption-copy strong {
  display: block;
  color: var(--white);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: end;
    padding-left: 0;
  }
  .hero-right-col {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .hero-captions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
  }
}

/* ==========================================================================
   SECTION 2: DUAL-ROW SCROLL-DRIVEN MOTION MARQUEE (Jack Portfolio)
   ========================================================================== */
.marquee-section {
  position: relative;
  z-index: 10;
  background: var(--bg);
  padding: clamp(56px, 8vw, 110px) 0 42px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-header {
  padding: 0 var(--pad) 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 8px;
}

.marquee-tracks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.marquee-row {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.marquee-tile {
  position: relative;
  width: clamp(270px, 28vw, 420px);
  height: clamp(175px, 18vw, 268px);
  border-radius: 18px;
  overflow: hidden;
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.marquee-tile:hover {
  border-color: var(--red-bright);
}

.marquee-tile video,
.marquee-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-out);
}

.marquee-tile:hover video,
.marquee-tile:hover img {
  transform: scale(1.06);
}

.marquee-tile-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.22) 0%, rgba(8, 8, 8, 0.85) 100%);
}

.marquee-tile-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.marquee-tile-badge.red {
  background: var(--red);
  border-color: var(--red-bright);
}

.marquee-tile-title {
  font-family: var(--font-kanit);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.marquee-tile-meta {
  font-size: 12px;
  color: var(--silver);
  margin-top: 3px;
}

/* Stat tile inside marquee */
.marquee-stat-tile {
  background: linear-gradient(145deg, #130407 0%, #0b0b0c 100%);
  border-color: rgba(225, 29, 46, 0.32);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.marquee-stat-big {
  font-family: var(--font-kanit);
  font-weight: 900;
  font-size: clamp(42px, 4.5vw, 66px);
  line-height: 0.95;
  color: var(--white);
}

.marquee-stat-big span {
  color: var(--red-bright);
}

/* ==========================================================================
   SECTION 3: INTERACTIVE CINEMA LOOKBOOK DECK (Obverse + Embers)
   ========================================================================== */
.lookbook-section {
  position: relative;
  z-index: 15;
  height: clamp(680px, 94svh, 940px);
  width: 100%;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 45%, #19191b 0%, #0d0d0f 55%, #070708 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}

.lookbook-section.is-fs {
  position: fixed;
  inset: 0;
  height: 100svh;
  z-index: 300;
  border: none;
}

/* Giant Background Wordmark behind Lookbook Frame */
.lb-wordmark {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 15vw, 240px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.055);
  will-change: transform;
}

.lb-wordmark .w-char {
  display: inline-block;
  overflow: hidden;
}

.lb-wordmark .w-char i {
  display: inline-block;
  font-style: normal;
}

.lb-wordmark .w-char.is-sep i {
  font-weight: 200;
  color: rgba(225, 29, 46, 0.35);
}

/* Layers & Signature Vertical Clip-Path Wipe */
.lb-layers {
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: transform 0.9s var(--ease);
  transform-origin: 50% 55%;
}

.lookbook-section.is-fs .lb-layers {
  transform: scale(1.08);
}

.lb-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lb-layer.is-active {
  pointer-events: auto;
}

.lb-fig {
  position: relative;
  width: min(820px, 84vw);
  aspect-ratio: 16 / 9;
  will-change: transform, filter;
}

.lb-fig-in {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: visible;
  will-change: transform;
}

.lb-stage-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #0a0a0c;
  box-shadow: 0 38px 90px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(225, 29, 46, 0.16);
}

.lb-stage-frame video,
.lb-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lb-stage-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.14) 0%, transparent 40%, rgba(8, 8, 8, 0.58) 100%);
}

.lb-floor-shadow {
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 88%;
  height: 34px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(225, 29, 46, 0.34), rgba(0, 0, 0, 0.6) 55%, transparent);
  filter: blur(12px);
  pointer-events: none;
}

/* Signature Seam Hairline riding the Clip-Path Wipe */
.lb-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.5px;
  z-index: 20;
  background: linear-gradient(180deg, transparent 0%, var(--red-bright) 20%, var(--white) 50%, var(--red-bright) 80%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.lb-seam-label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Frosted Interactive Hotspots (Obverse) */
.lb-hotspot {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 12;
}

.hs-dot {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hs-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.hs-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 41, 59, 0.85);
  animation: hsPing 2.4s var(--ease-out) infinite;
}

@keyframes hsPing {
  0% { transform: scale(0.5); opacity: 0.95; }
  100% { transform: scale(2.1); opacity: 0; }
}

.hs-leg {
  position: absolute;
  top: -0.5px;
  height: 1px;
  width: 34px;
  background: rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.lb-hotspot[data-side='right'] .hs-leg {
  left: 8px;
  transform-origin: left center;
}

.lb-hotspot[data-side='left'] .hs-leg {
  right: 8px;
  transform-origin: right center;
}

.hs-tag {
  position: absolute;
  top: -24px;
  width: 204px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--tag-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 36px -12px rgba(0, 0, 0, 0.65);
  text-align: left;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lb-hotspot[data-side='right'] .hs-tag {
  left: 42px;
}

.lb-hotspot[data-side='left'] .hs-tag {
  right: 42px;
}

.hs-tag:hover {
  border-color: var(--red-bright);
  box-shadow: 0 18px 44px -10px rgba(225, 29, 46, 0.35);
}

.hs-tag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hs-tag-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
}

.hs-tag-caret {
  color: var(--red-bright);
  font-size: 10px;
  transition: transform 0.25s var(--ease-out);
}

.hs-tag:hover .hs-tag-caret {
  transform: translateX(3px);
}

.hs-tag-val {
  font-size: 11.5px;
  color: var(--red-bright);
  font-weight: 500;
  margin-top: 2px;
}

.hs-chips {
  display: flex;
  gap: 5px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.42s var(--ease-out), opacity 0.3s ease, margin-top 0.35s ease;
}

.lb-hotspot:hover .hs-chips,
.lb-hotspot.is-open .hs-chips {
  max-height: 34px;
  opacity: 1;
  margin-top: 9px;
}

.hs-chip {
  flex: 1;
  padding: 4px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.hs-chip:hover {
  background: var(--red);
  border-color: var(--red);
}

.hs-chip:active {
  transform: scale(0.88);
}

/* Rolling 2-Digit Counter Reels (Obverse) */
.lb-counter-wrap {
  position: absolute;
  left: var(--pad);
  top: clamp(92px, 11vh, 112px);
  z-index: 10;
  transition: clip-path 0.8s var(--ease), opacity 0.5s ease;
}

.lookbook-section.is-fs .lb-counter-wrap {
  top: clamp(28px, 4.5vh, 46px);
}

.lookbook-section.is-fs .lb-counter-wrap,
.lookbook-section.is-fs .lb-info,
.lookbook-section.is-fs .lb-collab-mark {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  pointer-events: none;
}

.lb-counter {
  display: flex;
  align-items: baseline;
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: clamp(46px, 5.4vw, 82px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
}

.reel-box {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  vertical-align: top;
}

.reel-strip {
  display: flex;
  flex-direction: column;
  transition: transform 0.95s var(--ease);
}

.reel-strip span {
  height: 1em;
  line-height: 1;
  display: block;
}

.lb-counter-total {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--red-bright);
  margin-left: 4px;
}

.lb-progress {
  margin-top: 10px;
  width: clamp(68px, 7vw, 108px);
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.lb-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--red-bright);
  transform-origin: left center;
  transform: scaleX(0.166);
  transition: transform 1s var(--ease);
}

/* Top-Right Deck Controls (Fullscreen Focus + Theater Open) */
.lb-top-right {
  position: absolute;
  right: var(--pad);
  top: clamp(92px, 11vh, 112px);
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lookbook-section.is-fs .lb-top-right {
  top: clamp(28px, 4.5vh, 46px);
}

section[id],
div[id='ai-lab'] {
  scroll-margin-top: 78px;
}

.lb-pill-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lb-pill-btn:hover {
  background: var(--red);
  border-color: var(--red-bright);
}

/* Arrows */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 14;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.lb-arrow.prev {
  left: clamp(12px, 2vw, 32px);
}

.lb-arrow.next {
  right: clamp(12px, 2vw, 32px);
}

.lb-arrow:hover {
  background: var(--red);
  border-color: var(--red-bright);
}

.lb-arrow.prev:hover svg {
  transform: translateX(-3px);
}

.lb-arrow.next:hover svg {
  transform: translateX(3px);
}

.lb-arrow svg {
  transition: transform 0.25s var(--ease-out);
}

/* Bottom-Left Masked Line Info (Obverse) */
.lb-info {
  position: absolute;
  left: var(--pad);
  bottom: clamp(22px, 4vh, 42px);
  z-index: 10;
  width: min(310px, 80vw);
  transition: clip-path 0.8s var(--ease), opacity 0.5s ease;
}

.lb-mask {
  overflow: hidden;
}

.lb-mask > span {
  display: block;
}

.lb-info-title {
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 24px);
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--white);
}

.lb-info-sub {
  font-size: 13px;
  color: var(--silver);
  margin-top: 4px;
}

.lb-info-meta {
  font-size: 12px;
  color: var(--mute);
  margin-top: 10px;
}

.lb-info-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lb-info-metric {
  font-family: var(--font-kanit);
  font-size: 15px;
  font-weight: 600;
  color: var(--red-bright);
  letter-spacing: 0.04em;
}

.lb-plus-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  color: var(--white);
  transition: transform 0.35s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.lb-plus-btn:hover {
  transform: rotate(90deg);
  background: var(--red);
  border-color: var(--red);
}

/* Bottom-Center Hint & Dot Nav */
.lb-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 42px);
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.lb-hint strong {
  color: var(--white);
  font-weight: 600;
}

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

.lb-dot {
  width: 20px;
  height: 16px;
  display: flex;
  align-items: center;
}

.lb-dot span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.28);
  transition: height 0.25s ease, background 0.25s ease;
}

.lb-dot.is-active span {
  height: 2.5px;
  background: var(--red-bright);
}

/* Bottom-Right Stacked Collab Mark */
.lb-collab-mark {
  position: absolute;
  right: var(--pad);
  bottom: clamp(22px, 4vh, 42px);
  z-index: 10;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.5;
  transition: clip-path 0.8s var(--ease), opacity 0.5s ease;
}

.lb-collab-mark .x-mark {
  color: var(--red-bright);
}

/* Hold-to-Zoom Magnifier Loupe (Obverse) */
.zoom-lens {
  position: fixed;
  top: 0;
  left: 0;
  width: 210px;
  height: 210px;
  margin-left: -105px;
  margin-top: -105px;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.zoom-lens.is-active {
  opacity: 1;
}

.zoom-lens-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #121214;
  transform: scale(0.2);
  transition: transform 0.45s var(--ease-out);
  box-shadow: 0 26px 60px -16px rgba(0, 0, 0, 0.78), 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px rgba(225, 29, 46, 0.6);
  position: relative;
}

.zoom-lens.is-active .zoom-lens-inner {
  transform: scale(1);
}

.zoom-lens-media {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
}

.zoom-lens-chip {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.82);
  border: 1px solid rgba(225, 29, 46, 0.7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
}

@media (max-width: 900px) {
  .lb-hint .hint-txt {
    display: none;
  }
  .lb-collab-mark {
    display: none;
  }
  .hs-tag {
    width: 158px;
    padding: 8px 10px;
  }
  .hs-leg {
    width: 18px;
  }
  .lb-hotspot[data-side='right'] .hs-tag {
    left: 26px;
  }
  .lb-hotspot[data-side='left'] .hs-tag {
    right: 26px;
  }
}

/* ==========================================================================
   SECTION 4: ABOUT / PHILOSOPHY (Scroll-Driven Character Opacity Reveal)
   ========================================================================== */
.about-section {
  position: relative;
  z-index: 15;
  min-height: 92svh;
  background: var(--bg);
  padding: clamp(90px, 12vw, 150px) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.about-emblem {
  position: absolute;
  pointer-events: none;
  opacity: 0.55;
  transition: transform 0.6s var(--ease-out);
}

.about-emblem.tl { top: 8%; left: 4%; width: clamp(86px, 11vw, 156px); }
.about-emblem.tr { top: 8%; right: 4%; width: clamp(86px, 11vw, 156px); }
.about-emblem.bl { bottom: 10%; left: 7%; width: clamp(78px, 10vw, 140px); }
.about-emblem.br { bottom: 10%; right: 7%; width: clamp(92px, 12vw, 168px); }

@media (max-width: 768px) {
  .about-emblem {
    opacity: 0.22;
  }
}

.about-heading {
  font-size: clamp(3rem, 11vw, 148px);
  margin-bottom: clamp(34px, 5vw, 56px);
}

.animated-text {
  max-width: 740px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.3vw, 1.85rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: clamp(44px, 6vw, 72px);
}

.animated-text .at-char {
  display: inline;
  opacity: 0.16;
  transition: opacity 0.12s linear, color 0.2s ease;
}

.animated-text .at-char.is-accent {
  color: var(--red-bright);
}

/* ==========================================================================
   SECTION 5: CRISP WHITE ROUNDED-TOP SERVICES SECTION (Jack Portfolio)
   ========================================================================== */
.services-section {
  position: relative;
  z-index: 18;
  background: var(--white);
  color: #0a0a0a;
  border-top-left-radius: clamp(36px, 4.5vw, 64px);
  border-top-right-radius: clamp(36px, 4.5vw, 64px);
  padding: clamp(76px, 10vw, 136px) var(--pad) clamp(110px, 13vw, 168px);
}

.services-heading {
  font-family: var(--font-kanit);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.03em;
  line-height: 0.92;
  font-size: clamp(3rem, 11vw, 148px);
  color: #0a0a0a;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.services-heading span {
  color: var(--red);
}

.services-list {
  max-width: 1080px;
  margin: 0 auto;
}

.service-item {
  display: grid;
  grid-template-columns: clamp(90px, 16vw, 210px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(26px, 3.8vw, 48px) 0;
  border-top: 1px solid var(--line-dark);
  transition: padding-left 0.35s var(--ease-out);
}

.service-item:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.service-item:hover {
  padding-left: 12px;
}

.service-num {
  font-family: var(--font-kanit);
  font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 124px);
  line-height: 0.85;
  color: #0a0a0a;
  transition: color 0.3s ease;
}

.service-item:hover .service-num {
  color: var(--red);
}

.service-name {
  font-family: var(--font-kanit);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.3vw, 2.15rem);
  letter-spacing: 0.01em;
  color: #0a0a0a;
  margin-bottom: 8px;
}

.service-desc {
  font-size: clamp(0.92rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  max-width: 640px;
  color: rgba(10, 10, 10, 0.66);
}

@media (max-width: 640px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   SECTION 6: DARK ROUNDED-TOP STICKY-STACKING PROJECTS (Jack Portfolio)
   ========================================================================== */
.projects-section {
  position: relative;
  z-index: 22;
  background: var(--bg);
  color: var(--white);
  border-top-left-radius: clamp(36px, 4.5vw, 64px);
  border-top-right-radius: clamp(36px, 4.5vw, 64px);
  margin-top: -54px;
  padding: clamp(82px, 10vw, 132px) var(--pad) clamp(84px, 10vw, 120px);
}

.projects-heading {
  font-size: clamp(3rem, 11vw, 148px);
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.stack-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.stack-slot {
  position: sticky;
  top: calc(88px + var(--i, 0) * 24px);
  margin-bottom: 48px;
  will-change: transform;
}

.stack-card {
  border-radius: clamp(28px, 3.5vw, 52px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #0c0c0e;
  padding: clamp(18px, 2.8vw, 34px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72);
  transition: border-color 0.35s ease;
  transform-origin: top center;
}

.stack-card:hover {
  border-color: var(--red-bright);
}

.stack-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.stack-title-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
}

.stack-num {
  font-family: var(--font-kanit);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 82px);
  line-height: 0.85;
  color: var(--red-bright);
}

.stack-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.stack-name {
  font-family: var(--font-kanit);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 4px;
}

.stack-grid {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(12px, 1.8vw, 20px);
}

.stack-col-left {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.8vw, 20px);
}

.stack-media-box {
  position: relative;
  border-radius: clamp(20px, 2.6vw, 38px);
  overflow: hidden;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-media-box.top-box {
  height: clamp(135px, 15vw, 210px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #1a0407 0%, #0f0f12 100%);
  border-color: rgba(225, 29, 46, 0.35);
}

.stack-media-box.bot-box {
  height: clamp(150px, 18vw, 240px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stack-media-box.right-box {
  height: 100%;
  min-height: clamp(240px, 34vw, 470px);
}

.stack-media-box video,
.stack-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stack-metric-val {
  font-family: var(--font-kanit);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  color: var(--white);
}

.stack-beats {
  font-size: 13px;
  color: var(--silver);
  line-height: 1.5;
}

.stack-beats strong {
  color: var(--white);
}

@media (max-width: 820px) {
  .stack-slot {
    position: relative;
    top: auto;
  }
  .stack-grid {
    grid-template-columns: 1fr;
  }
  .stack-media-box.right-box {
    min-height: 240px;
  }
}

/* ==========================================================================
   FULL FILTERABLE CASE & AI GRID + SHOWREEL + AUDIT CONTACT
   ========================================================================== */
.catalog-section {
  position: relative;
  z-index: 24;
  background: #060607;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(68px, 8vw, 110px) var(--pad);
}

.container-xl {
  max-width: 1220px;
  margin: 0 auto;
}

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
  transition: all 0.25s ease;
}

.filter-chip:hover {
  border-color: var(--white);
  color: var(--white);
}

.filter-chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}

.work-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
}

.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #050506;
  overflow: hidden;
}

.work-media video,
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

.work-card:hover .work-media video,
.work-card:hover .work-media img {
  transform: scale(1.06);
}

.work-play-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.78);
  border: 1px solid rgba(225, 29, 46, 0.55);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  backdrop-filter: blur(8px);
}

.work-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.work-metric {
  font-family: var(--font-kanit);
  font-size: 24px;
  font-weight: 700;
  color: var(--red-bright);
  margin-top: 10px;
  line-height: 1.1;
}

.work-title {
  font-family: var(--font-kanit);
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
}

.work-summary {
  font-size: 13.5px;
  color: var(--silver);
  margin-top: 10px;
  line-height: 1.5;
}

.work-foot {
  margin-top: auto;
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver);
}

.work-card:hover .work-foot {
  color: var(--red-bright);
}

/* Showreel + System + Vault */
.showreel-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

@media (max-width: 960px) {
  .showreel-grid {
    grid-template-columns: 1fr;
  }
}

.video-shell {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.aspect-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.aspect-16-9 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.step-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.step-box {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  padding: 20px 22px;
  transition: border-color 0.25s ease;
}

.step-box:hover {
  border-color: rgba(225, 29, 46, 0.6);
}

.vault-shell {
  margin-top: 36px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  padding: 26px;
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.vault-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070709;
  padding: 16px;
}

/* Contact & Audit Section */
.contact-section {
  position: relative;
  z-index: 24;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(72px, 9vw, 120px) var(--pad) 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.quote-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0d10;
  padding: 20px 22px;
}

.audit-card {
  border-radius: 24px;
  border: 1px solid rgba(225, 29, 46, 0.35);
  background: linear-gradient(160deg, #130406 0%, #0b0b0d 65%);
  padding: clamp(24px, 3.5vw, 38px);
}

.field-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 7px;
}

.field-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 8, 0.72);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--white);
  outline: none;
  transition: border-color 0.25s ease;
}

.field-input:focus {
  border-color: var(--red-bright);
}

.site-footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--mute);
}

.site-footer a:hover {
  color: var(--red-bright);
}

/* ==========================================================================
   OVERLAYS & DRAWERS (Obverse Scrim, Quick-View, Search, Index, Studio CMS)
   ========================================================================== */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.65s var(--ease);
  pointer-events: none;
}

.scrim.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

/* Quick-View Right Drawer */
.qv-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  z-index: 430;
  background: #0d0d10;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateX(104%);
  transition: transform 0.72s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qv-drawer.is-open {
  transform: translateX(0);
}

.qv-head {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
}

.round-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--white);
  transition: transform 0.35s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.round-close:hover {
  transform: rotate(90deg);
  background: var(--red);
  border-color: var(--red);
}

.qv-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.qv-video {
  width: 100%;
  max-height: 310px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
}

.qv-details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 18px;
}

.qv-details details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 13px 0;
}

.qv-details summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.qv-details summary::after {
  content: '+';
  font-size: 18px;
  color: var(--red-bright);
  transition: transform 0.25s ease;
}

.qv-details details[open] summary::after {
  transform: rotate(45deg);
}

.qv-details p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--silver);
  line-height: 1.55;
}

/* Search Overlay (Top Wipe Down) */
.search-overlay {
  position: fixed;
  inset: 0 0 auto 0;
  max-height: 92svh;
  z-index: 440;
  background: #0e0e11;
  border-bottom: 1px solid rgba(225, 29, 46, 0.38);
  padding: 28px var(--pad) 38px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.72s var(--ease);
  pointer-events: none;
}

.search-overlay.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.search-input-big {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.26);
  padding: 14px 0;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: clamp(28px, 4.8vw, 64px);
  letter-spacing: -0.03em;
  color: var(--white);
  outline: none;
}

.search-input-big:focus {
  border-color: var(--red-bright);
}

.search-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.search-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #070709;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out);
}

.search-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-3px);
}

/* Fullscreen Archive Index Overlay (Wipe Up) */
.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 440;
  background: #0a0a0c;
  padding: 28px var(--pad) 42px;
  overflow-y: auto;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.78s var(--ease);
  pointer-events: none;
}

.index-overlay.is-open {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.index-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #121216;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.35s var(--ease-out);
}

.index-card.is-current,
.index-card:hover {
  border-color: var(--red-bright);
  transform: translateY(-4px);
}

.index-thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #060607;
  position: relative;
}

.index-thumb video,
.index-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.index-card:hover .index-thumb video,
.index-card:hover .index-thumb img {
  transform: scale(1.07);
}

/* Toast Notification (Obverse) */
.toast-pill {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 500;
  transform: translate(-50%, 140%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #0d0d10;
  border: 1px solid rgba(225, 29, 46, 0.6);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.65);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--white);
  transition: transform 0.45s var(--ease-out);
}

.toast-pill.is-shown {
  transform: translate(-50%, 0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .intro-curtain {
    display: none !important;
  }
  .hero-bg-video,
  .hero-mask-line > span,
  .hero-giant-word i,
  .caption-inner,
  .reveal {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .animated-text .at-char {
    opacity: 1 !important;
  }
}

/* Print / 1-Page Pitch PDF */
@media print {
  .site-nav,
  .intro-curtain,
  .custom-cursor,
  .film-grain,
  .hero-bg-video,
  .lb-arrow,
  .zoom-lens {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
}


/* ==========================================================================
   V2 UPGRADE — MULTI-PAGE NAVIGATION, GORILLABAR, MONS HUD, MK PENDULUM,
   NOVU DRIFTING GALLERY, INTERACTIVE STUDIO FOOTER & SUB-PAGE LAYOUTS
   ========================================================================== */

:root {
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --font-anton: 'Anton', 'Archivo', sans-serif;
  --font-graffiti: 'Permanent Marker', cursive;
}

/* Hairline-ruled Nav Links (MK Consulting inspired) */
.nav-links-ruled {
  gap: 14px;
}

.nav-rule {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.nav-link.is-active {
  color: var(--red-bright);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

/* Circular 3-Bar Editorial Menu Trigger (Novu® London) */
.menu-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: #080808;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-out), background 0.25s ease;
}

.menu-circle-btn:hover {
  transform: scale(1.08);
  background: var(--red-bright);
}

.menu-circle-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: #080808;
  transition: transform 0.3s var(--ease), opacity 0.2s ease, background 0.2s ease;
}

.menu-circle-btn:hover span {
  background: var(--white);
}

.menu-circle-btn.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-circle-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-circle-btn.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Full-Screen Editorial Menu Overlay (Novu® London) */
.editorial-menu {
  position: fixed;
  inset: 0;
  z-index: 118;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  padding: 92px var(--pad) 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.editorial-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.editorial-menu-inner {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.editorial-menu-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--red-bright);
  margin-bottom: 24px;
}

.editorial-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ed-link {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(16px, 2.5vw, 34px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.8vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s var(--ease-out) var(--d, 0ms),
    transform 0.55s var(--ease-out) var(--d, 0ms), color 0.22s ease;
}

.editorial-menu.is-open .ed-link {
  opacity: 1;
  transform: translateY(0);
}

.ed-link:hover,
.ed-link.is-current {
  color: var(--red-bright);
}

.ed-num {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.3vw, 17px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.editorial-menu-foot {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--silver);
}

/* ==========================================================================
   FIXED BOTTOM COMMAND BAR — GORILLABAR (Novu® London NOVUBAR)
   ========================================================================== */
.gorilla-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 0 var(--pad) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

body.at-end .gorilla-bar {
  opacity: 0;
  transform: translateY(24px);
}

.gbar-left,
.gbar-center,
.gbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.gbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 7px 6px 18px;
  border-radius: 999px;
  background: rgba(16, 16, 18, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.gbar-pill:hover {
  background: rgba(24, 24, 28, 0.92);
  border-color: var(--red-bright);
}

.gbar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: #080808;
  display: grid;
  place-items: center;
  transition: background 0.35s ease, color 0.35s ease, transform 0.4s var(--ease-out);
}

.gbar-pill:hover .gbar-circle {
  background: var(--red-bright);
  color: var(--white);
  transform: rotate(90deg) scale(1.08);
}

.gbar-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 16, 18, 0.74);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease;
}

.gbar-icon-btn:hover {
  transform: rotate(-12deg) scale(1.08);
  border-color: var(--red-bright);
}

.gbar-hint {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.gbar-key {
  padding: 7px 26px;
  border-radius: 7px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
  box-shadow: 0 3px 0 var(--red), 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.gbar-key:hover {
  background: var(--red);
}

.gbar-key.is-hit,
.gbar-key:active {
  transform: translateY(3px);
  box-shadow: 0 0 0 var(--red), 0 3px 10px rgba(0, 0, 0, 0.5);
}

.gbar-index-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
  padding: 4px 0;
}

.gbar-index-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--red-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out);
}

.gbar-index-link:hover::after {
  transform: scaleX(1);
}

.gbar-index-link .gbar-arrow {
  color: var(--red-bright);
  transition: transform 0.25s ease;
}

.gbar-index-link:hover .gbar-arrow {
  transform: translate(2px, -2px);
}

.blink-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blink-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red-bright);
  animation: dotBlink 1.8s infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

@media (max-width: 960px) {
  .gbar-left,
  .gbar-right,
  .gbar-hint {
    display: none;
  }
  .gorilla-bar {
    justify-content: center;
  }
}

/* ==========================================================================
   MONS TACTICAL HUD, TOPOGRAPHIC CONTOURS & UNMASK TRAIL STAGE
   ========================================================================== */
.topo-bg {
  position: relative;
  overflow: hidden;
}

.topo-bg::before {
  content: '';
  position: absolute;
  inset: -24px;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' fill='none'%3E%3Cg stroke='%23ffffff' stroke-width='0.9' stroke-opacity='0.35'%3E%3Cpath d='M-40 90 Q 120 20 260 110 T 560 80 T 860 120'/%3E%3Cpath d='M-40 140 Q 140 60 280 155 T 580 130 T 860 175'/%3E%3Cpath d='M-40 200 Q 160 120 310 210 T 620 190 T 860 230'/%3E%3Cpath d='M-40 310 Q 150 250 300 330 T 610 315 T 860 360'/%3E%3Cpath d='M-40 380 Q 170 320 330 400 T 630 390 T 860 440'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  mask-image: radial-gradient(ellipse 56% 62% at 50% 50%, transparent 25%, #000 85%);
  -webkit-mask-image: radial-gradient(ellipse 56% 62% at 50% 50%, transparent 25%, #000 85%);
}

.chamfer-card {
  position: relative;
  background: rgba(18, 18, 22, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 24px;
}

.mons-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.hatch-rail {
  width: 10px;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.85) 0 2px, transparent 2px 5px);
  flex-shrink: 0;
}

.unmask-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: #0a0a0c;
  cursor: crosshair;
  touch-action: none;
}

.unmask-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.unmask-hud-tl {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.unmask-hud-bl {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: stretch;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(14, 14, 17, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ==========================================================================
   MK CONSULTING PENDULUM MAGNET CREST + GRAFFITI SVG ARC
   ========================================================================== */
.pendulum-ring {
  transform-origin: 50% 33%;
  will-change: transform;
}

.graffiti-arc-text {
  font-family: var(--font-graffiti);
  font-size: 28px;
  letter-spacing: 0.08em;
  fill: url(#crimsonGraffitiGrad);
  filter: drop-shadow(0 0 14px rgba(225, 29, 46, 0.65));
}

/* ==========================================================================
   NOVU DRIFTING & DRAGGABLE HORIZONTAL GALLERY
   ========================================================================== */
.drift-section {
  position: relative;
  z-index: 24;
  background: #0b0b0d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(64px, 8vw, 104px) 0 56px;
}

.drift-track {
  display: flex;
  gap: 18px;
  padding: 26px var(--pad) 8px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.drift-track::-webkit-scrollbar {
  display: none;
}

.drift-track.is-dragging {
  cursor: grabbing;
}

.drift-card {
  position: relative;
  width: clamp(235px, 22vw, 310px);
  aspect-ratio: 1.15;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.drift-card video,
.drift-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.82) contrast(1.06);
  transition: filter 0.7s var(--ease-out), transform 0.9s var(--ease-out);
}

.drift-card:hover video,
.drift-card:hover img {
  filter: grayscale(0) contrast(1.04);
  transform: scale(1.07);
}

.drift-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.88) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  transform: translateY(14px);
  opacity: 0.78;
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease;
}

.drift-card:hover .drift-caption {
  transform: translateY(0);
  opacity: 1;
}

.drift-progress-wrap {
  margin: 26px var(--pad) 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.drift-progress-fill {
  height: 100%;
  width: 20%;
  background: var(--red-bright);
  transition: width 0.12s linear;
}

/* ==========================================================================
   3-COLUMN INTERACTIVE STUDIO FOOTER (Prompt 4 adapted to Red/Black/White)
   ========================================================================== */
.studio-footer {
  position: relative;
  z-index: 26;
  min-height: 76svh;
  isolation: isolate;
  overflow: hidden;
  background: #060607;
  border-top: 1px solid rgba(225, 29, 46, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(56px, 7vw, 96px) var(--pad) 34px;
}

.studio-footer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.studio-footer-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: contrast(1.12) saturate(0.75);
}

.studio-footer-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 48%, rgba(225, 29, 46, 0.16) 0%, rgba(6, 6, 7, 0.78) 72%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.88) 0%, rgba(6, 6, 7, 0.45) 45%, rgba(6, 6, 7, 0.92) 100%);
}

.sf-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(28px, 4vw, 60px);
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}

.sf-right {
  justify-self: end;
  text-align: left;
}

.sf-center {
  text-align: center;
  padding-top: 12px;
}

.sf-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  font-size: 12.5px;
  color: var(--white);
}

.sf-tag-red {
  background: rgba(225, 29, 46, 0.22);
  border-color: rgba(225, 29, 46, 0.65);
}

.sf-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.15;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.sf-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--silver);
}

.sf-nav a {
  transition: color 0.2s ease, transform 0.25s ease;
}

.sf-nav a:hover {
  color: var(--red-bright);
  transform: translateX(4px);
}

.sf-brand-mark svg {
  width: clamp(200px, 19vw, 270px);
  height: auto;
  color: var(--white);
}

.sf-scrub-hint {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}

.sf-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--silver);
  max-width: 34ch;
}

.sf-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.sf-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 10, 0.65);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.sf-socials a:hover {
  background: var(--red);
  border-color: var(--red-bright);
  transform: translateY(-2px);
}

.sf-socials svg {
  width: 18px;
  height: 18px;
}

.sf-legal {
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 1320px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.sf-legal a:hover {
  color: var(--red-bright);
}

.sf-spacer {
  flex: 1;
}

@media (max-width: 700px) {
  .studio-footer {
    min-height: auto;
    padding-bottom: 0;
  }
  .sf-grid {
    grid-template-columns: 1fr;
  }
  .sf-center {
    order: -1;
    text-align: left;
  }
  .sf-right {
    justify-self: start;
  }
  .sf-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .studio-footer-bg {
    position: relative;
    order: 4;
    width: calc(100% + var(--pad) * 2);
    margin: 28px calc(var(--pad) * -1) 0;
    aspect-ratio: 4 / 3;
  }
  .studio-footer-bg video {
    opacity: 0.85;
  }
  .sf-legal {
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   DEDICATED SUB-PAGE HEROES & CONTENT SYSTEMS (Cases, Videos, Designs, Blog)
   ========================================================================== */
.subpage-hero {
  position: relative;
  padding: clamp(118px, 14vw, 160px) var(--pad) clamp(54px, 7vw, 84px);
  background: radial-gradient(70% 80% at 80% 15%, rgba(225, 29, 46, 0.18) 0%, transparent 60%), #08080a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.subpage-hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: end;
  gap: 32px;
}

@media (max-width: 900px) {
  .subpage-hero-grid {
    grid-template-columns: 1fr;
  }
}

.subpage-title {
  font-family: var(--font-anton);
  font-weight: 400;
  font-size: clamp(46px, 8.2vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

.subpage-title span {
  color: var(--red-bright);
}

/* Prompt Copy Cards (Blog & Prompt Lab) */
.prompt-code-box {
  border-radius: 14px;
  border: 1px solid rgba(225, 29, 46, 0.42);
  background: #060608;
  overflow: hidden;
}

.prompt-code-head {
  padding: 10px 14px;
  background: rgba(225, 29, 46, 0.14);
  border-bottom: 1px solid rgba(225, 29, 46, 0.28);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

.copy-prompt-btn {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.2s ease;
}

.copy-prompt-btn:hover {
  background: var(--red-bright);
}

.prompt-code-box pre {
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  color: #e4e4e7;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Video Theater Featured Stage on videos.html */
.theater-stage {
  max-width: 1240px;
  margin: 0 auto 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: #0c0c0f;
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
}

@media (max-width: 960px) {
  .theater-stage {
    grid-template-columns: 1fr;
  }
}

.theater-player-wrap {
  background: #000;
  aspect-ratio: 16 / 9;
  position: relative;
}

.theater-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.theater-meta-pane {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}


/* ==========================================================================
   PERFORMANCE LAYER — 60FPS GPU COMPOSITING, CONTENT-VISIBILITY & LAZY VIDEO
   ========================================================================== */
.marquee-section,
.about-section,
.services-section,
.catalog-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

/* Featherweight CSS-only cinema poster fallback (0 bytes MP4 until hovered!) */
.lazy-media-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 75% 25%, rgba(225, 29, 46, 0.24) 0%, transparent 65%),
    linear-gradient(145deg, #131317 0%, #09090b 100%);
}

.lazy-media-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.lazy-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.lazy-placeholder-mark {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  padding: 16px;
  text-align: center;
}

.lazy-play-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(225, 29, 46, 0.22);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 14px;
  transition: transform 0.28s var(--ease-out), background 0.25s ease, border-color 0.25s ease;
}

.work-card:hover .lazy-play-ring,
.marquee-tile:hover .lazy-play-ring,
.drift-card:hover .lazy-play-ring,
.stack-media-box:hover .lazy-play-ring {
  transform: scale(1.12);
  background: var(--red-bright);
  border-color: var(--white);
}

.lazy-placeholder-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.lazy-hover-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.lazy-hover-video.is-ready {
  opacity: 1;
}

/* Pure GPU CSS drifting strip (zero 60fps scrollLeft layout thrashing!) */
.drift-track-gpu-wrap {
  overflow: hidden;
  width: 100%;
  padding: 24px 0 8px;
}

.drift-track-gpu {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: gorillaDriftGPU 46s linear infinite;
  will-change: transform;
}

.drift-track-gpu-wrap:hover .drift-track-gpu {
  animation-play-state: paused;
}

@keyframes gorillaDriftGPU {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .drift-track-gpu {
    animation: none;
  }
}

/* Remove heavy backdrop-filter from high-frequency elements */
.gbar-pill,
.gbar-icon-btn,
.lb-arrow,
.lb-pill-btn,
.copy-email-pill,
.work-play-badge,
.chamfer-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: rgba(14, 14, 17, 0.9);
}
