/* ==========================================================================
   KRITA AI (@krita.ai) — EDITORIAL LIQUID-GLASS DESIGN SYSTEM (v3.0)
   Locked Brand Swatches: #0B0E20 · #1E184A · #4A2052 · #6E2D3E · #F8F5EE
   ========================================================================== */

:root {
  --c-void:          #0B0E20;
  --c-indigo:        #1E184A;
  --c-plum:          #4A2052;
  --c-ember:         #6E2D3E;
  --c-alabaster:     #F8F5EE;

  --twilight-rim:    linear-gradient(135deg, #0B0E20 0%, #1E184A 45%, #4A2052 82%, #6E2D3E 100%);

  --text-primary:    #F8F5EE;
  --text-secondary:  rgba(248, 245, 238, 0.76);
  --text-muted:      rgba(248, 245, 238, 0.50);

  /* Refined Apple Liquid Glass Tokens */
  --glass-fill:      linear-gradient(150deg, rgba(248, 245, 238, 0.085) 0%, rgba(30, 24, 74, 0.40) 52%, rgba(74, 32, 82, 0.24) 100%);
  --glass-stroke:    rgba(248, 245, 238, 0.15);
  --glass-stroke-hi: rgba(248, 245, 238, 0.32);
  --glass-bevel:
    inset 0 1px 0 0 rgba(248, 245, 238, 0.28),
    inset 1px 0 0 0 rgba(248, 245, 238, 0.08),
    inset 0 -1px 0 0 rgba(110, 45, 62, 0.24),
    0 20px 48px -14px rgba(5, 7, 18, 0.60);
  --glass-bevel-hover:
    inset 0 1px 1px 0 rgba(248, 245, 238, 0.44),
    inset 1px 0 0 0 rgba(248, 245, 238, 0.15),
    inset 0 -1px 0 0 rgba(110, 45, 62, 0.38),
    0 28px 60px -12px rgba(5, 7, 18, 0.74);

  --r-sm:            14px;
  --r-md:            22px;
  --r-lg:            28px;
  --r-pill:          999px;
  --max-w:           1120px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--c-void);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: transparent;
  color: var(--text-primary);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   SEAMLESS FULL-BLEED TWILIGHT RIM GRADIENT CANVAS (Oversized so zero seams!)
   ========================================================================== */
.twilight-canvas {
  position: fixed;
  top: -60px;
  left: -60px;
  right: -60px;
  bottom: -60px;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(960px circle at 82% 14%, rgba(110, 45, 62, 0.64), transparent 62%),
    radial-gradient(920px circle at 14% 22%, rgba(30, 24, 74, 0.92), transparent 65%),
    radial-gradient(1040px circle at 70% 58%, rgba(74, 32, 82, 0.54), transparent 66%),
    radial-gradient(860px circle at 18% 88%, rgba(110, 45, 62, 0.44), transparent 64%),
    linear-gradient(145deg, #0B0E20 0%, #19153F 45%, #341943 80%, #482034 100%);
}

.twilight-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.46;
  will-change: transform;
}

.twilight-orb.orb-a {
  width: 480px;
  height: 480px;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, #6E2D3E 0%, #4A2052 68%, transparent 100%);
  animation: orbDriftA 20s ease-in-out infinite alternate;
}

.twilight-orb.orb-b {
  width: 520px;
  height: 520px;
  top: 44%;
  left: -150px;
  background: radial-gradient(circle, #4A2052 0%, #1E184A 70%, transparent 100%);
  animation: orbDriftB 24s ease-in-out infinite alternate;
}

@keyframes orbDriftA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-40px, 36px, 0) scale(1.06); }
}

@keyframes orbDriftB {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(44px, -32px, 0) scale(1.05); }
}

