:root {
  --cream: #f7f1e7;
  --sand: #e6d6bf;
  --forest: #234236;
  --moss: #6f8f63;
  --clay: #b85f3c;
  --ink: #1d241f;
  --white: #fffdf8;
  --shadow: 0 20px 50px rgba(35, 66, 54, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.9rem 6vw;
  background-image:
    linear-gradient(
      rgba(247, 241, 231, 0.82),
      rgba(247, 241, 231, 0.82)
    ),
    url("header-collage.png");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(35, 66, 54, 0.12);
  box-shadow: 0 10px 30px rgba(35, 66, 54, 0.08);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
}

.nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--forest);
}

.nav a:hover,
.nav a.active {
  background: var(--forest);
  color: var(--white);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 6vw 3rem;
}

.hero-content h1,
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--forest);
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  margin: 0.7rem 0 1.3rem;
}

.hero-text,
.page-hero p,
.two-column p,
.card p,
.wide-card p,
.product-card p,
.note-box p {
  font-size: 1.05rem;
  color: rgba(29, 36, 31, 0.76);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clay);
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--forest);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgba(35, 66, 54, 0.28);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-card,
.card,
.wide-card,
.product-card,
.note-box {
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.1);
  box-shadow: var(--shadow);
  border-radius: 28px;
}

.hero-card {
  padding: 2rem;
  text-align: center;
}

.mushroom-icon,
.product-icon,
.feature-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--sand);
  font-size: 2.2rem;
  margin: 0 auto 1.2rem;
}
.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}
h2,
h3 {
  font-family: 'Playfair Display', serif;
  color: var(--forest);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0.4rem 0 1rem;
}

h3 {
  font-size: 1.45rem;
}

.section {
  padding: 3rem 6vw;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.8rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.card,
.product-card {
  padding: 1.5rem;
}

.card a {
  font-weight: 800;
  color: var(--clay);
}

.tag {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(111, 143, 99, 0.16);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.highlight {
  margin: 2rem 6vw 4rem;
  padding: 3rem;
  border-radius: 32px;
  background: var(--sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.page-hero {
  padding: 5rem 6vw 3rem;
  max-width: 980px;
}

.filter-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-row span {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.12);
  font-weight: 700;
}

.blog-list {
  display: grid;
  gap: 1.1rem;
}

.wide-card {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
}

.wide-card h2 {
  font-size: 1.8rem;
}

/* Blog list thumbnails */

.blog-list-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 1.8rem;
}

.blog-thumb {
  width: 150px;
  height: 110px;
  object-fit: cover;
  object-position: center center;
  border-radius: 25px;
  flex-shrink: 0;
}

.blog-card-content {
  min-width: 0;
}

.shop-grid .product-card {
  display: flex;
  flex-direction: column;
}

.price {
  margin-top: auto;
  font-weight: 900;
  color: var(--clay) !important;
}

.note-box {
  margin: 0 6vw 4rem;
  padding: 2rem;
}

.feature-icon img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}

.footer {
  padding: 2rem 6vw 6rem;
  border-top: 1px solid rgba(35, 66, 54, 0.12);
  color: rgba(29, 36, 31, 0.68);
  display: flex;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  line-height: 1.35;
}

.hero-text {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #5f5247;
}





.blog-title-link {
  color: inherit;
  text-decoration: none;
}

.blog-title-link:hover {
  color: var(--clay);
}

/* Shared full article design */

.article-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
  padding: 5rem 2rem;
  overflow: hidden;
}

.fungal-hero {
  background: radial-gradient(ellipse at 60% 40%, #2d4a27 0%, #1a2e18 40%, #0d1a0b 100%);
}

.wellbeing-hero {
  background: radial-gradient(ellipse at 55% 35%, #6f8f63 0%, #234236 45%, #14251e 100%);
}

.article-hero .category-tag {
  font-family: 'Crimson Pro', serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 2rem;
}

.article-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: #f5f0e8;
  letter-spacing: -0.02em;
  max-width: 950px;
  margin: 0;
}

.article-hero h1 em {
  color: #c9a84c;
  font-style: italic;
}

.article-image {
  margin: 3rem 0;
}

.article-image img {
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(68, 51, 34, 0.12);
}

.article-image figcaption {
  margin-top: 0.8rem;
  font-size: 2.0rem;
  line-height: 1.5;
  color: #8b7355;
  font-style: italic;
  text-align: center;
}

.header-rule {
  width: 80px;
  height: 1px;
  background: #c9a84c;
  margin: 2.5rem auto;
}

.header-sub {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.75);
  max-width: 560px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
}


