/* =========================================================
   XZ1 Recording Ventures — design system
   Hand-written, no framework, no build step.
   ~9KB uncompressed. That's the whole visual language of the site.
   ========================================================= */

:root {
  --bg: #000000;
  --bg-elev: #0a0a0a;
  --bg-elev-2: #121212;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --muted-2: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);

  --pink: #ff0080;
  --cyan: #00aaff;
  --gradient: linear-gradient(135deg, var(--pink), var(--cyan));

  --font-display: "Michroma", "Work Sans", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Any anchor-jump target lands below the sticky header, not under it. */
[id] {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  display: inline-block;
  margin-bottom: 1em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .mark {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo .word {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-left: 1px solid var(--border-strong);
  padding-left: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--fg);
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gradient);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 8px 30px -8px var(--pink);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--border-strong);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--fg);
  background: rgba(255,255,255,.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--fg);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 600px;
  background:
    radial-gradient(closest-side, rgba(255, 0, 128, 0.22), transparent),
    radial-gradient(closest-side, rgba(0, 170, 255, 0.18), transparent 70%);
  background-position: 20% 0%, 85% 20%;
  background-repeat: no-repeat;
  background-size: 55% 100%, 50% 100%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 64px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .label {
  font-size: 0.8rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* ---------- venture logo lockup ----------
   Real brand marks only (the ones the current site actually ships) —
   no stock photography, no fabricated "studio photo" placeholders. */
.venture-logo {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
}

.venture-logo.tall {
  height: 46px;
}

/* ---------- sections ---------- */
.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- cards / grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elev-2);
  transform: translateY(-3px);
}

.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 170, 255, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.card .tag.live {
  color: #22e08a;
  border-color: rgba(34, 224, 138, 0.4);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link svg { width: 14px; height: 14px; }

/* ---------- timeline (about page) ---------- */
.timeline {
  position: relative;
  border-left: 1px solid var(--border-strong);
  margin-left: 8px;
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border-strong);
}

.timeline-item .date {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--pink);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

/* ---------- newsroom ---------- */
.news-item {
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}

.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; }

.news-item time {
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}

.news-item .kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}

/* ---------- callout / notice box ---------- */
.notice {
  border: 1px solid rgba(255, 0, 128, 0.35);
  background: rgba(255, 0, 128, 0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
}

.notice.info {
  border-color: rgba(0, 170, 255, 0.35);
  background: rgba(0, 170, 255, 0.06);
}

.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--fg); }

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--fg);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.18);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-methods .item .k {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.contact-methods .item .v {
  font-size: 1rem;
}
.contact-methods .item a.v:hover { color: var(--pink); }

/* ---------- footer ---------- */
.site-footer {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid ul a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-grid ul a:hover { color: var(--fg); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--muted-2);
}

.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--fg); }

/* ---------- stat with unknown/unwired value ---------- */
.stat .num.tbd {
  font-size: 1.3rem;
  opacity: 0.35;
  -webkit-text-fill-color: var(--muted);
}

/* ---------- division picker (contact page) ---------- */
.division-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.division-tabs button {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.division-tabs button:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.division-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
}

.division-panel {
  display: none;
}

.division-panel.is-active {
  display: block;
}

/* ---------- empty state (no fake imagery, just an honest note) ---------- */
.empty-state {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--muted-2);
  font-size: 0.9rem;
}

/* ---------- key/value detail list ---------- */
.detail-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin: 0;
}
.detail-list dt {
  color: var(--muted-2);
  font-size: 0.85rem;
}
.detail-list dd {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- misc pages: legal ---------- */
.prose h2 {
  margin-top: 2em;
  font-size: 1.3rem;
}
.prose p, .prose li {
  color: var(--muted);
}
.prose ul { padding-left: 1.2em; }

/* ---------- progressive scroll reveal (no-op without JS) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions { display: none; }
  .nav-toggle { display: inline-flex; }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--bg);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
  }
  body.nav-open .nav-links a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  body.nav-open .header-actions {
    display: flex;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
  }
  body.nav-open .header-actions .btn { flex: 1; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