/* ==========================================================================
   EDITORIAL TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  letter-spacing: -0.033em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.serif-editorial {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   LIQUID GLASS CARD & SPECULAR HOVER ENGINE
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--glass-fill);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-bevel);
  overflow: hidden;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 0%),
    rgba(248, 245, 238, 0.15) 0%,
    rgba(110, 45, 62, 0.09) 42%,
    transparent 72%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248, 245, 238, 0.68), transparent);
  opacity: 0.4;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-2.5px);
  border-color: var(--glass-stroke-hi);
  box-shadow: var(--glass-bevel-hover);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover::after {
  transform: translateX(105%);
  opacity: 0.85;
}

.glass-card > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TRUE CENTERED FLOATING LIQUID-GLASS NAVIGATION (ZERO TOP MARGIN SEAM!)
   ========================================================================== */
.top-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  margin: 0;
  padding: 16px 24px 18px;
  background: linear-gradient(180deg, rgba(11, 14, 32, 0.76) 0%, rgba(15, 15, 40, 0.34) 62%, rgba(15, 15, 40, 0) 100%);
  pointer-events: none;
}

.top-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.nav-brand-pill {
  pointer-events: auto;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: rgba(11, 14, 32, 0.62);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(248, 245, 238, 0.16);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.26), 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-brand-pill:hover {
  border-color: rgba(248, 245, 238, 0.34);
  transform: translateY(-1px);
}

.nav-brand-text {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.025em;
}

.nav-brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Center Segmented Liquid-Glass Capsule */
.nav-capsule {
  pointer-events: auto;
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.11) 0%, rgba(18, 16, 48, 0.68) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(248, 245, 238, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(248, 245, 238, 0.34),
    inset 0 -1px 0 rgba(110, 45, 62, 0.22),
    0 16px 38px rgba(5, 7, 18, 0.48);
}

.nav-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: 64px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, rgba(248, 245, 238, 0.22) 0%, rgba(248, 245, 238, 0.08) 100%);
  border: 1px solid rgba(248, 245, 238, 0.30);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.42), 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.nav-item {
  position: relative;
  z-index: 1;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--c-alabaster);
}

.nav-ig-capsule {
  pointer-events: auto;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8.5px 16px;
  border-radius: var(--r-pill);
  background: var(--c-alabaster);
  color: var(--c-void);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 28px rgba(6, 8, 20, 0.42);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.nav-ig-capsule:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 16px 32px rgba(248, 245, 238, 0.20);
}

.mobile-glass-dock {
  display: none;
}

/* ==========================================================================
   OPENING HERO + VECTOR KRITA SIDEKICK WITH INTERACTIVE EYE TRACKING
   ========================================================================== */
.hero {
  padding: 54px 0 36px;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.quiet-kicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-headline {
  font-size: clamp(36px, 4.75vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.036em;
  margin-bottom: 20px;
  text-wrap: initial;
}

.hero-headline .serif-editorial {
  font-size: 1.08em;
  font-weight: 400;
  color: var(--c-alabaster);
  padding-left: 0.045em;
  padding-right: 2px;
}

.nowrap-phrase {
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(15.5px, 1.65vw, 17.5px);
  color: var(--text-secondary);
  max-width: 49ch;
  line-height: 1.66;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-alabaster {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--c-alabaster);
  color: var(--c-void);
  border: 1px solid var(--c-alabaster);
  padding: 13.5px 24px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 32px rgba(6, 8, 20, 0.42);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}

.btn-alabaster:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(248, 245, 238, 0.20);
}

.btn-liquid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, rgba(110, 45, 62, 0.76), rgba(74, 32, 82, 0.64));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.26);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.32), 0 14px 32px rgba(6, 8, 20, 0.38);
  padding: 13.5px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background 0.2s ease;
}

.btn-liquid:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 245, 238, 0.46);
  background: linear-gradient(135deg, rgba(124, 51, 70, 0.88), rgba(86, 37, 96, 0.76));
}

.btn-glass-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(248, 245, 238, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.16);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.20);
  padding: 8.5px 15px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 12.5px;
  transition: all 0.18s ease;
}