.brand-logo-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-logo-inline img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--forest);
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(255, 253, 248, 0.9);
}
.header-inner .nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-center-header {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 6vw 1.1rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  width: 120px;
  height: auto;
  display: block;
}

.est-year {
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--forest);
}

.logo-center-header .nav {
  justify-content: center;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(201, 168, 76, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201, 168, 76, 0.8), transparent);
}

.story-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 19px;
  line-height: 1.75;
  color: #1e1612;
}

.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #b5a48a;
}

.byline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a84c;
  flex-shrink: 0;
}

.byline-text {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b7355;
}

.drop-cap::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 0.75;
  float: left;
  margin: 0.1em 0.1em 0 0;
  color: #4a6741;
}

.article-audio {
  margin: 0 0 3rem;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.12);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(35, 66, 54, 0.08);
}

.article-audio-label {
  margin: 0 0 0.7rem !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
}

.article-audio audio {
  width: 100%;
  display: block;
}

.story-article p {
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.story-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #3d2b1f;
  margin: 4rem 0 1.5rem;
}

.story-article h2::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: #c9a84c;
  margin-bottom: 1rem;
}

.pull-quote {
  margin: 3.5rem -3rem;
  padding: 2.5rem 3rem;
  border-left: 3px solid #c9a84c;
  background: #ede5d0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.45;
  color: #3d2b1f;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 2.5rem;
  left: 0.8rem;
  color: #c9a84c;
  opacity: 0.4;
  font-family: 'Playfair Display', serif;
}

.fact-card {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #3d2b1f, #5a3a25);
  color: #f5f0e8;
  border-left: 6px solid #c9a84c;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  position: relative;
}

.fact-card::before {
  content: "✦";
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  background: #c9a84c;
  color: #3d2b1f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.fact-card-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f0d27a;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  font-weight: 700;
}

.fact-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
  color: rgba(245, 240, 232, 0.92);
}

.section-divider {
  text-align: center;
  margin: 3rem 0;
  color: #b5a48a;
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
}

.section-divider {
  text-align: center;
  margin: 3rem 0;
  color: #b5a48a;
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid #b5a48a;
  background: #ede5d0;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #4a6741;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b7355;
}

strong {
  font-weight: 600;
  color: #3d2b1f;
}

em.term {
  font-style: italic;
  color: #4a6741;
}

.spore-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spore {
  position: absolute;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.6);
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(110vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .article-hero {
    min-height: 75vh;
    padding: 4rem 1.4rem;
  }

  .story-article {
    padding: 4rem 1.4rem 5rem;
    font-size: 18px;
  }

  .pull-quote {
    margin: 2.5rem 0;
    padding: 2rem;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .drop-cap::first-letter {
    font-size: 4rem;
  }
}

@media (max-width: 850px) {
  .site-header,
  .wide-card,
  .highlight,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .two-column,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }
}
@media (max-width: 1500px) {
  .blog-list-card {
    grid-template-columns: 100px 1fr;
  }

  .blog-thumb {
    width: 100px;
    height:100px;
  }

  .blog-list-card .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
.app-card {
  text-align: center;
}

.app-status {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(111, 143, 99, 0.16);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-button {
  margin-top: 1rem;
  width: 100%;
}

.coming-soon {
  opacity: 0.75;
  cursor: not-allowed;
}

.small-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(29, 36, 31, 0.6);
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    gap: 0.7rem;
  }

  .brand-logo-inline img {
    width: 105px;
    height: 105px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .site-header {
    padding: 0.75rem 6vw;
  }
}
.blog-list-card {
  display: grid !important;
  grid-template-columns: 200px 1fr auto !important;
  align-items: center;
  gap: 1.8rem;
}

.blog-list-card .blog-thumb {
  width: 200px !important;
  height: 200px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 25px;
  flex-shrink: 0;
}

.social-box {
  max-width: 850px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.social-box .small-note {
  margin-top: 1.2rem;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.feedback-card {
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.1);
  box-shadow: var(--shadow);
  border-radius: 28px;
  overflow: hidden;
}

.feedback-card img,
.feedback-card video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  background: var(--sand);
}

.feedback-card div {
  padding: 1.4rem;
}

.feedback-card p {
  margin-bottom: 0;
  color: rgba(29, 36, 31, 0.76);
  font-size: 1.02rem;
}



@media (max-width: 850px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }

  .feedback-card img,
  .feedback-card video {
    height: 220px;
  }

  .blog-ticker-track {
    animation-duration: 45s;
  }
}
.response-box {
  max-width: 900px;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.1);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 2rem;
}

