@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --brand-navy: #0B2341;
  --brand-navy-light: #15375F;
  --brand-navy-dark: #06162B;
  --brand-gold: #A67C3D;
  --brand-gold-light: #C59B4C;
  --brand-gold-dark: #7A5A28;
  --brand-water: #1B6B8A;
  --brand-water-light: #2A8BB0;
  --brand-water-dark: #0F4A62;
  --surface: #F3EFE6;
  --surface-raised: #FAF8F3;
  --ink: #1A1F26;
  --ink-muted: #4A5560;
  --line: #D9D2C5;
}

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--surface);
  overflow-x: hidden;
}

.font-display,
.font-serif-title,
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', Georgia, sans-serif;
  letter-spacing: -0.02em;
}

/* Scrollbar — understated */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: #C4BAA8;
}
::-webkit-scrollbar-thumb:hover {
  background: #A89F8E;
}

/* Product catalog tile — no lift/shadow hover */
.product-card {
  transition: border-color 0.2s ease;
  background: var(--surface-raised);
  border: 1px solid var(--line);
}
.product-card:hover {
  border-color: var(--brand-navy);
}

/* Stock status — plain text, not pills */
.badge-in-stock {
  background: transparent;
  color: #1B5E3B;
  border: none;
  font-weight: 600;
  padding: 0;
}
.badge-low-stock {
  background: transparent;
  color: #7A4F12;
  border: none;
  font-weight: 600;
  padding: 0;
}

/* Hero full-bleed photo with slow zoom */
.hero-bleed {
  min-height: min(88vh, 720px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroKen 28s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-bleed-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 22, 43, 0.88) 0%,
    rgba(11, 35, 65, 0.55) 48%,
    rgba(11, 35, 65, 0.25) 100%
  );
  z-index: 1;
}
.hero-bleed > .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

@keyframes heroKen {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.7s ease-out both;
}
.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

/* Wide image with subtle edge slide on load */
.media-slide {
  animation: mediaIn 1s ease-out both;
}
@keyframes mediaIn {
  from {
    opacity: 0.4;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Buttons — flat, no gradient */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--brand-navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary:hover {
  background: var(--brand-navy-light);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid currentColor;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-ghost-dark:hover {
  border-color: var(--brand-navy);
  background: #fff;
}

/* Section label — quiet, not tracking-widest gold scream */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 0.35rem;
}

/* Category split panels */
.cat-panel {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.cat-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cat-panel:hover img {
  transform: scale(1.03);
}
.cat-panel-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(6, 22, 43, 0.92) 0%, rgba(6, 22, 43, 0.35) 70%, transparent 100%);
  color: #fff;
}

/* Form fields */
.field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.8125rem;
  color: var(--ink);
}
.field:focus {
  outline: none;
  border-color: var(--brand-navy);
}
.field-dark {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #2A3544;
  background: #fff;
  font-size: 0.8125rem;
  color: var(--ink);
}
.field-dark:focus {
  outline: none;
  border-color: var(--brand-navy);
}

/* Legal text */
.legal-content h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal-content p, .legal-content li {
  color: var(--ink-muted);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul { list-style-type: disc; }
.legal-content ol { list-style-type: decimal; }

.drawer-backdrop {
  background-color: rgba(11, 35, 65, 0.55);
  transition: opacity 0.25s ease-in-out;
}

#drawerBackdrop {
  z-index: 60;
}

#quoteDrawer {
  z-index: 70;
}

@media print {
  header, footer, .no-print, #cartDrawer, #quoteModal, .floating-actions {
    display: none !important;
  }
  body {
    background: #FFF;
    color: #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bleed-bg,
  .reveal,
  .media-slide,
  .cat-panel img {
    animation: none !important;
    transition: none !important;
  }
}
