/* ═══════════════════════════════════════════════════════════════════
   Naturally Elevated Co. — Main Stylesheet
   All styles in one file (zero external dependencies).
   NOTE: This file intentionally exceeds 500 lines per project spec.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── 2. CSS CUSTOM PROPERTIES ────────────────────────────────────── */
:root {
  --bg-primary:        #0C0B09;
  --bg-card:           #141210;
  --bg-card-hover:     #1D1A15;
  --bg-surface:        #1A1714;
  --accent-terracotta: #C4602A;
  --accent-gold:       #D4952A;
  --accent-rust:       #9A3418;
  --accent-sage:       #7A8E64;
  --accent-sand:       #E8D5A8;
  --accent-cream:      #EDE8DC;
  --accent-natural:    #F2EAD6;
  --rasta-red:         #B03020;
  --rasta-yellow:      #DDAA10;
  --rasta-green:       #3A7A3A;
  --text-primary:      #F0EAD8;
  --text-secondary:    #C4B89A;
  --text-muted:        #7A6E58;
  --border-subtle:     #252018;
  --border-warm:       #352C20;

  --font-display: 'Fraunces', Georgia, serif;
  --font-label:   'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --nav-height: 68px;
  --announcement-height: 36px;
  --drawer-width: 420px;
  --section-pad: 5rem 1.5rem;
  --card-radius: 2px;
  --transition:       0.38s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-lift:  0.5s  cubic-bezier(0.34, 1.12, 0.64, 1);
  --transition-slow:  0.62s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── 3. TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; }
h4, h5, h6, .label, .section-label, .nav-link, .btn-primary, .btn-outline {
  font-family: var(--font-label);
}

.section-label {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-terracotta);
  flex-shrink: 0;
}

/* Utility: Fraunces display class */
.font-display {
  font-family: var(--font-display) !important;
  font-weight: 700;
}
/* Utility: Big Shoulders label class */
.label-xl {
  font-family: var(--font-label);
  font-weight: 900;
}
/* Display headline — hero-scale text */
.display-headline {
  font-family: var(--font-display);
  font-weight: 900;
}

/* ─── 4. GRAIN TEXTURE ────────────────────────────────────────────── */
/* Applied to .grain-overlay class — use on hero and about sections */
.grain-overlay { position: relative; }
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  z-index: 2;
}

/* ─── 4b. LOGO CIRCLE FRAME ───────────────────────────────────────── */
/*
 * The real logo has a white background, so every placement wraps it
 * in a circular frame with a white fill and a terracotta/gold ring.
 * Size is set by a modifier class on each usage context.
 */
.logo-circle {
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid var(--accent-terracotta);
  box-shadow: 0 0 0 1px rgba(212, 149, 42, 0.35);   /* subtle gold halo */
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-circle img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center center;
  display: block;
  /* explicit size + centering — the flex container handles the rest */
}

/* Size variants */
.logo-circle--nav    { width: 44px;  height: 44px;  border-width: 2px; }
.logo-circle--hero   { width: 96px;  height: 96px;  border-width: 3px; }
.logo-circle--about  { width: 64px;  height: 64px;  border-width: 2.5px; }
.logo-circle--footer { width: 58px;  height: 58px;  border-width: 2px; }

/* ─── 4c. ANNOUNCEMENT BAR ───────────────────────────────────────── */
/*
 * Animation is JS-driven (transitions.js → initAnnouncementBar).
 * JS clones the track, measures offsetWidth, and scrolls both with
 * requestAnimationFrame. No CSS animation = no browser quirks.
 */
#announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--announcement-height);
  background: var(--bg-card);
  border-bottom: 1px solid rgba(196, 96, 42, 0.3);
  z-index: 102;
  overflow: hidden;
  user-select: none;
}

.announcement-track {
  position: absolute;   /* removed from flow so offsetWidth = content width */
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;

  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(196, 96, 42, 0.78);
  text-transform: uppercase;
  padding: 0 3rem;
}

/* ─── 5. NAVBAR ───────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(12, 11, 9, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo:hover .logo-circle { opacity: 0.85; transition: opacity var(--transition); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  transition: color var(--transition);
}

/* Underline grows from center on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--accent-terracotta);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.12, 0.64, 1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover { color: var(--accent-cream); }

.nav-cart-btn { position: relative; padding: 4px; color: var(--text-primary); }
.nav-cart-btn svg { display: block; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--accent-terracotta);
  color: #fff;
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  background: none;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── 6. MOBILE NAV OVERLAY ───────────────────────────────────────── */
/*
 * Starts below the fixed header stack (announcement bar + navbar)
 * so the header stays interactive — hamburger toggle always reachable.
 * z-index: 99 works fine since it sits below the header (z-index 100+).
 */
.mobile-nav-overlay {
  position: fixed;
  top: calc(var(--announcement-height) + var(--nav-height));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Fade + subtle drop-down from just under the header */
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.34, 1.05, 0.64, 1);
}
.mobile-nav-overlay:not([hidden]) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav-overlay[hidden] {
  display: flex !important; /* keeps element in render tree so transition plays */
  pointer-events: none;
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  /* 44×44 touch target */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-close:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
  width: 100%;
  text-align: center;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-transform: uppercase;
  background: none;
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--accent-terracotta); }

.cart-count-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 0 4px;
  margin-left: 0.5rem;
}

.mobile-nav-social {
  display: flex;
  gap: 2rem;
}
.mobile-social-link {
  font-family: var(--font-label);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-social-link:hover { color: var(--accent-terracotta); }

/* ─── 7. HERO SECTION ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + var(--announcement-height));
  background: var(--bg-primary);
  overflow: hidden;
}

/* Deep indigo-to-black upper sky */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 160% 80% at 50% 0%,
    rgba(28, 20, 50, 0.7) 0%,
    transparent 65%);
  z-index: 0;
  pointer-events: none;
}

/* Warm amber horizon glow (base) */
.hero-glow-warm {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 150% 50% at 50% 108%,
    rgba(196, 96, 42, 0.55) 0%,
    rgba(212, 149, 42, 0.22) 32%,
    transparent 62%
  );
  z-index: 0;
  pointer-events: none;
}

