/* ============================================================
   DESGRO MEDIA — style.css
   ============================================================ */

/* ── Local Font Faces ── */

/* Anton — heavy condensed display headings */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url('fonts/Anton-Regular.woff2') format('woff2');
}

/* DM Sans — body, nav, labels, services */
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:300; font-display:swap; src:url('fonts/DMSans-300.ttf') format('truetype'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/DMSans-400.ttf') format('truetype'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/DMSans-500.ttf') format('truetype'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/DMSans-600.ttf') format('truetype'); }
@font-face { font-family:'DM Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/DMSans-700.ttf') format('truetype'); }
@font-face { font-family:'DM Sans'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/DMSans-Italic-400.ttf') format('truetype'); }

/* ── Reset & Base ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --red:   #eb2027;
  --black: #000000;
  --white: #ffffff;
  --grey:  #888888;
  --nav-h: 60px;
  --font-display: 'Anton', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

/* Remove 300ms tap delay on all interactive elements */
a, button, [role="button"], input, textarea, select,
.service-item, .sd-svc-item, .pers-card, .works-card,
.works-card-link, .nav-hamburger, .mobile-nav-close {
  touch-action: manipulation;
}

/* Minimum touch target size (44px) for small interactive elements */
.nav-hamburger { min-width: 44px; min-height: 44px; align-items: center; }
.mobile-nav-close { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.service-item, .sd-svc-item { min-height: 48px; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--nav-h);
  background: rgba(0,0,0,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-logo { display: flex; align-items: center; }

.logo-mark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  position: relative;
  padding-left: 4px;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.nav-active { color: var(--white); }

.nav-links a.nav-active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--red);
}

.nav-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a9c4f;
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  text-decoration: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-circle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}


.btn-get-started {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-get-started:hover {
  background: #c0181e;
  transform: translateY(-1px);
}

/* ── Hamburger Button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.25s, background 0.25s;
  -webkit-tap-highlight-color: transparent;
}
/* hover only on real pointer devices */
@media (hover: hover) {
  .nav-hamburger:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
  }
}
.nav-hamburger:active {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}
.nav-hamburger span:nth-child(1) { width: 20px; }
.nav-hamburger span:nth-child(2) { width: 15px; }
.nav-hamburger span:nth-child(3) { width: 10px; }

.nav-hamburger.active { border-color: var(--red); background: rgba(235,32,39,0.08); }
.nav-hamburger.active span:nth-child(1) { width: 18px; transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { width: 18px; transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav Overlay — z-index ABOVE navbar (1000) ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0,0,0,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav ul a {
  font-family: var(--font-display);
  font-size: clamp(32px, 10vw, 44px);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .mobile-nav ul a:hover { color: var(--red); }
}
.mobile-nav ul a:active { color: var(--red); }

/* ── Close button ── */
.mobile-nav-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, border-color 0.2s;
}
/* X drawn with pseudo-elements, explicitly centred */
.mobile-nav-close::before,
.mobile-nav-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
}
.mobile-nav-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-nav-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav-close:active {
  background: rgba(235,32,39,0.18);
  border-color: var(--red);
}
@media (hover: hover) {
  .mobile-nav-close:hover {
    background: rgba(235,32,39,0.12);
    border-color: var(--red);
  }
}

.mobile-nav-cta {
  font-size: 13px !important;
  padding: 14px 32px !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari: track the dynamic viewport so the hero isn't cut off by the toolbar */
  padding-top: var(--nav-h);
  background: #000000;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Hero Intro Wrap ── */
.hero-intro-wrap {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

/* ── 3D Glass Asterisks — WebGL canvases (Three.js) ── */
.ast-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
  /* Dark shadow — gives depth and separation from red background */
  filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.75))
          drop-shadow(0 0 56px rgba(0, 0, 0, 0.40));
}

.ast-canvas.ast-back  { z-index: 3; }   /* behind title (z-index 10) */
.ast-canvas.ast-front { z-index: 15; }  /* in front of title */
.ast-canvas.ast-visible { opacity: 1; }

.hero-top-labels { display: none; }

.hero-label-left,
.hero-label-right {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

/* ── Giant Title ── */
.hero-title-block {
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.hero-title-desgro {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(90px, 20vw, 290px);
  line-height: 1;
  color: var(--white);
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow:
    0 4px 0   rgba(0,0,0,0.20),
    0 8px 0   rgba(0,0,0,0.10),
    0 12px 32px rgba(0,0,0,0.35),
    0 24px 64px rgba(0,0,0,0.18);
}

.hero-subtitle-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-title-media {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(55px, 11.2vw, 160px);
  line-height: 1;
  color: var(--red);
  letter-spacing: -1px;
  text-transform: uppercase;
  text-shadow:
    0 2px 0   rgba(0,0,0,0.18),
    0 6px 24px rgba(0,0,0,0.28),
    0 16px 48px rgba(0,0,0,0.14);
}

.hero-tagline {
  text-align: right;
  padding-bottom: 10px;
  padding-right: 8px;
}

.hero-tagline p {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(0,0,0,0.50);
  line-height: 2.1;
  text-transform: uppercase;
}

/* ── Video Section — hidden per design decision ── */
.video-section {
  display: none;
  width: 100%;
  position: relative;
  margin-top: 0;
  background: linear-gradient(to bottom, #5a0006 0%, #000 80px);
}

.video-label {
  position: absolute;
  top: 16px;
  left: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

.video-line {
  width: 26px;
  height: 2px;
  background: rgba(255,255,255,0.45);
}

.video-play-text {
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 10;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

.video-wrapper {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #060614;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.video-wrapper:hover video { transform: scale(1.015); }

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.3s;
}

.video-overlay:hover {
  background: rgba(0,0,0,0.22);
}

.play-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 72px;
  height: 72px;
  padding: 0;
  transition: transform 0.2s, opacity 0.3s;
}

.play-btn:hover { transform: scale(1.15); }
.play-btn svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 16px rgba(235,32,39,0.55)); }
.video-overlay.playing .play-btn { opacity: 0; }

/* ── Bottom Row (About + Services) ── */
.hero-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--red);
  padding: 44px 48px 52px;
  align-items: start;
}

.about-text { max-width: 380px; }

.hero-bottom-row--full {
  grid-template-columns: 1fr;
  justify-items: center;
}

.hero-bottom-row--full .about-text {
  max-width: 640px;
  text-align: center;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 2.0;
  color: rgba(255,255,255,0.80);
}

.about-highlight { color: #ffffff; font-weight: 700; }

.services-list {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 15px 0;
  cursor: pointer;
  transition: background 0.15s;
}

.service-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.service-item:hover { background: rgba(235,32,39,0.03); padding-left: 6px; transition: padding 0.2s; }

.service-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.28);
  min-width: 22px;
}

.service-name {
  flex: 1;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(0,0,0,0.72);
  text-transform: uppercase;
}

.service-arrow {
  font-size: 16px;
  color: rgba(0,0,0,0.35);
  transition: transform 0.2s, color 0.2s;
}

.service-item:hover .service-arrow {
  transform: translateX(5px);
  color: var(--red);
}

/* ============================================================
   PERSONALITIES SECTION
   ============================================================ */
