/* ==========================================================================
   EchoStyle — Luxury Minimalist Marketing Experience
   Rose-gold · Bauhaus / De Stijl · premium fashion-tech
   ========================================================================== */

:root {
  /* Core luxury void palette */
  --void: #05060a;
  --void-2: #0a0a0c;
  --void-3: #12141a;
  --panel: rgba(14, 14, 18, 0.78);
  --panel-solid: #101218;
  --ink: #f4f0ea;
  --ink-soft: #cfc6bb;
  --ink-muted: #8a847c;
  --white: #ffffff;

  /* Official rose-gold brand */
  --rose-gold: #d4af88;
  --rose-gold-deep: #c9a06f;
  --rose-gold-soft: #e4c9a8;
  --rose-gold-muted: rgba(212, 175, 136, 0.55);
  --rose-gold-glow: rgba(212, 175, 136, 0.28);
  --rose-gradient: linear-gradient(135deg, #e4c9a8 0%, #d4af88 42%, #c9a06f 100%);

  /* Legacy neon aliases → brand-aligned (HUD / console retain soft tech colour) */
  --neon-cyan: #d4af88;
  --neon-magenta: #c9a06f;
  --neon-violet: #e4c9a8;
  --neon-gold: #d4af88;
  --neon-lime: #d4af88;
  --accent: var(--rose-gold);
  --accent-2: var(--rose-gold-deep);
  --champagne: var(--rose-gold-soft);

  /* Soft tech HUD (secondary, sparingly) */
  --hud-cyan: #7ec8d4;
  --hud-lime: #9dcfb0;

  /* Glows */
  --glow-cyan: 0 0 24px var(--rose-gold-glow);
  --glow-magenta: 0 0 24px rgba(201, 160, 111, 0.3);
  --glow-violet: 0 0 28px rgba(228, 201, 168, 0.25);
  --glow-soft: 0 0 60px rgba(212, 175, 136, 0.12);
  --glow-rose: 0 0 32px rgba(212, 175, 136, 0.4);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(212, 175, 136, 0.35);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Syne", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --max-width: 74rem;
  --header-h: 4.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 320ms;
  --duration-slow: 700ms;

  --focus-ring: 0 0 0 2px var(--void), 0 0 0 4px var(--rose-gold);
}

/* Prefer dark; light scheme keeps same luxury dark UI (logo is dark-optimised) */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particle-canvas,
  .scanline,
  .orb,
  .grid-floor {
    display: none !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

p {
  color: var(--ink-soft);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(212, 175, 136, 0.32);
  color: var(--white);
}

/* ---------- Ambient layers ---------- */
.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(212, 175, 136, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(201, 160, 111, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(228, 201, 168, 0.06), transparent 55%),
    var(--void);
}

.site-wrap {
  position: relative;
  z-index: 2;
}

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

.container--narrow {
  width: min(100% - 2rem, 42rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--neon-cyan);
  color: var(--void);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  box-shadow: var(--glow-cyan);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #e8dfd4 42%, var(--rose-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  font-size: 1.05rem;
  max-width: 36rem;
  color: var(--ink-muted);
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 40rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-lead {
  margin-inline: auto;
}

/* Glass panel */
.glass {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.glass--glow:hover {
  border-color: rgba(212, 175, 136, 0.25);
  box-shadow:
    0 0 0 1px rgba(212, 175, 136, 0.08) inset,
    0 20px 50px rgba(0, 0, 0, 0.35),
    var(--glow-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition:
    transform var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out);
  white-space: nowrap;
  position: relative;
}

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

.btn--primary {
  background: var(--rose-gradient);
  color: #1a1410;
  box-shadow: var(--glow-rose);
}

.btn--primary:hover {
  box-shadow: 0 0 36px rgba(212, 175, 136, 0.55);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  border-color: var(--rose-gold);
  color: var(--rose-gold-soft);
  box-shadow: var(--glow-soft);
}

.btn--magenta {
  background: linear-gradient(135deg, var(--rose-gold-deep), #a07a4e);
  color: var(--white);
  box-shadow: var(--glow-magenta);
}

.btn--lg {
  padding: 1.05rem 1.85rem;
  font-size: 0.95rem;
}

.btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition:
    background var(--duration) var(--ease-out),
    border-color var(--duration) var(--ease-out),
    backdrop-filter var(--duration) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0; /* no fallback text glyphs next to marks */
  line-height: 0;
  z-index: 110;
  color: transparent;
  text-decoration: none;
}

/* Duo mark icon */
a.logo img.logo__mark,
.logo img.logo__mark {
  display: block !important;
  width: 2.35rem !important;
  height: 2.35rem !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0.45rem;
  object-fit: contain !important;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(212, 175, 136, 0.28));
  transition: filter var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

/* Official wordmark image (EchoStyleText) — NOT system text */
a.logo img.logo__word,
.logo img.logo__word {
  display: block !important;
  /* Beat global img { height: auto; max-width: 100% } — force raster wordmark */
  width: 7.25rem !important; /* ~116px */
  height: 2rem !important; /* ~32px — sits cleanly beside 38px mark */
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 136, 0.22));
  transition: filter var(--duration) var(--ease-out);
}

@media (min-width: 900px) {
  a.logo img.logo__word,
  .logo img.logo__word {
    width: 8.25rem !important; /* ~132px */
    height: 2.25rem !important; /* ~36px */
  }
}

.logo:hover img.logo__mark {
  filter: drop-shadow(0 0 16px rgba(212, 175, 136, 0.45));
  transform: scale(1.03);
}

.logo:hover img.logo__word {
  filter: drop-shadow(0 0 12px rgba(212, 175, 136, 0.38));
}

/* Light surfaces */
.logo--on-light img.logo__mark {
  filter: drop-shadow(0 2px 6px rgba(20, 16, 12, 0.18));
}

.logo--on-light img.logo__word {
  filter: drop-shadow(0 1px 2px rgba(20, 16, 12, 0.12));
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  transition: color var(--duration) var(--ease-out);
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: var(--rose-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease-out);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--rose-gold-soft);
  margin-inline: auto;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
  box-shadow: 0 0 6px rgba(212, 175, 136, 0.3);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease-out), visibility var(--duration) var(--ease-out);
  z-index: 105;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ---------- Hero ----------
   Same horizontal gutter as .container / Interactive simulation.
   Desktop: top-aligned two columns — copy left, phone right (space-between).
*/
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-start; /* top-align shell within section */
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  overflow: visible;
}

