/* =============================================================
   CAROLINA CRISPS — style.css
   All brand colors live in :root — change them to rebrand fast.
   ============================================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--dark-brown);
  background: var(--ivory);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }

/* ---- Design Tokens (rebrand here) ---- */
:root {
  --yellow:        #B85A4A;    /* Clay Red — accents, highlights */
  --teal:          #003366;    /* Indigo Blue — hero, major sections */
  --dark-brown:    #111111;    /* Near-black ink */
  --ivory:         #F7F3ED;    /* Ivory surfaces */
  --white:         #FFFFFF;
  --nav-height:    130px;
  --ann-height:    53px;
  --radius-lg:     24px;
  --radius-md:     16px;
  --radius-sm:     12px;
  --radius-pill:   50px;
  --max-w:         1408px;
  --side-pad:      19px;
}


/* ---- Shared display heading style (Lilita One customizations) ---- */
.hero-line-1, .hero-line-2, .section-title, .marquee-text,
.benefit-title, .spotlight-title, .social-heading, .footer-subscribe-title {
  letter-spacing: -0.01em;
  -webkit-text-stroke: 0.6px currentColor;
  line-height: 1.15;
}

/* ================================================================
   ANNOUNCEMENT BAR
   ================================================================ */
.announcement-bar {
  background: var(--yellow);
  height: var(--ann-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker 60s linear infinite;
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.ann-dot { font-size: 16px; padding: 0 48px; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ivory);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-evenly;
}
.nav-right { justify-content: space-evenly; }

/* Nav links */
.nav-link {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
  font-size: 25px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  transition: opacity 150ms ease-out;
  white-space: nowrap;
}
.nav-link:hover { opacity: 0.6; }
.chevron { font-size: 9px; margin-left: 3px; }

/* Dropdown */
.dropdown-wrapper { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 150ms ease-out, transform 150ms ease-out;
  z-index: 100;
}
.dropdown-wrapper:hover .dropdown-menu,
.dropdown-wrapper.open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-brown);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 150ms ease-out;
}
.dropdown-menu a:hover { background: rgba(168,79,69,0.1); }

/* Logo */
.nav-logo { flex: 0 0 auto; margin: 0 40px; }
.logo-img {
  height: 115px;
  width: auto;
  display: block;
}

/* Cart icon */
.nav-cart { display: flex; align-items: center; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-brown);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 12px 24px 20px;
}
.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-weight: 800;
  font-size: 14px;
  color: var(--dark-brown);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-menu.open { display: flex; }


/* ================================================================
   HERO
   ================================================================ */
.hero {
  padding: 18px var(--side-pad) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-inner {
  background: #003366;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 72px 72px 72px;
  min-height: 748px;
  overflow: hidden;
  position: relative;
}
.hero-content {
  flex: 0 0 auto;
  max-width: 540px;
  z-index: 2;
}
.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}
.hero-line-1 {
  font-family: 'Lilita One', cursive;
  font-size: clamp(42px, 5.47vw, 79px);
  color: var(--white);
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  transform: scaleX(0.91);
  transform-origin: left center;
}
.hero-line-2 {
  font-family: 'Lilita One', cursive;
  font-size: clamp(42px, 5.47vw, 79px);
  color: var(--white);
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  transform: scaleX(0.91);
  transform-origin: left center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out, opacity 150ms ease-out;
  border: none;
}
.btn:hover { opacity: 0.88; }
.btn-dark { background: var(--dark-brown); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); font-family: 'Lilita One', cursive; }
.btn-hero { display: block; width: 75%; padding-top: 32px; padding-bottom: 32px; margin: 0 auto; text-align: center; font-size: 25px; }

