/* VR Decisions public site (D42). Static, no build step. */
:root {
  --bg: #0b0f14; --bg2: #111821; --card: #151e29; --line: #243244;
  --text: #e9eef4; --muted: #9fb0c3; --accent: #f2a541; --accent2: #3fb6c8; --ok: #5cc98b;
  --radius: 14px; --max: 1180px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent2); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-family: var(--font); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); font-weight: 650; margin-bottom: .8em; }
section { padding: 96px 0; }
section.alt { background: var(--bg2); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background .3s; background: linear-gradient(rgba(11,15,20,.75), rgba(11,15,20,0)); }
.nav.solid { background: rgba(11, 15, 20, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
.brand svg { width: 30px; height: 30px; }
.nav .links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav .links a { color: var(--text); text-decoration: none; font-size: .95rem; opacity: .85; }
.nav .links a:hover { opacity: 1; }
@media (max-width: 760px) { .nav .links a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 650; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 650; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #1a1205; }
.btn.ghost { border-color: rgba(255,255,255,.35); color: var(--text); background: rgba(0,0,0,.2); }
.btn.small { padding: 8px 16px; font-size: .9rem; }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 12vh; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: 60% center; transform: scale(1.04); left: 38%; }
.hero .bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11,15,20,.55) 22%, rgba(11,15,20,0) 50%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero .wrap, .page-hero .wrap { position: relative; width: 100%; }
.hero h1 { max-width: 11em; }
.hero .lead { max-width: 30em; }
@media (max-width: 760px) { .hero .bg { left: 0; background-position: 66% center; } .hero .bg::after { background: linear-gradient(0deg, rgba(11,15,20,.97) 35%, rgba(11,15,20,.35) 80%); } }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .proof { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero .proof b { color: var(--text); display: block; font-size: 1.4rem; font-family: var(--display); }

/* grids */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card .body { padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 56px; margin-top: 48px; }
.step { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.step:nth-child(even) .pic { order: 2; }
.step .pic img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.step .num { counter-increment: s; font-family: var(--display); font-size: 3rem; color: var(--accent); line-height: 1; }
.step .num::before { content: '0' counter(s); }
.step ul { color: var(--muted); padding-left: 1.1em; margin: 0; }
@media (max-width: 820px) { .step { grid-template-columns: 1fr; gap: 20px; } .step:nth-child(even) .pic { order: 0; } }

/* diagrams */
.diagram { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 40px; }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.svg-scroll { overflow-x: auto; }
.svg-scroll svg { min-width: 760px; }

/* 360 strip */
.pano { position: relative; height: min(56vw, 520px); border-radius: var(--radius); overflow: hidden; cursor: grab; border: 1px solid var(--line);
  background-repeat: repeat-x; background-size: auto 100%; touch-action: pan-y; user-select: none; }
.pano:active { cursor: grabbing; }
.pano .tag { position: absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,.6); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.pano .choice { position: absolute; right: 16px; bottom: 16px; max-width: 330px; background: rgba(11,15,20,.88); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px; font-size: .9rem; }
.pano .choice b { color: var(--accent); display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.pano .choice div { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #1d2a39; }
@media (max-width: 640px) { .pano .choice { display: none; } }
.shot { border-radius: var(--radius); border: 1px solid var(--line); }

/* benefits */
.benefit { padding: 24px; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.benefit h3 { margin-bottom: 6px; }
.benefit p { color: var(--muted); margin: 0; }

/* testimonials */
.quote { padding: 28px; }
.quote blockquote { margin: 0 0 16px; font-family: var(--display); font-size: 1.2rem; line-height: 1.45; }
.quote cite { color: var(--muted); font-style: normal; font-size: .9rem; }
.quote.empty { border-style: dashed; display: flex; flex-direction: column; justify-content: center; text-align: center; color: var(--muted); }

/* selector */
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px; }
.pick a { position: relative; display: block; min-height: 300px; border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none;
  border: 1px solid var(--line); background-size: cover; background-position: center; transition: transform .2s; }
.pick a:hover { transform: translateY(-3px); }
.pick a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,15,20,.95) 10%, rgba(11,15,20,.2) 70%); }
.pick a > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 1; }
.pick a p { color: var(--muted); margin: 0 0 10px; font-size: .95rem; }
.pick .go { color: var(--accent); font-weight: 650; }

/* forms */
form.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.contact .full { grid-column: 1 / -1; }
form.contact label { display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
form.contact input, form.contact select, form.contact textarea { font: inherit; color: var(--text); background: #0e141b; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; }
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--accent2); border-color: transparent; }
form.contact .hp { position: absolute; left: -9999px; }
form.contact .status { grid-column: 1 / -1; min-height: 1.5em; }
form.contact .status.ok { color: var(--ok); } form.contact .status.err { color: #ff8a7a; }
@media (max-width: 640px) { form.contact { grid-template-columns: 1fr; } }

/* client pages */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding-bottom: 8vh; background-size: cover; background-position: center; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(11,15,20,.55) 55%, rgba(11,15,20,.35) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin-top: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; color: var(--muted); }
.kv b { color: var(--text); font-weight: 600; }
.logo-slot { width: 160px; height: 64px; border: 1px dashed var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; margin-bottom: 18px; }

footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero .bg { transform: none; } html { scroll-behavior: auto; } }
