/* =================================================================
   BREWLY — Specialty Coffee Brand Landing Page
   style.css — Handcrafted Editorial & Modern Web Experience
   ================================================================= */

/* -----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Theme Variables)
   ----------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --espresso:     #241710;
  --cream:        #F5EFE6;
  --brown:        #80563C;
  --caramel:      #C58B55;
  --beige:        #E5D5C2;
  --warm-white:   #FDFAF6;
  --dark-muted:   #342217;
  --text-body:    #5E4535;

  /* Typography */
  --font-serif:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-pad:  clamp(80px, 9vw, 130px);
  --container:    1280px;
  --gutter:       clamp(20px, 4.5vw, 60px);

  /* Transitions & Easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast:     200ms;
  --dur-med:      380ms;
  --dur-slow:     650ms;
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--espresso);
  background-color: var(--warm-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------------
   3. TYPOGRAPHY & SHARED UTILITIES
   ----------------------------------------------------------------- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 18px;
}

.section-eyebrow.light {
  color: var(--beige);
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--espresso);
  letter-spacing: -0.015em;
}

.section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--brown);
}

.section-heading.light {
  color: var(--cream);
}

.section-heading.light em {
  color: var(--beige);
}

.section-subtext {
  font-size: 1.02rem;
  color: var(--brown);
  margin-top: 16px;
  line-height: 1.7;
}

/* -----------------------------------------------------------------
   4. BUTTONS & LINK STYLES
   ----------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background-color: var(--caramel);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.btn-primary:hover {
  background-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(36, 23, 16, 0.15);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  border: 1px solid rgba(245, 239, 230, 0.45);
  color: var(--cream);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color var(--dur-fast),
              background-color var(--dur-fast),
              color var(--dur-fast);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background-color: rgba(245, 239, 230, 0.12);
  color: var(--warm-white);
}

.link-underline {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  border-bottom: 1px solid var(--caramel);
  padding-bottom: 4px;
  margin-top: 28px;
  transition: color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}

.link-underline:hover {
  color: var(--caramel);
  border-color: var(--brown);
  transform: translateX(4px);
}

/* -----------------------------------------------------------------
   5. CUSTOM CURSOR (Desktop Only)
   ----------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  will-change: left, top;
  transition: opacity 0.3s ease, width 0.25s var(--ease-out), height 0.25s var(--ease-out);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background-color: var(--caramel);
  transition: opacity 0.3s ease, transform 0.1s;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(197, 139, 85, 0.65);
}

.cursor-ring.expanded {
  width: 58px;
  height: 58px;
  border-color: rgba(197, 139, 85, 0.35);
  background-color: rgba(197, 139, 85, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  body.cursor-ready {
    cursor: none;
  }
  body.cursor-ready a,
  body.cursor-ready button,
  body.cursor-ready input,
  body.cursor-ready .product-card {
    cursor: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* -----------------------------------------------------------------
   6. NAVIGATION HEADER & SCROLL PROGRESS
   ----------------------------------------------------------------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 26px var(--gutter);
  transition: background-color var(--dur-med) var(--ease-out),
              padding var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              backdrop-filter var(--dur-med) var(--ease-out);
}

.nav-header.scrolled {
  background-color: rgba(36, 23, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 15px var(--gutter);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cream);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.75);
  position: relative;
  padding-bottom: 5px;
  transition: color var(--dur-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--caramel);
  transition: width var(--dur-med) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-shop {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--caramel);
  color: var(--warm-white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.btn-shop:hover {
  background-color: var(--brown);
  transform: translateY(-1px);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--cream);
  padding: 6px;
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.cart-btn:hover {
  color: var(--caramel);
  transform: scale(1.08);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--caramel);
  color: var(--warm-white);
  font-size: 9px;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out);
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

.cart-count.bump {
  animation: bump 320ms var(--ease-out);
}

@keyframes bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.45); }
  100% { transform: scale(1); }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--cream);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
}

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

.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: var(--caramel);
  transition: width 0.1s linear;
  z-index: 10;
}

/* -----------------------------------------------------------------
   7. HERO SECTION (Untouched Architecture)
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  animation: heroZoomOut 1.8s var(--ease-out) forwards;
}

@keyframes heroZoomOut {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(36, 23, 16, 0.55) 0%,
    rgba(36, 23, 16, 0.35) 40%,
    rgba(36, 23, 16, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 160px var(--gutter) 95px;
  width: 100%;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 26px;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: var(--caramel);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.4rem, 7.5vw, 7.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.02em;
  max-width: 760px;
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--beige);
}

.hero-subtext {
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  font-weight: 300;
  color: rgba(245, 239, 230, 0.78);
  line-height: 1.8;
  max-width: 450px;
  margin-bottom: 44px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-detail {
  display: flex;
  align-items: center;
}

.hero-detail-item {
  display: flex;
  flex-direction: column;
  padding: 0 32px;
}

.hero-detail-item:first-child {
  padding-left: 0;
}

.detail-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
}

.detail-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.55);
  margin-top: 6px;
}

.hero-detail-divider {
  width: 1px;
  height: 48px;
  background-color: rgba(245, 239, 230, 0.2);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(245, 239, 230, 0.45);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(245, 239, 230, 0.45), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(0.6); }
}

/* -----------------------------------------------------------------
   8. MARQUEE STRIP
   ----------------------------------------------------------------- */