/* Same width contract as Interactive simulation (.container) */
.hero__shell,
.hero > .container,
.hero .hero__grid.container {
  width: min(100% - 2rem, var(--max-width));
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

/* Primary flex row */
.hero__row,
.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 2.5rem;
  width: 100%;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero__row,
  .hero__grid {
    flex-direction: row;
    align-items: flex-start; /* status + phone top edges align */
    justify-content: space-between;
    gap: clamp(2rem, 3.5vw, 3rem);
  }
}

/* Left column — flush to container left (matches section header left edge) */
.hero__left,
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}

@media (min-width: 1024px) {
  .hero__left,
  .hero__copy {
    flex: 1 1 0;
    max-width: 34rem;
    padding-right: 0.5rem;
  }
}

/* Right column — phone flush to container right */
.hero__right,
.hero__stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  justify-content: center;
  align-items: flex-start; /* top-align phone with status row */
  min-height: 28rem;
  perspective: 1200px;
  overflow: visible;
  margin-top: 0;
}

@media (min-width: 700px) {
  .hero__right,
  .hero__stage {
    min-height: 32rem;
  }
}

@media (min-width: 1024px) {
  .hero__right,
  .hero__stage {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    min-height: 0;
    justify-content: flex-end; /* right edge of container */
    align-items: flex-start;
    margin-top: 0;
    padding-right: 0;
    padding-left: 0.5rem;
  }
}

/* Brand lockup — left-aligned on desktop */
.hero__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__brand {
    align-items: flex-start;
    text-align: left;
  }
}

.hero__brand-glow {
  position: absolute;
  inset: -12% -18% auto;
  height: 80%;
  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(212, 175, 136, 0.22) 0%,
    rgba(212, 175, 136, 0.06) 48%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero__brand-glow {
    inset: -14% -10% auto -22%;
    background: radial-gradient(
      ellipse at 28% 35%,
      rgba(212, 175, 136, 0.24) 0%,
      rgba(212, 175, 136, 0.05) 50%,
      transparent 72%
    );
  }
}

/* Logo + ambient simulation stack */
.hero__logo-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 16rem);
  margin-bottom: 1.25rem;
}

@media (min-width: 700px) {
  .hero__logo-wrap {
    width: min(100%, 18rem);
  }
}

@media (min-width: 1024px) {
  .hero__logo-wrap {
    width: min(100%, 20rem);
  }
}

@media (min-width: 1200px) {
  .hero__logo-wrap {
    width: min(100%, 21.5rem);
  }
}

/* Interactive ambient: glowing grid + fabric flow behind logo */
.hero__logo-sim {
  position: absolute;
  inset: -12% -14%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 1.25rem;
  opacity: 0.9;
}

.hero__sim-grid {
  position: absolute;
  inset: 8%;
  background-image:
    linear-gradient(rgba(212, 175, 136, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 136, 0.18) 1px, transparent 1px);
  background-size: 18% 18%;
  mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
  animation: hero-grid-glow 5.5s ease-in-out infinite;
}

.hero__sim-diag {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(228, 201, 168, 0.15),
    rgba(212, 175, 136, 0.65),
    rgba(228, 201, 168, 0.15),
    transparent
  );
  box-shadow: 0 0 12px rgba(212, 175, 136, 0.45);
  transform-origin: center;
  animation: hero-diag-sweep 7s ease-in-out infinite;
}

.hero__sim-diag--a {
  transform: rotate(-28deg) scaleX(0.92);
}

.hero__sim-diag--b {
  transform: rotate(32deg) scaleX(0.88);
  animation-delay: -2.4s;
  opacity: 0.75;
}

.hero__sim-flow {
  position: absolute;
  inset: 10% 5% 15%;
  background:
    radial-gradient(ellipse 40% 55% at 30% 40%, rgba(212, 175, 136, 0.12), transparent 70%),
    radial-gradient(ellipse 35% 50% at 70% 55%, rgba(201, 160, 111, 0.1), transparent 70%);
  filter: blur(8px);
  animation: hero-fabric-flow 9s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero__sim-pulse {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 136, 0.2);
  animation: hero-sim-pulse 4.2s ease-out infinite;
}

