/* ==========================================================================
   CRISPY AGENCY — Pop-Luxury Editorial Design System
   Gstaad · Paris · Madrid
   Faithful to Crispy! Instagram DNA + Living Chromatic Mood Engine
   ========================================================================== */

@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

:root {
  /* Core Signature Crispy Colors */
  --crispy-pink: #ee1c8e;
  --crispy-pink-vivid: #ff2ea6;
  --crispy-pink-deep: #c91276;
  --crispy-yellow: #eff726;
  --crispy-yellow-soft: #f6fb82;
  --crispy-red: #e81e4f;
  --crispy-mint: #1eb467;

  /* Living Chromatic Mood 1: Alpine Day (Default) */
  --bg-canvas: #faf7f0;
  --bg-paper: #f3efe6;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f0ede8;
  --bg-elevated: #ffffff;
  --grid-line: rgba(24, 19, 26, 0.065);
  --border-subtle: rgba(24, 19, 26, 0.1);
  --border-strong: rgba(24, 19, 26, 0.18);

  --ink-primary: #18131a;
  --ink-secondary: #4e4551;
  --ink-muted: #706674;
  --ink-on-pink: #ffffff;
  --ink-on-yellow: #d91480;

  --ribbon-yellow: rgba(239, 247, 38, 0.42);
  --ribbon-pink: rgba(238, 28, 142, 0.17);
  --ambient-glow: rgba(238, 28, 142, 0.09);
  --ambient-glow-2: rgba(239, 247, 38, 0.16);

  --shadow-sm: 0 4px 16px rgba(24, 19, 26, 0.05);
  --shadow-md: 0 14px 36px rgba(24, 19, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(24, 19, 26, 0.12);
  --shadow-pink: 0 12px 30px rgba(238, 28, 142, 0.24);

  /* Typography */
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-editorial: "Instrument Serif", Georgia, serif;

  /* Layout & Radii */
  --container-max: 1240px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --header-h: 76px;
}

/* Living Chromatic Mood 2: Madrid Golden Hour */
html[data-mood="golden"] {
  --crispy-pink: #e51979;
  --crispy-pink-vivid: #ff2b8d;
  --crispy-yellow: #f9ec2c;
  --bg-canvas: #fdf4e8;
  --bg-paper: #f7ead8;
  --bg-surface: #fffbf5;
  --bg-surface-alt: #f4e6d6;
  --bg-elevated: #fffcf7;
  --grid-line: rgba(112, 62, 24, 0.075);
  --border-subtle: rgba(94, 52, 26, 0.12);
  --border-strong: rgba(94, 52, 26, 0.22);
  --ink-primary: #1f1417;
  --ink-secondary: #594449;
  --ink-muted: #7c6268;
  --ribbon-yellow: rgba(250, 224, 62, 0.45);
  --ribbon-pink: rgba(240, 88, 134, 0.2);
  --ambient-glow: rgba(249, 134, 68, 0.14);
  --ambient-glow-2: rgba(249, 236, 44, 0.22);
}

/* Living Chromatic Mood 3: Paris Electric Dusk */
html[data-mood="dusk"] {
  --crispy-pink: #ff34b1;
  --crispy-pink-vivid: #ff57c0;
  --crispy-pink-deep: #ff34b1;
  --crispy-yellow: #f3fa28;
  --bg-canvas: #131018;
  --bg-paper: #191520;
  --bg-surface: #1e1927;
  --bg-surface-alt: #16121d;
  --bg-elevated: #241e2f;
  --grid-line: rgba(255, 255, 255, 0.055);
  --border-subtle: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.22);
  --ink-primary: #faf6f0;
  --ink-secondary: #cec5d4;
  --ink-muted: #9f94a8;
  --ink-on-yellow: #b80c6b;
  --ribbon-yellow: rgba(243, 250, 40, 0.14);
  --ribbon-pink: rgba(255, 52, 177, 0.18);
  --ambient-glow: rgba(255, 52, 177, 0.16);
  --ambient-glow-2: rgba(243, 250, 40, 0.1);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.45s ease, color 0.35s ease;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--crispy-pink);
  outline-offset: 3px;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

