/* ========== ROOT & BASE ========== */

:root {
  --primary-font: "Boldonse", sans-serif;
  --secondary-font: "Bodoni Moda", serif;
  --ui-heading-font: "Bebas Neue", system-ui, sans-serif;
  --ui-body-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --ink-main: #f4f0e6;
  --ink-muted: #9c9487;
  --ink-soft: #6f6860;

  --bg: #050403;
  --panel: #0c0b0a;
  --line: #18110c;
  --accent: #d4a017;
  --brass-1: #e3b653;
  --brass-2: #3a2a12;
  --brass-3: #1e1406;

  --cursor-size: 16px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-main);
  font-family: var(--ui-body-font);
  cursor: auto;
}

/* Page wrapper */
.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 28px 40px;
}

/* ========== TYPOGRAPHY UTILS ========== */

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 8px;
}

.eyebrow--gold {
  color: var(--accent);
}

.section-title {
  font-family: var(--ui-heading-font);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.section-subtitle {
  margin: 8px 0 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
  max-width: 720px;
}

.ev-demo-note{
  display:block;
  margin-top:0.5rem;
  font-size:0.85rem;
  opacity:0.7;
}

/* ========== HEADER / NAVBAR ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid rgba(212, 160, 23, 0.35);
  margin: -24px -28px 0;
  padding: 14px 28px 12px;
  backdrop-filter: blur(10px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-name {
  font-family: var(--ui-heading-font);
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.template-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ev-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-social {
  position: relative;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
  text-decoration: none;
  padding-bottom: 4px;
}

.nav-link::after,
.nav-social::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav-link:hover,
.nav-social:hover {
  color: var(--ink-main);
}

.nav-link:hover::after,
.nav-social:hover::after {
  width: 100%;
}

.nav-social {
  cursor: default;
}

.nav-social:hover::after {
  width: 0;
}

.nav-cta {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 0;
  border: 1px solid rgba(227, 182, 83, 0.75);
  background: #0f0c09;
  color: var(--ink-main);
  text-decoration: none;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    transform 0.18s ease-out,
    border-color 0.18s ease-out;
}

.btn-primary {
  background: var(--accent);
  color: #120c05;
  border-color: rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #e3b653;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(244, 240, 230, 0.2);
  color: var(--ink-main);
}

.btn-ghost:hover {
  border-color: rgba(227, 182, 83, 0.6);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

/* ========== HERO / VISUALIZER ========== */

.hero-visual-wrapper {
  position: relative;
  height: 100vh;
  margin: 0 -28px 42px;
  overflow: hidden;
  background: #070707;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.68)),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.08), transparent 52%),
    url("/assets/img/demo-image-5.webp") center / cover no-repeat;
  filter: blur(3px);
  z-index: 0;
  box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.hero-visual-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent url("assets/img/noise.png") repeat 0 0;
  background-size: 300px 300px;
  animation: noise-animation 0.3s steps(5) infinite;
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
}

.hero-visual-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(227, 182, 83, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(58, 42, 18, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  pointer-events: none;
  z-index: 2;
}

@keyframes noise-animation {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-2%, -3%); }
  20% { transform: translate(-4%, 2%); }
  30% { transform: translate(2%, -4%); }
  40% { transform: translate(-2%, 5%); }
  50% { transform: translate(-4%, 2%); }
  60% { transform: translate(3%, 0); }
  70% { transform: translate(0, 3%); }
  80% { transform: translate(-3%, 0); }
  90% { transform: translate(2%, 2%); }
  100% { transform: translate(1%, 0); }
}

.hero-visual-wrapper canvas {
  display: block;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 1;
}

#container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e8e4dc;
}

.quote-container {
  max-width: 90%;
  overflow: hidden;
}

