/* ==========================================================================
   THREADZU LAB (threadzu_lab) - TACTILE SCRAPBOOK & HERO VIDEO BANNER
   Inspired by Jackie Zhang (jackiezhang.co.za) & KillerPortfolio Aesthetics
   Hardware Accelerated, 60 FPS Ultra-Smooth Video Performance
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens (Parchment, Washi Tape, Ink & Stamps)
   -------------------------------------------------------------------------- */
:root {
  /* Paper Surfaces */
  --bg-parchment: #fcfbf8;
  --bg-paper: #ffffff;
  --bg-subtle-card: #f8f6f0;
  --bg-elevated: #f1eee4;
  --bg-dark-tape: #1e1e24;

  /* Typography & Ink Colors */
  --ink-black: #16161a;
  --ink-charcoal: #2d2d34;
  --ink-secondary: #484852;
  --ink-muted: #787885;

  /* Playful Tactile Accents */
  --stamp-purple: #7928ca;
  --stamp-violet: #8b5cf6;
  --stamp-yellow: #facc15;
  --stamp-yellow-light: #fef9c3;
  --stamp-coral: #fb7185;
  --stamp-coral-light: #ffe4e6;
  --stamp-emerald: #10b981;
  --stamp-emerald-light: #d1fae5;
  --stamp-blue: #38bdf8;
  --stamp-blue-light: #e0f2fe;

  /* Hairline & Tape Borders */
  --border-paper: rgba(22, 22, 26, 0.08);
  --border-dark: rgba(22, 22, 26, 0.16);
  --border-dashed: 2px dashed rgba(22, 22, 26, 0.2);

  /* Typography Families */
  --font-serif: 'Averia Serif Libre', Georgia, serif;
  --font-hand: 'Gochi Hand', 'Caveat', cursive;
  --font-sans: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Mono', monospace;

  /* Layout */
  --max-width: 1360px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Tactile Paper Shadows */
  --shadow-flat: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-paper: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-polaroid: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 24px 60px rgba(0, 0, 0, 0.14), 0 6px 12px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--ink-black);
  font-family: var(--font-sans);
  background-color: var(--bg-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  color: var(--ink-black);
  background-color: var(--bg-parchment);
  background-image: radial-gradient(rgba(22, 22, 26, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-parchment);
}
::-webkit-scrollbar-thumb {
  background: #d4d0c7;
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-parchment);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--stamp-purple);
}

::selection {
  background: var(--stamp-yellow);
  color: var(--ink-black);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.text-accent {
  color: var(--stamp-purple) !important;
}

.text-handwritten {
  font-family: var(--font-hand);
  color: var(--stamp-purple);
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 400;
  display: inline-block;
  transform: rotate(-3deg);
}

.text-muted {
  color: var(--ink-muted) !important;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   3. Custom Logo Design for THREADZU LAB
   -------------------------------------------------------------------------- */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.threadzu-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink-black);
  border: 2px solid var(--ink-black);
  box-shadow: 2.5px 2.5px 0px var(--stamp-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}
.brand-logo-wrap:hover .threadzu-icon-svg {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 4px 4px 0px var(--stamp-purple);
}

.threadzu-logo-text {
  display: flex;
  flex-direction: column;
}
.threadzu-logo-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  display: flex;
  align-items: center;
  gap: 4px;
}
.threadzu-logo-title .lab-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  background: var(--stamp-yellow);
  border: 1.5px solid var(--ink-black);
  border-radius: 4px;
  color: var(--ink-black);
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 1px 1px 0px var(--ink-black);
}
.threadzu-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   4. Tactile Washi Tape & Stamp Elements
   -------------------------------------------------------------------------- */
.washi-tape {
  position: absolute;
  height: 28px;
  background: rgba(250, 204, 21, 0.88);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-left: 2px dashed rgba(0, 0, 0, 0.15);
  border-right: 2px dashed rgba(0, 0, 0, 0.15);
  z-index: 10;
  pointer-events: none;
  transform-origin: center;
}
.washi-tape.top-center {
  top: -14px;
  left: 50%;
  width: 120px;
  transform: translateX(-50%) rotate(-1.5deg);
}
.washi-tape.top-left {
  top: -12px;
  left: 20px;
  width: 90px;
  transform: rotate(-6deg);
  background: rgba(251, 113, 133, 0.85);
}
.washi-tape.top-right {
  top: -12px;
  right: 20px;
  width: 90px;
  transform: rotate(5deg);
  background: rgba(56, 189, 248, 0.85);
}

