/* =========================================================================
   Surya Sakhi — design tokens
   Palette pulled from the logo: deep forest leaf-green, sun gold, a warm
   clay/turmeric accent for the product world, a sand paper background
   (like dried produce and jute), and near-black ink for text.
   ========================================================================= */

:root {
  --forest: #176B4D;
  --forest-deep: #0B3D2B;
  --forest-light: #2E8B67;
  --gold: #F08DAA;
  --gold-soft: #FFD4E1;
  --clay: #D94F7A;
  --sand: #FAFFF9;
  --sand-deep: #E8F7E8;
  --ink: #173229;
  --leaf: #A8D5A2;
  --pink: #F08DAA;
  --pink-deep: #C93D6B;
  --pink-soft: #FFF0F5;
  --mint: #DDF3DE;
  --white: #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --radius: 22px;
  --shadow-soft: 0 18px 50px rgba(11, 61, 43, 0.10);
  --shadow-lift: 0 24px 60px rgba(11, 61, 43, 0.16);
  --max-width: 1180px;
}

/* Compact Our Story media gallery --------------------------------------- */
.story-video-feature {
  max-width: 560px;
  margin-bottom: 18px;
  border-radius: 16px;
}

.story-video-grid {
  max-width: 520px;
  gap: 14px;
}

.story-video-card,
.story-photo {
  border-radius: 14px;
}

.story-photo-heading {
  margin-top: 48px;
}

.story-photo-grid {
  max-width: 760px;
  gap: 12px;
}

@media (max-width: 760px) {
  .story-video-feature {
    width: 92%;
    max-width: 460px;
  }

  .story-video-grid {
    width: 82%;
    max-width: 330px;
    gap: 12px;
  }

  .story-photo-grid {
    width: 92%;
    max-width: 520px;
    gap: 10px;
  }
}

/* Product search and filters --------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 170px auto auto;
  align-items: end;
  gap: 12px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(23,107,77,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 34px rgba(11,61,43,.06);
}

.product-search-field {
  position: relative;
}

.product-search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.8;
  stroke-linecap: round;
  pointer-events: none;
}

.product-search-field input,
.product-filter-field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23,107,77,.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.product-search-field input {
  padding: 10px 15px 10px 44px;
}

.product-filter-field {
  display: grid;
  gap: 6px;
}

.product-filter-field span {
  padding-left: 2px;
  color: rgba(23,50,41,.68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.product-filter-field select {
  padding: 9px 34px 9px 12px;
  cursor: pointer;
}

.product-search-field input:focus,
.product-filter-field select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23,107,77,.09);
}

.product-filter-button {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--forest-deep);
  border-radius: 12px;
  background: var(--forest-deep);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.product-filter-button:hover {
  background: var(--forest);
  border-color: var(--forest);
}

.product-filter-clear {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  color: var(--pink-deep);
  font-weight: 800;
}

.product-results-line {
  margin: -22px 0 24px;
  color: rgba(23,50,41,.68);
  font-size: .9rem;
}

.product-results-line strong {
  color: var(--forest-deep);
}

.product-results-line span {
  margin-left: 4px;
}

@media (max-width: 640px) {
  .product-search-panel {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .product-search-field {
    grid-column: 1 / -1;
  }

  .product-filter-button,
  .product-filter-clear {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 980px) {
  .product-search-panel {
    grid-template-columns: minmax(240px, 1fr) 1fr 1fr;
  }

  .product-search-field {
    grid-column: 1 / -1;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 92% 25%, rgba(168,213,162,.18), transparent 30rem);
}

::selection { background: var(--pink); color: var(--white); }

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.6em;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-light); box-shadow: var(--shadow-soft); }

.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 10px 24px rgba(244,168,29,0.35); }

.btn-outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Header ------------------------------------------------------------------ */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 24px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { width: 72px; height: 72px; object-fit: contain; transform: scale(1.45); transform-origin: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.65rem; color: var(--forest-deep); }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { color: var(--ink); padding: 6px 0; position: relative; }
.main-nav a:hover { color: var(--forest); }
.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-badge {
  background: var(--clay);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 7px;
}

.nav-toggle-input { display: none; }
.nav-toggle-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle-btn span { width: 26px; height: 3px; background: var(--forest-deep); border-radius: 2px; }

/* Messages ---------------------------------------------------------------- */

