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

:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --border: rgba(255,255,255,0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #a3e635;
  --accent-dim: rgba(163,230,53,0.15);
  --radius: 16px;
  --font: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:hover { color: var(--text); }

.btn {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #0a0a0b;
}

.btn--primary:hover { opacity: 0.9; }

.btn--outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
}

.btn--outline:hover { border-color: var(--muted); }

/* Hero */
.hero {
  padding: 120px 0 80px;
}

.hero__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Section head */
.section-head {
  margin-bottom: 48px;
}

.section-head__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-head__text {
  color: var(--muted);
  max-width: 480px;
}

/* Projects */
.projects {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.project-card--large {
  grid-row: span 2;
}

.project-card--wide {
  grid-column: span 2;
}

.project-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: hsl(var(--hue), 35%, 18%);
}

.project-card--large .project-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 320px;
}

.project-card--wide .project-card__media {
  aspect-ratio: 21/9;
}

.project-card__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover .project-card__media video {
  opacity: 1;
}

.project-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, hsl(var(--hue), 45%, 28%), hsl(var(--hue), 30%, 12%));
  transition: opacity 0.4s;
}

.project-card:hover .project-card__gradient {
  opacity: 0.3;
}

.project-card__body {
  padding: 20px 24px 24px;
}

.project-card__tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.project-card__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.project-card__body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Demo blocks */
.demos {
  padding-bottom: 80px;
}

.demo-block {
  margin-bottom: 100px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.demo-block__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}

.demo-block__num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--surface-2);
  line-height: 1;
  letter-spacing: -0.04em;
}

.demo-block__meta h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.demo-block__meta p {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 12px;
}

.demo-block__tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: 100px;
}

.demo-block__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
}

/* 01 Style tabs */
.style-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.style-tabs__btn {
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.style-tabs__btn.active,
.style-tabs__btn:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.style-tabs__player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

.style-tabs__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.style-tabs__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.style-tabs__label {
  font-size: 1.5rem;
  font-weight: 600;
}

.style-tabs__desc { color: var(--muted); font-size: 0.9rem; }

/* 02 Carousel */
.carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel__arrow:hover { background: var(--text); color: var(--bg); }

.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
  padding: 8px 0;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__card {
  flex: 0 0 220px;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/14;
  background: var(--surface-2);
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
  opacity: 0.6;
}

.carousel__card.active {
  opacity: 1;
  transform: scale(1.03);
}

.carousel__card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
}

.carousel__info span { font-size: 0.75rem; color: var(--muted); }

/* 03 Before/After */
.before-after {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  user-select: none;
}

.before-after__layer {
  position: absolute;
  inset: 0;
}

.before-after__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
}

.before-after__placeholder--before {
  background: linear-gradient(135deg, #3f3f46, #27272a);
  color: var(--muted);
}

.before-after__placeholder--after {
  background: linear-gradient(135deg, #4d7c0f, #a3e635);
  color: #0a0a0b;
}

.before-after__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.before-after__handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #0a0a0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.before-after__labels {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text);
  z-index: 1;
  pointer-events: none;
}

/* 04 Characters */
.characters {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}

.characters__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.characters__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: hsl(var(--hue), 50%, 25%);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  font-family: var(--font);
}

.characters__avatar.active {
  border-color: var(--accent);
  transform: scale(1.1);
}

.characters__stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

.characters__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.characters__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.characters__caption span { color: var(--muted); font-size: 0.9rem; }

/* 05 Moodboard */
.moodboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 140px);
  gap: 12px;
}

.moodboard__tile {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 40%, #000));
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.moodboard__tile::before {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  opacity: 0;
  background: rgba(0,0,0,0.4);
  transition: opacity 0.2s;
}

.moodboard__tile:hover::before { opacity: 1; }
.moodboard__tile:hover { transform: scale(1.02); }

.moodboard__tile--wide {
  grid-column: span 2;
}

.moodboard__modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moodboard__modal[hidden] { display: none; }

.moodboard__modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.9);
}