@keyframes hero-grid-glow {
  0%,
  100% {
    opacity: 0.35;
    background-size: 18% 18%;
  }
  50% {
    opacity: 0.75;
    background-size: 17.5% 17.5%;
  }
}

@keyframes hero-diag-sweep {
  0%,
  100% {
    opacity: 0.25;
    filter: brightness(0.9);
  }
  50% {
    opacity: 0.95;
    filter: brightness(1.35);
  }
}

@keyframes hero-fabric-flow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  33% {
    transform: translate(3%, -2%) scale(1.04);
    opacity: 0.85;
  }
  66% {
    transform: translate(-2%, 3%) scale(0.98);
    opacity: 0.7;
  }
}

@keyframes hero-sim-pulse {
  0% {
    transform: scale(0.92);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin-inline: 0;
  filter: drop-shadow(0 12px 40px rgba(212, 175, 136, 0.22));
  animation: hero-logo-breathe 6.5s ease-in-out infinite;
  will-change: transform, filter;
  transition: filter 0.45s var(--ease-out);
}

.hero__logo-wrap:hover .hero__logo {
  filter: drop-shadow(0 16px 48px rgba(212, 175, 136, 0.42));
}

.hero__logo-wrap:hover .hero__sim-grid {
  animation-duration: 2.8s;
  opacity: 1;
}

@keyframes hero-logo-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 12px 40px rgba(212, 175, 136, 0.2));
  }
  50% {
    transform: translateY(-5px) scale(1.012);
    filter: drop-shadow(0 18px 52px rgba(212, 175, 136, 0.38));
  }
}

.hero__tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--rose-gold-soft);
  margin: 0;
  max-width: 22rem;
  text-shadow: 0 0 36px rgba(212, 175, 136, 0.35);
  line-height: 1.35;
}

.hero__tagline-rule {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 1px;
  margin: 1rem auto 0;
  background: var(--rose-gradient);
  opacity: 0.75;
  box-shadow: 0 0 12px rgba(212, 175, 136, 0.4);
}

@media (min-width: 1024px) {
  .hero__tagline-rule {
    margin-left: 0;
    margin-right: auto;
  }
}

.hero__status {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-gold-soft);
  border: 1px solid rgba(212, 175, 136, 0.28);
  border-radius: var(--radius-full);
  background: rgba(212, 175, 136, 0.07);
  box-shadow: 0 0 20px rgba(212, 175, 136, 0.1);
}

.hero__status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--rose-gold);
  box-shadow: 0 0 10px var(--rose-gold);
  animation: pulse-neon 2s ease-in-out infinite;
}

@keyframes pulse-neon {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.hero__title {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero__title .line {
  display: block;
}

.hero__title .glow-text {
  background: var(--rose-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(212, 175, 136, 0.28));
}

.hero__desc {
  font-size: 1.05rem;
  max-width: 30rem;
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
}

.hero__metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.hero__copy .btn-group {
  justify-content: flex-start;
}

.metric {
  min-width: 5.5rem;
}

.metric__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rose-gold);
  text-shadow: 0 0 16px rgba(212, 175, 136, 0.35);
  line-height: 1.2;
}

.metric__label {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero__sim-grid,
  .hero__sim-diag,
  .hero__sim-flow,
  .hero__sim-pulse {
    animation: none !important;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite;
}

.orb--1 {
  width: 16rem;
  height: 16rem;
  background: rgba(212, 175, 136, 0.18);
  top: 10%;
  right: 15%;
}

.orb--2 {
  width: 12rem;
  height: 12rem;
  background: rgba(201, 160, 111, 0.16);
  bottom: 15%;
  left: 10%;
  animation-delay: -3s;
}

.orb--3 {
  width: 8rem;
  height: 8rem;
  background: rgba(228, 201, 168, 0.12);
  top: 40%;
  left: 20%;
  animation-delay: -5s;
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(12px, -18px) scale(1.08);
  }
}

.grid-floor {
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: 140%;
  height: 40%;
  transform: translateX(-50%) rotateX(70deg);
  background-image:
    linear-gradient(rgba(212, 175, 136, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 136, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
  animation: grid-scroll 12s linear infinite;
}

@keyframes grid-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 40px;
  }
}

/* Holo phone — never leave opacity stuck at 0 (GSAP entrance must not hide it) */
.holo-phone {
  position: relative;
  width: min(100%, 18.5rem);
  aspect-ratio: 9 / 19.2;
  border-radius: 2.4rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #1a2030, #0a0c14);
  border: 1px solid rgba(212, 175, 136, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(212, 175, 136, 0.2),
    0 30px 80px rgba(0, 0, 0, 0.55);
  z-index: 3;
  opacity: 1 !important; /* guard against incomplete GSAP .from({opacity:0}) */
  visibility: visible !important;
  /* Subtle 3D — strong tilt looked distorted on some displays */
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
  flex-shrink: 0;
}

.holo-phone:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.holo-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.9rem;
  overflow: hidden;
  background: linear-gradient(180deg, #0c1018 0%, #151b28 100%);
}

.holo-phone__notch {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.2rem;
  height: 1.35rem;
  background: #05060a;
  border-radius: var(--radius-full);
  z-index: 6;
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(212, 175, 136, 0.06) 50%,
    transparent 100%
  );
  background-size: 100% 8px;
  animation: scan 6s linear infinite;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  opacity: 0.5;
}