.messages { margin-top: 18px; }
.alert {
  padding: 12px 18px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  font-weight: 500;
}
.alert-success { background: #E5F3E8; color: var(--forest-deep); border: 1px solid var(--leaf); }
.alert-info { background: #EFF6FB; color: #1c4964; border: 1px solid #a9d0e8; }
.alert-warning { background: #FFF4E0; color: #7a4a06; border: 1px solid var(--gold); }
.alert-error { background: #FCEAE6; color: #7a2412; border: 1px solid var(--clay); }

/* =========================================================================
   Signature motif: the solar lattice + sun-rule
   Echoes the diagonal solar-panel grid and sunburst from the logo itself.
   ========================================================================= */

.sun-rule {
  height: 14px;
  margin: 0 auto;
  background-image: repeating-linear-gradient(
    115deg, var(--gold) 0 2px, transparent 2px 22px
  );
  opacity: 0.9;
}

.lattice-band {
  position: relative;
  background: var(--forest-deep);
  background-image:
    repeating-linear-gradient(45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
  padding: 64px 0 40px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
}
.hero .lede {
  font-size: 1.15rem;
  color: #3c4536;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  background: var(--forest-deep);
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(45deg, rgba(244,168,29,0.16) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(-45deg, rgba(244,168,29,0.16) 0 2px, transparent 2px 28px);
  box-shadow: var(--shadow-soft);
}
.hero-visual img { width: 62%; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.35)); }

.village-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.village-pill {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
}

/* Impact stats -------------------------------------------------------------- */

.stats-band { background: var(--forest-deep); padding: 65px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
}
.stat-label { color: var(--sand); font-size: 0.88rem; margin-top: 4px; }

/* Section shell -------------------------------------------------------------- */

.section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }

/* Process / drying line ------------------------------------------------------ */

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 18px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-soft);
}
.process-step .num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.process-step h4 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; color: #4a4f42; margin: 0; }

/* Mission list ---------------------------------------------------------------- */

.mission-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.vision-card {
  background: var(--forest-deep);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 36px 30px;
  background-image:
    repeating-linear-gradient(45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px);
}
.vision-card .eyebrow { color: var(--gold-soft); }
.vision-card h3 { color: var(--white); font-size: 1.4rem; }
.vision-card p { color: #d8e3d3; font-size: 1.02rem; }

.mission-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mission-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(27,77,46,0.06);
}
.mission-list .leaf-mark { color: var(--leaf); font-size: 1.2rem; line-height: 1.4; }

/* Product grid ------------------------------------------------------------------ */

.category-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.category-filters a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--sand-deep);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--white);
}
.category-filters a.active,
.category-filters a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); }

.product-art {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, var(--forest-light), var(--forest-deep));
}
.product-art img { width: 100%; height: 100%; object-fit: cover; }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.product-body h3 { font-size: 1.08rem; margin: 0; }
.product-village { font-size: 0.76rem; color: var(--clay); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.product-desc { font-size: 0.88rem; color: #4a4f42; flex-grow: 1; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--forest-deep); }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: #7a7f70; }

/* Product detail --------------------------------------------------------------- */

.product-detail-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.product-detail-art {
  border-radius: var(--radius);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 24px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.14) 0 2px, transparent 2px 24px),
    linear-gradient(160deg, var(--forest-light), var(--forest-deep));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.product-detail-art img { width: 100%; height: 100%; object-fit: cover; }

.qty-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.qty-row input {
  width: 64px; padding: 10px; text-align: center;
  border: 1px solid var(--sand-deep); border-radius: 8px; font-size: 1rem;
}

.related-strip { margin-top: 60px; }

/* Cart ---------------------------------------------------------------------------- */

.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.cart-table th { text-align: left; background: var(--sand-deep); padding: 14px 18px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--forest-deep); }
.cart-table td { padding: 16px 18px; border-bottom: 1px solid var(--sand-deep); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product .icon { font-size: 1.8rem; }
.cart-qty-form { display: flex; gap: 6px; align-items: center; }
.cart-qty-form input { width: 56px; padding: 6px; text-align: center; border: 1px solid var(--sand-deep); border-radius: 6px; }

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  margin-top: 26px;
  max-width: 380px;
  margin-left: auto;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid var(--sand-deep); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .big-icon { font-size: 3.5rem; margin-bottom: 12px; }

/* Checkout / forms ---------------------------------------------------------------- */

.checkout-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.form-card, .order-review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; margin-bottom: 6px; color: var(--forest-deep); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand-deep);
  border-radius: 10px; font-family: var(--font-body); font-size: 0.95rem;
  background: var(--sand);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field .errorlist { color: var(--clay); font-size: 0.82rem; margin: 4px 0 0; padding: 0; list-style: none; }

.order-review ul { list-style: none; padding: 0; margin: 0 0 14px; }
.order-review li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--sand-deep); font-size: 0.92rem; }