/* Draggable Scrapbook Stickers */
.draggable-sticker {
  position: absolute;
  cursor: grab;
  user-select: none;
  z-index: 40;
  transition: transform var(--transition-spring), box-shadow var(--transition-fast);
}
.draggable-sticker:active {
  cursor: grabbing;
  transform: scale(1.1) rotate(5deg) !important;
  z-index: 50;
}

.sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 4px rgba(0, 0, 0, 0.08);
  border: 2px solid var(--ink-black);
}
.sticker-yellow {
  background: var(--stamp-yellow);
  color: var(--ink-black);
  transform: rotate(-4deg);
}
.sticker-purple {
  background: var(--stamp-purple);
  color: #ffffff;
  transform: rotate(3deg);
}
.sticker-emerald {
  background: var(--stamp-emerald);
  color: #ffffff;
  transform: rotate(-2deg);
}

/* --------------------------------------------------------------------------
   5. Custom Magnetic Cursor
   -------------------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--ink-black);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cursor-badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #ffffff;
  border: 2px solid var(--ink-black);
  box-shadow: 4px 4px 0px var(--ink-black);
  border-radius: var(--radius-pill);
  color: var(--ink-black);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.custom-cursor.active-media .cursor-dot {
  opacity: 0;
}
.custom-cursor.active-media .cursor-badge {
  display: flex;
}

@media (pointer: coarse), (max-width: 991px) {
  .custom-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Top Header & Nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 900;
  background: rgba(252, 251, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-paper);
  transition: all var(--transition-fast);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}
.nav-link:hover {
  color: var(--ink-black);
  background: var(--bg-elevated);
}

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

.live-clock-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--stamp-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-black);
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--ink-black);
  transition: all var(--transition-fast);
}
.sound-toggle-btn:hover {
  background: var(--stamp-yellow-light);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--ink-black);
}
.sound-toggle-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-black);
}
.sound-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}
.sound-eq-bar {
  width: 2.5px;
  background: var(--ink-black);
  border-radius: 1px;
  height: 4px;
  transition: height 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sound-toggle-btn.sound-on .sound-eq-bar:nth-child(1) { height: 11px; }
.sound-toggle-btn.sound-on .sound-eq-bar:nth-child(2) { height: 6px; }
.sound-toggle-btn.sound-on .sound-eq-bar:nth-child(3) { height: 12px; }
.sound-toggle-btn.sound-muted {
  opacity: 0.55;
  background: var(--bg-parchment);
}
.sound-toggle-btn.sound-muted .sound-eq-bar {
  height: 2px !important;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  border: 2px solid var(--ink-black);
  box-shadow: 3px 3px 0px var(--ink-black);
  transition: all var(--transition-fast);
}
.btn-pill:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink-black);
}
.btn-pill:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--ink-black);
}

.btn-black {
  background: var(--ink-black);
  color: #ffffff;
}
.btn-black:hover {
  background: var(--stamp-purple);
}

.btn-yellow {
  background: var(--stamp-yellow);
  color: var(--ink-black);
}

.btn-white {
  background: #ffffff;
  color: var(--ink-black);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
}

.btn-large {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

/* =========================================================================
   7. HERO SECTION BANNER WITH HARDWARE ACCELERATED VIDEO BACKGROUND
   ========================================================================= */
.hero-section {
  position: relative;
  padding: 6.5rem 0 7.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-paper);
}

/* Hardware Accelerated Background Video ONLY for Hero Banner */
.hero-banner-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: saturate(1.2) contrast(1.05);
}

/* Fast GPU-rendered Linear Overlay (Zero Lag) */
.hero-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(252, 251, 248, 0.88) 0%,
    rgba(252, 251, 248, 0.72) 45%,
    rgba(252, 251, 248, 0.88) 100%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-greeting {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.greeting-pill {
  padding: 6px 14px;
  background: var(--stamp-yellow-light);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #854d0e;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink-black);
  margin-bottom: 1.6rem;
}

.hero-headline em {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--stamp-purple);
  font-size: 1.15em;
}

