.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--color-amber);
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; min-height: 88vh; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration-slow) var(--ease-default);
}



.hero-slide[data-slide="0"] p, .hero-slide[data-slide="0"] h1 {
  color: var(--color-kadri);
}
.hero-slide[data-slide="0"] p.hero-sub { color: var(--color-kadri); }

.hero-slide[data-slide="1"] p, .hero-slide[data-slide="1"] h1 {
  color: var(--color-ink-soft);
}
.hero-slide[data-slide="1"] p.hero-sub { color: var(--color-ink-soft); }

.hero-slide[data-slide="2"] p, .hero-slide[data-slide="2"] h1 {
  color: var(--color-paper-raised);
}
.hero-slide[data-slide="2"] p.hero-sub { color: var(--color-ink-soft); }

.hero-slide[data-slide="3"] p, .hero-slide[data-slide="3"] h1 {
  color: var(--color-paper-raised);
}
.hero-slide[data-slide="3"] p.hero-sub { color: var(--color-paper-raised); }




.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-slide[data-slide="0"] .hero-media img { object-position: 90% center; }
.hero-slide[data-slide="1"] .hero-media img { object-position: 85% center; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
 /* background: linear-gradient(to right, var(--color-amber) 0%, rgba(232, 130, 27, 0.92) 25%, rgba(232, 130, 27, 0.60) 48%, rgba(232, 130, 27, 0.15) 68%, rgba(232, 130, 27, 0.00) 85%);*/
}
.hero-content { position: relative; z-index: 2; max-width: 620px; padding: var(--space-2xl) var(--space-md); color: var(--color-ink); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--color-ink); opacity: 0.7; margin-bottom: var(--space-sm);
}
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--color-ink); opacity: 0.7; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, var(--fs-3xl)); font-weight: 600; line-height: 1.05; margin-bottom: var(--space-sm); color: var(--color-ink); }
.hero p.hero-sub { font-size: var(--fs-md); color: var(--color-kadri); max-width: 440px; margin-bottom: var(--space-md); }
.hero .spec-sheet { display: flex; gap: var(--space-lg); margin-bottom: var(--space-lg); padding-top: var(--space-sm); border-top: 1px solid rgba(14, 13, 12, 0.2); flex-wrap: wrap; }
.hero .spec-item { display: flex; flex-direction: column; }
.hero .spec-item .spec-value { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; color: var(--color-kadri); line-height: 1; }
.hero .spec-item .spec-label { font-size: 0.68rem; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-kadri); margin-top: 4px; }
.hero-dots { position: absolute; bottom: var(--space-lg); left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dots button { width: 22px; height: 6px; background: rgba(228, 119, 9, 0.961); border: none; transition: background var(--duration-fast); }
.hero-dots button.is-active { background: var(--color-paper); }
@media (max-width: 700px) {
  /* Below this width the text no longer overlays the image. Instead the
     image sits full-size at its own height, and the copy moves into its
     own panel underneath on the solid orange background — so the hero
     grows taller here rather than cropping the photo. */
  .hero { min-height: auto; }
  .hero-slides { min-height: auto; }
  .hero-slide { flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; height: 60vh; }
  .hero-media::after { display: none; }
  .hero-content {
    max-width: none;
    background: var(--color-amber);
    padding: var(--space-xl) var(--space-md);
  }

  .hero-slide[data-slide="0"] h1,
  .hero-slide[data-slide="0"] p {
    color: var(--color-ink);
  }
  .hero-slide[data-slide="0"] p.hero-sub {
    color: var(--color-ink);
  }

  /* Force full-black copy on the solid orange panel (desktop keeps the
     near-black ink tone at reduced opacity over the image). */
  .hero-content .hero-eyebrow,
  .hero-content .hero-eyebrow::before,
  .hero-content h1,
  .hero-content p.hero-sub,
  .hero .spec-item .spec-value,
  .hero .spec-item .spec-label {
    color: #0E0D0C;
    opacity: 1;
  }
  .hero-dots { top: calc(60vh - 30px); bottom: auto; }
}
@media (max-width: 480px) {
  /* Give hero content tighter horizontal padding and scale the h1 down
     so the headline doesn't wrap to 4+ lines on a 360px screen */
  .hero-content { padding: var(--space-lg) var(--space-sm); }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .hero p.hero-sub { font-size: var(--fs-base); }
}

.trust-strip { border-bottom: var(--border-hairline); background: var(--color-paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); padding: var(--space-lg) 0; }
.trust-item {
  display: flex; align-items: flex-start; gap: var(--space-xs);
  background: var(--color-paper-raised); border: var(--border-hairline); border-radius: 6px;
  padding: var(--space-md) var(--space-sm);
  box-shadow: 0 2px 12px rgba(14, 13, 12, 0.05), 0 1px 3px rgba(14, 13, 12, 0.04);
  transition: box-shadow var(--duration-fast) var(--ease-default), transform var(--duration-fast) var(--ease-default);
}
.trust-item:hover { box-shadow: 0 6px 24px rgba(14, 13, 12, 0.09); transform: translateY(-2px); }
.trust-item .trust-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--color-amber); display: flex; align-items: center; justify-content: center; color: var(--color-paper); }
.trust-item h3 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 2px; }
.trust-item p { font-size: 0.82rem; color: var(--color-ink-soft); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md) var(--space-sm); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }

/* New Products — warm amber-tint wash signals "featured" without the
   harshness of a full dark section against the rest of the warm page. */
.new-products-section {
  background: var(--color-amber-tint);
  border-top: 3px solid var(--color-kadri);
  padding: var(--space-lg) 0;
}
.new-products-section .eyebrow { color: var(--color-amber-dark); }
.new-products-section .section-link { color: var(--color-amber-dark); }
.new-products-section .section-link:hover { color: var(--color-ink); }

/* Portrait ratio suits product photography better than square
   and keeps the cards from feeling oversized in this section */
.new-products-section .product-thumb { aspect-ratio: 3 / 4; }

.concern-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.concern-card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-md); background: var(--color-ink); }
.concern-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-default); }
.concern-card:hover img { transform: scale(1.06); }
.concern-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,12,0) 40%, rgba(14,13,12,0.85) 100%); }
.concern-card-label { position: absolute; left: var(--space-sm); bottom: var(--space-sm); right: var(--space-sm); z-index: 2; color: var(--color-paper); }
.concern-card-label .concern-name { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 600; border-left: 3px solid var(--color-kadri); padding-left: 10px; }
.concern-card-label .concern-tag { font-size: 0.75rem; color: rgba(250, 246, 240, 0.75); margin-top: 4px; padding-left: 13px; }
@media (max-width: 960px) { .concern-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------------- */
/* RITUAL LIST — "Start here" list that jumps to the shop page pre-filtered */
/* to the chosen ritual (?ritual=<slug>).                                  */
/* ---------------------------------------------------------------------- */
.ritual-list { list-style: none; max-width: 420px; }
.ritual-list li { border-bottom: var(--border-hairline); }
.ritual-list li:last-child { border-bottom: none; }
.ritual-list a {
  display: block;
  padding: 0.85rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  font-family: inherit;
  color: var(--color-kadri);
  transition: color var(--duration-fast) var(--ease-default), padding-left var(--duration-fast) var(--ease-default);
}
.ritual-list a:hover {
  color: var(--color-ink);
  padding-left: 6px;
}

/* ---------------------------------------------------------------------- */
/* VIDEO RAIL — "See it in the routine". Coverflow-style rail, center     */
/* tile largest. Populated with bundles until real routine photography    */
/* is ready.                                                               */
/* ---------------------------------------------------------------------- */
.video-rail-section { background: var(--color-ink); color: var(--color-paper); overflow: hidden; }
.video-rail-section .eyebrow { color: var(--color-kadri); }
.video-rail-section .section-link { color: var(--color-paper); border-color: var(--color-kadri); }
.video-rail-section h2 { color: var(--color-paper); }

.video-rail-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.video-rail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: transform 0.55s cubic-bezier(0.35, 0, 0.25, 1);
  padding: var(--space-sm) 0 var(--space-md);
  will-change: transform;
}

.video-tile {
  position: relative;
  flex: 0 0 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1a1816;
  transition: flex-basis 0.55s cubic-bezier(0.35, 0, 0.25, 1),
              opacity 0.55s cubic-bezier(0.35, 0, 0.25, 1),
              transform 0.55s cubic-bezier(0.35, 0, 0.25, 1);
  opacity: 0.55;
  transform: scale(0.9);
  cursor: pointer;
}

.video-tile.is-center {
  flex: 0 0 310px;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  cursor: default;
}

.video-tile.is-adjacent {
  opacity: 0.8;
  transform: scale(0.95);
}