.pers-section {
  background: #0a0a0a;
  padding: 100px 0 120px;
  border-top: 1px solid rgba(255,255,255,0.06);
  contain: layout style;
}

.pers-header {
  padding: 0 48px;
  margin-bottom: 72px;
}

.pers-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pers-eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.pers-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 9vw, 130px);
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* ── Video reel row (marquee container) ── */
.pers-reel-row {
  display: flex;
  overflow: hidden;
  position: relative;
  /* extra top padding so --up cards (-40px margin) aren't clipped */
  padding: 60px 0 24px;
}

/* left/right fade edges */
.pers-reel-row::before,
.pers-reel-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.pers-reel-row::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a 20%, transparent);
}
.pers-reel-row::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a 20%, transparent);
}

/* ── Marquee track ── */
.pers-reel-track {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  align-items: flex-start;
  padding-right: 20px;
  animation: pers-marquee 36s linear infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0); /* force GPU layer on Safari */
}

/* pause on hover anywhere in the row */
.pers-reel-row:hover .pers-reel-track {
  animation-play-state: paused;
}

@keyframes pers-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
  /* -100% = exactly this track's own width (incl. padding-right),
     so the cloned track starts exactly where this one began → seamless */
}

.pers-card {
  flex: 0 0 260px;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #111;
  cursor: pointer;
  text-decoration: none;
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg) translateZ(0px);
  transition: transform 0.65s cubic-bezier(0.23,1,0.32,1),
              box-shadow 0.65s ease;
  will-change: transform;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.pers-card--up { margin-top: -40px; }

.pers-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #0a0a0a;
}

/* holographic shine */
.pers-shine {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%,
    rgba(255,255,255,0.18) 0%,
    transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.pers-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6) 0%,
    transparent 55%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.pers-card:hover .pers-card-overlay {
  background: rgba(0,0,0,0.45);
}

.pers-ig-icon {
  color: #fff;
  width: 40px;
  height: 40px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.pers-ig-icon svg { width: 100%; height: 100%; }

.pers-card:hover .pers-ig-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Instagram CTA ── */
.pers-ig-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
  padding: 0 48px;
}

.pers-ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.pers-ig-btn svg { width: 18px; height: 18px; }

.pers-ig-btn:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(235,32,39,0.08);
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .pers-section { padding: 80px 0 100px; }
  .pers-header { padding: 0 36px; }
  .pers-reel-row { padding: 48px 0 20px; }
  .pers-card { flex: 0 0 220px; }
  .pers-card--up { margin-top: -30px; }
  .pers-reel-track { animation-duration: 32s; }
}

/* Small tablet */
@media (max-width: 768px) {
  .pers-section { padding: 60px 0 72px; }
  .pers-header { padding: 0 24px; margin-bottom: 44px; }
  .pers-title { font-size: clamp(40px, 10vw, 72px); }

  .pers-reel-row { padding: 40px 0 20px; }
  .pers-reel-track { gap: 14px; padding-right: 14px; animation-duration: 28s; }

  .pers-card {
    flex: 0 0 56vw;
    max-width: 240px;
    border-radius: 14px;
  }

  .pers-card--up { margin-top: -24px; }

  .pers-ig-cta { margin-top: 36px; }
  .pers-ig-btn { font-size: 10px; padding: 12px 24px; letter-spacing: 2px; }
}

/* Mobile */
@media (max-width: 480px) {
  .pers-section { padding: 48px 0 60px; }
  .pers-header { padding: 0 20px; margin-bottom: 32px; }

  .pers-reel-row { padding: 32px 0 16px; }
  .pers-reel-track { gap: 12px; padding-right: 12px; animation-duration: 24s; }

  .pers-card {
    flex: 0 0 70vw;
    max-width: 210px;
    border-radius: 12px;
  }

  .pers-card--up { margin-top: -16px; }

  .pers-ig-cta { margin-top: 28px; }
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--black);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

/* ── Team Header ── */
.team-header {
  padding: 64px 0 56px 48px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.team-header-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding-right: 48px;
  z-index: 1;
}

.team-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-red-line {
  width: 24px;
  height: 2px;
  background: var(--red);
}

.team-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 8.5vw, 112px);
  line-height: 0.92;
  color: var(--white);
  letter-spacing: -1px;
  text-transform: uppercase;
}

.team-descriptors {
  margin-top: 24px;
  text-align: left;
}

.team-descriptors p {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.42);
  line-height: 2.2;
  text-transform: uppercase;
}

/* ============================================================
   3D ROTATING RING
   ============================================================ */
.ring-viewport {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  touch-action: pan-y;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  perspective: 1400px;
  perspective-origin: 50% 44%;
  overflow: visible;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.ring-viewport:active { cursor: grabbing; }

.ring-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  margin-top: 20px;
}

.ring-track {
  position: relative;
  width: 210px;
  height: 280px;
  transform-style: preserve-3d;
  transform: rotateX(-14deg) rotateZ(-18deg) rotateY(0deg);
  transition: none;
  will-change: transform;
}

/* ── Cards ── */
.team-card {
  position: absolute;
  width: 175px;
  height: 230px;
  left: 50%;
  top: 50%;
  margin-left: -87px;
  margin-top: -115px;
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
}

.card-inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(235,32,39,0.6);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.8), 0 0 24px rgba(235,32,39,0.18);
  transition: box-shadow 0.5s ease, filter 0.5s ease, border-color 0.5s ease;
  will-change: transform, filter;
  transform-origin: center center;
  position: relative;   /* for card-story positioning */
}

/* ── Cinematic card hover — red outline brightens and glows harder ── */
.card-hovered .card-inner {
  border-color: var(--red);
  box-shadow:
    0 45px 120px rgba(0,0,0,0.92),
    0 0 0 1px rgba(235,32,39,0.7),
    0 0 65px rgba(235,32,39,0.4);
  filter: brightness(1.1) contrast(1.04) saturate(1.1);
}

/* Dim non-hovered cards deeply */
.ring-track:has(.card-hovered) .team-card:not(.card-hovered) .card-inner {
  filter: brightness(0.4) saturate(0.4);
  transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.25,1,0.5,1), box-shadow 0.5s ease;
}

/* ── Story overlay (role + name) ── */
.card-story {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 14px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.6) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform: translateY(0);      /* always visible — name + role shown full time */
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1),
              opacity  0.35s ease;
  opacity: 1;
  pointer-events: none;
}

/* Hovered card: lift the label slightly and deepen the scrim so the
   focused member's name reads a touch stronger than the rest */
.card-hovered .card-story {
  transform: translateY(0);
  opacity: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.68) 55%,
    transparent 100%
  );
}

/* Touch devices can't hover — keep name/role permanently visible,
   but compact and fixed-height so no title/name length can eat the photo */
