:root {
  --bg-primary: #eadcb9;
  --bg-secondary: #dfcda6;
  --text-primary: #2b2417;
  --text-secondary: #6f6048;
  --accent-primary: #9a7628;
  --accent-secondary: #3d5a45;
  --text-ivory: #2b2417;
  --text-cream: #f3ead2;
}

html {
  scroll-behavior: auto;
}

/* Anchored sections clear the fixed nav when jumped to */
section[id] {
  scroll-margin-top: 110px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.serif-font {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* Custom Utilities & Override */
.bg-dark-forest {
  background-color: var(--bg-primary);
}
.bg-moss-slate {
  background-color: var(--bg-secondary);
}
.text-ivory {
  color: var(--text-primary);
}
.text-taupe {
  color: var(--text-secondary);
}
.text-gold {
  color: var(--accent-primary);
}
/* Light text for dark surfaces (.pillar-card and similar translucent panels). */
.text-cream {
  color: var(--text-cream);
}

/* Metallic gold-sheen text (gradient clipped to glyphs) */
.text-gold-sheen,
.hero-title em,
.display-3 em,
.display-4 em {
  font-style: italic;
  background: linear-gradient(100deg, #d6b65c 0%, #8a6a24 48%, #c9a54a 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Editorial balance for display heads */
h1,
h2,
h3 {
  text-wrap: balance;
}

.bg-gold-subtle {
  background-color: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.btn-gold {
  background-color: var(--accent-primary);
  color: #241c0d;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 10px 30px rgba(154, 118, 40, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-gold:hover {
  background-color: transparent;
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(154, 118, 40, 0.32);
}

.btn-outline-ivory {
  border: 1px solid rgba(43, 36, 23, 0.4);
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline-ivory:hover {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  box-shadow: 0 12px 28px rgba(43, 36, 23, 0.25);
  transform: translateY(-2px);
}

/* Glassmorphic Navbar Pill */
.glass-nav {
  background: rgba(250, 244, 229, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(154, 120, 48, 0.22);
}

/* Mobile navigation */
.navbar-toggler-mobile {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(154, 120, 48, 0.35);
  border-radius: 999px;
  background: rgba(250, 244, 229, 0.75);
  transition: border-color 0.3s ease;
}
.navbar-toggler-mobile:hover {
  border-color: rgba(197, 160, 89, 0.7);
}
.navbar-toggler-mobile:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.navbar-toggler-mobile .nav-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent-primary);
  transition:
    transform 0.3s ease,
    opacity 0.25s ease;
}
.navbar-toggler-mobile[aria-expanded="true"] .nav-line:nth-of-type(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggler-mobile[aria-expanded="true"] .nav-line:nth-of-type(2) {
  opacity: 0;
}
.navbar-toggler-mobile[aria-expanded="true"] .nav-line:nth-of-type(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.collapse-mobile-zone {
  pointer-events: auto;
}
.mobile-nav-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}
.mobile-nav-link:last-of-type {
  border-bottom: 0;
}
.mobile-nav-link.nav-active,
.mobile-nav-link:hover {
  color: var(--accent-primary);
  background: rgba(197, 160, 89, 0.08);
}

/* iPhone notch / status-bar safe area */
header.fixed-top {
  padding-top: max(0.75rem, env(safe-area-inset-top)) !important;
}

/* Small screens: let long product titles wrap cleanly beside the price plaque */
@media (max-width: 575.98px) {
  .product-card .d-flex.align-items-baseline {
    flex-wrap: wrap;
  }
  /* Fixed-size display headings blow out 320-390px viewports with long serif words */
  .display-3 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  .display-4 {
    font-size: clamp(1.75rem, 7vw, 3rem);
  }
  .display-5 {
    font-size: clamp(1.4rem, 6vw, 2.5rem);
  }
  .phil-frame {
    padding: 2.25rem 1.25rem;
  }
}

/* Brew-guide infographic plate (shop outro) — gilded royal frame */
.brew-guide {
  position: relative;
  width: 100%;
  max-width: 980px;
  padding: 1.4rem;
  border-radius: 24px;
  border: 1px solid rgba(154, 120, 48, 0.35);
  background:
    radial-gradient(
      130% 130% at 50% 0%,
      rgba(197, 160, 89, 0.1),
      transparent 56%
    ),
    linear-gradient(180deg, rgba(250, 243, 226, 0.78), rgba(243, 233, 210, 0.9));
  box-shadow:
    0 44px 100px rgba(122, 96, 50, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(154, 120, 48, 0.08);
}
.brew-guide::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 17px;
  pointer-events: none;
}
.brew-guide::after {
  content: "\25C6";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-primary);
  font-size: 0.75rem;
  line-height: 1;
  background: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.65);
  pointer-events: none;
}
.brew-guide-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid transparent;
  background:
    linear-gradient(
        180deg,
        rgba(248, 240, 221, 0.92),
        rgba(248, 240, 221, 0.92)
      )
      padding-box,
    linear-gradient(
        135deg,
        #d6b65c 0%,
        #9a7628 28%,
        #6f5215 50%,
        #c9a54a 72%,
        #9a7628 100%
      )
      border-box;
  box-shadow:
    0 0 0 1px rgba(154, 120, 48, 0.45),
    0 18px 50px rgba(122, 96, 50, 0.28),
    inset 0 0 44px rgba(197, 160, 89, 0.12);
}
@media (max-width: 575.98px) {
  .brew-guide {
    padding: 1rem;
  }
}

/* Product Card Luxury Treatment — curated folio plates */
.header-rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-primary), transparent);
}
.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
/* Contact-detail links (phone / email): normal inline text so glyphs stay on
   the baseline. The uppercase + tracked flex treatment above causes a
   fallback "@" to render low and mangles email casing. */
