/* ===== Reset & vars ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #050507;
  --text-primary: #ffffff;
  --text-soft: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.55);
  --text-faint: rgba(255,255,255,0.32);
  --border-soft: rgba(255,255,255,0.10);
  --border-medium: rgba(255,255,255,0.16);
  --overlay-dark: rgba(0,0,0,0.78);
  --accent: #C95F2E;
  --accent-soft: rgba(201, 95, 46, 0.18);
  --accent-deep: #7a3318;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--font-serif); }

/* ===== Video background ===== */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg-primary);
}
.bg-video__media {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  /* Adapta el video a la paleta corporativa:
     - desatura parcial (mantiene matices pero los amortigua)
     - oscurece para que el texto blanco brille encima
     - leve contraste para que no quede plano */
  filter: saturate(0.45) brightness(0.55) contrast(1.05);
}
/* Overlay multicapa: tinte naranja sutil + vignette + degradado vertical para legibilidad */
.bg-video__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 12%, rgba(0,0,0,0.78) 100%),
    linear-gradient(160deg, rgba(201, 95, 46, 0.07), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

/* ===== Tipografía global ===== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 24px;
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.85);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  /* Sombra fuerte para que el blanco se lea sobre las zonas claras del parallax */
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(0, 0, 0, 0.6);
}
/* Las palabras italic (em) van en naranja corporativo — meten el color de marca */
.section-title em {
  color: var(--accent);
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(201, 95, 46, 0.35);
}
.section-title--center { text-align: center; }
.section-title--mega { font-size: clamp(64px, 10vw, 140px); text-align: center; }

/* ===== Botones ===== */
.btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn:hover:not(:disabled) {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-1px);
}
.btn--primary {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn--primary:hover:not(:disabled) {
  background: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}
.btn--ghost { background: transparent; }
.btn--pill { padding: 8px 16px; font-size: 11px; }
.btn--filled { background: rgba(255,255,255,0.06); }
.btn--lg { padding: 18px 36px; font-size: 14px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: var(--overlay-dark);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}
.modal.hidden { opacity: 0; pointer-events: none; }
.modal__card {
  max-width: 520px; width: 100%;
  background: rgba(10,10,10,0.92);
  border: 1px solid var(--border-medium);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
}
.modal__badge {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.2em;
  padding: 6px 14px; border: 1px solid var(--border-medium);
  border-radius: 9999px; margin-bottom: 28px;
  text-transform: uppercase;
}
.modal__title {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 400; line-height: 1;
  margin-bottom: 18px;
}
.modal__text { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.modal__check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--text-muted);
  text-align: left; margin-bottom: 28px;
}
.modal__check a { color: var(--text-soft); text-decoration: underline; }
.modal__check input { margin-top: 3px; accent-color: #fff; }
.modal__actions { display: flex; gap: 12px; justify-content: center; }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__logo {
  font-family: var(--font-serif);
  font-weight: 400; font-size: 22px; letter-spacing: 0;
  line-height: 1;
}
.nav__logo-accent {
  color: var(--accent);
  font-style: italic;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__actions { display: flex; gap: 10px; }

/* ===== Hero ===== */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  padding: 160px 32px 80px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.hero__edition {
  font-size: 11px; letter-spacing: 0.3em; color: var(--text-faint);
  margin-bottom: 16px;
}
.hero__tag {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 40px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(64px, 13vw, 220px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  white-space: nowrap;
  text-shadow:
    0 4px 32px rgba(0, 0, 0, 0.9),
    0 0 80px rgba(0, 0, 0, 0.5);
}
.hero__line { display: block; }
.hero__accent {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
}
.hero__sub {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 16px; margin-bottom: 40px;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.95),
    0 0 8px rgba(0, 0, 0, 0.85);
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ===== Galería ===== */
.gallery {
  position: relative; z-index: 1;
  padding: 120px 24px;
  max-width: 1600px;                  /* +200px de ancho — cards más grandes */
  margin: 0 auto;
}
.gallery__head { margin-bottom: 64px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;               /* Todas las cards al mismo alto del grid cell */
  grid-auto-rows: 1fr;                /* Filas iguales */
}
@media (max-width: 1100px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; gap: 16px; }
}
.card-media {
  aspect-ratio: 5 / 7;                  /* Match con las fotos del usuario (5:7 vertical) */
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background-color: #0a0a0a;
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
/* Imagen interna — por defecto B/N, hover a color con zoom */
.card-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1);
  transition:
    filter 0.55s ease-in-out,
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, filter;
}
/* Gradiente inferior para legibilidad del label */
.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
/* HOVER: card se eleva + imagen pasa a color + zoom */
.card-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 95, 46, 0.3);
}
.card-media:hover .card-media__img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.06);
}
/* Móvil / pantallas táctiles: imagen siempre a color (no hay hover real) */
@media (hover: none) {
  .card-media__img {
    filter: grayscale(0%);
  }
}
.card-media__inner {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; padding: 20px;
  z-index: 2;
}
.card-media__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