@media (hover: none) {
  .card-story {
    transform: translateY(0);
    opacity: 1;
    padding: 10px 10px 8px;
    gap: 2px;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.55) 65%,
      transparent 100%
    );
  }

  .card-story-role {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .card-story-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

.card-story-role {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.card-story-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* ── Hint text ── */
.ring-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Team Footer ── */
.team-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px 40px;
}

.team-count {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  color: rgba(255,255,255,0.10);
  letter-spacing: -1px;
}

.team-back {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

.team-back:hover { color: var(--white); }

/* ============================================================
   OUR WORKS SECTION
   ============================================================ */
.works-section {
  background: #050505;
  padding: 100px 48px 120px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.news-section {
  background: #050505;
  padding: 80px 48px 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.works-header { margin-bottom: 64px; }

.works-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.50);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.works-eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.works-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 130px);
  line-height: 1.05;
  padding-top: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -2px;
}

.works-title-red { color: var(--red); }

/* 3-column grid; cards are individually rounded and elevated */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* The mobile carousel wraps cards in .works-track and appends clones —
   on desktop that must stay invisible to layout so CSS Grid still sees
   the 6 real cards as direct items, not one wrapper occupying column 1. */
.works-track { display: contents; }
.works-card[aria-hidden="true"] { display: none; }

.works-card {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.3s ease;
}

.works-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.07);
  transition: background 0.3s ease;
  z-index: 2;
}

@media (hover: hover) {
  .works-card:hover { background: #111; }
  .works-card:hover::before { background: var(--red); }
}

/* Grid cards (Fumme/AR Foods/Matrix/Kerala Taste/HU/Susi) get the rounded, elevated card treatment */
.works-grid .works-card {
  background: #101010;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.7);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, box-shadow 0.35s ease, background 0.3s ease;
}

.works-grid .works-card::before { content: none; }

@media (hover: hover) {
  .works-grid .works-card:hover {
    background: #141414;
    border-color: rgba(235,32,39,0.45);
    transform: translateY(-6px);
    box-shadow: 0 32px 60px -24px rgba(0,0,0,0.8);
  }
}

/* Coloured visual band — unique gradient per card */
.works-card-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
}

.works-cv--1 { background: linear-gradient(135deg, #1c0002 0%, #7a0008 55%, #eb2027 100%); }
.works-cv--2 { background: linear-gradient(135deg, #000414 0%, #0d1a5e 50%, #eb2027 100%); }
.works-cv--3 { background: linear-gradient(135deg, #001208 0%, #04421a 45%, #eb2027 100%); }
.works-cv--4 { background: linear-gradient(135deg, #0d0d0d 0%, #2e2e2e 55%, #eb2027 100%); }
.works-cv--5 { background: linear-gradient(135deg, #0a0018 0%, #2a1060 50%, #eb2027 100%); }
.works-cv--6 { background: linear-gradient(135deg, #1a0800 0%, #5c2200 45%, #eb2027 100%); }
.works-cv--7 { background: linear-gradient(135deg, #08000f 0%, #3b0551 40%, #8c0f24 75%, #eb2027 100%); }

/* Shine overlay on the visual */
.works-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
}

.works-card-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.works-card-cat {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.works-card-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 12px;
}

.works-card-desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  flex: 1;
}

.works-card-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ── Grid card layout: avatar/name header, pill tags, footer CTA ── */
.wc-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.wc-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-client-name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.85);
}

.wc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.wc-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 5px 12px;
  border-radius: 20px;
}

.wc-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.works-grid .wc-card-footer .works-card-desc {
  font-size: 11.5px;
  line-height: 1.7;
  flex: 1;
}

.works-grid .wc-card-footer .works-card-link {
  flex-shrink: 0;
  margin-top: 0;
  background: var(--red);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 1.5px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.works-grid .works-card:hover .wc-card-footer .works-card-link {
  background: #ff3038;
  transform: translateX(2px);
}

/* Henna Instagram link style */
.works-card-link--ig {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: inline-block;
}
.works-card:hover .works-card-link--ig { color: var(--white); }

/* ── FEATURED CARD (Henna) ── */
.works-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  background: #0d0d0d;
  overflow: hidden;
  min-height: 360px;
}

/* LEFT: two equal image frames */
.works-cv7-visual {
  flex: 0 0 50%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.works-cv7-panel {
  position: relative;
  overflow: hidden;
}
.works-cv7-panel--poster {
  border-right: 1px solid rgba(255,255,255,0.06);
}

/* Both images: same frame, cover-filled, position tuned */
.works-cv7-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.works-cv7-panel--poster img  { object-position: center top; }
.works-cv7-panel--stage img   { object-position: center 30%; }
.works-card--featured:hover .works-cv7-panel img { transform: scale(1.05); }

/* RIGHT: all text content */
.works-cv7-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 36px 44px;
}

.works-cv7-content .works-card-desc {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  line-height: 1.9;
  max-width: 520px;
}

/* TEDx badge */
.works-cv7-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 4px;
}

/* Mini-stats */
.works-card-stats {
  display: flex;
  gap: 28px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.wcs-item { display: flex; flex-direction: column; gap: 3px; }

.wcs-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.wcs-lbl {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}

/* ── Responsive ── */
/* Works + Henna card responsive rules consolidated in main breakpoints below */
@media (max-width: 900px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  /* Auto-drifting belt instead of a cramped 3-column grid — cards glide
     left forever, the one nearest centre lit up at full size. */
  .works-grid {
    overflow: hidden;
    padding: 4px 0 10px;
  }

  .works-track {
    display: flex;
    gap: 14px;
    width: max-content;
  }

  .works-card[aria-hidden="true"] { display: flex; }

  .works-grid .works-card {
    flex: 0 0 68vw;
    border-radius: 14px;
    opacity: 0.4;
    transform: scale(0.9);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .works-grid .works-card.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .works-card-body { padding: 14px 14px 16px; }
  .wc-card-header { margin-bottom: 10px; }
  .works-card-name { font-size: 15px; line-height: 1.25; margin-bottom: 0; }
  .works-card-cat { display: none; }
  .works-card-desc { display: none; }
  .works-card-link { display: none; }
  .works-card-stats { display: none; }
  .wc-tags { display: none; }
  .wc-card-footer { display: none; }
}

/* ── NEWS SLIDER ── */
.news-slider {
  position: relative;
  overflow: hidden;
}

.news-slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}

.news-slide {
  flex: 0 0 100%;
  width: 100%;
}

.news-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.news-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.22s, color 0.22s, background 0.22s;
  line-height: 1;
}
.news-nav-btn:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(235,32,39,0.08);
}

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

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.news-dot--active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

/* ── D FEST: 3-panel image grid ── */
.works-cv7-visual--triple {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.works-cv7-panel--dfest-main {
  grid-row: 1 / 3;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.works-cv7-panel--dfest-main img { object-position: center center; }

.works-cv7-panel--dfest-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.works-cv7-panel--dfest-bottom img { object-position: center top; }

/* Top-right dfest panel: keep banner text visible */
.works-cv7-visual--triple .works-cv7-panel:nth-child(2) img { object-position: center center; }

/* ── FUMME CARD — image slider in grid ── */
.wc-imgslider {
  position: relative;
  overflow: hidden;
}
.wc-imgslider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}
.wc-imgslider-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.wc-imgslider-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
  pointer-events: none;
}
.wc-imgslider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.38);
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.wc-imgslider-dot--active {
  background: #fff;
  width: 14px;
  border-radius: 3px;
}

/* Real-work label on card — sits top-right of the avatar/name header row */
.wc-real-badge {
  display: inline-block;
  margin-left: auto;
  flex-shrink: 0;
  background: rgba(235,32,39,0.12);
  color: var(--red);
  border: 1px solid rgba(235,32,39,0.4);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── FUMME MODAL ── */
.wc-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wc-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.wc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.wc-modal-inner {
  position: relative;
  background: #0d0d0d;
  border: 1px solid rgba(255,255,255,0.08);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(28px) scale(0.98);
  transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
}
.wc-modal.is-open .wc-modal-inner {
  transform: translateY(0) scale(1);
}
.wc-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: border-color 0.2s, color 0.2s;
}
.wc-modal-close:hover { border-color: var(--red); color: var(--white); }

.wc-modal-gallery {
  position: relative;
  overflow: hidden;
  background: #000;
  max-height: 60vh;
  display: flex;
  flex-direction: column;
}
.wc-modal-gallery-track {
  display: flex;
  flex: 1;
  min-height: 280px;
  max-height: 60vh;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
  background: #000;
}
.wc-modal-gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #000;
}
.wc-modal-gallery-nav {
  position: absolute;
  bottom: 14px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}
.wc-modal-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.32);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
}
.wc-modal-dot--active {
  background: var(--white);
  width: 20px;
  border-radius: 3px;
}

.wc-modal-content {
  padding: 32px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wc-modal-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 4px;
}
.wc-modal-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--white);
  text-transform: uppercase;
}
.wc-modal-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.62);
  max-width: 580px;
}
.wc-modal-content .works-card-stats { margin-top: 8px; }
.wc-modal-content .works-card-link  { margin-top: 16px; }

