/* ==========================================================================
   Pravda Books — Homepage (flat-minimal bookstore)
   ========================================================================== */

.page-home {
  --paper-bg: #F7F4F0;
  --paper-warm: #FDFBF8;
  --header-height: 60px;
  --header-height-scrolled: 52px;
  background: var(--paper-bg);
  overflow-x: hidden;
}

/* --- Slim header (homepage) --- */
.page-home .header--slim {
  background: rgba(253, 251, 248, 0.55);
}
.page-home .header--slim .header__inner {
  padding: 0 0.25rem;
}
@media (min-width: 1024px) {
  .page-home .header--slim .header__inner {
    padding: 0 0.5rem;
  }
}
.page-home .header--slim.header--scrolled {
  background: var(--color-white);
}
.page-home .header__logo img {
  height: 34px;
}
.page-home .header--scrolled .header__logo img {
  height: 28px;
}
@media (min-width: 1024px) {
  .page-home {
    --header-height: 64px;
    --header-height-scrolled: 56px;
  }
  .page-home .header__logo img { height: 36px; }
  .page-home .header--scrolled .header__logo img { height: 30px; }
}

/* --- Full-width banner hero (homepage) --- */
.page-home .hero.hero--banner {
  height: 480px;
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .page-home .hero.hero--banner {
    height: 620px;
  }
}
.page-home .hero.hero--banner .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.58) 38%,
    rgba(0, 0, 0, 0.32) 62%,
    rgba(0, 0, 0, 0.18) 100%
  );
}
.page-home .hero.hero--banner .hero__content {
  padding: 2.5rem 0 5.5rem;
}
@media (min-width: 900px) {
  .page-home .hero.hero--banner .hero__content {
    padding: 3.5rem 0 6.5rem;
  }
}
.page-home .hero.hero--banner .hero__bottom {
  padding-bottom: 1.75rem;
}
.page-home .hero.hero--banner .hero__nav {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.page-home .hero.hero--banner .btn--hero-outline {
  color: var(--color-white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}
.page-home .hero.hero--banner .btn--hero-outline:hover {
  color: var(--color-black);
  background: var(--color-white);
  border-color: var(--color-white);
}

/* --- Split hero (legacy, unused on homepage) --- */
.hero.hero--split {
  position: relative;
  height: auto;
  min-height: clamp(480px, 72vh, 540px);
  overflow: hidden;
  background: var(--paper-warm);
  margin-bottom: 0;
}
@media (min-width: 900px) {
  .hero.hero--split {
    min-height: clamp(620px, 68vh, 700px);
  }
}
.hero--split .hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
.hero--split .hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}
.hero--split .hero__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-height: inherit;
}
.hero--split .hero__split-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 18%, rgba(196, 30, 58, 0.09), transparent 58%),
    radial-gradient(ellipse 45% 55% at 8% 88%, rgba(26, 26, 26, 0.05), transparent 52%),
    linear-gradient(145deg, var(--paper-warm) 0%, var(--paper-bg) 100%);
}
.hero--split .hero__split-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 0 5.5rem;
  min-height: clamp(480px, 72vh, 540px);
}
@media (min-width: 900px) {
  .hero--split .hero__split-inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    padding: 3.5rem 0 6.5rem;
    min-height: clamp(620px, 68vh, 700px);
  }
}
.hero--split .hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.hero--split .hero__pill {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-black-soft);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(26, 26, 26, 0.05);
}
.hero--split .hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero--split .hero__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-gray-600);
  max-width: 34rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.hero--split .hero__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
}
.hero--split .hero__price s {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-gray-400);
  margin-left: 0.5rem;
}
.hero--split .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}
.hero--split .hero__split-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  padding: 1rem 0;
}
@media (min-width: 900px) {
  .hero--split .hero__split-visual {
    min-height: 420px;
    justify-content: flex-end;
    padding-right: 1rem;
  }
}
.hero--split .hero__cover-card {
  position: relative;
  z-index: 2;
  width: min(300px, 78vw);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(26, 26, 26, 0.18);
  transform: rotate(-3deg);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
}
@media (min-width: 900px) {
  .hero--split .hero__cover-card {
    width: min(380px, 100%);
    max-width: 400px;
  }
}
.hero__slide--active .hero__cover-card {
  transform: rotate(0deg);
}
.hero--split .hero__cover-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.hero--split .hero__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  padding: 0.4rem 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
}
.hero--split .hero__shape {
  position: absolute;
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.hero--split .hero__shape--1 {
  width: 200px;
  height: 200px;
  top: 2%;
  right: 4%;
  background: rgba(196, 30, 58, 0.09);
  transform: rotate(14deg);
  animation: heroFloat 6s ease-in-out infinite;
}
.hero--split .hero__shape--2 {
  width: 140px;
  height: 140px;
  bottom: 8%;
  left: 2%;
  background: rgba(26, 26, 26, 0.05);
  border-radius: 50%;
  animation: heroFloat 7s ease-in-out infinite reverse;
}
.hero--split .hero__shape--3 {
  width: 72px;
  height: 72px;
  top: 18%;
  left: 12%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(196, 30, 58, 0.12);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
  animation: heroFloat 5s ease-in-out infinite 0.5s;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-10px) rotate(12deg); }
}
.hero--split .hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: 0 0 2rem;
  pointer-events: none;
}
.hero--split .hero__bottom-inner {
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
.hero--split .hero__nav {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.06);
}
.hero--split .hero__dot {
  background: var(--color-gray-300);
}
.hero--split .hero__dot--active {
  background: var(--color-primary);
}
.hero--split .hero__arrow {
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--color-gray-200);
  box-shadow: var(--shadow-md);
}
.hero--split .hero__arrow:hover {
  background: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* --- Home search --- */
.home-search {
  padding: 2rem 0 2.25rem;
  margin-top: 0;
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-bg) 100%);
}
.home-search__card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.home-search__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.1), 0 2px 8px rgba(26, 26, 26, 0.04);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.home-search__bar:focus-within {
  border-color: rgba(196, 30, 58, 0.3);
  box-shadow: 0 20px 56px rgba(196, 30, 58, 0.12), 0 4px 12px rgba(26, 26, 26, 0.05);
  transform: translateY(-2px);
}
.home-search__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
}
.home-search__input {
  width: 100%;
  padding: 1.125rem 0;
  border: none;
  background: transparent;
  font-size: 1.0625rem;
}
.home-search__input::placeholder {
  color: var(--color-gray-400);
}
.home-search__input:focus {
  outline: none;
}
.page-home .search-dropdown {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 56px rgba(26, 26, 26, 0.12);
  overflow: hidden;
}
.page-home .search-dropdown__item {
  padding: 0.875rem 1.25rem;
}
.page-home .search-dropdown__view-all {
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--color-gray-50);
}