/* Hero product bag */
.hero-image-wrap {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  align-self: stretch;
}
.hero-bag-img {
  width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.28));
}
/* Flat heat-seal top */
.bag-seal {
  background: #001f40;
  height: 120px;
  position: relative;
  border-bottom: 1.5px solid rgba(255,255,255,0.1);
}
/* Tear notches at top corners */
.bag-notch {
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
}
.bag-notch-l {
  left: 0;
  border-top: 22px solid #E4CFAD;
  border-right: 15px solid transparent;
}
.bag-notch-r {
  right: 0;
  border-top: 22px solid #E4CFAD;
  border-left: 15px solid transparent;
}
/* Zipper strip */
.bag-zipper {
  height: 22px;
  background: linear-gradient(180deg, #003a80 0%, #00254d 50%, #003a80 100%);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.bag-body {
  background: linear-gradient(170deg, #004590 0%, #003366 60%, #002952 100%);
  padding: 52px 36px 44px;
  text-align: center;
}
.bag-tagline {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.bag-brand {
  font-family: 'Lilita One', cursive;
  font-size: 68px;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.bag-sub {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
/* Bottom gusset */
.bag-gusset {
  height: 50px;
  background: linear-gradient(180deg, #002040 0%, #001530 100%);
  border-top: 1.5px solid rgba(255,255,255,0.08);
}
.hero-platform { display: none; }
.hero-mascot-sign { display: none; }


/* ================================================================
   CERTIFICATIONS
   ================================================================ */
.certifications {
  padding: 100px var(--side-pad);
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-page-wrap ~ .certifications {
  padding-top: 52px;
}
.cert-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gf-circle-badge {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Lilita One', cursive;
  font-size: 30px;
  line-height: 1.25;
  flex-shrink: 0;
}
.cert-icon {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  display: block;
}
.cert-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-brown);
  opacity: 0.65;
  text-align: center;
}


/* ================================================================
   GRAIN ORIGIN CARD (product pages)
   ================================================================ */
.grain-card-section {
  padding: 0 var(--side-pad) 100px;
}
.grain-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2.5px solid var(--teal);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 400px;
}
.grain-card-left {
  background: var(--teal);
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  color: #fff;
  position: relative;
}
.grain-card-right {
  background: #fff;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.grain-eyebrow {
  font-family: 'Lilita One', cursive;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F5C87A;
  margin-bottom: 12px;
}
.grain-card-left .grain-heading {
  font-family: 'Lilita One', cursive;
  font-size: clamp(22px, 2.6vw, 34px);
  color: #fff;
  line-height: 1.15;
  margin: 16px 0 12px;
}
.grain-card-right .grain-heading {
  font-family: 'Lilita One', cursive;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 0;
}
.grain-left-body {
  display: flex;
  align-items: center;
  gap: 24px;
}
.grain-left-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.grain-left-text {
  display: flex;
  flex-direction: column;
}
.grain-origin-map {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -40px;
}
.sc-state-img {
  width: 300px;
  height: auto;
  object-fit: contain;
}
.grain-map-dot {
  position: absolute;
  bottom: 28%;
  right: 28%;
  width: 10px;
  height: 10px;
  background: #F5C87A;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245,200,122,0.35);
}
.grain-map-label {
  position: absolute;
  bottom: calc(28% - 18px);
  right: calc(28% - 30px);
  font-family: 'Nunito', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #F5C87A;
  white-space: nowrap;
}
.grain-locations {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.grain-locations li {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}
.grain-locations li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F5C87A;
  flex-shrink: 0;
}
.grain-farmer-note {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  font-style: italic;
  margin-top: 0;
}
.grain-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.grain-bullets li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--dark-brown);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.grain-bullets li::before {
  content: '•';
  font-size: 22px;
  color: var(--teal);
  line-height: 1.2;
  flex-shrink: 0;
}
.grain-bullets li strong {
  color: var(--dark-brown);
}
.grain-card-right-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.grain-rice-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .grain-card {
    grid-template-columns: 1fr;
  }
  .grain-card-right {
    padding: 36px 28px;
  }
}


/* ================================================================
   FEATURED PRODUCTS
   ================================================================ */
.featured-products {
  padding: 0 var(--side-pad) 130px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.products-container {
  background: #003366;
  border-radius: var(--radius-lg);
  padding: 62px 80px 84px;
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0;
}
.featured-products .section-title {
  padding: 0 0 20px;
}
/* Products section text overrides for blue bg */
.products-container .section-title { color: var(--white); }
.products-container .view-all-link { color: var(--white); }
.products-container .view-all-arrow { border-color: var(--white); }
.products-container .carousel-btn { border-color: var(--white); color: var(--white); }
.products-container .carousel-btn:hover { background: var(--white); color: var(--teal); }
.products-container .carousel-progress { background: rgba(255,255,255,0.2); }
.products-container .progress-bar { background: var(--white); }
.section-title {
  font-family: 'Lilita One', cursive;
  font-size: clamp(32px, 4.14vw, 60px);
  color: var(--dark-brown);
  padding: 24px 0 40px;
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lilita One', cursive;
  font-size: 18px;
  color: var(--dark-brown);
  text-transform: lowercase;
  padding-bottom: 27px;
}
.view-all-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--dark-brown);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}

/* Products grid */
.products-carousel-wrap { position: relative; }
.products-carousel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.products-carousel::-webkit-scrollbar { display: none; }

a.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2.5px solid var(--white);
  overflow: hidden;
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
}
a.product-card-link:hover .product-card {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.product-card-top {
  position: relative;
  padding: 20px 16px;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  width: 165px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.pack-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  color: var(--dark-brown);
  font-size: 10px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.14);
  white-space: nowrap;
}
.new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--dark-brown);
  color: var(--yellow);
  font-family: 'Lilita One', cursive;
  font-size: 13px;
  border-radius: 8px;
  padding: 3px 10px;
  transform: rotate(5deg);
}
.product-card-bottom {
  padding: 14px 18px 6px;
}
.product-type-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.product-type {
  font-family: 'Lilita One', cursive;
  font-size: 21px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--teal);
}
.product-flavor {
  font-size: 13px;
  font-weight: 700;
  margin-top: 0;
}
.product-size {
  font-size: 13px;
  color: var(--dark-brown);
  white-space: nowrap;
  margin-left: 8px;
}