/* Accessibility Utilities */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--crispy-pink);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Crispy Notebook Paper Grid Background (Instagram Slide 1 DNA) */
.paper-grid-bg {
  background-color: var(--bg-paper);
  background-image:
    radial-gradient(circle at 12% 18%, var(--ambient-glow), transparent 46%),
    radial-gradient(circle at 86% 78%, var(--ambient-glow-2), transparent 44%),
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
}

.hero.paper-grid-bg::before {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 24%, var(--ambient-glow), transparent 44%),
    radial-gradient(circle at 82% 76%, var(--ambient-glow-2), transparent 44%);
  opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  .hero.paper-grid-bg::before {
    animation: chromatic-breathe 16s ease-in-out infinite alternate;
  }
}

@keyframes chromatic-breathe {
  0% { opacity: 0.55; transform: translate3d(-2%, -1%, 0) scale(1); }
  100% { opacity: 1; transform: translate3d(2%, 2%, 0) scale(1.06); }
}

/* Scroll Progress Lightning Bar */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--crispy-pink), var(--crispy-yellow), var(--crispy-pink-vivid));
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .scroll-progress-fill {
      animation: grow-progress linear both;
      animation-timeline: scroll(root block);
    }

    @keyframes grow-progress {
      from { transform: scaleX(0); }
      to { transform: scaleX(1); }
    }
  }
}

/* ==========================================================================
   BUTTONS & SHARED UI PRIMITIVES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.72rem 1.35rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.12rem 2.2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--crispy-pink);
  color: var(--ink-on-pink);
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  background: var(--crispy-pink-vivid);
  box-shadow: 0 16px 34px rgba(238, 28, 142, 0.34);
}

.btn-primary:hover .mini-bolt {
  color: var(--crispy-yellow);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-2px);
  }
  .btn:active {
    transform: translateY(0) scale(0.98);
  }
  .btn-primary:hover .mini-bolt {
    animation: mini-spark 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--ink-primary);
  border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--crispy-pink);
  color: var(--crispy-pink);
  background: rgba(238, 28, 142, 0.06);
}

.mini-bolt {
  width: 11px;
  height: 19px;
  flex: none;
  transition: color 0.2s ease;
}

/* ==========================================================================
   ANIMATED SVG CRISPY BOLT (!⚡)
   ========================================================================== */
.crispy-bolt-svg {
  overflow: visible;
  flex: none;
}

.crispy-bolt-svg .bolt-yellow {
  fill: var(--crispy-yellow);
}

.crispy-bolt-svg .bolt-pink {
  fill: var(--crispy-pink);
}

.crispy-bolt-svg .bolt-dot-fill {
  fill: var(--crispy-pink);
}

.crispy-bolt-svg .bolt-dot-ring {
  fill: none;
  stroke: var(--crispy-yellow);
  stroke-width: 4.5;
}