@media (max-width: 600px) {
  .wc-modal-content { padding: 22px 20px 28px; }
  .wc-modal-desc    { font-size: 13px; }
}

/* Gold badge variant for events */
.works-cv7-badge--gold {
  background: #b8860b;
}

/* Blue badge variant for tech/AI */
.works-cv7-badge--blue {
  background: #1a56db;
}

/* Single-image visual (full left panel) */
.works-cv7-visual--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.works-cv7-visual--single .works-cv7-panel {
  height: 100%;
}
.works-cv7-visual--single .works-cv7-panel img {
  object-position: center center;
}

/* ============================================================
   TOP CLIENTS SECTION
   ============================================================ */
.tc-section {
  background: #040404;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.tc-header {
  text-align: center;
  padding: 0 48px;
  margin-bottom: 16px;
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16,1,0.3,1);
}

.js-ready .tc-header { opacity: 0; transform: translateY(28px); }
.tc-header.anim-in   { opacity: 1 !important; transform: translateY(0) !important; }

.tc-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}

.tc-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0;
}

.tc-red { color: var(--red); }

/* ── Horizontal marquee — CSS wrapper approach ──
   .tc-reel (wrapper) contains two identical .tc-reel-track elements.
   The wrapper animates to -50% of ITS OWN width, which is always
   exactly one track's width regardless of image load timing or
   browser rounding. Seamless by construction. */
.tc-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 32px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.tc-reel {
  display: flex;
  width: max-content; /* = 2 × track_width, so -50% = exactly one track */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: tcLoop 28s linear infinite;
}

.tc-marquee:hover .tc-reel { animation-play-state: paused; }

@keyframes tcLoop {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.tc-reel-track {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding-right: 14px; /* gap at track junction matches inter-card gap */
}

.tc-logo-card {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.55);
}

.tc-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* ============================================================
   CAREERS SECTION
   ============================================================ */
.careers-section {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 100px 48px 110px;
}

.careers-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.careers-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 24px;
}
.careers-title-red { color: var(--red); }

.careers-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
}

.careers-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
}

.careers-perk {
  background: #0a0a0a;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s;
}
.careers-perk:hover { background: #111; }

.careers-perk-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
}

.careers-perk-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--white);
  text-transform: uppercase;
}

.careers-perk-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.careers-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.careers-cta-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  flex: 1;
}

.careers-btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.careers-btn:hover {
  background: var(--red);
  color: var(--white);
}

@media (max-width: 900px) {
  .careers-section { padding: 72px 32px 80px; }
  .careers-perks   { grid-template-columns: 1fr; }
  .careers-cta     { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 768px) {
  .careers-section { padding: 60px 20px 64px; }
  .nav-circle-btn  { display: none; }
}

/* ============================================================
   CONTACT SECTION — editorial redesign
   ============================================================ */
.contact-section {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 64px 52px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Ghost background text — large decorative word, very faint */
.contact-section::before {
  content: 'CONTACT';
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 360px);
  font-weight: 400;
  letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  position: absolute;
  top: 24px;
  right: -20px;
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  z-index: 0;
}

.contact-section::after { display: none; }

.contact-section > * { position: relative; z-index: 1; }

/* ── Hero headline ── */
.ct-hero {
  padding-bottom: 64px;
}

/* ct-hero is NOT in the .sr system — text must always be visible.
   A JS IntersectionObserver adds .ct-played when it enters view,
   triggering CSS keyframe animations without any hidden initial state. */

.ct-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(235,32,39,0.25);
  display: inline-block;
}

.ct-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(68px, 12vw, 190px);
  line-height: 0.92;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin: 0;
}

.ct-lw {
  display: block;
  overflow: visible;
}

.ct-line {
  display: block;
  color: var(--white);
}

.ct-line--stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.ct-line--accent { color: var(--red); }

/* Keyframe animations — only play when .ct-played is added by JS observer */
#ctHero.ct-played .ct-eyebrow {
  animation: ct-fade-up 0.55s ease both;
}
#ctHero.ct-played .ct-lw:nth-child(1) .ct-line {
  animation: ct-line-in 0.95s cubic-bezier(0.16,1,0.3,1) 0.08s both;
}
#ctHero.ct-played .ct-lw:nth-child(2) .ct-line {
  animation: ct-line-in 0.95s cubic-bezier(0.16,1,0.3,1) 0.22s both;
}
#ctHero.ct-played .ct-lw:nth-child(3) .ct-line {
  animation: ct-line-in 0.95s cubic-bezier(0.16,1,0.3,1) 0.36s both;
}

@keyframes ct-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ct-line-in {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Marquee ticker ── */
.ct-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 88px;
}

.ct-ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 17px 0;
  gap: 0 52px;
  animation: ct-scroll 30s linear infinite;
  width: max-content;
}

.ct-ticker-track > span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.ct-tick-sep { color: var(--red) !important; font-size: 8px !important; }

@keyframes ct-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Body: headline + socials side-by-side ── */
.ct-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  align-items: center;
  margin-bottom: 80px;
}

/* ── Left: headline ── */
.ct-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ct-wa-block {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 36px 28px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.ct-wa-block:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.20);
  transform: translateY(-4px);
}

.ct-wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ct-wa-svg {
  width: 19px;
  height: 19px;
  color: var(--white);
  flex-shrink: 0;
}

.ct-wa-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}

.ct-wa-num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 52px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.ct-wa-cta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
}

.ct-info-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* Email row */
.ct-email-block {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ct-email-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.38);
}

.ct-email-detail { display: flex; flex-direction: column; gap: 3px; }

.ct-email-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.ct-email-addr {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.ct-email-block:hover .ct-email-addr { color: var(--white); }

/* Trust badge under form */
.ct-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ct-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.ct-trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.ct-address-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ct-addr-icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(255,255,255,0.38);
}

