/* Vikopuff Blast — official site styles. No external fonts/CDN. */

:root {
  --violet: #7b2cff;
  --violet-deep: #3a0f78;
  --violet-ink: #1a0a36;
  --violet-mist: #c9a7ff;
  --gold: #ffd24a;
  --gold-deep: #e8a812;
  --green: #2ecc71;
  --green-deep: #1e9e55;
  --paper: #f7f2ff;
  --ink: #1a0a36;
  --ink-soft: #5b4a78;
  --line: rgba(123, 44, 255, .16);
  --wrap: 1120px;
  --prose-w: 720px;
  --pad: clamp(18px, 4vw, 32px);
  --header-h: 68px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --shadow-m: 0 16px 40px rgba(26, 10, 54, .22);
  --shadow-l: 0 28px 70px rgba(26, 10, 54, .35);
  --font: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans",
    "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html:focus-within { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-deep); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet-ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus { left: 0; }
.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 42ch;
}
.muted { color: var(--ink-soft); }
.small { font-size: .86rem; }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(26, 10, 54, .78);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
.brand span { color: var(--gold); }
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 9px 12px;
  border-radius: 999px;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.site-nav a[aria-current="page"],
.site-nav a.is-active {
  color: var(--violet-ink);
  background: var(--gold);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  padding: 12px 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  margin-bottom: 5px;
}
.nav-toggle span:last-child { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #4ae889 0%, var(--green) 45%, var(--green-deep) 100%);
  color: #08351c;
  box-shadow: 0 6px 0 #147a3f, 0 12px 28px rgba(46, 204, 113, .35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #08351c;
  box-shadow: 0 8px 0 #147a3f, 0 16px 34px rgba(46, 204, 113, .4);
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #147a3f;
}
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

/* ---------- hero (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--violet-ink);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 10, 54, .88) 0%, rgba(26, 10, 54, .55) 42%, rgba(26, 10, 54, .18) 70%, rgba(26, 10, 54, .35) 100%),
    linear-gradient(180deg, rgba(26, 10, 54, .25) 0%, rgba(26, 10, 54, .75) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 10vw, 96px) clamp(56px, 9vw, 88px);
  max-width: 640px;
  margin-inline: 0 auto 0 var(--pad);
}
.hero-brand {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.02;
  margin: 0 0 .28em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .45);
}
.hero-brand .blast {
  color: #fff;
  display: block;
}
.hero-brand .puff {
  background: linear-gradient(180deg, #ffe27a, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(90, 40, 0, .35));
}
.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 .55em;
  max-width: 22ch;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.hero .lede {
  color: rgba(255, 255, 255, .86);
  margin-bottom: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(56px, 9vw, 96px) 0;
}
.section-head {
  max-width: 40rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head .lede { margin: 0; }

.how {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(123, 44, 255, .12), transparent 60%),
    var(--paper);
}
.how-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: how;
}
.how-list li {
  position: relative;
  padding: 8px 0 8px 58px;
  counter-increment: how;
}
.how-list li::before {
  content: counter(how);
  position: absolute;
  left: 0;
  top: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--violet-ink);
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: 0 4px 0 #b8860b;
}
.how-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .2em;
  color: var(--ink);
}
.how-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .95rem;
}

.features {
  background: linear-gradient(180deg, #2a1058 0%, var(--violet-ink) 100%);
  color: #fff;
}
.features .section-head .lede { color: rgba(255, 255, 255, .75); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-grid li {
  padding-top: 18px;
  border-top: 2px solid rgba(255, 210, 74, .45);
}
.feature-grid h3 {
  color: var(--gold);
  margin-bottom: .35em;
}
.feature-grid p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}

.gallery {
  background: #efe7ff;
}
.shot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.shot-row figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  background: var(--violet-deep);
  aspect-ratio: 9 / 16;
}
.shot-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot-row figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.download {
  background:
    radial-gradient(70% 80% at 80% 30%, rgba(123, 44, 255, .35), transparent 55%),
    linear-gradient(135deg, #4a1a96, #1a0a36 70%);
  color: #fff;
  text-align: center;
}
.download .lede {
  margin-inline: auto;
  color: rgba(255, 255, 255, .8);
}
.download .hero-cta {
  justify-content: center;
}

/* ---------- prose pages ---------- */
.page {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}
.prose {
  max-width: var(--prose-w);
  margin-inline: auto;
}
.prose h1 { margin-bottom: .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--violet-ink);
  color: rgba(255, 255, 255, .72);
  padding: 36px 0 44px;
  font-size: .92rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .how-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .wrap { max-width: 100%; margin-inline: auto; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(26, 10, 54, .2) 0%, rgba(26, 10, 54, .88) 72%);
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--pad) 16px;
    background: rgba(26, 10, 54, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .site-nav[data-open="true"] { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78svh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
