@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   REOX & CO — LUXURY INDUSTRIAL & MODERN SPORTSWEAR DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette */
  --ink: #121511;
  --dark: #0f120e;
  --dark-surface: #181c15;
  --dark-card: #20261c;
  --olive: #2a3325;
  --olive-light: #3b4634;
  --olive-dark: #1b2217;
  --gold: #c5a566;
  --gold-hover: #d8b979;
  --gold-dark: #9e8048;
  --gold-dim: rgba(197, 165, 102, 0.15);
  --gold-glow: rgba(197, 165, 102, 0.35);
  --paper: #f8f7f2;
  --paper-card: #ffffff;
  --paper-alt: #f0eee5;
  --line: #dcdfd5;
  --line-light: #e8eae1;
  --line-dark: #2c3527;
  --muted: #6a7164;
  --muted-light: #909888;
  
  /* Typography */
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;

  /* Elevations & Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(18, 21, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 21, 17, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 21, 17, 0.14);
  --shadow-gold: 0 6px 20px rgba(197, 165, 102, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 15px/1.7 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Page Entrance Animation */
main {
  animation: pageFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Accessibility Focus States */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 {
  font-size: clamp(42px, 5.5vw, 84px);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 3.8vw, 56px);
  margin-bottom: 22px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
}

h4 {
  font-size: 17px;
  letter-spacing: -0.02em;
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

/* ==========================================================================
   ANNOUNCEMENT TICKER
   ========================================================================== */
.announcement {
  background: var(--dark-surface);
  color: #edece4;
  border-bottom: 1px solid var(--line-dark);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0 16px;
  overflow: hidden;
  position: relative;
  z-index: 55;
}

.announcement-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

#announcement {
  display: block;
  transition: opacity 0.35s ease, transform 0.35s ease;
  white-space: nowrap;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
  height: 98px;
  padding: 0 4.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
  height: 84px;
  background: rgba(248, 247, 242, 0.98);
  box-shadow: 0 4px 24px rgba(18, 21, 17, 0.07);
}

.brand {
  width: auto;
  min-width: 140px;
  max-width: 180px;
  height: 82px;
  overflow: visible !important;
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.brand img {
  width: auto;
  max-width: 100%;
  height: 76px;
  object-fit: contain;
  position: static !important;
  top: auto !important;
  display: block;
  background: transparent !important;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.03);
}

header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 500;
}

header nav > a {
  position: relative;
  padding: 8px 0;
  color: var(--ink);
}

header nav > a::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--gold);
  left: 0;
  right: 100%;
  bottom: 0;
  transition: right 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

header nav > a:hover::after,
header nav > a.active::after {
  right: 0;
}

/* Nav Dropdown / Mega Menu */
.nav-item-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  color: var(--ink);
  cursor: pointer;
}

.nav-link-dropdown .chevron-down {
  font-size: 10px;
  transition: transform 0.25s ease;
  color: var(--gold);
}

.nav-item-dropdown:hover .nav-link-dropdown .chevron-down {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 480px;
  background: var(--dark-surface);
  color: #edece4;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 60;
  pointer-events: none;
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
  pointer-events: auto;
}

.mega-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2e3728;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.mega-menu-top .eyebrow {
  margin-bottom: 0;
  font-size: 9px;
}

.mega-all-link {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}

.mega-all-link:hover {
  text-decoration: underline;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.mega-item {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  transition: background 0.2s, transform 0.2s;
}

.mega-item:hover {
  background: #252d21;
  transform: translateX(3px);
}

.mega-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.mega-item-count {
  font-size: 10px;
  color: var(--muted-light);
  margin-top: 2px;
}

/* Nav Tools & Action Buttons */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.search-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(197, 165, 102, 0.2);
  transform: translateY(-1px);
}

.search-icon {
  font-size: 16px;
  line-height: 1;
}