/* Cool violet overlay — pulses to add depth */
.hero-glow-cool {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 140% 50% at 50% 108%,
    rgba(140, 60, 100, 0.28) 0%,
    rgba(100, 50, 140, 0.1) 38%,
    transparent 65%
  );
  z-index: 0;
  pointer-events: none;
  animation: horizonPulse 12s ease-in-out infinite alternate;
}

@keyframes horizonPulse {
  from { opacity: 0.2; }
  to   { opacity: 1; }
}

/* Aurora layer — slow drifting color bloom */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 220% 65% at 20% 30%,
      rgba(122, 142, 100, 0.22) 0%,
      rgba(107, 124, 90, 0.08) 42%,
      transparent 68%),
    radial-gradient(ellipse 200% 55% at 80% 20%,
      rgba(130, 60, 160, 0.18) 0%,
      rgba(180, 80, 120, 0.07) 48%,
      transparent 68%),
    radial-gradient(ellipse 160% 45% at 50% 65%,
      rgba(212, 149, 42, 0.08) 0%,
      transparent 58%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { opacity: 0.5;  transform: translateX(-6%) scale(1); }
  33%  { opacity: 1;    transform: translateX(3%) scale(1.05); }
  66%  { opacity: 0.65; transform: translateX(-2%) scale(0.98); }
  100% { opacity: 1;    transform: translateX(5%) scale(1.07); }
}

/* Thin warm horizon line above cacti */
.hero-horizon {
  position: absolute;
  bottom: 178px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(212, 149, 42, 0.18) 20%,
    rgba(196, 96, 42, 0.35) 50%,
    rgba(212, 149, 42, 0.18) 80%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Star field — box-shadow on a 1px element */
.hero-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    42px 38px 0 1px rgba(255,255,255,0.85),
    128px 22px 0 1px rgba(255,255,255,0.7),
    215px 55px 0 1px rgba(255,255,255,0.9),
    340px 18px 0 1px rgba(255,255,255,0.75),
    412px 72px 0 1px rgba(255,255,255,0.6),
    530px 34px 0 1px rgba(255,255,255,0.8),
    680px 12px 0 1px rgba(255,255,255,0.85),
    760px 58px 0 1px rgba(255,255,255,0.7),
    890px 28px 0 1px rgba(255,255,255,0.65),
    970px 45px 0 1px rgba(255,255,255,0.9),
    1100px 16px 0 1px rgba(255,255,255,0.75),
    1230px 62px 0 1px rgba(255,255,255,0.7),
    1350px 30px 0 1px rgba(255,255,255,0.8),
    1440px 48px 0 1px rgba(255,255,255,0.65),
    80px 110px 0 1px rgba(255,255,255,0.5),
    185px 95px 0 1px rgba(255,255,255,0.6),
    295px 130px 0 1px rgba(255,255,255,0.55),
    480px 88px 0 1px rgba(255,255,255,0.5),
    600px 115px 0 1px rgba(255,255,255,0.6),
    720px 100px 0 1px rgba(255,255,255,0.5),
    850px 78px 0 1px rgba(255,255,255,0.55),
    1040px 120px 0 1px rgba(255,255,255,0.5),
    1180px 92px 0 1px rgba(255,255,255,0.6),
    1320px 140px 0 1px rgba(255,255,255,0.45),
    22px 180px 0 1px rgba(255,255,255,0.35),
    310px 175px 0 1px rgba(255,255,255,0.3),
    650px 165px 0 1px rgba(255,255,255,0.35),
    1000px 170px 0 1px rgba(255,255,255,0.3),
    1380px 185px 0 1px rgba(255,255,255,0.3),
    935px 5px 0 1px rgba(255,255,255,0.8);
}

/* Second star layer — different positions + twinkling */
.hero-stars-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  animation: starTwinkle2 7s ease-in-out infinite alternate;
  box-shadow:
    65px 25px 0 1px rgba(255,255,255,0.75),
    155px 65px 0 1px rgba(255,255,255,0.6),
    270px 42px 0 1px rgba(255,255,255,0.8),
    390px 8px 0 1px rgba(255,255,255,0.65),
    460px 55px 0 1px rgba(255,255,255,0.7),
    575px 20px 0 1px rgba(255,255,255,0.85),
    640px 80px 0 1px rgba(255,255,255,0.6),
    800px 35px 0 1px rgba(255,255,255,0.75),
    920px 68px 0 1px rgba(255,255,255,0.55),
    1050px 22px 0 1px rgba(255,255,255,0.8),
    1150px 50px 0 1px rgba(255,255,255,0.65),
    1260px 15px 0 1px rgba(255,255,255,0.9),
    1400px 72px 0 1px rgba(255,255,255,0.5),
    105px 105px 0 1px rgba(255,255,255,0.45),
    230px 145px 0 1px rgba(255,255,255,0.4),
    500px 125px 0 1px rgba(255,255,255,0.45),
    780px 110px 0 1px rgba(255,255,255,0.4),
    1090px 135px 0 1px rgba(255,255,255,0.45);
}

/* Twinkling animations — offset so layers pulse at different times */
.hero-stars {
  animation: starTwinkle1 9s ease-in-out infinite alternate;
}
@keyframes starTwinkle1 {
  0%   { opacity: 0.75; }
  40%  { opacity: 1; }
  70%  { opacity: 0.6; }
  100% { opacity: 0.9; }
}
@keyframes starTwinkle2 {
  0%   { opacity: 0.9; }
  35%  { opacity: 0.55; }
  65%  { opacity: 1; }
  100% { opacity: 0.7; }
}

/* Saguaro cacti — inline SVG element inside .hero */
.hero-cacti {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
  height: 180px;
  animation: cactiSway 18s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes cactiSway {
  0%   { transform: rotate(0deg) translateX(0); }
  30%  { transform: rotate(0.25deg) translateX(1px); }
  60%  { transform: rotate(-0.2deg) translateX(-1px); }
  100% { transform: rotate(0.15deg) translateX(0.5px); }
}

/* Hero content — desktop: asymmetric split grid */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* Desktop split layout */
.hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
  padding: 0 4rem;
}