.response-box p {
  color: rgba(29, 36, 31, 0.76);
  font-size: 1.05rem;
}

.response-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.response-form label {
  font-weight: 800;
  color: var(--forest);
  font-size: 0.9rem;
}

.response-form input,
.response-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(35, 66, 54, 0.18);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.response-form textarea {
  resize: vertical;
}

.response-form input:focus,
.response-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(35, 66, 54, 0.12);
}

.response-form button {
  margin-top: 0.6rem;
  justify-self: start;
  cursor: pointer;
}
.shop-hero h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  max-width: 850px;
}

.animated-page-title {
  opacity: 0;
  transform: translateY(24px);
  animation: titleRise 1s ease forwards;
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Home page picture gallery only */

.mm-photo-gallery {
  position: relative;
}

.mm-gallery-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 900px;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.1);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 1.5rem;
}

.mm-gallery-preview img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  background: var(--sand);
}

.mm-gallery-preview h3 {
  margin-bottom: 0.5rem;
}

.mm-gallery-preview p {
  color: rgba(29, 36, 31, 0.76);
  font-size: 1.05rem;
}

.mm-gallery-open {
  margin-top: 1rem;
  cursor: pointer;
}

.mm-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.mm-gallery-modal.is-open {
  display: flex;
}

.mm-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 36, 31, 0.72);
  backdrop-filter: blur(8px);
}

.mm-gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  background: var(--white);
  border-radius: 32px;
  padding: 1.2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.mm-gallery-main-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 24px;
  background: var(--cream);
  display: block;
}

.mm-gallery-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.mm-gallery-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(35, 66, 54, 0.9);
  color: var(--white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.mm-gallery-prev {
  left: 1.8rem;
}

.mm-gallery-next {
  right: 1.8rem;
}

.mm-gallery-counter {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: rgba(29, 36, 31, 0.65);
}

body.mm-gallery-no-scroll {
  overflow: hidden;
}

@media (max-width: 700px) {
  .mm-gallery-preview {
    grid-template-columns: 1fr;
  }

  .mm-gallery-preview img {
    height: 220px;
  }

  .mm-gallery-dialog {
    width: 96vw;
    padding: 0.8rem;
  }

  .mm-gallery-control {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .mm-gallery-prev {
    left: 1rem;
  }

  .mm-gallery-next {
    right: 1rem;
  }

  .mm-gallery-close {
    top: -14px;
    right: -8px;
  }
}

/* Dedicated gallery page */

.gallery-page-hero {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery-page-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid-section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid-item {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-grid-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-grid-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.92);
}

@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .gallery-grid-item img {
    height: 180px;
  }
}

/* Floating contact button */

.mm-floating-contact {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.mm-contact-toggle {
  min-width: 150px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(35, 66, 54, 0.28);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.2rem;
}

.mm-contact-toggle:hover {
  transform: translateY(-2px);
}

.mm-contact-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.mm-contact-text {
  white-space: nowrap;
}

.mm-contact-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 250px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: none;
}

.mm-contact-panel.is-open {
  display: grid;
  gap: 0.65rem;
}

.mm-contact-title {
  margin: 0 0 0.3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--forest);
  font-size: 1.05rem;
}

