/* ═══════════════════════════════════════════════════
   ICYVISION — Screen Culture Mockups
   Phone frames, TikTok / IG / YT UI, screen cards
   ═══════════════════════════════════════════════════ */

/* ── HERO PHONE STRIP ─────────────────────────────── */
/* Replaces the 2×2 photo grid — two phones side by side */
.hero-phones {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  justify-content: flex-end;
  height: 340px;
  position: relative;
}

/* Individual phone shell */
.phone {
  width: 148px;
  height: 300px;
  border-radius: 22px;
  background: #0a0a0a;
  border: 1.5px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 24px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transform-origin: bottom center;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.8s cubic-bezier(0.16,1,0.3,1);
}

/* Camera notch */
.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  z-index: 10;
}

/* Screen reflection sheen */
.phone::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 50%,
    rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 9;
  border-radius: 22px;
}

/* Phone 1 — slightly taller, offset higher */
.phone-1 {
  height: 320px;
  transform: translateY(-20px) rotate(-2deg);
}
.phone-2 {
  transform: rotate(1.5deg);
}

/* Parallax data attribute — JS reads this */
.hero-phones[data-parallax] .phone-1 { will-change: transform; }
.hero-phones[data-parallax] .phone-2 { will-change: transform; }

/* ── TIKTOK SCREEN ────────────────────────────────── */
.screen-tiktok {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: 18px;
}

/* Scrolling video "feed" — two fake video tiles */
.tiktok-feed {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.tiktok-video {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a0a2e 0%, #0d1117 40%, #0a1628 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tiktok-scroll 4s ease-in-out infinite alternate;
}

@keyframes tiktok-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* Abstract "person silhouette" in TikTok video */
.tiktok-figure {
  width: 50px;
  height: 80px;
  position: relative;
  opacity: 0.7;
}
.tiktok-figure::before { /* head */
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}
.tiktok-figure::after { /* body */
  content: '';
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 36px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #ee5a24, #c44569);
}

/* TikTok right sidebar */
.tiktok-sidebar {
  position: absolute;
  right: 6px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.tiktok-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.tiktok-action-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.tiktok-action-count {
  font-family: var(--font-body, sans-serif);
  font-size: 7px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* TikTok bottom info */
.tiktok-info {
  position: absolute;
  bottom: 12px;
  left: 8px;
  right: 32px;
}

.tiktok-username {
  font-family: var(--font-display, sans-serif);
  font-size: 8px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.tiktok-caption {
  font-size: 6.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* TikTok music bar */
.tiktok-music {
  position: absolute;
  bottom: 8px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: #111;
  animation: record-spin 3s linear infinite;
}
.tiktok-music::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #333;
}

@keyframes record-spin { to { transform: rotate(360deg); } }

/* TikTok top nav */
.tiktok-nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 4px 0 6px;
  position: relative;
  z-index: 2;
}
.tiktok-nav span {
  font-size: 7.5px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  font-family: var(--font-body, sans-serif);
}
.tiktok-nav span.active {
  color: white;
  font-weight: 700;
  border-bottom: 1.5px solid white;
  padding-bottom: 1px;
}

/* Notification badge animation */
.tiktok-live-badge {
  position: absolute;
  top: 18px;
  left: 6px;
  background: #ff2d55;
  color: white;
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.5px 4px;
  border-radius: 2px;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.7; transform:scale(0.95); }
}

/* ── INSTAGRAM SCREEN ─────────────────────────────── */
.screen-instagram {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 18px;
}

/* IG top nav */
.ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 6px;
  flex-shrink: 0;
}
.ig-logo {
  font-size: 10px;
  font-weight: 700;
  color: white;
  font-family: Georgia, serif;
  letter-spacing: -0.02em;
}
.ig-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ig-icon {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  position: relative;
}
.ig-icon::after {
  content: '';
  position: absolute;
  top: 2px; right: 2px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ff2d55;
}

/* IG Stories row */
.ig-stories {
  display: flex;
  gap: 6px;
  padding: 4px 8px 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.ig-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.ig-story-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 1.5px;
  animation: story-ring-anim 3s ease-in-out infinite alternate;
}
@keyframes story-ring-anim {
  from { filter: brightness(1); }
  to   { filter: brightness(1.2); }
}
.ig-story-ring::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111;
  border: 1px solid #000;
}
.ig-story-name {
  font-size: 5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

/* IG Post */
.ig-post {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ig-post-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  flex-shrink: 0;
}
.ig-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #dc2743);
  flex-shrink: 0;
}
.ig-handle {
  font-size: 7px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.04em;
  font-family: var(--font-body, sans-serif);
}
.ig-more {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
}