.secure-note { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #556154; margin-top: 14px; }

/* Contact -------------------------------------------------------------------------- */

.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
.contact-info-card {
  background: var(--forest-deep);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 32px;
  background-image:
    repeating-linear-gradient(45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px),
    repeating-linear-gradient(-45deg, rgba(244,168,29,0.10) 0 2px, transparent 2px 26px);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card .info-line { margin: 14px 0; display: flex; gap: 10px; }

/* Order success / failed ----------------------------------------------------------- */

.result-hero { text-align: center; padding: 80px 20px; }
.result-hero .icon-badge {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; margin: 0 auto 20px;
}
.icon-badge.success { background: #E5F3E8; }
.icon-badge.fail { background: #FCEAE6; }

/* Footer ------------------------------------------------------------------------------ */

.site-footer { background:  #13613391;; color: var(--sand); padding: 56px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand img { width: 56px; margin-bottom: 12px; }
.footer-tagline { color: #dfebda; font-size: 0.9rem; max-width: 30ch; }
.footer-col h4 { color: var(--gold-soft); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; color: #d8e3d3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; text-align: center; font-size: 0.8rem; color: #d7ebcf; }

/* Utility ------------------------------------------------------------------------------ */

.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }
.tag-pill { display: inline-block; background: var(--sand-deep); color: var(--forest); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }

/* Responsive ---------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner, .mission-wrap, .product-detail-wrap, .checkout-wrap, .contact-wrap {
    grid-template-columns: 1fr;
  }
  .process-line { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {

  .brand img {
  width: 58px;
  height: 58px;
  transform: scale(1.2);
  }

  .brand-text strong {
   font-size: 1.25rem;
 }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 14px;
    border-bottom: 1px solid var(--sand-deep);
  }
  .nav-toggle-btn { display: flex; }
  .nav-toggle-input:checked ~ .main-nav { display: flex; }
  .process-line, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* Premium botanical skin and motion ----------------------------------------- */
.site-header {
  background: rgba(248, 232, 245, 0.418);
  backdrop-filter: blur(18px);
}
.main-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; background:linear-gradient(90deg,var(--forest),var(--pink)); border-radius:2px; transition:right .3s ease; }
.main-nav a:hover::after { right:0; }
.hero { background:linear-gradient(135deg,var(--sand) 0%,var(--pink-soft) 48%,var(--mint) 100%); }
.hero-visual {
  background:rgba(255,255,255,.72);
  border:1px solid rgba(23,107,77,.10);
  backdrop-filter:blur(14px);
}
.hero-visual img { filter:drop-shadow(0 18px 28px rgba(0,0,0,.28)); animation:hero-float 5s ease-in-out infinite; }
.home-hero-visual { background:transparent; border:0; backdrop-filter:none; box-shadow:none; }
.home-hero-visual img { width:100%; height:100%; object-fit:contain; animation:home-logo-zoom 5.2s cubic-bezier(.2,.8,.2,1) forwards; }
.stats-band {
  background:linear-gradient(rgba(187,86,119,.82),rgba(61,153,107,.82)),url("../images/impact-bg.413df234e3a7.png") center/cover no-repeat;
  position:relative;
  overflow:hidden;
  padding:130px 0;
}
.stat-value { color:var(--gold-soft); }
.process-step { border:1px solid rgba(23,107,77,.09); border-top:4px solid var(--pink); }
.process-step .num, .product-village { color:var(--pink-deep); }
.vision-card, .contact-info-card { background-image:radial-gradient(circle at 90% 5%,rgba(240,141,170,.30),transparent 35%),repeating-linear-gradient(45deg,rgba(168,213,162,.10) 0 2px,transparent 2px 26px); }
.vision-card { background:#176B4D; }
.story-mission-section { background:radial-gradient(circle at 8% 45%,rgba(240,141,170,.25),transparent 24rem),radial-gradient(circle at 92% 50%,rgba(168,213,162,.28),transparent 28rem),var(--sand); }
.story-mission-list li { border:1px solid rgba(23,107,77,.09); border-bottom:3px solid var(--pink) !important; padding:20px 22px; }
.story-mission-list .leaf-mark { color:var(--pink-deep); }
.product-card { border:1px solid rgba(23,107,77,.08); transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease; }
.product-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lift); border-color:rgba(240,141,170,.45); }
.product-art, .product-detail-art { background:radial-gradient(circle at 80% 10%,rgba(240,141,170,.48),transparent 35%),linear-gradient(160deg,var(--forest-light),var(--forest-deep)); }
.field input:focus, .field textarea:focus { outline:3px solid rgba(240,141,170,.22); border-color:var(--pink); background:var(--white); }
.icon-badge.success { background:var(--mint); }
.icon-badge.fail { background:var(--pink-soft); }
.tag-pill { background:var(--pink-soft); color:var(--pink-deep); padding:5px 12px; }
.sun-rule { background-image:linear-gradient(90deg,transparent,var(--pink),var(--leaf),transparent); height:2px; }
.ambient-orb { position:fixed; z-index:-1; border-radius:50%; filter:blur(8px); opacity:.32; pointer-events:none; }
.ambient-orb.two { width:30rem; height:30rem; background:var(--leaf); right:-16rem; top:52%; animation:orb-drift 20s ease-in-out infinite alternate-reverse; }
.reveal { opacity:0; transform:translateY(28px); transition:opacity .75s ease,transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity:1; transform:none; }
.process-step, .mission-list li { transition:transform .35s ease,box-shadow .35s ease; }
.process-step:hover, .mission-list li:hover { transform:translateY(-5px); box-shadow:var(--shadow-lift); }
.btn { position:relative; overflow:hidden; isolation:isolate; }
.btn::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.35),transparent 80%); transform:translateX(-120%); transition:transform .65s ease; }
.btn:hover::before { transform:translateX(120%); }
@keyframes hero-float { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-14px) rotate(1deg)} }
@keyframes home-logo-zoom { from{transform:scale(.88); opacity:.65} to{transform:scale(1); opacity:1} }
@keyframes orb-drift { from{transform:translate3d(0,0,0) scale(1)} to{transform:translate3d(4rem,-3rem,0) scale(1.12)} }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .reveal { opacity:1; transform:none; }
}