.link-gold-plain {
  display: inline;
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  word-break: break-word;
}
.link-gold-plain:hover {
  color: #6f5215;
  text-decoration: underline;
}
.link-gold .arr {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.link-gold:hover {
  color: #6f5215;
}
.link-gold:hover .arr {
  transform: translateX(5px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(250, 243, 226, 0.92),
    rgba(241, 231, 205, 0.96)
  );
  border: 1px solid rgba(154, 120, 48, 0.4);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 26px 55px rgba(122, 96, 50, 0.18),
    inset 0 0 0 1px rgba(197, 160, 89, 0.2),
    inset 0 0 0 10px rgba(197, 160, 89, 0.16);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.product-card::before,
.product-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  pointer-events: none;
}
.product-card::before {
  background:
    linear-gradient(var(--accent-primary), var(--accent-primary)) 0 0 / 22px 2px
      no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 0 0 / 2px 22px
      no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 100% 100% /
      22px 2px no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 100% 100% /
      2px 22px no-repeat;
}
.product-card::after {
  background:
    linear-gradient(var(--accent-primary), var(--accent-primary)) 100% 0 / 22px
      2px no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 100% 0 / 2px
      22px no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 0 100% / 22px
      2px no-repeat,
    linear-gradient(var(--accent-primary), var(--accent-primary)) 0 100% / 2px
      22px no-repeat;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(154, 120, 48, 0.6);
  box-shadow:
    0 30px 65px rgba(122, 96, 50, 0.25),
    inset 0 0 0 1px rgba(197, 160, 89, 0.3),
    inset 0 0 0 10px rgba(197, 160, 89, 0.22);
}
.product-card .product-img-wrapper {
  position: relative;
  margin: 12px 12px 6px;
  overflow: hidden;
  background: #e7d9ba;
  aspect-ratio: 4/3;
  border-radius: 10px;
}
.product-card .product-img-wrapper::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 6px;
  transition: border-color 0.4s ease;
}
.product-card:hover .product-img-wrapper::before {
  border-color: rgba(197, 160, 89, 0.65);
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-card .product-img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  filter: contrast(1.08) saturate(1.14) brightness(1.07);
}
.product-card .tasting-btn {
  margin-top: 0.9rem;
  border-color: rgba(197, 160, 89, 0.4);
  color: var(--accent-primary);
}
.product-card .p-4 {
  padding: 0.4rem 1.1rem 1.1rem;
}
.product-card .p-4 h3 {
  font-size: 1.4rem;
}
.product-card .p-4 p {
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.product-card .tasting-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-primary);
}
.parallax-frame img,
.cta-bg img {
  filter: contrast(1.05) saturate(1.08);
}