/* --- Category tags (fluid wrap) --- */
.home-categories {
  padding: 0.5rem 0 1.75rem;
}
.home-categories .category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.home-categories .category-pill {
  flex: 1 1 calc(25% - 0.75rem);
  min-width: 9.5rem;
  text-align: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: var(--color-black-soft);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  white-space: normal;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 639px) {
  .home-categories .category-pill {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 8.5rem;
  }
}
@media (min-width: 1024px) {
  .home-categories .category-pill {
    flex: 1 1 calc(16.66% - 0.75rem);
  }
}
.home-categories .category-pill:hover {
  border-color: rgba(196, 30, 58, 0.2);
  color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 8px 28px rgba(196, 30, 58, 0.1);
  transform: translateY(-2px);
}

/* --- Featured collection --- */
.home-featured {
  padding: 0 0 2.5rem;
}
.home-featured__card {
  display: grid;
  gap: 0;
  background:
    linear-gradient(135deg, rgba(196, 30, 58, 0.04) 0%, transparent 55%),
    var(--paper-warm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.06);
}
@media (min-width: 768px) {
  .home-featured__card {
    grid-template-columns: 1fr 1.05fr;
    min-height: 280px;
  }
}
.home-featured__content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .home-featured__content {
    padding: 2.5rem 2.25rem;
  }
}
.home-featured__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}
.home-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.home-featured__subtitle {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}
.home-featured__visual {
  min-height: 200px;
  overflow: hidden;
}
.home-featured__visual img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .home-featured__visual img {
    min-height: 100%;
  }
}

