/* ==========================================================
   Vive Multimedia — site styles
   Dark, cinematic. Edit the tokens below to re-theme the site.
   ========================================================== */

:root {
  --bg: #0b0b0f;
  --bg-raised: #131318;
  --bg-card: #17171d;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f0ede7;
  --text-muted: #a29e9b;
  --accent: #24b0ab;          /* brand teal (from the VM logo) */
  --accent-soft: rgba(36, 176, 171, 0.13);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 14px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede { font-size: 20px; color: var(--text-muted); max-width: 46ch; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8c6c2;
}
.logo img { height: 26px; width: auto; }
.logo span { color: var(--accent); }

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

.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--text); }

.nav a.nav-cta {
  color: var(--bg);
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 100px;
  transition: filter 0.2s;
}
.nav a.nav-cta:hover { filter: brightness(1.1); color: var(--bg); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(36, 176, 171, 0.15), transparent 55%),
    radial-gradient(90% 80% at 15% 85%, rgba(46, 110, 146, 0.22), transparent 60%),
    var(--bg);
}

.hero-media iframe, .hero-media video {
  position: absolute;
  top: 50%; left: 50%;
  width: 178vh;              /* 16:9 cover */
  min-width: 100%;
  height: 100vh;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,15,0.35) 0%, rgba(11,11,15,0.15) 45%, rgba(11,11,15,0.92) 100%);
}

.hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  max-width: 14ch;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--accent); }

.hero .lede { margin-bottom: 38px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.15s, filter 0.2s;
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #03211f; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }

.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 16px; }
.section-head .lede { font-size: 18px; }

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Service pillars ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: border-color 0.25s, transform 0.25s;
}
.pillar:hover { border-color: rgba(36, 176, 171, 0.45); transform: translateY(-4px); }

.pillar .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- Video grid / portfolio ---------- */

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-grid.two-up { grid-template-columns: repeat(2, 1fr); }

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); }

.video-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1d1d26, #101014);
  position: relative;
  overflow: hidden;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video-card:hover .thumb img { transform: scale(1.04); }

.video-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.video-card .play span {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(11, 11, 15, 0.62);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.video-card:hover .play span { background: var(--accent); color: #03211f; transform: scale(1.07); }

.video-card .meta { padding: 20px 22px 22px; }
.video-card .meta .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.video-card .meta h3 { font-size: 20px; margin-top: 8px; font-family: var(--font-display); }
.video-card .meta p { color: var(--text-muted); font-size: 14.5px; margin-top: 6px; }

/* Portfolio filters */

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.filters button:hover { color: var(--text); }
.filters button.active { background: var(--accent); border-color: var(--accent); color: #03211f; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}
.lightbox.open { display: flex; }
.lightbox .frame { width: min(1100px, 100%); aspect-ratio: 16/9; }
.lightbox iframe, .lightbox video { width: 100%; height: 100%; border: 0; border-radius: 10px; background: #000; }
.lightbox .close {
  position: absolute;
  top: 22px; right: 28px;
  background: none; border: 0;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  opacity: 0.7;
}
.lightbox .close:hover { opacity: 1; }

/* ---------- Quote band / CTA ---------- */

.cta-band {
  background:
    radial-gradient(100% 140% at 85% 0%, rgba(36, 176, 171, 0.16), transparent 55%),
    var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.cta-band p { color: var(--text-muted); margin-bottom: 34px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.about-grid .portrait {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #23232e, #101014);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow: hidden;
}
.about-grid .portrait img { width: 100%; height: 100%; object-fit: cover; }

.prose p { margin-bottom: 20px; color: var(--text-muted); }
.prose p strong, .prose p b { color: var(--text); }
.prose h3 { font-size: 26px; margin: 36px 0 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stat { border-left: 2px solid var(--accent); padding-left: 18px; }
.stat .num { font-family: var(--font-display); font-size: 38px; color: var(--text); }
.stat .label { font-size: 13px; color: var(--text-muted); letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }

.contact-info .item { margin-bottom: 30px; }
.contact-info .item .label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.contact-info .item a { font-size: 19px; font-family: var(--font-display); }
.contact-info .item a:hover { color: var(--accent); }

form .field { margin-bottom: 20px; }
form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--text-muted); }
form input, form textarea, form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  transition: border-color 0.2s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--accent); }
form textarea { min-height: 140px; resize: vertical; }

/* ---------- Client delivery / quote pages ---------- */

.delivery-hero { padding: 150px 0 50px; text-align: center; }
.delivery-hero .eyebrow { margin-bottom: 14px; }
.delivery-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.delivery-hero p { color: var(--text-muted); max-width: 60ch; margin: 0 auto; }

.player-block { margin-bottom: 40px; }
.player-block .frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.player-block iframe, .player-block video { width: 100%; height: 100%; border: 0; }
.player-block h3 { font-size: 22px; margin: 18px 4px 0; }

.download-list { display: grid; gap: 14px; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s;
}
.download-item:hover { border-color: rgba(36,176,171,0.5); }
.download-item .name { font-weight: 600; }
.download-item .hint { font-size: 13.5px; color: var(--text-muted); }
.download-item .btn { padding: 10px 22px; font-size: 14px; flex-shrink: 0; }

/* Password gate */

.gate {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 80px;
}
.gate-card {
  width: min(430px, 100%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
}
.gate-card .lock {
  width: 56px; height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.gate-card h1 { font-size: 28px; margin-bottom: 10px; }
.gate-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 26px; }
.gate-card input { text-align: center; letter-spacing: 0.08em; }
.gate-card .btn { width: 100%; justify-content: center; margin-top: 14px; }
.gate-error { color: #e07a6a; font-size: 14px; margin-top: 12px; display: none; }

/* Quote page extras */

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.package {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.package.featured { border-color: var(--accent); position: relative; }
.package .pkg-name { font-family: var(--font-display); font-size: 23px; }
.package .pkg-price { font-size: 34px; font-family: var(--font-display); color: var(--accent); margin: 12px 0 20px; }
.package ul { list-style: none; }
.package li { padding: 8px 0 8px 26px; position: relative; color: var(--text-muted); font-size: 15px; border-top: 1px solid var(--line); }
.package li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); }

.note-card {
  background: var(--accent-soft);
  border: 1px solid rgba(36,176,171,0.35);
  border-radius: var(--radius);
  padding: 26px 30px;
  color: var(--text);
  font-size: 15.5px;
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 54px 0 44px; margin-top: 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer p { color: var(--text-muted); font-size: 14px; }
.site-footer .socials { display: flex; gap: 22px; }
.site-footer .socials a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.site-footer .socials a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .pillars, .video-grid, .video-grid.two-up { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
}

@media (max-width: 640px) {
  .pillars, .video-grid, .video-grid.two-up { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(11, 11, 15, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 26px 24px 30px;
    gap: 22px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .stats { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
}