.mm-contact-panel a {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--forest);
  font-weight: 800;
  text-align: center;
}

.mm-contact-panel a:hover {
  background: var(--forest);
  color: var(--white);
}

@media (max-width: 700px) {
  .mm-floating-contact {
    right: 1rem;
    bottom: 1rem;
  }

  .mm-contact-toggle {
    min-width: 135px;
    height: 54px;
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .mm-contact-panel {
    width: 290px;
    bottom: 68px;
  }
}
/* Homepage spacing refinement */

.section {
  padding: 3rem 6vw;
}

.hero {
  padding: 4rem 6vw 3rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

@media (max-width: 700px) {
  .section {
    padding: 2.5rem 6vw;
  }

  .hero {
    padding: 3rem 6vw 2.5rem;
  }
}
/* Shop page alignment fix */

.shop-hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.shop-hero p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.social-box {
  max-width: 850px;
  margin: 0 auto 4rem;
  text-align: center;
}

.social-links {
  justify-content: center;
}
/* Blog page alignment fix */

.blogs-page .page-hero,
.blog-page-section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.blogs-page .page-hero {
  text-align: left;
}

.blogs-page .hero-text {
  margin-left: 0;
  margin-right: 0;
}

.blog-page-section {
  padding-top: 2rem;
}
.mm-contact-detail {
  padding: 0.75rem 0.85rem;
  border-radius: 18px;
  background: var(--cream);
}

.mm-contact-detail span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  color: rgba(29, 36, 31, 0.55);
}

.mm-contact-detail a {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font-weight: 900;
  text-align: left;
  overflow-wrap: anywhere;
}

.mm-contact-detail a:hover {
  background: transparent;
  color: var(--clay);
}

.mm-contact-social {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

.mm-contact-social:hover {
  background: var(--clay);
  color: var(--white);
}
/* Homepage hero visual upgrade */

.hero-visual-card {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 66, 54, 0.12);
  background: var(--sand);
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(29, 36, 31, 0.55),
    rgba(29, 36, 31, 0.05) 55%
  );
}

.hero-visual-note {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 2;
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(10px);
}

.hero-visual-note span {
  display: inline-flex;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--clay);
}

.hero-visual-note p {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 850px) {
  .hero-visual-card {
    min-height: 360px;
  }

  .hero-visual-card img {
    min-height: 360px;
  }
}


/* Floating social panel */

.mm-floating-social {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.mm-social-toggle {
  min-width: 140px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.2rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(184, 95, 60, 0.25);
}

.mm-social-toggle:hover {
  transform: translateY(-2px);
}

.mm-social-toggle-icon {
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.mm-floating-social.is-open .mm-social-toggle-icon {
  transform: rotate(45deg);
}

.mm-social-toggle-text {
  white-space: nowrap;
}

.mm-social-panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: 280px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.12);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: none;
}

.mm-social-panel.is-open {
  display: grid;
  gap: 0.8rem;
}

.mm-social-panel-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
}

