/* ============================================================================
   PM Media — Atelier Luxury (final visual override)
   ----------------------------------------------------------------------------
   Loaded LAST. Turns neon cyberpunk down → $150k Obsidian atelier.
   Preserve cyan/magenta brand · kill glow spam · editorial type · double-bezel.
   Absolute Zero: no Inter · no purple AI mesh · no breathing neon CTAs.
   ============================================================================ */

:root {
  --display: "Syne", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --atelier-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --atelier-pad: clamp(5.5rem, 11vw, 9.5rem);
  --atelier-ink: #f7f8fc;
  --atelier-mute: rgba(247, 248, 252, 0.62);
  --atelier-line: rgba(255, 255, 255, 0.1);
  --atelier-cyan: rgba(0, 212, 238, 0.55);
}

/* ── Atmosphere: deeper, quieter, less carnival neon ── */
html.pm-premium body,
html.pm-ultimate body {
  background-color: #030306 !important;
  color: var(--atelier-ink);
}
html.pm-premium body::before,
html.pm-ultimate body::before {
  background:
    radial-gradient(ellipse 55% 40% at 18% 12%, rgba(0, 212, 238, 0.07), transparent 58%),
    radial-gradient(ellipse 45% 35% at 88% 78%, rgba(232, 50, 138, 0.05), transparent 55%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(0, 0, 0, 0.78), transparent 65%) !important;
}
/* Film grain slightly richer (still fixed, pointer-none) */
html.pm-premium body::after,
html.pm-ultimate body::after {
  opacity: 0.035 !important;
}

/* Kill cheap neon CTA breathe + scan-line carnival */
.btn-primary {
  animation: none !important;
}
.neon-scan-sweep {
  opacity: 0.35;
}
@media (prefers-reduced-motion: reduce) {
  .neon-scan-sweep { display: none !important; }
}

/* ── Type: Syne display + Instrument Serif accent ── */
h1, h2, .gradient-text, .hero-title-noon,
.pm-video-modal-title, .adventure-home h2 {
  font-family: var(--display) !important;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--atelier-ink);
  text-shadow: none !important;
}
h1 em, .hero-title-noon em, .gradient-text em {
  font-family: var(--font-serif) !important;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #eafcff 0%, #00d4ee 45%, #f5a3c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.eyebrow, .biolum-zone-label {
  font-size: 0.68rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0, 212, 238, 0.78) !important;
}
.lead, .pm-noon-lead {
  color: var(--atelier-mute) !important;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem) !important;
  line-height: 1.65 !important;
  max-width: 36rem !important;
  font-weight: 400;
}

/* Hero composition — more air, less stack crush */
.pm-noon-hero {
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem) !important;
}
.pm-noon-hero-inner {
  max-width: 920px !important;
  gap: 0.35rem;
}
.hero-title-noon {
  font-size: clamp(2.35rem, 6.2vw, 4.15rem) !important;
  line-height: 1.05 !important;
  margin-bottom: 1.15rem !important;
}
.pm-noon-cta {
  margin-top: 1.75rem !important;
  gap: 0.75rem !important;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Primary CTA: machined pill, no neon pulse ── */
.btn-primary,
a.btn-primary,
button.btn-primary {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    linear-gradient(135deg, #0a8fa3 0%, #00b8d4 42%, #c41f6e 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 36px -16px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 212, 238, 0.12) !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  transition:
    transform 0.55s var(--atelier-ease),
    box-shadow 0.55s var(--atelier-ease),
    border-color 0.55s var(--atelier-ease) !important;
}
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  transform: translateY(-2px) scale(1.01) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 22px 48px -18px rgba(0, 0, 0, 0.9),
    0 0 28px -8px rgba(0, 212, 238, 0.35) !important;
}
.btn-outline,
a.btn-outline,
button.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(8, 10, 18, 0.55) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--atelier-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition:
    transform 0.55s var(--atelier-ease),
    border-color 0.55s var(--atelier-ease),
    background 0.55s var(--atelier-ease) !important;
}
.btn-outline:hover {
  border-color: var(--atelier-cyan) !important;
  background: rgba(0, 212, 238, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* ── Double-bezel surfaces (hero stage + key cards) ── */
.pm-noon-3d-stage {
  padding: 0 !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 40%),
    #050508 !important;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.65),
    0 40px 100px -40px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  overflow: hidden;
}
.pm-noon-3d-stage::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 3;
}
.hero-stat-card,
.form-wrap,
.tier-card,
.service-card,
.about-value-card,
.position-pillar,
.engine-live-node,
.adventure-hub-card,
.glass {
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.045), transparent 45%),
    rgba(8, 10, 16, 0.72) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 28px 64px -28px rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-stat-card:hover,
.tier-card:hover,
.service-card:hover,
.position-pillar:hover,
.engine-live-node:hover,
.adventure-hub-card:hover {
  border-color: rgba(0, 212, 238, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 36px 72px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(0, 212, 238, 0.08) !important;
  transform: translateY(-3px);
}

/* Section breathing */
:where(.section) {
  padding-block: var(--atelier-pad) !important;
}
.section .gradient-text {
  margin-bottom: 0.85rem;
}

/* Header — solid black plate (never glass; blur ghosts browser bookmarks/favicons) */
.site-header,
.corp-bar,
.pm-owner-bar {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
  background: #000 !important;
  background-color: #000 !important;
  background-image: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate;
}
.corp-bar {
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: rgba(248, 248, 255, 0.72);
}

/* Sticky / dock — less loud */
.pm-sticky-cta,
.pm-action-dock {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 18px 48px -24px rgba(0, 0, 0, 0.9) !important;
}
.dock-btn {
  border-radius: 999px !important;
  letter-spacing: 0.06em;
  font-weight: 650;
}

/* Marquee — softer, more editorial */
.pm-noon-marquee {
  opacity: 0.72;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.pm-noon-marquee-item {
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* Chat toggle — premium pill */
.chat-toggle {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 16px 40px -18px rgba(0, 0, 0, 0.85) !important;
}

/* Trust strip calm */
.trust-bar-item:hover {
  text-shadow: none !important;
}

/* Mobile: keep luxury, drop heavy blur on scrollers */
@media (max-width: 768px) {
  .hero-title-noon {
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
  }
  .hero-stat-card,
  .form-wrap,
  .tier-card,
  .service-card,
  .adventure-hub-card {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .pm-noon-3d-stage {
    border-radius: 20px !important;
    height: clamp(280px, 68vw, 420px) !important;
  }
  .pm-noon-3d-stage::before {
    inset: 4px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-outline,
  .hero-stat-card,
  .tier-card,
  .service-card,
  .adventure-hub-card {
    transition: none !important;
  }
}


/* Light theme — outline/primary legible (overrides dark glass fill) */
html[data-theme="light"] .btn-outline,
html[data-theme="light"] a.btn-outline,
html[data-theme="light"] button.btn-outline {
  background: #ffffff !important;
  color: #0a4a5c !important;
  -webkit-text-fill-color: #0a4a5c !important;
  border-color: rgba(0, 140, 160, 0.55) !important;
  box-shadow: 0 4px 14px rgba(0, 80, 100, 0.1) !important;
  text-shadow: none !important;
}
html[data-theme="light"] .hero .btn-outline,
html[data-theme="light"] .section-dark .btn-outline,
html[data-theme="light"] .cta-band .btn-outline {
  background: rgba(8, 14, 28, 0.9) !important;
  color: #f4fbff !important;
  -webkit-text-fill-color: #f4fbff !important;
}
html[data-theme="light"] .btn-primary,
html[data-theme="light"] a.btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