/* Customer accounts ------------------------------------------------------- */
.nav-auth-form { margin:0; display:inline-flex; }
.nav-auth-button {
  appearance:none;
  border:0;
  background:transparent;
  color:var(--ink);
  padding:6px 0;
  font:inherit;
  font-weight:600;
  cursor:pointer;
}
.nav-auth-button:hover,.account-link:hover { color:var(--pink-deep); }
.auth-shell { max-width:520px; margin:0 auto; }
.auth-card {
  background:rgba(255,255,255,.94);
  border:1px solid rgba(23,107,77,.10);
  border-top:3px solid var(--pink);
  border-radius:18px;
  padding:clamp(26px,5vw,44px);
  box-shadow:0 20px 55px rgba(11,61,43,.09);
}
.auth-card .field { margin-bottom:18px; }
.auth-card label { display:block; margin-bottom:7px; font-weight:600; color:var(--forest-deep); }
.auth-card input {
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid rgba(11,61,43,.16);
  border-radius:9px;
  background:#fff;
}
.auth-card input:focus { outline:3px solid rgba(240,141,170,.20); border-color:var(--pink); }
.auth-switch { text-align:center; margin:20px 0 0; color:rgba(23,50,41,.72); }
.auth-switch a { color:var(--forest); font-weight:700; }
.form-errors,.errorlist { color:#a92f58; font-size:.84rem; margin:7px 0 0; padding-left:18px; }
.helptext { display:block; color:rgba(23,50,41,.62); font-size:.78rem; margin-top:6px; }
.account-header { display:flex; justify-content:space-between; gap:24px; align-items:end; margin-bottom:28px; }
.orders-list { display:grid; gap:16px; }
.order-card {
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  padding:22px 24px;
  border:1px solid rgba(23,107,77,.10);
  border-left:4px solid var(--pink);
  border-radius:14px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 34px rgba(11,61,43,.06);
  transition:transform .25s ease,box-shadow .25s ease;
}
.order-card:hover { transform:translateY(-3px); box-shadow:0 16px 42px rgba(11,61,43,.10); }
.order-meta { display:flex; gap:14px; flex-wrap:wrap; color:rgba(23,50,41,.65); font-size:.86rem; }
.status-pill { display:inline-block; padding:5px 10px; border-radius:999px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.status-paid { background:#e5f3e8; color:var(--forest); }
.status-pending { background:#fff3d7; color:#795200; }
.status-failed { background:#fce7ee; color:#a92f58; }
.order-detail-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.55fr); gap:26px; align-items:start; }
.order-items-card,.order-address-card { background:#fff; border:1px solid rgba(23,107,77,.10); border-radius:16px; padding:26px; }
.order-item-row { display:flex; justify-content:space-between; gap:20px; padding:16px 0; border-bottom:1px solid rgba(23,107,77,.08); }
.order-item-row:last-child { border-bottom:0; }
@media (max-width:900px) {
  .main-nav { align-items:flex-start; }
  .nav-auth-form { display:block; }
  .order-detail-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .account-header,.order-card { display:block; }
  .order-card .btn { margin-top:16px; }
}
@media (max-width:640px) {
  .section { padding:54px 0; }
  .hero { padding-top:46px; }
  .hero-visual { border-radius:20px; }
  .cart-table { display:block; overflow-x:auto; }
}

/* Refined commerce system -------------------------------------------------- */
.commerce-page {
  background:linear-gradient(180deg,rgba(255,255,255,.78),rgba(250,255,249,.94));
  min-height:60vh;
}
.commerce-page > .wrap { max-width:1240px; }
.commerce-heading { margin-bottom:38px; }
.commerce-heading h1, .shop-intro h1 { font-size:clamp(2.25rem,4vw,4.1rem); letter-spacing:-.045em; font-weight:500; }
.shop-intro { max-width:720px; margin-bottom:34px; }
.shop-intro p { max-width:58ch; color:rgba(23,50,41,.68); font-size:1rem; }
.category-filters { gap:8px; margin-bottom:42px; padding-bottom:18px; border-bottom:1px solid rgba(11,61,43,.10); }
.category-filters a { background:transparent; border-color:rgba(11,61,43,.14); padding:9px 18px; color:rgba(23,50,41,.72); transition:color .25s ease,background .25s ease,border-color .25s ease; }
.category-filters a.active,.category-filters a:hover { background:var(--forest-deep); border-color:var(--forest-deep); }
.product-grid { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:24px; }
.product-card { border:1px solid rgba(11,61,43,.11); border-radius:18px; box-shadow:0 8px 30px rgba(11,61,43,.06); transform:translateZ(0); }
.product-card:hover { transform:translateY(-6px); border-color:rgba(11,61,43,.22); box-shadow:0 22px 50px rgba(11,61,43,.12); }
.product-art-link { display:block; overflow:hidden; }
.product-art { aspect-ratio:1.35/1; color:var(--forest-deep); font-size:3.25rem; background:linear-gradient(145deg,#f4f9f2,#e4f2e1 62%,#f9e8ef); position:relative; transition:transform .7s cubic-bezier(.2,.75,.2,1); }
.product-art::after { content:""; position:absolute; width:11rem; height:11rem; border:1px solid rgba(23,107,77,.12); border-radius:50%; }
.product-art img { position:relative; z-index:1; transition:transform .7s cubic-bezier(.2,.75,.2,1); }
.product-card:hover .product-art img { transform:scale(1.035); }
.product-body { padding:22px 20px 20px; gap:10px; }
.product-meta { display:flex; align-items:center; justify-content:space-between; color:var(--pink-deep); font-size:.72rem; }
.product-village { color:inherit; letter-spacing:.09em; }
.product-body h3 { font-size:1.22rem; font-weight:600; letter-spacing:-.015em; }
.product-body h3 a { background-image:linear-gradient(var(--forest-deep),var(--forest-deep)); background-position:0 100%; background-repeat:no-repeat; background-size:0 1px; transition:background-size .35s ease; }
.product-body h3 a:hover { background-size:100% 1px; }
.product-desc { color:rgba(23,50,41,.66); line-height:1.65; }
.product-footer { padding-top:6px; }
.price { font-size:1.35rem; letter-spacing:-.025em; }
.price small { color:rgba(23,50,41,.48); }
.product-card .btn { min-height:44px; border-radius:10px; background:var(--forest-deep); font-size:.84rem; letter-spacing:.01em; }
.product-card .btn:hover { background:var(--forest); box-shadow:0 10px 24px rgba(11,61,43,.17); }
.product-detail-wrap { gap:clamp(38px,7vw,92px); align-items:center; }
.product-detail-art { border-radius:20px; border:1px solid rgba(11,61,43,.10); box-shadow:0 18px 50px rgba(11,61,43,.09); background:linear-gradient(145deg,#f4f9f2,#e4f2e1 62%,#f9e8ef); }
.product-detail-copy h1 { font-size:clamp(2.4rem,4.5vw,4.5rem); font-weight:500; letter-spacing:-.045em; margin:.3em 0; }
.product-detail-copy > p { color:rgba(23,50,41,.68) !important; max-width:58ch; }
.product-detail-copy .price { margin:24px 0; font-size:1.75rem !important; }
.product-trust-note { border-top:1px solid rgba(11,61,43,.10); padding-top:18px; line-height:1.8; }
.qty-row input,.cart-qty-form input { border-color:rgba(11,61,43,.16); background:#fff; }
.cart-table { border:1px solid rgba(11,61,43,.10); border-radius:16px; box-shadow:0 12px 40px rgba(11,61,43,.06); }
.cart-table th { background:#f2f8f0; color:rgba(23,50,41,.58); letter-spacing:.1em; }
.cart-table td { padding:20px 18px; border-color:rgba(11,61,43,.08); }
.cart-subtotal { font-weight:600; }
.line-weight { display:block; margin-top:4px; color:rgba(23,50,41,.52); font-size:.76rem; font-weight:500; white-space:nowrap; }
#cart-total-weight { color:var(--forest-deep); font-weight:600; text-align:right; }
.cart-summary,.form-card,.order-review { border:1px solid rgba(11,61,43,.10); border-radius:16px; box-shadow:0 14px 44px rgba(11,61,43,.07); }
.cart-summary { padding:30px; }
.checkout-wrap { gap:28px; grid-template-columns:minmax(0,1.1fr) minmax(300px,.72fr); }
.form-card,.order-review { padding:clamp(24px,4vw,40px); }
.order-review { position:sticky; top:118px; background:#f4f9f2; }
.field input,.field textarea { background:#fff; border:1px solid rgba(11,61,43,.14); border-radius:9px; min-height:48px; transition:border-color .2s ease,box-shadow .2s ease; }
.field input:focus,.field textarea:focus { outline:0; border-color:var(--forest); box-shadow:0 0 0 4px rgba(23,107,77,.09); }
.commerce-result { max-width:720px; margin:72px auto; padding:64px 36px; border:1px solid rgba(11,61,43,.10); border-radius:22px; background:rgba(255,255,255,.9); box-shadow:0 24px 70px rgba(11,61,43,.09); }
.commerce-result h1 { font-size:clamp(2rem,4vw,3.4rem); letter-spacing:-.035em; }
.commerce-result .icon-badge { width:72px; height:72px; font-size:1.8rem; }
.btn { transition:transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease; }
.reveal { transform:translateY(18px); transition-duration:.8s; }
@media (max-width:900px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .order-review { position:static; }
}
@media (max-width:640px) {
  .commerce-page { padding-top:46px; }
  .commerce-heading h1,.shop-intro h1 { font-size:2.4rem; }
  .product-grid { grid-template-columns:1fr; gap:18px; }
  .product-art { aspect-ratio:1.65/1; }
  .category-filters { flex-wrap:nowrap; overflow-x:auto; padding-bottom:16px; }
  .category-filters a { white-space:nowrap; }
  .commerce-result { margin:32px 16px; padding:46px 22px; }
}

/* Compact login and saved address book ----------------------------------- */
.commerce-page > .wrap.login-shell { max-width:520px; }
.login-card {
  width:100%;
  min-height:410px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:12px;
}
.account-page-wrap { max-width:1100px !important; }
.address-book-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.address-card {
  background:#fff;
  border:1px solid rgba(23,107,77,.12);
  border-top:3px solid var(--pink);
  border-radius:12px;
  padding:24px;
  box-shadow:0 14px 38px rgba(11,61,43,.07);
}
.address-card.is-default { border-color:rgba(23,107,77,.30); }
.address-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.address-card-head h3 { margin:0; }
.address-card p { color:rgba(23,50,41,.72); line-height:1.7; }
.address-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:20px; }
.address-actions form { margin:0; }
.address-delete { border:0; background:transparent; color:var(--pink-deep); font-weight:700; cursor:pointer; padding:8px; }
.address-form-shell { max-width:680px !important; }
.address-form-card { border-radius:12px; }
.checkbox-field { display:flex; align-items:center; gap:10px; }
.checkbox-field label { margin:0; order:2; }
.checkbox-field input { width:auto; min-height:auto; }
.saved-address-picker { margin:20px 0 26px; }
.checkout-subhead { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:12px; }
.checkout-subhead a { color:var(--pink-deep); font-weight:700; }
.address-choice-grid { display:grid; gap:10px; }
.address-choice {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:15px;
  border:1px solid rgba(23,107,77,.12);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
}
.address-choice:has(input:checked) { border-color:var(--pink); box-shadow:0 0 0 3px rgba(240,141,170,.14); }
.address-choice input { margin-top:4px; accent-color:var(--pink-deep); }
.address-choice em { margin-left:8px; color:var(--forest); font-size:.68rem; text-transform:uppercase; font-style:normal; }
.address-choice small { color:rgba(23,50,41,.60); line-height:1.5; }
.checkout-divider { display:flex; align-items:center; gap:12px; margin:24px 0; color:rgba(23,50,41,.48); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; }
.checkout-divider::before,.checkout-divider::after { content:""; height:1px; background:rgba(23,107,77,.10); flex:1; }
.save-address-options { display:grid; gap:12px; padding:16px; margin:6px 0 20px; border-radius:10px; background:#f5faf3; }
.save-address-options > label { display:flex; gap:9px; align-items:center; font-size:.86rem; font-weight:600; }
.save-address-options input[type="checkbox"] { width:auto; min-height:auto; accent-color:var(--pink-deep); }
.address-label-field { margin:0 !important; }
@media (max-width:760px) {
  .address-book-grid { grid-template-columns:1fr; }
  .login-card { min-height:0; }
}
/* Password visibility control */
.password-control {
  position: relative;
}

.password-control input {
  width: 100%;
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  transform: translateY(-50%);

  border: 0;
  border-radius: 8px;
  background: transparent;

  color: rgba(23, 50, 41, 0.55);
  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: var(--pink-soft);
  color: var(--pink-deep);
  outline: none;
}

.password-toggle.is-visible {
  color: var(--forest);
}

.password-toggle svg {
  width: 21px;
  height: 21px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .eye-closed {
  display: none;
}

.password-toggle.is-visible .eye-open {
  display: none;
}

.password-toggle.is-visible .eye-closed {
  display: block;
}

/* Our Story video gallery ------------------------------------------------- */
.story-video-section {
  padding-top: 34px;
  background: linear-gradient(180deg, var(--sand), #f4faf2);
  perspective: 1400px;
}

.story-video-section .section-head {
  max-width: 700px;
}

.story-video-feature,
.story-video-card {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(23, 107, 77, 0.12);
  background: var(--forest-deep);
  box-shadow:
    0 28px 60px rgba(11, 61, 43, 0.16),
    0 8px 18px rgba(11, 61, 43, 0.10);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform .55s cubic-bezier(.2,.75,.2,1),
    box-shadow .55s ease,
    border-color .55s ease;
  will-change: transform;
}

.story-video-feature::after,
.story-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    125deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.04) 28%,
    transparent 52%,
    rgba(0,0,0,.10) 100%
  );
  opacity: .7;
  transition: opacity .45s ease, transform .55s ease;
}

.story-video-feature {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  transform: rotateX(1.5deg) translateZ(0);
  transform-origin: center bottom;
}

.story-video-feature:hover {
  transform: rotateX(-1.5deg) translateY(-8px) scale(1.008);
  border-color: rgba(23,107,77,.28);
  box-shadow:
    0 38px 80px rgba(11,61,43,.22),
    0 12px 24px rgba(11,61,43,.12);
}

.story-video-feature video,
.story-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--forest-deep);
}

.story-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  perspective: 1200px;
}

.story-video-card {
  aspect-ratio: 464 / 848;
  border-radius: 18px;
}

.story-video-card:nth-child(1) {
  transform: rotateY(3deg) rotateX(1deg);
  transform-origin: right center;
}

.story-video-card:nth-child(2) {
  transform: translateY(-5px) translateZ(12px);
}

.story-video-card:nth-child(3) {
  transform: rotateY(-3deg) rotateX(1deg);
  transform-origin: left center;
}

.story-video-card:hover {
  z-index: 3;
  transform: rotateX(-2deg) rotateY(0) translateY(-14px) scale(1.025);
  border-color: rgba(240,141,170,.46);
  box-shadow:
    0 42px 82px rgba(11,61,43,.24),
    0 14px 28px rgba(11,61,43,.14);
}

.story-video-feature:hover::after,
.story-video-card:hover::after {
  opacity: .9;
  transform: translateX(2%);
}

@media (max-width: 760px) {
  .story-video-section {
    padding-top: 20px;
  }

  .story-video-feature {
    margin-bottom: 16px;
    border-radius: 16px;
    transform: none;
  }

  .story-video-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
  }

  .story-video-card {
    border-radius: 16px;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-video-feature,
  .story-video-card {
    transform: none !important;
    transition: none;
  }
}

/* Our Story photo gallery and Foundation -------------------------------- */
.story-photo-heading {
  max-width: 680px;
  margin: 72px auto 28px;
  text-align: center;
}

.story-photo-heading h2 {
  margin: 7px 0 10px;
}

.story-photo-heading p {
  margin: 0;
  color: rgba(23,50,41,.68);
}

.story-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.story-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(23,107,77,.12);
  border-radius: 18px;
  background: var(--mint);
  box-shadow: 0 14px 34px rgba(11,61,43,.08);
}

.story-photo-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.story-photo-tall {
  grid-column: span 2;
  aspect-ratio: 4 / 5;
}

.story-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}

.story-photo:hover img {
  transform: scale(1.035);
}

.foundation-section {
  background: linear-gradient(135deg, rgba(255,240,245,.92), rgba(221,243,222,.72));
}

.foundation-card {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(32px,6vw,80px);
  align-items: center;
  padding: clamp(34px,5vw,64px);
  border: 1px solid rgba(23,107,77,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--shadow-soft);
}

.foundation-card h2 {
  margin: 8px 0 0;
}

.foundation-copy p {
  color: rgba(23,50,41,.74);
}

.foundation-copy .btn {
  margin-top: 8px;
}

.footer-initiative {
  margin: 12px 0 0;
  color: var(--gold-soft);
  font-size: .82rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .story-photo-heading {
    margin-top: 52px;
  }

  .story-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .story-photo-wide,
  .story-photo-tall {
    grid-column: span 1;
  }

  .foundation-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }
}

/* Product category and subcategory catalogue ----------------------------- */
.subcategory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -24px 0 42px;
}

.subcategory-filters a {
  padding: 7px 14px;
  border: 1px solid rgba(23,107,77,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: rgba(23,50,41,.72);
  font-size: .8rem;
  font-weight: 650;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.subcategory-filters a:hover,
.subcategory-filters a.active {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.catalogue-groups {
  display: grid;
  gap: 64px;
}

.catalogue-group {
  scroll-margin-top: 120px;
}

.catalogue-group-heading {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23,107,77,.11);
}

.catalogue-group-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem,3vw,2.35rem);
}

@media (max-width: 640px) {
  .subcategory-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: -24px;
    padding-bottom: 8px;
  }

  .subcategory-filters a {
    flex: 0 0 auto;
  }

  .catalogue-groups {
    gap: 46px;
  }
}
/* Women-working background only in the Home hero section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(255, 247, 250, 0.88) 0%,
      rgba(255, 247, 250, 0.78) 48%,
      rgba(232, 247, 232, 0.76) 100%
    ),
    url("../images/story/community-work-2.cd936523096b.jpg") !important;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Keep hero text and logo above the background */
.hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* Slight transparent panel behind text for readability */
.hero .hero-copy {
  padding: 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

/* Keep the logo background transparent */
.hero .home-hero-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* Mobile */
@media (max-width: 760px) {
  .hero {
    background-position: 42% center;
  }

  .hero .hero-copy {
    padding: 22px 16px;
    background: rgba(255, 255, 255, 0.46);
  }
}
/* Home marketing partner credit ----------------------------------------- */
.marketing-credit {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(23, 107, 77, 0.10);
  border-bottom: 1px solid rgba(23, 107, 77, 0.10);
  background:
    radial-gradient(circle at 18% 20%, rgba(240,141,170,.18), transparent 28%),
    radial-gradient(circle at 82% 80%, rgba(168,213,162,.26), transparent 30%),
    rgba(255,255,255,.86);
}

.marketing-credit::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -72px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid rgba(240,141,170,.22);
  border-radius: 24px;
}

.marketing-credit-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(45px,1fr) auto minmax(45px,1fr);
  align-items: center;
  gap: clamp(18px,4vw,48px);
}

.marketing-credit-line {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(23,107,77,.36),
    rgba(240,141,170,.55)
  );
}

.marketing-credit-line:last-child {
  transform: scaleX(-1);
}

.marketing-credit-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px,2.4vw,28px);
  text-align: center;
}