.hero-col--text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Eyebrow label above title */
.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

/* Logo with decorative halo rings */
.hero-logo-halo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-halo::before,
.hero-logo-halo::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196, 96, 42, 0.18);
  pointer-events: none;
  animation: haloRing 8s ease-in-out infinite alternate;
}
.hero-logo-halo::before {
  inset: -22px;
}
.hero-logo-halo::after {
  inset: -44px;
  border-color: rgba(212, 149, 42, 0.08);
  animation-delay: 1.5s;
}
@keyframes haloRing {
  from { transform: scale(1); opacity: 0.6; }
  to   { transform: scale(1.04); opacity: 1; }
}

.logo-circle--hero-xl {
  width: 200px;
  height: 200px;
  border-width: 3px;
  box-shadow: 0 0 0 1px rgba(212, 149, 42, 0.2),
              0 0 60px rgba(196, 96, 42, 0.12);
}

/* The old hero-logo (centered layout, kept for fallback) */
.hero-logo {
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.15s;
}

.hero-title-1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  color: var(--accent-sand);
  letter-spacing: -0.025em;
  line-height: 0.95;
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.3s;
}

.hero-title-2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  color: var(--accent-terracotta);
  letter-spacing: -0.025em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards,
             titleGlow 4s ease-in-out 2.2s infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 24px rgba(196, 96, 42, 0.3); }
  50%       { text-shadow: 0 0 56px rgba(196, 96, 42, 0.7), 0 0 110px rgba(212, 149, 42, 0.18); }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.68s;
  max-width: 380px;
  line-height: 1.7;
}

.hero-cta {
  opacity: 0;
  animation: fadeSlideUp 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.84s;
}

/* CTA button */
.btn-hero {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.8rem;
  background: var(--accent-terracotta);
  color: #fff;
  border-radius: 50px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-lift), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  animation: ctaGlow 3s ease-in-out infinite;
}

/* Shimmer sweep on hover */
.btn-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.25) 50%, transparent 80%);
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.btn-hero:hover::after { left: 160%; }

@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(196, 96, 42, 0.4), 0 4px 20px rgba(0,0,0,0.35); }
  50%       { box-shadow: 0 0 48px rgba(196, 96, 42, 0.72), 0 0 90px rgba(196, 96, 42, 0.2), 0 4px 20px rgba(0,0,0,0.35); }
}

.btn-hero:hover, .btn-hero:focus-visible {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 0 64px rgba(196, 96, 42, 0.85), 0 14px 36px rgba(196, 96, 42, 0.38);
  background: #CF6830;
  animation: none;
}

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

/* ─── 8. SECTION CONTAINER ────────────────────────────────────────── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--section-pad);
}

/* ─── 9. FEATURED DROPS STRIP ─────────────────────────────────────── */
.featured-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.featured-strip {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 1rem;
  mask-image: linear-gradient(to right, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
}
.featured-strip::-webkit-scrollbar { display: none; }

.featured-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  transition: transform var(--transition-lift), border-color var(--transition), box-shadow var(--transition-lift);
  position: relative;
}

/* Shimmer sweep */
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.06) 50%, transparent 80%);
  transform: skewX(-12deg);
  transition: left 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
}
.featured-card:hover::before { left: 160%; }

.featured-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent-terracotta);
  box-shadow: 0 28px 60px rgba(196, 96, 42, 0.35), 0 10px 24px rgba(0,0,0,0.5);
}

/* Portrait aspect ratio — editorial feel */
.featured-card-img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

/* Gradient overlay at bottom of image */
.featured-card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(12,11,9,0.65) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.featured-card:hover .featured-card-img { transform: scale(1.07); }

/* Featured badge */
.featured-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-label);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  background: rgba(12, 11, 9, 0.82);
  border: 1px solid rgba(196, 96, 42, 0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 1px;
  z-index: 2;
}

.featured-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.featured-card-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  transition: color var(--transition);
}
.featured-card-title:hover { color: var(--accent-sand); }

.featured-card-price {
  font-family: var(--font-label);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.featured-card-view {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  transition: letter-spacing var(--transition), color var(--transition);
  align-self: flex-start;
  margin-top: 0.1rem;
}
.featured-card-view:hover { letter-spacing: 0.22em; color: #CF6830; }

/* ─── 10. SHOP GRID ───────────────────────────────────────────────── */
.shop-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  border: 1px solid var(--border-warm);
  overflow: hidden;
  transition: transform var(--transition-lift), border-color var(--transition), box-shadow var(--transition-lift), background var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Shimmer sweep */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.05) 50%, transparent 80%);
  transform: skewX(-12deg);
  transition: left 0.78s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
}
.product-card:hover::before { left: 160%; }

.product-card:hover {
  transform: translateY(-14px) scale(1.015);
  border-color: var(--accent-terracotta);
  box-shadow: 0 32px 72px rgba(196, 96, 42, 0.3), 0 12px 28px rgba(0,0,0,0.55);
  background: var(--bg-card-hover);
}

.product-card-img-link { display: block; }

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img { transform: scale(1.07); }

/* Hover overlay with ADD TO CART */
.product-card-hover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(12,11,9,0.78) 0%, transparent 55%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1), transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.btn-card-add {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.62rem 1.4rem;
  background: var(--accent-terracotta);
  color: #fff;
  border-radius: 2px;
  width: 100%;
  transition: background var(--transition), transform var(--transition);
}
.btn-card-add:hover {
  background: #CF6830;
  transform: scale(1.02);
}

/* Accessible add-to-cart button */
.btn-card-add-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}
.btn-card-add-accessible:focus-visible {
  position: static !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  display: block;
  margin: 0.5rem 1rem;
}

.product-card-body {
  padding: 1rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Editorial: product title in Fraunces */
.product-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.35;
  transition: color var(--transition);
}
.product-card-title:hover { color: var(--accent-sand); }

.product-card-meta { display: flex; align-items: center; justify-content: space-between; }