.hero-subtext {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 2.8rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-paper);
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.stat-big {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-black);
  line-height: 1;
}
.stat-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Polaroid Showcase Frame */
.hero-polaroid-wrapper {
  position: relative;
  perspective: 1000px;
}

.polaroid-card {
  background: #ffffff;
  padding: 16px 16px 32px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-polaroid);
  transform: rotate(2.5deg);
  transition: transform var(--transition-spring);
  position: relative;
}
.polaroid-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.polaroid-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000000;
}
.polaroid-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-caption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.caption-text {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--ink-charcoal);
}
.caption-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--bg-elevated);
  border-radius: 4px;
  font-weight: 700;
}

.handwritten-arrow-callout {
  position: absolute;
  bottom: -45px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 20;
}
.arrow-curved {
  font-size: 1.6rem;
  color: var(--stamp-purple);
  transform: rotate(15deg);
}

/* --------------------------------------------------------------------------
   8. Brand Trust Bar
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-paper);
  background: #ffffff;
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.trust-title-hand {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--ink-secondary);
}
.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  flex-wrap: wrap;
}
.trust-logo-stamp {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}
.trust-logo-stamp:hover {
  color: var(--ink-black);
}

/* --------------------------------------------------------------------------
   9. Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 4.5rem;
}

.section-tag-stamp {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-black);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-black);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--ink-secondary);
  max-width: 650px;
}

/* --------------------------------------------------------------------------
   10. Scrapbook Services Matrix (Tactile Paper Cards)
   -------------------------------------------------------------------------- */
.services-section {
  padding: 8rem 0;
}

.services-scrapbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.8rem;
}

.service-card-paper {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.8rem 2.2rem 2.2rem;
  position: relative;
  box-shadow: var(--shadow-paper);
  transition: all var(--transition-spring);
  cursor: pointer;
}
.service-card-paper:hover {
  transform: translateY(-8px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
  border-color: var(--stamp-purple);
}

.service-num-stamp {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--stamp-purple);
  padding: 3px 8px;
  background: var(--stamp-purple-light);
  border-radius: 4px;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--ink-black);
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.service-tags-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.tag-chip {
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-charcoal);
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-paper);
}
.service-stat-note {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--stamp-emerald);
}
.service-btn-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink-black);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.service-card-paper:hover .service-btn-arrow {
  background: var(--stamp-purple);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   11. Tactile Before / After Split Slider
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 8rem 0;
  background: var(--bg-subtle-card);
  border-top: 1px solid var(--border-paper);
  border-bottom: 1px solid var(--border-paper);
}

.comparison-wrapper-tactile {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 4.5rem;
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-dark);
  box-shadow: var(--shadow-polaroid);
}

.comparison-slider-inner {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.comp-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  pointer-events: none;
}
.comp-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  display: block;
}

.after-layer-tactile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  border-right: none;
  z-index: 2;
}
.after-layer-tactile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.comp-badge-tape {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: var(--shadow-flat);
  border: 1px solid var(--ink-black);
  z-index: 5;
  pointer-events: none;
}
.badge-before {
  left: 18px;
  background: #ffffff;
  color: var(--ink-black);
}
.badge-after {
  right: 18px;
  background: var(--stamp-yellow);
  color: var(--ink-black);
}

.slider-handle-tactile {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--ink-black);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
}
.knob-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--stamp-yellow);
  border: 2px solid var(--ink-black);
  box-shadow: 2px 2px 0px var(--ink-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  cursor: ew-resize;
  pointer-events: auto;
  transition: transform 0.1s ease;
}
.knob-stamp:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   12. Bento Portfolio Grid
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 8rem 0;
}

.portfolio-filters-pill {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.filter-chip {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: all var(--transition-fast);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--ink-black);
  color: #ffffff;
  border-color: var(--ink-black);
  box-shadow: 2px 2px 0px var(--stamp-purple);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
}

.carousel-nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.carousel-counter-pill {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-black);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0px var(--border-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.counter-sep {
  color: var(--ink-muted);
  font-size: 0.75rem;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  color: var(--ink-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--border-dark);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}
.carousel-arrow-btn:hover {
  background: var(--ink-black);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px var(--stamp-purple);
}
.carousel-arrow-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--border-dark);
}