.search-kbd {
  font-size: 9px;
  font-weight: 700;
  background: #ecefe5;
  color: #6a7363;
  padding: 2px 6px;
  border-radius: 4px;
}

.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.quote-link:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(197, 165, 102, 0.22);
}

.cart-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.quote-count {
  background: var(--gold);
  color: #121511;
  font-weight: 700;
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-count.bump {
  transform: scale(1.35);
}

/* Button Component */
.button {
  background: var(--ink);
  color: #ffffff;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.button span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.button:hover {
  background: var(--olive-light);
  border-color: var(--olive-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(18, 21, 17, 0.15);
}

.button:hover span {
  transform: translate(2px, -2px);
}

.button:active {
  transform: scale(0.98);
}

.button.small {
  font-size: 11px;
  padding: 10px 16px;
}

.button.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #121511;
  box-shadow: 0 2px 10px rgba(197, 165, 102, 0.25);
}

.button.gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(197, 165, 102, 0.4);
}

.text-link {
  font-size: 12px;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid #9d9f93;
  padding: 6px 0;
  background: none;
  color: inherit;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle .menu-bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.25s, opacity 0.25s;
}

/* Mobile Navigation Drawer */
#mobile-nav {
  position: fixed;
  z-index: 65;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background: #151912;
  color: #f5f4ed;
  padding: 30px 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  transform: translateX(0);
  animation: drawerSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #283123;
  padding-bottom: 14px;
}

.mobile-nav-header .eyebrow {
  margin-bottom: 0;
}

#mobile-nav-close {
  font-size: 28px;
  line-height: 1;
  color: #ffffff;
  padding: 0;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-section a {
  padding: 11px 0;
  border-bottom: 1px solid #232b1e;
  font-size: 14px;
  font-weight: 500;
  color: #e5e8de;
}

.mobile-nav-section a:hover {
  color: var(--gold);
}

.mobile-cat-links {
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.mobile-cat-links a {
  font-size: 12px;
  color: #abb3a0;
  padding: 7px 0;
}

.mobile-nav-actions {
  margin-top: auto;
  padding-top: 20px;
}

/* ==========================================================================
   COLLECTION BAR (HORIZONTALLY SCROLLING PILLS)
   ========================================================================== */
.collection-bar {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 12px 4.4%;
  border-bottom: 1px solid var(--line);
  background: #f1efe7;
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  overflow-x: auto;
  scrollbar-width: none;
}

.collection-bar::-webkit-scrollbar {
  display: none;
}

.collection-pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  color: var(--ink);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-pill:hover,
.collection-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #121511;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 165, 102, 0.3);
}

.collection-pill span {
  font-size: 9px;
  color: inherit;
  opacity: 0.8;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 35px 4.4%;
  border-bottom: 1px solid var(--line);
  background: #fbfbf7;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #f0eee3;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.trust-item b {
  display: block;
  font: 24px var(--font-heading);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 3px;
}

.trust-item span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

/* ==========================================================================
   SECTIONS & GRIDS
   ========================================================================== */
.section {
  padding: 80px 4.4%;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  color: #121511 !important;
  font-weight: 700;
}

.section-heading p {
  font-size: 14px;
  max-width: 420px;
  margin-bottom: 0;
}

.gold-period {
  color: var(--gold);
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: #f0eee4;
}

.marquee div {
  font: 44px var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
  color: #8c9480;
}

.marquee:hover div {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Story Section */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  align-items: center;
}

.story-art {
  background: #ebe8de;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10%;
  position: relative;
  text-align: center;
}

.story-art img {
  mix-blend-mode: multiply;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.story-art > span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  display: block;
  text-align: center;
  margin-top: 25px;
  color: var(--muted);
}

.detail-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.detail-num {
  font: 20px var(--font-serif);
  font-style: italic;
  color: var(--gold);
  line-height: 1;
}

.detail-row h3 {
  font-size: 17px;
  margin: 0 0 6px;
}