.product-card-price {
  font-family: var(--font-label);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.product-card-colors { display: flex; gap: 5px; align-items: center; }
.mini-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform var(--transition);
}
.mini-swatch:hover { transform: scale(1.25); }

/* Flash confirmation animation */
.product-card.adding {
  animation: cardFlash 1.5s ease;
}
@keyframes cardFlash {
  0%   { box-shadow: 0 0 0 0 rgba(196,96,42,0); }
  25%  { box-shadow: 0 0 0 5px rgba(196,96,42,0.65); }
  100% { box-shadow: 0 0 0 0 rgba(196,96,42,0); }
}

/* ─── 11. PRODUCT DETAIL ──────────────────────────────────────────── */
.product-detail {
  padding-top: calc(var(--nav-height) + var(--announcement-height) + 2rem);
  padding-bottom: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.back-link {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover { color: var(--accent-terracotta); }

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Gallery */
.product-gallery { position: sticky; top: calc(var(--nav-height) + var(--announcement-height) + 1.5rem); }

.product-main-img-wrap {
  aspect-ratio: 1/1;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-card);
  margin-bottom: 1rem;
}

.product-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-main-img-wrap:hover .product-main-img { transform: scale(1.08); }

.product-thumbnails {
  display: flex;
  gap: 0.6rem;
}

.product-thumb-wrap {
  width: 72px;
  height: 72px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb-wrap:hover,
.product-thumb-wrap.active { border-color: var(--accent-terracotta); }

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product info */
.product-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.product-price {
  font-family: var(--font-label);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
  line-height: 1;
  border-bottom: 1px solid var(--border-warm);
  padding-bottom: 1.2rem;
  display: block;
}

/* Pull-quote story beneath price */
.product-story {
  border-left: 2px solid var(--accent-terracotta);
  padding: 0.6rem 1.1rem;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.product-option { margin-bottom: 1.5rem; }

.option-label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.option-label span { color: var(--text-primary); }

.option-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.size-guide-link {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.size-guide-link:hover { color: var(--accent-terracotta); }

/* Color swatches */
.color-swatches { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.swatch-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 4px;
  cursor: pointer;
  transition: outline-color var(--transition), transform var(--transition);
  position: relative;
}
.swatch-btn:hover { transform: scale(1.15); }
.swatch-btn:hover,
.swatch-btn[aria-checked="true"] {
  outline-color: var(--accent-terracotta);
}

/* Size pills */
.size-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.size-btn {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  border: 1px solid var(--border-warm);
  color: var(--text-muted);
  background: transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  min-width: 48px;
  text-align: center;
}
.size-btn:hover {
  border-color: var(--accent-terracotta);
  color: var(--text-primary);
  transform: scale(1.04);
}
.size-btn[aria-checked="true"] {
  background: var(--accent-terracotta);
  color: #fff;
  border-color: var(--accent-terracotta);
  transform: scale(1.04);
}

/* Add to cart button */
.btn-primary {
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: var(--accent-terracotta);
  color: #fff;
  border-radius: 2px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transition: left 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.btn-primary:hover::after { left: 160%; }
.btn-primary:hover, .btn-primary:focus-visible {
  background: #CF6830;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 14px 40px rgba(196,96,42,0.48), 0 5px 14px rgba(0,0,0,0.35);
}
.btn-primary.success-state { background: var(--rasta-green); }
.btn-full { width: 100%; }

/* Accordion */
.accordion { margin-top: 1.5rem; border-top: 1px solid var(--border-subtle); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
  transition: color var(--transition);
}
.accordion-trigger:hover,
.accordion-trigger[aria-expanded="true"] { color: var(--text-primary); }
.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }
.accordion-icon { font-size: 1.1rem; transition: transform var(--transition); }

.accordion-panel {
  padding: 0.5rem 0 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-subtle);
}
.accordion-panel .care-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.accordion-panel .care-icon { font-size: 1rem; }

/* ─── 12. CART DRAWER ─────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--drawer-width);
  max-width: 100vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-warm);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--border-warm);
  flex-shrink: 0;
  background: var(--bg-card);
}

.cart-drawer-title {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.cart-close-btn {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
}
.cart-close-btn:hover { color: var(--text-primary); background: var(--border-subtle); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-warm) transparent;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  flex: 1;
  padding: 3rem 1rem;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 3rem; display: block; }
.cart-empty p { font-size: 0.9rem; line-height: 1.6; }

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: var(--card-radius);
  flex-shrink: 0;
  border: 1px solid var(--border-warm);
}

.cart-item-info { min-width: 0; }

.cart-item-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.cart-item-variant {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.qty-btn:hover { background: var(--border-subtle); color: var(--text-primary); }

.qty-value {
  min-width: 28px;
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  padding: 0 4px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-price {
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.cart-item-remove {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 4px;
  margin-top: 2px;
  border-radius: 2px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--rasta-red); }

.cart-drawer-footer {
  padding: 1.4rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border-warm);
  flex-shrink: 0;
  background: var(--bg-card);
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}
.cart-subtotal-label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.cart-subtotal-price {
  font-family: var(--font-label);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent-gold);
  letter-spacing: 0.02em;
}

.cart-shipping-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checkout-error {
  font-size: 0.8rem;
  color: var(--rasta-red);
  background: rgba(176, 48, 32, 0.12);
  border: 1px solid rgba(176, 48, 32, 0.3);
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

/* Prevent body scroll when drawer open */
body.drawer-open { overflow: hidden; }

/* ─── 13. SUCCESS PAGE ────────────────────────────────────────────── */
.success-page {
  min-height: calc(100vh - var(--nav-height) - var(--announcement-height));
  padding-top: calc(var(--nav-height) + var(--announcement-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--announcement-height) + 3rem) 1.5rem 3rem;
  background: var(--bg-primary);
}

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  margin: 0 auto 1.5rem;
}

.success-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.success-body {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 2px solid var(--accent-terracotta);
  color: var(--accent-terracotta);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--accent-terracotta);
  color: #fff;
}

/* ─── 14. ABOUT SECTION ───────────────────────────────────────────── */
.about-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.about-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.about-logo {
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.about-heading {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Large italic pull-quote */
.about-pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  color: var(--text-primary);
  line-height: 1.12;
  margin: 1.25rem 0 1.75rem;
  letter-spacing: -0.01em;
}

.about-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
}
.about-text + .about-text {
  margin-top: 0.85rem;
}

/* Brand pillars row */
.about-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.about-pillar {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.about-pillar-sep {
  color: var(--accent-terracotta);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Zia rule divider */
.zia-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}
.zia-rule-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}
.zia-rule-symbol {
  font-size: 1.1rem;
  color: var(--accent-terracotta);
  flex-shrink: 0;
}

/* ─── 15. FOOTER ──────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

/* Top strip with brand motto */
.footer-top-strip {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.1rem 1.5rem;
  text-align: center;
}
.footer-top-motto {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-top-motto span { color: var(--accent-terracotta); }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-col--brand { /* children handle layout */ }

.footer-logo .logo-circle { opacity: 0.85; transition: opacity var(--transition); }
.footer-logo:hover .logo-circle { opacity: 1; }

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin: 1rem 0 1.4rem;
  letter-spacing: 0;
  opacity: 0.75;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer-social-link:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
  background: rgba(196, 96, 42, 0.08);
}

.footer-col-heading {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--accent-terracotta);
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--accent-cream); }

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.footer-legal p {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.55;
}