.crispy-bolt-svg .bolt-sparks {
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .crispy-bolt-svg.is-striking .bolt-shaft {
    transform-origin: 55px 160px;
    animation: bolt-strike 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .crispy-bolt-svg.is-striking .bolt-dot {
    transform-origin: 38px 372px;
    animation: dot-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s both;
  }

  .crispy-bolt-svg.is-striking .bolt-sparks {
    animation: spark-flash 0.55s ease-out 0.12s both;
  }

  .mini-bolt.is-pulsing {
    animation: gentle-zap 3.2s ease-in-out infinite;
  }
}

@keyframes bolt-strike {
  0% { opacity: 0; transform: translate(12px, -48px) scale(0.75) rotate(8deg); }
  55% { opacity: 1; transform: translate(-2px, 6px) scale(1.06) rotate(-3deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}

@keyframes dot-pop {
  0% { opacity: 0; transform: scale(0.2); }
  70% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes spark-flash {
  0% { opacity: 0; transform: scale(0.8); }
  35% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.25); }
}

@keyframes mini-spark {
  0% { transform: scale(1) rotate(0); }
  35% { transform: scale(1.3) rotate(-12deg); }
  70% { transform: scale(0.95) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

@keyframes gentle-zap {
  0%, 84%, 100% { transform: scale(1) rotate(0); }
  88% { transform: scale(1.22) rotate(-9deg); }
  94% { transform: scale(0.96) rotate(4deg); }
}

/* ==========================================================================
   STICKY HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg-canvas) 84%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  flex: none;
  padding: 0.25rem 0;
}

.brand-wordmark {
  height: 29px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark--white {
  display: none;
}

html[data-mood="dusk"] .brand-wordmark--color {
  display: none;
}

html[data-mood="dusk"] .brand-wordmark--white {
  display: block;
}

.crispy-bolt-svg--logo {
  height: 36px;
  width: auto;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--crispy-yellow);
  box-shadow: 0 1px 0 var(--crispy-pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--crispy-pink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Clickable Instagram Brand Icon in Header (Hot Pink + Neon Yellow Offset) */
.header-ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  flex: none;
  transition: border-color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.header-ig-btn:hover {
  border-color: var(--crispy-pink);
  box-shadow: 0 6px 18px rgba(238, 28, 142, 0.18);
}

.ig-logo-svg {
  width: 22px;
  height: 22px;
  overflow: visible;
}

.ig-logo-svg .ig-layer-yellow,
.ig-logo-svg .ig-layer-pink {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .header-ig-btn:hover {
    transform: translateY(-2px);
  }
  .header-ig-btn:hover .ig-layer-yellow {
    transform: translate(-2.6px, 2.4px);
  }
  .header-ig-btn:hover .ig-layer-pink {
    transform: translate(0.7px, -0.7px);
  }
}

.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.3s ease;
}

.mood-pill:hover {
  border-color: var(--crispy-pink);
}

.mood-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--crispy-yellow);
  box-shadow: 0 0 0 2px var(--crispy-pink);
}

html[data-mood="golden"] .mood-dot {
  background: #ff9c42;
}

html[data-mood="dusk"] .mood-dot {
  background: var(--crispy-pink);
  box-shadow: 0 0 10px var(--crispy-pink);
}

.mood-pill .mini-bolt {
  width: 8px;
  height: 14px;
  color: var(--crispy-pink);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.42rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-muted);
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--crispy-pink);
}

.lang-code.is-active {
  color: var(--crispy-pink);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  cursor: pointer;
  padding: 0 10px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.mobile-nav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-block: 1.25rem 1.5rem;
}

.mobile-nav-inner a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.2rem) clamp(4rem, 7vw, 6.2rem);
  overflow: hidden;
}

.hero-corner-burst {
  position: absolute;
  top: -8px;
  right: -8px;
  width: clamp(130px, 15vw, 220px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}

.hero-sparkle {
  position: absolute;
  bottom: 2.5rem;
  left: clamp(1rem, 4vw, 3.5rem);
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-sparkle {
    animation: sparkle-float 5.5s ease-in-out infinite;
  }
}

@keyframes sparkle-float {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-9px) scale(1.08) rotate(10deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem 0.42rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.eyebrow-divider {
  color: var(--crispy-pink);
}

.live-clock {
  color: var(--crispy-pink);
  font-variant-numeric: tabular-nums;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--crispy-pink);
}

.hero-line {
  display: block;
}

.hero-highlight-row {
  display: block;
  margin-top: 0.35rem;
}

/* Signature Tilted Acid-Yellow Highlighter Pill (Slide 1 DNA) */
.crispy-pill-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
  padding: 0.08em 0.48em 0.14em;
  border-radius: 0.38em;
  transform: rotate(-2deg);
  box-shadow: 0 10px 26px rgba(239, 247, 38, 0.35);
}

.crispy-pill-highlight--sm {
  font-size: inherit;
  padding: 0.04em 0.38em 0.1em;
}

.crispy-bolt-svg--inline {
  height: 0.84em;
  width: auto;
  margin-left: 0.05em;
}

.hero-annotation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.curly-arrow-svg {
  width: 96px;
  height: auto;
  flex: none;
}

.hero-italic-note {
  margin: 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  color: var(--crispy-pink);
  transform: rotate(2deg);
  line-height: 1.1;
}

.hero-lead {
  margin: 0 0 1.85rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--ink-secondary);
}

.hero-lead strong {
  color: var(--ink-primary);
  font-weight: 700;
}

.hero-lead em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.22em;
  color: var(--crispy-pink);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.9rem;
}

.hero-team-strip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--bg-paper);
  box-shadow: var(--shadow-sm);
}