.quote {
  font-family: var(--primary-font);
  font-size: clamp(48px, 8vw, 120px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 5vh;
  text-transform: uppercase;
}

.author,
.caption {
  font-family: var(--secondary-font);
  font-size: 0.95rem;
  opacity: 0.7;
  margin: 0 0 14px;
}

.hero-cta-strip {
  margin-top: 2.8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-tagline {
  font-size: 0.95rem;
  color: rgba(232, 228, 220, 0.72);
  max-width: 420px;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.custom-cursor {
  position: fixed;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: width 0.2s, height 0.2s;
}

/* ========== MAIN CONTENT ========== */

.main-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-template-areas:
    "overview overview"
    "player library"
    "contact contact";
  gap: 26px;
  margin-top: 28px;
}

.section {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.section-overview,
.section-player,
.section-library,
.section-cta {
  position: relative;
  overflow: hidden;
}

.section-overview::before,
.section-player::before,
.section-library::before,
.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(58, 42, 18, 0.35), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(30, 20, 6, 0.45), transparent 60%),
    radial-gradient(circle at 30% 20%, rgba(227, 182, 83, 0.1), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.section-overview > *,
.section-player > *,
.section-library > *,
.section-cta > * {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 18px;
}

.section-overview {
  grid-area: overview;
}

.overview-body {
  display: grid;
  gap: 10px;
}

.overview-line {
  margin: 0;
  font-size: 1.05rem;
  max-width: 760px;
  color: var(--ink-main);
}

.includes-line {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.includes-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  margin-right: 8px;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Player */

.section-player {
  grid-area: player;
}

.player-shell {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.turntable-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.platter {
  position: relative;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow:
    inset 0 0 0 2px #181818,
    inset 0 0 0 14px #0e0e0e,
    inset 0 0 0 22px #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platter-ring {
  position: absolute;
  inset: 18%;
  border: 1px solid #1f1f1f;
  border-radius: 50%;
}

.platter-label {
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  border: 1px solid #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ui-heading-font);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  background: #0f0f0f;
}

.platter-center {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f4f0e6;
  box-shadow: 0 0 0 4px #0f0f0f, 0 0 0 8px #1a1a1a;
}

.tonearm {
  position: absolute;
  width: 46%;
  height: 6px;
  background: #222;
  top: 32%;
  right: 12%;
  transform: rotate(16deg);
  transform-origin: right center;
  border-radius: 3px;
}

.tonearm::before {
  content: "";
  position: absolute;
  right: -6px;
  top: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.player-panel {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  gap: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  padding: 16px;
  height: 100%;
}

.player-top {
  display: grid;
  gap: 6px;
}

.player-track {
  margin: 0;
  font-family: var(--ui-heading-font);
  letter-spacing: 0.14em;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.player-tags {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.player-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.player-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.player-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 360px;
  align-self: end;
  justify-self: center;
  margin-top: auto;
}

.player-control {
  padding: 10px 14px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-main);
  cursor: pointer;
  flex: 1;
}

.player-artwork-slot {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), transparent 60%), rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  justify-self: center;
}

.player-artwork-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.turntable-player.is-playing .platter-label {
  color: var(--accent);
}

/* Tracklist */

.section-library {
  grid-area: library;
  align-self: start;
}

.playlist-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s ease-out;
}

.track-row:last-child {
  border-bottom: none;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.track-row.active {
  outline: 1px solid var(--accent);
  outline-offset: -1px;
  background: rgba(227, 182, 83, 0.06);
}

.demo-disabled {
  pointer-events: none;
  opacity: 0.75;
  cursor: default;
}

.demo-note {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.track-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.track-index {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  min-width: 32px;
}

.track-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.track-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.track-tags {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.track-side {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* CTA */

.section-cta {
  grid-area: contact;
}

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-title {
  font-family: var(--ui-heading-font);
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 6px 0 8px;
}

.cta-body {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
  max-width: 640px;
}

.cta-note {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  opacity: 0.85;
}

.cta-button {
  min-width: 200px;
  text-align: center;
}

.btn-template-primary {
  /* inherits base button styling */
}

.btn-template-secondary {
  opacity: 0.85;
}

.btn-template-secondary:hover {
  opacity: 1;
}

/* FOOTER */

.footer {
  padding-top: 26px;
  border-top: 1px solid rgba(120, 100, 60, 0.16);
  margin-top: 34px;
}

.footer-text {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1100px) {
  .main-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "overview"
      "player"
      "library"
      "contact";
  }

  .player-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .page {
    padding: 20px 20px 32px;
  }

  .site-header {
    margin: -20px -20px 0;
    padding-inline: 20px;
  }

  .hero-visual-wrapper {
    margin-inline: -20px;
  }
}

@media (max-width: 768px) {
  .nav-center {
    display: none;
  }

  .nav-inner {
    justify-content: space-between;
  }

  .quote {
    font-size: clamp(40px, 12vw, 86px);
  }
}

@media (max-width: 640px) {
  .page {
    padding: 18px 14px 28px;
  }

  .site-header {
    margin: -18px -14px 0;
    padding-inline: 14px;
  }

  .hero-visual-wrapper {
    margin-inline: -14px;
  }

  .section,
  .player-panel {
    padding: 20px;
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
  }

  .playlist-list {
    border-width: 1px;
  }

  .track-row {
    align-items: flex-start;
  }
}

/* EV nav badge (scoped) */
.ev-navhome{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ev-navhome__badge{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .4px;

  background: var(--ev-brand-purple-soft);
  border: 1px solid var(--ev-brand-purple-border);
  color: var(--ev-brand-purple);
  box-shadow: 0 0 0 transparent;
}

.ev-navhome:hover .ev-navhome__badge{
  background: var(--ev-brand-purple-soft);
  border-color: var(--ev-brand-purple-border);
  box-shadow: 0 0 24px rgba(164, 155, 255, 0.35);
}

:root{
  --ev-brand-purple: #a49bff;
  --ev-brand-purple-soft: rgba(164, 155, 255, 0.16);
  --ev-brand-purple-border: rgba(164, 155, 255, 0.35);
}

.ev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.5rem;
  margin-top: 4rem;

  font-size: 0.85rem;
  opacity: 0.8;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  text-decoration: none;
}

.ev-footer__center {
  text-align: center;
  opacity: 0.7;
}

.ev-footer__cta {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.ev-footer__cta:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .ev-footer {
    flex-direction: column;
    text-align: center;
  }
}

.ev-copyright {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.demo-safe-link { cursor: pointer; }


/* Footer layout */
.site-footer {
  margin-top: 60px;
  padding: 20px 22px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  color: var(--muted, var(--ink-muted, rgba(255, 255, 255, 0.78)));
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-left {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-right a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-right a:hover {
  color: var(--text, var(--ink-main, #ffffff));
}

@media (max-width: 720px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
  }
}