.btn-glass-sm:hover {
  background: rgba(248, 245, 238, 0.15);
  border-color: rgba(248, 245, 238, 0.34);
  transform: translateY(-1px);
}

/* ==========================================================================
   INFINITE-RESOLUTION VECTOR KRITA CHARACTER STAGE + EYE TRACKING
   ========================================================================== */
.character-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  perspective: 950px;
}

.char-aura {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 45, 62, 0.56) 0%, rgba(74, 32, 82, 0.34) 48%, transparent 74%);
  filter: blur(30px);
  animation: auraPulse 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes auraPulse {
  0%   { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.06); opacity: 1; }
}

.krita-rig {
  position: relative;
  width: min(335px, 78vw);
  z-index: 3;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.krita-vector-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 26px 40px rgba(6, 8, 20, 0.62));
}

.vec-body {
  transform-box: fill-box;
  transform-origin: center;
  animation: vecBodyFloat 6.6s ease-in-out infinite;
}

.vec-crown {
  transform-box: fill-box;
  transform-origin: center;
  animation: vecCrownFloat 5.2s ease-in-out infinite;
}

.vec-hand-l {
  transform-box: fill-box;
  transform-origin: center;
  animation: vecHandLFloat 5.0s ease-in-out infinite;
}

.vec-hand-r {
  transform-box: fill-box;
  transform-origin: center;
  animation: vecHandRFloat 4.7s ease-in-out infinite;
}

@keyframes vecBodyFloat {
  0%, 100% { transform: translateY(5px) rotate(-0.45deg); }
  50%      { transform: translateY(-10px) rotate(0.55deg); }
}

@keyframes vecCrownFloat {
  0%, 100% { transform: translateY(7px) rotate(0.8deg); }
  50%      { transform: translateY(-16px) rotate(-1.3deg); }
}

@keyframes vecHandLFloat {
  0%, 100% { transform: translate(0, 6px) rotate(1.5deg); }
  50%      { transform: translate(-3px, -12px) rotate(-2deg); }
}

@keyframes vecHandRFloat {
  0%, 100% { transform: translate(0, 7px) rotate(-1.5deg); }
  50%      { transform: translate(3px, -13px) rotate(2.2deg); }
}

.eye-blink-wrap {
  transition: transform 0.11s ease-in-out;
}

.eye-blink-wrap.blinking {
  transform: scaleY(0.08);
}

.char-floor-shadow {
  position: absolute;
  bottom: 4px;
  width: 165px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6, 8, 20, 0.70) 0%, transparent 72%);
  filter: blur(6px);
  animation: shadowBreath 6.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shadowBreath {
  0%, 100% { transform: scale(1.04); opacity: 0.78; }
  50%      { transform: scale(0.84); opacity: 0.44; }
}

/* ==========================================================================
   HERO BENTO LIQUID-GLASS BAR
   ========================================================================== */
.hero-bento-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bento-bar-tile {
  border-radius: var(--r-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.bento-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
}

.bento-tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(248, 245, 238, 0.08);
  border: 1px solid rgba(248, 245, 238, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-alabaster);
}

.bento-tile-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.bento-bar-tile:hover .bento-tile-arrow {
  transform: translate(2px, -2px);
  color: var(--c-alabaster);
}

.bento-bar-tile h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bento-bar-tile p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.48;
}

/* ==========================================================================
   SECTION HEADERS (CLEAN EDITORIAL — ZERO PULSING DOTS)
   ========================================================================== */
.section {
  padding: 64px 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.034em;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 52ch;
  margin-top: 8px;
}

/* ==========================================================================
   SECTION 1: LINKS & REEL RESOURCES
   ========================================================================== */
.links-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.search-capsule {
  position: relative;
  flex: 1 1 290px;
  max-width: 440px;
}

.search-capsule svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(18, 16, 48, 0.54);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-stroke);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.18);
  color: var(--text-primary);
  border-radius: var(--r-pill);
  padding: 11.5px 40px 11.5px 44px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--glass-stroke-hi);
  background: rgba(30, 24, 74, 0.68);
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 15px;
  display: none;
}