.avatar-stack img + img {
  margin-left: -11px;
}

.hero-team-caption {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.35;
}

.hero-team-caption strong {
  color: var(--ink-primary);
}

/* Right Hero Visual Stage */
.hero-visual-col {
  position: relative;
  padding-bottom: 3.6rem;
}

.hero-stage-card {
  position: relative;
}

.hero-stage-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #efe6dc;
  border: 3px solid var(--bg-surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.hero-stage-img,
.hero-stage-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-stage-media.is-playing .hero-stage-video {
  opacity: 1;
}

.stage-top-bar {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 3;
}

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 19, 26, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crispy-yellow);
  box-shadow: 0 0 8px var(--crispy-yellow);
}

.stage-motion-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(24, 19, 26, 0.74);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.stage-motion-btn:hover,
.stage-motion-btn.is-active {
  background: var(--crispy-pink);
  border-color: var(--crispy-yellow);
}

/* Signature Manifesto Collage Sticker (Instagram Slide 3 Homage) */
.manifesto-sticker {
  position: absolute;
  left: -1.2rem;
  bottom: -2.8rem;
  z-index: 4;
  background: #17131a;
  color: #f6f1e9;
  padding: 1rem 1.25rem 1.15rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--bg-surface);
  max-width: 315px;
  transform: rotate(-1.6deg);
}

.manifesto-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.manifesto-hot {
  color: var(--crispy-red);
}

.manifesto-box {
  background: #f6f1e9;
  color: var(--crispy-red);
  padding: 0.05rem 0.45rem;
  border-radius: 4px;
}

.manifesto-tape {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  background: var(--crispy-red);
  color: #ffffff;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.1;
  padding: 0.22rem 0.85rem;
  transform: rotate(-1.5deg);
}

.retro-cursor-svg {
  position: absolute;
  right: -13px;
  bottom: -14px;
  width: 21px;
  height: 25px;
}

/* Floating Founder Polaroid */
.hero-polaroid {
  position: absolute;
  right: -0.6rem;
  bottom: -0.5rem;
  z-index: 4;
  margin: 0;
  width: 152px;
  background: var(--bg-surface);
  padding: 0.45rem 0.45rem 0.65rem;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-subtle);
  transform: rotate(3.5deg);
}

.hero-polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.hero-polaroid figcaption {
  padding-top: 0.42rem;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hero-polaroid strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--ink-primary);
}

.hero-polaroid span {
  font-size: 0.68rem;
  color: var(--crispy-pink);
  font-weight: 600;
}

/* ==========================================================================
   KINETIC MARQUEE BAND (WCAG 2.2.2 Pause/Play)
   ========================================================================== */
.marquee-band {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
  border-block: 1.5px solid rgba(238, 28, 142, 0.22);
  overflow: hidden;
  padding-block: 0.85rem;
}

.marquee-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  padding-right: 1.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.marquee-bolt {
  width: 11px;
  height: 20px;
  flex: none;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee-scroll 30s linear infinite;
  }

  .marquee-track.is-paused {
    animation-play-state: paused;
  }
}

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

.marquee-control {
  position: relative;
  z-index: 2;
  margin-right: 1rem;
  margin-left: 0.5rem;
  padding: 0.34rem 0.82rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-on-yellow);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-on-yellow);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  flex: none;
}

.marquee-control:hover {
  background: var(--ink-on-yellow);
  color: var(--crispy-yellow);
}

/* ==========================================================================
   SHARED SECTION STYLING + CRISPY STACKED PILL HEADERS
   ========================================================================== */
.section {
  position: relative;
  padding-block: clamp(4.2rem, 8vw, 7.2rem);
  overflow: hidden;
}

.ribbon-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .ribbon-stroke {
    animation: ribbon-drift 14s ease-in-out infinite alternate;
  }
  .ribbon-stroke--delay {
    animation-delay: -5s;
  }
}

@keyframes ribbon-drift {
  from { transform: translateY(0px); }
  to { transform: translateY(14px); }
}

/* Stacked Acid-Yellow Rounded Highlighter Bars (Exact Slide 2 & 4 Homage) */
.pill-heading-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  margin-bottom: 1.4rem;
}

