/* Bonobo VR website. Plain CSS, no build step. Colours live in :root. */
:root {
  --bg: #07070a;
  --bg-2: #0e0e14;
  --panel: #12121a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9e7ef;
  --muted: #9a97a8;
  --accent: #a46bff;          /* the key art's purple */
  --accent-2: #7b3dff;
  --accent-glow: rgba(164, 107, 255, 0.45);
  --warm: #f0a640;            /* lantern / gold */
  --radius: 14px;
  --max: 1180px;
  --pad: clamp(16px, 4vw, 48px);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Silkscreen", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 0.95; letter-spacing: 0.005em; margin: 0; text-transform: none; }
h2 { font-size: clamp(44px, 7vw, 92px); }
h2 em, h1 em { font-style: normal; color: var(--accent); }
h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; }
p { margin: 0; }
.pixel { font-family: var(--pixel); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.label { color: var(--muted); margin-bottom: 14px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none;
  font: 600 16px/1 var(--body); color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -8px var(--accent-glow);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 14px 40px -8px var(--accent-glow); }
.btn--small { padding: 9px 16px; font-size: 14px; }
.link-arrow { color: var(--accent); text-decoration: none; font-weight: 500; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.cta--center { justify-content: center; }
a.is-missing { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px;
  background: rgba(16, 16, 22, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.8);
  max-width: calc(100% - 24px);
}
.nav__logo { flex: none; display: block; width: 34px; height: 34px; }
.nav__logo img { width: 34px; height: 34px; max-width: none; border-radius: 50%; }
.nav__links { display: flex; gap: 2px; margin: 0 6px; padding-left: 8px; border-left: 1px solid var(--line); }
.nav__links a {
  position: relative; padding: 8px 12px; border-radius: 999px; text-decoration: none;
  font: 500 14px/1 var(--body); color: #cfcdd8; transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav__links a.is-current { color: #fff; }
.nav__links a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--accent); }
.nav__toggle { display: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end center; overflow: hidden; isolation: isolate; }
.hero__art { position: absolute; inset: 0; z-index: -2; }
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); transition: transform .1s linear; }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 35%, transparent 30%, rgba(7,7,10,.55) 70%, var(--bg) 100%),
    linear-gradient(180deg, rgba(7,7,10,.35) 0%, transparent 25%, transparent 50%, rgba(7,7,10,.85) 80%, var(--bg) 100%); }
.hero__inner { text-align: center; padding: 0 var(--pad) 13vh; }
.hero__title {
  font-size: clamp(72px, 15vw, 210px); font-weight: 800; letter-spacing: 0.01em; line-height: .86;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.hero__title span { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.hero__kicker { margin-top: 18px; color: #d9d5e6; }
.hero__kicker i { font-style: normal; color: var(--accent); padding: 0 .5em; }
.hero__inner .cta { justify-content: center; }
.hero__down { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--accent); animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------------------------------------------------------------- split: text + picture */
.split {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  max-width: var(--max); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad);
}
.split--flip .split__text { order: 2; }
.split__text p:not(.label) { color: #c9c6d4; margin-top: 22px; max-width: 54ch; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0,0,0,.9); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--contain { background: radial-gradient(closest-side, #22222c, var(--bg-2)); }
.split__media--contain img { object-fit: contain; padding: 4%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 0; }
.tags li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: #cfcbd9; background: rgba(255,255,255,.02); font-size: 11px; }

/* ---------------------------------------------------------------- band: full-width picture with text */
.band { position: relative; min-height: 86svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.band__bg { position: absolute; inset: 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7,7,10,.2) 22%, rgba(7,7,10,.15) 45%, rgba(7,7,10,.85) 78%, var(--bg) 100%); }
.band--warm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 70% 40%, rgba(240,166,64,.10), transparent 70%); }
.band__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(60px, 9vw, 120px); }
.band__inner p:not(.label) { color: #d4d0de; margin-top: 22px; max-width: 60ch; text-shadow: 0 2px 20px rgba(0,0,0,.8); }

/* ---------------------------------------------------------------- gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: var(--max); margin: 0 auto; padding: 24px var(--pad) 0; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; }
.zoom { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--panel); }
.zoom img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease, filter .3s; filter: saturate(.9); }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.05); filter: saturate(1.1); }

/* ---------------------------------------------------------------- monsters */
.monsters { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(90px, 13vw, 170px) var(--pad) 40px; }
.monsters::before { content: ""; position: absolute; inset: 10% -20% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 70% 55%, rgba(123,61,255,.16), transparent 70%); }
.monsters__stage { position: relative; margin-top: 30px; display: grid; }       /* cards stacked in one cell: as tall as the tallest */
.monster {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s;
}
.monster.is-active { opacity: 1; visibility: visible; }
.monster__img { width: 100%; height: clamp(480px, 58vw, 660px); object-fit: contain; order: 2;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.9)); transform: translateY(14px) scale(.98); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.monster.is-active .monster__img { transform: none; }
.monster__text p:not(.label) { color: #c9c6d4; margin-top: 20px; max-width: 46ch; }
.monster__text h3 { font-size: clamp(54px, 7vw, 96px); font-weight: 800; }
.monsters__dots { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.monsters__dots button {
  position: relative; padding: 12px 0 0; width: 150px; background: none; border: 0; color: var(--muted); cursor: pointer; text-align: left;
}
.monsters__dots button::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); }
.monsters__dots button::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0; border-radius: 2px; background: var(--accent); }
.monsters__dots button[aria-selected="true"] { color: #fff; }
.monsters__dots button[aria-selected="true"]::after { animation: fill var(--dwell, 7s) linear forwards; }
.monsters.is-paused .monsters__dots button[aria-selected="true"]::after { animation-play-state: paused; }
.monsters__dots .pixel { font-size: 10px; }
@keyframes fill { to { width: 100%; } }

/* ---------------------------------------------------------------- loop */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: var(--max); margin: 60px auto 0; padding: 0 var(--pad);
  background: linear-gradient(var(--line), var(--line)) content-box; }