/* Footer responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem 2rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── 16. LOADING STATE ───────────────────────────────────────────── */
.loading-state {
  min-height: calc(100vh - var(--nav-height) - var(--announcement-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding-top: calc(var(--nav-height) + var(--announcement-height));
  color: var(--text-muted);
  font-family: var(--font-label);
  letter-spacing: 0.18em;
  font-size: 0.65rem;
  text-transform: uppercase;
}

/* Animated dot trio */
.loading-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}
.loading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  animation: loadingPulse 1.4s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.22s; background: var(--accent-gold); }
.loading-dot:nth-child(3) { animation-delay: 0.44s; }
@keyframes loadingPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* ─── 17. UTILITIES & ACCESSIBILITY ───────────────────────────────── */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Global focus-visible styles */
:focus-visible {
  outline: 2px solid var(--accent-terracotta);
  outline-offset: 3px;
}

/* Remove default outline but keep focus-visible */
:focus:not(:focus-visible) { outline: none; }

/* Smooth transitions for interactive states */
a, button { transition: color var(--transition), background var(--transition), opacity var(--transition); }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-logo, .hero-title-1, .hero-title-2, .hero-subtitle, .hero-cta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── 18. RESPONSIVE BREAKPOINTS ──────────────────────────────────── */

/* Tablet — 1024px */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Mid — 768px */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  /* Hamburger appears */
  .hamburger { display: flex; }
  .nav-links { display: none; }

  /* Product detail stacks */
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-gallery { position: static; }

  /* Featured cards narrower */
  .featured-card { flex: 0 0 220px; }

  /* Shop sidebar collapses to horizontal filter row */
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .shop-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0 1.25rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
  }
  .sidebar-section {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .sidebar-heading { margin-bottom: 0.35rem; font-size: 0.62rem; }
  .sort-option {
    border: 1px solid var(--border-subtle);
    border-left-width: 2px;
    border-radius: 100px;
    padding: 0.2rem 0.65rem;
    font-size: 0.68rem;
  }
  .sort-option.is-active {
    border-color: var(--accent-terracotta);
    background: rgba(196, 96, 42, 0.1);
    color: var(--accent-terracotta);
  }
  .sidebar-clear-btn { width: auto; }
}

/* Mobile — 480px */
@media (max-width: 480px) {
  :root {
    --section-pad: 2.5rem 1rem;
    --drawer-width: 100vw;
  }

  .product-grid { grid-template-columns: 1fr; }

  .hero-title-1, .hero-title-2 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .featured-card { flex: 0 0 200px; }
}

/* iPhone — 390px */
@media (max-width: 390px) {
  .hero-logo { width: 70px; height: 70px; }

  .hero-title-1, .hero-title-2 {
    font-size: 2.4rem;
  }

  .btn-hero {
    width: 100%;
    text-align: center;
  }

  .product-detail { padding-left: 1rem; padding-right: 1rem; }

  .footer-links { gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   TASK 5 ADDITIONS — Transitions · Animations · SEO · Nav Enhancements
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Page Transition Animations ─── */
@keyframes pageExit {
  from { opacity: 1; transform: translateY(0) scale(1);   filter: blur(0); }
  to   { opacity: 0; transform: translateY(-16px) scale(0.99); filter: blur(4px); }
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(24px) scale(0.99); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0) scale(1);   filter: blur(0); }
}
#app.page-exit  { animation: pageExit  0.3s  cubic-bezier(0.4, 0, 1, 1)            forwards; }
#app.page-enter { animation: pageEnter 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94)  forwards; }

/* ─── Skeleton Loader ─── */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--card-radius);
}
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
}
.skeleton-img  { aspect-ratio: 1/1; width: 100%; }
.skeleton-text { height: 14px; margin: 10px 12px 6px; border-radius: 3px; }
.skeleton-text.short { width: 40%; }

/* ─── Scroll-Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger reveal for grid children */
.product-grid .product-card:nth-child(2)  { transition-delay: 0.08s; }
.product-grid .product-card:nth-child(3)  { transition-delay: 0.16s; }
.product-grid .product-card:nth-child(4)  { transition-delay: 0.08s; }
.product-grid .product-card:nth-child(5)  { transition-delay: 0.16s; }
.product-grid .product-card:nth-child(6)  { transition-delay: 0.24s; }
.product-grid .product-card:nth-child(7)  { transition-delay: 0.08s; }
.product-grid .product-card:nth-child(8)  { transition-delay: 0.16s; }
.product-grid .product-card:nth-child(9)  { transition-delay: 0.24s; }
.product-grid .product-card:nth-child(10) { transition-delay: 0.08s; }
.product-grid .product-card:nth-child(11) { transition-delay: 0.16s; }

/* ─── Nav Scroll-Shrink ─── */
#navbar,
#navbar .logo-circle--nav {
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1), width 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
#navbar.scrolled {
  height: 54px;
  border-bottom-color: rgba(42, 40, 32, 0.9);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