.detail-row p {
  margin: 0;
  font-size: 13px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION SYSTEM
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.shown {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.20s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.32s; }

/* ==========================================================================
   FOOTER & FLOATING CONTROLS
   ========================================================================== */
.cta {
  padding: 85px 4.4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--dark-surface);
  color: #ffffff;
  border-top: 1px solid var(--line-dark);
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 0;
}

.cta em {
  color: var(--gold-light);
}

.cta .eyebrow {
  color: var(--gold);
}

footer {
  background: var(--dark);
  color: #e2e4d9;
  padding: 70px 4.4% 30px;
  border-top: 1px solid #232b1f;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1.1fr 1.2fr;
  gap: 50px;
}

.footer-brand {
  font: 32px var(--font-heading), var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-brand em {
  font-style: italic;
  color: var(--gold);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1c2218;
  border: 1px solid #333d2c;
  color: #c9b485;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-tagline {
  color: #9da692;
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0 16px;
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #abb2a1;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-contacts a:hover {
  color: var(--gold);
}

.footer-top h3 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-top h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.footer-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-top ul li {
  margin-bottom: 10px;
}

.footer-top ul li a {
  color: #a8b09e;
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-top ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-social-links a {
  background: #1a2016;
  border: 1px solid #2f3827;
  color: #cad0c1;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 11px;
  transition: all 0.2s;
}

.footer-social-links a:hover {
  background: var(--gold);
  color: #121511;
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #252d1f;
  margin-top: 55px;
  padding-top: 25px;
  font-size: 12px;
  color: #838c78;
}

.footer-bottom a {
  color: #9ea794;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Floating Controls */
#back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--dark-surface);
  color: #ffffff;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  transition: transform 0.2s;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--gold);
  color: #121511;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(197, 165, 102, 0.45);
}

#back-to-top:hover svg {
  transform: translateY(-2px);
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 45;
  background: #25d366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.38);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
  background: #20ba59;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  border: 2px solid #25d366;
  animation: waPulse 2.2s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(1.35, 1.45); opacity: 0; }
}

/* ==========================================================================
   SEARCH DIALOG & TOAST
   ========================================================================== */
dialog {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  width: min(780px, 92vw);
  max-height: 85vh;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

dialog::backdrop {
  background: rgba(14, 18, 12, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: start;
  margin-bottom: 18px;
}

.dialog-top h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 4px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.search-icon-inside {
  position: absolute;
  left: 16px;
  font-size: 20px;
  color: var(--muted);
  pointer-events: none;
}

#search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 16px 18px 16px 46px;
  font-size: 15px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

#search-input:focus {
  border-color: var(--gold);
  outline: none;
}

.search-hints {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0 20px;
  font-size: 11px;
  color: var(--muted);
}

.search-tag {
  background: #edece2;
  border: 1px solid #d5d8cb;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.search-tag:hover {
  background: var(--gold);
  color: #121511;
  border-color: var(--gold);
}

#search-results {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 6px;
}

#search-results a {
  display: block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-xs);
  transition: background 0.2s, padding-left 0.2s;
}

#search-results a:hover {
  background: #edece2;
  padding-left: 18px;
}

#search-results small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

#toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--dark-surface);
  color: #ffffff;
  border: 1px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  z-index: 95;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  white-space: nowrap;
}

#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.toast-checkout-link {
  color: var(--gold) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  margin-left: 8px;
}

/* ==========================================================================
   IMAGE LIGHTBOX ZOOM MODAL
   ========================================================================== */
.page-intro {
  padding: 65px 4.4% 50px;
  border-bottom: 1px solid var(--line);
  background: #fdfdf9;
}

.page-intro h1 {
  font-size: clamp(38px, 4.8vw, 72px);
  max-width: 950px;
}

.page-intro p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 15px;
}