.marketing-credit-label {
  padding: 7px 13px;
  border: 1px solid rgba(201,61,107,.24);
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marketing-credit-name {
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: clamp(.92rem,1.6vw,1.15rem);
  font-weight: 600;
  letter-spacing: .045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.marketing-credit-name span {
  display: block;
  margin-bottom: 2px;
  color: var(--forest);
  font-size: clamp(1.45rem,2.8vw,2.15rem);
  font-weight: 700;
  letter-spacing: .13em;
}

@media (max-width: 640px) {
  .marketing-credit {
    padding: 20px 0;
  }

  .marketing-credit-inner {
    grid-template-columns: 28px minmax(0,1fr) 28px;
    gap: 12px;
  }

  .marketing-credit-copy {
    flex-direction: column;
    gap: 9px;
  }

  .marketing-credit-name span {
    letter-spacing: .09em;
  }
}

/* Admin-managed story articles ------------------------------------------ */
.story-blog-section {
  background: linear-gradient(180deg, #fff, var(--sand));
}

.story-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.story-blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(23,107,77,.11);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(11,61,43,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.story-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(11,61,43,.14);
}

.story-blog-card.featured {
  border-color: rgba(240,141,170,.48);
}

.story-blog-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--pink-soft));
}

.story-blog-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.story-blog-image:hover img {
  transform: scale(1.04);
}