/* Responsive typography scaling */
.display-hero {
  font-size: clamp(2.5rem, calc(5vw + 1rem), 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Extended spacing scale (Bootstrap default stops at 5) */
.p-6 {
  padding: 4rem;
}
.p-7 {
  padding: 5rem;
}
.p-8 {
  padding: 6rem;
}
.p-9 {
  padding: 7rem;
}
.px-6 {
  padding-left: 4rem;
  padding-right: 4rem;
}
.px-7 {
  padding-left: 5rem;
  padding-right: 5rem;
}
.px-8 {
  padding-left: 6rem;
  padding-right: 6rem;
}
.px-9 {
  padding-left: 7rem;
  padding-right: 7rem;
}
.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-7 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-8 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.py-9 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.pt-6 {
  padding-top: 4rem;
}
.pt-7 {
  padding-top: 5rem;
}
.pt-8 {
  padding-top: 6rem;
}
.pt-9 {
  padding-top: 7rem;
}
.pb-6 {
  padding-bottom: 4rem;
}
.pb-7 {
  padding-bottom: 5rem;
}
.pb-8 {
  padding-bottom: 6rem;
}
.pb-9 {
  padding-bottom: 7rem;
}
.m-6 {
  margin: 4rem;
}
.m-7 {
  margin: 5rem;
}
.m-8 {
  margin: 6rem;
}
.m-9 {
  margin: 7rem;
}
.mx-6 {
  margin-left: 4rem;
  margin-right: 4rem;
}
.mx-7 {
  margin-left: 5rem;
  margin-right: 5rem;
}
.mx-8 {
  margin-left: 6rem;
  margin-right: 6rem;
}
.mx-9 {
  margin-left: 7rem;
  margin-right: 7rem;
}
.my-6 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.my-7 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.my-8 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}
.my-9 {
  margin-top: 7rem;
  margin-bottom: 7rem;
}
.mt-6 {
  margin-top: 4rem;
}
.mt-7 {
  margin-top: 5rem;
}
.mt-8 {
  margin-top: 6rem;
}
.mt-9 {
  margin-top: 7rem;
}
.mb-6 {
  margin-bottom: 4rem;
}
.mb-7 {
  margin-bottom: 5rem;
}
.mb-8 {
  margin-bottom: 6rem;
}
.mb-9 {
  margin-bottom: 7rem;
}
.ms-6 {
  margin-left: 4rem;
}
.ms-7 {
  margin-left: 5rem;
}
.ms-8 {
  margin-left: 6rem;
}
.ms-9 {
  margin-left: 7rem;
}
.me-6 {
  margin-right: 4rem;
}
.me-7 {
  margin-right: 5rem;
}
.me-8 {
  margin-right: 6rem;
}
.me-9 {
  margin-right: 7rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .py-lg-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .py-lg-8 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .py-lg-9 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .pt-lg-6 {
    padding-top: 4rem;
  }
  .pt-lg-7 {
    padding-top: 5rem;
  }
  .pt-lg-8 {
    padding-top: 6rem;
  }
  .pt-lg-9 {
    padding-top: 7rem;
  }
  .px-lg-6 {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .px-lg-7 {
    padding-left: 5rem;
    padding-right: 5rem;
  }
  .px-lg-8 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
  .px-lg-9 {
    padding-left: 7rem;
    padding-right: 7rem;
  }
  .mt-lg-6 {
    margin-top: 4rem;
  }
  .mt-lg-7 {
    margin-top: 5rem;
  }
  .mt-lg-8 {
    margin-top: 6rem;
  }
  .mt-lg-9 {
    margin-top: 7rem;
  }
}

/* Half-step spacing helpers (not in Bootstrap's default map) */
.py-2\.5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Small text */
.fs-7 {
  font-size: 0.75rem;
}

/* Letter spacing */
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.tracking-widest {
  letter-spacing: 0.1em;
}

/* Nav link hover treatment */
.hover-gold {
  transition: color 0.3s ease;
}
.hover-gold:hover {
  color: var(--accent-primary);
}

/* Container width cap */
.max-w-1200 {
  max-width: 1200px;
  margin-inline: auto;
}

/* Pointer events helpers */
.pointer-events-none {
  pointer-events: none;
}
.pointer-events-auto {
  pointer-events: auto;
}

/* Viewport height helper */
.min-vh-75 {
  min-height: 75vh;
}

/* Width helper */
@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}

/* ============ PREMIUM LANDING SYSTEM ============ */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #b9a67f;
  border-radius: 8px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--bg-primary);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.7s;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
@keyframes preloader-pulse {
  0%,
  100% {
    opacity: 0.35;
    letter-spacing: 0.3em;
  }
  50% {
    opacity: 1;
    letter-spacing: 0.45em;
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1500;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Grain / noise overlay */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero */
.hero-sect {
  background: #e7d9ba;
}
/* Keep the hero kicker clear of the fixed navbar */
#hero {
  padding-top: clamp(104px, 12vh, 136px);
}
@media (max-height: 720px) {
  #hero .row {
    min-height: 0 !important;
  }
}
.hero-bg,
.cta-bg {
  filter: saturate(1.05);
}
.hero-bg-wrap {
  will-change: transform;
}
.hero-scrim,
.cta-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 50% 10%,
    rgba(249, 239, 216, 0.4) 0%,
    rgba(234, 220, 190, 0.7) 55%,
    var(--bg-primary) 100%
  );
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 120% at 50% 45%,
    transparent 42%,
    rgba(30, 25, 16, 0.42) 100%
  );
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw + 1rem, 6.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero-sect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 160, 89, 0.65),
    transparent
  );
}
.line-mask {
  display: block;
  overflow: hidden;
}
.line {
  will-change: transform;
}