/* ===== Create ===== */
.create {
  position: relative; z-index: 1;
  padding: 140px 32px;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.create__collage { position: relative; height: 620px; }
.polaroid {
  position: absolute;
  width: 220px;
  height: 322px;                       /* Calculado para que el área de imagen sea 5:7 */
  background: #fff;
  border-radius: 4px;
  padding: 12px 12px 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.55s ease-out;
  transform-origin: center center;
}
/* Imagen interior — B/N por defecto, color al hover. Área 196x274 = 5:7 */
.polaroid__img {
  position: absolute;
  inset: 12px 12px 36px;
  width: calc(100% - 24px);
  height: calc(100% - 48px);
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.55s ease-in-out;
  display: block;
}

/* Posiciones + rotaciones individuales (ajustadas para polaroid más alto) */
.polaroid--1 { top: 0;   left: 40px;  transform: rotate(-8deg); z-index: 1; }
.polaroid--2 { top: 30px; left: 200px; transform: rotate(6deg);  z-index: 2; }
.polaroid--3 { top: 260px; left: 90px;  transform: rotate(-4deg); z-index: 1; }
.polaroid--4 { top: 280px; left: 260px; transform: rotate(10deg); z-index: 2; }

/* HOVER: despegue + endereza + agranda + se trae al frente + imagen a color */
.polaroid:hover {
  transform: rotate(0deg) translateY(-28px) scale(1.16) !important;
  z-index: 100;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(201, 95, 46, 0.25);
}
.polaroid:hover .polaroid__img {
  filter: grayscale(0%) contrast(1);
}

/* Móvil / touch: imagen siempre a color, sin efecto despegue */
@media (hover: none) {
  .polaroid__img { filter: grayscale(0%); }
}
.create__copy p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-bottom: 32px; max-width: 480px;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.8);
}

/* ===== Models ===== */
.models {
  position: relative; z-index: 1;
  padding: 140px 32px;
  max-width: 1280px; margin: 0 auto;
}
.models--dark { background: var(--bg-secondary); max-width: none; margin: 0; }
.models--dark > * { max-width: 1280px; margin-left: auto; margin-right: auto; }
.models__head { margin-bottom: 72px; }
.models__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px;
}
.model {
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.model__name {
  font-family: var(--font-serif);
  font-size: 36px; font-weight: 400; line-height: 1.1;
  margin-bottom: 16px;
  color: #fff;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(0, 0, 0, 0.85);
}
.model p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 460px;
  font-weight: 500;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.8);
}

/* ===== Story ===== */
.story {
  position: relative; z-index: 1;
  padding: 160px 32px;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.story__cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
  text-align: left; margin-top: 48px;
}
.story__cols p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 15px;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.8);
}

/* ===== CTA Final ===== */
.cta-final {
  position: relative; z-index: 1;
  padding: 180px 32px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}
.cta-final p {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  max-width: 540px;
  margin: 24px auto 40px;
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.95),
    0 0 6px rgba(0, 0, 0, 0.8);
}

/* ===== Footer ===== */
.footer {
  position: relative; z-index: 1;
  padding: 80px 32px 32px;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border-soft);
}
.footer__top {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-soft);
}
.footer__brand {
  font-family: var(--font-serif);
  font-weight: 400; font-size: 32px; margin-bottom: 10px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.footer__brand-accent {
  color: var(--accent);
  font-style: italic;
}
.footer__tagline { color: var(--text-muted); font-size: 14px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.3s var(--ease);
}
.footer__links a:hover { color: #fff; }
.footer__contact { color: var(--text-muted); font-size: 14px; }
.footer__bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between;
  padding-top: 24px;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-faint);
}
.footer__bottom a { transition: color 0.3s var(--ease); }
.footer__bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .create { grid-template-columns: 1fr; }
  .create__collage { height: 500px; }
  .models__grid { grid-template-columns: 1fr; gap: 32px; }
  .story__cols { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__title {
    white-space: normal;
    font-size: clamp(56px, 14vw, 120px);
  }
}

/* Custom cursor solo en dispositivos con hover */
@media (hover: none) {
  .custom-cursor { display: none !important; }
}

