/* ============================================================
   Uncle Joe Foods — Global Stylesheet
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Editorial palette: cream + deep forest + terracotta */
  --clr-cream:        #F6F1E7;
  --clr-cream-dk:     #EFE7D4;
  --clr-paper:        #FFFFFF;
  --clr-forest:       #1B3B1A;
  --clr-forest-dk:    #0E1F0D;
  --clr-forest-lt:    #2E7D32;
  --clr-terracotta:   #C75D2C;
  --clr-terracotta-lt:#E37A47;

  --clr-primary:    var(--clr-forest);
  --clr-primary-dk: var(--clr-forest-dk);
  --clr-primary-lt: var(--clr-forest-lt);
  --clr-accent:     var(--clr-terracotta);
  --clr-accent-lt:  var(--clr-terracotta-lt);

  --clr-text:       var(--clr-forest);
  --clr-text-muted: #6B6358;
  --clr-bg:         var(--clr-cream);
  --clr-bg-light:   var(--clr-cream-dk);
  --clr-bg-dark:    var(--clr-forest-dk);
  --clr-border:     #E8DFCB;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(27,59,26,.08);
  --shadow-md: 0 8px 32px rgba(27,59,26,.10);
  --shadow-lg: 0 20px 60px rgba(27,59,26,.16);

  --radius:    10px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --max-w:     1240px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-apple:    cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition: .35s var(--ease-apple);
}

/* ── View Transitions API (cross-page fades, Chromium) ──── */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: .35s;
  animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ── Initial page-load fade ─────────────────────────────── */
@keyframes ujfPageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: ujfPageFadeIn .5s var(--ease-out-expo) both;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--clr-accent); color: #fff; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.08;
  color: var(--clr-text);
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.05rem; }

.display-1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 9.5vw, 7rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 700;
  color: var(--clr-text);
}
.display-1 em {
  font-style: italic;
  color: var(--clr-accent);
  font-weight: 600;
}

p { margin-bottom: 1rem; color: var(--clr-text-muted); }
p:last-child { margin-bottom: 0; }

/* ── Utility ─────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.section { padding: 120px 0; }
.section--dark {
  background: var(--clr-bg-dark);
  color: #fff;
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: #fff; }
.section--light { background: var(--clr-bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 720px;
  margin-inline: auto;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .9rem;
}
.section--dark .section-header .eyebrow { color: #a5d6a7; }

.section-header h2 { margin-bottom: 1rem; }
.section-header p  { max-width: 600px; margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover  { transform: translateY(-2px); }
.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-dk);
  border-color: var(--clr-primary-dk);
}
.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--clr-primary-dk);
}
.btn-accent {
  background: var(--clr-accent);
  color: #fff;
  border-color: var(--clr-accent);
}
.btn-accent:hover {
  background: var(--clr-accent-lt);
  border-color: var(--clr-accent-lt);
}

/* ── Header / Nav ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 241, 231, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img {
  /* Round badge icon — crop to top portion to show character art,
     hiding "YAM CHIPS" baked-in text from the lower part of the source. */
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: .95rem;
  color: var(--clr-text);
  position: relative;
  transition: color var(--transition);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-primary);
  transition: width var(--transition);
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active { color: var(--clr-primary); }
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { width: 100%; }
.nav-links .btn {
  margin-left: .5rem;
  padding: .55rem 1.2rem;
  font-size: .88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero (full-bleed editorial with text overlay) ───────── */
.hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 80% 10%, var(--clr-paper) 0%, var(--clr-cream) 55%, var(--clr-cream-dk) 100%);
  padding: 120px 0 70px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