.search-clear.visible {
  display: block;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-pill {
  background: rgba(248, 245, 238, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-secondary);
  border: 1px solid var(--glass-stroke);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.16);
  padding: 8px 15px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  color: var(--c-alabaster);
  border-color: var(--glass-stroke-hi);
}

.filter-pill.active {
  background: var(--c-alabaster);
  color: var(--c-void);
  border-color: var(--c-alabaster);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-card {
  border-radius: var(--r-md);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  align-items: center;
}

.link-card.no-reel {
  grid-template-columns: 50px 1fr auto;
}

.link-reel-thumb {
  position: relative;
  width: 98px;
  aspect-ratio: 9 / 16;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid rgba(248, 245, 238, 0.24);
  background: #12102B;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(5, 7, 18, 0.45);
}

.reel-thumb-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #161336 25%, #2A1E54 50%, #161336 75%);
  background-size: 220% 100%;
  animation: thumbShimmer 1.8s ease-in-out infinite;
}

@keyframes thumbShimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.link-reel-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.link-reel-thumb img.live-ig-thumb {
  opacity: 0;
}

.link-reel-thumb img.live-ig-thumb.loaded {
  opacity: 1;
}

.link-reel-thumb:hover img {
  transform: scale(1.04);
}

.link-reel-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.34) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-play-tri {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.40);
  transition: transform 0.2s ease, background 0.2s ease;
}

.link-reel-thumb:hover .ig-play-tri {
  transform: scale(1.08);
  background: rgba(15, 15, 20, 0.72);
}

.ig-reel-corner {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
  display: inline-flex;
}

.reel-mini-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  background: rgba(11, 14, 32, 0.82);
  color: var(--c-alabaster);
  padding: 2px 4px;
  border-radius: 5px;
}

.standalone-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--twilight-rim);
  border: 1px solid var(--glass-stroke-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-alabaster);
}

.link-body {
  min-width: 0;
}

.link-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.cat-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.link-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.link-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.link-reel-caption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 215px;
}

.link-btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--c-alabaster);
  color: var(--c-void);
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  white-space: nowrap;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.link-btn-main:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.link-btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(110, 45, 62, 0.56);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.22);
  padding: 8.5px 14px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.link-btn-play:hover {
  background: rgba(126, 52, 72, 0.80);
  border-color: var(--glass-stroke-hi);
}

.link-btn-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: rgba(248, 245, 238, 0.07);
  color: var(--c-alabaster);
  border: 1px solid var(--glass-stroke);
  padding: 8.5px 14px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.link-btn-ig:hover {
  background: var(--c-ember);
  border-color: var(--glass-stroke-hi);
}

.link-btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(74, 32, 82, 0.50);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.20);
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 11.5px;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--r-md);
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 2: SELECTED WORK SHOWCASE
   ========================================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 20px;
  align-items: start;
}

.work-card {
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
}

.work-card.wide-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.player-stage {
  position: relative;
  width: 100%;
  background: #070915;
  overflow: hidden;
}

.player-stage.aspect-9x16 {
  aspect-ratio: 9 / 16;
  max-height: 495px;
}

.player-stage.aspect-16x9 {
  aspect-ratio: 16 / 9;
}

.player-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.player-stage.ig-direct-stage {
  --ig-stage-bg: #121212;
  --ig-stage-fg: #F5F5F5;
  --ig-stage-border: rgba(255, 255, 255, 0.12);
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 495px;
  background: #000;
  overflow: hidden;
}

@media (prefers-color-scheme: light) {
  .player-stage.ig-direct-stage {
    --ig-stage-bg: #FFFFFF;
    --ig-stage-fg: #0F1419;
    --ig-stage-border: rgba(0, 0, 0, 0.10);
  }
}

.ig-embed-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  display: block;
}

/* Crop Instagram's 4:5 .EmbeddedMedia + 54px white header + white footer
   so only the pure 9:16 vertical Reel fills 100% of the stage edge-to-edge */
