/* ============================================================
   SayPaper — pages/home.css
   Homepage-specific styles
   ============================================================ */


/* ── Hero Section ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 70px;
  position: relative;
  background: var(--color-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-content .kicker {
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.hero-content h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-cta-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 16px;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Flat overlay on hero image bottom — no gradient */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: rgba(43, 38, 34, 0.12);
  pointer-events: none;
  z-index: 1;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: var(--color-gold);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}


/* ── Category Grid ────────────────────────────────────────── */
.categories-section {
  background: var(--color-bg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}


/* ── Featured Products Section ────────────────────────────── */
.featured-products {
  background: var(--color-bg-alt);
}

.featured-products .section-heading {
  margin-bottom: 48px;
}

.products-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.featured-cta {
  text-align: center;
  margin-top: 40px;
}


/* ── About Preview Section ────────────────────────────────── */
.about-preview {
  background: var(--color-bg);
}

.about-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-preview-image {
  position: relative;
}

.about-preview-image img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-preview-content .kicker {
  margin-bottom: 0.75rem;
}

.about-preview-content h2 {
  margin-bottom: 1.25rem;
}

.about-preview-content p {
  color: var(--color-muted);
  margin-bottom: 1em;
}

.about-preview-content .btn {
  margin-top: 28px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.about-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1;
  display: block;
}

.about-stat-label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
  margin-top: 4px;
}


/* ── Values Section ───────────────────────────────────────── */
.values-section {
  background: var(--color-secondary);
  color: #F7F3EC;
  padding: 80px 0;
}

.values-section .section-heading .kicker {
  color: rgba(176, 141, 87, 0.9);
}

.values-section .section-heading h2 {
  color: #F7F3EC;
}

.values-section .section-heading .subtitle {
  color: rgba(247, 243, 236, 0.7);
}

.values-section .ornament-rule {
  border-top-color: rgba(176, 141, 87, 0.5);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.values-section .value-block h3 {
  color: #F7F3EC;
}

.values-section .value-block p {
  color: rgba(247, 243, 236, 0.75);
}

.values-section .value-block-icon {
  color: var(--color-gold);
}


/* ── New Arrivals / Bestsellers ───────────────────────────── */
.new-arrivals-section {
  background: var(--color-bg);
}

.new-arrivals-tabs {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
}

.products-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ── Editorial / Journal ──────────────────────────────────── */
.editorial-section {
  background: var(--color-bg-alt);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.editorial-cta {
  text-align: center;
  margin-top: 40px;
}


/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.testimonials-grid .testimonial {
  max-width: none;
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  background: var(--color-bg-alt);
}


/* ── Brands / Partners Strip ──────────────────────────────── */
.brands-section {
  background: var(--color-bg-alt);
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.brands-kicker {
  text-align: center;
  margin-bottom: 24px;
}

.brands-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity var(--transition-base);
}

.brands-row:hover {
  opacity: 0.75;
}

.brands-row img {
  height: 28px;
  width: auto;
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr 420px;
    gap: 48px;
  }

  .products-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }

  .products-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    max-width: none;
    order: 2;
  }

  .hero-image-wrap {
    order: 1;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-cta-note {
    text-align: center;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .about-preview-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-preview-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-stats {
    justify-content: center;
    gap: 24px;
    text-align: center;
  }

}

@media (max-width: 576px) {
  .hero {
    padding: 40px 0 36px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    text-align: center;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .products-grid-4 {
    grid-template-columns: 1fr;
  }

  .products-grid-3 {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

}