.portfolio-filters-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1.8rem;
  padding-bottom: 4px;
}
.portfolio-filters-scroll::-webkit-scrollbar {
  display: none;
}

.portfolio-filter-row {
  display: flex;
  gap: 0.75rem;
  width: max-content;
}

.portfolio-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.2rem 1.5rem;
  cursor: grab;
}
.portfolio-carousel-viewport:active {
  cursor: grabbing;
}
.portfolio-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.portfolio-carousel-track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  will-change: transform;
}

.portfolio-carousel-card {
  flex: 0 0 280px;
  max-width: 80vw;
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-paper);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  user-select: none;
}
.portfolio-carousel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--stamp-purple);
}

.card-media-polaroid {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #000000;
  margin-bottom: 0.9rem;
}
.card-media-polaroid img,
.card-media-polaroid video,
.polaroid-media img,
.polaroid-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-fast);
}
.portfolio-carousel-card:hover .card-media-polaroid img,
.portfolio-carousel-card:hover .card-media-polaroid video {
  transform: scale(1.03);
}

.media-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.video-badge {
  background: #ef4444;
  color: #ffffff;
}
.still-badge {
  background: #10b981;
  color: #ffffff;
}
.ugc-badge {
  background: #8b5cf6;
  color: #ffffff;
}

.play-stamp-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
}
.portfolio-carousel-card:hover .play-stamp-hover {
  opacity: 1;
}

.play-badge-pill {
  padding: 8px 18px;
  background: #ffffff;
  color: var(--ink-black);
  border: 2px solid var(--ink-black);
  box-shadow: 3px 3px 0px var(--ink-black);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-bento-details {
  padding: 0.4rem 0.4rem;
}
.card-bento-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}
.card-bento-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-black);
}
.card-roas-stamp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--stamp-purple);
  white-space: nowrap;
}
.card-bento-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.carousel-progress-track {
  width: 100%;
  height: 4px;
  background: var(--border-paper);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 1.2rem;
  position: relative;
}
.carousel-progress-fill {
  height: 100%;
  width: 12.5%;
  background: var(--ink-black);
  border-radius: var(--radius-pill);
  transition: width 0.15s ease-out;
}

/* --------------------------------------------------------------------------
   13. Paper Receipt ROI Calculator
   -------------------------------------------------------------------------- */
.calculator-section {
  padding: 8rem 0;
  background: var(--bg-subtle-card);
  border-top: 1px solid var(--border-paper);
}

/* =========================================================================
   13. SKINCARE AD FORMATS SWITCHER SECTION
   ========================================================================= */
.skincare-formats-section {
  padding: 7rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-paper);
}

.formats-tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 3.5rem;
}

.format-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  background: var(--bg-parchment);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  box-shadow: 2px 2px 0px var(--ink-black);
  transition: all var(--transition-fast);
}
.format-tab-btn:hover {
  background: var(--stamp-yellow-light);
  color: var(--ink-black);
  transform: translateY(-1px);
}
.format-tab-btn.active {
  background: var(--ink-black);
  color: #ffffff;
  border-color: var(--ink-black);
  box-shadow: 4px 4px 0px var(--stamp-purple);
  transform: translate(-1px, -1px);
}

.format-display-container {
  max-width: 1080px;
  margin: 0 auto;
}

.format-display-card {
  display: none;
  background: var(--bg-parchment);
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0px var(--ink-black);
  padding: 3rem;
  position: relative;
  animation: fadeInFormat 0.3s ease;
}
.format-display-card.active {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

@keyframes fadeInFormat {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.format-media-frame {
  position: relative;
  border-radius: var(--radius-sm);
  border: 2px solid var(--ink-black);
  overflow: hidden;
  box-shadow: 4px 4px 0px var(--ink-black);
  aspect-ratio: 16 / 10;
  background: #000000;
}
.format-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.format-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.format-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--stamp-yellow);
  border: 1.5px solid var(--ink-black);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  align-self: flex-start;
}
.format-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}
.format-desc {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.format-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.format-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================================
   14. THE 3-STEP WHATSAPP PIPELINE SECTION
   ========================================================================= */
.pipeline-section {
  padding: 7rem 0;
  background: var(--bg-parchment);
  border-bottom: 1px solid var(--border-paper);
}

.step-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.step-card-paper {
  background: #ffffff;
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 6px 6px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform var(--transition-fast);
}
.step-card-paper:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0px var(--ink-black);
}

