/* vMesh — dark, flat, no gradients */

:root {
  --bg: #07060c;
  --surface: #110d1c;
  --surface-2: #1a1230;
  --border: #2a2044;
  --text: #f5f3fb;
  --muted: #9a93ad;
  --purple: #b44bff;
  --purple-soft: #d8a8ff;
  --chartreuse: #ccff00;
  --radius: 20px;
  --max: 72rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 100;
  font-size: 1.125rem;
  line-height: 1.7;
}

h1, h2, h3, .brand, .wordmark {
  font-family: "Zilla Slab", Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

a { color: var(--chartreuse); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.img-rounded { border-radius: var(--radius); }

/* ---------- header / footer ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.brand {
  font-size: 1.5rem;
  color: var(--purple);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  height: 1.3em;
  width: auto;
  border-radius: 0.22em;
  display: block;
}
.brand:hover { text-decoration: none; color: var(--purple-soft); }

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--chartreuse); text-decoration: none; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 6rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer.no-gap { margin-top: 0; }

.site-footer p + p { margin-top: 0.25rem; }

.bsky-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.bsky-link:hover { text-decoration: none; }

.bsky-icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: #0285ff;
  transition: transform 0.2s ease;
}
.bsky-link:hover .bsky-icon { transform: scale(1.12); }

.bsky-caption {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- coming soon ---------- */

.coming-soon {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 0;
}

.coming-soon-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon-logo {
  width: 56px;
  height: auto;
  border-radius: 14px;
}

.wordmark {
  font-size: 1.25rem;
  color: var(--purple);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.coming-soon h1 {
  font-size: clamp(3.5rem, 12vw, 8rem);
  color: var(--chartreuse);
  margin-bottom: 1.5rem;
}

.coming-soon .tagline {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--muted);
  max-width: 36rem;
}


/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }

.hero-img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  display: block;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6vw;
  background: rgba(7, 6, 12, 0.45);
}

.hero-text h1 {
  font-size: clamp(4rem, 14vw, 10rem);
  color: var(--chartreuse);
}

.hero-text .tagline {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--text);
  max-width: 34rem;
}

/* ---------- feature sections ---------- */

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem 0;
}

.feature + .feature { border-top: 1px solid var(--border); }

.feature-flip .feature-media { order: 2; }
.feature-flip .feature-text { order: 1; }

.feature-media img { width: 100%; }

.feature-text h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  color: var(--purple);
  margin-bottom: 1rem;
}

.feature-text p { color: var(--muted); max-width: 30rem; }

.more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--chartreuse);
  padding-bottom: 0.15rem;
}
.more:hover { text-decoration: none; color: var(--purple-soft); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(2rem); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- feature detail page ---------- */

.feature-detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.eyebrow a { color: var(--muted); }

.feature-detail h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--purple);
}

.lede {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--text);
  max-width: 44rem;
  margin-top: 1rem;
}

.feature-hero { margin: 2.5rem 0; width: 100%; }

.prose { max-width: 44rem; color: var(--text); }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 1rem 0 1rem 1.25rem; }
.prose ul ul { margin: 0.25rem 0 0.25rem 1.25rem; }
.prose li { margin-top: 0.4rem; color: var(--text); }
.prose li::marker { color: var(--chartreuse); }
.prose a { border-bottom: 1px solid var(--chartreuse); }
.prose a:hover { text-decoration: none; color: var(--purple-soft); }

/* ---------- screenshots ---------- */

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}
.page-head h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--purple);
  margin-bottom: 1rem;
}

.shots {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  display: grid;
  gap: 4rem;
}

.shot img { width: 100%; }
.shot figcaption { margin-top: 1rem; }
.shot h2 { color: var(--purple-soft); font-size: 1.75rem; margin-bottom: 0.35rem; }

/* ---------- lightbox ---------- */

.zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: inherit;
}

.zoom-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--chartreuse);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.zoom-badge svg { width: 1.15rem; height: 1.15rem; }

.zoom-trigger:hover .zoom-badge,
.zoom-trigger:focus-visible .zoom-badge {
  background: var(--purple);
  color: var(--text);
  transform: scale(1.1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 6, 12, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.92) translateY(1rem);
  transition: transform 0.3s ease;
}

.lightbox.is-open .lightbox-img { transform: scale(1) translateY(0); }

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--chartreuse);
  border-radius: 10px;
  background: transparent;
  color: var(--chartreuse);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox-close svg { width: 1.25rem; height: 1.25rem; }
.lightbox-close:hover,
.lightbox-close:focus-visible { background: var(--chartreuse); color: var(--bg); }

/* ---------- embedded video ---------- */

.video-embed {
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  background: var(--surface);
}
.video-embed.img-rounded { border-radius: var(--radius); overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- responsive ---------- */

@media (max-width: 48rem) {
  body { font-weight: 300; }
  .feature { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 0; }
  .feature-flip .feature-media { order: 0; }
  .feature-flip .feature-text { order: 1; }
  .site-nav { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  [data-parallax] { transform: none !important; }
}