/* ====================================================
   INTRO — Cinematic loader (~4s)
   ==================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.intro.is-leaving {
  pointer-events: none;
}

/* Video de fondo en la intro (mismo asset que la landing → se cachea) */
.intro__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.08);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  /* Estado inicial: casi negro, sin saturación → se reveal con clase .is-revealed */
  filter: saturate(0) brightness(0.12) contrast(1.3);
  opacity: 0.55;
  transition:
    filter 2.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 2.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Cuando la intro añade .is-revealed (a los ~0.8s): el video se aclara hasta los valores del bg de la landing */
.intro.is-revealed .intro__video {
  filter: saturate(0.45) brightness(0.55) contrast(1.05);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Vignette cinemática: muy oscuro al inicio, se abre */
.intro__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Contenido central */
.intro__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 20px;
}

.intro__edition {
  display: block;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  font-weight: 500;
}

.intro__title {
  font-family: var(--font-serif);
  font-size: clamp(80px, 14vw, 240px);
  font-weight: 400;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.22em;
  white-space: nowrap;
  text-shadow:
    0 8px 60px rgba(0, 0, 0, 0.95),
    0 0 120px rgba(0, 0, 0, 0.8);
}
.intro__word { display: inline-block; }
.intro__word--ai {
  color: var(--accent);
  position: relative;
}
.intro__ai-glow {
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(201, 95, 46, 0.6) 0%, transparent 65%);
  filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.intro__tagline {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Progress bar */
.intro__bottom {
  position: absolute;
  bottom: 48px;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding: 0 32px;
}
.intro__progress {
  width: 100%;
  max-width: 380px;
}
.intro__progress-bar {
  width: 100%;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.intro__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fff, var(--accent));
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(201, 95, 46, 0.5);
}
.intro__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.intro__progress-pct {
  color: var(--accent);
}

/* Móvil: tagline en una línea más corta */
@media (max-width: 700px) {
  .intro__title {
    font-size: clamp(56px, 16vw, 110px);
    gap: 0.12em;
  }
  .intro__tagline {
    font-size: 10px;
    letter-spacing: 0.24em;
  }
  .intro__edition {
    font-size: 10px;
    letter-spacing: 0.32em;
  }
}

/* ====================================================
   COMMAND PALETTE (Cmd/Ctrl + K)
   Compartido entre landing y studio
   ==================================================== */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14vh;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.cmdk.is-open {
  display: flex;
  opacity: 1;
}
.cmdk__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
}
.cmdk__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.cmdk.is-open .cmdk__panel {
  transform: translateY(0);
  opacity: 1;
}

.cmdk__input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cmdk__search-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.cmdk__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.cmdk__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.cmdk__kbd {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.cmdk__kbd-small {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  margin-right: 5px;
}

.cmdk__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 50vh;
  overflow-y: auto;
}
.cmdk__list::-webkit-scrollbar { width: 6px; }
.cmdk__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 9999px; }

.cmdk__item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.cmdk__item:hover, .cmdk__item.is-selected {
  background: rgba(201, 95, 46, 0.14);
}
.cmdk__item-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cmdk__item-icon svg { display: block; }
.cmdk__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cmdk__item-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmdk__item-title mark {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}
.cmdk__item-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmdk__item-tag {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
}

.cmdk__empty {
  padding: 32px 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.cmdk__empty em {
  color: var(--accent);
}

.cmdk__footer {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
}
.cmdk__footer-item {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
}
 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.cmdk.is-open .cmdk__panel {
  transform: translateY(0);
  opacity: 1;
}

.cmdk__input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cmdk__search-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.cmdk__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.cmdk__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.cmdk__kbd {
  font-family: var(--font-body);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.cmdk__kbd-small {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
  margin-right: 5px;
}
.cmdk__list {
  list-style: none;
  margin: 0;
  padding: 8px;
  max-height: 50vh;
  overflow-y: auto;
}
.cmdk__list::-webkit-scrollbar { width: 6px; }
.cmdk__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 9999px; }
.cmdk__item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.cmdk__item:hover, .cmdk__item.is-selected {
  background: rgba(201, 95, 46, 0.14);
}
.cmdk__item-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cmdk__item-icon svg { display: block; }
.cmdk__item-text {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.cmdk__item-title {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmdk__item-title mark {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}
.cmdk__item-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cmdk__item-tag {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
}
.cmdk__empty {
  padding: 32px 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.cmdk__empty em { color: var(--accent); }
.cmdk__footer {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.3);
}
.cmdk__footer-item {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
}
