/* Vesper iOS Studio showcase — inherits ELXR OLED palette & layout primitives from ../assets/site.css */
:root {
  --v-accent: #a855f7;
  --v-accent2: #38bdf8;
  --v-glow: rgba(168, 85, 247, 0.28);
}

.v-wrap { position: relative; }

.v-crumb {
  padding: 20px 0 0;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.v-crumb a:hover { color: var(--text); }
.v-crumb .v-acc { color: var(--v-accent2); }

/* ---------- Hero ---------- */
.v-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}
.v-hero::before {
  content: "";
  position: absolute;
  inset: -120px -10% auto;
  height: 540px;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 62% 28%, var(--v-glow), transparent 72%);
  transition: background 0.35s ease;
}

.v-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .v-hero-grid { grid-template-columns: 1fr; }
}

.v-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  cursor: pointer;
  user-select: none;
}
.v-spin-canvas {
  width: 68px;
  height: 68px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 18px var(--v-glow));
}
.v-wordmark {
  height: 19px;
  width: auto;
  display: block;
}

.v-eyebrow {
  font: 500 11px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v-accent2);
  margin-bottom: 14px;
}

.v-h1 {
  font: 600 clamp(36px, 5.4vw, 62px)/1.04 var(--display);
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 18px;
}
.v-h1 span { color: var(--v-accent); transition: color 0.3s ease; }

.v-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.62;
  color: #b7bcc4;
  max-width: 54ch;
  margin-bottom: 26px;
}

/* Live Theme Accent Switcher */
.v-swatches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(12, 13, 18, 0.85);
}
.v-swatches .label { margin-right: 6px; }
.v-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: var(--sw, #a855f7);
}
.v-swatch:hover { transform: scale(1.16); }
.v-swatch[aria-pressed="true"] {
  border-color: #fff;
  box-shadow: 0 0 0 2px #000, 0 0 14px var(--sw, #a855f7);
  transform: scale(1.12);
}

.v-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.v-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font: 600 13px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--text);
  background: var(--panel);
  transition: border-color 0.2s, transform 0.18s, background 0.2s, box-shadow 0.25s;
}
.v-btn:hover { border-color: var(--v-accent); transform: translateY(-1px); }
.v-btn.primary {
  background: var(--v-accent);
  border-color: var(--v-accent);
  color: #050507;
  box-shadow: 0 0 24px var(--v-glow);
}
.v-btn.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 34px var(--v-glow);
}

.v-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 32px;
}
@media (max-width: 680px) {
  .v-meta-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v-meta-cell {
  background: #050608;
  padding: 14px 16px;
}
.v-meta-cell b {
  display: block;
  font: 600 15px/1.2 var(--display);
  color: #fff;
  margin-bottom: 4px;
}
.v-meta-cell span {
  font: 500 11px/1.3 var(--mono);
  color: var(--muted);
}

/* ---------- Phone Mockup Frame for Animated GIFs ---------- */
.v-phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.v-phone {
  position: relative;
  width: min(100%, 306px);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, #2d313d 0%, #0d0e13 45%, #222631 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), 0 0 42px var(--v-glow);
  transition: box-shadow 0.35s ease;
}
.v-phone-screen {
  border-radius: 29px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 1320 / 2868;
}
.v-phone-screen img,
.v-phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.v-phone-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.v-tab {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 11px;
  border: 1px solid var(--line-2);
  background: #090a0d;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
.v-tab:hover { color: #fff; border-color: var(--v-accent); }
.v-tab[aria-selected="true"] {
  color: #000;
  background: var(--v-accent);
  border-color: var(--v-accent);
}

/* ---------- Animated Pillar Sections ---------- */
.v-sec {
  padding: clamp(56px, 8vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}
.v-sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.v-sec-head h2 {
  font: 600 clamp(26px, 3.6vw, 42px)/1.12 var(--display);
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 10px;
}
.v-sec-head p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 15px;
}

.v-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 980px) {
  .v-pillar-grid { grid-template-columns: 1fr; }
}

.v-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 17, 22, 0.92), rgba(7, 8, 10, 0.96));
  position: relative;
}
.v-card::before, .v-card::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--v-accent);
  opacity: 0.65;
  pointer-events: none;
}
.v-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.v-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.v-card-gif {
  margin: 18px auto 20px;
  width: min(100%, 248px);
  border-radius: 30px;
  padding: 8px;
  background: linear-gradient(145deg, #272b36, #0b0c10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.7), 0 0 28px var(--v-glow);
}
.v-card-gif img,
.v-card-gif video {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}
.v-card h3 {
  font: 600 22px/1.2 var(--display);
  color: #fff;
  margin-bottom: 10px;
}
.v-card p {
  font-size: 14px;
  color: #aeb3bc;
  margin-bottom: 14px;
}
.v-card ul {
  list-style: none;
  display: grid;
  gap: 7px;
  font: 500 12px/1.4 var(--mono);
  color: #d6dae1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.v-card ul li::before {
  content: "+ ";
  color: var(--v-accent);
}

/* ---------- Dual Showcase Rows (Musicians Suite & Color/Export) ---------- */
.v-feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
@media (max-width: 860px) {
  .v-feature-split { grid-template-columns: 1fr; }
}
.v-dual-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.v-dual-phones .v-card-gif {
  margin: 0;
  width: 100%;
  max-width: 240px;
  justify-self: center;
}

.v-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
}
.v-pill {
  font: 500 12px/1 var(--mono);
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  background: #090a0f;
  color: #d7dce4;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}
.v-pill:hover, .v-pill[aria-pressed="true"] {
  border-color: var(--v-accent);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 18px var(--v-glow);
}

@media (max-width: 520px) {
  .bar .wrap { gap: 8px; }
  .nav { min-width: 0; overflow-x: auto; scrollbar-width: none; gap: 2px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 6px; font-size: 10px; letter-spacing: 0.05em; white-space: nowrap; }
}
.v-pill-detail {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #07080b;
  font: 400 13px/1.55 var(--sans);
  color: #c8cdd6;
  min-height: 70px;
}
.v-pill-detail strong {
  color: var(--v-accent2);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

/* ---------- 6-Slide Gallery ---------- */
.v-slides-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1080px) {
  .v-slides-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .v-slides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v-slide {
  border: 1px solid var(--line);
  background: #050507;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.v-slide:hover {
  border-color: var(--v-accent);
  transform: translateY(-3px);
}
.v-slide img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}
.v-slide figcaption {
  padding: 10px;
  font: 500 11px/1.3 var(--mono);
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ---------- Technical Specs & Finale Band ---------- */
.v-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 780px) {
  .v-specs { grid-template-columns: 1fr; }
}
.v-spec {
  background: #06070a;
  padding: 22px;
}
.v-spec .label { color: var(--v-accent2); margin-bottom: 10px; }
.v-spec h4 {
  font: 600 18px/1.25 var(--display);
  color: #fff;
  margin-bottom: 8px;
}
.v-spec p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.v-finale {
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  background: radial-gradient(ellipse 65% 65% at 50% 50%, var(--v-glow), transparent 72%);
}
.v-finale-star {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: block;
}
.v-finale-wm {
  height: 22px;
  width: auto;
  margin: 0 auto 22px;
}
.v-finale h2 {
  font: 600 clamp(28px, 4vw, 44px)/1.1 var(--display);
  color: #fff;
  margin-bottom: 14px;
}
.v-finale p {
  color: var(--muted);
  max-width: 48ch;
  margin: 0 auto 26px;
}

@media (prefers-reduced-motion: reduce) {
  .v-hero::before, .v-phone, .v-btn { transition: none; }
}
