/* ── Fonts: same family as NVLRF Audio Studio panel ── */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/SpaceGrotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../fonts/SpaceGrotesk-700.woff2") format("woff2"); }
@font-face { font-family: "Space Mono";    font-weight: 400; font-display: swap; src: url("../fonts/SpaceMono-400.woff2") format("woff2"); }
@font-face { font-family: "Space Mono";    font-weight: 700; font-display: swap; src: url("../fonts/SpaceMono-700.woff2") format("woff2"); }

/* ============================================================
   NVLRF Website — Design System
   Identical brand tokens to NVLRF Audio Studio V3.0 (the panel):
   near-black canvas, signature yellow->lime accent, electric blue
   secondary, Space Grotesk display + Space Mono chrome.
   ============================================================ */
:root {
  --bg-0:        #08080a;
  --bg-1:        #0e0e11;
  --bg-2:        #161619;
  --bg-3:        #1d1d22;
  --bg-hover:    #26262c;
  --line:        #2a2a31;
  --line-soft:   #161619;

  --txt-hi:      #f6f6f7;
  --txt:         #c9c9d0;
  --txt-dim:     #8a8a94;
  --txt-faint:   #595963;

  --acc:         #ffe600;
  --acc-2:       #d6ff3f;
  --acc-grad:    linear-gradient(135deg, #ffe600 0%, #d6ff3f 100%);
  --acc-soft:    rgba(255,230,0,0.12);
  --acc-line:    rgba(255,230,0,0.42);
  --on-acc:      #0a0a0a;

  --steel:       #2d6cff;
  --steel-2:     #5d8bff;
  --wave:        #4dd6ff;
  --wave-dim:    #1c6a86;

  --r-sm: 7px; --r: 12px; --r-lg: 20px; --r-pill: 999px;
  --ff:      "Space Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --ff-mono: "Space Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --spring:  cubic-bezier(.34, 1.56, .64, 1);
  --ease:    cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg-0);
  color: var(--txt);
  font-family: var(--ff);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* ── Top nav / tab switch ── */
.topnav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(8,8,10,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--txt-hi); }
.brand span { color: var(--acc); }

.tabs { display: flex; gap: 4px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
.tab-btn {
  font-family: var(--ff-mono); font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: var(--r-pill); border: none;
  background: transparent; color: var(--txt-dim); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.tab-btn.active { background: var(--acc-grad); color: var(--on-acc); }
.tab-btn:not(.active):hover { color: var(--txt-hi); background: var(--bg-hover); }

/* ── Sections ── */
.pane { display: none; }
.pane.active { display: block; }

.hero { padding: 120px 48px 72px; max-width: 1200px; margin: 0 auto; }
.hero.center { text-align: center; }
.hero-eyebrow { font-family: var(--ff-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--txt-faint); margin-bottom: 20px; }
.hero-eyebrow span { color: var(--acc); }
.hero h1 { font-size: clamp(40px, 7vw, 88px); font-weight: 700; letter-spacing: -0.03em; color: var(--txt-hi); line-height: 0.98; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero p.sub { margin-top: 22px; font-size: 19px; color: var(--txt-dim); max-width: 560px; line-height: 1.5; }
.hero.center p.sub { max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-meta { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta div { font-family: var(--ff-mono); font-size: 12px; color: var(--txt-faint); }
.hero-meta strong { display: block; color: var(--txt-hi); font-family: var(--ff); font-size: 15px; font-weight: 700; margin-bottom: 2px; }

.hero-media { margin: 56px auto 0; max-width: 1080px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16/9; position: relative; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--txt-faint); font-family: var(--ff-mono); font-size: 13px; }
.hero-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04); border-radius: inherit; pointer-events: none; }

.section { padding: 64px 32px; max-width: 1080px; margin: 0 auto; }
.section h2 { font-size: 28px; font-weight: 700; color: var(--txt-hi); margin-bottom: 8px; }
.section p.lead { color: var(--txt-dim); margin-bottom: 32px; max-width: 620px; }

/* ── Portfolio grid (photos will be dropped in by the user) ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.grid-item { aspect-ratio: 4/5; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; position: relative; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.grid-item:hover { transform: translateY(-4px); border-color: var(--acc-line); }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.grid-item:hover img { transform: scale(1.04); }
.grid-item .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--txt-faint); font-family: var(--ff-mono); font-size: 12px; text-align: center; padding: 16px; }
.grid-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent); font-family: var(--ff-mono); font-size: 12px; color: var(--txt-hi); opacity: 0; transition: opacity .25s var(--ease); }
.grid-item:hover .cap { opacity: 1; }

/* ── NVLRF Studio marketing pane ── */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--acc-soft); border: 1px solid var(--acc-line); color: var(--acc); font-family: var(--ff-mono); font-size: 12px; font-weight: 700; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; }
.feature-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; border-top: 2px solid var(--acc); transition: background .2s var(--ease), transform .2s var(--ease); }
.feature-card:hover { background: var(--bg-3); transform: translateY(-2px); }
.feature-card h3 { font-size: 15px; color: var(--txt-hi); margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--txt-dim); line-height: 1.5; }

.cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.btn { font-family: var(--ff-mono); font-weight: 700; font-size: 14px; padding: 12px 26px; border-radius: var(--r-pill); border: 1px solid var(--line); cursor: pointer; transition: transform .18s var(--spring), background .18s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--acc-grad); color: var(--on-acc); border: none; }
.btn-ghost { background: transparent; color: var(--txt-hi); }

footer { padding: 40px 32px; text-align: center; color: var(--txt-faint); font-family: var(--ff-mono); font-size: 12px; border-top: 1px solid var(--line-soft); }
