/* Muvea homepage preview — premium dark theme + amber variant
   Loaded only on the redesigned homepage. Does not replace styles.css. */

@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --font: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --bg: #050505;
  --fg: #f6f5f2;
  --muted: rgba(246, 245, 242, 0.72);
  --dim: rgba(246, 245, 242, 0.55);
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --accent: #e8a54b;
  --accent-fg: #1a1208;
  --ghost-bg: rgba(255, 255, 255, 0.1);
  --ghost-border: rgba(232, 165, 75, 0.55);
  --mark-bg: #e8a54b;
  --mark-fg: #1a1208;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
}

/* Logo mark follows theme */
.logo-mark {
  background: var(--mark-bg);
  color: var(--mark-fg);
}
.nav-cta {
  border-color: var(--accent) !important;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--accent-fg);
}

/* ---------- Hero ---------- */
.hero-video-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 6.5rem 1.5rem 5.5rem;
  text-align: center;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media { z-index: 0; }
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-video { z-index: 1; }
.hero-video-section.is-static .hero-video { display: none; }
.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.3) 34%, rgba(0, 0, 0, 0.58) 62%, rgba(0, 0, 0, 0.8) 100%),
    radial-gradient(ellipse at center, transparent 36%, rgba(0, 0, 0, 0.38) 100%);
}
.hero-video-section .hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
  animation: heroIn 1.1s var(--ease) both;
}
.hero-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-eyebrow { color: var(--accent); }
.hero-video-section h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 7.2vw, 5.35rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 1.15rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.hero-video-section h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero-video-section .lead {
  margin: 0 auto 0.7rem;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.hero-source {
  margin: 0 auto 2rem;
  font-size: 0.84rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--muted);
  opacity: 0.88;
  max-width: 34rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #000 12%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.btn-ghost {
  background: var(--ghost-bg);
  color: #fff;
  border-color: var(--ghost-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
  color: #fff;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.logo:focus-visible,
.supply-card:focus-within,
.guide-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Sections ---------- */
.home-section {
  padding: 5.5rem 1.5rem;
  position: relative;
}
.home-section .section-inner { max-width: 1160px; margin: 0 auto; }
.section-eyebrow {
  text-align: center;
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.section-eyebrow { color: var(--accent); }
.home-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 0.7rem;
  line-height: 1.1;
}
.home-section .sub {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 2.75rem;
  max-width: 36rem;
  font-size: 1.05rem;
}

/* ---------- Product / supply grid ---------- */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.supply-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  min-height: 28rem;
  background: #141414;
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.supply-card:hover,
.supply-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  opacity: 1;
}
.supply-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}
.supply-card:hover img,
.supply-card:focus-within img {
  transform: scale(1.06);
  filter: brightness(0.78);
}
.supply-card .card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1.35rem 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.45) 58%, transparent 100%);
  z-index: 1;
}
.supply-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.supply-card p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 22rem;
}
.supply-card .card-go {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.supply-card .card-go { color: var(--accent); }

/* ---------- Why / proof strip ---------- */
.proof-section {
  padding: 4.25rem 1.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #080808;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
}
.proof-card {
  padding: 0.5rem 1.15rem;
  text-align: center;
}
.proof-card + .proof-card { border-left: 1px solid var(--line); }
.proof-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.proof-card p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 20rem;
  line-height: 1.55;
}

/* ---------- Buyer resources ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.7rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.3s ease, border-color 0.3s ease;
}
.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1;
}
.guide-card:hover,
.guide-card:focus-visible { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.guide-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.guide-kicker { color: var(--accent); }
.guide-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
  line-height: 1.2;
}
.guide-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.guide-card .card-go {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- CTA ---------- */
.home-cta {
  padding: 5.5rem 1.5rem 6.5rem;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 165, 75, 0.1), transparent 55%);
}
.home-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.7rem;
}
.home-cta p {
  margin: 0 auto 1.75rem;
  color: var(--muted);
  max-width: 32rem;
  font-size: 1.05rem;
}

/* Footer slight polish on homepage */
.site-footer { padding-bottom: 4.5rem; }
.footer-note { color: var(--dim); }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .hero-video-section .hero-content,
  .reveal,
  .supply-card,
  .guide-card,
  .btn,
  .supply-card img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1; }
  .hero-video { display: none !important; }
}

@media (max-width: 1100px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-card { padding: 1.25rem 1.1rem; }
  .proof-card:nth-child(2n+1) { border-left: 0; }
  .proof-card:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .supply-grid,
  .guide-grid { grid-template-columns: 1fr; }
  .supply-card { min-height: 22rem; }
  .home-section { padding: 4rem 1.25rem; }
}
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { padding: 1.5rem 0.25rem; text-align: left; }
  .proof-card + .proof-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
  }
}

@media (max-width: 720px) {
  .hero-video-section { padding: 6rem 1.2rem 4.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .supply-card { min-height: 20rem; }
  .home-cta { padding: 4rem 1.25rem 6rem; }
}

/* Inner preview pages (capability + guides) */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
}
.page-hero .lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.page-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}
.page-prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--fg);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin: 2.2rem 0 0.7rem;
}
.page-prose ul { padding-left: 1.15rem; }
.page-prose li { margin: 0.35rem 0; }
.page-prose .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.page-prose .meta-grid li { margin: 0; }
.page-prose .meta-grid strong {
  display: block;
  color: var(--fg);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
@media (max-width: 720px) {
  .page-prose .meta-grid { grid-template-columns: 1fr; }
}


/* ---------- Shared inner pages ---------- */
.logo-mark { background: var(--mark-bg) !important; color: var(--mark-fg) !important; }
.product-hero h1,
.quote-panel h1,
.quote-panel h2,
.about-hero h1,
.page-404 h1,
.contact-strip h2,
.detail-block .prose h2,
.faq h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.product-hero .eyebrow,
.crumb a:hover {
  color: var(--accent);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.pill {
  border-color: rgba(232, 165, 75, 0.4);
  color: var(--fg);
}
.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}
.page-404 .code {
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--accent);
  margin: 0;
  line-height: 1;
}
.page-404 h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.6rem 0 0.8rem;
}
.page-404 p { color: var(--muted); max-width: 32rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
  align-items: start;
}
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  background: var(--card);
}
.contact-panel h2 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 0.7rem;
  color: var(--fg);
  font-size: 1.6rem;
}
.contact-panel p, .contact-panel address { font-style: normal; color: var(--muted); margin: 0 0 0.7rem; }
.contact-panel a { color: var(--fg); }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