.hero-badge {
  animation: badge-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  letter-spacing: 0.22em;
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow:
    0 0 0 1px rgba(197, 160, 89, 0.35),
    0 8px 30px rgba(0, 0, 0, 0.3);
}
@keyframes badge-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-meta {
  border-top: 1px solid rgba(244, 240, 234, 0.12);
  padding-top: 1.25rem;
}
.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: inline-block;
}
.meta-divider {
  width: 34px;
  height: 1px;
  background: rgba(244, 240, 234, 0.2);
}

.scroll-cue-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(
    180deg,
    var(--accent-primary) 0%,
    transparent 100%
  );
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--bg-primary);
  animation: cue-drop 1.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes cue-drop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(260%);
  }
}

/* Marquee band */
.marquee {
  border-top: 1px solid rgba(197, 160, 89, 0.22);
  border-bottom: 1px solid rgba(197, 160, 89, 0.22);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
  font-weight: 600;
  letter-spacing: 0.18em;
  background: linear-gradient(
    90deg,
    #6f5215 0%,
    #d6b65c 25%,
    #9a7628 50%,
    #c9a54a 75%,
    #6f5215 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  white-space: nowrap;
  padding-right: 1.5rem;
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Kickers */
.kicker {
  letter-spacing: 0.14em;
}
.kicker-num {
  color: var(--accent-primary);
  font-size: 1.35em;
  line-height: 1;
}
.kicker-num::after {
  content: "/";
  margin-left: 2px;
  opacity: 0.5;
}

/* Parallax frame + gold corners */
.parallax-frame {
  background: #e7d9ba;
}
.heritage-shine {
  position: relative;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s ease;
}
.parallax-frame:hover .heritage-shine {
  transform: scale(1.06);
  filter: brightness(1.08) saturate(1.12);
}
.heritage-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(246, 220, 140, 0.5) 50%,
    transparent 68%
  );
  transform: translateX(-130%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}
.parallax-frame:hover .heritage-shine::after {
  transform: translateX(130%);
}
.parallax-frame:hover .corner {
  opacity: 1;
  border-color: var(--accent-primary);
}
.plate-portrait {
  aspect-ratio: 3/4;
}
.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent-primary);
  opacity: 0.85;
  z-index: 2;
}
.corner-tl {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.corner-tr {
  top: 10px;
  right: 10px;
  border-left: 0;
  border-bottom: 0;
}
.corner-bl {
  bottom: 10px;
  left: 10px;
  border-right: 0;
  border-top: 0;
}
.corner-br {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}

/* Stats */
.stat-num {
  color: var(--text-ivory);
  line-height: 1;
}
.stat-label {
  letter-spacing: 0.12em;
}

/* CHA4U numeral — keep the "4" on the same baseline as CHA/U. Cormorant
   Garamond defaults to oldstyle figures that drop the digit below the
   baseline; lining-nums + disabled onum force a normal "CHA4U" alignment.
   Font family is deliberately NOT set here so it inherits from context. */
.brand-4 {
  position: relative;
  display: inline;
  font-weight: inherit;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
  font-size: 1em;
  line-height: 1;
  vertical-align: baseline;
}

/* Serif body copy also prefers lining figures so unwrapped digits stay level */
.serif-font,
.heritage-copy,
.heritage-lede {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

/* Nav Inquire / Wholesale CTA — cream + gold outline */
.btn-nav-cta {
  background: rgba(250, 244, 229, 0.92);
  color: var(--accent-primary);
  border: 1px solid rgba(154, 120, 48, 0.55);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.btn-nav-cta:hover {
  background: var(--accent-primary);
  color: #f7eeda;
  border-color: var(--accent-primary);
  box-shadow: 0 6px 18px rgba(154, 120, 48, 0.3);
}

/* Editorial lede for the Terroir narrative */
.heritage-lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.6;
  color: var(--text-primary);
}
.heritage-lede::first-letter {
  font-size: 3.2em;
  font-weight: 600;
  line-height: 0.85;
  float: left;
  padding-right: 0.09em;
  padding-top: 0.05em;
  color: var(--accent-primary);
}

/* Continuation copy for the Terroir narrative — same face as the lede */
.heritage-copy {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  line-height: 1.7;
  color: var(--text-primary);
}

#heritage .heritage-copy {
  text-align: justify;
}

/* Editorial stats band */
.stats-band {
  max-width: 680px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.35);
  padding-bottom: 0.4rem;
}

/* Heritage image: width-capped, natural proportions for a crisp finish */
.heritage-frame {
  max-width: min(640px, 100%);
  margin-inline: auto;
}

/* Curated stat hairlines */
.stats-row > [class*="col-"] {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.35);
}
.stats-row .border-start {
  border-color: rgba(197, 160, 89, 0.18) !important;
}

/* Product cards premium */
.product-col {
  position: relative;
}