/* Carousel nav buttons */
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--dark-brown);
  background: transparent;
  color: var(--dark-brown);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--dark-brown);
  color: var(--white);
}

/* Carousel footer: progress bar + nav buttons */
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.carousel-progress {
  flex: 1;
  height: 3px;
  background: rgba(0,0,0,0.12);
  border-radius: 2px;
  margin-right: 16px;
}
.progress-bar {
  height: 100%;
  background: var(--dark-brown);
  border-radius: 2px;
  width: 25%;
  transition: width 0.3s;
}
.carousel-nav {
  display: flex;
  gap: 8px;
}


/* ================================================================
   MARQUEE BANNER
   ================================================================ */
.marquee-section {
  overflow: hidden;
  white-space: nowrap;
  padding: 48px 0;
  margin: 0 0 130px;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: marquee 34.4s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.marquee-text {
  font-family: 'Lilita One', cursive;
  font-size: clamp(90px, 13.5vw, 156px);
  color: var(--teal);
  text-transform: uppercase;
}
.marquee-icon { width: 90px; height: 90px; max-width: none; object-fit: contain; vertical-align: middle; }
.marquee-sep { display: inline-flex; align-items: center; color: var(--teal); font-size: 22px; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ================================================================
   BENEFITS
   ================================================================ */
.benefits {
  padding: 0 var(--side-pad) 154px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.benefits-container {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 80px;
  justify-content: center;
}
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.benefit-icon { margin-bottom: 20px; }
.benefit-title {
  font-family: 'Lilita One', cursive;
  font-size: 51px;
  color: var(--teal);
  margin-bottom: 14px;
  text-align: center;
  white-space: nowrap;
}
.benefit-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--teal);
  max-width: 280px;
}


/* ================================================================
   PRODUCT SPOTLIGHT
   ================================================================ */
.spotlight {
  padding: 0 var(--side-pad) 154px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.spotlight-container {
  display: grid;
  grid-template-columns: 830px 1fr;
  gap: 52px;
  align-items: center;
}

/* Left – image slider */
.spotlight-images {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.spotlight-slide { display: none; }
.spotlight-slide.active { display: block; }
.spotlight-img {
  width: 100%;
  height: 830px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.spotlight-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.dot-btn.active { background: var(--white); }

/* Right – info */
.spotlight-new {
  display: inline-block;
  margin-bottom: 14px;
  transform: rotate(-3deg);
  font-size: 14px;
}
.spotlight-title {
  font-family: 'Lilita One', cursive;
  font-size: clamp(42px, 5.47vw, 79px);
  color: var(--teal);
  margin-bottom: 12px;
}
.spotlight-subtitle {
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 24px;
}
.spotlight-product-card {
  border: 3px solid var(--teal);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 440px;
  height: 522px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}
.spc-top {
  position: relative;
  padding: 20px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.spc-img {
  width: 110px;
  height: auto;
  object-fit: contain;
}
.spc-bottom { padding: 10px 16px; background: var(--white); height: 78px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.spotlight-arrows { display: flex; gap: 12px; }
.circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.18);
  background: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--dark-brown);
}
.circle-btn:hover {
  border-color: var(--dark-brown);
  background: var(--dark-brown);
  color: var(--white);
}


/* ================================================================
   REVIEWS
   ================================================================ */
.reviews {
  padding: 0 var(--side-pad) 154px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.reviews-container {
  background: #003366;
  border-radius: var(--radius-lg);
  padding: 62px 80px 84px;
}
.reviews-container .section-title { margin-bottom: 28px; text-align: center; color: var(--white); }
/* Reviews overrides for blue bg */
.reviews-container .carousel-btn { border-color: var(--white); color: var(--white); }
.reviews-container .carousel-btn:hover { background: var(--white); color: var(--teal); }
.reviews-container .carousel-progress { background: rgba(255,255,255,0.2); }
.reviews-container .progress-bar { background: var(--white); }
.reviews-carousel-wrap { position: relative; }
.reviews-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 4px;
  max-width: 1082px;
  margin: 0 auto;
}
.reviews-carousel::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 350px;
  width: 350px;
  height: 350px;
  background: var(--white);
  border: 3px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 14px 28px 28px;
  scroll-snap-align: start;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  margin-top: -10px;
}
.review-card-left {
  display: flex;
  flex-direction: column;
}
.review-product-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: right;
}
.review-product-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.stars {
  color: var(--teal);
  font-size: 32px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}
.review-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}
.reviewer-name {
  font-weight: 800;
  font-size: 16px;
  color: var(--teal);
  margin-bottom: 0;
}
.review-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--teal);
  text-align: center;
  flex: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.review-link {
  font-size: 16px;
  font-weight: 800;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: lowercase;
  align-self: flex-start;
}