@keyframes scan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 100%;
  }
}

.tryon-hud {
  position: absolute;
  top: 2.4rem;
  left: 0.7rem;
  right: 0.7rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: rgba(212, 175, 136, 0.85);
  text-transform: uppercase;
}

.tryon-hud span {
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(212, 175, 136, 0.3);
  border-radius: 0.3rem;
  background: rgba(5, 6, 10, 0.55);
  backdrop-filter: blur(6px);
}

.tryon-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  /* Room for HUD at top + product dock; full-body avatar fills the middle */
  padding: 2.6rem 0.55rem 0.55rem;
  gap: 0.35rem;
}

/* Multi-layer avatar — full-body photoreal + garment overlays */
.avatar-rig {
  position: relative;
  width: 92%;
  /* Explicit height so absolute <img> children never collapse to 0 */
  flex: 1 1 auto;
  min-height: 14rem;
  height: calc(100% - 5.2rem);
  max-height: calc(100% - 5.2rem);
  margin-bottom: 0.35rem;
}

.avatar-rig__base {
  position: absolute;
  inset: 0;
  border-radius: 0.85rem 0.85rem 0.35rem 0.35rem;
  /* Fallback photoreal figure if <img> stack fails to paint */
  background-color: #12161e;
  background-image:
    radial-gradient(ellipse 65% 40% at 50% 12%, rgba(212, 175, 136, 0.1), transparent 55%),
    url("/assets/images/outfit-2-classic.jpg?v=20260716-s02");
  background-size: cover, contain;
  background-position: center, center center;
  background-repeat: no-repeat, no-repeat;
  border: 1px solid rgba(212, 175, 136, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Full-body try-on stack — crossfade outfit variants (opacity driven by .is-active) */
.avatar-photo {
  position: absolute;
  inset: 0;
  /* Override global img height:auto so absolute layers fill the rig */
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center center;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  filter: saturate(1.04) contrast(1.03);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  will-change: opacity;
}

.avatar-photo.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.avatar-photo.is-active.is-morphing {
  animation: outfit-morph 0.55s ease;
}

@keyframes outfit-morph {
  0% {
    filter: saturate(1.04) contrast(1.03) brightness(1);
    transform: scale(1);
  }
  40% {
    filter: saturate(1.15) contrast(1.08) brightness(1.08);
    transform: scale(1.02);
  }
  100% {
    filter: saturate(1.04) contrast(1.03) brightness(1);
    transform: scale(1);
  }
}

/* Brief flash when outfit swaps */
.avatar-flash {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 175, 136, 0.35), transparent 65%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.avatar-flash.is-on {
  opacity: 1;
}

/* Light vignette — keep feet/face visible */
.avatar-rig__base::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.1) 0%, transparent 12%, transparent 88%, rgba(5, 6, 10, 0.18) 100%),
    radial-gradient(ellipse 95% 80% at 50% 45%, transparent 55%, rgba(5, 6, 10, 0.18) 100%);
}

/* Try-on panel: phone + evolution control */
.tryon-panel {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100%, 22rem);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .tryon-panel {
    margin-left: auto;
    margin-right: 0; /* pin to right edge of container */
    align-items: flex-end;
  }

  .hero__stage .holo-phone {
    margin-left: auto;
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  .hero__left .btn-group {
    justify-content: flex-start;
  }
}

/* ---- Outfit Evolution slider (horizontal, reliable hit target) ---- */
.outfit-evolution {
  width: 100%;
  padding: 0.9rem 1rem 1rem;
  border-radius: var(--radius-md, 0.875rem);
  position: relative;
  z-index: 4;
}

.outfit-evolution__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.outfit-evolution__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.outfit-evolution__title {
  margin: 0.15rem 0 0;
  font-family: var(--font-display, var(--font-body));
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.outfit-evolution__readout {
  text-align: right;
  flex-shrink: 0;
}

.outfit-evolution__pct {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-shadow: 0 0 16px rgba(212, 175, 136, 0.45);
  line-height: 1.1;
}

.outfit-evolution__label {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--ink-soft, var(--ink-muted));
}

.outfit-evolution__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.5rem;
  border-radius: var(--radius-full, 999px);
  /* --intensity 0–100 set by JS for live fill feedback */
  --intensity: 50;
  background: linear-gradient(
    90deg,
    rgba(125, 255, 179, 0.85) 0%,
    rgba(212, 175, 136, 0.9) 45%,
    rgba(201, 160, 111, 0.9) 72%,
    rgba(201, 160, 111, 0.95) 100%
  );
  background-size: calc(var(--intensity) * 1%) 100%;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 18px rgba(212, 175, 136, 0.18);
  transition: background-size 0.08s linear, box-shadow 0.2s ease;
}

