/* ==========================================================================
   greatergood – homepage live-HTML sections
   Replaces 3 flattened graphics (Mission, Ocean Quote, Wear More. Waste Less.)
   --------------------------------------------------------------------------
   • Every rule is scoped to .greatergood-home – nothing touches Astra,
     Elementor, WooCommerce or any other page.
   • Desktop sizes are measured from the original 1920×960 artwork and written
     in container-query units (1cqw = 1% of the section width = 19.2px at the
     1920px reference), so each section scales exactly like the image it
     replaces. A vw fallback precedes each cqw value for very old browsers.
   • ≤767px (Elementor "Mobile Portrait"): same HTML, re-laid out.
   ========================================================================== */

.greatergood-home {
  container-type: inline-size;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.greatergood-home *,
.greatergood-home *::before,
.greatergood-home *::after { box-sizing: border-box; }

/* Neutralise theme / Elementor-kit typography on our own elements only */
.greatergood-home .gg-reset {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  quotes: none;
  list-style: none;
}
.greatergood-home .gg-reset::before,
.greatergood-home .gg-reset::after { content: none; }

/* ==========================================================================
   1. MISSION  (ref: greater-good-website-banner.png, 1920×960)
   ========================================================================== */
.greatergood-home .gg-mission {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  padding: 0 4.323vw 0 2.656vw;
  padding: 0 4.323cqw 0 2.656cqw;               /* 83px / 51px @1920 */
  color: #31430c;
  background-color: #fff;
  /* Green glow – fitted to the artwork: ellipse 480×672px centred at
     (1980px, 440px) of 1920×960, eased fall-off of #7dbd53 into white. */
  background-image: radial-gradient(
    ellipse 25% 70% at 103.125% 45.833%,
    rgba(125, 189, 83, 1)     0%,
    rgba(125, 189, 83, 0.985) 12.5%,
    rgba(125, 189, 83, 0.909) 25%,
    rgba(125, 189, 83, 0.779) 37.5%,
    rgba(125, 189, 83, 0.629) 50%,
    rgba(125, 189, 83, 0.436) 62.5%,
    rgba(125, 189, 83, 0.254) 75%,
    rgba(125, 189, 83, 0.08)  87.5%,
    rgba(125, 189, 83, 0)     100%
  );
}
.greatergood-home .gg-mission__intro { padding-top: 2.71vw; padding-top: 2.71cqw; }

.greatergood-home .gg-mission__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 3.677vw;
  font-size: 3.677cqw;                          /* 70.6px @1920 */
  line-height: 1.147;
  color: #31430c;
}
.greatergood-home .gg-mission__line { display: block; }
.greatergood-home .gg-mission__big {
  display: block;
  margin-top: 0.651vw;
  margin-top: 0.651cqw;
  font-weight: 700;
  font-size: 6.333vw;
  font-size: 6.333cqw;                          /* 121.6px @1920 */
  line-height: 1;
}
.greatergood-home .gg-mission__text,
.greatergood-home .gg-mission__note {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #31430c;
}
.greatergood-home .gg-mission__text {
  max-width: 49.3vw;
  max-width: 49.3cqw;
  margin-top: 2.104vw;
  margin-top: 2.104cqw;
  font-size: 1.651vw;
  font-size: 1.651cqw;                          /* 31.7px @1920 */
  line-height: 1.987;
}
.greatergood-home .gg-mission__note {
  max-width: 41.2vw;
  max-width: 41.2cqw;
  margin-top: 2.177vw;
  margin-top: 2.177cqw;
  font-size: 1.526vw;
  font-size: 1.526cqw;                          /* 29.3px @1920 */
  line-height: 1.365;
}

.greatergood-home .gg-mission__list {
  padding-top: 6.39vw;
  padding-top: 6.39cqw;
  text-align: right;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.526vw;
  font-size: 1.526cqw;                          /* 29.3px @1920 */
  line-height: 1.741;
  color: #31430c;
}
.greatergood-home .gg-mission__item {
  position: relative;
  margin: 0 0 2.604vw;
  margin: 0 0 2.604cqw;
  padding: 0 2.135vw 0 0;
  padding: 0 2.135cqw 0 0;                      /* 41px: text-to-bullet gutter */
  color: #31430c;
}
.greatergood-home .gg-mission__item:last-child { margin-bottom: 0; }
.greatergood-home .gg-mission__item strong { font-weight: 600; color: inherit; }
.greatergood-home .gg-mission__item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.725em;
  width: 0.625vw;
  width: 0.625cqw;                              /* 12px dot */
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

/* ==========================================================================
   2. OCEAN QUOTE  (photo 1920×960, text overlaid as live HTML)
   ========================================================================== */
