/* Base typography and global text rendering */
body {
  font-family: Outfit, sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  color: #1f1813;
  background-color: #f3efe9;
}

/* Sticky top navigation */
#stickynav {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

#stickynav.hidden {
  transform: translateY(-100%);
}

footer {
  background-color: #fff;
}

/* Hero section background and centered content shell */
#hero {
  background-image: url("images/hero_about_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  width: 100%;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  box-sizing: border-box;
}

#herobackground {
  background-color: rgb(255 255 255 / 78%);
  width: min(920px, 90%);
  min-height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  box-shadow: 0 24px 48px rgb(50 27 8 / 25%);
}

#hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem;
  color: #17110d;
  text-shadow: 1px 1px 2px rgb(255 255 255 / 70%);
}

/* About page intro separator */

#about-us {
  background-image: url("images/about_section_image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

#about-intro-band {
  width: 100%;
  background-color: #fff;
  padding: clamp(1.2rem, 3vw, 2rem) 0;
}

#about-intro-content {
  text-align: center;
}

#about-intro-content h2 {
  margin: 0 0 0.55rem;
  color: #162033;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

#about-intro-content p {
  margin: 0 auto;
  max-width: 880px;
  color: #304153;
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  font-weight: 600;
  line-height: 1.35;
}

/* Story layout with alternating text and image blocks */
.story-wrapper {
  max-width: 1200px;
  padding-top: clamp(1.2rem, 3.4vw, 2.2rem);
  padding-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.story-block {
  margin-bottom: clamp(1.3rem, 2.6vw, 2rem);
}

.story-text-card {
  background-color: rgb(255 255 255 / 90%);
  border: 1px solid rgb(111 78 55 / 22%);
  border-radius: 20px;
  padding: clamp(1rem, 2.4vw, 1.7rem);
  box-shadow: 0 14px 30px rgb(45 31 20 / 14%);
}

.story-text-card h3 {
  margin: 0 0 0.65rem;
  color: #2f241a;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.story-text-card p {
  margin: 0 0 0.75rem;
  color: #34261b;
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 600;
}

.story-text-card p:last-child {
  margin-bottom: 0;
}

.story-image-card {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgb(32 21 12 / 24%);
}

.story-image-card img {
  width: 100%;
  height: clamp(240px, 34vw, 360px);
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.story-image-card:hover img {
  transform: scale(1.03);
}

@media (width >= 900px) {
  #hero {
    background-attachment: fixed;
  }

  #about-us {
    background-attachment: fixed;
  }
}

@media (width <= 992px) {
  #herobackground {
    width: 94%;
    min-height: 300px;
  }
}

@media (width <= 768px) {
  #about-intro-content h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .story-wrapper {
    padding-top: 1rem;
  }

  .story-text-card p {
    font-size: 0.98rem;
  }
}
