/* ==========================================================================
   DRACHE Storefront — Premium dark theme
   Mobile-first · Inter + system display stack
   ========================================================================== */

:root {
  --bg: #050506;
  --bg-elevated: #0c0c0e;
  --bg-card: #121214;
  --bg-card-hover: #18181c;
  --charcoal: #1a1a1e;
  --border: #2a2a30;
  --border-subtle: #1e1e24;
  --silver: #c8c8d0;
  --silver-dim: #8a8a94;
  --text: #e8e8ec;
  --text-muted: #9a9aa4;
  --accent: #8b1a2b;
  --accent-bright: #b82438;
  --accent-soft: rgba(139, 26, 43, 0.18);
  --focus: #e8e8ec;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --header-h: 64px;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--silver);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--accent-bright);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.logo:hover {
  color: var(--text);
}

.logo__mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--charcoal), var(--accent));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.85rem 1rem;
  color: var(--silver);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text);
  background: var(--charcoal);
}

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

  .nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 26, 43, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(40, 40, 50, 0.5), transparent 50%),
    linear-gradient(180deg, #0a0a0c 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 2.3vw, 1.08rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__bio {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: var(--text);
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero__portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
  padding: 0.75rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(139, 26, 43, 0.35), transparent 55%),
    linear-gradient(160deg, #1a1a20 0%, #0a0a0c 100%);
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(168, 168, 176, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.55);
}

.hero__pfp {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

.hero__portrait-caption {
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 10, 0.92);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero {
    padding: 5rem 0 5.5rem;
  }

  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent-bright);
  color: #fff;
  border-color: #c92e44;
}

.btn--primary:hover {
  background: #d12d44;
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  background: var(--charcoal);
  border-color: var(--silver-dim);
  color: var(--text);
}

.btn--ghost {
  background: var(--bg-elevated);
  color: var(--silver);
  border-color: var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--silver-dim);
}

.btn--block {
  width: 100%;
}

.btn[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.product-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.product-card__art {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.product-card__art svg {
  width: 100%;
  height: 100%;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.35rem;
  gap: 0.65rem;
}

.product-card__category {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a8b0;
}

.product-card__tagline {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.product-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card__desc {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.product-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card__price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--silver-dim);
  margin-left: 0.15rem;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.product-card audio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Licenses
   -------------------------------------------------------------------------- */

.license-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .license-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.license-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.license-card--featured {
  border-color: rgba(139, 26, 43, 0.45);
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(139, 26, 43, 0.08) 100%);
}

.license-card__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border-radius: 999px;
}

.license-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.license-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.license-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--silver);
  font-size: 0.9rem;
}

.license-card li + li {
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border-subtle);
}

.about__panel {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .about__panel {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }
}

.about__credit {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--accent-bright);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.about__body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about__body p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 40rem;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-item__trigger:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--silver-dim);
  transition: transform 0.25s var(--ease);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
  color: var(--accent-bright);
}

.faq-item__panel {
  padding: 0 1.15rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.faq-item__panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  max-width: 36rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-row__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

.contact-row a {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}

.contact-row a:hover {
  color: var(--accent-bright);
}

.contact-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.placeholder-hint {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border-radius: 4px;
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--silver-dim);
  font-size: 0.85rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--silver);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.product-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: inherit;
}