.greatergood-home .gg-quote {
  position: relative;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
.greatergood-home .gg-quote__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.greatergood-home .gg-quote__text {
  position: absolute;
  top: 35.94%;
  left: 0;
  right: 0;
  padding-left: 0.52vw;
  padding-left: 0.52cqw;                        /* centre sits 5px right of middle in the art */
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2.844vw;
  font-size: max(12px, 2.844cqw);               /* 54.6px @1920 */
  line-height: 1.172;
  color: #fff;
}
.greatergood-home .gg-quote__text p {
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   3. WEAR MORE. WASTE LESS.
      Desktop ref: New-fron-page-sections-2.jpg (1920×960)
   ========================================================================== */
.greatergood-home .gg-wear {
  aspect-ratio: 2 / 1;
  padding-top: 5.69vw;
  padding-top: 5.69cqw;
  text-align: center;
  background-color: #ebf6f8;
}
.greatergood-home .gg-wear__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 3.5vw;
  font-size: 3.5cqw;                            /* 67.2px @1920 */
  line-height: 1.2;
  text-transform: uppercase;
  color: #0a1316;
}
.greatergood-home .gg-wear__intro {
  margin-top: 1.344vw;
  margin-top: 1.344cqw;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.61vw;
  font-size: 1.61cqw;                           /* 30.9px @1920 */
  line-height: 1.845;
  color: #1c2629;
}
.greatergood-home .gg-wear__box {
  width: 83.958vw;
  width: 83.958cqw;                             /* 1612px */
  margin: 5.07vw 0 0 8.021vw;
  margin: 5.07cqw 0 0 8.021cqw;                 /* box starts at x=154 */
  padding: 1.885vw 0 2.05vw;
  padding: 1.885cqw 0 2.05cqw;
  background: #fff;
  border-radius: 0.73vw;
  border-radius: 0.73cqw;                       /* 14px */
}
.greatergood-home .gg-wear__subtitle {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 3.958vw;
  font-size: 3.958cqw;                          /* 76px @1920 */
  line-height: 1.2;
  color: #1e2324;
}
.greatergood-home .gg-wear__features {
  display: grid;
  /* column centres match the artwork: x = 380 / 776 / 1160 / 1520 */
  grid-template-columns: 396.5fr 390fr 371.75fr 360fr;
  margin-top: 3.94vw;
  margin-top: 3.94cqw;
  padding: 0 3.4375vw 0 1.445vw;
  padding: 0 3.4375cqw 0 1.445cqw;
}
.greatergood-home .gg-wear__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.greatergood-home .gg-wear__icon {
  display: block;
  width: 5.625vw;
  width: 5.625cqw;                              /* 108px */
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.greatergood-home .gg-wear__label {
  margin-top: 0.146vw;
  margin-top: 0.146cqw;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.6vw;
  font-size: 1.6cqw;                            /* 30.7px @1920 */
  line-height: 1.4;
  color: #1b1c1c;
}

/* ==========================================================================
   MOBILE  ≤767px  (Elementor Mobile Portrait)
   ========================================================================== */
@media (max-width: 767px) {

  /* ---- 1. Mission: the 2-column art is unreadable at phone width,
          so the same content stacks into one column ---- */
  .greatergood-home .gg-mission {
    display: block;
    aspect-ratio: auto;
    padding: 12cqw 6.2cqw 14cqw;
    background-image: radial-gradient(
      ellipse 62% 42% at 108% 74%,
      rgba(125, 189, 83, 1)     0%,
      rgba(125, 189, 83, 0.909) 25%,
      rgba(125, 189, 83, 0.629) 50%,
      rgba(125, 189, 83, 0.254) 75%,
      rgba(125, 189, 83, 0)     100%
    );
  }
  .greatergood-home .gg-mission__intro { padding-top: 0; }
  .greatergood-home .gg-mission__title { font-size: 7.4cqw; line-height: 1.15; }
  .greatergood-home .gg-mission__big   { margin-top: 1.6cqw; font-size: 13.4cqw; }
  .greatergood-home .gg-mission__text  {
    max-width: none; margin-top: 6cqw;
    font-size: max(15px, 4.35cqw); line-height: 1.75;
  }
  .greatergood-home .gg-mission__note  {
    max-width: none; margin-top: 5cqw;
    font-size: max(14px, 4.1cqw); line-height: 1.45;
  }
  .greatergood-home .gg-mission__list  {
    padding-top: 11cqw;
    font-size: max(13px, 3.75cqw); line-height: 1.65;
  }
  .greatergood-home .gg-mission__item  { margin-bottom: 5.5cqw; padding-right: 5.2cqw; }
  .greatergood-home .gg-mission__item strong { display: block; }
  .greatergood-home .gg-mission__item br { display: none; }
  .greatergood-home .gg-mission__item::after { width: 1.7cqw; min-width: 6px; }

  /* ---- 3. Wear More: matches Mobile-view-front-section-1.jpg (500×750) ---- */
  .greatergood-home .gg-wear {
    aspect-ratio: 2 / 3;
    padding-top: 9.64cqw;
  }
  .greatergood-home .gg-wear__title { font-size: 6.28cqw; }
  .greatergood-home .gg-wear__intro {
    max-width: 82.4cqw;
    margin: 7.62cqw auto 0;
    font-size: max(13px, 3.5cqw);
    line-height: 1.829;
  }
  .greatergood-home .gg-wear__intro br { display: none; }
  .greatergood-home .gg-wear__box {
    width: 82.8cqw;
    margin: 12cqw 0 0 8.8cqw;
    padding: 4.74cqw 0 10.76cqw;
    border-radius: 1.2cqw;
  }
  .greatergood-home .gg-wear__subtitle { font-size: 6.38cqw; }
  .greatergood-home .gg-wear__features {
    grid-template-columns: 1fr 1fr;
    row-gap: 12.3cqw;
    margin-top: 6.96cqw;
    padding: 0 11.05cqw 0 6.85cqw;
  }
  .greatergood-home .gg-wear__icon  { width: 9.6cqw; }
  .greatergood-home .gg-wear__label {
    margin-top: 0.44cqw;
    font-size: max(12px, 2.84cqw);
    line-height: 1.338;
  }
}