.ct-addr-city {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.ct-addr-detail {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  line-height: 1.9;
}

/* ── Right: social links ── */
.ct-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.ct-get-started-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 22px 36px;
  border-radius: 100px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ct-get-started-btn:hover {
  background: #c0181e;
  transform: translateY(-2px);
}

.ct-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ct-social-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border: 1px solid rgba(235,32,39,0.35);
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.ct-social-row:hover {
  background: rgba(235,32,39,0.08);
  border-color: var(--red);
}

.ct-social-row--static:hover { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .ct-social-row:not(.ct-social-row--static):hover { transform: translateX(4px); }
}

.ct-social-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--red);
}

.ct-social-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.ct-social-platform {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
}

.ct-social-handle {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
}

.ct-social-arrow {
  font-size: 20px;
  color: rgba(235,32,39,0.6);
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ct-social-row:hover .ct-social-arrow { color: var(--red); }
@media (hover: hover) and (pointer: fine) {
  .ct-social-row:hover .ct-social-arrow { transform: translateX(4px); }
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Floating-label underline fields */
.ct-field {
  position: relative;
  padding-top: 22px;
  margin-bottom: 10px;
}

.ct-field input,
.ct-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  padding: 12px 0;
  outline: none;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-bottom-color 0.3s ease;
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-bottom-color: rgba(255,255,255,0.4);
}

.ct-field label {
  position: absolute;
  left: 0;
  top: 36px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.32);
  pointer-events: none;
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), color 0.28s ease;
}

.ct-field input:focus + label,
.ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label,
.ct-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(0.72);
  color: var(--red);
  letter-spacing: 1.5px;
}

.ct-field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--white);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

.ct-field input:focus ~ .ct-field-line,
.ct-field textarea:focus ~ .ct-field-line { width: 100%; }

.ct-field--ta textarea { min-height: 90px; }

/* Submit */
.ct-submit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--red);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 20px 28px;
  margin-top: 28px;
  cursor: pointer;
  width: 100%;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-submit-btn svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.ct-submit-btn:hover {
  background: #c0181e;
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(235,32,39,0.38);
}

.ct-submit-btn:hover svg { transform: translateX(7px); }

.ct-submit-btn:disabled,
.cf-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cf-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #4ade80;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cf-success.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Footer ── */
.contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  margin-top: 20px;
  gap: 12px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  letter-spacing: 1.5px;
}

/* ── Responsive ── */
/* Contact responsive rules are consolidated in the main responsive blocks below */

/* ============================================================
   SCROLLBAR — hidden on all devices (was causing red line on mobile)
   ============================================================ */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