.video-tile::before {
  content: '';
  display: block;
  padding-top: 155%;
}

.video-tile.is-center::before { padding-top: 178%; }

.video-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.video-tile video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* The photo sits above the video as a cover — it never fully disappears,
   it just fades to a translucent overlay once its video starts playing,
   so motion becomes visible through it. */
.video-tile-cover { z-index: 1; transition: opacity 0.5s var(--ease-default); }

.video-tile.is-playing .video-tile-cover { opacity: 0.24; }

.video-mute-btn {
  position: absolute;
  top: var(--space-xs); right: var(--space-xs);
  z-index: 3;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(14, 13, 12, 0.55);
  color: var(--color-paper);
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.video-tile-caption {
  position: absolute;
  left: var(--space-xs); right: var(--space-xs); bottom: var(--space-xs);
  z-index: 2;
}

.video-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,12,0) 50%, rgba(14,13,12,0.88) 100%);
  z-index: 1;
}

.video-tile-caption p {
  font-size: 0.78rem;
  font-weight: 500;
  position: relative; z-index: 2;
  color: var(--color-paper);
}

.video-rail-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
}

.video-rail-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,246,240,0.25);
  background: rgba(250,246,240,0.08);
  color: var(--color-paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.video-rail-btn:hover { background: var(--color-kadri); border-color: var(--color-kadri); color: var(--color-ink); }

.video-rail-dots { display: flex; gap: 8px; align-items: center; }

.video-rail-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(250,246,240,0.35);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.video-rail-dot.is-active { background: var(--color-kadri); transform: scale(1.5); }

@media (max-width: 960px) {
  .video-tile { flex: 0 0 180px; }
  .video-tile.is-center { flex: 0 0 240px; }
}

/* ---------------------------------------------------------------------- */
/* TESTIMONIAL CAROUSEL — centered focus, active card is largest          */
/* ---------------------------------------------------------------------- */
.testimonials-section { background: var(--color-paper); padding: var(--space-xl) 0; overflow: hidden; }

.testimonials-track-wrapper {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.testimonials-track {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: transform var(--duration-slow) var(--ease-default);
  padding: var(--space-sm) 0 var(--space-md);
}

.testimonial-card {
  flex: 0 0 210px;
  background: var(--color-paper-raised);
  border: var(--border-hairline);
  border-radius: 8px;
  padding: var(--space-sm);
  transition: transform var(--duration-slow) var(--ease-default),
              opacity var(--duration-slow) var(--ease-default),
              box-shadow var(--duration-slow) var(--ease-default),
              flex-basis var(--duration-slow) var(--ease-default);
  opacity: 0.45;
  transform: scale(0.92);
  box-shadow: none;
  position: relative;
}

.testimonial-card.is-active {
  flex: 0 0 260px;
  opacity: 1;
  transform: scale(1);
  border-color: var(--color-kadri);
  box-shadow: 0 8px 28px rgba(14, 13, 12, 0.1);
}

.testimonial-card.is-adjacent { opacity: 0.7; transform: scale(0.96); }

.testimonial-stars { display: flex; gap: 2px; margin-bottom: 6px; color: var(--color-kadri); font-size: 0.72rem; }

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-ink);
  margin-bottom: var(--space-xs);
}

.testimonial-card.is-active .testimonial-quote { font-size: 0.95rem; }

.testimonial-meta { display: flex; align-items: center; gap: 0.5rem; }

.testimonial-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-amber-tint);
  border: 2px solid var(--color-kadri);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-amber-dark);
  flex-shrink: 0;
  text-transform: uppercase;
}

.testimonial-author { font-size: 0.72rem; font-weight: 600; color: var(--color-ink); }
.testimonial-location { font-size: 0.65rem; color: var(--color-ink-soft); }

.testimonial-product-tag {
  position: absolute;
  top: var(--space-xs); right: var(--space-xs);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-amber-tint);
  color: var(--color-amber-dark);
  padding: 2px 6px;
  border-radius: 999px;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonials-nav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: var(--border-hairline);
  background: var(--color-paper);
  color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast);
  cursor: pointer;
}

.testimonials-nav-btn:hover { background: var(--color-kadri); border-color: var(--color-kadri); color: var(--color-paper); }

.testimonials-dots { display: flex; gap: 8px; align-items: center; }

.testimonials-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-stone);
  border: none;
  cursor: pointer;
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.testimonials-dot.is-active { background: var(--color-kadri); transform: scale(1.4); }