.tasting-btn {
  position: relative;
  overflow: hidden;
}
.tasting-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

/* Philosophy — premium editorial treatment */
.phil-bg {
  z-index: 0;
}
.phil-bg img {
  filter: brightness(0.92) saturate(1.02) contrast(1.02);
}
.phil-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      105% 110% at 50% 40%,
      rgba(241, 229, 203, 0.52) 0%,
      rgba(234, 218, 187, 0.72) 44%,
      rgba(224, 206, 171, 0.94) 84%,
      #d9c7a2 100%
    ),
    linear-gradient(
      180deg,
      rgba(233, 219, 190, 0.7) 0%,
      rgba(236, 222, 194, 0.55) 40%,
      rgba(229, 213, 181, 0.6) 60%,
      rgba(218, 201, 170, 0.85) 100%
    );
}
.phil-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(197, 160, 89, 0.05);
  mix-blend-mode: overlay;
}
.phil-frame {
  position: relative;
  max-width: 980px;
  background: linear-gradient(
    180deg,
    rgba(250, 243, 226, 0.78),
    rgba(243, 233, 210, 0.9)
  );
  border: 1px solid rgba(154, 120, 48, 0.35);
  border-radius: 22px;
  padding: 3.25rem 2rem;
  box-shadow:
    0 40px 90px rgba(122, 96, 50, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.phil-rule {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 auto 2.25rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-primary),
    transparent
  );
}
.phil-title {
  font-size: clamp(2.25rem, calc(2vw + 2rem), 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.phil-title .phil-em {
  font-style: italic;
  background: linear-gradient(100deg, #d6b65c 0%, #8a6a24 48%, #c9a54a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phil-copy {
  max-width: 600px;
}
.phil-divider {
  width: 220px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 160, 89, 0.55),
    transparent
  );
}
.phil-meta {
  gap: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.85;
}
.phil-meta .phil-meta-sep {
  opacity: 0.4;
}

/* Commitment 3-pillar cards — Philosophy / Sustainability / Innovation */
.pillar-card {
  background: linear-gradient(
    180deg,
    rgba(26, 30, 20, 0.5),
    rgba(16, 20, 13, 0.62)
  );
  border: 1px solid rgba(217, 184, 122, 0.55);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(8, 10, 6, 0.35);
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 195, 138, 0.85);
  box-shadow: 0 40px 90px rgba(8, 10, 6, 0.5);
}
.pillar-card .corner {
  opacity: 1;
  border-color: #d9b87a;
}
.pillar-card .corner-tl {
  top: 14px;
  left: 14px;
}
.pillar-card .corner-tr {
  top: 14px;
  right: 14px;
}
.pillar-card .corner-bl {
  bottom: 14px;
  left: 14px;
}
.pillar-card .corner-br {
  bottom: 14px;
  right: 14px;
}
.pillar-text {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(243, 234, 210, 0.9);
}