.pill-heading-bar {
  display: inline-block;
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  padding: 0.12em 0.56em 0.14em 0.36em;
  border-radius: 10px 999px 999px 10px;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
  flex-wrap: wrap;
}

.section-intro-note {
  margin: 0;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 1: ABOUT US + FOUNDER SPOTLIGHT
   ========================================================================== */
.section-about {
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-statement {
  margin: 0 0 1.4rem;
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.42;
  color: var(--crispy-pink);
  font-weight: 500;
}

.about-statement em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.18em;
  font-weight: 400;
}

.about-statement--secondary {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--ink-primary);
}

.about-pillars {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.15rem;
  border-top: 1.5px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.pillar-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.86rem;
}

.pillar-item h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.pillar-item p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

/* Founder Couture Card */
.founder-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.founder-media-wrap {
  position: relative;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #e5e7ec;
}

.founder-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.founder-bolt-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 19, 26, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.founder-quote-box {
  padding: 1.5rem 1.6rem 1.65rem;
}

.founder-quote-box blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.38;
  color: var(--ink-primary);
}

.founder-sig {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.founder-sig strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink-primary);
}

.founder-sig span {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.ig-chip {
  padding: 0.36rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(238, 28, 142, 0.1);
  color: var(--crispy-pink);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ig-chip:hover {
  background: var(--crispy-pink);
  color: #fff;
}

/* ==========================================================================
   SECTION 2: OUR SERVICES
   ========================================================================== */
.section-services {
  background: var(--bg-surface-alt);
}

.services-tagline {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--crispy-pink);
  letter-spacing: -0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.service-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card--featured {
  background: linear-gradient(135deg, var(--bg-surface) 0%, color-mix(in srgb, var(--crispy-yellow) 16%, var(--bg-surface)) 100%);
  border-color: rgba(238, 28, 142, 0.25);
}

.service-card:hover {
  border-color: var(--crispy-pink);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-4px);
  }
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
}

.service-bolt {
  width: 14px;
  height: 24px;
  color: var(--crispy-pink);
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.service-card:hover .service-bolt {
  opacity: 1;
  transform: scale(1.18) rotate(-8deg);
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.service-card p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-secondary);
  flex: 1;
}

.service-tags {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tags li {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
}

.service-brief-link {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--crispy-pink);
  cursor: pointer;
}

.service-brief-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SECTION 3: OUR 4 WORLDS
   ========================================================================== */
.section-worlds {
  background: var(--bg-surface);
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.world-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-canvas);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.world-card:hover {
  border-color: var(--crispy-pink);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: no-preference) {
  .world-card:hover {
    transform: translateY(-4px);
  }
}

.world-media {
  position: relative;
  aspect-ratio: 4 / 4.35;
  overflow: hidden;
  background: #ece5da;
}

.world-hover-bolt {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(24, 19, 26, 0.78);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7) rotate(-14deg);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.world-hover-bolt svg {
  width: 14px;
  height: 24px;
}

.world-card:hover .world-hover-bolt,
.world-card:focus-visible .world-hover-bolt {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.world-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  .world-card:hover .world-media img {
    transform: scale(1.045);
  }
}

.world-index {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-sm);
}

.world-body {
  padding: 1.25rem 1.25rem 1.4rem;
}

.world-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.world-body p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 4: THE TEAM (Vanina, Sophia + AI Coworkers Matteo & Chloé)
   ========================================================================== */
.team-subhead {
  margin: 0.5rem 0 0;
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--ink-secondary);
}

.team-subhead strong {
  color: var(--ink-primary);
}

.team-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.dot-real {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--crispy-pink);
}

.spark-ai {
  color: var(--ink-on-yellow);
  background: var(--crispy-yellow);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.member-card--ai {
  border-color: color-mix(in srgb, var(--crispy-yellow) 65%, var(--border-subtle));
}

.member-card:hover {
  border-color: var(--crispy-pink);
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: no-preference) {
  .member-card:hover {
    transform: translateY(-4px);
  }
}

.member-media-frame {
  position: relative;
  aspect-ratio: 4 / 4.75;
  overflow: hidden;
  background: #ede6dc;
}

.member-img,
.member-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.member-img--portrait {
  object-position: center 15%;
  opacity: 1;
}

.member-img--desk {
  object-position: center 45%;
  opacity: 0;
}

.member-video {
  object-position: center 45%;
  opacity: 0;
  pointer-events: none;
}

.member-media-frame[data-view="desk"] .member-img--portrait { opacity: 0; }
.member-media-frame[data-view="desk"] .member-img--desk { opacity: 1; }

.member-media-frame[data-view="live"] .member-img--portrait { opacity: 0; }
.member-media-frame[data-view="live"] .member-img--desk { opacity: 1; }
.member-media-frame[data-view="live"] .member-video { opacity: 1; }

.member-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  z-index: 3;
}