#navbar.scrolled .logo-circle--nav {
  width: 36px;
  height: 36px;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--accent-terracotta); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: var(--text-primary); }

/* ─── Button Loading Spinner ─── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.btn-primary.is-loading,
.btn-hero.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-primary.is-loading::after,
.btn-hero.is-loading::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

/* ─── Button Ripple ─── */
.btn-primary,
.btn-hero,
.btn-outline {
  overflow: hidden;
  position: relative;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: ripple 0.7s ease-out forwards;
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--font-label);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  box-shadow: 0 4px 16px rgba(196, 96, 42, 0.5);
}

/* ─── Reduced-motion overrides for new animations ─── */
@media (prefers-reduced-motion: reduce) {
  #app.page-exit, #app.page-enter { animation: none; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .skeleton { animation: none; }
  .btn-ripple { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   NAV DROPDOWN + SHOP CATALOG PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Nav Dropdown ─── */
.nav-item--has-dropdown { position: relative; }

.nav-caret {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform var(--transition);
}
.nav-item--has-dropdown:hover .nav-caret,
.nav-item--has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;          /* flush against nav item — no gap to fall through */
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
  transform-origin: top center;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--accent-terracotta);
  box-shadow: 0 8px 28px rgba(0,0,0,0.55);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1), transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.38s;
  z-index: 50;
  padding: 10px 0 0.35rem; /* top padding replaces the old 8px positional gap */
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 1.2rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-dropdown-link:hover {
  color: var(--accent-terracotta);
  background: rgba(196, 96, 42, 0.07);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.25rem 0.8rem;
}

/* ─── Shop Catalog Page ─── */
.shop-page {
  padding-top: calc(var(--nav-height) + var(--announcement-height) + 2rem);
  min-height: 100vh;
  background: var(--bg-primary);
}

.shop-page-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 1.25rem;
}

.shop-page-title {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.shop-controls-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.shop-search-wrap {
  flex: 1;
  min-width: 180px;
  position: relative;
}

.shop-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.shop-search-input {
  width: 100%;
  padding: 0.62rem 1rem 0.62rem 2.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  appearance: none;
}
.shop-search-input:focus { outline: none; border-color: var(--accent-terracotta); }
.shop-search-input::placeholder { color: var(--text-muted); }
.shop-search-input::-webkit-search-cancel-button { display: none; }

.shop-results-count {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Filter chips */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 1.5rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  background: rgba(196, 96, 42, 0.12);
  border: 1px solid rgba(196, 96, 42, 0.4);
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.filter-chip:hover { background: rgba(196, 96, 42, 0.22); }
.filter-chip-remove { font-size: 0.85rem; opacity: 0.65; }

/* Shop layout: sticky sidebar + main grid */
.shop-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar */
.shop-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + var(--announcement-height) + 1.5rem);
}

.sidebar-section {
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}
.sidebar-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.sidebar-heading {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

/* Sort options */
.sort-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.33rem 0 0.33rem 0.65rem;
  border-left: 2px solid transparent;
  font-family: var(--font-label);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: color var(--transition), border-color var(--transition);
}
.sort-option:hover { color: var(--text-primary); }
.sort-option.is-active {
  color: var(--accent-terracotta);
  border-left-color: var(--accent-terracotta);
}

/* Size pills */
.filter-size-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.sidebar-size-btn {
  padding: 0.28rem 0.55rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.sidebar-size-btn:hover { color: var(--text-primary); border-color: var(--text-muted); }
.sidebar-size-btn.is-active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #fff;
}

/* Color swatches */
.filter-color-swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sidebar-color-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  outline: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sidebar-color-btn:hover { transform: scale(1.18); }
.sidebar-color-btn.is-active {
  box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent-terracotta);
}

/* Clear filters button */
.sidebar-clear-btn {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.25rem;
  transition: color var(--transition);
}
.sidebar-clear-btn:hover { color: var(--accent-terracotta); }