.breadcrumb {
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb:hover {
  color: var(--gold-dark);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.process article {
  border-top: 2px solid var(--gold);
  padding-top: 22px;
}

.process article > span {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.process h3 {
  font-size: 19px;
  margin: 18px 0 10px;
}

.process p {
  font-size: 13px;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

input, select, textarea {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 13px 16px;
  margin-top: 6px;
  margin-bottom: 18px;
  border-radius: var(--radius-xs);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 102, 0.18);
  outline: none;
}

.faq {
  max-width: 950px;
  margin: auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  transition: background 0.2s;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary span {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq details[open] summary span {
  transform: rotate(45deg);
}

.faq details p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}

.sitemap-links a {
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
}

.sitemap-links a:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 20px;
  top: 20px;
  background: #ffffff;
  padding: 16px 24px;
  z-index: 100;
  border: 2px solid var(--gold);
}

body:has(dialog[open]) {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (min-width: 1600px) {
  .section, .page-intro, .trust-strip, header, footer, .collection-bar {
    padding-left: max(4.4%, calc((100vw - 1560px) / 2));
    padding-right: max(4.4%, calc((100vw - 1560px) / 2));
  }
}

@media (max-width: 1100px) {
  header nav { gap: 16px; }
  .nav-tools { gap: 12px; }
  .search-kbd { display: none; }
  .button.bulk-order-btn { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .process { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 768px) {
  /* Announcement ticker smaller font and tidy wrapping */
  .announcement {
    height: auto !important;
    min-height: 28px !important;
    padding: 5px 12px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.05em !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  #announcement {
    white-space: normal !important;
    text-align: center !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
  }

  /* Header layout: Menu Toggle Left, Brand Centered, Cart Right */
  header {
    height: 80px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
  }
  header nav { display: none !important; }
  .menu-toggle {
    display: flex !important;
    order: 1 !important;
    margin: 0 !important;
    z-index: 2 !important;
  }
  .brand {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 auto !important;
    width: auto !important;
    min-width: 130px !important;
    max-width: 160px !important;
    height: 68px !important;
    overflow: visible !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
  }
  .brand img {
    width: auto !important;
    max-width: 100% !important;
    height: 64px !important;
    object-fit: contain !important;
    position: static !important;
    top: auto !important;
    display: block !important;
    background: transparent !important;
  }
  .nav-tools {
    order: 3 !important;
    margin-left: auto !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
  /* Search button hidden from header on mobile; placed in side drawer */
  .nav-tools .search-btn {
    display: none !important;
  }
  .nav-tools .bulk-order-btn {
    display: none !important;
  }
  .search-text { display: none; }
  .collection-bar { justify-content: flex-start; gap: 10px; padding: 10px 5%; }
  .section { padding: 55px 5%; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
  .trust-strip { grid-template-columns: 1fr; gap: 16px; padding: 25px 5%; }
  .trust-item { border-left: 0; padding-left: 0; }
  .story { grid-template-columns: 1fr; gap: 35px; }
  .story-art { padding: 12%; }
  .process { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; gap: 25px; padding: 50px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 35px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
  .sitemap-links { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .form-grid { grid-template-columns: 1fr; }
  #back-to-top { bottom: 18px; left: 18px; width: 44px; height: 44px; }
  .whatsapp-float { bottom: 18px; right: 18px; padding: 12px; }
  .whatsapp-text { display: none; }
}

@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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* Ensure all headings on dark surfaces are crisp white */
.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  color: #121511 !important;
  font-weight: 700;
}
.section-heading p {
  color: #556050 !important;
}

dialog#lightbox-dialog {
  display: none !important;
}

/* ==========================================================================
   PROFESSIONAL SUPPORTING PAGES & BLOG STYLING
   ========================================================================== */
.pro-hero {
  padding: 85px 6% 65px;
  background: radial-gradient(circle at 75% 20%, rgba(197, 165, 102, 0.12), transparent 55%),
              linear-gradient(180deg, #161b14 0%, #10130e 100%);
  border-bottom: 1px solid rgba(197, 165, 102, 0.22);
  color: #f8f7f2;
  position: relative;
}

.pro-hero .breadcrumb {
  color: #9ba395;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}
.pro-hero .breadcrumb:hover { color: var(--gold); }

.pro-hero .eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.pro-hero h1 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.1;
  color: #ffffff !important;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.pro-hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
}

.pro-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: #c9d2c4;
  max-width: 720px;
  margin: 0 0 28px;
}

.pro-section {
  padding: 70px 6%;
  background: var(--paper);
}

.pro-section-dark {
  padding: 70px 6%;
  background: #141812;
  color: #f8f7f2;
  border-top: 1px solid rgba(197, 165, 102, 0.15);
  border-bottom: 1px solid rgba(197, 165, 102, 0.15);
}

.pro-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.pro-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.pro-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pro-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 165, 102, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.pro-card-dark {
  background: #1b2118;
  border: 1px solid rgba(197, 165, 102, 0.22);
  border-radius: 12px;
  padding: 32px 28px;
  color: #f8f7f2;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pro-card-dark:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.pro-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(197, 165, 102, 0.14);
  border: 1px solid rgba(197, 165, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold);
}

.pro-card h3, .pro-card-dark h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}
.pro-card h3 { color: #121511; }
.pro-card-dark h3 { color: #ffffff !important; }

.pro-card p, .pro-card-dark p {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 16px;
  flex-grow: 1;
}
.pro-card p { color: #5a6454; }
.pro-card-dark p { color: #b6c0b0; }

.pro-meta-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(197, 165, 102, 0.12);
  color: var(--gold);
  border: 1px solid rgba(197, 165, 102, 0.25);
  margin-top: auto;
  align-self: flex-start;
}

/* Step Boxes */
.step-number-badge {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: inline-block;
}

/* Tables in Size Guide / Pricing */
.pro-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 30px;
}
.pro-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.pro-table th {
  background: #191f17;
  color: #ffffff;
  font-weight: 700;
  padding: 14px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(197, 165, 102, 0.3);
}
.pro-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #3b4237;
}
.pro-table tr:last-child td { border-bottom: none; }
.pro-table tr:hover td { background: #faf8f2; }

/* FAQ Accordion */
.faq-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-box summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: #121511;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-box summary::-webkit-details-marker { display: none; }
.faq-box summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.faq-box[open] summary::after {
  content: "−";
}
.faq-box[open] {
  border-color: rgba(197, 165, 102, 0.5);
}
.faq-content {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #555f50;
  border-top: 1px solid rgba(0,0,0,0.04);
  padding-top: 16px;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(197, 165, 102, 0.5);
}
.blog-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #181d15;
}
.blog-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #121511;
  line-height: 1.35;
  margin: 0 0 12px;
}
.blog-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6454;
  margin: 0 0 18px;
  flex-grow: 1;
}
.blog-read-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-hero {
  padding: 80px 8% 50px;
  background: #151913;
  color: #f8f7f2;
}
.article-hero h1 {
  font-size: clamp(34px, 4.5vw, 56px);
  color: #ffffff !important;
  line-height: 1.15;
  margin: 16px 0;
}
.article-body-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
  font-size: 16px;
  line-height: 1.8;
  color: #2b3327;
}
.article-body-wrap h2 {
  font-size: 1.7rem;
  color: #121511;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.article-body-wrap h3 {
  font-size: 1.3rem;
  color: #121511;
  margin: 28px 0 12px;
}
.article-body-wrap p {
  margin-bottom: 22px;
}
.article-body-wrap ul, .article-body-wrap ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-body-wrap li {
  margin-bottom: 10px;
}
.article-highlight-box {
  background: #f5f2e6;
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
  font-size: 15px;
  color: #2b3327;
}