/* ================================================================
   VIDEO SECTION
   ================================================================ */
.video-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad) 154px;
}
.video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.video-poster {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0;
}
.play-btn:hover { opacity: 0.8; }
.brand-video {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}


/* ================================================================
   SOCIAL GRID
   ================================================================ */
.social-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--side-pad) 154px;
}
.social-heading {
  font-family: 'Lilita One', cursive;
  font-size: clamp(26px, 3.8vw, 50px);
  color: var(--teal);
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.social-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.social-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
}
.social-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 200ms ease-out;
}
.social-photo:hover img { filter: brightness(1.08); }


/* ================================================================
   CART DRAWER
   ================================================================ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 900;
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 90vw);
  height: 100vh;
  background: var(--ivory);
  border-radius: 24px 0 0 24px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0,51,102,0.1);
  background: var(--ivory);
  flex-shrink: 0;
}
.cart-drawer-title {
  font-family: 'Lilita One', cursive;
  font-size: 24px;
  color: var(--teal);
}
.cart-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--teal);
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background 0.15s;
}
.cart-drawer-close:hover { background: rgba(0,51,102,0.08); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.cart-empty-icon {
  width: 60px;
  height: 60px;
  opacity: 0.2;
  color: var(--teal);
  margin-bottom: 8px;
}
.cart-empty-title {
  font-family: 'Lilita One', cursive;
  font-size: 22px;
  color: var(--teal);
}
.cart-empty-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--teal);
  opacity: 0.5;
  text-align: center;
}

.cart-drawer-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(0,51,102,0.1);
  flex-shrink: 0;
}
.cart-drawer-shop-btn {
  display: block;
  width: 100%;
  background: var(--teal);
  color: #fff;
  font-family: 'Lilita One', cursive;
  font-size: 18px;
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: opacity 0.2s;
}
.cart-drawer-shop-btn:hover { opacity: 0.85; }

.cart-subtotal {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--teal);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,51,102,0.1);
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,51,102,0.08);
  width: 100%;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--teal);
  opacity: 1;
  font-weight: 700;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.cart-qty-btn, .cart-remove-btn {
  background: var(--teal);
  border: 1.5px solid var(--teal);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s;
}
.cart-qty-btn:hover, .cart-remove-btn:hover { opacity: 0.8; }
.cart-remove-btn { background: var(--teal); border-color: var(--teal); color: #fff; margin-left: 4px; }
.cart-remove-btn:hover { opacity: 0.8; }
.cart-qty-num {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  min-width: 20px;
  text-align: center;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--teal);
  padding: 48px var(--side-pad) 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 40px;
}
.footer-brand {
  justify-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.footer-logo-img {
  height: 132px;
  width: auto;
  display: block;
}
.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-icon {
  color: var(--ivory);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.social-icon:hover { opacity: 0.6; }
.footer-links-columns {
  display: flex;
  gap: 200px;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-group ul li { margin-bottom: 22px; }
.footer-links-group ul a {
  font-family: 'Lilita One', cursive;
  font-size: 25px;
  color: var(--ivory);
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
  text-decoration: none;
}
.footer-links-group ul a:hover { opacity: 0.7; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
}
.footer-copy {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-links a {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
  text-decoration: none;
}
.footer-bottom-links a + a::before {
  content: '|';
  margin: 0 10px;
  color: var(--ivory);
}


/* ================================================================
   FLOATING CTA
   ================================================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--dark-brown);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 300;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  transition: box-shadow 150ms ease-out;
}
.floating-cta:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.38);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .hero-inner { padding: 48px 40px 0; }
  .social-photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  /* Nav */
  .nav-left { display: none; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner {
    flex-direction: column;
    padding: 40px 28px 0;
    text-align: center;
    min-height: auto;
  }
  .hero-content { max-width: 100%; padding-bottom: 36px; }
  .hero-image-wrap { margin-top: 16px; min-width: unset; }
  .hero-mascot-sign { display: none; }

  /* Certifications */
  .cert-container { gap: 28px; }

  /* Benefits */
  .benefits-container { grid-template-columns: 1fr; gap: 40px; }

  /* Spotlight */
  .spotlight-container { grid-template-columns: 1fr; }
  .spotlight-img { height: 340px; }

  /* Reviews */
  .review-card { flex: 0 0 85%; min-width: 240px; }
  .reviews-container { padding: 32px 24px 24px; }

  /* Products */
  .products-carousel { grid-template-columns: repeat(2, 1fr); }
  .products-container { padding: 28px 24px 22px; }

  /* Footer */

  /* Video */
  .video-poster, .brand-video { height: 320px; }
}