/* IG post image area */
.ig-post-img {
  width: 100%;
  flex: 1;
  background: linear-gradient(135deg, #1a1035 0%, #0d1b2a 50%, #0f2027 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated abstract visual inside the IG post */
.ig-post-visual {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #833ab4, #fd1d1d, #fcb045, #833ab4
  );
  animation: ig-visual-spin 6s linear infinite;
  opacity: 0.7;
  filter: blur(1px);
}
@keyframes ig-visual-spin { to { transform: rotate(360deg); } }

/* Engagement overlay on IG post */
.ig-engagement {
  position: absolute;
  bottom: 6px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ig-likes {
  font-size: 6.5px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.5);
  padding: 1.5px 4px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* IG bottom nav */
.ig-bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 5px 0 6px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.ig-nav-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
}
.ig-nav-dot.active { background: rgba(255,255,255,0.35); }

/* ── WORK CARD SCREENS (case studies) ─────────────── */
/* Each case study card gets a screen-type mockup */

/* YouTube / analytics dashboard card */
.screen-card {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}

/* YouTube-style card */
.screen-youtube {
  background: linear-gradient(160deg, #0f0f0f 0%, #111 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yt-header {
  display: flex;
  align-items: center;
  gap: 6px;
}
.yt-logo {
  display: flex;
  align-items: center;
  gap: 3px;
}
.yt-icon {
  width: 16px;
  height: 11px;
  background: #ff0000;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 5px solid white;
  margin-left: 1px;
}
.yt-wordmark {
  font-size: 7px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}

.yt-video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-play-btn {
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.3);
  animation: play-pulse 2s ease-in-out infinite;
}
@keyframes play-pulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,0,0,0.3); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(255,0,0,0); }
}
.yt-play-btn::after {
  content: '';
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid white;
  margin-left: 2px;
}

.yt-duration {
  position: absolute;
  bottom: 4px; right: 4px;
  font-size: 6px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 1px 3px;
  border-radius: 1px;
  letter-spacing: 0.05em;
}

.yt-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  width: 100%;
}
.yt-progress::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 40%;
  background: #ff0000;
  animation: yt-progress-anim 8s linear infinite;
}
@keyframes yt-progress-anim {
  from { width: 5%; }
  to   { width: 95%; }
}

.yt-meta { display: flex; flex-direction: column; gap: 3px; }
.yt-title {
  font-size: 7.5px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-family: var(--font-body, sans-serif);
}
.yt-stats {
  font-size: 6px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

/* Analytics / dashboard card */
.screen-analytics {
  background: #0d0d0d;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.analytics-title {
  font-size: 7px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.15em;
  font-family: var(--font-body, sans-serif);
}
.analytics-badge {
  font-size: 5.5px;
  background: rgba(168,216,232,0.15);
  color: #A8D8E8;
  padding: 1.5px 4px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  border: 0.5px solid rgba(168,216,232,0.3);
}

/* Big metric */
.analytics-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.analytics-kpi-value {
  font-family: var(--font-display, sans-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: white;
  line-height: 1;
}
.analytics-kpi-label {
  font-size: 5.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.18em;
}

/* Sparkline / bar chart */
.analytics-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
}
.analytics-bar {
  flex: 1;
  background: rgba(168,216,232,0.12);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}
.analytics-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(168,216,232,0.7), rgba(168,216,232,0.2));
  border-radius: 1px;
  animation: bar-grow 1.5s var(--ease-out, ease) forwards;
  animation-delay: var(--bar-delay, 0s);
  height: 0;
}
@keyframes bar-grow { to { height: var(--bar-h, 60%); } }