/* Philosophy — editorial plate + ritual list (aligned with chapter sections) */
.phil-plate {
  min-height: 320px;
  background: linear-gradient(
    180deg,
    rgba(250, 243, 226, 0.78),
    rgba(243, 233, 210, 0.9)
  );
  border: 1px solid rgba(154, 120, 48, 0.35);
  border-radius: 22px;
  box-shadow:
    0 40px 90px rgba(122, 96, 50, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.phil-plate .corner {
  opacity: 0.9;
}
.phil-plate .corner-tl {
  top: 14px;
  left: 14px;
}
.phil-plate .corner-tr {
  top: 14px;
  right: 14px;
}
.phil-plate .corner-bl {
  bottom: 14px;
  left: 14px;
}
.phil-plate .corner-br {
  bottom: 14px;
  right: 14px;
}
.phil-quote {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.phil-quote em {
  font-style: italic;
  background: linear-gradient(100deg, #d6b65c 0%, #8a6a24 48%, #c9a54a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ritual-list {
  border-top: 1px solid rgba(197, 160, 89, 0.35);
}
.ritual-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
}
.ritual-num {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent-primary);
  min-width: 2.6rem;
}
.ritual-t {
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ritual-d {
  letter-spacing: 0.02em;
  margin-top: 0.15rem;
}
.ritual-glyph {
  opacity: 0.55;
  transform: translateY(2px);
}

/* Inquiry CTA band */
.cta-band {
  background: radial-gradient(
    120% 100% at 50% 0%,
    var(--bg-secondary) 0%,
    var(--bg-primary) 78%
  );
}
.cta-band .cta-bg img {
  filter: brightness(0.95) saturate(1.06);
}
.cta-scrim {
  background:
    radial-gradient(
      120% 110% at 50% 45%,
      rgba(236, 222, 190, 0.32) 0%,
      rgba(229, 213, 180, 0.55) 60%,
      rgba(216, 198, 164, 0.84) 100%
    ),
    linear-gradient(
      180deg,
      rgba(233, 219, 190, 0.55) 0%,
      rgba(238, 224, 196, 0.4) 40%,
      rgba(231, 215, 182, 0.5) 62%,
      rgba(216, 197, 163, 0.82) 94%
    );
}
.glass-card {
  position: relative;
  background: rgba(250, 243, 226, 0.9) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(122, 96, 50, 0.22);
}
.glass-card::before,
.glass-card::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(197, 160, 89, 0.6);
  opacity: 0.9;
  z-index: 1;
}
.glass-card::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.glass-card::after {
  bottom: 10px;
  right: 10px;
  border-left: 0;
  border-top: 0;
}
.form-control:focus {
  background-color: rgba(250, 243, 226, 0.95);
  border-color: rgba(154, 120, 48, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.18);
  color: var(--text-primary);
}
.form-success {
  letter-spacing: 0.06em;
}

/* Footer mega wordmark */
.footer-wordmark {
  border-top: 1px solid rgba(197, 160, 89, 0.25);
}
.footer-wordmark a {
  letter-spacing: 0.06em;
}
.footer-mega {
  font-size: clamp(3rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #d6b65c 0%, #9a7628 55%, #6f5215 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.45));
}

/* Brand logo on a cream chip + realistic tea steam plume (footer mega & preloader) */
.logo-steam {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-chip-steam {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7efdc 0%, #ead6a8 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.75),
    0 18px 46px rgba(0, 0, 0, 0.5);
}
.logo-standalone {
  height: clamp(2.6rem, 5vw, 3.6rem);
  width: auto;
  display: block;
}
.footer-mega {
  display: flex;
  justify-content: center;
}
.footer-mega .logo-chip-steam {
  padding: 0.6rem 1.2rem;
}
.footer-mega .logo-standalone {
  height: clamp(2.8rem, 6vw, 4.2rem);
}

.steam-plume {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 6px);
  height: 0;
  pointer-events: none;
}
.steam-plume .puff {
  position: absolute;
  left: 52%;
  bottom: 0;
  width: 34px;
  height: 150px;
  margin-left: -17px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(6px);
  background: radial-gradient(
    46% 42% at 50% 26%,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.3) 50%,
    transparent 78%
  );
  transform-origin: 50% 100%;
  animation: real-steam 5.4s ease-in-out infinite;
}
.steam-plume .puff:nth-of-type(2) {
  width: 26px;
  height: 122px;
  margin-left: -13px;
  animation-delay: 1.1s;
}
.steam-plume .puff:nth-of-type(3) {
  width: 30px;
  height: 140px;
  margin-left: -15px;
  animation-delay: 2.2s;
}
.steam-plume .puff:nth-of-type(4) {
  width: 22px;
  height: 106px;
  margin-left: -11px;
  animation-delay: 3.3s;
}
.steam-plume .puff:nth-of-type(5) {
  width: 28px;
  height: 132px;
  margin-left: -14px;
  animation-delay: 4.4s;
}
@keyframes real-steam {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(0.65, 0.7);
  }
  20% {
    opacity: 0.95;
  }
  52% {
    opacity: 0.7;
    transform: translate3d(9px, -52px, 0) scale(1.12, 1.25);
  }
  100% {
    opacity: 0;
    transform: translate3d(-14px, -104px, 0) scale(1.42, 1.58);
  }
}

/* Viewport heights */
.min-vh-80 {
  min-height: 80vh;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
  }
  .scroll-cue-line::after {
    display: none;
  }
  .preloader-inner {
    animation: none;
  }
}

/* ============ SITE PAGES / SHARED ============ */

/* Original brand logo (#211A14 dark-brown — needs a light ground to read on dark nav) */
.brand-logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45));
}
.nav-logo-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7efdc 0%, #ead6a8 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.75),
    0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo-chip:hover {
  transform: translateY(-1px);
}
.nav-logo-chip .brand-logo {
  height: 40px;
  max-width: none;
  filter: none;
}

/* Active nav item */
.nav-active {
  color: var(--accent-primary) !important;
}

/* Header must float above main content (main is z-10 for the field layer) */
/* Nav sits ABOVE main (z-10) and the fixed WebGL layers so every link is clickable —
   !important overrides Bootstrap's .z-3 utility whatever its specificity */
header.fixed-top {
  z-index: 1050 !important;
}