@media (max-width: 540px) {
  .hero-inner { padding: 32px 20px 0; }
  .hero-line-1, .hero-line-2 { font-size: 30px; }
  .products-container, .reviews-container { padding: 22px 16px 18px; }
  .social-photos { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .video-poster, .brand-video { height: 220px; }
  .floating-cta { width: 64px; height: 64px; font-size: 11px; bottom: 20px; left: 20px; }
}


/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.product-page-wrap {
  background: var(--ivory);
  min-height: 100vh;
  padding: 32px var(--side-pad) 0;
}

.product-main-section {
  background: #003366;
  border-radius: var(--radius-lg);
  max-width: 1400px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px;
}

/* ── Gallery (left) ── */
.pd-gallery {}
.pd-main-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 14px;
  width: 594px;
  height: 420px;
}
.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pd-thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 285px);
  gap: 24px;
}
.pd-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 285px;
  height: 285px;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Info (right) ── */
.pd-info {
  padding: 0;
  position: sticky;
  top: calc(var(--nav-height) + var(--ann-height) + 24px);
  align-self: start;
}
.pd-type {
  font-family: 'Lilita One', cursive;
  font-size: clamp(38px, 4.5vw, 62px);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.pd-price {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.pd-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 22px;
}

/* Flavor selector */
.pd-flavor-select {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(61,26,22,0.2);
  border-radius: var(--radius-pill);
  padding: 11px 18px;
  margin-bottom: 20px;
  background: var(--white);
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-brown);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.pd-flavor-row {
  position: relative;
  margin-bottom: 20px;
}
.pd-flavor-row select {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(61,26,22,0.2);
  border-radius: var(--radius-pill);
  padding: 11px 44px 11px 18px;
  background: var(--white);
  width: 100%;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-brown);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.pd-flavor-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 13px;
  color: var(--dark-brown);
}
.pd-flavor-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* Qty + Cart */
.pd-action-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}
.pd-qty {
  display: flex;
  align-items: center;
  border: 2.5px solid var(--teal);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: var(--white);
}
.pd-qty-btn {
  width: 42px;
  height: 48px;
  background: transparent;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  cursor: pointer;
  line-height: 1;
}
.pd-qty-num {
  width: 36px;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--teal);
}
.pd-btn-cart {
  flex: 1;
  background: var(--teal);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.pd-btn-cart:hover { opacity: 0.85; }

.pd-btn-amazon {
  display: block;
  width: 100%;
  background: var(--yellow);
  color: var(--dark-brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  margin-bottom: 28px;
  text-align: center;
  transition: opacity 0.2s;
}
.pd-btn-amazon:hover { opacity: 0.85; }

/* Accordions */
.pd-accordion-item {
  border-top: none;
  padding: 16px 0;
}
.pd-accordion-item + .pd-accordion-item { border-top: 2px solid var(--teal); }
.pd-accordion-item:last-child { border-bottom: 2px solid var(--teal); }
.pd-accordion-toggle {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lilita One', cursive;
  font-size: 20px;
  color: var(--teal);
  cursor: pointer;
  letter-spacing: 0.03em;
}
.pd-accordion-body {
  display: none;
  padding-top: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  color: var(--teal);
  line-height: 1.7;
}
.pd-accordion-body.open { display: block; }

/* You might also like */
.pd-also-like { margin-top: 28px; }
.pd-also-like-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-brown);
}
.pd-also-arrows { display: flex; gap: 8px; }
.pd-also-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(61,26,22,0.25);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--dark-brown);
}
.pd-also-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.pd-also-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.pd-also-info { flex: 1; min-width: 0; }
.pd-also-type {
  font-family: 'Lilita One', cursive;
  font-size: 14px;
  color: var(--dark-brown);
}
.pd-also-flavor {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: #888;
}
.pd-also-pack {
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  color: #aaa;
}
.pd-also-btns { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.pd-also-btn {
  background: var(--dark-brown);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* ── Certifications ── */
.pd-cert-section {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.pd-cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-brown);
  text-align: center;
}
.pd-cert-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.pd-cert-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2.5px solid var(--dark-brown);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 10px;
  color: var(--dark-brown);
  line-height: 1.3;
  padding: 6px;
  flex-shrink: 0;
}

