/*
Theme Name: VV Black Box
Theme URI: https://vvblackbox.com
Author: Valuuttavelhot Oy
Description: A dark, minimalist WordPress theme for VV Black Box.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: vv-black-box
*/

:root {
  --vv-bg: #000000;
  --vv-surface: #070707;
  --vv-surface-2: #0b0b0b;
  --vv-text: #f4f7fb;
  --vv-muted: #99a3b3;
  --vv-line: rgba(255,255,255,.09);
  --vv-accent: #7c8cff;
  --vv-accent-2: #8f6dff;
  --vv-max: 1180px;
  --vv-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--vv-bg);
  color: var(--vv-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.vv-container { width: min(calc(100% - 40px), var(--vv-max)); margin-inline: auto; }
.vv-site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(0,0,0,.88);
  border-bottom: 1px solid var(--vv-line);
}
.vv-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.vv-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; }
.vv-brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15); border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.vv-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.vv-nav a { color: var(--vv-muted); font-size: .95rem; transition: color .2s ease, opacity .2s ease; }
.vv-nav a:hover, .vv-nav .current-menu-item > a { color: var(--vv-text); }
.vv-menu-toggle { display: none; background: transparent; color: var(--vv-text); border: 1px solid var(--vv-line); border-radius: 10px; padding: 8px 11px; }

.vv-hero { min-height: 76vh; display: grid; place-items: center; padding: 110px 0 80px; }
.vv-hero-card { width: 100%; text-align: center; }
.vv-logo {
  margin: 0 auto 28px; width: min(760px, 100%);
  font-size: clamp(4.5rem, 14vw, 11rem); line-height: .82; letter-spacing: -.085em;
  font-weight: 900;
}
.vv-logo span {
  display: inline-block;
  background: linear-gradient(120deg, #fff 15%, #b8c0ff 48%, #8f6dff 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 18px 45px rgba(124,140,255,.18));
}
.vv-kicker { color: var(--vv-accent); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 800; }
.vv-hero h1 { font-size: clamp(2rem, 5vw, 4.7rem); line-height: 1.06; max-width: 900px; margin: 18px auto 20px; letter-spacing: -.05em; }
.vv-lead { max-width: 720px; margin: 0 auto; color: var(--vv-muted); font-size: clamp(1rem, 2vw, 1.25rem); }
.vv-actions { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.vv-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--vv-line); font-weight: 750; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.vv-button-primary { background: var(--vv-text); color: #080a0f; }
.vv-button-secondary { background: rgba(255,255,255,.035); }
.vv-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); }

.vv-section { padding: 92px 0; border-top: 1px solid var(--vv-line); }
.vv-section-header { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; margin-bottom: 46px; }
.vv-section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.05; letter-spacing: -.045em; }
.vv-section-intro { color: var(--vv-muted); max-width: 720px; margin: 0; font-size: 1.08rem; }
.vv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vv-card { padding: 30px; transition: transform .22s ease, border-color .22s ease, background .22s ease; border: 1px solid var(--vv-line); border-radius: var(--vv-radius); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018)); min-height: 260px; display: flex; flex-direction: column; }
.vv-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.16); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.022)); }
.vv-card-index { color: var(--vv-muted); font-size: .78rem; letter-spacing: .12em; }
.vv-card h3 { font-size: 1.45rem; margin: 55px 0 12px; }
.vv-card p { color: var(--vv-muted); margin: 0; }
.vv-status { margin-top: auto; padding-top: 30px; color: var(--vv-accent); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.vv-contact-panel { border: 1px solid var(--vv-line); border-radius: var(--vv-radius); padding: clamp(28px, 6vw, 64px); background: var(--vv-surface); display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: end; }
.vv-contact-panel h2 { margin-bottom: 18px; }
.vv-contact-meta { color: var(--vv-muted); }
.vv-email { font-size: clamp(1.35rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; word-break: break-word; }

.vv-content { padding: 110px 0; max-width: 820px; }
.vv-content h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -.06em; }
.vv-content h2 { margin-top: 2.2em; }
.vv-content p, .vv-content li { color: var(--vv-muted); }

.vv-site-footer { border-top: 1px solid var(--vv-line); padding: 30px 0; color: var(--vv-muted); font-size: .9rem; }
.vv-footer-inner { display: flex; justify-content: space-between; align-items: center; text-align: center; gap: 20px; }
.vv-footer-privacy { color: var(--vv-muted); transition: color .2s ease; }
.vv-footer-privacy:hover, .vv-footer-privacy:focus-visible { color: var(--vv-text); }

@media (max-width: 780px) {
  .vv-menu-toggle { display: inline-flex; }
  .vv-nav { display: none; position: absolute; left: 20px; right: 20px; top: 66px; padding: 18px; border: 1px solid var(--vv-line); border-radius: 16px; background: #050505; }
  .vv-nav.is-open { display: block; }
  .vv-nav ul { flex-direction: column; gap: 12px; }
  .vv-section-header, .vv-contact-panel { grid-template-columns: 1fr; }
  .vv-grid { grid-template-columns: 1fr; }
  .vv-hero { min-height: 70vh; padding-top: 80px; }
  .vv-container { width: min(calc(100% - 28px), var(--vv-max)); }
  .vv-header-inner { min-height: 68px; }
  .vv-hero { min-height: 70vh; padding: 72px 0 64px; }
  .vv-section { padding: 68px 0; }
  .vv-section-header { gap: 24px; margin-bottom: 32px; }
  .vv-card { padding: 24px; min-height: 230px; }
  .vv-footer-inner { flex-direction: column; }
}

.vv-card[href] { color: inherit; text-decoration: none; display: block; }
.vv-card[href]:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