.badge-type {
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.badge-type--real {
  background: var(--crispy-pink);
  color: #fff;
}

.badge-type--ai {
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
}

.badge-city {
  padding: 0.26rem 0.62rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 19, 26, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
}

/* Interactive Portrait / Studio / Live Switcher inside each card */
.member-view-switch {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  padding: 0.24rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 19, 26, 0.74);
  backdrop-filter: blur(10px);
}

.view-pill {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.34rem 0.35rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.view-pill:hover {
  color: #fff;
}

.view-pill.is-active {
  background: var(--crispy-yellow);
  color: var(--ink-on-yellow);
}

.member-info {
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.member-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.member-info h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.ai-engine-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(238, 28, 142, 0.1);
  color: var(--crispy-pink);
}

.member-role {
  margin: 0.22rem 0 0.7rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--crispy-pink);
}

.member-bio {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  flex: 1;
}

.member-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.member-meta span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.58rem;
  border-radius: var(--radius-pill);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
}

/* ==========================================================================
   SECTION 5: ACCESSIBLE TABBED STUDIO SHOWCASE (Modern Tabs Guidance)
   ========================================================================== */
.section-studio {
  background: var(--bg-surface);
}

.section-header-split > * {
  min-width: 0;
}

.studio-tabs-shell {
  min-width: 0;
}

.studio-tablist-scroller {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  border-bottom: 1.5px solid var(--border-subtle);
  margin-bottom: 1.5rem;
  --fade-size: 2.5rem;
  --fade-dir: right;
  --fade-start-pos: 0;
  --fade-end-pos: 100%;
  scroll-padding-inline: var(--fade-size);
  mask:
    linear-gradient(black, black) no-clip subtract,
    linear-gradient(to var(--fade-dir), black, transparent) var(--fade-start-pos) 0 / var(--fade-start) 100% no-repeat no-clip,
    linear-gradient(to var(--fade-dir), transparent, black) var(--fade-end-pos) 0 / var(--fade-end) 100% no-repeat no-clip;
}

.studio-tablist-scroller::-webkit-scrollbar {
  display: none;
}

@supports (animation-timeline: scroll(self inline)) {
  .studio-tablist-scroller {
    animation: reveal-fade-start linear both, hide-fade-end linear both;
    animation-timeline: scroll(self inline);
    animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
  }

  @keyframes reveal-fade-start {
    to { --fade-start: var(--fade-size); }
  }
  @keyframes hide-fade-end {
    from { --fade-end: var(--fade-size); }
  }
}

.studio-tablist-scroller [role="tab"] {
  position: relative;
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: transparent;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.studio-tablist-scroller [role="tab"]:hover {
  color: var(--ink-primary);
}

/* Mandatory non-color active indicator drawn via border on pseudo-element */
.studio-tablist-scroller [role="tab"][aria-selected="true"] {
  color: var(--crispy-pink);
}

.studio-tablist-scroller [role="tab"][aria-selected="true"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  border-block-end: 3.5px solid var(--crispy-pink);
}

/* Zero padding/border/margin on [role="tabpanel"] itself (hidden="until-found" rule!) */
.studio-panels-stack {
  display: grid;
}

.studio-panels-stack > [role="tabpanel"] {
  grid-area: 1 / 1;
}

.studio-panel-card {
  background: var(--bg-canvas);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.studio-panel-media {
  position: relative;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: #ebe4db;
}

.studio-panel-media img,
.studio-panel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-panel-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.studio-panel-media.is-playing .studio-panel-video {
  opacity: 1;
}

.stage-motion-btn--corner {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
}

.studio-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem;
  background: var(--bg-surface-alt);
}

.studio-diptych {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0.9rem;
  background: var(--bg-surface-alt);
}

.studio-diptych .triptych-item {
  aspect-ratio: 4 / 4.8;
}

.triptych-item {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 9 / 13.2;
}

.triptych-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.triptych-item figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.72rem;
  border-radius: var(--radius-pill);
  background: rgba(24, 19, 26, 0.76);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
}

