/* Home page sections. */

.hero { padding-top: clamp(0.75rem, 1.5vw, 1.25rem); }
.hero__stage { display: grid; border-radius: calc(var(--radius) + 8px); overflow: hidden; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: clamp(440px, 46vw, 640px); opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide--lilac { --halo: #dcc8f2; background: linear-gradient(115deg, #f7f2fc, #ece0f8); }
.slide--blue { --halo: #c4dcf3; background: linear-gradient(115deg, #f3f8fd, #dfedfa); }
.slide--peach { --halo: #fbd3ae; background: linear-gradient(115deg, #fff7f0, #fde8d6); }
.slide__copy { display: grid; gap: 1.25rem; justify-items: start; padding: clamp(1.5rem, 6vw, 6rem); padding-right: 1rem; }
.slide__copy > * { translate: 0 22px; opacity: 0; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
.slide.is-active .slide__copy > * { translate: 0 0; opacity: 1; }
.slide.is-active .slide__copy > :nth-child(2) { transition-delay: 0.1s; }
.slide.is-active .slide__copy > :nth-child(3) { transition-delay: 0.18s; }
.slide.is-active .slide__copy > :nth-child(4) { transition-delay: 0.26s; }
.slide :is(h1, h2) { font-size: clamp(2.6rem, 1rem + 4.6vw, 5.25rem); line-height: 1.02; }
.slide em { display: block; color: var(--gold); }
.slide__copy > p:not(.eyebrow) { max-width: 42ch; color: #4d453f; font-weight: 300; }
.slide__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 0.4rem; }
.slide__price { font: 400 1.9rem var(--serif); }
.slide__art { position: relative; align-self: stretch; display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3.5rem); }
.slide__art::before { content: ''; position: absolute; width: min(78%, 480px); aspect-ratio: 1; border-radius: 50%; background: var(--halo); opacity: 0.65; scale: 0.8; transition: scale 1.4s var(--ease); }
.slide.is-active .slide__art::before { scale: 1; }
.slide__art img { position: absolute; max-width: 82%; max-height: 84%; width: auto; height: 84%; object-fit: contain; filter: drop-shadow(0 28px 24px rgb(50 32 20 / 0.24)); translate: 40px 0; transition: translate 1s var(--ease); }
.slide.is-active .slide__art img { translate: 0 0; animation: float 6s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero__dots { display: flex; justify-content: center; gap: 0.25rem; margin-top: 0.6rem; }
.hero__dots button { display: grid; place-items: center; width: 40px; height: 28px; }
.hero__dots button::after { content: ''; width: 8px; height: 8px; border-radius: 99px; background: #d6cfc7; transition: width 0.35s var(--ease), background 0.35s; }
.hero__dots button[aria-current='true']::after { width: 28px; background: var(--text); }
@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; min-height: 600px; }
  .slide__art { order: -1; height: 290px; padding: 1rem; }
  .slide__art::before { width: 250px; }
  .slide__copy { justify-items: center; text-align: center; gap: 0.8rem; padding: 0.5rem 1.25rem 2rem; }
  .slide__cta { justify-content: center; }
}

.categories { padding-bottom: var(--section); }
.circles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.circles a { display: grid; justify-items: center; gap: 0.3rem; text-align: center; }
.circles figure { width: min(100%, 200px); aspect-ratio: 1; margin-bottom: 0.6rem; border-radius: 50%; background: var(--soft); border: 1px solid transparent; transition: border-color 0.35s, background 0.35s; }
.circles img { width: 100%; height: 100%; object-fit: contain; padding: 9%; filter: drop-shadow(0 10px 10px rgb(60 42 24 / 0.18)); transition: scale 0.5s var(--ease), translate 0.5s var(--ease); }
.circles a:hover figure { border-color: var(--gold); background: var(--gold-soft); }
.circles a:hover img { scale: 1.1; translate: 0 -4px; }
.circles b { font: 400 1.35rem/1.2 var(--serif); }
.circles small { color: var(--muted); font-size: 0.74rem; }
@media (max-width: 760px) {
  .circles { display: flex; overflow-x: auto; gap: 0.9rem; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); }
  .circles li { flex: 0 0 36%; scroll-snap-align: start; }
  .circles b { font-size: 1.1rem; }
  .circles small { display: none; }
}

.picks { padding-bottom: var(--section); }
.picks__more { text-align: center; margin-top: 2.5rem; }
@media (max-width: 700px) { #pick-tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; } }

.needs { background: #fbf8f4; }
.needs__note { max-width: 34ch; font-size: 0.84rem; }
.needs__layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.need { display: block; width: 100%; text-align: left; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.need b { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font: 400 clamp(1.45rem, 2.2vw, 2rem) var(--serif); color: #a59c93; transition: color 0.3s; }
.need svg { width: 20px; height: 20px; rotate: -45deg; transition: rotate 0.35s var(--ease); }
.need span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.need span i { overflow: hidden; min-height: 0; font-style: normal; color: var(--muted); font-weight: 300; font-size: 0.86rem; }
.need:hover b, .need[aria-pressed='true'] b { color: var(--text); }
.need[aria-pressed='true'] span { grid-template-rows: 1fr; }
.need[aria-pressed='true'] svg { rotate: 0deg; }
.needs__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.needs__products .card { animation: swap 0.5s var(--ease) backwards; animation-delay: calc(var(--i) * 70ms); }
.needs__products .card__media { background: var(--white); }
.needs__products .card__action { background: var(--white); }
@keyframes swap { from { opacity: 0; translate: 24px 0; } }
@media (max-width: 960px) { .needs__layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .needs__products { display: flex; overflow-x: auto; gap: 0.7rem; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .needs__products .card { flex: 0 0 62%; scroll-snap-align: start; }
}

.routine__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.routine__steps li { counter-increment: step; display: grid; grid-template-columns: 1fr; justify-items: center; align-content: start; gap: 0.5rem; padding: 1.5rem 1.25rem 1.75rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); text-align: center; }
.routine__steps li::before { content: counter(step, decimal-leading-zero); justify-self: start; font: 400 2.6rem/1 var(--serif); color: var(--gold); }
.routine__steps li > a:first-child { justify-self: stretch; }
.routine__steps img { width: min(78%, 240px); margin-inline: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 14px rgb(60 42 24 / 0.17)); transition: translate 0.5s var(--ease); }
.routine__steps li:hover img { translate: 0 -8px; }
.routine__steps h3 { font-size: 1.7rem; }
.routine__steps p { color: var(--muted); font-weight: 300; font-size: 0.84rem; max-width: 34ch; }
.routine__steps a.link { justify-self: center; margin-top: 0.5rem; }
.routine__total { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; margin-top: 1.75rem; padding: 1.5rem; border-radius: calc(var(--radius) + 6px); background: var(--gold-soft); }
.routine__total p { display: flex; align-items: baseline; gap: 0.9rem; }
.routine__total strong { font: 400 2rem var(--serif); }
@media (max-width: 760px) { .routine__steps { grid-template-columns: 1fr; } }

.store { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.store__photo { border-radius: calc(var(--radius) + 8px); overflow: hidden; aspect-ratio: 1 / 0.92; }
.store__photo img { width: 100%; height: 100%; object-fit: cover; }
.store__body { display: grid; gap: 1.1rem; justify-items: start; }
.store__body address { font: 400 1.4rem/1.35 var(--serif); max-width: 28ch; }
.store__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
@media (max-width: 800px) { .store { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem clamp(1.5rem, 4vw, 4rem); padding-bottom: var(--section); }
.faq__intro { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 0; cursor: pointer; font: 400 1.3rem/1.3 var(--serif); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.5rem/1 var(--sans); flex: none; transition: rotate 0.3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-bottom: 1.3rem; color: var(--muted); font-weight: 300; max-width: 66ch; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }
