@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --surface: #ffffff;
  --surface-stone: #f4f5f6;
  --surface-dark: #0f0f10;
  --surface-dark-2: #18181b;
  --ink: #141414;
  --ink-logo: #231815;
  --ink-muted: #6e6e73;
  --hairline: rgba(20, 20, 20, 0.1);
  --hairline-light: rgba(255, 255, 255, 0.16);
  --accent: #9a744d;
  --font-sans: "Inter", "Noto Sans SC", "HarmonyOS Sans SC", "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --font-serif: "Cormorant Garamond", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --max-w: 1380px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background: var(--surface);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* Floating B&O Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 76px;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  color: #ffffff;
  background: linear-gradient(to bottom, rgba(15, 15, 16, 0.55) 0%, rgba(15, 15, 16, 0) 100%);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 30px;
  width: auto;
}

.logo-ink {
  display: none;
}

.site-header.scrolled .logo-white {
  display: none;
}

.site-header.scrolled .logo-ink {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  opacity: 0.88;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.25s var(--ease);
}

.bag-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.site-header:not(.scrolled) .bag-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ink);
}

.bag-count {
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
}

/* Full-Bleed B&O Hero */
.hero-full {
  position: relative;
  height: 100vh;
  min-height: 680px;
  max-height: 980px;
  background: var(--surface-dark);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 16, 0.85) 0%, rgba(15, 15, 16, 0.28) 50%, rgba(15, 15, 16, 0.35) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.hero-h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: all 0.28s var(--ease);
  white-space: nowrap;
}

.pill-light {
  background: #ffffff;
  color: var(--ink);
}

.pill-light:hover {
  background: #e5e5e5;
}

.pill-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.pill-ghost-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.pill-dark {
  background: var(--ink);
  color: #ffffff;
}

.pill-dark:hover {
  background: #2f2f33;
}

.pill-outline {
  background: transparent;
  border-color: rgba(20, 20, 20, 0.25);
  color: var(--ink);
}

.pill-outline:hover {
  border-color: var(--ink);
}

.hero-switcher {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
  padding-right: 68px;
}

.hero-tab {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  padding: 10px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  transition: all 0.25s var(--ease);
}

.hero-tab.active,
.hero-tab:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Editorial Asymmetric Split (B&O Story Style) */
.editorial-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 600px;
  background: var(--surface);
}

.editorial-split.reverse {
  grid-template-columns: 1fr 1.35fr;
}

.editorial-media {
  position: relative;
  background: var(--surface-stone);
  overflow: hidden;
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8%;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.display-h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.lead-p {
  margin: 0 0 32px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.85;
  max-width: 440px;
}

.hairline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: opacity 0.2s ease;
}

.hairline-link:hover {
  opacity: 0.65;
}

/* Borderless B&O Gallery Sections */
.band {
  padding: 112px 0;
}

.band-stone {
  background: var(--surface-stone);
}

.band-dark {
  background: var(--surface-dark);
  color: #ffffff;
}

.band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}

.band-head .lead-p {
  margin: 0;
}

/* Borderless Product Showcase Grid */
.bo-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 48px;
}

.bo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 36px;
}

.bo-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 28px;
}

.bo-item {
  display: flex;
  flex-direction: column;
}

.bo-item-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-stone);
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
}

.bo-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.bo-item:hover .bo-item-media img {
  transform: scale(1.03);
}

.bo-item-media.square {
  aspect-ratio: 1 / 1;
}

.bo-item-media.contain-blend {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bo-item-media.contain-blend img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bo-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.bo-item-title {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.bo-item-price {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.bo-item-desc {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.bo-item-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.swatch-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.swatch-dot.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink);
}

.text-action {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.text-action:hover {
  border-bottom-color: var(--ink);
}

/* Interactive Sound & Light Band (Real Photography) */
.lab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.lab-photo-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0a0a0b;
}

.lab-photo-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* AI Consultation (Minimalist Hairline) */
.advisor-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.advisor-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.advisor-label {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-btn {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  transition: all 0.2s ease;
}

.chip-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.advisor-panel {
  background: var(--surface-stone);
  padding: 36px;
}

.advisor-rec-vinyls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

.advisor-vinyl-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 10px;
  font-size: 12px;
}

.advisor-vinyl-mini img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Vinyl Archive Tabs (Hairline) */
.vinyl-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}

.vinyl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.vinyl-tab {
  background: none;
  border: none;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-muted);
  border-bottom: 1.5px solid transparent;
  transition: all 0.2s ease;
}

.vinyl-tab.active,
.vinyl-tab:hover {
  color: var(--ink);
}

.vinyl-tab.active {
  border-bottom-color: var(--ink);
}

.hairline-input {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.hairline-input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.vinyl-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}

/* FAQ & Lookup */
.lookup-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.lookup-form {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.lookup-form .hairline-input {
  flex: 1;
  min-width: 180px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
}

.faq-item summary {
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* Footer */
.site-footer {
  background: var(--surface-dark);
  color: #e5e5e7;
  padding: 88px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--hairline-light);
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
  color: #a1a1aa;
  max-width: 300px;
  line-height: 1.75;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71717a;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-col a {
  color: #d4d4d8;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #71717a;
}

/* Slide-Over Drawers & Modals */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 16, 0.52);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #ffffff;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.drawer-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--hairline);
  background: var(--surface-stone);
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
}

.cart-item img {
  width: 76px;
  height: 56px;
  object-fit: cover;
  background: var(--surface-stone);
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--hairline);
  margin-top: 8px;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  background: #fff;
  border: none;
}

.cart-qty span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.98);
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-body {
  padding: 28px;
}

.input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.input:focus {
  outline: none;
  border-color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  color: var(--ink-muted);
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pay-option {
  padding: 10px;
  border: 1px solid var(--hairline);
  text-align: center;
  font-size: 13px;
  background: #fff;
}

.pay-option.active {
  border-color: var(--ink);
  background: var(--surface-stone);
  font-weight: 500;
}

.alert {
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.alert-info {
  background: #f4f5f6;
  color: var(--ink);
}

.alert-error {
  background: #fef2f2;
  color: #b91c1c;
}

.alert-success {
  background: #f0fdf4;
  color: #15803d;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1080px) {
  .wrap {
    padding: 0 24px;
  }
  .editorial-split,
  .editorial-split.reverse,
  .lab-grid,
  .advisor-wrap,
  .lookup-grid {
    grid-template-columns: 1fr;
  }
  .bo-grid-3,
  .bo-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    color: var(--ink);
    padding: 24px;
    border-bottom: 1px solid var(--hairline);
    gap: 16px;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .bo-grid-2,
  .bo-grid-3,
  .bo-grid-4,
  .faq-list,
  .footer-grid,
  .form-grid,
  .advisor-rec-vinyls {
    grid-template-columns: 1fr;
  }
  .band {
    padding: 72px 0;
  }
  .band-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