.outfit-evolution__range:active {
  box-shadow: inset 0 0 0 1px rgba(212, 175, 136, 0.35), 0 0 28px rgba(212, 175, 136, 0.35);
}

.outfit-evolution__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d4af88 55%, #8a6b48);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(212, 175, 136, 0.25), 0 0 18px rgba(212, 175, 136, 0.75);
  cursor: grab;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.outfit-evolution__range::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.12);
}

.outfit-evolution__range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #d4af88 55%, #8a6b48);
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(212, 175, 136, 0.25), 0 0 18px rgba(212, 175, 136, 0.75);
  cursor: grab;
}

.outfit-evolution__range:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
}

.outfit-evolution__ticks {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 0.7rem;
}

.outfit-tick {
  flex: 1 1 0;
  padding: 0.35rem 0.2rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(212, 175, 136, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.outfit-tick:hover {
  border-color: rgba(212, 175, 136, 0.45);
  color: var(--ink);
}

.outfit-tick.is-active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(212, 175, 136, 0.1);
  box-shadow: 0 0 14px rgba(212, 175, 136, 0.2);
}

.outfit-evolution__hint {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.avatar-scan {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 12px var(--neon-cyan);
  top: 12%;
  animation: avatar-scan 3.5s ease-in-out infinite;
  opacity: 0.65;
  z-index: 4;
}

@keyframes avatar-scan {
  0%,
  100% {
    top: 8%;
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  90% {
    opacity: 0.75;
  }
  100% {
    top: 92%;
    opacity: 0;
  }
}

.layer-chips {
  position: absolute;
  left: 0.35rem;
  top: 22%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 5;
  max-width: 42%;
  pointer-events: none;
}

.layer-chip {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
  border-radius: 0.3rem;
  background: rgba(5, 6, 10, 0.8);
  border: 1px solid rgba(212, 175, 136, 0.3);
  color: var(--neon-cyan);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  white-space: nowrap;
}

.layer-chip.is-on {
  opacity: 1;
  transform: translateX(0);
}

.layer-chip:nth-child(2) {
  border-color: rgba(201, 160, 111, 0.4);
  color: var(--neon-violet);
}
.layer-chip:nth-child(3) {
  border-color: rgba(201, 160, 111, 0.4);
  color: var(--neon-magenta);
}
.layer-chip:nth-child(4) {
  border-color: rgba(240, 196, 106, 0.4);
  color: var(--neon-gold);
}

.product-dock {
  width: 100%;
  flex: 0 0 auto;
  padding: 0.55rem 0.65rem;
  border-radius: 0.85rem;
  background: rgba(5, 6, 10, 0.78);
  border: 1px solid rgba(212, 175, 136, 0.2);
  backdrop-filter: blur(12px);
  z-index: 4;
  box-shadow: 0 0 24px rgba(212, 175, 136, 0.1);
}

.product-dock__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-dock__thumb {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.4rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
  flex-shrink: 0;
  transition: background 0.6s var(--ease-out);
  box-shadow: 0 0 12px rgba(212, 175, 136, 0.3);
}

.product-dock__meta {
  flex: 1;
  min-width: 0;
}

.product-dock__brand {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.product-dock__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-dock__price {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--neon-gold);
  text-shadow: 0 0 10px rgba(240, 196, 106, 0.4);
}

.product-dock__bar {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.product-dock__bar span {
  flex: 1;
  text-align: center;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.product-dock__bar span:first-child {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  border: 1px solid var(--border);
}

.product-dock__bar span:last-child {
  background: linear-gradient(135deg, var(--neon-cyan), #a8845a);
  color: var(--void);
}

/* Floating HUD cards */
.hud-float {
  position: absolute;
  z-index: 4;
  padding: 0.7rem 0.85rem;
  max-width: 9.5rem;
  animation: float-y 5.5s ease-in-out infinite;
}

.hud-float--1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
}

.hud-float--2 {
  bottom: 20%;
  right: 0;
  animation-delay: -2s;
}

.hud-float--3 {
  top: 45%;
  right: -0.25rem;
  animation-delay: -1s;
  display: none;
}

@media (min-width: 480px) {
  .hud-float--3 {
    display: block;
  }
}

@media (min-width: 1000px) {
  .hud-float--1 {
    left: -1.5rem;
  }
  .hud-float--2 {
    right: -1rem;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hud-float__label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.25rem;
}

.hud-float__value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.hud-float__bar {
  margin-top: 0.45rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.hud-float__bar i {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-violet));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* ---------- Interactive console demo ---------- */
.console-section {
  padding: 6.5rem 0;
  position: relative;
}

.console-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
}

@media (min-width: 920px) {
  .console-panel {
    grid-template-columns: 1.1fr 1fr;
    min-height: 32rem;
  }
}

.console-input {
  padding: 1.75rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.9), rgba(10, 12, 18, 0.95));
}

.console-input__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.console-input__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.console-dots {
  display: flex;
  gap: 0.35rem;
}

.console-dots span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.console-dots span:nth-child(1) {
  background: #ff5f57;
}
.console-dots span:nth-child(2) {
  background: #febc2e;
}
.console-dots span:nth-child(3) {
  background: #28c840;
}

.prompt-field {
  position: relative;
  flex: 1;
  min-height: 8rem;
}

.prompt-field textarea {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  resize: none;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.prompt-field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 136, 0.45);
  box-shadow: 0 0 0 3px rgba(212, 175, 136, 0.12), var(--glow-soft);
}

.prompt-field textarea::placeholder {
  color: var(--ink-muted);
}

.mic-btn {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 136, 0.1);
  border: 1px solid rgba(212, 175, 136, 0.35);
  color: var(--neon-cyan);
  transition: all var(--duration) var(--ease-out);
}

.mic-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mic-btn:hover,
.mic-btn.is-listening {
  background: rgba(201, 160, 111, 0.15);
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
  box-shadow: var(--glow-magenta);
}

.mic-btn.is-listening {
  animation: mic-pulse 1.2s ease-in-out infinite;
}

@keyframes mic-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 160, 111, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(201, 160, 111, 0);
  }
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.prompt-chip {
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--duration) var(--ease-out);
}

