:root {
  --bg: #0b0c0e;
  --bg-elev: #121418;
  --bg-card: #171a1f;
  --bg-card-hover: #1d2128;
  --text: #f4f1ea;
  --muted: #9a958a;
  --gold: #c6a35a;
  --gold-soft: #e4c98a;
  --line: #2a2e35;
  --white: #ffffff;
  --danger: #d45c4a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Oswald", "Arial Narrow", "Impact", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #111; padding: 8px 12px; z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 80;
  height: var(--header-h);
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 58px; height: 58px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 0.92rem; letter-spacing: 0.04em; color: var(--text); opacity: 0.86; }
.nav a:hover, .nav a:focus-visible { color: var(--gold-soft); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .cart-btn, .menu-btn {
  background: transparent; border: 1px solid var(--line);
  width: 42px; height: 42px; border-radius: 999px;
  display: grid; place-items: center; color: var(--text);
}
.icon-btn:hover, .cart-btn:hover, .menu-btn:hover { border-color: var(--gold); color: var(--gold-soft); }
.cart-btn { position: relative; width: auto; padding: 0 14px; gap: 8px; display: inline-flex; align-items: center; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--gold); color: #1a1408; font-size: 0.75rem; font-weight: 700;
  display: grid; place-items: center;
}
.menu-btn { display: none; }
.socials { display: flex; gap: 6px; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 36px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(198, 163, 90, 0.12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(198, 163, 90, 0.06), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero-logo { width: min(420px, 100%); margin: 0 auto 8px 0; }
.eyebrow {
  color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 0.76rem; font-weight: 600; margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600; font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase;
  margin: 0 0 16px;
}
.hero p.lede { color: var(--muted); font-size: 1.08rem; max-width: 36rem; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 22px; border: 1px solid transparent;
  font-weight: 600; letter-spacing: 0.03em;
}
.btn-gold { background: var(--gold); color: #1a1408; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-wide { width: 100%; }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-card figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px;
}
.hero-card h2 { margin: 0; font-size: 1rem; }
.price { color: var(--gold-soft); font-weight: 700; letter-spacing: 0.02em; }

/* Sections */
section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.section-head h2, .about h2, .clips h2, .contact h2 {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; line-height: 1;
}
.kicker { color: var(--muted); margin: 0; }

/* Product grid */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover, .card:focus-within { transform: translateY(-3px); border-color: #3a3f48; background: var(--bg-card-hover); }
.card-media { position: relative; background: #101114; }
.card-media img { width: 100%; aspect-ratio: 1 / 0.86; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(11,12,14,0.82); border: 1px solid var(--gold);
  color: var(--gold-soft); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 999px; font-weight: 700;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.cat { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { flex: 1; padding: 10px 12px; font-size: 0.9rem; }

/* About / clips / contact */
.about, .clips, .contact { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about p, .clips p, .contact p { color: #c9c4b8; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.04em; color: var(--gold-soft); }
.stat span { color: var(--muted); font-size: 0.85rem; }
.clip-box, .contact-box {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 18px; padding: 28px;
}
.contact a.mail { color: var(--gold-soft); font-weight: 600; word-break: break-word; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-list li { margin: 0 0 10px; color: var(--muted); }
.contact-list a { color: var(--text); border-bottom: 1px solid var(--line); }
.contact-list a:hover { color: var(--gold-soft); border-color: var(--gold); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer .brand img { width: 48px; height: 48px; }
.fine { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Modal / cart */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.64); z-index: 120;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }
.modal, .drawer {
  position: fixed; z-index: 130; background: var(--bg-elev);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal {
  top: 50%; left: 50%; transform: translate(-50%, calc(-50% + 12px));
  width: min(920px, calc(100% - 28px)); max-height: calc(100vh - 40px);
  overflow: auto; border-radius: 20px;
}
.drawer {
  top: 0; right: 0; height: 100vh; width: min(420px, 100%);
  transform: translateX(24px); border-radius: 0; display: flex; flex-direction: column;
}
.modal.open, .drawer.open { opacity: 1; pointer-events: auto; }
.modal.open { transform: translate(-50%, -50%); }
.drawer.open { transform: translateX(0); }
.modal-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.modal-media img { width: 100%; aspect-ratio: 1 / 0.9; object-fit: cover; background: #101114; }
.thumbs { display: flex; gap: 8px; padding: 12px; flex-wrap: wrap; }
.thumbs button { border: 1px solid var(--line); padding: 0; border-radius: 8px; overflow: hidden; width: 64px; height: 64px; background: #101114; }
.thumbs button.active, .thumbs button:hover { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 28px; }
.modal-info h3 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.25; }
.close-x {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(11,12,14,0.8);
}
.close-x:hover { border-color: var(--gold); color: var(--gold-soft); }
.field { margin: 14px 0; }
.field label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.field select {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px;
}
.drawer-head, .drawer-foot { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 12px; }
.cart-items { padding: 8px 20px; overflow: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-item h4 { margin: 0 0 4px; font-size: 0.95rem; }
.cart-item p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0; }
.remove:hover { color: var(--danger); }
.empty { color: var(--muted); padding: 28px 0; }
.total-row { display: flex; justify-content: space-between; font-weight: 700; }

body.locked { overflow: hidden; }

@media (max-width: 900px) {
  .hero-grid, .split, .modal-grid, .grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .nav, .socials { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(11,12,14,0.98); border-bottom: 1px solid var(--line);
    padding: 16px 20px 22px; align-items: flex-start; gap: 14px;
  }
  .menu-btn { display: grid; }
  .hero { padding: 36px 0 24px; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .wrap { width: min(1180px, calc(100% - 28px)); }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .overlay, .modal, .drawer { transition: none; }
}