.studio-panel-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 1.8rem 1.75rem;
  flex-wrap: wrap;
}

.studio-city-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--crispy-pink);
  margin-bottom: 0.35rem;
}

.studio-panel-meta h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.studio-panel-meta p {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.studio-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-specs span {
  padding: 0.36rem 0.78rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.studio-footnote {
  margin-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.studio-credit-link {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--crispy-pink);
}

.studio-credit-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SECTION 6: FINAL CTA & FOOTER
   ========================================================================== */
.section-cta {
  text-align: center;
  border-top: 1.5px solid var(--border-subtle);
}

.cta-inner {
  max-width: 760px;
}

.cta-bolt-emblem {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.crispy-bolt-svg--cta {
  height: 76px;
  width: auto;
}

.cta-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 4.6vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.55rem;
}

.cta-sub {
  margin: 0 auto 2rem;
  max-width: 48ch;
  font-size: 1.08rem;
  color: var(--ink-secondary);
}

.cta-action-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.curly-arrow-svg--cta {
  width: 82px;
}

.cta-direct-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.cta-direct-links a:hover {
  color: var(--crispy-pink);
}

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1.5px solid var(--border-subtle);
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo {
  height: 62px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0;
  max-width: 38ch;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.footer-col h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crispy-pink);
}

.footer-col a:hover {
  color: var(--crispy-pink);
}

.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.footer-credit a {
  color: var(--ink-primary);
  font-weight: 600;
}

.footer-credit a:hover {
  color: var(--crispy-pink);
}

/* ==========================================================================
   SCROLL-DRIVEN ENTRY ANIMATIONS (with Fallback)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes crispy-reveal {
      from {
        opacity: 0;
        transform: translateY(26px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-item {
      animation: crispy-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 28%;
    }
  }
}

.reveal-item.reveal-fallback-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.reveal-fallback-hidden.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   NATIVE ACCESSIBLE MODAL DIALOG (<dialog closedby="any">)
   Top-layer animation with @starting-style, overlay & allow-discrete
   ========================================================================== */
.crispy-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(640px, calc(100vw - 2rem));
  width: 100%;
  max-height: calc(100dvh - 2rem);
  overflow: visible;
  opacity: 0;
  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-behavior: allow-discrete;
}

@media (prefers-reduced-motion: no-preference) {
  .crispy-dialog {
    transform: translateY(16px) scale(0.96);
  }
}

.crispy-dialog::backdrop {
  background-color: rgba(18, 12, 22, 0);
  backdrop-filter: blur(0px);
  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.28s;
  transition-timing-function: ease-out;
  transition-behavior: allow-discrete;
}

:is(.crispy-dialog[open]):where(:not([data-closing])) {
  opacity: 1;

  @starting-style {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    transform: translateY(0) scale(1);

    @starting-style {
      transform: translateY(16px) scale(0.96);
    }
  }

  &::backdrop {
    background-color: rgba(18, 12, 22, 0.62);
    backdrop-filter: blur(6px);

    @starting-style {
      background-color: rgba(18, 12, 22, 0);
      backdrop-filter: blur(0px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .crispy-dialog,
  .crispy-dialog::backdrop {
    transition-duration: 0.1s;
  }
}

.dialog-surface {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.dialog-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--crispy-pink);
  margin-bottom: 0.2rem;
}

.dialog-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dialog-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-size: 1rem;
  cursor: pointer;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-close-btn:hover {
  border-color: var(--crispy-pink);
  color: var(--crispy-pink);
}

/* Form Validation (:user-invalid + fallback + hints above input) */
.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label,
.field legend {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-primary);
  margin-bottom: 0.15rem;
}

.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--crispy-pink);
  box-shadow: 0 0 0 3px rgba(238, 28, 142, 0.14);
}

.error-msg {
  display: none;
  margin-top: 0.32rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #c6193e;
}