.prompt-chip:hover {
  border-color: rgba(212, 175, 136, 0.4);
  color: var(--neon-cyan);
  background: rgba(212, 175, 136, 0.06);
}

.console-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.console-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.console-status.is-active {
  color: var(--neon-lime);
}

.console-status.is-error {
  color: var(--neon-magenta);
}

/* Results side */
.console-results {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(8, 10, 16, 0.6);
  position: relative;
  overflow: hidden;
}

.console-results::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, rgba(201, 160, 111, 0.12), transparent 70%);
  pointer-events: none;
}

.console-results__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  position: relative;
  z-index: 1;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  transition: all 0.4s var(--ease-out);
}

.pipeline-step.is-active {
  border-color: rgba(212, 175, 136, 0.5);
  color: var(--neon-cyan);
  background: rgba(212, 175, 136, 0.08);
  box-shadow: 0 0 12px rgba(212, 175, 136, 0.15);
}

.pipeline-step.is-done {
  border-color: rgba(125, 255, 179, 0.4);
  color: var(--neon-lime);
  background: rgba(125, 255, 179, 0.06);
}

.pipeline-step__dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  position: relative;
  z-index: 1;
  flex: 1;
}

.result-card {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.5s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.result-card.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.result-card:hover {
  border-color: rgba(212, 175, 136, 0.35);
  box-shadow: 0 0 20px rgba(212, 175, 136, 0.1);
}

.result-card__swatch {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.4rem;
  margin-bottom: 0.55rem;
  position: relative;
  overflow: hidden;
}

.result-card__swatch::after {
  content: "TRY ON";
  position: absolute;
  inset: auto 0.4rem 0.4rem auto;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.4rem;
  background: rgba(5, 6, 10, 0.75);
  border: 1px solid rgba(212, 175, 136, 0.4);
  border-radius: 0.25rem;
  color: var(--neon-cyan);
}

.result-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.result-card__meta {
  font-size: 0.68rem;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}

.result-card__match {
  color: var(--neon-lime);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.results-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  gap: 0.5rem;
}

.results-empty strong {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Personal Fashion Manager ---------- */
.brain-section {
  padding: 6.5rem 0;
  position: relative;
}

.brain-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .brain-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
  }
}

.brain-viz {
  position: relative;
  aspect-ratio: 1;
  max-width: 28rem;
  margin-inline: auto;
  width: 100%;
}

.brain-viz__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.25), transparent 40%),
    radial-gradient(circle, rgba(212, 175, 136, 0.35), rgba(201, 160, 111, 0.2) 50%, transparent 70%);
  border: 1px solid rgba(212, 175, 136, 0.4);
  box-shadow:
    0 0 40px rgba(212, 175, 136, 0.35),
    0 0 80px rgba(201, 160, 111, 0.2),
    inset 0 0 30px rgba(212, 175, 136, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: core-pulse 4s ease-in-out infinite;
}

@keyframes core-pulse {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(212, 175, 136, 0.35),
      0 0 80px rgba(201, 160, 111, 0.2),
      inset 0 0 30px rgba(212, 175, 136, 0.15);
  }
  50% {
    box-shadow:
      0 0 55px rgba(212, 175, 136, 0.5),
      0 0 100px rgba(201, 160, 111, 0.3),
      inset 0 0 40px rgba(212, 175, 136, 0.25);
  }
}

.brain-viz__core span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
  padding: 0 0.5rem;
}

.brain-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 136, 0.2);
  transform: translate(-50%, -50%);
  animation: ring-spin 40s linear infinite;
}

.brain-ring--1 {
  width: 55%;
  height: 55%;
  animation-duration: 28s;
}
.brain-ring--2 {
  width: 78%;
  height: 78%;
  animation-duration: 48s;
  animation-direction: reverse;
  border-color: rgba(201, 160, 111, 0.2);
}
.brain-ring--3 {
  width: 96%;
  height: 96%;
  animation-duration: 64s;
  border-color: rgba(201, 160, 111, 0.15);
}