/* --- Book discovery --- */
.home-discovery {
  padding: 0 0 3.5rem;
}
[data-filter-sticky-sentinel] {
  height: 1px;
  margin-top: -1px;
}
.home-discovery__head {
  margin-bottom: 1.25rem;
}
.home-discovery__title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.home-discovery__filter-card {
  position: sticky;
  top: calc(var(--header-height) + 0.5rem);
  z-index: 90;
  margin-bottom: 2rem;
  padding: 0.625rem 0.75rem;
  background: rgba(253, 251, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-xl);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
.home-discovery__filter-card.is-stuck {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 28px rgba(26, 26, 26, 0.07);
}
.home-discovery__filter-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
}
.discovery-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-black-soft);
  background: var(--color-white);
  border: 1px solid rgba(196, 30, 58, 0.15);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  line-height: 1;
}
.discovery-count-chip__icon {
  font-size: 0.875rem;
  line-height: 1;
}
.discovery-count-chip__nums {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.discovery-count-chip__num {
  font-weight: 700;
  color: var(--color-primary);
}
.filter-pills {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  padding: 0.125rem;
  scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-500);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
}
.filter-pill:hover {
  color: var(--color-black);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.06);
}
.filter-pill--active {
  color: var(--color-white);
  background: var(--color-black);
  border-color: var(--color-black);
}
.filter-pill--active:hover {
  color: var(--color-white);
  background: var(--color-black-soft);
}
.book-grid--store {
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .book-grid--store {
    grid-template-columns: repeat(4, 1fr);
  }
}
.home-discovery__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  text-align: center;
}
.home-discovery__loading {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-500);
  animation: discoveryPulse 1.2s ease-in-out infinite;
}
@keyframes discoveryPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.home-discovery__sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}
.home-discovery__end {
  font-size: 0.9375rem;
  color: var(--color-gray-500);
  font-style: italic;
}

/* --- Publish CTA --- */
.home-publish {
  padding: 3rem 0 3.5rem;
}
.home-publish__card {
  display: grid;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .home-publish__card {
    grid-template-columns: 1fr 1.1fr;
  }
}
.home-publish__image {
  min-height: 200px;
  overflow: hidden;
}
.home-publish__image img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
.home-publish__content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-publish__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.home-publish__title {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}
.home-publish__text {
  font-size: 0.9375rem;
  color: var(--color-gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.home-publish__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Gallery strip --- */
.home-gallery-strip {
  padding: 1.5rem 0 4rem;
}
.home-gallery-strip--highlighted {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(196, 30, 58, 0.06), transparent 70%),
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper-bg) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.home-gallery-strip__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.home-gallery-strip__intro {
  max-width: 36rem;
}
.home-gallery-strip__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.625rem;
}
.home-gallery-strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.home-gallery-strip__subtitle {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin: 0;
}
.home-gallery-strip__cta {
  flex-shrink: 0;
}
.home-gallery-strip__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .home-gallery-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .home-gallery-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.home-gallery-strip__item {
  position: relative;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}
.home-gallery-strip__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(26, 26, 26, 0.16);
}
.home-gallery-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-gallery-strip__item:hover img {
  transform: scale(1.08);
}
.home-gallery-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.45) 42%,
    rgba(0, 0, 0, 0.08) 100%
  );
  transition: background 0.4s ease;
}
.home-gallery-strip__item:hover .home-gallery-strip__overlay {
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95) 0%,
    rgba(196, 30, 58, 0.35) 55%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.home-gallery-strip__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem 1.25rem;
  color: var(--color-white);
}
.home-gallery-strip__label {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 999px;
}
.home-gallery-strip__caption-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
}
.home-gallery-strip__caption-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}
.home-gallery-strip__item:hover .home-gallery-strip__caption-text {
  max-height: 4rem;
  opacity: 1;
  margin-top: 0.15rem;
}

/* --- Our Promise (editorial closing) --- */
.home-promise {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 30, 58, 0.04), transparent 65%),
    var(--paper-warm);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.home-promise__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 0 0.5rem;
}
.home-promise__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.home-promise__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.75rem;
  color: var(--color-black);
}
.home-promise__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin-bottom: 1.25rem;
}
.home-promise__text--secondary {
  font-size: 1rem;
  color: var(--color-gray-500);
  margin-bottom: 2.25rem;
}
.home-promise__cta {
  font-size: 0.875rem;
}

/* --- Store footer --- */
.footer--store {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4.5rem;
}
.footer--store .footer__brand img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  margin-bottom: 1.25rem;
  height: 40px;
  width: auto;
}
.footer--store .footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
  margin-bottom: 1.5rem;
}
.footer__grid--store {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer__grid--store { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer__grid--store {
    grid-template-columns: 1.6fr repeat(2, 1fr);
    gap: 3rem;
  }
}
.footer--store .footer__heading {
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer--store .footer__link {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.625rem;
  line-height: 1.5;
  transition: color var(--transition);
}
.footer--store .footer__link:hover {
  color: var(--color-white);
}
.footer--store .footer__social a {
  color: rgba(255, 255, 255, 0.7);
}
.footer--store .footer__social a:hover {
  color: var(--color-primary-light);
}
.footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}
.footer__payments-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-right: 0.5rem;
}
.footer__payment-icon {
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}
.footer--store .footer__bottom {
  padding-bottom: 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}