/* No results state */
.shop-no-results {
  grid-column: 1 / -1;
  padding: 5rem 1rem;
  text-align: center;
  color: var(--text-muted);
}
.shop-no-results span { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.shop-no-results p { font-family: var(--font-label); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.shop-no-results small { font-size: 0.78rem; opacity: 0.7; }

/* Nav dropdown hidden on mobile (mobile nav handles it) */
@media (max-width: 768px) {
  .nav-dropdown { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   NAV ADDITIONS — INFO trigger · Mobile stagger · Active glow
   ═══════════════════════════════════════════════════════════════════ */

/* INFO dropdown trigger — button element inheriting .nav-link styles */
.nav-info-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-transform: uppercase;
  background: none;
  cursor: pointer;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-info-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-terracotta);
  transition: width var(--transition);
}
.nav-info-trigger:hover::after,
.nav-item--has-dropdown:hover .nav-info-trigger::after { width: 100%; }
.nav-info-trigger:hover { color: var(--accent-cream); }

/* Mobile sub-links — slightly smaller, dimmed */
.mobile-nav-link--sub {
  font-size: 1.35rem;
  opacity: 0.55;
  letter-spacing: 0.06em;
}
.mobile-nav-link--sub:hover { opacity: 1; color: var(--accent-terracotta); }

/* Mobile nav staggered entrance — items fade up from below */
@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-overlay:not([hidden]) .mobile-nav-links li:nth-child(1) { animation: mobileNavSlide 0.5s cubic-bezier(0.34, 1.05, 0.64, 1) 0.10s both; }
.mobile-nav-overlay:not([hidden]) .mobile-nav-links li:nth-child(2) { animation: mobileNavSlide 0.5s cubic-bezier(0.34, 1.05, 0.64, 1) 0.18s both; }
.mobile-nav-overlay:not([hidden]) .mobile-nav-links li:nth-child(3) { animation: mobileNavSlide 0.5s cubic-bezier(0.34, 1.05, 0.64, 1) 0.26s both; }
.mobile-nav-overlay:not([hidden]) .mobile-nav-links li:nth-child(4) { animation: mobileNavSlide 0.5s cubic-bezier(0.34, 1.05, 0.64, 1) 0.34s both; }
.mobile-nav-overlay:not([hidden]) .mobile-nav-links li:nth-child(5) { animation: mobileNavSlide 0.5s cubic-bezier(0.34, 1.05, 0.64, 1) 0.42s both; }

/* Active nav link — glow on underline */
.nav-link.active { color: var(--accent-cream); }
.nav-link.active::after {
  background: var(--accent-terracotta);
  box-shadow: 0 0 8px rgba(196, 96, 42, 0.45);
}

/* ─── Button pressed state ─── */
.btn-primary:active, .btn-hero:active {
  transform: scale(0.97) !important;
  box-shadow: none !important;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* ─── Reduced-motion: disable mobile nav stagger ─── */
@media (prefers-reduced-motion: reduce) {
  .mobile-nav-overlay:not([hidden]) .mobile-nav-links li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   LEGAL & INFORMATIONAL PAGES — FAQ · Privacy · Terms
   ═══════════════════════════════════════════════════════════════════ */

.policy-page {
  min-height: calc(100vh - var(--nav-height) - var(--announcement-height));
  padding-top: calc(var(--nav-height) + var(--announcement-height));
  background: var(--bg-primary);
}

.policy-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.policy-header { margin-bottom: 0.5rem; }

.policy-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.1;
}

.policy-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-meta {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  opacity: 0.65;
}

.policy-link {
  color: var(--accent-terracotta);
  transition: opacity var(--transition);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(196, 96, 42, 0.4);
}
.policy-link:hover { opacity: 0.75; }

.policy-body p + p { margin-top: 0.75rem; }

.policy-section-heading {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin: 2.5rem 0 0.75rem;
}

.policy-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.policy-body strong { color: var(--text-primary); font-weight: 500; }

/* FAQ specific */
.faq-section { margin-bottom: 2.5rem; }

.faq-section-heading {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* accordion-panel hidden toggle — JS sets/removes `hidden` attribute */
.accordion-panel[hidden] { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   NEW: SCROLL PROGRESS BAR
   ═══════════════════════════════════════════════════════════════════ */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-terracotta), var(--accent-gold), var(--accent-terracotta));
  background-size: 200% 100%;
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 300;
  pointer-events: none;
  animation: progressShimmer 3s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: CUSTOM CURSOR DOT
   ═══════════════════════════════════════════════════════════════════ */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent-terracotta);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.2s ease,
              opacity 0.3s ease;
  opacity: 0;
  will-change: left, top;
}
.cursor-dot.is-active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.cursor-dot.is-clicking {
  transform: translate(-50%, -50%) scale(2);
  background: var(--accent-gold);
}
/* Hide on touch devices */
@media (hover: none) {
  .cursor-dot { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: HERO MARQUEE TICKER
   ═══════════════════════════════════════════════════════════════════ */

.hero-marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: rgba(12, 11, 9, 0.72);
  border-top: 1px solid rgba(196, 96, 42, 0.22);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: 5;
}

.hero-marquee-track {
  display: flex;
  animation: marqueeScroll 38s linear infinite;
  will-change: transform;
  flex-shrink: 0;
}

.hero-marquee-text {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(196, 96, 42, 0.65);
  text-transform: uppercase;
  padding-right: 5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: HERO SPLIT LAYOUT RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* Below 1024px — collapse split, hide visual col, keep LEFT aligned */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    padding: 0 2.5rem;
    text-align: left;
    max-width: 760px;
    margin: 0;
  }
  .hero-col--text {
    align-items: flex-start;
  }
  .hero-col--visual {
    display: none;
  }
  .hero-subtitle {
    max-width: 480px;
  }
  /* push content above the 44px marquee strip */
  .hero-content {
    padding-bottom: 64px;
  }
}

@media (max-width: 768px) {
  .hero-split {
    padding: 0 1.5rem;
  }
  .hero-subtitle {
    max-width: 360px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: NAV FONT UPGRADES
   ═══════════════════════════════════════════════════════════════════ */

.nav-link {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav-info-trigger {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: SHOP PAGE HEADER ENHANCEMENT
   ═══════════════════════════════════════════════════════════════════ */

/* Override the shop page title to be more editorial */
.shop-page-title {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.shop-page-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent-terracotta);
  flex-shrink: 0;
}

/* Search input refinement */
.shop-search-input {
  border-color: var(--border-warm);
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 300;
}

/* Sidebar heading upgrade */
.sidebar-heading {
  font-family: var(--font-label);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

/* Sort option upgrade */
.sort-option {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: SUCCESS PAGE ENHANCEMENT
   ═══════════════════════════════════════════════════════════════════ */

.success-page {
  background: var(--bg-primary);
}

.success-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
}

.success-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: NAV SCROLLED REFINEMENT
   ═══════════════════════════════════════════════════════════════════ */

#navbar.scrolled {
  background: rgba(12, 11, 9, 0.97);
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: FEATURED CARD BADGE RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .featured-card { flex: 0 0 240px; }
}
@media (max-width: 480px) {
  .featured-card { flex: 0 0 210px; }
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: PRODUCT GRID RESPONSIVE (override section 18)
   ═══════════════════════════════════════════════════════════════════ */

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

/* ═══════════════════════════════════════════════════════════════════
   NEW: GRAIN OVERLAY STRENGTH INCREASE
   ═══════════════════════════════════════════════════════════════════ */

.grain-overlay::after {
  opacity: 0.065; /* slightly stronger atmosphere */
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: MOBILE NAV UPGRADE
   ═══════════════════════════════════════════════════════════════════ */

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.mobile-nav-link--sub {
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: FOOTER TOP STRIP IN HTML (added via index.html)
   ═══════════════════════════════════════════════════════════════════ */

/* Cart empty state upgrade */
.cart-empty-icon { font-size: 2.5rem; }
.cart-empty p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Btn outline upgrade */
.btn-outline {
  font-family: var(--font-label);
  font-weight: 800;
  letter-spacing: 0.14em;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: POLICY PAGE FONT UPGRADES
   ═══════════════════════════════════════════════════════════════════ */

.policy-body p {
  font-family: var(--font-body);
  font-weight: 300;
}

.policy-title {
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW: REDUCED-MOTION ADDITIONS
   ═══════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hero-logo-halo::before,
  .hero-logo-halo::after { animation: none; }
  .hero-marquee-track { animation: none; }
  .cursor-dot { display: none !important; }
  .hero-aurora,
  .hero-glow-cool { animation: none !important; }
  .hero-eyebrow,
  .hero-title-1, .hero-title-2, .hero-subtitle, .hero-cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION PASS
   Full pass: iOS safe areas · touch targets · spacing · proportions
   ═══════════════════════════════════════════════════════════════════ */

/* ─── iOS safe viewport height (accounts for browser chrome) ─── */
.hero {
  min-height: 100svh;
}
@supports not (min-height: 100svh) {
  .hero { min-height: 100vh; }
}

/* ─── Loading state: full viewport on iOS ─── */
.loading-state {
  min-height: 100svh;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}
@supports not (min-height: 100svh) {
  .loading-state { min-height: 100vh; }
}

/* ─── Featured strip: remove fade mask + scroll breathing room ─── */
@media (max-width: 768px) {
  .featured-strip {
    mask-image: none;
    -webkit-mask-image: none;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    gap: 1rem;
  }
  /* scroll trail spacer */
  .featured-strip::after {
    content: '';
    display: block;
    flex: 0 0 0.25rem;
    pointer-events: none;
  }
}

/* ─── About section: tighter padding on mobile ─── */
@media (max-width: 768px) {
  .about-inner {
    padding: 4rem 1.5rem 3.5rem;
  }
  .about-pullquote {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
    margin: 0.85rem 0 1.4rem;
  }
  .about-pillars {
    gap: 0.85rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* ─── Cart drawer: full-width at 600px (earlier than 480px default) ─── */
@media (max-width: 600px) {
  :root { --drawer-width: 100vw; }
  .cart-drawer-header,
  .cart-items,
  .cart-drawer-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ─── Qty stepper: 44px touch targets on mobile ─── */
@media (max-width: 768px) {
  .qty-btn {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .qty-value {
    height: 38px;
    min-width: 34px;
  }
  .cart-item {
    grid-template-columns: 68px 1fr auto;
    gap: 0.85rem;
  }
  .cart-item-img {
    width: 68px;
    height: 68px;
  }
}

/* ─── Back-to-top: safe area + larger tap target on mobile ─── */
@media (max-width: 768px) {
  .back-to-top {
    bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 0.75rem));
    right: 1.25rem;
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
}

/* ─── Shop grid: explicit 2-col on tablet range ─── */
@media (max-width: 768px) and (min-width: 481px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* ─── Product detail: tighter top padding + larger touch areas ─── */
@media (max-width: 768px) {
  .product-detail {
    padding-top: calc(var(--nav-height) + var(--announcement-height) + 1.25rem);
    padding-bottom: 4rem;
  }
  .product-name {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }
  .product-price {
    font-size: 1.7rem;
  }
  .swatch-btn {
    width: 42px;
    height: 42px;
  }
  .accordion-trigger {
    padding: 1.1rem 0;
    min-height: 48px;
  }
  .product-thumb-wrap {
    width: 64px;
    height: 64px;
  }
  .size-btn {
    padding: 0.65rem 1rem;
    min-height: 44px;
  }
}

/* ─── Mobile nav: prevent overflow on very small screens ─── */
@media (max-width: 360px) {
  .mobile-nav-links { gap: 1.5rem; }
  .mobile-nav-link { font-size: 1.75rem; }
}

/* ─── Hero: micro-screen (360px) polish ─── */
@media (max-width: 360px) {
  .hero-split { padding: 0 1rem; }
  .hero-title-1,
  .hero-title-2 {
    font-size: clamp(2.1rem, 12vw, 2.8rem);
    letter-spacing: -0.02em;
  }
  .hero-eyebrow { font-size: 0.6rem; }
  .hero-subtitle { font-size: 0.88rem; }
  .btn-hero {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
  }
}

/* ─── Footer: comfortable touch targets ─── */
@media (max-width: 768px) {
  .footer-inner { padding: 3rem 1.5rem 2.5rem; }
  .footer-col-links { gap: 1rem; }
  .footer-link {
    font-size: 0.92rem;
    display: inline-block;
    padding: 0.12rem 0;
  }
  .footer-social-link {
    width: 44px;
    height: 44px;
  }
}

/* ─── Policy pages: breathing room on mobile ─── */
@media (max-width: 768px) {
  .policy-inner { padding: 2.5rem 1.25rem 4rem; }
  .policy-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ─── Success page: safe area padding ─── */
@media (max-width: 768px) {
  .success-page {
    padding-bottom: max(3rem, calc(env(safe-area-inset-bottom) + 2rem));
  }
}

/* ─── iOS scroll lock — applied by JS when mobile nav is open ─── */
/*
 * position: fixed + saved scrollY prevents iOS Safari from scrolling
 * the body beneath the overlay. JS saves/restores scroll position.
 */
body.mobile-nav-is-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  /* top is set inline by JS: body.style.top = `-${scrollY}px` */
}

/* ─── Mobile nav safe area bottom padding (iPhone home indicator) ─── */
.mobile-nav-overlay {
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

/* ─── Mobile nav links: prevent tap highlight on touch ─── */
.mobile-nav-link,
.mobile-social-link {
  -webkit-tap-highlight-color: transparent;
}

/* ─── Mobile nav: tighter gap on short screens (landscape phone) ─── */
@media (max-height: 600px) and (max-width: 768px) {
  .mobile-nav-links { gap: 1.2rem; }
  .mobile-nav-link  { font-size: 1.6rem; }
  .mobile-nav-link--sub { font-size: 0.85rem; }
  .mobile-nav-social { margin-top: 1.5rem; }
}

/* ─── Announcement bar: slightly smaller on narrow screens ─── */
@media (max-width: 380px) {
  :root { --announcement-height: 30px; }
  .announcement-track { font-size: 0.55rem; }
}