/* Sub-page hero banner */
.page-hero {
  background: var(--bg-primary);
  border-bottom: 1px solid rgba(197, 160, 89, 0.18);
  padding-top: clamp(96px, 12vh, 132px);
}
.page-hero-bg img {
  object-fit: cover;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(250, 244, 229, 0.42) 0%,
    rgba(236, 221, 189, 0.18) 100%
  );
}
.page-hero-pane {
  position: relative;
  display: inline-block;
  max-width: 680px;
  padding: 2rem 2.25rem;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(252, 248, 236, 0.88),
    rgba(240, 228, 200, 0.82)
  );
  border: 1px solid rgba(197, 160, 89, 0.45);
  box-shadow:
    0 22px 55px rgba(122, 96, 50, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.page-hero-pane::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 16px;
  pointer-events: none;
}
.page-hero-pane::after {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #ecd7a4, #a87f2e);
  border: 1px solid rgba(122, 96, 50, 0.55);
  box-shadow: 0 2px 6px rgba(122, 96, 50, 0.35);
}
.page-hero-pane .corner {
  z-index: 1;
}
.page-hero-pane .header-rule {
  width: 64px;
}
@media (max-width: 575.98px) {
  .page-hero-pane {
    padding: 1.4rem 1.2rem;
  }
}

/* Breadcrumb */
.crumb {
  letter-spacing: 0.08em;
}

/* Product detail blocks (shop page) */
.prod-sizes {
  gap: 0.5rem;
}
.prod-size {
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  cursor: default;
}
.prod-size strong {
  color: var(--accent-primary);
}
.prod-size:hover {
  border-color: var(--accent-primary);
}

/* ============ SHOP pages — product lightboxes ============ */
.shop-folio .product-card {
  border-radius: 18px;
}
.product-stage {
  position: relative;
  margin: 12px 14px;
  aspect-ratio: 7 / 10;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(197, 160, 89, 0.24);
  background:
    radial-gradient(
      130% 90% at 50% 20%,
      rgba(109, 169, 90, 0.18),
      transparent 60%
    ),
    radial-gradient(
      120% 130% at 50% 100%,
      rgba(197, 160, 89, 0.26),
      transparent 55%
    ),
    linear-gradient(180deg, #e9dcc0 0%, #d9c8a7 100%);
}
.product-stage::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 10px;
  pointer-events: none;
  transition: border-color 0.45s ease;
}
.product-stage .product-lit {
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: brightness(1.03) contrast(1.04) saturate(1.05);
  pointer-events: none;
  user-select: none;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}
.product-card:hover .product-lit {
  transform: scale(1.02);
  filter: brightness(1.1);
}
.product-card:hover .product-stage::after {
  border-color: rgba(197, 160, 89, 0.6);
}
.shop-folio .product-card .mt-auto {
  border-top: 1px solid rgba(197, 160, 89, 0.16);
  padding-top: 1rem;
}
.plaque-price {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--accent-primary);
  font-size: 1.05rem;
  white-space: nowrap;
}
.meta-divider {
  display: inline-block;
  width: 80px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 160, 89, 0.65),
    transparent
  );
}

/* Legal prose */
.legal-prose {
  max-width: 1100px;
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
}
.legal-prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  letter-spacing: 0.01em;
}
.legal-prose h3 {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}
.legal-prose a {
  color: var(--accent-primary);
}
.legal-prose li {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ GRAVITY TEA-FIELD ATMOSPHERE ============ */

/* Fixed scroll-morphing backdrop */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 42%,
    #f0e4c8 0%,
    #e3d2ae 48%,
    #d9c8a4 100%
  );
  transition: background 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
body[data-field-stage="1"] .bg-field {
  background: radial-gradient(
    circle at 50% 46%,
    #f3e6cb 0%,
    #e7d6b2 46%,
    #dfcfa8 100%
  );
}
body[data-field-stage="2"] .bg-field {
  background: radial-gradient(
    circle at 50% 52%,
    #efe0c2 0%,
    #e0cda6 48%,
    #d4c29a 100%
  );
}

/* Full-screen interactive pearl field (behind content, above backdrop) */
#tea-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#tea-field canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Push page content above the fixed field */
main,
.footer-wordmark {
  position: relative;
  z-index: 10;
}

/* Hero: cinematic video backdrop, subtle warm scrim for text contrast */
.hero-sect {
  background: transparent;
}
.hero-bg {
  opacity: 1;
  filter: saturate(1.1) brightness(0.96) contrast(1.05);
}
.hero-scrim {
  background: radial-gradient(
    120% 100% at 50% 28%,
    rgba(30, 25, 16, 0.2) 0%,
    rgba(30, 25, 16, 0.46) 62%,
    rgba(30, 25, 16, 0.62) 100%
  );
}
#hero .hero-sub {
  color: rgba(239, 232, 208, 0.94);
}

/* Translucent passages so the field glows through editorial bands */
.bg-forest-soft {
  background-color: rgba(244, 235, 214, 0.62);
}
.bg-forest-soft-2 {
  background-color: rgba(241, 230, 205, 0.7);
}