.mm-social-panel-text {
  margin: 0;
  color: rgba(29, 36, 31, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
}

.mm-social-popup-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.mm-social-popup-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 92px;
  padding: 0.75rem;
  border-radius: 18px;
  background: var(--cream);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.mm-social-popup-link img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.mm-social-popup-link:hover {
  background: var(--sand);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .mm-floating-social {
    left: 1rem;
    bottom: 1rem;
  }

  .mm-social-toggle {
    min-width: 125px;
    height: 54px;
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .mm-social-panel {
    width: 270px;
    bottom: 68px;
  }
}

/* Homepage product preview */

.mm-product-preview {
  background: var(--sand);
  margin: 2rem 6vw;
  padding: 3rem;
  border-radius: 36px;
}

.mm-product-preview .section-heading {
  max-width: 760px;
}

.mm-product-preview-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.two-card-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mm-product-preview-card {
  background: var(--white);
  border: 1px solid rgba(35, 66, 54, 0.1);
  border-radius: 28px;
  padding: 1.7rem;
  box-shadow: 0 14px 35px rgba(35, 66, 54, 0.08);
}

.dynamic-preview-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.dynamic-preview-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 75%;
  background: radial-gradient(circle, rgba(111, 143, 99, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.dynamic-preview-card::after {
  content: "✦";
  position: absolute;
  right: 1.4rem;
  top: 1.2rem;
  color: rgba(184, 95, 60, 0.35);
  font-size: 1.6rem;
  transform: rotate(0deg) scale(1);
  transition: transform 0.28s ease, color 0.28s ease;
}

.dynamic-preview-card:hover {
  transform: translateY(-8px);
  border-color: rgba(35, 66, 54, 0.22);
  box-shadow: 0 24px 60px rgba(35, 66, 54, 0.18);
}

.dynamic-preview-card:hover::before {
  opacity: 1;
  transform: translateY(-12px);
}

.dynamic-preview-card:hover::after {
  transform: rotate(18deg) scale(1.15);
  color: rgba(184, 95, 60, 0.65);
}

.preview-label {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(111, 143, 99, 0.16);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.mm-product-preview-card h3 {
  margin: 0 0 0.7rem;
}

.mm-product-preview-card p {
  margin: 0;
  color: rgba(29, 36, 31, 0.74);
}

.preview-arrow {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--clay);
  font-weight: 900;
  transition: transform 0.28s ease;
}

.dynamic-preview-card:hover .preview-arrow {
  transform: translateX(6px);
}

.mm-product-preview-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.mm-product-preview-action .small-note {
  margin: 0;
}

@media (max-width: 850px) {
  .mm-product-preview {
    margin: 1rem 6vw;
    padding: 2rem;
  }

  .two-card-preview {
    grid-template-columns: 1fr;
  }

  .dynamic-preview-card {
    min-height: auto;
  }
}
.mm-product-image {
  display: block;
  width: 58%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* =========================================================
   Chrome mobile reveal containment fix
   Keeps the final product image and glow inside the stage.
   ========================================================= */

.mm-morph-section {
  position: relative;
  isolation: isolate;
}

.mm-morph-stage {
  position: relative;
  overflow: hidden !important; /* More reliable than overflow: clip in Chrome */
  contain: layout paint;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mm-morph-object {
  max-width: 100%;
  max-height: 100%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Prevent the animated glow from enlarging the parent's painted area. */
.mm-form-product.is-active {
  filter: none !important;
}

.mm-form-product.is-active .mm-product-image {
  filter:
    drop-shadow(0 0 12px rgba(129, 181, 108, 0.55))
    drop-shadow(0 0 26px rgba(105, 153, 90, 0.30)) !important;
}

/* Override the broader ".mm-form img" sizing rule from the index page. */
.mm-form.mm-form-product .mm-product-image {
  width: 82% !important;
  height: 95% !important;
  max-width: 82% !important;
  max-height: 95% !important;
  object-fit: contain;
  margin: auto;
}

.mm-stage-caption {
  z-index: 3;
}

.mm-morph-copy {
  position: relative;
  z-index: 4;
  background: #ffffff;
}

@media (max-width: 850px) {
  .mm-morph-stage {
    min-height: 500px !important;
    padding-bottom: 3rem;
  }

  .mm-morph-object {
    width: min(86vw, 340px) !important;
    height: min(86vw, 340px) !important;
  }

  .mm-form.mm-form-product .mm-product-image {
    width: 84% !important;
    height: 94% !important;
    max-width: 84% !important;
    max-height: 94% !important;
  }
}

@media (max-width: 520px) {
  .mm-morph-stage {
    min-height: 445px !important;
  }

  .mm-morph-object {
    width: min(80vw, 305px) !important;
    height: min(80vw, 305px) !important;
  }

  .mm-orbit {
    width: 190px !important;
    height: 190px !important;
    margin: -95px 0 0 -95px !important;
    transform-origin: 95px 95px !important;
  }

  .mm-form-product.is-active .mm-product-image {
    filter:
      drop-shadow(0 0 8px rgba(129, 181, 108, 0.45))
      drop-shadow(0 0 16px rgba(105, 153, 90, 0.22)) !important;
  }
}