.story-blog-image > span {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
}

.story-blog-body {
  flex: 1;
  padding: 24px;
}

.story-blog-meta,
.blog-detail-meta {
  color: var(--pink-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.story-blog-body h3 {
  margin: 9px 0;
  font-size: 1.35rem;
}

.story-blog-body h3 a,
.story-blog-read {
  color: var(--forest-deep);
  text-decoration: none;
}

.story-blog-body p {
  color: rgba(23,50,41,.67);
  line-height: 1.7;
}

.story-blog-read {
  font-weight: 800;
}

.blog-detail-wrap {
  max-width: 880px;
}

.blog-back {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.blog-detail-header {
  max-width: 780px;
  margin: 36px 0;
}

.blog-detail-header h1 {
  margin: 12px 0;
  font-size: clamp(2.4rem,6vw,4.7rem);
  line-height: 1.05;
}

.blog-detail-excerpt {
  color: rgba(23,50,41,.68);
  font-size: 1.15rem;
  line-height: 1.75;
}

.blog-detail-image {
  overflow: hidden;
  margin: 0 0 42px;
  border-radius: 24px;
}

.blog-detail-image img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.blog-detail-content {
  color: rgba(23,50,41,.82);
  font-size: 1.05rem;
  line-height: 1.9;
}

.footer-marketing-wrap {
  padding-bottom: 24px;
}

.footer-marketing-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 620px;
  margin: 0 auto;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
}

.footer-marketing-label {
  color: var(--gold-soft);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-marketing-name {
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .story-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .story-blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-marketing-credit {
    flex-direction: column;
    text-align: center;
  }
}

/* Final compact sizing for Our Story media */
.story-video-feature {
  max-width: 560px;
  margin-bottom: 18px;
  border-radius: 16px;
}

.story-video-grid {
  max-width: 520px;
  gap: 14px;
}

.story-video-card,
.story-photo {
  border-radius: 14px;
}

.story-photo-heading {
  margin-top: 48px;
}

.story-photo-grid {
  max-width: 760px;
  gap: 12px;
}

@media (max-width: 760px) {
  .story-video-feature {
    width: 92%;
    max-width: 460px;
  }

  .story-video-grid {
    width: 82%;
    max-width: 330px;
    gap: 12px;
  }

  .story-photo-grid {
    width: 92%;
    max-width: 520px;
    gap: 10px;
  }
}

/* Compact NICONZA marketing section */
.marketing-credit {
  padding: 10px 0;
}

.marketing-credit-inner {
  gap: 18px;
}

.marketing-credit-copy {
  gap: 14px;
}

.marketing-credit-label {
  padding: 5px 10px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.marketing-credit-name span {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  line-height: 1.1;
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  .marketing-credit {
    padding: 9px 0;
  }

  .marketing-credit-copy {
    gap: 6px;
  }

  .marketing-credit-name span {
    font-size: 0.92rem;
  }
}


/* NICONZA hover effect */
.marketing-credit-name {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.marketing-credit-name span {
  transition:
    color 0.3s ease,
    letter-spacing 0.3s ease;
}

.marketing-credit-name:hover,
.marketing-credit-name:focus-visible {
  background: rgba(23, 107, 77, 0.09);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(23, 107, 77, 0.14);
}

.marketing-credit-name:hover span,
.marketing-credit-name:focus-visible span {
  color: #c93d6b;
  letter-spacing: 0.1em;
}