:is(input:user-invalid, textarea:user-invalid, .user-invalid-fallback) {
  border-color: #d92047 !important;
  background-color: color-mix(in srgb, #d92047 6%, var(--bg-canvas));
}

:is(input:user-invalid, textarea:user-invalid, .user-invalid-fallback) + .error-msg {
  display: block;
}

:is(input:user-valid, textarea:user-valid, .user-valid-fallback) {
  border-color: var(--crispy-mint);
}

.fieldset-chips {
  border: 0;
  padding: 0;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.check-chip {
  position: relative;
  cursor: pointer;
}

.check-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-chip span {
  display: inline-block;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-canvas);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.check-chip input:checked + span {
  background: var(--crispy-yellow);
  border-color: var(--crispy-pink);
  color: var(--ink-on-yellow);
}

.check-chip input:focus-visible + span {
  outline: 3px solid var(--crispy-pink);
  outline-offset: 2px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.brief-success {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-bolt-wrap {
  display: inline-flex;
  margin-bottom: 1rem;
}

.brief-success h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--crispy-pink);
}

.brief-success p {
  margin: 0 auto 1.5rem;
  max-width: 40ch;
  color: var(--ink-secondary);
}

/* ==========================================================================
   FLOATING SVG LIGHTNING SPARK FOLLOWER & CLICK BURST (Desktop Hover UX)
   ========================================================================== */
.crispy-hover-bolt {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .crispy-hover-bolt {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 40px;
    pointer-events: none;
    z-index: 9990;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0) scale(0.45) rotate(-14deg);
    transition: opacity 0.16s ease;
    will-change: transform, opacity;
    filter: drop-shadow(0 4px 10px rgba(238, 28, 142, 0.3));
  }

  .crispy-hover-bolt.is-visible {
    opacity: 1;
  }

  .crispy-hover-bolt.is-zapping svg {
    animation: hover-bolt-zap 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .crispy-hover-bolt .hover-bolt-sparks {
    opacity: 0;
  }

  .crispy-hover-bolt.is-zapping .hover-bolt-sparks {
    animation: spark-flash 0.36s ease-out;
  }
}

@keyframes hover-bolt-zap {
  0% { transform: scale(0.75) rotate(-18deg); }
  45% { transform: scale(1.24) rotate(8deg); }
  75% { transform: scale(0.95) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.crispy-click-spark {
  position: fixed;
  width: 18px;
  height: 30px;
  pointer-events: none;
  z-index: 9991;
  transform: translate(-50%, -50%);
  animation: click-bolt-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes click-bolt-pop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6) rotate(-12deg);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -95%) scale(1.18) rotate(8deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -145%) scale(0.8) rotate(14deg);
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-col {
    max-width: 680px;
    margin-inline: auto;
    width: 100%;
  }

  .worlds-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mood-label {
    display: none;
  }

  .mood-pill {
    padding: 0.44rem 0.62rem;
  }

  .btn-header-cta {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .container {
    width: min(100% - 1.75rem, var(--container-max));
  }

  .brand-wordmark {
    height: 24px;
  }

  .crispy-bolt-svg--logo {
    height: 30px;
  }

  .hero-polaroid {
    display: none;
  }

  .manifesto-sticker {
    position: relative;
    left: 0;
    bottom: 0;
    margin-top: -1.6rem;
    margin-inline: auto;
    max-width: 92%;
  }

  .hero-visual-col {
    padding-bottom: 0;
  }

  .worlds-grid,
  .team-grid,
  .services-grid,
  .form-row-2,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .studio-triptych,
  .studio-diptych {
    grid-template-columns: 1fr;
  }

  .triptych-item {
    aspect-ratio: 4 / 5;
  }

  .curly-arrow-svg--cta {
    display: none;
  }

  .hero-corner-burst {
    width: 112px;
  }
}

@media (max-width: 440px) {
  .header-inner {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.38rem;
  }

  .brand-wordmark {
    height: 21px;
  }

  .crispy-bolt-svg--logo {
    height: 27px;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 0.36rem 0.75rem 0.36rem 0.55rem;
    flex-wrap: wrap;
  }

  .hero-cta-row .btn {
    width: 100%;
  }
}