.step-badge-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--stamp-purple);
  color: #ffffff;
  border: 2px solid var(--ink-black);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* =========================================================================
   14b. THE ANTI-AGENCY CONTRAST SECTION
   ========================================================================= */
.anti-agency-section {
  padding: 7.5rem 0;
  background: var(--bg-parchment);
  border-bottom: 1.5px solid var(--border-paper);
}

.anti-agency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.anti-agency-card {
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  padding: 2.6rem 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-traditional {
  background: #fbf9f5;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.4);
  border-color: #78716c;
}

.card-threadzu {
  background: #ffffff;
  box-shadow: 8px 8px 0px var(--ink-black);
  border-color: var(--ink-black);
}
.card-threadzu:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 0px var(--ink-black);
}

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  width: fit-content;
  border: 1.5px solid var(--ink-black);
}
.pill-bad {
  background: #fee2e2;
  color: #991b1b;
}
.pill-good {
  background: var(--stamp-yellow);
  color: var(--ink-black);
  box-shadow: 2px 2px 0px var(--ink-black);
}

.agency-price-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.2rem;
  border-bottom: 1.5px dashed var(--border-paper);
}

.price-strikethrough {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: #78716c;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 3px;
}

.price-highlight-good {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink-black);
}

.price-sub-caption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-secondary);
  font-weight: 600;
}

.anti-agency-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 0;
  margin: 0;
}
.anti-agency-points li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.anti-agency-points strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-black);
  margin-bottom: 0.25rem;
}
.anti-agency-points p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  margin: 0;
}

.point-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid var(--ink-black);
}
.point-icon.bad {
  background: #ef4444;
  color: #ffffff;
}
.point-icon.good {
  background: #10b981;
  color: #ffffff;
}

.threadzu-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* =========================================================================
   15. 48-HOUR PILOT SPRINT OFFER BOX
   ========================================================================= */
.pilot-offer-section {
  padding: 7rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-paper);
}

.pilot-offer-card {
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-parchment);
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  box-shadow: 10px 10px 0px var(--ink-black);
  padding: 4rem;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.pilot-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin: 1.5rem 0;
}
.pilot-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.pilot-cta-box {
  background: #ffffff;
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-sm);
  padding: 2.2rem;
  box-shadow: 5px 5px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;
}
.pilot-price-tag {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ink-black);
}
.pilot-price-sub {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
}

/* =========================================================================
   16. OBJECTION-KILLER FAQ ACCORDION
   ========================================================================= */
.faq-section {
  padding: 7rem 0;
  background: var(--bg-parchment);
  border-bottom: 1px solid var(--border-paper);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: #ffffff;
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0px var(--ink-black);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question-btn {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-black);
  cursor: pointer;
  gap: 1rem;
}

.faq-icon-arrow {
  font-size: 1rem;
  transition: transform var(--transition-fast);
}
.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.8rem;
  font-size: 0.98rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}
.faq-item.open .faq-answer-panel {
  max-height: 300px;
  padding: 0 1.8rem 1.6rem;
}

/* =========================================================================
   17. FLOATING INSTANT RESPONSE CONTACT DOCK
   ========================================================================= */
.floating-contact-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #ffffff;
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), 4px 4px 0px var(--ink-black);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition-spring), opacity var(--transition-fast);
}
.floating-contact-dock:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22), 6px 6px 0px var(--ink-black);
}

.dock-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: var(--stamp-emerald-light);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.dock-live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseLiveDot 1.6s infinite;
}

.dock-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink-black);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 2px 2px 0px var(--ink-black);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.dock-whatsapp-btn:hover {
  background: #1ebe5b;
  transform: translate(-1px, -1px);
}

.dock-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  color: var(--ink-black);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  text-decoration: none;
}
.dock-email-btn:hover {
  background: var(--stamp-yellow-light);
}

/* --------------------------------------------------------------------------
   14. Slide-Over "Brief Us" Project Modal
   -------------------------------------------------------------------------- */