/* Metric row */
.analytics-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.analytics-metric {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  padding: 4px;
}
.analytics-metric-val {
  font-family: var(--font-display, sans-serif);
  font-size: 10px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.analytics-metric-lbl {
  font-size: 5px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  margin-top: 1px;
}

/* Green up-arrow for positive metrics */
.analytics-up {
  font-size: 5px;
  color: #4ade80;
  letter-spacing: 0.05em;
}

/* Story / vertical format card */
.screen-story {
  background: linear-gradient(160deg, #0f0824 0%, #1a0a35 40%, #0d1b3e 100%);
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 10px;
  overflow: hidden;
}

/* Story progress bars */
.story-progress {
  display: flex;
  gap: 2px;
  margin-bottom: 6px;
}
.story-bar {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 1px;
  overflow: hidden;
}
.story-bar::after {
  content: '';
  display: block;
  height: 100%;
  background: white;
  width: 0;
  animation: story-fill var(--bar-dur, 3s) linear forwards;
  animation-delay: var(--bar-delay, 0s);
}
@keyframes story-fill { to { width: 100%; } }
.story-bar:first-child::after { width: 100%; animation: none; }

/* Story top row */
.story-top {
  display: flex;
  align-items: center;
  gap: 4px;
}
.story-avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #833ab4, #fd1d1d);
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.story-handle {
  font-size: 7px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
}
.story-time {
  margin-left: auto;
  font-size: 6px;
  color: rgba(255,255,255,0.4);
}

/* Abstract brand content in story */
.story-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.story-brand-logo {
  font-family: var(--font-display, sans-serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 0 20px rgba(168,216,232,0.5);
}
.story-tagline {
  font-size: 6px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em;
  text-align: center;
}

/* Swipe-up CTA */
.story-cta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: swipe-up-bounce 1.5s ease-in-out infinite;
}
.story-cta-arrow {
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid rgba(255,255,255,0.6);
}
.story-cta-text {
  font-size: 6px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.15em;
}
@keyframes swipe-up-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-3px); }
}