/* ============================================================
   SCROLL-FADE ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
/* ============================================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  #navbar { padding: 0 24px; }
  .nav-links { gap: 24px; }

  .hero-title-desgro { font-size: clamp(80px, 17vw, 200px); }
  .hero-title-media  { font-size: clamp(48px, 10vw, 120px); }

  .hero-bottom-row { grid-template-columns: 1fr 1fr; padding: 32px 32px 40px; }
  .services-list { padding-left: 24px; }

  .team-header { padding: 48px 0 48px 32px; }
  .team-header-left { padding-right: 32px; }
  .team-footer { padding: 20px 32px 32px; }

  .contact-section { padding: 72px 32px 40px; }
  .ct-body { gap: 0 40px; }

  /* Works / News */
  .works-section { padding: 72px 32px 90px; }
  .news-section  { padding: 60px 32px 80px; }
  .works-card-body { padding: 22px 20px 26px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 54px; }

  /* ── Nav ── */
  #navbar { padding: 0 20px; gap: 12px; }
  .nav-links { display: none; }
  .btn-get-started { display: none; }
  .nav-hamburger { display: flex; }

  /* ── Hero ── */
  .hero-section { min-height: auto; padding-top: var(--nav-h); }
  .hero-top-labels { padding: 18px 20px 0; }
  .hero-label-right { display: none; }
  .hero-title-block { padding: 0; }
  .hero-title-desgro { font-size: clamp(64px, 20vw, 120px); letter-spacing: 0; }
  .hero-title-media  { font-size: clamp(38px, 11.5vw, 72px); letter-spacing: 0; }
  .hero-tagline { display: none; }

  /* ── Video ── */
  .video-wrapper { height: 220px; }
  .video-label { font-size: 9px; letter-spacing: 1.5px; }
  .video-play-text { font-size: 9px; letter-spacing: 2px; }

  /* ── About/Services row: stack ── */
  .hero-bottom-row { grid-template-columns: 1fr; padding: 28px 20px 36px; gap: 28px; }
  .about-text { max-width: 100%; }
  .about-text p { font-size: 14px; }
  .services-list { padding-left: 0; }
  .service-item { padding: 17px 0; }

  /* ── Personalities ── */
  .pers-section { padding: 60px 0 72px; }
  .pers-header { padding: 0 20px; margin-bottom: 40px; }
  .pers-title { font-size: clamp(38px, 10vw, 64px); letter-spacing: -1px; }

  /* ── Team ── */
  .team-section { min-height: auto; }
  .team-header { padding: 44px 0 36px 20px; flex-direction: column; }
  .team-header-left { padding-right: 20px; }
  .team-title { font-size: clamp(48px, 14vw, 80px); }
  .team-descriptors { margin-top: 12px; }
  .ring-viewport { min-height: 400px; perspective: 900px; perspective-origin: 50% 50%; }
  .ring-hint { font-size: 8px; letter-spacing: 2px; }
  .team-footer { padding: 16px 20px 28px; flex-direction: column; gap: 10px; text-align: center; }

  /* ── Works / News ── */
  .works-section { padding: 60px 20px 72px; }
  .news-section  { padding: 48px 20px 64px; }
  .works-header { margin-bottom: 40px; }
  .works-title { font-size: clamp(44px, 13vw, 80px); letter-spacing: -1px; }
  .works-card-body { padding: 20px 18px 24px; }
  .works-card-name { font-size: clamp(16px, 4.5vw, 22px); }
  .works-card-desc { font-size: 12px; }
  .works-card-link { margin-top: 14px; }

  /* Henna card: stack at mobile */
  .works-card--featured { flex-direction: column; min-height: auto; }
  .works-cv7-visual { flex: none; min-height: 220px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .works-cv7-content { padding: 24px 20px 28px; gap: 8px; }
  .works-cv7-aside { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding-left: 0; padding-top: 16px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

  /* ── Contact ── */
  .contact-section { padding: 56px 20px 40px; }
  .ct-hero { padding-bottom: 44px; }
  .ct-headline { font-size: clamp(56px, 14vw, 110px); letter-spacing: -2px; }
  .ct-body { grid-template-columns: 1fr; gap: 48px 0; margin-bottom: 52px; }
  .ct-social-row { padding: 16px 20px; gap: 14px; }
  .ct-social-platform { font-size: clamp(16px, 5vw, 22px); }
  .contact-footer { flex-direction: row; align-items: center; gap: 12px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  /* ── Hero ── */
  .hero-title-desgro { font-size: clamp(52px, 22vw, 86px); }
  .hero-title-media  { font-size: clamp(32px, 13vw, 52px); }
  .hero-bottom-row { padding: 24px 16px 32px; }
  .about-text p { font-size: 13px; line-height: 1.95; }

  /* ── Video ── */
  .video-wrapper { height: 190px; }
  .play-btn { width: 56px; height: 56px; }

  /* ── Mobile nav ── */
  .mobile-nav ul a { font-size: 32px; }

  /* ── Personalities ── */
  .pers-title { font-size: clamp(34px, 11vw, 52px); }
  .pers-reel-row { gap: 8px; padding: 16px 16px 28px; }
  .pers-card { border-radius: 10px; }
  .pers-ig-btn { font-size: 10px; padding: 12px 22px; letter-spacing: 2px; }

  /* ── Team ── */
  .team-title { font-size: clamp(44px, 18vw, 72px); }
  .ring-viewport { min-height: 360px; }
  .team-header { padding: 36px 0 28px 16px; }

  /* ── Works / News ── */
  .works-section { padding: 48px 16px 60px; }
  .news-section  { padding: 40px 16px 52px; }
  .works-title { font-size: clamp(38px, 14vw, 60px); letter-spacing: -1px; }
  .works-eyebrow { letter-spacing: 2.5px; margin-bottom: 18px; }
  .works-header { margin-bottom: 32px; }
  .works-card-body { padding: 16px 14px 20px; }
  .works-card-name { font-size: clamp(15px, 5vw, 19px); }
  .works-card-desc { font-size: 11.5px; }

  /* Henna image panels: compact */
  .works-cv7-visual { min-height: 180px; }
  .works-cv7-panel { padding: 10px; }
  .works-cv7-content { padding: 18px 16px 22px; }
  .wcs-num { font-size: 20px; }
  .wcs-lbl { letter-spacing: 1.5px; }

  /* ── SD section ── */
  .sd-why-panel { padding: 40px 16px 48px; }
  .sd-stat-row { grid-template-columns: 28px 1fr auto; gap: 0 12px; }
  .sd-stat-label { max-width: 76px; font-size: 8px; }
  .sd-stat-num, .sd-stat-suf { font-size: clamp(30px, 10vw, 48px); }
  .sd-svc-name { font-size: clamp(18px, 5.5vw, 28px); }

  /* ── Contact ── */
  .contact-section { padding: 40px 16px 32px; }
  .ct-headline { font-size: clamp(48px, 16vw, 86px); letter-spacing: -1.5px; }
  .ct-body { margin-bottom: 40px; }
  .ct-wa-num { font-size: clamp(24px, 9vw, 44px); }
  .ct-addr-city { font-size: clamp(15px, 4.5vw, 20px); }
  .footer-copy { font-size: 10px; }
}

/* ============================================================
   RESPONSIVE — VERY SMALL (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
  .hero-title-desgro { font-size: clamp(46px, 23vw, 70px); }
  .hero-title-media  { font-size: clamp(28px, 13.5vw, 44px); }

  .works-card-name { font-size: 14px; }
  .works-cv7-visual { min-height: 150px; }

  .ct-headline { font-size: clamp(40px, 16vw, 68px); }
  .ct-wa-num { font-size: clamp(22px, 10vw, 38px); }
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  perspective: 1200px;
}

.page-loader.exit { transform: translateY(-100%); }

.loader-logo-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-3d-box {
  position: relative;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  animation: l-box-flip 2.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes l-box-flip {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

.loader-3d-box .face {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--red);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.loader-3d-box .face {
  backface-visibility: visible;
}

.loader-3d-box .face.front {
  width: 140px; height: 140px; 
  margin: -70px 0 0 -70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translateZ(10px);
}

.loader-3d-box .face.back {
  width: 140px; height: 140px; 
  margin: -70px 0 0 -70px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotateY(180deg) translateZ(10px);
}

.loader-3d-box .face.left {
  width: 20px; height: 140px; 
  margin: -70px 0 0 -10px; 
  transform: rotateY(-90deg) translateZ(70px); 
  background: #cc1b21;
}

.loader-3d-box .face.right {
  width: 20px; height: 140px; 
  margin: -70px 0 0 -10px; 
  transform: rotateY(90deg) translateZ(70px); 
  background: #cc1b21;
}

.loader-3d-box .face.top {
  width: 140px; height: 20px; 
  margin: -10px 0 0 -70px; 
  transform: rotateX(90deg) translateZ(70px); 
  background: #d91c23;
}

.loader-3d-box .face.bottom {
  width: 140px; height: 20px; 
  margin: -10px 0 0 -70px; 
  transform: rotateX(-90deg) translateZ(70px); 
  background: #a31419;
  box-shadow: 0 40px 60px rgba(0,0,0,0.7);
}

.loader-topbar {
  height: 12px;
  width: 66px;
  background: var(--white);
  margin-bottom: 8px;
  transform: translateZ(1px);
}

.loader-name {
  display: block;
  font-family: var(--font-display);
  font-size: 104px;
  color: #fff;
  letter-spacing: 0;
  line-height: 0.85;
  transform: translateZ(1px);
}

.loader-track {
  position: absolute;
  bottom: 48px;
  width: min(260px, 55vw);
  height: 1px;
  background: rgba(255,255,255,0.2);
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0;
  background: var(--white);
  animation: l-progress 1.9s cubic-bezier(0.4,0,0.2,1) forwards 0.1s;
}
@keyframes l-progress {
  0%   { width: 0;    }
  65%  { width: 72%;  }
  100% { width: 100%; }
}

/* ============================================================
   HERO CHAR REVEAL
   ============================================================ */
.char {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
  line-height: 1;
}
.char-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* Only hide when JS is active — text visible if JS fails */
.js-ready .char-inner {
  opacity: 0;
  transform: translateY(105%);
}
@keyframes char-up {
  to { opacity: 1; transform: translateY(0); }
}

.js-ready .hero-title-media {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.js-ready .hero-title-media.anim-in  { opacity: 1; transform: translateX(0); }

.js-ready .hero-top-labels {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-ready .hero-top-labels.anim-in   { opacity: 1; transform: translateY(0); }

.js-ready .hero-tagline {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js-ready .hero-tagline.anim-in      { opacity: 1; transform: translateY(0); }

/* ============================================================
   TEAM TITLE — line-by-line reveal
   ============================================================ */
.ttl-wrap {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;  /* buffer so tight line-height doesn't clip caps */
}
.ttl-inner {
  display: block;
  will-change: transform;
}
.js-ready .ttl-inner {
  transform: translateY(105%);
  transition: transform 0.95s cubic-bezier(0.16,1,0.3,1);
}
.js-ready .ttl-inner.anim-in { transform: translateY(0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.sr {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.sr.sr-right { transform: translateX(26px); }
.sr.sr-visible { opacity: 1; transform: translate(0,0); }

/* ============================================================
   SERVICES DETAIL SECTION
   ============================================================ */
.sd-section {
  background: #000;
  color: #fff;
  /* NO overflow:hidden — it breaks position:sticky on children */
}

/* ── SCROLLYTELLING: sticky Why panel ── */
.sd-scrolly-outer {
  height: 260vh;
  position: relative;
}

.sd-scrolly-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 6% 0 6%;
  /* overflow:hidden removed — kills sticky */
}

.sd-why-panel {
  padding: 90px 6% 100px;
}

.sd-why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6vw;
  width: 100%;
  align-items: center;
}

.sd-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.30em;
  color: rgba(255,255,255,0.52);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.sd-eyebrow span:first-child {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.sd-why-h {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 28px;
}
.sd-red {
  color: var(--red);
  font-style: italic;
}

.sd-why-p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.95;
  color: rgba(255,255,255,0.60);
  max-width: 400px;
}

/* Statement phrases — scroll-driven reveal */
.sd-stmt-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-stmt {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
/* hidden until JS scrollytelling activates each line */
.js-ready .sd-stmt {
  opacity: 0;
  transform: translateY(36px);
}
.sd-stmt.active {
  opacity: 1;
  transform: translateY(0);
}
.sd-stmt--light {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.6vw, 40px);
  font-weight: 300;
  color: rgba(255,255,255,0.52);
  padding-left: 2vw;
}
.sd-stmt b { font-weight: 900; }
.sd-stmt--light b { font-weight: 500; color: rgba(255,255,255,0.68); }

/* ── SERVICE LIST (Why panel right col) ── */
.sd-svc-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sd-svc-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  transition: padding-left 0.25s ease;
}

.sd-svc-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.sd-svc-item:hover { padding-left: 8px; }

.sd-svc-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--red);
  min-width: 24px;
}

.sd-svc-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}

.sd-svc-arrow {
  font-size: 18px;
  color: rgba(255,255,255,0.32);
  transition: color 0.2s, transform 0.2s;
}

.sd-svc-item:hover .sd-svc-arrow {
  color: var(--red);
  transform: translateX(6px);
}

/* ── MARQUEE ── */
.sd-marquee {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  white-space: nowrap;
}

.sd-mq-track {
  display: inline-flex;
  animation: sd-mq 22s linear infinite;
}
@keyframes sd-mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.sd-mq-item {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 400;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.35);
  padding: 0 36px;
}
.sd-mq-sep { color: var(--red); margin-left: 36px; }

/* ── STAT ROWS ── */
.sd-stats-rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-self: center;
}