/* Decorative leaf accents in the corners */
.hero-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .5;
}
.hero-leaf--tr {
  top: 4%;
  right: -20px;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23B7CBA3'%3E%3Cpath d='M180 30c-50 5-95 35-120 80 30-10 55-5 80 10-25-30-15-65 40-90z'/%3E%3Cpath d='M150 90c-35 8-62 32-78 68 22-12 42-12 62-2-20-22-14-46 16-66z'/%3E%3C/g%3E%3C/svg%3E");
  transform: rotate(8deg);
}
.hero-leaf--bl {
  bottom: -40px;
  left: -40px;
  width: 170px;
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%23CDB9E6'%3E%3Cpath d='M20 170c50-5 95-35 120-80-30 10-55 5-80-10 25 30 15 65-40 90z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .3;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

/* Circular product visual */
.hero-figure {
  position: relative;
  justify-self: center;
  width: min(100%, 440px);
  aspect-ratio: 1;
  animation: heroFloat 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
.hero-figure-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, var(--clr-paper) 0%, var(--clr-cream) 70%, var(--clr-cream-dk) 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(27,59,26,.04);
}
.hero-figure picture,
.hero-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.hero-sprig {
  display: inline-flex;
  color: var(--clr-forest-lt);
  margin-bottom: .5rem;
}
.hero-content .eyebrow {
  display: block;
  color: var(--clr-text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}
.hero-content h1,
.hero-content .display-1 {
  color: var(--clr-forest);
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 1.04;
  white-space: nowrap;
  margin-bottom: 1.3rem;
}
.hero-content .display-1 em {
  color: var(--clr-terracotta);
  font-style: italic;
}
.hero-content p {
  color: var(--clr-text-muted);
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Ghost button — on the light hero */
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-forest);
}
.btn-ghost:hover {
  background: var(--clr-cream-dk);
  border-color: var(--clr-forest);
  color: var(--clr-forest);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

@media (max-width: 900px) {
  .hero { padding: 120px 0 70px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-figure { width: min(78%, 380px); order: -1; }
  .hero-content { max-width: 100%; margin-inline: auto; }
  .hero-content .display-1 { white-space: normal; font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sprig { display: none; }
  .hero-content p { font-size: 1.05rem; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-leaf--tr { width: 180px; height: 180px; }
  .hero-leaf--bl { display: none; }
}

/* ── Products Grid ───────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--clr-border);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }

.product-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--clr-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 50px;
}

.product-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__category {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: .4rem;
}
.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: .6rem;
  color: var(--clr-text);
}
.product-card__desc {
  font-size: .88rem;
  color: var(--clr-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.product-card__weight {
  font-size: .82rem;
  background: var(--clr-bg-light);
  color: var(--clr-primary-dk);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-weight: 600;
}
.product-card__inquiry {
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.product-card__inquiry:hover { color: var(--clr-accent); }

/* ── Filter Tabs ─────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-tab {
  padding: .55rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(27, 59, 26, .14);
  background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.25));
  box-shadow: 0 8px 18px rgba(27, 59, 26, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--clr-primary-dk);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.filter-tab:hover {
  border-color: rgba(27, 59, 26, .3);
  box-shadow: 0 10px 22px rgba(27, 59, 26, .14);
}
.filter-tab.active {
  border-color: var(--clr-primary);
  background: linear-gradient(160deg, var(--clr-forest-lt), var(--clr-primary));
  color: #fff;
}

/* ── Why Choose Us / Features (color-block cards) ──────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
  padding-top: 8px;
}
.feature-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card__top {
  position: relative;
  padding: 22px 20px 22px;
  color: #fff;
}
.feature-card__top h3 {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 4px;
}
.feature-card__sub {
  display: block;
  font-size: .8rem;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .02em;
  margin-bottom: 0;
  font-family: var(--font-body);
}
.feature-card__icon {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin: 14px auto -110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.feature-card__icon picture,
.feature-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.feature-card__body {
  padding: 124px 20px 24px;
  color: var(--clr-text-muted);
}
.feature-card__body p {
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* Color variants */
.feature-card--green  .feature-card__top { background: var(--clr-primary); }
.feature-card--terra  .feature-card__top { background: var(--clr-primary); }
.feature-card--gold   .feature-card__top { background: var(--clr-primary); }
.feature-card--forest .feature-card__top { background: var(--clr-primary); }

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }
}

/* ── About Strip ─────────────────────────────────────────── */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.about-strip__img {
  overflow: hidden;
}
.about-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-strip__content {
  background: var(--clr-bg-dark);
  color: #fff;
  padding: 60px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.about-strip__content h2 { color: #fff; }
.about-strip__content p  { color: rgba(255,255,255,.82); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.testimonial-card__stars { color: #fdd835; font-size: 1rem; margin-bottom: 12px; }
.testimonial-card__text  { font-size: .95rem; color: rgba(255,255,255,.88); margin-bottom: 16px; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.testimonial-card__name   { font-weight: 700; color: #fff; font-size: .9rem; }
.testimonial-card__loc    { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 100%);
  padding: 70px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,.85); max-width: 500px; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--clr-primary-dk) 0%, var(--clr-primary) 100%);
  padding: 120px 0 100px;
  text-align: center;
  color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: .8rem; }
.page-hero p  { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 600px; margin-inline: auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ── Contact Page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.2rem; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 1.6rem;
}
.contact-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-primary);
}
.contact-item__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--clr-primary); margin-bottom: 2px; }
.contact-item__value { font-size: .95rem; color: var(--clr-text-muted); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--clr-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--clr-text);
  background: #fafafa;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clr-primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-primary);   /* forest green — on-brand */
  color: rgba(246, 241, 231, .72);  /* warm cream-tinted body */
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  /* subtle terracotta accent line at the very top */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--clr-accent, #C75D2C) 50%, transparent 100%);
  opacity: .6;
}