.brief-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 26, 0.55);
  backdrop-filter: blur(14px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.brief-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.brief-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 580px;
  height: 100vh;
  background: #ffffff;
  border-left: 2px solid var(--ink-black);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 10001;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brief-drawer-overlay.open .brief-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 2.2rem 2.5rem 1.6rem;
  border-bottom: 1.5px solid var(--border-paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}
.drawer-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--ink-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--ink-black);
  transition: all var(--transition-fast);
}
.drawer-close-btn:hover {
  background: var(--stamp-coral);
  color: #ffffff;
}

.drawer-body {
  padding: 2.2rem 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.call-schedule-box {
  background: var(--stamp-yellow-light);
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  box-shadow: 4px 4px 0px var(--ink-black);
}
.call-box-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--ink-black);
  overflow: hidden;
  flex-shrink: 0;
}
.call-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.call-box-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.call-host-title {
  font-size: 0.8rem;
  color: #854d0e;
  font-weight: 600;
}
.call-host-name {
  font-weight: 800;
  font-size: 1rem;
}
.call-box-btn {
  padding: 0.6rem 1.1rem;
  background: var(--ink-black);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}
.call-box-btn:hover {
  background: var(--stamp-purple);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-black);
}

.checkbox-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip-label input {
  display: none;
}
.chip-text {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--bg-subtle-card);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-charcoal);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.chip-label input:checked + .chip-text {
  background: var(--stamp-purple);
  border-color: var(--ink-black);
  color: #ffffff;
  box-shadow: 2px 2px 0px var(--ink-black);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: var(--bg-subtle-card);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--ink-black);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #ffffff;
  border-color: var(--ink-black);
  box-shadow: 3px 3px 0px var(--ink-black);
}

/* --------------------------------------------------------------------------
   15. Full-Screen Cinema Video Modal
   -------------------------------------------------------------------------- */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 26, 0.88);
  backdrop-filter: blur(20px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}
.video-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-dialog {
  width: 100%;
  max-width: 1050px;
  background: #ffffff;
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: 12px 12px 0px var(--ink-black);
  transform: scale(0.95);
  transition: transform var(--transition-spring);
}
.video-modal-overlay.open .video-modal-dialog {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--ink-black);
  color: var(--ink-black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--ink-black);
  z-index: 10;
  transition: all var(--transition-fast);
}
.video-modal-close:hover {
  background: var(--stamp-coral);
  color: #ffffff;
}

.video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}
.modal-video-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-modal-meta {
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-subtle-card);
  border-top: 2px solid var(--ink-black);
  gap: 2rem;
}