/* Calibrating loader */
.preloader {
  background: radial-gradient(
    circle at 50% 42%,
    #efe2c5 0%,
    #e0cea8 48%,
    #d6c5a0 100%
  );
}
.preloader-inn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.preloader-mark {
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  animation: preloader-pulse 1.6s ease-in-out infinite;
}
.preloader-mark.logo-steam {
  animation: none;
  letter-spacing: 0;
  color: inherit;
}
.preloader-status {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(197, 160, 89, 0.8);
}
.preloader-track {
  width: clamp(180px, 32vw, 280px);
  height: 2px;
  background: rgba(197, 160, 89, 0.2);
  border-radius: 99px;
  overflow: hidden;
}
.preloader-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #e7cb90 0%, var(--accent-primary) 100%);
  box-shadow: 0 0 14px rgba(197, 160, 89, 0.55);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.preloader-count {
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent-primary);
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  #tea-field {
    display: none;
  }
  .preloader-mark {
    animation: none;
  }
  .steam-plume .puff {
    animation: none;
    opacity: 0;
  }
}

/* Toast CSS - start*/
.toast-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: calc(100% - 40px);
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  background: #333;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

.toast-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.toast-message.success {
  background: #198754;
}

.toast-message.error {
  background: #dc3545;
}

.toast-message i {
  font-size: 20px;
}
/* Toast CSS - end*/

.input-field {
  min-height: 48px;
}

/* Products page — View All Product Packs CTA */
.packs-cta {
  display: flex;
  justify-content: center;
}
.packs-cta-panel {
  position: relative;
  width: min(100%, 640px);
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(
      120% 90% at 50% 0%,
      rgba(250, 244, 229, 0.72) 0%,
      rgba(234, 220, 185, 0.35) 55%,
      transparent 100%
    ),
    linear-gradient(
      165deg,
      rgba(250, 243, 226, 0.55) 0%,
      rgba(223, 205, 166, 0.28) 100%
    );
  border: 1px solid rgba(154, 118, 40, 0.28);
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 252, 245, 0.45) inset,
    0 18px 48px rgba(90, 70, 30, 0.1);
  overflow: hidden;
}
.packs-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(212, 181, 106, 0.12) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  animation: packs-cta-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes packs-cta-sheen {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}
.packs-cta-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 0.85rem;
}
.packs-cta-title {
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  font-weight: 500;
}
.packs-cta-copy {
  max-width: 28rem;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.55;
}
.btn-packs-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  background: linear-gradient(135deg, #c4a055 0%, #9a7628 48%, #b8913f 100%);
  color: #241c0d;
  border: 1px solid rgba(154, 118, 40, 0.85);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(154, 118, 40, 0.32),
    0 1px 0 rgba(255, 236, 190, 0.45) inset;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
}
.btn-packs-cta:hover,
.btn-packs-cta:focus-visible {
  color: #1a150c;
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(154, 118, 40, 0.4),
    0 1px 0 rgba(255, 236, 190, 0.55) inset;
}
.btn-packs-cta-arr {
  display: inline-block;
  font-size: 1.05em;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-packs-cta:hover .btn-packs-cta-arr,
.btn-packs-cta:focus-visible .btn-packs-cta-arr {
  transform: translateX(5px);
}
@media (prefers-reduced-motion: reduce) {
  .packs-cta-panel::before {
    animation: none;
  }
  .btn-packs-cta,
  .btn-packs-cta-arr {
    transition: none;
  }
}

/* Home page — View All Product Packs (distinct from products page CTA) */
.home-packs-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-packs-cta-rule {
  width: min(100%, 7.5rem);
  height: 1px;
  margin-bottom: 1.35rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(154, 118, 40, 0.65) 50%,
    transparent 100%
  );
}
.home-packs-cta-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
}
.btn-home-packs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2.15rem;
  background: linear-gradient(135deg, #c4a055 0%, #9a7628 48%, #b8913f 100%);
  color: #241c0d;
  border: 1px solid rgba(154, 118, 40, 0.9);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 10px 28px rgba(154, 118, 40, 0.35),
    0 1px 0 rgba(255, 236, 190, 0.5) inset;
  transition:
    filter 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-home-packs:hover,
.btn-home-packs:focus-visible {
  color: #1a150c;
  filter: brightness(1.08);
  box-shadow:
    0 16px 36px rgba(154, 118, 40, 0.42),
    0 1px 0 rgba(255, 236, 190, 0.6) inset;
  transform: translateY(-3px);
}
.btn-home-packs-arr {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-home-packs:hover .btn-home-packs-arr,
.btn-home-packs:focus-visible .btn-home-packs-arr {
  transform: translateX(5px);
}
@media (prefers-reduced-motion: reduce) {
  .btn-home-packs,
  .btn-home-packs-arr {
    transition: none;
  }
}