.player-stage.ig-direct-stage .ig-embed-frame {
  position: absolute;
  top: -55px;
  left: -21.6%;
  width: 143.2%;
  height: calc(100% + 310px);
}

.ig-stage-top-mask {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  background: var(--ig-stage-bg);
  border: 1px solid var(--ig-stage-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ig-stage-fg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.ig-stage-top-mask img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0B0E20;
}

.ig-stage-bottom-mask {
  display: none;
}

.player-top-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 4;
}

.player-mode-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 4.5px 10px;
  border-radius: var(--r-pill);
  background: rgba(11, 14, 32, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.20);
}

.player-mode-pill.ig-collab {
  background: rgba(110, 45, 62, 0.88);
}

.video-controls-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 14, 32, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(248, 245, 238, 0.20);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.22);
  padding: 7px 10px;
  border-radius: 13px;
  z-index: 4;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--c-alabaster);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ctrl-btn:hover {
  background: rgba(248, 245, 238, 0.14);
}

.progress-track {
  flex: 1;
  height: 4.5px;
  background: rgba(248, 245, 238, 0.22);
  border-radius: var(--r-pill);
  overflow: hidden;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--c-alabaster);
  border-radius: var(--r-pill);
}

.ig-reel-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,14,32,0.48) 0%, transparent 26%, transparent 70%, rgba(11,14,32,0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  z-index: 3;
}

.ig-collab-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.ig-collab-header img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid var(--c-alabaster);
  background: var(--c-void);
}

.ig-collab-header span {
  font-size: 12px;
  font-weight: 600;
}