@keyframes ring-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.memory-node {
  position: absolute;
  z-index: 4;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(10, 12, 18, 0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  min-width: 6.5rem;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: default;
}

.memory-node:hover {
  border-color: rgba(212, 175, 136, 0.4);
  box-shadow: var(--glow-soft);
  transform: scale(1.04);
}

.memory-node__type {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.15rem;
}

.memory-node--style .memory-node__type {
  color: var(--neon-violet);
}
.memory-node--fit .memory-node__type {
  color: var(--neon-gold);
}
.memory-node--history .memory-node__type {
  color: var(--neon-magenta);
}
.memory-node--prefs .memory-node__type {
  color: var(--neon-lime);
}

.memory-node__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.memory-node--1 {
  top: 8%;
  left: 12%;
}
.memory-node--2 {
  top: 18%;
  right: 6%;
}
.memory-node--3 {
  bottom: 22%;
  left: 4%;
}
.memory-node--4 {
  bottom: 12%;
  right: 10%;
}
.memory-node--5 {
  top: 48%;
  left: -2%;
}
.memory-node--6 {
  top: 42%;
  right: -2%;
}

.brain-copy h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.5rem;
  background: none;
  color: var(--ink);
  -webkit-background-clip: unset;
  background-clip: unset;
}

.brain-copy h3:first-of-type {
  margin-top: 0;
}

.brain-copy p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.brain-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.brain-stat {
  padding: 1rem;
  text-align: center;
}

.brain-stat__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 14px rgba(212, 175, 136, 0.35);
}

.brain-stat__label {
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* ---------- Wardrobe growth ---------- */
.wardrobe-section {
  padding: 6.5rem 0;
}

.wardrobe-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .wardrobe-board {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 1000px) {
  .wardrobe-board {
    grid-template-columns: repeat(8, 1fr);
  }
}

.wardrobe-tile {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out),
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.wardrobe-tile.is-in {
  opacity: 1;
  transform: scale(1);
}

.wardrobe-tile.is-in:hover {
  border-color: rgba(212, 175, 136, 0.4);
  box-shadow: 0 0 20px rgba(212, 175, 136, 0.15);
  z-index: 2;
}

.wardrobe-tile__fill {
  position: absolute;
  inset: 0;
}

.wardrobe-tile__label {
  position: absolute;
  bottom: 0.35rem;
  left: 0.35rem;
  right: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wardrobe-tile--empty {
  border-style: dashed;
  opacity: 0.35;
  transform: none;
}

.wardrobe-tile--empty .wardrobe-tile__fill {
  display: none;
}

.wardrobe-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.wardrobe-progress {
  flex: 1;
  min-width: 12rem;
  max-width: 24rem;
}

.wardrobe-progress__label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wardrobe-progress__track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.wardrobe-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-violet), var(--neon-magenta));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(212, 175, 136, 0.5);
  transition: width 0.6s var(--ease-out);
}

/* ---------- AI Recommendations ---------- */
.recs-section {
  padding: 6.5rem 0;
}

.recs-stream {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .recs-stream {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rec-card {
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
}

.rec-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-magenta);
  margin-bottom: 0.85rem;
}

.rec-card__badge::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--neon-magenta);
  box-shadow: 0 0 8px var(--neon-magenta);
}

.rec-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  background: none;
  color: var(--ink);
  -webkit-background-clip: unset;
}

.rec-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.rec-card__reason {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 136, 0.05);
  border: 1px solid rgba(212, 175, 136, 0.15);
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  line-height: 1.45;
}

.rec-card__reason strong {
  color: var(--neon-cyan);
  font-weight: 500;
}

/* ---------- How it works ---------- */
.how {
  padding: 6.5rem 0;
}

.how__timeline {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .how__timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-step {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--duration) var(--ease-out);
}

.how-step:hover {
  transform: translateY(-4px);
}

.how-step__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
}

.how-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  background: none;
  color: var(--ink);
  -webkit-background-clip: unset;
}

.how-step p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.how-step__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
  opacity: 0.6;
}

/* ---------- Stories ---------- */
.stories {
  padding: 6.5rem 0;
}

.stories__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .stories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-card__quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.25rem;
  flex: 1;
}

.story-card__evolution {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.story-card__swatch {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.3rem;
  flex-shrink: 0;
}

.story-card__arrow {
  color: var(--neon-cyan);
  font-size: 0.75rem;
}

.story-card__evo-text {
  font-size: 0.68rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.story-card__evo-text strong {
  display: block;
  color: var(--ink-soft);
  font-weight: 500;
}

.story-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.story-card__avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--void);
  flex-shrink: 0;
}

.story-card__name {
  font-size: 0.85rem;
  font-weight: 600;
}

.story-card__meta {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* ---------- Privacy ---------- */
.privacy-band {
  padding: 4rem 0;
  border-block: 1px solid var(--border);
  background: rgba(14, 18, 28, 0.5);
}

.privacy-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .privacy-band__inner {
    grid-template-columns: 1.15fr 1fr;
  }
}

.privacy-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-points {
  display: grid;
  gap: 0.65rem;
}

.privacy-point {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  align-items: flex-start;
}

.privacy-point svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.privacy-point span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.privacy-point strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* ---------- Waitlist (formerly download CTA) ---------- */
.download,
.waitlist {
  padding: 6.5rem 0;
  text-align: center;
  position: relative;
}

.download::before,
.waitlist::before {
  content: "";
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(ellipse, rgba(212, 175, 136, 0.1), transparent 65%);
  pointer-events: none;
}