.marquee-strip {
  background-color: var(--espresso);
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(197, 139, 85, 0.2);
  border-bottom: 1px solid rgba(197, 139, 85, 0.2);
}

.marquee-inner {
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 34s linear infinite;
}

.marquee-strip:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.7);
  white-space: nowrap;
  padding: 0 28px;
  transition: color var(--dur-fast);
}

.marquee-sep {
  color: var(--caramel);
  font-size: 11px;
  flex-shrink: 0;
}

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

/* -----------------------------------------------------------------
   9. SECTION 1: BRAND INTRODUCTION
   ----------------------------------------------------------------- */
.brand-intro {
  padding: var(--section-pad) var(--gutter);
  background-color: var(--warm-white);
  position: relative;
}

.intro-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.intro-image-wrap {
  position: relative;
}

.intro-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 20px 45px rgba(36, 23, 16, 0.08);
}

.intro-img-caption {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background-color: var(--espresso);
  color: var(--cream);
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.caption-origin {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--caramel);
}

.caption-detail {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.6);
}

.intro-text {
  padding-left: 20px;
}

.intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.32;
  color: var(--espresso);
  margin-bottom: 28px;
  border-left: 2px solid var(--caramel);
  padding-left: 26px;
}

.intro-body {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.85;
}

.intro-subbody {
  margin-top: 14px;
}

.intro-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--beige);
}

.intro-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
}

.meta-val {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--espresso);
}

/* -----------------------------------------------------------------
   10. SECTION 2: FEATURED COFFEE COLLECTION
   ----------------------------------------------------------------- */
.collection {
  padding: var(--section-pad) var(--gutter);
  background-color: var(--cream);
  position: relative;
}

.collection-header {
  max-width: var(--container);
  margin: 0 auto 64px;
  text-align: center;
}

.products-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--warm-white);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(128, 86, 60, 0.12);
  transition: transform var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out),
              border-color var(--dur-fast);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(36, 23, 16, 0.12);
  border-color: rgba(197, 139, 85, 0.4);
}

/* Subtle staggered heights for editorial rhythm */
.product-card:nth-child(2) {
  margin-top: 24px;
}

.product-card:nth-child(3) {
  margin-top: 12px;
}

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

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(36, 23, 16, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-add-cart {
  padding: 14px 28px;
  background-color: var(--cream);
  color: var(--espresso);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform var(--dur-med) var(--ease-out),
              background-color var(--dur-fast),
              color var(--dur-fast);
}

.product-card:hover .btn-add-cart {
  transform: translateY(0);
}

.btn-add-cart:hover {
  background-color: var(--caramel);
  color: var(--warm-white);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: var(--espresso);
  color: var(--caramel);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-info {
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-origin {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-flavor-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.note-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--brown);
  background-color: rgba(229, 213, 194, 0.35);
  border: 1px solid var(--beige);
  padding: 4px 10px;
  text-transform: uppercase;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--beige);
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--espresso);
}

.product-weight {
  font-size: 11px;
  color: var(--brown);
  letter-spacing: 0.05em;
}

.btn-add-cart-inline {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--espresso);
  color: var(--cream);
  transition: background-color var(--dur-fast), transform var(--dur-fast);
  flex-shrink: 0;
}

.btn-add-cart-inline:hover {
  background-color: var(--caramel);
  transform: scale(1.08);
}

/* -----------------------------------------------------------------
   11. SECTION 3: OUR PHILOSOPHY
   ----------------------------------------------------------------- */
.philosophy {
  padding: var(--section-pad) var(--gutter);
  background-color: var(--warm-white);
  position: relative;
}