.moodboard__modal-content {
  position: relative;
  width: min(90vw, 800px);
  z-index: 1;
}

.moodboard__modal-content video {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--surface-2);
}

.moodboard__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.moodboard__modal-title {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* 06 Scroll story */
.scroll-story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.scroll-story__step {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  opacity: 0.4;
  transition: opacity 0.3s, background 0.3s;
  cursor: pointer;
}

.scroll-story__step.active {
  opacity: 1;
  background: var(--surface-2);
}

.scroll-story__step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.scroll-story__step p {
  font-size: 0.85rem;
  color: var(--muted);
}

.scroll-story__video-wrap {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

.scroll-story__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-story__scrub {
  width: 100%;
  margin-top: 24px;
  accent-color: var(--accent);
}

/* 07 Roulette */
.roulette {
  text-align: center;
}

.roulette__screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 24px;
}

.roulette__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roulette__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.6);
  padding: 6px 12px;
  border-radius: 100px;
}

.roulette__title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 2rem;
  font-weight: 700;
}

.roulette__btn { min-width: 260px; }

/* 08 Pipeline */
.pipeline__bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pipeline__step {
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pipeline__step.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.pipeline__line {
  width: 24px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.pipeline__preview {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

.pipeline__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pipeline__text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* 09 Split screen */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
}

.split-screen__half {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.split-screen__half.active { opacity: 1; }

.split-screen__half video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-screen__half span {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-weight: 600;
  font-size: 1.1rem;
}

.split-screen__divider {
  background: var(--accent);
}

/* 10 Phone feed */
.phone-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.phone-feed__device {
  width: 280px;
  height: 520px;
  background: #000;
  border-radius: 36px;
  border: 3px solid #333;
  position: relative;
  overflow: hidden;
}

.phone-feed__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.phone-feed__scroll {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.phone-feed__scroll::-webkit-scrollbar { display: none; }

.phone-feed__reel {
  height: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.phone-feed__reel-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, hsl(var(--hue), 40%, 20%), hsl(var(--hue), 50%, 35%));
}

.phone-feed__reel-tag {
  position: relative;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.phone-feed__reel p {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
}

.phone-feed__dots {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.phone-feed__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.phone-feed__dots span.active {
  background: var(--accent);
  height: 20px;
  border-radius: 3px;
}

.phone-feed__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Demos divider */
.demos__divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 60px 0 80px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.demos__divider::before,
.demos__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.demo-block--creative .demo-block__num {
  color: var(--accent);
  opacity: 0.35;
}

/* 11 Brief chat */
.brief-chat {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  min-height: 360px;
}

.brief-chat__panel {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.brief-chat__messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief-chat__msg {
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 12px 12px 12px 4px;
  max-width: 90%;
}

.brief-chat__msg--bot {
  background: var(--surface);
  color: var(--text);
}

.brief-chat__msg--user {
  background: var(--accent-dim);
  color: var(--accent);
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
}

.brief-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-chat__chips button {
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}

.brief-chat__chips button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.brief-chat__preview {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16/9;
}

.brief-chat__preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-chat__generating {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brief-chat__dots-anim::after {
  content: '...';
  animation: dots 1.2s steps(4) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

.brief-chat__result {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.9rem;
}

/* 12 Mixer */
.mixer__screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 20px;
}

.mixer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mixer__video--b {
  opacity: 0.5;
}

.mixer__label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.6);
  padding: 8px 14px;
  border-radius: 100px;
}

.mixer__controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mixer__controls label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.mixer__controls input {
  flex: 1;
  accent-color: var(--accent);
}

/* 13 TV zapper */
.tv-zapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.tv-zapper__screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  border: 8px solid #222;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.8);
}

.tv-zapper__static {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.03) 2px,
    rgba(255,255,255,0.03) 4px
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.1s;
}

.tv-zapper__screen.is-switching .tv-zapper__static {
  opacity: 1;
  animation: tvNoise 0.3s steps(4);
}

@keyframes tvNoise {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -2px); }
}

.tv-zapper__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tv-zapper__channel {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent);
  z-index: 1;
}