.download__inner {
  max-width: 40rem;
  margin-inline: auto;
  position: relative;
}

.download .section-lead,
.waitlist .section-lead {
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.waitlist__platforms {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin: 0 0 1.75rem;
  text-shadow: 0 0 24px rgba(212, 175, 136, 0.35);
}

.waitlist-form {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}

.waitlist-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.waitlist-form__input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.waitlist-form__input::placeholder {
  color: var(--ink-muted);
}

.waitlist-form__input:focus {
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-soft);
}

.waitlist-form__status {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.waitlist-form__status.is-success {
  color: var(--rose-gold-soft);
}

.waitlist-form__status.is-error {
  color: #ff8a9a;
}

.download__note {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.download__note a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Waitlist modal ---------- */
.wl-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.wl-modal[hidden] {
  display: none !important;
}

.wl-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 0;
  cursor: pointer;
}

.wl-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-height: min(92svh, 40rem);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(212, 175, 136, 0.22);
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(212, 175, 136, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(18, 18, 22, 0.98), rgba(8, 8, 10, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(212, 175, 136, 0.08);
  animation: wl-panel-in 0.42s var(--ease-out) both;
}

@keyframes wl-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wl-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--ink-muted);
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.wl-modal__close:hover {
  color: var(--rose-gold-soft);
  background: rgba(212, 175, 136, 0.08);
}

.wl-modal__kicker {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin: 0 0 0.65rem;
}

.wl-modal__title {
  font-size: clamp(1.55rem, 4vw, 1.85rem);
  margin: 0 0 0.55rem;
  background: linear-gradient(135deg, #fff 0%, #e8dfd4 45%, var(--rose-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wl-modal__lead {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin: 0 0 1.35rem;
  line-height: 1.55;
  max-width: 24rem;
}

.wl-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wl-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.wl-field label,
.wl-field legend {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.wl-optional {
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0;
}

.wl-field input[type="text"],
.wl-field input[type="email"],
.wl-field textarea,
.wl-field select.wl-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  resize: vertical;
}

.wl-field select.wl-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #d4af88 50%),
    linear-gradient(135deg, #d4af88 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) calc(50% - 0.15rem), calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.wl-field select.wl-select option {
  background: #121214;
  color: var(--ink);
}

.wl-field input::placeholder,
.wl-field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.75;
}

.wl-field input:focus,
.wl-field textarea:focus,
.wl-field select.wl-select:focus {
  border-color: rgba(212, 175, 136, 0.55);
  box-shadow: 0 0 0 3px rgba(212, 175, 136, 0.12);
}

.wl-field__error {
  margin: 0;
  font-size: 0.75rem;
  color: #ff8a9a;
}

.wl-field__error[hidden] {
  display: none !important;
}

.wl-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.wl-platform {
  position: relative;
  cursor: pointer;
}

.wl-platform input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wl-platform span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    border-color var(--duration) var(--ease-out),
    background var(--duration) var(--ease-out),
    color var(--duration) var(--ease-out),
    box-shadow var(--duration) var(--ease-out);
}

.wl-platform input:focus-visible + span {
  box-shadow: var(--focus-ring);
}

.wl-platform input:checked + span {
  border-color: rgba(212, 175, 136, 0.55);
  background: rgba(212, 175, 136, 0.1);
  color: var(--rose-gold-soft);
  box-shadow: 0 0 20px rgba(212, 175, 136, 0.12);
}

.wl-form__submit {
  width: 100%;
  margin-top: 0.35rem;
}

.wl-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.wl-form__status {
  min-height: 1.25em;
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.wl-form__status.is-error {
  color: #ff8a9a;
}

.wl-form__fine {
  margin: 0;
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.45;
}

.wl-form__fine a {
  color: var(--rose-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Success state */
.wl-modal__success {
  text-align: center;
  padding: 1.25rem 0.5rem 0.5rem;
  animation: wl-panel-in 0.4s var(--ease-out) both;
}

.wl-modal__success[hidden] {
  display: none !important;
}

.wl-success__mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.15rem;
}

.wl-success__mark svg {
  width: 100%;
  height: 100%;
}

.wl-success__title {
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.wl-success__message {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--rose-gold-soft);
  line-height: 1.45;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 28px rgba(212, 175, 136, 0.25);
}

body.wl-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .wl-modal__panel,
  .wl-modal__success {
    animation: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.9);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer__brand .logo {
  margin-bottom: 0.85rem;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 16rem;
}

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: color var(--duration) var(--ease-out);
}

.footer__col a:hover {
  color: var(--neon-cyan);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

/* ---------- Legal pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 18, 28, 0.5);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--ink-muted);
}

.legal-content {
  padding: 3rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  background: none;
  color: var(--ink);
  -webkit-background-clip: unset;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  background: none;
  color: var(--ink-soft);
  -webkit-background-clip: unset;
}

.legal-content p,
.legal-content li {
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
  max-width: 42rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Scroll reveal (CSS fallback + GSAP target) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* Cursor glow follower (desktop) */
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 136, 0.08), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

.cursor-glow.is-on {
  opacity: 1;
}

/* Loading shimmer for pipeline */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
