/* Scoped to #sys-about-our-story — About Us Our Story section */
#sys-about-our-story {
  box-sizing: border-box;
  --ink-green: #3d5c3a;
  --title-green: #2f4a2c;
  --story-orange: #c97a3a;
  --body-gray: #5a6358;
  --muted: #6e776c;
  --feature: #4a5e45;
  --page: #f4f1ea;
  color: var(--body-gray);
  font-family: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--page);
}
#sys-about-our-story *,
#sys-about-our-story *::before,
#sys-about-our-story *::after {
  box-sizing: border-box;
}

/* Source artboard: OurStory.webp = 1774 × 887 (~2:1) */
#sys-about-our-story .story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1774 / 887;
  display: flex;
  align-items: stretch;
}

#sys-about-our-story .story__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* Soft left-side readability veil — keeps light editorial look */
#sys-about-our-story .story__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 252, 247, 0.28) 0%,
    rgba(255, 252, 247, 0.12) 28%,
    rgba(255, 252, 247, 0) 48%
  );
}

#sys-about-our-story .story__inner {
  position: relative;
  z-index: 1;
  width: min(46%, 34rem);
  max-width: 34rem;
  margin-left: clamp(4.5rem, 18vw, 17.5rem);
  margin-right: auto;
  padding: clamp(1.75rem, 4.2vw, 3.5rem) 0 clamp(1.5rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}

#sys-about-our-story .story__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(0.68rem, 0.85vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
}

#sys-about-our-story .story__rule {
  display: inline-block;
  width: 3.25rem;
  height: 1px;
  background: rgba(110, 119, 108, 0.65);
  flex-shrink: 0;
}

#sys-about-our-story .story__title {
  margin: 0.35rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

#sys-about-our-story .story__title-our {
  color: var(--title-green);
  font-style: normal;
  font-weight: 500;
}

#sys-about-our-story .story__title-story {
  margin-left: 0.18em;
  font-style: italic;
  font-weight: 500;
  color: var(--story-orange);
}

#sys-about-our-story .story__body {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  max-width: 36ch;
}

#sys-about-our-story .story__body p {
  margin: 0;
  font-size: clamp(0.92rem, 1.05vw, 1.05rem);
  font-weight: 400;
  line-height: 1.68;
  color: var(--body-gray);
}

#sys-about-our-story .story__features {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: 100%;
}

#sys-about-our-story .story__feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.15rem 1.15rem;
  border-left: 1px solid rgba(74, 94, 69, 0.28);
}

#sys-about-our-story .story__feature:first-child {
  padding-left: 0;
  border-left: 0;
}

#sys-about-our-story .story__icon {
  display: flex;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--ink-green);
  flex-shrink: 0;
}

#sys-about-our-story .story__icon svg {
  width: 100%;
  height: 100%;
}

#sys-about-our-story .story__feature-label {
  font-size: clamp(0.62rem, 0.72vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--feature);
}

/* ---------- Large desktop polish ---------- */
@media (min-width: 1440px) {
  #sys-about-our-story .story__inner {
    width: min(42%, 36rem);
    max-width: 36rem;
  }
  #sys-about-our-story .story__body {
    max-width: 38ch;
  }
}

/* ---------- Laptop / smaller desktop ---------- */
@media (max-width: 1366px) and (min-width: 1025px) {
  #sys-about-our-story .story__inner {
    width: min(48%, 32rem);
    margin-left: clamp(3.5rem, 9vw, 8rem);
  }
  #sys-about-our-story .story__body {
    max-width: 34ch;
  }
  #sys-about-our-story .story__feature {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  #sys-about-our-story .story__feature:first-child {
    padding-left: 0;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) and (min-width: 721px) {
  #sys-about-our-story .story {
    aspect-ratio: 1774 / 987;
  }
  #sys-about-our-story .story__bg {
    background-position: 62% center;
  }
  #sys-about-our-story .story__veil {
    background: linear-gradient(
      90deg,
      rgba(255, 252, 247, 0.55) 0%,
      rgba(255, 252, 247, 0.28) 42%,
      rgba(255, 252, 247, 0.05) 68%,
      rgba(255, 252, 247, 0) 82%
    );
  }
  #sys-about-our-story .story__inner {
    width: min(58%, 28rem);
    max-width: 28rem;
    margin-left: clamp(2rem, 6vw, 4.5rem);
    padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
  }
  #sys-about-our-story .story__body {
    max-width: 40ch;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  #sys-about-our-story .story {
    aspect-ratio: auto;
    min-height: min(100svh, 42rem);
  }
  #sys-about-our-story .story__bg {
    background-size: cover;
    background-position: 18% 12%;
  }
  #sys-about-our-story .story__veil {
    background:
      linear-gradient(
        180deg,
        rgba(255, 252, 247, 0.72) 0%,
        rgba(255, 252, 247, 0.55) 42%,
        rgba(255, 252, 247, 0.2) 72%,
        rgba(255, 252, 247, 0.05) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255, 252, 247, 0.5) 0%,
        rgba(255, 252, 247, 0.15) 70%,
        transparent 100%
      );
  }
  #sys-about-our-story .story__inner {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 2.25rem 1.35rem 2.75rem;
    gap: 1.5rem;
    justify-content: flex-start;
  }
  #sys-about-our-story .story__eyebrow {
    letter-spacing: 0.28em;
    font-size: 0.72rem;
  }
  #sys-about-our-story .story__title {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }
  #sys-about-our-story .story__body {
    max-width: none;
  }
  #sys-about-our-story .story__body p {
    font-size: 0.98rem;
    line-height: 1.7;
  }
  #sys-about-our-story .story__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    margin-top: 0.5rem;
  }
  #sys-about-our-story .story__feature {
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  #sys-about-our-story .story__feature-label {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sys-about-our-story .story,
  #sys-about-our-story .story__bg {
    transition: none;
  }
}