.sd-stat-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0 20px;
  padding: 26px 0 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: default;
  transition: opacity 0.75s ease,
              transform 0.75s cubic-bezier(0.16,1,0.3,1),
              padding-left 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
}

.sd-stat-row:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

/* Red left bar — sweeps in on hover */
.sd-stat-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}

@media (hover: hover) { .sd-stat-row:hover::before { transform: scaleY(1); } }

/* Entrance: slide up from further + fade */
.js-ready .sd-stat-row {
  opacity: 0;
  transform: translateY(52px);
}

.sd-stat-row.row-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (hover: hover) { .sd-stat-row:hover { padding-left: 14px; } }

/* Ordinal */
.sd-stat-idx {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--red);
  align-self: center;
  line-height: 1;
  transition: letter-spacing 0.3s ease;
}

.sd-stat-row:hover .sd-stat-idx { letter-spacing: 3px; }

/* Number wrap — underline sweeps in on row-in */
.sd-stat-num-wrap {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.sd-stat-num-wrap::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  transition: width 0.75s cubic-bezier(0.16,1,0.3,1) 0.35s;
  border-radius: 1px;
}

.sd-stat-row.row-in .sd-stat-num-wrap::after { width: 100%; }

.sd-stat-row:hover .sd-stat-num-wrap {
  transform: scale(1.04) translateX(2px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

/* Giant number + suffix */
.sd-stat-num,
.sd-stat-suf {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  letter-spacing: -2px;
}

.sd-stat-suf {
  color: var(--red);
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

/* Right-aligned label */
.sd-stat-label {
  font-family: var(--font-body);
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 600;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  text-align: right;
  max-width: 130px;
  line-height: 1.6;
  transition: color 0.25s ease, letter-spacing 0.3s ease;
}

.sd-stat-row:hover .sd-stat-label {
  color: rgba(255,255,255,0.70);
  letter-spacing: 3px;
}

/* ── SERVICE CARDS GRID ── */
.sd-cards {
  display: flex;
  flex-wrap: nowrap;
  background: rgba(0,0,0,0.08);
  contain: layout style;
  gap: 1px;
}

.sd-card {
  flex: 1 1 0;
  min-width: 0;
  background: #ffffff;
  padding: 0 14px;          /* no top/bottom — justify-content:center hits true middle */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  gap: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1),
              background 0.3s ease;
}
/* entrance — only when JS active */
.js-ready .sd-card {
  opacity: 0;
  transform: translateY(28px);
}
.sd-card.card-in {
  opacity: 1;
  transform: translateY(0);
}
.sd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(0,0,0,0.08);
  transition: background 0.35s ease;
}
@media (hover: hover) {
  .sd-card:hover { background: #f7f7f7; }
  .sd-card:hover::before { background: var(--red); }
}

/* number pinned to top-centre */
.sd-card-num {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(0,0,0,0.22);
  transition: color 0.3s;
  white-space: nowrap;
}
.sd-card:hover .sd-card-num { color: var(--red); }

/* big centred heading — the dominant element */
.sd-card-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 42px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--red);
  letter-spacing: -0.01em;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s;
}

.sd-card-desc {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.8;
  color: rgba(0,0,0,0.55);
  width: 100%;
}

/* arrow pinned to bottom-centre */
.sd-card-arrow {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.18);
  font-size: 15px;
  line-height: 1;
  color: rgba(0,0,0,0.3);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.sd-card-arrow:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── Desktop only: heading centered, swap to desc on hover ── */
@media (hover: hover) and (min-width: 769px) {
  /* Desc pulled out of flow so it can't push the heading off-center */
  .sd-card-desc {
    position: absolute;
    left: 16px;
    right: 16px;
    width: auto;          /* override base width:100% — left+right control sizing */
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  /* Heading: sits at true center (no offset), fades out on hover */
  .sd-card-name {
    transition: opacity 0.25s ease, transform 0.35s ease;
  }
  .sd-card:hover .sd-card-name {
    opacity: 0;
    transform: translateY(-8px);
  }

  /* Desc fades in, number dims */
  .sd-card:hover .sd-card-desc {
    opacity: 1;
    pointer-events: auto;
  }

  .sd-card-arrow {
    opacity: 0;
    transition: opacity 0.35s ease 0.15s, color 0.25s, border-color 0.25s, background 0.25s;
  }
  .sd-card:hover .sd-card-arrow {
    opacity: 1;
  }
}

/* ── Responsive: Services ── */
@media (max-width: 1024px) {
  .sd-why-panel { padding: 72px 5% 80px; }
  .sd-why-grid { grid-template-columns: 1fr; }
  .sd-stmt-wrap { margin-top: 48px; }
  .sd-scrolly-outer { height: 220vh; }

  /* Rows get full width when grid stacks — numbers can be larger */
  .sd-stats-rows { margin-top: 52px; }
  .sd-stat-num, .sd-stat-suf { font-size: clamp(48px, 8vw, 80px); }

  /* Wrap to 4+3 at tablet (7 cards) */
  .sd-cards { flex-wrap: wrap; }
  .sd-card   { flex: 1 1 22%; }
}

@media (max-width: 768px) {
  .sd-why-panel { padding: 56px 5% 64px; }
  .sd-scrolly-outer { height: 180vh; }
  .sd-scrolly-pin { padding: 0 5%; }

  /* Stats: sit in right column alongside "Why Content Creation?" heading */
  .sd-why-grid { grid-template-columns: 1fr 1fr; gap: 4vw; }
  .sd-why-h { font-size: clamp(20px, 6vw, 38px); }
  .sd-why-p { font-size: 10.5px; line-height: 1.75; }
  .sd-stats-rows { margin-top: 0; align-self: flex-start; padding-top: 4px; }
  .sd-stat-num, .sd-stat-suf { font-size: clamp(18px, 5vw, 28px); }
  .sd-stat-row { grid-template-columns: 20px 1fr auto; gap: 0 6px; }
  .sd-stat-label { max-width: 88px; font-size: 8.5px; }

  /* Service cards: single-column list — label left, arrow-icon right, thin row dividers */
  .sd-cards { display: flex; flex-direction: column; background: none; gap: 0; }
  .sd-card {
    flex-direction: row; flex-wrap: wrap;
    align-items: center; justify-content: flex-start;
    min-height: 0; width: 100%; min-width: 0;
    padding: 20px 4px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    transition: padding 0.3s ease,
                opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1), background 0.3s ease;
  }
  .sd-card:last-child { border-bottom: none; }
  .sd-card-num { position: static; left: auto; top: auto; transform: none; margin-right: 14px; flex-shrink: 0; }
  .sd-card-name { flex: 1; width: auto; text-align: left; font-size: clamp(14px, 4.2vw, 18px); line-height: 1.15; }
  .sd-card-desc {
    display: none; flex-basis: 100%; width: 100%; order: 3;
    font-size: 11px; line-height: 1.6; margin-top: 14px; color: rgba(0,0,0,0.6); text-align: left;
  }
  .sd-card-arrow { position: static; left: auto; bottom: auto; transform: none; margin-left: 12px; flex-shrink: 0; width: 28px; height: 28px; font-size: 12px; }

  /* Tap-to-reveal: row grows to show description below the label/arrow line */
  .sd-card.card-tap-active { padding-bottom: 24px; }
  .sd-card.card-tap-active .sd-card-desc { display: block; }
}