/* ── Non-GMO Seal ── */
.pd-cert-nongmo {
  width: 90px;
  height: 90px;
  position: relative;
  flex-shrink: 0;
}
.pd-cert-nongmo svg {
  width: 100%;
  height: 100%;
}
  font-weight: 900;
  font-size: 10px;
  color: var(--dark-brown);
  line-height: 1.3;
  padding: 6px;
  flex-shrink: 0;
}

/* ── Benefits section ── */
.pd-benefits-section {
  max-width: 1400px;
  margin: 0 auto 60px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 800px;
  gap: 40px;
  overflow: hidden;
  align-items: center;
  padding: 48px;
}
.pd-benefits-list { display: flex; flex-direction: column; gap: 18px; }
.pd-benefit-card {
  background: var(--yellow);
  border: 2.5px solid var(--dark-brown);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 400px;
  height: 170px;
}
.pd-benefit-title {
  font-family: 'Lilita One', cursive;
  font-size: 20px;
  color: var(--dark-brown);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.pd-benefit-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--dark-brown);
  line-height: 1.5;
}
.pd-benefit-check {
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--dark-brown);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: var(--dark-brown);
}
.pd-benefits-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.pd-benefits-visual img {
  width: 800px;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}
}


/* ================================================================
   MOTION SYSTEM
   ================================================================ */

