/**
 * TruOath Nutrition Homepage CSS — Aesop 1:1
 * Sections: Hero, Featured Products, Brand Story, Ingredients, Journal, CTA Banner
 */

/* ==========================================================================
   A. Full-Viewport Hero — Aesop-style (text at bottom center)
   ========================================================================== */

.truoath-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: flex-end;       /* Push content to bottom */
  justify-content: center;
  overflow: hidden;
}

.truoath-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.truoath-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 40%,
    rgba(0,0,0,0.25) 80%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 2;
}

.truoath-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  max-width: 820px;
  padding: 0 5% 80px;          /* Bottom padding pushes content up from edge */
}

.truoath-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  opacity: 0.85;
  color: rgba(255,255,255,0.85);
}

.truoath-hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.truoath-hero__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.truoath-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  background-color: #252525;
  padding: 16px 32px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  letter-spacing: 0.01em;
}

.truoath-hero__cta:hover {
  background-color: #333;
  text-decoration: none !important;
}

.truoath-hero__cta svg {
  transition: transform 0.3s ease;
}

.truoath-hero__cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .truoath-hero {
    min-height: 500px;
  }
  .truoath-hero__title {
    font-size: 36px;
  }
  .truoath-hero__content {
    padding-bottom: 50px;
  }
}

/* ==========================================================================
   B. Three Product Feature Row
   ========================================================================== */

.truoath-featured {
  padding: var(--spacing-section-y) 0;
  background-color: var(--truoath-cream);
}

.truoath-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.truoath-featured__item {
  text-align: left;
}

.truoath-featured__image-wrap {
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 1 / 1;
  background-color: #e8e3da;
}

.truoath-featured__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.truoath-featured__item:hover .truoath-featured__image-wrap img {
  transform: scale(1.04);
}

.truoath-featured__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--truoath-brown);
  margin-bottom: 8px;
}

.truoath-featured__desc {
  font-size: var(--text-sm);
  color: var(--truoath-warm-grey);
  margin-bottom: 16px;
  line-height: 1.6;
}

.truoath-featured__link {
  font-size: var(--text-sm);
  color: var(--truoath-black);
  text-decoration: none;
  border-bottom: 1px solid var(--truoath-black);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.truoath-featured__link:hover {
  opacity: 0.6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .truoath-featured__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ==========================================================================
   C. Brand Story Editorial Section
   ========================================================================== */

.truoath-story {
  padding: var(--spacing-section-y) 0;
  background-color: var(--truoath-cream);
}

.truoath-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.truoath-story__image-wrap {
  overflow: hidden;
  background-color: #e8e3da;
}

.truoath-story__image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.truoath-story__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--truoath-brown);
  margin-bottom: 32px;
}

.truoath-story__text p {
  font-size: var(--text-base);
  color: var(--truoath-warm-grey);
  line-height: 1.8;
  margin-bottom: 20px;
}

.truoath-story__link {
  font-size: var(--text-sm);
  color: var(--truoath-black);
  border-bottom: 1px solid var(--truoath-black);
  padding-bottom: 2px;
  margin-top: 16px;
  display: inline-block;
  text-decoration: none;
}

.truoath-story__link:hover {
  opacity: 0.6;
  text-decoration: none;
}

@media (max-width: 768px) {
  .truoath-story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .truoath-story__heading {
    font-size: var(--text-3xl);
  }
}

/* ==========================================================================
   D. Ingredients Philosophy (Dark Section)
   ========================================================================== */

.truoath-ingredients {
  background-color: var(--truoath-brown);
  color: var(--truoath-cream);
  padding: var(--spacing-section-y) 0;
}

.truoath-ingredients__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--truoath-cream);
  text-align: center;
  margin-bottom: 70px;
}

.truoath-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  text-align: center;
}

.truoath-ingredients__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  opacity: 0.85;
}

.truoath-ingredients__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--truoath-tan);
}

.truoath-ingredients__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--truoath-cream);
  margin-bottom: 12px;
}

.truoath-ingredients__desc {
  font-size: var(--text-sm);
  color: rgba(245, 240, 232, 0.7);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .truoath-ingredients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .truoath-ingredients__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .truoath-ingredients__heading {
    font-size: var(--text-3xl);
  }
}

/* ==========================================================================
   E. Journal Preview
   ========================================================================== */

.truoath-journal-preview {
  padding: var(--spacing-section-y) 0;
  background-color: var(--truoath-cream);
}

.truoath-journal-preview__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--truoath-brown);
  margin-bottom: 50px;
}

.truoath-journal-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.truoath-journal-preview__card {
  text-decoration: none;
  display: block;
}

.truoath-journal-preview__image-wrap {
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4 / 3;
  background-color: #e8e3da;
}

.truoath-journal-preview__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.truoath-journal-preview__card:hover .truoath-journal-preview__image-wrap img {
  transform: scale(1.04);
}

.truoath-journal-preview__category {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--truoath-tan);
  margin-bottom: 10px;
  display: block;
}

.truoath-journal-preview__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--truoath-brown);
  margin-bottom: 10px;
  line-height: 1.3;
}

.truoath-journal-preview__date {
  font-size: var(--text-xs);
  color: var(--truoath-warm-grey);
  margin-bottom: 12px;
  display: block;
}

.truoath-journal-preview__read {
  font-size: var(--text-sm);
  color: var(--truoath-black);
  border-bottom: 1px solid var(--truoath-black);
  padding-bottom: 2px;
}

@media (max-width: 768px) {
  .truoath-journal-preview__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   F. Full-Width Banner CTA
   ========================================================================== */

.truoath-cta-banner {
  background-color: var(--truoath-tan);
  padding: 80px 0;
  text-align: center;
}

.truoath-cta-banner__heading {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--truoath-brown);
  margin-bottom: 16px;
}

.truoath-cta-banner__sub {
  font-size: var(--text-base);
  color: var(--truoath-brown);
  opacity: 0.8;
  margin-bottom: 36px;
}

.truoath-cta-banner__btn {
  display: inline-block;
  border: 1px solid var(--truoath-brown);
  color: var(--truoath-brown);
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 36px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.truoath-cta-banner__btn:hover {
  background: var(--truoath-brown);
  color: var(--truoath-cream);
  text-decoration: none;
}

@media (max-width: 768px) {
  .truoath-cta-banner__heading {
    font-size: var(--text-3xl);
  }
}