.tv-zapper__remote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface-2);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.tv-zapper__btn {
  font-family: var(--font);
  font-size: 0.85rem;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}

.tv-zapper__btn:hover { background: var(--text); color: var(--bg); }

.tv-zapper__btn--power {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}

/* 14 Storyboard */
.storyboard__frames {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.storyboard__frame {
  flex: 1;
  aspect-ratio: 16/10;
  border-radius: 8px;
  background: var(--surface-2);
  border: 2px solid transparent;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  transition: all 0.3s;
  cursor: pointer;
}

.storyboard__frame.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.storyboard__player {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 16px;
}

.storyboard__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storyboard__scrub {
  width: 100%;
  accent-color: var(--accent);
}

/* 15 Drop brief */
.drop-brief {
  min-height: 320px;
  position: relative;
}

.drop-brief__zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 60px 32px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drop-brief__zone:hover,
.drop-brief.is-dragover .drop-brief__zone {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.drop-brief__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.drop-brief__zone p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.drop-brief__zone span {
  font-size: 0.85rem;
  color: var(--muted);
}

.drop-brief__result {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.drop-brief__result video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.drop-brief__result p {
  padding: 16px 20px;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 500;
}

/* 16 Hotspots */
.hotspots {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.hotspots__stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}

.hotspots__stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspots__point {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: rgba(163,230,53,0.25);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: hotspotPulse 2s ease infinite;
  transition: background 0.2s, transform 0.2s;
}

.hotspots__point.active,
.hotspots__point:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.15);
}

@keyframes hotspotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(163,230,53,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(163,230,53,0); }
}

.hotspots__info {
  padding: 24px;
  background: var(--surface-2);
  border-radius: 12px;
}

.hotspots__title {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.hotspots__desc {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Vote & Footer */
.vote {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.vote h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.vote p {
  color: var(--muted);
  margin-bottom: 24px;
}

.vote__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vote__list li::before {
  content: '→ ';
  color: var(--accent);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

/* Lookbook section */
.demos__intro {
  color: var(--muted);
  max-width: 640px;
  margin: -40px 0 60px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.demo-block--lookbook .demo-block__num {
  color: #c084fc;
  opacity: 0.4;
}

.demo-block__content--flush {
  padding: 0;
  overflow: hidden;
}

/* 17 Editorial */
.lb-editorial {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
}

.lb-editorial__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
  background: linear-gradient(135deg, hsl(var(--hue), 40%, 18%), hsl(var(--hue), 30%, 8%));
}

.lb-editorial__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.lb-editorial__slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.lb-editorial__copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.lb-editorial__copy span {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.lb-editorial__copy h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 4px 0;
}

.lb-editorial__copy p { color: var(--muted); }

.lb-editorial__nav {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.lb-editorial__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.5);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
}

.lb-editorial__counter {
  font-size: 0.75rem;
  color: var(--muted);
}

/* 18 Flip */
.lb-flip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lb-flip__card {
  aspect-ratio: 3/4;
  perspective: 800px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
}

.lb-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.lb-flip__card.is-flipped .lb-flip__inner {
  transform: rotateY(180deg);
}

.lb-flip__front,
.lb-flip__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}

.lb-flip__front {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, hsl(var(--hue), 45%, 28%), hsl(var(--hue), 30%, 12%));
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.lb-flip__back {
  transform: rotateY(180deg);
  background: var(--surface-2);
}

.lb-flip__back video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-flip__hint {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* 19 Collections */
.lb-collections__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lb-collections__filters button {
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.lb-collections__filters button.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.lb-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.lb-collections__item {
  position: relative;
  aspect-ratio: 4/5;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: linear-gradient(160deg, hsl(var(--hue), 40%, 22%), hsl(var(--hue), 25%, 10%));
  transition: opacity 0.3s, transform 0.3s;
  font-family: var(--font);
}

.lb-collections__item.is-hidden {
  display: none;
}

.lb-collections__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.lb-collections__item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 20 Polaroid */
.lb-polaroid {
  position: relative;
  height: 380px;
  background: var(--surface-2);
  border-radius: 12px;
}

.lb-polaroid__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--rot));
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
  transition: transform 0.3s, z-index 0s;
  z-index: 1;
}

.lb-polaroid__item:hover,
.lb-polaroid__item.is-active {
  transform: rotate(0deg) scale(1.08);
  z-index: 10;
}

.lb-polaroid__frame {
  width: 140px;
  padding: 10px 10px 28px;
  background: #f4f4f5;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lb-polaroid__frame video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, hsl(var(--hue), 40%, 35%), hsl(var(--hue), 30%, 20%));
}

.lb-polaroid__item > span {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #18181b;
  font-weight: 600;
}

.lb-polaroid__lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-polaroid__lightbox[hidden] { display: none; }

.lb-polaroid__lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}