/* -- Page fade-in -- */
body { animation: pageFadeIn 300ms ease-out both; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* -- Scroll reveal -- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* -- Hero stagger reveal -- */
.hero-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -- Reduced motion override -- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .hero-reveal,
  [data-anim] {
    opacity: 1;
    transform: none;
  }
}


/* ================================================================
   DATA-ANIM SYSTEM
   Each variant is self-contained with its own transition shorthand.
   IMPORTANT: Any element with [data-anim] that also has its own
   transition: shorthand must include opacity & transform in that list,
   otherwise the shorthand will override and kill the animation.
   ================================================================ */

/* Base: will-change is applied/removed by IntersectionObserver in JS */
[data-anim] {}

/* Variants — hidden state + full self-contained transition */
[data-anim="fade-up"] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-anim="fade-up-slow"] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-anim="fade-up-photo"] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-anim="fade-left"] {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-anim="fade-right"] {
  opacity: 0; transform: translateX(36px);
  transition: opacity 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-anim="pop-left"] {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 242ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 242ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visible state — everything settles */
[data-anim].visible { opacity: 1; transform: none; }

/* Stagger delays */
[data-delay="80"]   { transition-delay: 80ms; }
[data-delay="100"]  { transition-delay: 100ms; }
[data-delay="120"]  { transition-delay: 120ms; }
[data-delay="150"]  { transition-delay: 150ms; }
[data-delay="160"]  { transition-delay: 160ms; }
[data-delay="200"]  { transition-delay: 200ms; }
[data-delay="240"]  { transition-delay: 240ms; }
[data-delay="300"]  { transition-delay: 300ms; }
[data-delay="320"]  { transition-delay: 320ms; }
[data-delay="400"]  { transition-delay: 400ms; }
[data-delay="480"]  { transition-delay: 480ms; }
[data-delay="600"]  { transition-delay: 600ms; }
[data-delay="800"]  { transition-delay: 800ms; }
[data-delay="900"]  { transition-delay: 900ms; }
[data-delay="1000"] { transition-delay: 1000ms; }
[data-delay="1200"] { transition-delay: 1200ms; }
[data-delay="1500"] { transition-delay: 1500ms; }