.philosophy-layout {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: start;
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--espresso);
  letter-spacing: -0.01em;
  margin-bottom: 54px;
}

.philosophy-heading em {
  font-style: italic;
  color: var(--brown);
}

.philosophy-block {
  display: flex;
  gap: 26px;
  margin-bottom: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--beige);
}

.philosophy-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.philo-num {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--beige);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.philo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 10px;
  letter-spacing: 0.015em;
}

.philo-body {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.85;
}

.philosophy-image-col {
  position: relative;
  padding-top: 40px;
}

.philo-img-primary {
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(36, 23, 16, 0.12);
}

.philo-img-primary img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.85s var(--ease-out);
}

.philo-img-primary:hover img {
  transform: scale(1.03);
}

.philo-img-accent {
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 54%;
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.philo-img-accent img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--warm-white);
}

.philo-accent-label {
  margin-top: 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caramel);
}

/* -----------------------------------------------------------------
   12. SECTION 4: BRAND VALUES
   ----------------------------------------------------------------- */
.values {
  padding: var(--section-pad) var(--gutter);
  background-color: var(--espresso);
  position: relative;
  overflow: hidden;
}

.values-bg-text {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(100px, 20vw, 240px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: 0.08em;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.values-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.values-header {
  margin-bottom: 64px;
}

.values-subtext {
  color: rgba(229, 213, 194, 0.7);
  max-width: 500px;
}

.values-list {
  display: flex;
  flex-direction: column;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 46px 0;
}

.value-divider {
  height: 1px;
  background-color: rgba(245, 239, 230, 0.12);
}

.value-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  font-weight: 300;
  color: rgba(197, 139, 85, 0.35);
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
  margin-top: -6px;
}

.value-content {
  flex: 1;
}

.value-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.96rem;
  color: rgba(229, 213, 194, 0.7);
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 16px;
}

.value-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  border: 1px solid rgba(197, 139, 85, 0.35);
  padding: 4px 12px;
}

/* -----------------------------------------------------------------
   13. SECTION 5: CUSTOMER TESTIMONIALS
   ----------------------------------------------------------------- */
.testimonials {
  padding: var(--section-pad) var(--gutter);
  background-color: var(--cream);
  position: relative;
}

.testimonials-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.testimonials-header {
  margin-bottom: 58px;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--warm-white);
  padding: 44px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(128, 86, 60, 0.1);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(36, 23, 16, 0.08);
}

/* Featured middle card with dark inverted identity */
.testimonial-card.featured {
  background-color: var(--espresso);
  border-color: transparent;
  box-shadow: 0 20px 45px rgba(36, 23, 16, 0.18);
}

.testimonial-stars {
  color: var(--caramel);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.7;
  margin-bottom: 32px;
  flex: 1;
}

.testimonial-card.featured .testimonial-text {
  color: rgba(245, 239, 230, 0.88);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--beige);
}

.testimonial-card.featured .testimonial-footer {
  border-top-color: rgba(245, 239, 230, 0.15);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brown);
  flex-shrink: 0;
}

.testimonial-card.featured .testimonial-avatar {
  background-color: rgba(197, 139, 85, 0.22);
  color: var(--caramel);
}

.testimonial-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: normal;
  color: var(--espresso);
  line-height: 1.2;
}

.testimonial-card.featured .testimonial-name {
  color: var(--cream);
}

.testimonial-role {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-top: 4px;
}

/* -----------------------------------------------------------------
   14. SECTION 6: NEWSLETTER
   ----------------------------------------------------------------- */
.newsletter {
  position: relative;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.newsletter-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  filter: brightness(0.55) saturate(0.85);
}

.newsletter-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(36, 23, 16, 0.82);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.newsletter-heading em {
  font-style: italic;
  color: var(--caramel);
}

.newsletter-sub {
  font-size: 0.98rem;
  color: rgba(245, 239, 230, 0.72);
  line-height: 1.8;
  margin-bottom: 40px;
}

.newsletter-form {
  margin-bottom: 18px;
}

.form-group {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 16px 22px;
  background-color: rgba(245, 239, 230, 0.1);
  border: 1px solid rgba(245, 239, 230, 0.3);
  border-right: none;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}

.newsletter-input::placeholder {
  color: rgba(245, 239, 230, 0.45);
}

.newsletter-input:focus {
  border-color: var(--caramel);
  background-color: rgba(245, 239, 230, 0.16);
}