/* CTA strip */
.footer-cta {
  border-bottom: 1px solid rgba(246, 241, 231, .12);
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 70px 0;
  flex-wrap: wrap;
}
.footer-cta__eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, .55);
  margin: 0 0 .9rem;
}
.footer-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--clr-bg);
  margin: 0;
}
.footer-cta__title em {
  font-style: italic;
  color: #F4B26A; /* warm gold accent */
  font-weight: 600;
}
.footer-cta .btn-primary {
  background: var(--clr-bg);
  color: var(--clr-primary);
  border-color: var(--clr-bg);
}
.footer-cta .btn-primary:hover {
  background: #fff;
  color: var(--clr-primary-dk);
  border-color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(246, 241, 231, .12);
}

/* Footer brand: round badge + wordmark, matching nav */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  background: rgba(246, 241, 231, .08);
}
.footer-logo span {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-bg);
  white-space: nowrap;
  letter-spacing: -.005em;
}

.footer-brand p {
  font-size: .92rem;
  line-height: 1.75;
  max-width: 320px;
  color: rgba(246, 241, 231, .68);
}

.footer-col h4 {
  color: var(--clr-bg);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-transform: none;
  margin-bottom: 20px;
}
.footer-col ul    { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a  {
  font-size: .92rem;
  color: rgba(246, 241, 231, .68);
  transition: color var(--transition), padding-left var(--transition);
  position: relative;
}
.footer-col ul a:hover {
  color: var(--clr-bg);
  padding-left: 6px;
}

.social-links { display: flex; gap: 10px; margin-top: 22px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(246, 241, 231, .08);
  border: 1px solid rgba(246, 241, 231, .14);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(246, 241, 231, .85);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.social-link:hover {
  background: var(--clr-bg);
  color: var(--clr-primary);
  border-color: var(--clr-bg);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
  color: rgba(246, 241, 231, .5);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Nav logo wordmark ───────────────────────────────────── */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-primary-dk);
  line-height: 1;
  letter-spacing: -.005em;
  white-space: nowrap;
}

/* ── Benefits / Offerings (glassmorphism fan) ───────────── */
.section--benefits {
  position: relative;
  background:
    radial-gradient(120% 120% at 50% 0%, #2E5A26 0%, var(--clr-forest) 55%, var(--clr-forest-dk) 100%);
  overflow: hidden;
}
.section--benefits .section-header .eyebrow { color: var(--clr-accent-lt); }
.section--benefits .section-header h2 { color: #fff; }
.section--benefits .section-header p { color: rgba(255, 255, 255, .8); }

.glass-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.glass-row .glass {
  position: relative;
  width: 200px;
  height: 240px;
  background: linear-gradient(#ffffff22, transparent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 0 18px 48px;
  transition: 0.5s;
  border-radius: 14px;
  margin: 0 -45px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: rotate(calc(var(--r) * 1deg));
}
.glass-row:hover .glass {
  transform: rotate(0deg);
  margin: 0 12px;
}
.glass-row .glass::before {
  content: attr(data-text);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  color: #fff;
  text-align: center;
}
.glass-row .glass__emoji {
  font-size: 2.8rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
}
.glass-row .glass__desc {
  font-size: .76rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(255, 255, 255, 0);
  margin: 0;
  transition: color 0.5s;
}
.glass-row:hover .glass__desc {
  color: rgba(255, 255, 255, .82);
}

@media (max-width: 1100px) {
  .glass-row { gap: 16px; }
  .glass-row .glass { margin: 8px; transform: rotate(0deg); }
  .glass-row:hover .glass { margin: 8px; }
  .glass-row .glass__desc { color: rgba(255, 255, 255, .82); }
}
@media (max-width: 600px) {
  .glass-row .glass { width: 220px; height: 230px; }
}

/* ── Review cards (centered 3-up) ────────────────────────── */
.reviews-grid {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin-inline: auto;
}
.review-card {
  position: relative;
  width: 300px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 -40px;
  transform: rotate(calc(var(--r) * 1deg));
}
.reviews-grid:hover .review-card {
  transform: rotate(0deg);
  margin: 0 14px;
}
@media (max-width: 1000px) {
  .reviews-grid { flex-wrap: wrap; gap: 18px; }
  .review-card,
  .reviews-grid:hover .review-card { margin: 9px; transform: rotate(0deg); }
}
.review-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.review-card__product { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #a5d6a7; background: rgba(255,255,255,.15); padding: .2rem .7rem; border-radius: 50px; }
.review-card__stars { color: #f9a825; font-size: .95rem; white-space: nowrap; }
.review-card__text { font-size: .92rem; color: rgba(255,255,255,.85); font-style: italic; line-height: 1.65; }
.review-card__author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-card__avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: #fff; flex-shrink: 0; }
.review-card__name { font-weight: 700; font-size: .88rem; color: #fff; }
.review-card__verified { font-size: .75rem; color: #a5d6a7; }

/* ── Partner page ────────────────────────────────────────── */
.partner-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  gap: 24px;
  justify-content: center;
}
.partner-type-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.partner-type-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.partner-type-card__icon { font-size: 2.5rem; margin-bottom: 14px; }
.partner-type-card h3 { margin-bottom: .6rem; }
.partner-type-card p  { font-size: .9rem; }
.partner-type-card .btn { margin-top: 1.2rem; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
/* Connector line aligned to the centres of the 3 step circles.
   Each card occupies 33.33% of the grid; centre of the first card
   sits at 16.66%, centre of the last sits at 83.33%. The line
   stretches from one centre to the other, sitting behind the
   step circles (z-index 0 vs the circles' implicit z-index 1). */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;            /* aligns with vertical centre of 56px step circle */
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--clr-border);
  z-index: 0;
}
.step-card {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-card__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(46,125,50,.35);
}
.step-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.step-card p  { font-size: .88rem; }

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
}

/* ── Scroll-reveal fade ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  background: var(--clr-bg);
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 1.6rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: ujfMarquee 40s linear infinite;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.8vw, 2rem);
  color: var(--clr-primary);
  white-space: nowrap;
  font-style: italic;
}
.marquee__track > span { padding-right: 2rem; }
.marquee__track > span > span.dot {
  color: var(--clr-accent);
  margin: 0 .5rem;
  font-style: normal;
}
@keyframes ujfMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Bento product grid (home) ──────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 1rem;
}
.bento-grid > .bento-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.bento-grid > .bento-card:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.bento-grid > .bento-card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.bento-grid > .bento-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-paper);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  isolation: isolate;
  display: block;
}
.bento-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.bento-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
  z-index: -2;
}
.bento-card:hover > img { transform: scale(1.05); }
.bento-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(14,31,13,.78) 100%);
  z-index: -1;
}
.bento-card__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--clr-paper);
  color: var(--clr-primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 50px;
  z-index: 1;
}
.bento-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1.6rem 1.5rem;
  color: #fff;
}
.bento-card__category {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  margin-bottom: .4rem;
}
.bento-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: #fff;
  margin-bottom: .6rem;
  line-height: 1.15;
}
.bento-card--lg h3 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.bento-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
  transition: gap var(--transition), border-color var(--transition);
}
.bento-card__cta:hover { gap: .7rem; border-color: #fff; }

@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .bento-grid > .bento-card:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .bento-grid > .bento-card:nth-child(2) { grid-column: span 2; }
  .bento-grid > .bento-card:nth-child(3) { grid-column: span 1; }
  .bento-grid > .bento-card:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .bento-grid > .bento-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* ── Sticky-scroll storytelling ─────────────────────────── */
.sticky-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.sticky-story__visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sticky-story__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sticky-story__text > article {
  min-height: 70vh;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--clr-border);
}
.sticky-story__text > article:last-child { border-bottom: none; }
.sticky-story__text h2 { margin-bottom: 1.2rem; }
.sticky-story__text p { font-size: 1.05rem; max-width: 480px; }
.sticky-story__text .eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.1rem;
}
@media (max-width: 900px) {
  .sticky-story__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sticky-story__visual { position: relative; top: 0; aspect-ratio: 1 / 1; }
  .sticky-story__text > article { min-height: auto; padding: 2rem 0; }
}

/* ── Magnetic CTA ───────────────────────────────────────── */
.btn-magnetic {
  will-change: transform;
  transition: transform .35s var(--ease-out-expo),
              background var(--transition),
              border-color var(--transition),
              color var(--transition);
}
.btn-magnetic:hover { transform: none; }

/* Buttons: refine for new palette */
.btn { padding: .9rem 1.9rem; font-size: .95rem; }
.btn-outline { background: transparent; color: var(--clr-primary); border-color: var(--clr-primary); }
.btn-outline:hover { background: var(--clr-primary); color: var(--clr-bg); }

/* ── Reduced-motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transition: none; }
  .marquee__track { animation: none; }
  body { animation: none; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip__img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; background: var(--clr-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--shadow-md); padding: 1rem 0; border-bottom: 1px solid var(--clr-border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 5%; border-bottom: 1px solid var(--clr-border); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin: 1rem 5%; display: inline-flex; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .about-strip__content { padding: 40px 5%; }
}