/* --------------------------------------------------------------------------
   16. Minimalist Tactile Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 2px solid var(--ink-black);
  padding: 5rem 0 3rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  max-width: 360px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-black);
  margin-bottom: 0.4rem;
}
.footer-link {
  font-size: 0.9rem;
  color: var(--ink-secondary);
}
.footer-link:hover {
  color: var(--stamp-purple);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-paper);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   17. Responsive Breakpoints & Mobile Touch Ergonomics
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-polaroid-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  .format-display-card {
    grid-template-columns: 1fr;
  }
  .pilot-offer-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================================
   MOBILE — 768px (tablets + large phones)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* --- Base --- */
  html, body {
    overflow-x: hidden;
  }
  .container {
    padding: 0 1rem;
  }

  /* --- Hide desktop-only decorations --- */
  .draggable-sticker { display: none !important; }

  /* --- Header --- */
  .header-nav-pill { display: none; }
  .header-inner { padding: 0 1rem; }
  .threadzu-logo-tag { display: none; }
  .sound-toggle-btn #soundLabel { display: none; }
  .sound-toggle-btn { padding: 7px 10px; }
  .btn-pill.btn-whatsapp span { display: none; } /* hide text, keep icon in header */
  .header-actions .btn-pill.btn-whatsapp { padding: 0.6rem 0.9rem; min-width: 42px; justify-content: center; }

  /* --- Hero --- */
  .hero-section { padding: 5rem 0 3rem; }
  .hero-greeting { margin-bottom: 0.8rem; gap: 0.6rem; flex-wrap: wrap; }
  .greeting-pill { font-size: 0.72rem; padding: 6px 12px; }
  .hero-headline {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }
  .hero-subtext { font-size: 0.94rem; margin-bottom: 1.2rem; line-height: 1.6; }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn-pill {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.4rem;
    font-size: 0.95rem;
  }
  .hero-cta-group .btn-pill span { display: inline; } /* restore text in hero CTAs */
  .hero-stats-row { gap: 1rem; justify-content: space-between; padding-top: 1.2rem; }
  .stat-big { font-size: 1.7rem; }
  .stat-sub { font-size: 0.7rem; }
  /* Hide polaroid on mobile — we lead with copy + CTA */
  .hero-polaroid-wrapper { display: none; }

  /* --- Formats Switcher --- */
  .skincare-formats-section { padding: 4rem 0; }
  .formats-tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }
  .formats-tab-nav::-webkit-scrollbar { display: none; }
  .format-tab-btn {
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .format-display-card { padding: 1.2rem; gap: 1.2rem; }
  .format-title { font-size: 1.3rem; }
  .format-desc { font-size: 0.88rem; }

  /* --- Before / After Slider --- */
  .comparison-section { padding: 4rem 0; }
  .comparison-slider-inner { height: 320px; }
  .comp-badge-tape { font-size: 0.68rem; padding: 4px 10px; }

  /* --- Video Carousel --- */
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
  }
  .carousel-nav-wrap { width: 100%; justify-content: space-between; }
  .portfolio-carousel-card {
    flex: 0 0 260px;
    padding: 10px 10px 12px;
  }
  .card-media-polaroid { aspect-ratio: 9 / 16; min-height: 340px; }
  .card-bento-title { font-size: 0.98rem; }
  .card-bento-sub { font-size: 0.75rem; }
  .filter-chips-row { gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-chips-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; font-size: 0.75rem; padding: 6px 12px; white-space: nowrap; }

  /* --- 3-Step Pipeline --- */
  .pipeline-section { padding: 4rem 0; }
  .step-pipeline-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .step-card-paper { padding: 1.8rem 1.2rem; }

  /* --- Problem / Solution (Anti-Agency) --- */
  .anti-agency-section { padding: 4rem 0; }
  .anti-agency-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.8rem; }
  .anti-agency-card { padding: 1.8rem 1.2rem; }
  .price-strikethrough, .price-highlight-good { font-size: 1.7rem; }
  .anti-agency-points li { gap: 0.7rem; }
  .anti-agency-points strong { font-size: 0.93rem; }
  .anti-agency-points p { font-size: 0.83rem; }

  /* --- FAQ --- */
  .faq-section { padding: 4rem 0; }
  .faq-question-btn { padding: 1.1rem 1rem; font-size: 0.95rem; }

  /* --- Final CTA --- */
  .final-cta-section { padding: 4rem 0; }
  .final-cta-section .hero-cta-group { max-width: 100%; }

  /* --- Video Modal --- */
  .video-modal-dialog { width: 96vw; border-radius: 12px; }
  .video-modal-meta {
    padding: 1rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .video-modal-meta > div:last-child { width: 100%; justify-content: space-between; }

  /* --- Footer --- */
  .site-footer { padding: 3.5rem 0 7rem; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.6rem; text-align: center; }
  .footer-tagline { font-size: 0.88rem; }

  /* --- Floating Contact Dock --- */
  .floating-contact-dock {
    bottom: 12px;
    left: 10px;
    right: 10px;
    transform: none;
    padding: 8px 10px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }
  .dock-status-indicator { display: none; }
  .dock-whatsapp-btn {
    flex: 1;
    font-size: 0.82rem;
    padding: 10px 12px;
    justify-content: center;
    min-height: 44px;
  }
  .dock-email-btn { padding: 10px 12px; font-size: 0.82rem; min-height: 44px; }

  /* --- Brief Drawer --- */
  .brief-drawer { width: 100vw; }

  /* --- Section titles --- */
  .section-title { font-size: clamp(1.7rem, 6.5vw, 2.2rem) !important; }
  .section-desc { font-size: 0.92rem; }
}

