/* ==========================================================================
   Guerdon Champagne — Base Styles
   Reset, typography, utility classes
   ========================================================================== */

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--gc-black);
  color: var(--gc-white);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--gc-gold);
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}

p {
  letter-spacing: 0.02em;
}

/* ── Links & Focus ── */
:focus-visible {
  outline: 2px solid var(--gc-gold);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--gc-gold);
  color: var(--gc-black);
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ── Skip Link (a11y) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--gc-gold);
  color: var(--gc-black);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gc-black);
}

::-webkit-scrollbar-thumb {
  background: var(--gc-muted);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gc-gold);
}

/* ── Print ── */
@media print {
  .nav,
  .footer,
  .age-gate,
  .preloader,
  .cart-sidebar,
  .cart-backdrop,
  .mobile-menu,
  .marquee {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}