.newsletter-btn {
  padding: 16px 34px;
  background-color: var(--caramel);
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.newsletter-btn:hover {
  background-color: var(--brown);
}

.form-message {
  margin-top: 14px;
  font-size: 13px;
  min-height: 22px;
  line-height: 1.5;
}

.form-message.success {
  color: #A8D8A0;
}

.form-message.error {
  color: #EFA6A6;
}

.newsletter-perks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: rgba(245, 239, 230, 0.45);
  letter-spacing: 0.06em;
}

/* -----------------------------------------------------------------
   15. SECTION 7: FOOTER
   ----------------------------------------------------------------- */
.footer {
  background-color: var(--espresso);
  padding: 85px var(--gutter) 0;
  position: relative;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(229, 213, 194, 0.6);
  line-height: 1.85;
  max-width: 340px;
  margin-bottom: 22px;
}

.footer-location {
  font-size: 12px;
  color: rgba(245, 239, 230, 0.5);
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-location strong {
  color: var(--caramel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 239, 230, 0.18);
  color: rgba(245, 239, 230, 0.6);
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.social-link:hover {
  border-color: var(--caramel);
  color: var(--caramel);
  transform: translateY(-2px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.footer-nav-heading {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.45);
  margin-bottom: 22px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(229, 213, 194, 0.65);
  transition: color var(--dur-fast), transform var(--dur-fast);
  display: inline-block;
}

.footer-nav a:hover {
  color: var(--caramel);
  transform: translateX(3px);
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  color: rgba(245, 239, 230, 0.35);
  letter-spacing: 0.06em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(245, 239, 230, 0.35);
  letter-spacing: 0.06em;
  transition: color var(--dur-fast);
}

.footer-legal a:hover {
  color: var(--caramel);
}

/* -----------------------------------------------------------------
   16. BACK TO TOP BUTTON
   ----------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--caramel);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--dur-med), transform var(--dur-med) var(--ease-out),
              background-color var(--dur-fast);
  z-index: 998;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--brown);
}

/* -----------------------------------------------------------------
   17. CART TOAST NOTIFICATION
   ----------------------------------------------------------------- */
.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: var(--espresso);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med), transform var(--dur-med) var(--ease-out);
  z-index: 990;
  white-space: nowrap;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--caramel);
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* -----------------------------------------------------------------
   18. CART DRAWER & BACKDROP
   ----------------------------------------------------------------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background-color: rgba(36, 23, 16, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out);
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 95vw);
  background-color: var(--warm-white);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  box-shadow: -20px 0 60px rgba(36, 23, 16, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--beige);
  flex-shrink: 0;
}

.drawer-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--espresso);
}

.drawer-count {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
}

.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--brown);
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.drawer-close:hover {
  color: var(--espresso);
  transform: rotate(90deg);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--beige) transparent;
}

.drawer-body::-webkit-scrollbar {
  width: 4px;
}
.drawer-body::-webkit-scrollbar-thumb {
  background: var(--beige);
}

.drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  height: 100%;
}

.drawer-empty-icon {
  color: var(--beige);
  margin-bottom: 24px;
}

.drawer-empty-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--espresso);
  margin-bottom: 8px;
}

.drawer-empty-sub {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 30px;
}

.drawer-browse-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
  border-bottom: 1px solid var(--caramel);
  padding-bottom: 3px;
  transition: color var(--dur-fast);
}

.drawer-browse-link:hover {
  color: var(--caramel);
}

.drawer-items {
  padding: 8px 0;
}

.drawer-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 20px 32px;
  border-bottom: 1px solid var(--beige);
  animation: itemIn 0.3s var(--ease-out);
}

@keyframes itemIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: none; }
}

.drawer-item-img {
  width: 74px;
  height: 74px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--beige);
}

.drawer-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-item-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--espresso);
  line-height: 1.25;
}

.drawer-item-price {
  font-size: 12px;
  color: var(--brown);
  letter-spacing: 0.04em;
}

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--beige);
  color: var(--espresso);
  font-size: 16px;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast);
}

.qty-btn:hover {
  border-color: var(--caramel);
  background-color: var(--caramel);
  color: var(--warm-white);
}

.qty-num {
  font-size: 13px;
  font-weight: 500;
  color: var(--espresso);
  min-width: 20px;
  text-align: center;
}