/* ============================================================
   MOBILE — 480px (small phones: iPhone SE, Galaxy A series)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 0.9rem; }

  /* Hero */
  .hero-section { padding: 4.5rem 0 2.5rem; }
  .hero-headline { font-size: clamp(1.75rem, 9vw, 2.2rem); }
  .hero-subtext { font-size: 0.9rem; }

  /* Carousel cards — narrower for tiny screens */
  .portfolio-carousel-card { flex: 0 0 230px; padding: 8px 8px 12px; }
  .card-media-polaroid { min-height: 300px; }

  /* Before/after */
  .comparison-slider-inner { height: 260px; }

  /* Stats row */
  .hero-stats-row { flex-wrap: wrap; gap: 0.7rem; }
  .hero-stat-card { flex: 1 1 120px; padding: 0.75rem; }
  .stat-big { font-size: 1.5rem; }

  /* Sections */
  .section-title { font-size: clamp(1.55rem, 8vw, 2rem) !important; }
  .anti-agency-card { padding: 1.4rem 1rem; }
  .step-card-paper { padding: 1.5rem 1rem; }
  .format-display-card { padding: 1rem; }

  /* Footer */
  .footer-links-grid { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Brief drawer */
  .brief-drawer { border-radius: 0; }
  .call-schedule-box { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ============================================================
   MOBILE — 390px (iPhone 14/15 Pro, Pixel 8)
   ============================================================ */
@media (max-width: 390px) {
  .container { padding: 0 0.75rem; }
  .hero-headline { font-size: 1.65rem; }
  .portfolio-carousel-card { flex: 0 0 210px; }
  .card-media-polaroid { min-height: 280px; }
  .section-title { font-size: 1.5rem !important; }
  .btn-pill { font-size: 0.88rem; padding: 0.85rem 1.2rem; }
  .anti-agency-card { padding: 1.2rem 0.9rem; }
  .comparison-slider-inner { height: 240px; }
  .faq-question-btn { font-size: 0.9rem; padding: 1rem 0.9rem; }
}

/* --------------------------------------------------------------------------
   18. Social Proof Testimonials
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--stamp-purple);
  line-height: 1;
  opacity: 0.18;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-secondary);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-paper);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.testimonial-name {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-black);
}
.testimonial-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   19. Risk-Reversal Banner
   -------------------------------------------------------------------------- */
.risk-reversal-banner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(254, 240, 138, 0.85);
  border: 2px solid var(--ink-black);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.6rem;
  box-shadow: 4px 4px 0px var(--ink-black);
  flex-wrap: wrap;
}
.risk-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #854d0e;
  background: rgba(254, 240, 138, 1);
  border: 1.5px solid #854d0e;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.risk-text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink-black);
  min-width: 200px;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .risk-reversal-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .risk-reversal-banner .btn-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   TRUST PROOF ROW (replaces fake brand logos)
   ========================================================================== */
.trust-bar {
  background: var(--ink-black);
  padding: 2.4rem 0;
  border-top: none;
}
.trust-proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem 2.2rem;
  gap: 0.3rem;
}
.trust-proof-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--stamp-yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust-proof-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}
.trust-proof-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .trust-proof-row {
    gap: 0;
  }
  .trust-proof-item {
    padding: 0.8rem 1.2rem;
    flex: 1 1 40%;
  }
  .trust-proof-divider:nth-child(4) {
    display: none;
  }
  .trust-proof-num {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   AI CONCEPT IMAGE GALLERY
   ========================================================================== */
.concept-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

/* Wide = full 1/3 of 3-col grid (default) */
.gallery-item-wide {
  grid-column: span 1;
}

/* Feature = spans 2 cols */
.gallery-item-feature {
  grid-column: span 2;
}

/* Small = 1 col, stacks alongside feature */
.gallery-item-sm {
  grid-column: span 1;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 2px solid var(--border-paper);
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  background: #eee;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.gallery-item-feature {
  aspect-ratio: 16/9;
}
.gallery-item-sm {
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1rem 1rem;
  background: linear-gradient(0deg, rgba(22,22,26,0.82) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.gallery-label-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--stamp-purple);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
  letter-spacing: 0.04em;
}
.gallery-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 4px;
}

.gallery-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
}

/* Mobile gallery */
@media (max-width: 900px) {
  .concept-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item-feature {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .gallery-item-sm {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  .gallery-item-overlay {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .concept-gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
  .gallery-item-wide,
  .gallery-item-feature,
  .gallery-item-sm {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }
  .gallery-cta-row {
    flex-direction: column;
    gap: 1rem;
  }
  .gallery-cta-row .btn-pill {
    width: 100%;
    justify-content: center;
  }
}
