/* ===========================================================
   Vyrovo — We make trust the default
   Static site · custom CSS, no dependencies
   Design system: UI/UX Pro Max → "Liquid Glass" + Bento Grid Showcase
   Palette: Monochrome (pure black + white) · iridescent accent
   Type: DM Sans (premium sans)

   Performance notes:
   - backdrop-filter (per-frame, expensive over the animated aurora) is
     reserved for a handful of large surfaces (.glass: nav, spotlight, CTA,
     mobile menu). The many cards (.cell) use a static translucent fill that
     reads as glass on a dark bg for a fraction of the cost.
   - Cards use `contain: layout paint` to scope repaints.
   - Only transform/opacity are animated. All motion respects reduced-motion.
   =========================================================== */

:root {
  /* Monochrome surface scale */
  --bg: #000000;
  --bg-2: #0a0a0b;
  --text: #fafafa;
  --muted: #a1a1aa;       /* zinc-400 — AA on black */
  --faint: #71717a;

  /* Glass / fills */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --cell: rgba(20, 20, 23, 0.55);     /* static "glass" for cards (cheap) */
  --cell-2: rgba(32, 32, 38, 0.7);
  --hair: rgba(255, 255, 255, 0.10);
  --hair-strong: rgba(255, 255, 255, 0.20);

  /* Iridescent accent (used sparingly) */
  --iris: linear-gradient(120deg, #67e8f9 0%, #a78bfa 50%, #f0abfc 100%);
  --cta: #f8fafc;
  --danger: #fb7185;

  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 480ms;           /* Liquid Glass: deliberate, never snappy */
  --nav-h: 92px;
}

/* ---------- 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: none !important; transition-duration: 1ms !important; }
}

body {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: inherit; line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }

/* Anchor offset so the sticky nav never covers headings on jump */
.anchor-top { position: absolute; top: 0; left: 0; }
[id] { scroll-margin-top: var(--nav-h); }

/* Iridescent text + slow shimmer */
.iris {
  background: linear-gradient(120deg, #67e8f9, #a78bfa, #f0abfc, #a78bfa, #67e8f9);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: irisflow 9s linear infinite;
}
@keyframes irisflow { to { background-position: 250% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.ping { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 0 4px rgba(167,139,250,0.18); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--cta); color: #000; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Scroll progress bar */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress i {
  display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--iris); box-shadow: 0 0 12px rgba(167,139,250,0.5);
}

/* ---------- Liquid-glass ambient background ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 46vw; height: 46vw; left: -8vw; top: -6vw; background: radial-gradient(circle, rgba(103,232,249,0.40), transparent 65%); animation: drift1 24s var(--ease) infinite alternate; }
.b2 { width: 42vw; height: 42vw; right: -6vw; top: 8vh; background: radial-gradient(circle, rgba(167,139,250,0.42), transparent 65%); animation: drift2 28s var(--ease) infinite alternate; }
.b3 { width: 40vw; height: 40vw; left: 24vw; bottom: -14vw; background: radial-gradient(circle, rgba(240,171,252,0.34), transparent 65%); animation: drift3 32s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate3d(8vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-7vw, 12vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(6vw, -8vh, 0) scale(1.2); } }
.grain {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000, transparent 90%);
}

/* ---------- Glass primitive (expensive — used sparingly) ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 30px 60px -30px rgba(0,0,0,0.8);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur), border-color var(--dur);
}
.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 0.9rem; }
.btn-primary { background: var(--cta); color: #09090b; box-shadow: 0 0 0 1px rgba(255,255,255,0.4), 0 10px 40px -10px rgba(255,255,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px #fff, 0 16px 50px -12px rgba(255,255,255,0.55); }
/* gloss sweep */
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: var(--glass); color: var(--text); border-color: var(--hair-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.42); background: var(--glass-2); }
.btn:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 14px; }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
  padding-inline: 22px; border-radius: var(--radius-pill);
  transition: box-shadow var(--dur), background var(--dur);
}
.site-header.scrolled .nav-wrap { background: rgba(10,10,11,0.6); box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 20px 50px -25px rgba(0,0,0,0.9); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { filter: drop-shadow(0 3px 10px rgba(167,139,250,0.45)); transition: transform var(--dur) var(--ease); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a { font-size: 0.95rem; color: var(--muted); transition: color .25s; }
.nav-menu a:not(.btn)::after { content: ""; display: block; height: 1px; width: 0; margin-top: 3px; background: var(--text); transition: width var(--dur) var(--ease); }
.nav-menu a:not(.btn):hover { color: var(--text); }
.nav-menu a:not(.btn):hover::after { width: 100%; }
.nav-menu a.btn-primary { color: #09090b; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(76px, 13vw, 156px) 0 clamp(48px, 8vw, 96px); }
.hero-inner { max-width: 900px; }
.hero-title { font-size: clamp(2.9rem, 9vw, 6.2rem); font-weight: 600; margin-bottom: 26px; letter-spacing: -0.04em; }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 6vw, 60px); margin-top: 56px; }
.hero-stats dt { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hero-stats dd { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; position: relative; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-title { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 1.02rem; }

/* ---------- Cells (static glass cards — cheap) ---------- */
.cell {
  background: var(--cell);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 28px; position: relative; overflow: hidden;
  contain: layout paint;
  transition: transform var(--dur) var(--ease), border-color var(--dur), background var(--dur);
}
.cell h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: 0.97rem; }
.cell:hover { border-color: var(--hair-strong); background: var(--cell-2); }
.tilt { transform-style: preserve-3d; }
.tilt:hover { transform: translateY(-4px); }
.ico {
  width: 50px; height: 50px; display: grid; place-items: center; color: var(--text);
  background: rgba(255,255,255,0.06); border: 1px solid var(--hair); border-radius: 14px; margin-bottom: 18px;
  transition: transform var(--dur) var(--ease);
}
.tilt:hover .ico { transform: translateY(-2px) scale(1.05); }
.ico svg { width: 25px; height: 25px; }
.cell-glow {
  position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--iris); opacity: 0.16; filter: blur(40px); pointer-events: none;
}

/* ---------- Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; grid-auto-flow: dense; }
.bento .cell { display: flex; flex-direction: column; }
.bento .cell p { margin-top: auto; }
.c2 { grid-column: span 2; }
.r2 { grid-row: span 2; }
.r2 h3 { font-size: 1.55rem; }
.r2 p { font-size: 1.02rem; }

/* ---------- Ventures spotlight ---------- */
.spotlight { padding: clamp(28px, 5vw, 52px); position: relative; overflow: hidden; margin-bottom: 18px; }
.spot-body { position: relative; z-index: 1; max-width: 720px; }
.spot-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; }
.badge { background: var(--iris); color: #0a0a0b; font-weight: 600; font-size: 0.78rem; padding: 5px 14px; border-radius: var(--radius-pill); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #67e8f9; box-shadow: 0 0 0 4px rgba(103,232,249,0.18); animation: ping 2.4s infinite; }
.spot-name { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.spot-desc { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.future-note { margin-top: 28px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.future-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.future-grid li {
  font-size: 0.85rem; color: var(--muted); padding: 8px 15px;
  border: 1px solid var(--hair); border-radius: var(--radius-pill); background: rgba(255,255,255,0.03);
  transition: border-color var(--dur), color var(--dur), transform var(--dur) var(--ease);
}
.future-grid li:hover { border-color: var(--hair-strong); color: var(--text); transform: translateY(-2px); }
.spot-glow { position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: var(--iris); opacity: 0.18; filter: blur(70px); }

/* ---------- PVM ---------- */
.pvm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ---------- Principles / specs ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; margin-bottom: 18px; }
.sticky-col { position: sticky; top: 110px; }
.specs { counter-reset: s; display: grid; gap: 0; }
.specs li {
  counter-increment: s; display: flex; gap: 22px; align-items: baseline;
  padding: 24px 4px; border-top: 1px solid var(--hair);
  transition: padding-left var(--dur) var(--ease);
}
.specs li:last-child { border-bottom: 1px solid var(--hair); }
.specs li:hover { padding-left: 12px; }
.specs li::before {
  content: counter(s, decimal-leading-zero); font-variant-numeric: tabular-nums;
  font-weight: 700; color: transparent; background: var(--iris); -webkit-background-clip: text; background-clip: text;
  font-size: 1rem; min-width: 32px;
}
.specs h4 { font-size: 1.12rem; margin-bottom: 4px; }
.specs p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Is / Is Not ---------- */
.isnot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.is h3, .isnot h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 16px; }
.is h3 svg, .isnot h3 svg { width: 22px; height: 22px; }
.is h3 svg { color: #67e8f9; } .isnot h3 svg { color: var(--danger); }
.is ul li, .isnot ul li { padding: 11px 0; border-bottom: 1px solid var(--hair); color: var(--muted); }
.is ul li:last-child, .isnot ul li:last-child { border-bottom: 0; }

/* ---------- Audience ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid .cell { font-size: 1rem; color: var(--text); }

/* ---------- CTA ---------- */
.cta { text-align: center; max-width: 920px; margin-inline: auto; padding: clamp(40px, 7vw, 76px); position: relative; overflow: hidden; }
.cta-title { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.25; margin-bottom: 32px; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 1; }
.cta-mail { position: relative; z-index: 1; margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.cta-mail a { border-bottom: 1px solid var(--hair-strong); padding-bottom: 1px; transition: color .25s, border-color .25s; }
.cta-mail a:hover { color: var(--text); border-color: var(--text); }
.cta-glow { position: absolute; left: 50%; top: -40%; width: 520px; height: 520px; transform: translateX(-50%); border-radius: 50%; background: var(--iris); opacity: 0.16; filter: blur(80px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hair); padding-top: 52px; margin-top: 24px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 36px; }
.footer-tag { color: var(--muted); margin-top: 10px; font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-nav a { color: var(--muted); font-size: 0.95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--hair); padding: 22px 24px 40px; font-size: 0.88rem; color: var(--faint);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  :root { --nav-h: 84px; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .sticky-col { position: static; }
  .pvm { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .bento .c2 { grid-column: span 2; }
  .bento .r2 { grid-row: span 1; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-menu {
    position: fixed; inset: 88px 16px auto 16px; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,10,11,0.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--hair); border-radius: var(--radius); padding: 10px 16px 16px;
    transform: translateY(-14px) scale(0.98); opacity: 0; visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur), visibility var(--dur);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9);
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--hair); }
  .nav-menu a:not(.btn)::after { display: none; }
  .nav-menu a.btn-primary { text-align: center; margin-top: 12px; border-bottom: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .c2, .bento .r2 { grid-column: span 1; }
  .bento .cell { min-height: 178px; }
  .audience-grid { grid-template-columns: 1fr; }
  .specs li { gap: 16px; }
}