.drawer-item-remove {
  display: flex;
  align-items: center;
  color: rgba(128, 86, 60, 0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  transition: color var(--dur-fast);
}

.drawer-item-remove:hover {
  color: var(--brown);
}

.drawer-footer {
  padding: 24px 32px 32px;
  border-top: 1px solid var(--beige);
  flex-shrink: 0;
  background-color: var(--warm-white);
}

.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.drawer-subtotal-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
}

.drawer-subtotal-val {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--espresso);
}

.drawer-shipping-note {
  font-size: 11px;
  color: rgba(128, 86, 60, 0.6);
  margin-bottom: 20px;
}

.btn-checkout {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  background-color: var(--espresso);
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: background-color var(--dur-fast), transform var(--dur-fast);
}

.btn-checkout:hover {
  background-color: var(--caramel);
  transform: translateY(-1px);
}

.drawer-continue {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(128, 86, 60, 0.7);
  transition: color var(--dur-fast);
}

.drawer-continue:hover {
  color: var(--brown);
}

/* -----------------------------------------------------------------
   19. SAFE PROGRESSIVE SCROLL ANIMATIONS (Never Blank)
   ----------------------------------------------------------------- */
/* By default, elements are completely visible so sections are NEVER empty */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

/* Only when JavaScript initializes does progressive scroll reveal activate */
html.js-ready .reveal-up:not(.revealed) {
  opacity: 0;
  transform: translateY(28px);
}

html.js-ready .reveal-left:not(.revealed) {
  opacity: 0;
  transform: translateX(-32px);
}

html.js-ready .reveal-right:not(.revealed) {
  opacity: 0;
  transform: translateX(32px);
}

html.js-ready .revealed {
  opacity: 1 !important;
  transform: none !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* Hero entrance animations */
.hero .reveal-up,
.hero .reveal-left,
.hero .reveal-right {
  animation: heroFadeUp 0.9s var(--ease-out) both;
}

.hero .delay-1 { animation-delay: 0.25s; }
.hero .delay-2 { animation-delay: 0.45s; }
.hero .delay-3 { animation-delay: 0.65s; }
.hero .delay-4 { animation-delay: 0.85s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* -----------------------------------------------------------------
   20. RESPONSIVE BREAKPOINTS: TABLET (≤1024px)
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: clamp(65px, 8vw, 100px);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .product-card:nth-child(2) { margin-top: 16px; }
  .product-card:nth-child(3) { margin-top: 8px; }

  .intro-layout {
    gap: 48px;
  }

  .philosophy-layout {
    gap: 48px;
  }

  .philo-img-accent {
    left: -24px;
    width: 60%;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-inner {
    gap: 50px;
  }
}

/* -----------------------------------------------------------------
   21. RESPONSIVE BREAKPOINTS: MOBILE (≤768px)
   ----------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100svh;
    background-color: var(--espresso);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 60px 42px;
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-out);
    z-index: 999;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 14px;
    color: rgba(245, 239, 230, 0.75);
  }

  .btn-shop {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  /* Hero */
  .hero-content {
    padding: 135px var(--gutter) 75px;
  }

  .hero-subtext .br-desktop {
    display: none;
  }

  .hero-detail {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-detail-divider {
    display: none;
  }

  .hero-detail-item {
    padding: 0;
  }

  .hero-scroll-cue {
    display: none;
  }

  /* Brand Intro */
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-text {
    padding-left: 0;
  }

  .intro-img-caption {
    right: 0;
    bottom: 0;
  }

  /* Featured Collection */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-card:nth-child(2),
  .product-card:nth-child(3) {
    margin-top: 0;
  }

  /* Philosophy */
  .philosophy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .philosophy-image-col {
    padding-top: 0;
    padding-bottom: 50px;
  }

  .philo-img-accent {
    left: auto;
    right: 0;
    width: 50%;
    bottom: -20px;
  }

  /* Values */
  .value-item {
    flex-direction: column;
    gap: 14px;
    padding: 34px 0;
  }

  .value-number {
    width: auto;
  }

  /* Newsletter */
  .form-group {
    flex-direction: column;
  }

  .newsletter-input {
    border-right: 1px solid rgba(245, 239, 230, 0.3);
    margin-bottom: 8px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .cart-drawer {
    width: 100%;
  }

  .back-to-top {
    bottom: 24px;
    right: 20px;
  }
}

/* -----------------------------------------------------------------
   22. RESPONSIVE BREAKPOINTS: SMALL MOBILE (≤480px)
   ----------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* -----------------------------------------------------------------
   23. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ----------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg-img { animation: none; }
  .scroll-line  { animation: none; }
  .marquee-content { animation: none; }
}