.work-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.work-role {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.work-title {
  font-size: 18.5px;
  font-weight: 700;
}

.work-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.work-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   SECTION 3: BENTO LIQUID-GLASS VISUAL DIRECTIONS (ZERO PRICING)
   ========================================================================== */
.styles-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-style-main {
  grid-column: span 7;
  border-radius: var(--r-lg);
  padding: 34px;
  background:
    radial-gradient(480px circle at 90% 10%, rgba(110, 45, 62, 0.52), transparent 65%),
    linear-gradient(145deg, rgba(248, 245, 238, 0.09) 0%, rgba(30, 24, 74, 0.60) 55%, rgba(11, 14, 32, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.bento-style-claude {
  grid-column: span 5;
  border-radius: var(--r-lg);
  padding: 34px;
  background: linear-gradient(155deg, #F8F5EE 0%, #EFE9DD 100%);
  color: var(--c-void);
  border: 1px solid rgba(248, 245, 238, 0.88);
  box-shadow:
    inset 0 2px 0 #FFFFFF,
    0 24px 54px -12px rgba(6, 8, 20, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease;
}

.bento-style-claude:hover {
  transform: translateY(-2.5px);
  box-shadow: inset 0 2px 0 #FFFFFF, 0 30px 64px -10px rgba(6, 8, 20, 0.72);
}

.bento-wf-card {
  grid-column: span 6;
  border-radius: var(--r-lg);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.style-tag-small {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bento-style-main .style-tag-small {
  color: rgba(248, 245, 238, 0.65);
}

.bento-style-claude .style-tag-small {
  color: var(--c-ember);
}

.bento-style-main h3,
.bento-style-claude h3 {
  font-size: clamp(23px, 2.5vw, 28px);
  margin-bottom: 10px;
}

.bento-style-main p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.bento-style-claude p {
  color: var(--c-indigo);
  font-size: 14.5px;
}

.clean-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
}

.clean-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-line {
  width: 14px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.btn-dark-ink {
  align-self: flex-start;
  background: var(--c-void);
  color: var(--c-alabaster);
  border: none;
  padding: 11.5px 20px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.18s ease;
}

.btn-dark-ink:hover {
  transform: translateY(-1.5px);
}

.wf-kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-muted);
}

.bento-wf-card h4 {
  font-size: 18px;
}

.bento-wf-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 4: WHO'S BEHIND IT — ASHISH S N
   ========================================================================== */
.creator-bento {
  border-radius: var(--r-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 38px;
  align-items: center;
}

.creator-photo-shell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--glass-stroke-hi);
  box-shadow: 0 22px 48px rgba(6, 8, 20, 0.52);
  background: var(--c-void);
}

.creator-photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 47% 50%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.creator-bento:hover .creator-photo-shell img {
  transform: scale(1.025);
}

.creator-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.creator-name {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
}

.creator-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -8px;
}

.creator-quote {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.36;
  color: var(--c-alabaster);
  padding-left: 16px;
  border-left: 2px solid var(--c-ember);
}

.creator-bio {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 60ch;
}

.creator-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 4px;
}

.creator-stat-pill {
  padding: 12px 14px;
  border-radius: 15px;
  background: rgba(11, 14, 32, 0.42);
  border: 1px solid rgba(248, 245, 238, 0.12);
}

.creator-stat-pill .stat-k {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.creator-stat-pill .stat-v {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-alabaster);
}

/* ==========================================================================
   SECTION 5: WORK TOGETHER / COLLAB
   ========================================================================== */
.connect-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

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

.channel-card {
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(11, 14, 32, 0.62);
  border: 1px solid rgba(248, 245, 238, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 20px rgba(5, 7, 18, 0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.channel-icon.icon-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-color: rgba(120, 255, 178, 0.36);
}

.channel-icon.icon-phone {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  border-color: rgba(147, 197, 253, 0.36);
}

.channel-icon.icon-mail {
  background: linear-gradient(135deg, #F45B49 0%, #C5221F 100%);
  border-color: rgba(254, 202, 202, 0.34);
}

.channel-icon.icon-instagram {
  background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 6%, #FD5949 45%, #D6249F 62%, #285AEB 92%);
  border-color: rgba(255, 228, 236, 0.36);
}

.channel-label {
  font-size: 11.5px;
  color: var(--text-muted);
}

.channel-value {
  font-size: 15px;
  font-weight: 700;
  word-break: break-word;
}

.channel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mini-action-btn {
  background: rgba(248, 245, 238, 0.08);
  color: var(--c-alabaster);
  border: 1px solid rgba(248, 245, 238, 0.18);
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.mini-action-btn:hover {
  background: var(--c-alabaster);
  color: var(--c-void);
  border-color: var(--c-alabaster);
}

.brief-composer {
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brief-composer h3 {
  font-size: 22px;
}

.brief-group-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-chip {
  background: rgba(11, 14, 32, 0.52);
  color: var(--text-secondary);
  border: 1px solid rgba(248, 245, 238, 0.15);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.choice-chip:hover {
  color: var(--c-alabaster);
  border-color: rgba(248, 245, 238, 0.32);
}

.choice-chip.selected {
  background: linear-gradient(135deg, var(--c-ember), var(--c-plum));
  color: var(--c-alabaster);
  border-color: rgba(248, 245, 238, 0.40);
  box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.30);
}

.brief-textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  background: rgba(11, 14, 32, 0.54);
  border: 1px solid rgba(248, 245, 238, 0.16);
  border-radius: 15px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.brief-textarea::placeholder {
  color: var(--text-muted);
}

.brief-textarea:focus {
  border-color: var(--glass-stroke-hi);
}

.brief-submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.brief-submit-row button,
.brief-submit-row .brief-send-wa {
  flex: 1 1 100%;
  justify-content: center;
}

/* ==========================================================================
   DIRECT REELS-TAB VERTICAL PLAYER MODAL (SYSTEM DARK / LIGHT THEME ADAPTIVE)
   ========================================================================== */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.reel-modal::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(18, 16, 42, 0.88) 0%, rgba(5, 7, 16, 0.94) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

@media (prefers-color-scheme: light) {
  .reel-modal::before {
    background: radial-gradient(circle at 50% 45%, rgba(28, 28, 38, 0.66) 0%, rgba(12, 14, 22, 0.80) 100%);
  }
}

.reel-modal.open {
  display: flex;
}

.reel-modal-dialog {
  /* Default: Instagram Reels Dark Theme */
  --rm-bg:         #121212;
  --rm-text:       #F5F5F5;
  --rm-sub:        rgba(245, 245, 245, 0.64);
  --rm-border:     rgba(255, 255, 255, 0.13);
  --rm-close-bg:   rgba(255, 255, 255, 0.10);
  --rm-btn1-bg:    #F5F5F5;
  --rm-btn1-fg:    #0F0F12;
  --rm-btn2-bg:    #262626;
  --rm-btn2-fg:    #F5F5F5;
  --rw:            min(342px, calc(100vw - 32px), calc((100vh - 152px) * 9 / 16));
  --rw-over:       calc(var(--rw) + 4px);

  position: relative;
  width: calc(var(--rw) + 2px);
  background: var(--rm-bg);
  color: var(--rm-text);
  border: 1px solid var(--rm-border);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
}

@supports (height: 100dvh) {
  .reel-modal-dialog {
    --rw: min(342px, calc(100vw - 32px), calc((100dvh - 152px) * 9 / 16));
  }
}

.reel-modal-dialog[data-theme="light"] {
  --rm-bg:         #FFFFFF;
  --rm-text:       #0F1419;
  --rm-sub:        rgba(15, 20, 25, 0.58);
  --rm-border:     rgba(0, 0, 0, 0.11);
  --rm-close-bg:   rgba(0, 0, 0, 0.07);
  --rm-btn1-bg:    #0F1419;
  --rm-btn1-fg:    #FFFFFF;
  --rm-btn2-bg:    #EFEFEF;
  --rm-btn2-fg:    #0F1419;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.40);
}

@media (prefers-color-scheme: light) {
  .reel-modal-dialog:not([data-theme="dark"]) {
    --rm-bg:         #FFFFFF;
    --rm-text:       #0F1419;
    --rm-sub:        rgba(15, 20, 25, 0.58);
    --rm-border:     rgba(0, 0, 0, 0.11);
    --rm-close-bg:   rgba(0, 0, 0, 0.07);
    --rm-btn1-bg:    #0F1419;
    --rm-btn1-fg:    #FFFFFF;
    --rm-btn2-bg:    #EFEFEF;
    --rm-btn2-fg:    #0F1419;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.40);
  }
}

.reel-modal-top {
  padding: 9px 13px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--rm-border);
  background: var(--rm-bg);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.reel-modal-author {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.reel-modal-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0B0E20;
  border: 1px solid var(--rm-border);
  flex-shrink: 0;
}

.reel-modal-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.22;
}

.reel-modal-meta strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--rm-text);
}

.reel-modal-sub {
  font-size: 11px;
  color: var(--rm-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-modal-close {
  background: var(--rm-close-bg);
  color: var(--rm-text);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.reel-modal-close:hover {
  transform: scale(1.06);
}

/* Pure 9:16 Direct Reels-Tab Vertical Stage */
.reel-modal-video-wrap {
  position: relative;
  width: var(--rw);
  height: calc(var(--rw) * 16 / 9);
  background: #000;
  overflow: hidden;
  flex-shrink: 0;
}

/* Precision 9:16 Full-Cover Crop on /embed/:
   Removes 54px white header, bottom white footer, and 4:5 black pillarboxes
   so ONLY the vertical 9:16 Reel fills 100% of the player edge-to-edge */
.reel-modal-video-wrap.is-ig-embed .ig-embed-frame {
  position: absolute;
  top: -55px;
  left: calc((var(--rw) - (var(--rw-over) * 64 / 45)) / 2);
  width: calc(var(--rw-over) * 64 / 45);
  height: calc((var(--rw-over) * 16 / 9) + 320px);
  border: 0;
  display: block;
  background: #000;
}

.reel-modal-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Direct Reels-Tab Native Video Overlay Chrome */
.reels-native-mute {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 12, 16, 0.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reels-tap-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.86);
  z-index: 4;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(12, 12, 16, 0.58);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.reels-tap-indicator.paused {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.reels-scrub-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.reels-scrub-fill {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  transition: width 0.08s linear;
}

.reel-modal-bottom {
  padding: 10px 12px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--rm-border);
  background: var(--rm-bg);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.reel-modal-btn-primary,
.reel-modal-btn-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.reel-modal-btn-primary {
  background: var(--rm-btn1-bg);
  color: var(--rm-btn1-fg);
}

.reel-modal-btn-secondary {
  background: var(--rm-btn2-bg);
  color: var(--rm-btn2-fg);
}

.reel-modal-btn-primary:hover,
.reel-modal-btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-footer {
  padding: 36px 0 48px;
  border-top: 1px solid rgba(248, 245, 238, 0.09);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: var(--c-alabaster);
  color: var(--c-void);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE LIQUID-GLASS DOCK
   ========================================================================== */
@media (max-width: 980px) {
  .hero-bento-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-style-main,
  .bento-style-claude,
  .bento-wf-card {
    grid-column: span 12;
  }

  .creator-bento {
    grid-template-columns: 260px 1fr;
    gap: 26px;
  }

  .connect-grid,
  .work-card.wide-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 98px;
  }

  .container {
    padding: 0 16px;
  }

  .top-nav-wrap {
    padding: 12px 16px 0;
  }

  .top-nav-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-capsule {
    display: none;
  }

  .mobile-glass-dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    max-width: 420px;
    margin: 0 auto;
    z-index: 95;
    padding: 6px 8px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(30, 24, 74, 0.80) 0%, rgba(11, 14, 32, 0.90) 100%);
    backdrop-filter: blur(26px) saturate(180%);
    -webkit-backdrop-filter: blur(26px) saturate(180%);
    border: 1px solid rgba(248, 245, 238, 0.24);
    box-shadow:
      inset 0 1px 0 rgba(248, 245, 238, 0.34),
      0 18px 42px rgba(0, 0, 0, 0.68);
  }

  .dock-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 8px;
    border-radius: 18px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
    flex: 1;
  }

  .dock-link.active {
    color: var(--c-alabaster);
    background: rgba(248, 245, 238, 0.14);
    box-shadow: inset 0 1px 0 rgba(248, 245, 238, 0.28);
  }

  .hero {
    padding: 28px 0 28px;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    margin-bottom: 24px;
  }

  .hero-copy {
    align-items: center;
    order: 2;
  }

  .character-stage {
    order: 1;
    min-height: 250px;
  }

  .krita-rig {
    width: 215px;
  }

  .char-aura {
    width: 220px;
    height: 220px;
  }

  .hero-cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-bento-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .bento-bar-tile {
    padding: 15px;
  }

  .bento-bar-tile h3 {
    font-size: 14.5px;
  }

  .bento-bar-tile p {
    font-size: 12px;
  }

  .section {
    padding: 44px 0;
  }

  .link-card {
    grid-template-columns: 74px 1fr;
    gap: 14px;
    padding: 15px;
  }

  .link-card.no-reel {
    grid-template-columns: 46px 1fr;
  }

  .link-reel-thumb {
    width: 74px;
  }

  .link-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .link-actions > * {
    flex: 1 1 130px;
  }

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

  .creator-bento {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 22px;
  }

  .creator-photo-shell {
    max-width: 285px;
    width: 100%;
    margin: 0 auto;
  }

  .creator-stats-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bento-style-main,
  .bento-style-claude {
    padding: 24px 20px;
  }

  .bento-wf-card {
    padding: 20px;
  }

  .brief-composer {
    padding: 22px 18px;
  }

  .channel-card {
    flex-wrap: wrap;
  }

  .channel-actions {
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .hero-bento-bar {
    grid-template-columns: 1fr;
  }

  .nav-brand-sub {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