@media (max-width: 480px) {
  .sd-why-panel { padding: 44px 20px 52px; }
  .sd-card { padding: 17px 2px; }
  .sd-card-name { font-size: clamp(13px, 4.5vw, 16px); line-height: 1.15; }
  .sd-scrolly-outer { height: 160vh; }
  .sd-stmt { font-size: clamp(26px, 8vw, 42px); }
  .sd-stmt--light { font-size: clamp(16px, 5.5vw, 28px); }
}

/* ============================================================
   PERFORMANCE — compositor hints, motion safety
   ============================================================ */

/* Promote service card children to their own layer only while animating */
@media (hover: hover) and (min-width: 769px) {
  .sd-card:hover .sd-card-name  { will-change: transform; }
  .sd-card:hover .sd-card-desc  { will-change: transform, opacity; }
  .sd-card:hover .sd-card-arrow { will-change: opacity; }
}

/* GPU layer for marquee track */
/* tc-reel will-change is set in the main marquee rule */

/* ══════════════════════════════════════════
   FILM STRIP SECTION
   ══════════════════════════════════════════ */

.filmstrip-section {
  background: #000;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
  contain: layout style;        /* isolate reflows from rest of page */
}

.filmstrip-row {
  display: flex;
  overflow: hidden;
  position: relative;
  /* perspective removed — no 3D on the row itself, cards use local perspective() */
}

/* Edge fades to black */
.filmstrip-row::before,
.filmstrip-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 12vw, 200px);
  z-index: 3;
  pointer-events: none;
}
.filmstrip-row::before { left:  0; background: linear-gradient(to right, #000 40%, transparent); }
.filmstrip-row::after  { right: 0; background: linear-gradient(to left,  #000 40%, transparent); }

/* Inner wrapper — JS drives translateX on this */
.filmstrip-inner {
  display: flex;
  will-change: transform;
  backface-visibility: hidden;  /* prevent GPU layer churn on 3D children */
}

/* Each track: flex row of frames */
.filmstrip-track {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  padding-right: 14px;
}

/* Photo frame — natural aspect ratio, no crop */
.filmstrip-frame {
  flex: 0 0 auto;
  height: 268px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 18px rgba(0,0,0,0.9);
  transition: box-shadow 0.35s ease, filter 0.35s ease;
  will-change: transform;
  backface-visibility: hidden;
  position: relative;
}

.filmstrip-caption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.filmstrip-frame img {
  height: 100%;
  width: auto;
  display: block;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.filmstrip-frame:hover img {
  transform: scale(1.14);
}

/* Dim siblings when a frame is hovered */
.filmstrip-inner:has(.filmstrip-frame:hover) .filmstrip-frame:not(:hover) {
  filter: brightness(0.45);
}
.filmstrip-frame:hover {
  box-shadow: 0 8px 36px rgba(235,32,39,0.25), 0 4px 18px rgba(0,0,0,0.9);
}

/* Responsive */
@media (max-width: 768px) {
  .filmstrip-frame { height: 190px; }
  .filmstrip-caption { font-size: 10px; padding: 5px 8px; }
}
@media (max-width: 480px) {
  .filmstrip-frame { height: 140px; }
  .filmstrip-caption { font-size: 9px; padding: 4px 6px; left: 5px; right: 5px; bottom: 5px; }
}

/* Respect user's motion preference — disable all non-essential animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }
  .news-slider-track,
  .wc-imgslider-track,
  .wc-modal-gallery-track { transition: none !important; }
}

/* ═══════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 24px rgba(235,32,39,0.45);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: #c0181e; }

@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════
   GLOBAL MOBILE OVERFLOW GUARD
   Prevents any child from causing horizontal scroll
═══════════════════════════════════════ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img, video, iframe, canvas {
  max-width: 100%;
}

/* ═══════════════════════════════════════
   CONTACT — mobile refinements
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .ct-get-started-btn {
    font-size: 13px;
    padding: 18px 28px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .ct-social-row { gap: 12px; }
  .ct-social-icon { width: 22px; height: 22px; }
  .ct-social-platform { font-size: clamp(14px, 4.5vw, 18px); }
}

@media (max-width: 480px) {
  .ct-get-started-btn {
    font-size: 12px;
    padding: 16px 20px;
    letter-spacing: 1.5px;
  }
  .ct-social-platform { font-size: 15px; }
  .ct-social-handle { font-size: 11px; }
}

/* ═══════════════════════════════════════
   WORKS — mobile overflow / height caps
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .works-cv7-visual { min-height: 200px; max-height: 280px; }
  .works-card img,
  .works-cv7-panel img { max-width: 100%; }
}
@media (max-width: 480px) {
  .works-cv7-visual { min-height: 160px; max-height: 220px; }
}
@media (max-width: 360px) {
  .works-cv7-visual { min-height: 130px; max-height: 180px; }
  .wcs-num { font-size: 18px; }
}

/* ═══════════════════════════════════════
   ABOUT TEXT — line-height on mobile
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .about-text p { line-height: 1.9; }
  .service-item { padding: 14px 0; }
}

/* ═══════════════════════════════════════
   PERFORMANCE — reduce motion on mobile
   Disables heavy transitions for users 
   who prefer reduced motion or on
   lower-power mobile devices
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════
   FILMSTRIP — mobile sizing
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .filmstrip-section { padding: 14px 0; }
  .filmstrip-track { gap: 8px; padding-right: 8px; }
}