/* Collab / multi-creator card */
.screen-collab {
  background: #080808;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 6px;
}
.collab-header {
  font-size: 6.5px;
  letter-spacing: 0.2em;
  color: rgba(168,216,232,0.7);
  font-family: var(--font-body, sans-serif);
  font-weight: 500;
}
.collab-title {
  font-family: var(--font-display, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1.1;
}
.collab-creators {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.collab-creator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  transition: background 0.3s;
}
.collab-creator-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}
.collab-creator:nth-child(1) .collab-creator-avatar { background: linear-gradient(135deg, #f09433, #dc2743); }
.collab-creator:nth-child(2) .collab-creator-avatar { background: linear-gradient(135deg, #833ab4, #bc1888); }
.collab-creator:nth-child(3) .collab-creator-avatar { background: linear-gradient(135deg, #00b4d8, #0077b6); }

.collab-creator-info { flex: 1; }
.collab-creator-name {
  font-size: 7px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
}
.collab-creator-reach {
  font-size: 5.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}
.collab-creator-check {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(168,216,232,0.15);
  border: 0.5px solid rgba(168,216,232,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6px;
  color: #A8D8E8;
}
.collab-result {
  background: rgba(168,216,232,0.07);
  border: 0.5px solid rgba(168,216,232,0.2);
  border-radius: 3px;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.collab-result-val {
  font-family: var(--font-display, sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #A8D8E8;
  letter-spacing: -0.02em;
}
.collab-result-lbl {
  font-size: 5.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
}

/* ── CLIP-PATH WIPE REVEAL ────────────────────────── */
/* Applied via JS IntersectionObserver */
.wipe-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(0.16,1,0.3,1);
}
.wipe-reveal.revealed {
  clip-path: inset(0 0% 0 0);
}

/* Staggered wipe for work cards */
.work-card:nth-child(1) .wipe-reveal { transition-delay: 0s; }
.work-card:nth-child(2) .wipe-reveal { transition-delay: 0.12s; }
.work-card:nth-child(3) .wipe-reveal { transition-delay: 0s; }
.work-card:nth-child(4) .wipe-reveal { transition-delay: 0.08s; }

/* ── CURSOR TILT (applied via JS) ─────────────────── */
.tilt-target {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}

/* ── PHONE ENTRY ANIMATION ────────────────────────── */
@keyframes phone-enter-1 {
  from { opacity:0; transform: translateY(40px) rotate(-2deg); }
  to   { opacity:1; transform: translateY(-20px) rotate(-2deg); }
}
@keyframes phone-enter-2 {
  from { opacity:0; transform: translateY(50px) rotate(1.5deg); }
  to   { opacity:1; transform: translateY(0) rotate(1.5deg); }
}

.phones-entered .phone-1 {
  animation: phone-enter-1 1.1s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
.phones-entered .phone-2 {
  animation: phone-enter-2 1.1s cubic-bezier(0.16,1,0.3,1) 0.45s both;
}

/* ── SCROLLING NUMBER COUNTER ─────────────────────── */
.count-up {
  display: inline-block;
}


/* ══════════════════════════════════════════════════════════
   WORK TAPE — Horizontal Scroll Brand Strip
══════════════════════════════════════════════════════════ */

.work-section {
  background: var(--near-black, #080807);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.work-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 72px) clamp(24px, 3vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.work-drag-hint {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  user-select: none;
}

/* Horizontal scroll tape */
.work-tape {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 2px;
  cursor: grab;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Momentum drag handled by JS */
  will-change: transform;
}

.work-tape:active,
.work-tape.is-dragging { cursor: grabbing; }
.work-tape::-webkit-scrollbar { display: none; }

/* Individual brand card */
.tape-card {
  position: relative;
  flex: 0 0 clamp(300px, 35vw, 480px);
  height: clamp(480px, 60vh, 680px);
  background: var(--brand-bg, #080807);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3vw, 44px);
  transition: flex 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.tape-card:hover {
  flex: 0 0 clamp(380px, 45vw, 580px);
}

/* Noise texture overlay */
.tape-card-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Radial gradient from accent color at top */
.tape-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse at center, var(--brand-accent, #A8D8E8), transparent 70%);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.tape-card:hover::before {
  opacity: 0.22;
}

/* Card number */
.tape-card-num {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  left: clamp(28px, 3vw, 44px);
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  z-index: 2;
}

/* Platform tag — top right */
.tape-card-tag {
  position: absolute;
  top: clamp(20px, 3vw, 36px);
  right: clamp(28px, 3vw, 44px);
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  z-index: 2;
}

/* Brand logo image */
.tape-brand-logo {
  display: block;
  max-width: clamp(120px, 60%, 220px);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  position: relative;
  z-index: 4;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.tape-card:hover .tape-brand-logo {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px var(--brand-accent, rgba(255,255,255,0.4)));
}

/* Giant brand name — dominant visual element (kept as ghost watermark) */
.tape-brand-name {
  position: absolute;
  top: 50%;
  left: clamp(28px, 3vw, 44px);
  transform: translateY(-55%);
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.06);
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  transition: color 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.tape-card:hover .tape-brand-name {
  color: rgba(255,255,255,0.1);
  transform: translateY(-58%) scale(1.02);
}

/* Stats row */
.tape-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}

.tape-stat-val {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--brand-accent, #A8D8E8);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tape-stat-lbl {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Description */
.tape-desc {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  max-width: 320px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.tape-card:hover .tape-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Platform badge */
.tape-platform-badge {
  display: inline-block;
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-accent, #A8D8E8);
  border: 1px solid var(--brand-accent, #A8D8E8);
  padding: 5px 12px;
  border-radius: 40px;
  position: relative;
  z-index: 3;
  opacity: 0.7;
  width: fit-content;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.tape-card:hover .tape-platform-badge {
  opacity: 1;
  background: color-mix(in srgb, var(--brand-accent, #A8D8E8) 12%, transparent);
}

/* Bottom accent bar — colored line */
.tape-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-accent, #A8D8E8);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}

.tape-card:hover .tape-accent-bar {
  opacity: 1;
  transform: scaleX(1);
}

/* Card entry animation */
.tape-card {
  opacity: 0;
  transform: translateY(32px);
  transition:
    flex 0.4s cubic-bezier(0.16,1,0.3,1),
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.tape-card.tape-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.tape-card:nth-child(1) { transition-delay: 0s; }
.tape-card:nth-child(2) { transition-delay: 0.07s; }
.tape-card:nth-child(3) { transition-delay: 0.14s; }
.tape-card:nth-child(4) { transition-delay: 0.21s; }
.tape-card:nth-child(5) { transition-delay: 0.28s; }
.tape-card:nth-child(6) { transition-delay: 0.35s; }
.tape-card:nth-child(7) { transition-delay: 0.42s; }
.tape-card:nth-child(8) { transition-delay: 0.49s; }

/* ON Running special case — white accent on dark */
.tape-card[data-brand="on"] .tape-brand-name,
.tape-card[data-brand="on"] .tape-stat-val {
  color: rgba(255,255,255,0.85);
}
.tape-card[data-brand="on"] .tape-stat-val { color: #ffffff; }

/* Scroll progress indicator */
.work-tape-progress {
  height: 2px;
  background: rgba(255,255,255,0.06);
  position: relative;
  margin: 0 clamp(24px, 5vw, 72px);
}

.work-tape-progress-bar {
  height: 100%;
  background: var(--ice, #A8D8E8);
  width: 0%;
  transition: width 0.1s linear;
}

/* IG avatar variant for ON */
.ig-avatar-on {
  background: linear-gradient(135deg, #1a1a1a 0%, #3a3a3a 100%);
  border: 1.5px solid rgba(255,255,255,0.3);
}



/* ══════════════════════════════════════════════════════════
   HERO MINI TAPE — compact brand strip in hero
══════════════════════════════════════════════════════════ */

.hero-mini-tape {
  display: flex;
  flex-direction: row;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
  /* Constrained to the right column of hero-bottom-row */
  height: clamp(220px, 28vw, 340px);
  flex: 1 1 auto;
  max-width: 100%;
}

.hero-mini-tape:active { cursor: grabbing; }
.hero-mini-tape::-webkit-scrollbar { display: none; }

/* Individual mini card */
.hero-mini-card {
  position: relative;
  flex: 0 0 clamp(110px, 14vw, 160px);
  height: 100%;
  background: var(--brand-bg, #080807);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 14px;
  overflow: hidden;
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
}

.hero-mini-card:active { cursor: grabbing; }

.hero-mini-card:hover {
  flex: 0 0 clamp(160px, 20vw, 220px);
}

/* Radial glow from accent */
.hero-mini-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, var(--brand-accent, #A8D8E8), transparent 70%);
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero-mini-card:hover::before { opacity: 0.2; }

/* Card number */
.hero-mini-num {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  z-index: 2;
}

/* Brand name — large ghost text */
.hero-mini-name {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-60%);
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.07);
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
  transition: color 0.4s ease;
}
.hero-mini-card:hover .hero-mini-name {
  color: rgba(255,255,255,0.13);
}

/* Stat value */
.hero-mini-stat {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--brand-accent, #A8D8E8);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 3;
}

.hero-mini-stat span {
  display: block;
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin-top: 3px;
}

/* Platform tag */
.hero-mini-tag {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-mini-card:hover .hero-mini-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Accent bar at bottom */
.hero-mini-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-accent, #A8D8E8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  z-index: 4;
}
.hero-mini-card:hover .hero-mini-bar {
  transform: scaleX(1);
}

/* Entry animation */
.hero-mini-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    flex 0.45s cubic-bezier(0.16,1,0.3,1),
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.hero-mini-tape.tape-entered .hero-mini-card {
  opacity: 1;
  transform: translateY(0);
}
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(1) { transition-delay: 0.05s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(2) { transition-delay: 0.12s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(3) { transition-delay: 0.19s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(4) { transition-delay: 0.26s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(5) { transition-delay: 0.33s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(6) { transition-delay: 0.40s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(7) { transition-delay: 0.47s; }
.hero-mini-tape.tape-entered .hero-mini-card:nth-child(8) { transition-delay: 0.54s; }



/* ══════════════════════════════════════════════════════════
   DYNAMIC MOTION — Active states, glow, ambient color
══════════════════════════════════════════════════════════ */

/* Active card state — auto-cycled by JS */
.hero-mini-card.is-active {
  flex: 0 0 clamp(200px, 25vw, 280px) !important;
}

.hero-mini-card.is-active .hero-mini-name {
  color: rgba(255,255,255,0.18) !important;
}

.hero-mini-card.is-active .hero-mini-bar {
  transform: scaleX(1) !important;
  animation: bar-pulse 1.8s ease-in-out infinite;
}

.hero-mini-card.is-active .hero-mini-tag {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-mini-card.is-active::before {
  opacity: 0.28 !important;
  animation: glow-breathe 2s ease-in-out infinite;
}

/* Pulsing bar */
@keyframes bar-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Breathing glow */
@keyframes glow-breathe {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(1.15); }
}

/* Ambient hero background color wash */
.hero {
  transition: background-color 1.2s ease;
}

/* Floating stat counter animation */
.hero-mini-stat {
  transition: color 0.4s ease;
}

.hero-mini-card.is-active .hero-mini-stat {
  animation: stat-pop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes stat-pop {
  0%   { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1);    opacity: 1; }
}

/* Work tape — cards float up slightly on hover for more depth */
.tape-card {
  transform-origin: bottom center;
}
.tape-card:hover {
  transform: translateY(-6px) !important;
}
.tape-card.tape-visible:hover {
  transform: translateY(-6px) !important;
}

/* Active work tape card */
.tape-card.is-active-work {
  flex: 0 0 clamp(380px, 45vw, 580px) !important;
  transform: translateY(-4px) !important;
}
.tape-card.is-active-work .tape-brand-name {
  color: rgba(255,255,255,0.14) !important;
}
.tape-card.is-active-work .tape-desc {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.tape-card.is-active-work .tape-accent-bar {
  opacity: 1 !important;
  transform: scaleX(1) !important;
  animation: bar-pulse 2s ease-in-out infinite;
}
.tape-card.is-active-work .tape-platform-badge {
  opacity: 1 !important;
}

/* Shimmer sweep on active card */
.tape-card.is-active-work::after,
.hero-mini-card.is-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
  animation: shimmer-sweep 2.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes shimmer-sweep {
  0%   { left: -60%; }
  100% { left: 130%; }
}

/* Floating particles — CSS-only ambient dots on active hero card */
.hero-mini-card.is-active .hero-mini-num::after {
  content: '◆';
  position: absolute;
  font-size: 4px;
  color: var(--brand-accent);
  top: -8px;
  left: 0;
  animation: float-dot 3s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes float-dot {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50%       { transform: translateY(-10px) rotate(180deg); opacity: 0; }
}



/* ══════════════════════════════════════════════════════════
   FLOATING BRAND BUBBLES
══════════════════════════════════════════════════════════ */

/* Hero needs relative positioning to contain the floats */
.hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Individual floating pill */
.float-bubble {
  position: absolute;
  pointer-events: all;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 12px 20px;
  background: var(--fb-bg, #0a1628);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Box shadow with accent glow */
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 0 0 0px var(--fb-accent, #A8D8E8),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.4s ease;
  will-change: transform;
  /* JS sets transform: translate(x,y) for float position */
}

.float-bubble:hover {
  transform: scale(1.12) !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.5),
    0 0 24px 4px var(--fb-accent, #A8D8E8),
    inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: var(--fb-accent, #A8D8E8);
  z-index: 10;
}

/* Active state (JS toggled) */
.float-bubble.fb-active {
  box-shadow:
    0 12px 40px rgba(0,0,0,0.45),
    0 0 32px 6px var(--fb-accent, #A8D8E8),
    inset 0 1px 0 rgba(255,255,255,0.1);
  border-color: color-mix(in srgb, var(--fb-accent, #A8D8E8) 60%, transparent);
  animation: bubble-pulse 2.4s ease-in-out infinite;
}

@keyframes bubble-pulse {
  0%, 100% { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 20px 4px var(--fb-accent, #A8D8E8), inset 0 1px 0 rgba(255,255,255,0.1); }
  50%       { box-shadow: 0 12px 40px rgba(0,0,0,0.45), 0 0 42px 10px var(--fb-accent, #A8D8E8), inset 0 1px 0 rgba(255,255,255,0.1); }
}

/* Brand name */
.fb-name {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}

/* Platform meta */
.fb-meta {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fb-accent, #A8D8E8);
  text-transform: uppercase;
  opacity: 0.8;
}

/* Entry animation */
.float-bubble {
  opacity: 0;
  transition:
    opacity 0.6s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.float-bubble.fb-visible {
  opacity: 1;
}



/* ══════════════════════════════════════════════════════════
   WORK PANELS — Sticky scroll (reference-style)
══════════════════════════════════════════════════════════ */

/* Override old work-section styles — removed overflow:visible, tape uses overflow:hidden */
.work-section {
  background: #080807;
  padding: 0;
  overflow: hidden;
}

.work-header {
  padding: clamp(40px,5vw,64px) clamp(24px,5vw,72px) clamp(20px,3vw,36px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.work-scroll-hint {
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.work-panels {
  position: relative;
}

/* Each panel is tall enough to give scroll room */
.work-panel {
  position: relative;
  height: 200vh; /* scroll distance per panel */
}

/* The sticky inner — locks to viewport while parent scrolls */
.wp-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background: var(--wp-bg, #080807);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Noise grain */
.wp-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Radial glow from accent — top-right corner */
.wp-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--wp-accent, #A8D8E8), transparent 65%);
  opacity: 0.09;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.6s ease;
}

.work-panel.wp-in-view .wp-glow {
  opacity: 0.16;
}

/* Left content block */
.wp-content {
  position: relative;
  z-index: 5;
  padding: clamp(48px,6vw,80px) clamp(32px,5vw,72px);
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Entry animation */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.work-panel.wp-in-view .wp-content {
  opacity: 1;
  transform: translateY(0);
}

.wp-num {
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--wp-accent, #A8D8E8);
  opacity: 0.7;
}

.wp-platform {
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: -8px;
}

.wp-title {
  font-family: var(--font-display,'Clash Display',sans-serif);
  font-size: clamp(28px,3.5vw,48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

.wp-desc {
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: clamp(13px,1.2vw,15px);
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  max-width: 340px;
  margin: 0;
}

.wp-stats {
  display: flex;
  gap: 36px;
  margin-top: 4px;
}

.wp-stat-val {
  font-family: var(--font-display,'Clash Display',sans-serif);
  font-size: clamp(22px,2.8vw,36px);
  font-weight: 700;
  color: var(--wp-accent, #A8D8E8);
  letter-spacing: -0.02em;
  line-height: 1;
}

.wp-stat-lbl {
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: 4px;
}

.wp-badge {
  display: inline-block;
  font-family: var(--font-body,'Satoshi',sans-serif);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wp-accent, #A8D8E8);
  border: 1px solid var(--wp-accent, #A8D8E8);
  padding: 5px 14px;
  border-radius: 40px;
  width: fit-content;
  opacity: 0.7;
  margin-top: 4px;
}

/* THE GIANT WORDMARK — sits at bottom, bleeds off frame */
.wp-wordmark {
  position: absolute;
  bottom: -0.18em; /* bleeds below viewport edge */
  left: 0;
  right: 0;
  font-family: var(--font-display,'Clash Display',sans-serif);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.055);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: clamp(24px,4vw,60px);
  pointer-events: none;
  z-index: 2;
  /* Parallax driven by JS — translateY shifts as you scroll through panel */
  will-change: transform;
  /* Entry */
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.work-panel.wp-in-view .wp-wordmark {
  opacity: 1;
}

/* Thin accent line on left edge of sticky */
.wp-sticky::after {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 2px;
  background: var(--wp-accent, #A8D8E8);
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.4s ease, transform 0.8s cubic-bezier(0.16,1,0.3,1);
  z-index: 6;
}

.work-panel.wp-in-view .wp-sticky::after {
  opacity: 0.4;
  transform: scaleY(1);
}



/* ══════════════════════════════════════════════════════════
   HERO CLIENT TICKER — vertical scrolling names
══════════════════════════════════════════════════════════ */

.hero-client-ticker {
  position: absolute;
  right: clamp(24px, 4vw, 60px);
  top: 0;
  bottom: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hct-label {
  font-family: var(--font-body, 'Satoshi', sans-serif);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(0,0,0,0.3);
  text-transform: uppercase;
  margin-bottom: 16px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  align-self: flex-end;
}

/* Clipping window — shows ~5 items at once */
.hct-track {
  height: 280px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Fade top and bottom edges */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.hct-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  animation: ticker-scroll-up 12s linear infinite;
}

@keyframes ticker-scroll-up {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

.hct-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  justify-content: flex-end;
}

.hct-name {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.18);
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* The active item that's passing through center */
.hct-item.hct-active .hct-name {
  color: rgba(0,0,0,0.75);
}

.hct-dot {
  font-size: 5px;
  color: rgba(0,0,0,0.15);
  flex-shrink: 0;
}


/* ── Mobile: hide client ticker to prevent hero text overlap ── */
@media (max-width: 768px) {
  .hero-client-ticker {
    display: none !important;
  }
}