.loop__item { background: var(--bg); padding: 30px 24px 34px; }
.loop__n { color: var(--accent); }
.loop__item h3 { font-size: 32px; margin: 14px 0 10px; }
.loop__item p { color: #b9b6c4; font-size: 15px; }

/* ---------------------------------------------------------------- features */
.features { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 9vw, 120px) var(--pad); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.card h3 { font-size: 28px; padding: 20px 20px 0; }
.card p { color: #b9b6c4; font-size: 15px; padding: 10px 20px 24px; }

/* ---------------------------------------------------------------- end */
.end { position: relative; min-height: 80svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.end__bg { position: absolute; inset: 0; z-index: -2; }
.end__bg img { width: 100%; height: 100%; object-fit: cover; }
.end::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(7,7,10,.55), var(--bg) 85%), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.end__inner { padding: 0 var(--pad); }
.end__inner p { color: #d4d0de; margin-top: 22px; }
.end__inner a:not(.btn):not(.link-arrow) { color: var(--accent); }

/* ---------------------------------------------------------------- footer */
.footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; padding: 34px var(--pad) 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer img { border-radius: 50%; }
.footer p { flex: 1 1 320px; }
.footer nav { display: flex; gap: 18px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: #fff; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1400px, 94vw); }
.lightbox::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(4px); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 10px; }
.lightbox__close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,20,28,.8); color: #fff; font-size: 26px; cursor: pointer; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .monster, .monster__img, .hero__art img { transition: none; transform: none; }
  .hero__down { animation: none; }
  .monsters__dots button[aria-selected="true"]::after { animation: none; width: 100%; }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { left: 12px; right: 12px; transform: none; justify-content: space-between; border-radius: 22px; flex-wrap: wrap; }
  .nav__links { order: 3; display: none; width: 100%; flex-direction: column; border-left: 0; margin: 4px 0 6px; padding: 6px 0 0; border-top: 1px solid var(--line); }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav__links a.is-current::after { left: 6px; top: 50%; bottom: auto; width: 3px; height: 14px; margin: -7px 0 0; }
  .nav .btn--small { margin-left: auto; }
  .nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 0 9px; }
  .nav__toggle span { height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero__inner { padding-bottom: 16vh; }
  .hero__art img { object-position: 52% 30%; }
  .hero__kicker { font-size: 10px; line-height: 2; }
  .hero__kicker i { padding: 0 .3em; }
  .split { grid-template-columns: 1fr; padding-top: 80px; padding-bottom: 80px; }
  .split--flip .split__text { order: 0; }
  .band { min-height: 78svh; }
  .gallery, .grid, .loop { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .monster { grid-template-columns: 1fr; gap: 0; align-content: start; }
  .monster__img { order: 0; height: 360px; }
  .monster__text h3 { font-size: 52px; }
  .monsters__dots button { width: calc(33% - 7px); }
}