.lb-polaroid__lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(90vw, 640px);
}

.lb-polaroid__lightbox-inner video {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.lb-polaroid__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lb-polaroid__lightbox-inner p {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* 21 Stack */
.lb-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lb-stack__pile {
  position: relative;
  width: 280px;
  height: 380px;
}

.lb-stack__card {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, hsl(var(--hue), 40%, 22%), hsl(var(--hue), 25%, 8%));
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: transform 0.5s, opacity 0.5s;
  transform: translateY(calc(var(--i) * 8px)) scale(calc(1 - var(--i) * 0.04));
  z-index: calc(10 - var(--i));
}

.lb-stack__card.is-out {
  transform: translate(120%, -20%) rotate(18deg);
  opacity: 0;
}

.lb-stack__card video {
  width: 100%;
  height: 75%;
  object-fit: cover;
}

.lb-stack__card h4 {
  padding: 16px 20px;
  font-size: 1.1rem;
}

/* 22 Film */
.lb-film {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-film__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.lb-film__strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  flex: 1;
  padding: 24px 0;
  background: repeating-linear-gradient(
    90deg,
    #1a1a1a 0px, #1a1a1a 12px,
    #0a0a0b 12px, #0a0a0b 24px
  );
  border-radius: 8px;
  scrollbar-width: none;
}

.lb-film__strip::-webkit-scrollbar { display: none; }

.lb-film__frame {
  flex: 0 0 200px;
  scroll-snap-align: center;
  margin: 0 8px;
  border: 4px solid #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.3s, transform 0.3s;
  background: linear-gradient(180deg, hsl(var(--hue), 35%, 20%), hsl(var(--hue), 25%, 10%));
}

.lb-film__frame.active {
  opacity: 1;
  transform: scale(1.05);
}

.lb-film__frame video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.lb-film__frame span {
  display: block;
  padding: 8px;
  font-size: 0.7rem;
  text-align: center;
  background: #111;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav { display: none; }

  .lb-flip { grid-template-columns: repeat(2, 1fr); }
  .lb-collections__grid { grid-template-columns: repeat(2, 1fr); }
  .lb-polaroid { height: 480px; }
  .lb-film__arrow { display: none; }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .project-card--large,
  .project-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-card--large .project-card__media {
    min-height: 200px;
    aspect-ratio: 4/3;
  }

  .brief-chat,
  .tv-zapper,
  .hotspots {
    grid-template-columns: 1fr;
  }

  .tv-zapper__remote {
    flex-direction: row;
    justify-content: center;
  }

  .storyboard__frames {
    flex-wrap: wrap;
  }

  .storyboard__frame {
    flex: 1 1 30%;
  }

  .demo-block__meta {
    grid-template-columns: 1fr;
  }

  .demo-block__num { font-size: 2rem; }

  .characters {
    grid-template-columns: 1fr;
  }

  .characters__list {
    flex-direction: row;
    justify-content: center;
  }

  .scroll-story {
    grid-template-columns: 1fr;
  }

  .moodboard {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .moodboard__tile--wide {
    grid-column: span 2;
  }

  .carousel__arrow { display: none; }

  .pipeline__line { display: none; }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
  }
}