/*!
 * Anushka Fashion — HOME page styles (public/index.html)
 * Uses only tokens + components from store.css. All classes prefixed .home-…
 */

/* ============================================================== 1 · HERO */
.home-hero {
  position: relative;
  isolation: isolate;
  /* tall enough for the announcement bar, the header and the caption beneath them */
  min-height: max(600px, calc(var(--announce-h) + var(--header-h) + 430px));
  height: 100svh;
  max-height: 1000px;
  display: flex;
  /* "safe" so that a caption taller than the hero overflows downwards instead of
     sliding up underneath the header and printing over the logo */
  align-items: safe flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}
.home-hero__slides { position: absolute; inset: 0; z-index: -2; }
.home-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  /* "safe" so a caption taller than the hero overflows downwards instead of
     sliding up underneath the header and printing over the logo */
  align-items: safe flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
}
.home-hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s, 0s; z-index: 1; }

/* The photographs cross-fade over 1.2s, but the words must not: each slide's
   caption is a different height, so two of them fading through each other
   printed one headline on top of the other. The outgoing caption is dropped at
   once and the incoming one is animated in on its own. */
.home-hero__slide .home-hero__inner { opacity: 0; visibility: hidden; }
/* No fill-mode on purpose: the caption's own styles already make it visible, so
   if animations are paused or switched off the words still show. */
.home-hero__slide.is-active .home-hero__inner {
  opacity: 1;
  visibility: visible;
  animation: heroCopyIn .75s var(--ease);
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__slide.is-active .home-hero__inner { animation: none; }
}
.home-hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink-2); }
.home-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 20, 22, .42) 0%, rgba(26, 20, 22, .1) 30%, rgba(26, 20, 22, .34) 72%, rgba(26, 20, 22, .72) 100%),
    linear-gradient(90deg, rgba(18, 12, 14, .82) 0%, rgba(18, 12, 14, .6) 26%, rgba(26, 20, 22, .14) 56%, rgba(26, 20, 22, 0) 76%);
}
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.02); }
.home-hero__slide.is-active .home-hero__media img { animation: kenburns 9s var(--ease) forwards; }
.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(26, 20, 22, 0) 55%, rgba(26, 20, 22, .28) 100%);
}
.home-hero__inner :is(h1, h2, p, .eyebrow) { text-shadow: 0 2px 22px rgba(12, 8, 10, .55); }
.home-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding-top: calc(var(--announce-h) + var(--header-h) + 40px);
  padding-bottom: clamp(110px, 16vh, 190px);
  min-height: 0;
}
.home-hero__eyebrow { color: var(--gold-light); }
.home-hero__title {
  max-width: 15ch;
  color: var(--ivory);
  text-shadow: 0 2px 40px rgba(26, 20, 22, .35);
}
.home-hero__tagline {
  font-family: 'Tiro Devanagari Marathi', var(--font-display);
  font-size: clamp(1.05rem, .95rem + .7vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--gold-light);
  letter-spacing: .01em;
}
.home-hero__text { max-width: 46ch; color: rgba(251, 248, 243, .88); }
.home-hero__actions { margin-top: 10px; }
.home-hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding-bottom: clamp(20px, 4vh, 40px); }
.home-hero__foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.home-hero__dots { display: flex; align-items: center; gap: 10px; }
.home-hero__dot {
  position: relative;
  width: 44px;
  height: 22px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
}
.home-hero__dot::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(251, 248, 243, .35); }
.home-hero__dot-fill { position: absolute; left: 0; top: calc(50% - .75px); height: 1.5px; width: 0; background: var(--gold-light); }
.home-hero__dot.is-active .home-hero__dot-fill { animation: heroProgress 6s linear forwards; }
@media (min-width: 768px) { .home-hero__dot { width: 62px; } }
.home-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--micro-size);
  font-weight: 500;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: rgba(251, 248, 243, .82);
}
.home-hero__scroll svg { width: 18px; height: 18px; animation: heroNudge 2.4s var(--ease) infinite; }
.home-hero__scroll:hover { color: var(--gold-light); }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
@keyframes heroNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (max-width: 599.98px) {
  .home-hero { height: 92svh; min-height: 560px; }
  .home-hero__scroll span { display: none; }
}
/* Short screens — a phone in landscape, a small laptop. Tighten the caption so
   it always fits between the header and the slide dots. */
@media (max-height: 700px) {
  .home-hero__inner { padding-bottom: clamp(64px, 11vh, 110px); gap: 10px; }
  .home-hero__tagline { font-size: clamp(.95rem, .9rem + .4vw, 1.15rem); }
  .home-hero__text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__slide.is-active .home-hero__media img { animation: none; transform: none; }
  .home-hero__dot.is-active .home-hero__dot-fill { animation: none; width: 100%; }
  .home-hero__scroll svg { animation: none; }
}

/* ============================================================== 2 · TRUST STRIP */
.home-trust { background: var(--linen); border-bottom: 1px solid var(--line); }
.home-trust__inner { padding-block: 0; }
.home-trust__row { display: none; }
.home-trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(16px, 2vw, 26px);
  min-height: 74px;
}
.home-trust__icon { display: inline-flex; color: var(--gold-deep); }
.home-trust__icon svg { width: 24px; height: 24px; }
.home-trust__copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.home-trust__title { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.35; white-space: nowrap; }
.home-trust__sub { font-size: 11.5px; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.home-trust__marquee { --marquee-duration: 38s; }
.home-trust__marquee .marquee__group { display: flex; align-items: center; }
.home-trust__marquee .home-trust__item { border-left: 1px solid var(--line); }
@media (min-width: 1024px) {
  .home-trust__marquee { display: none; }
  .home-trust__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .home-trust__row .home-trust__item + .home-trust__item { border-left: 1px solid var(--line); }
  .home-trust__row .home-trust__item { justify-content: center; }
  .home-trust__title, .home-trust__sub { white-space: normal; }
}

/* ============================================================== 3 · CATEGORIES */
.home-cats__grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.home-cats__grid::-webkit-scrollbar { display: none; }
.home-cats__grid > * { flex: 0 0 min(62vw, 280px); scroll-snap-align: start; }
@media (min-width: 900px) {
  .home-cats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .home-cats__grid > * { flex: none; }
  .home-cat:first-child { grid-column: span 2; grid-row: span 2; }
}
.home-cat {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream);
  color: var(--ivory);
  aspect-ratio: 3 / 4;
  isolation: isolate;
}
@media (min-width: 900px) { .home-cat:first-child { aspect-ratio: auto; height: 100%; } }
.home-cat__media { position: absolute; inset: 0; display: block; }
.home-cat__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.4s var(--ease); }
.home-cat:hover .home-cat__media img { transform: scale(1.07); }
.home-cat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 22, .05) 30%, rgba(26, 20, 22, .68) 100%);
  transition: background .5s var(--ease);
}
.home-cat:hover .home-cat__overlay { background: linear-gradient(180deg, rgba(26, 20, 22, .12) 20%, rgba(26, 20, 22, .78) 100%); }
.home-cat__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(16px, 2vw, 26px);
}
.home-cat__body::before {
  content: '';
  position: absolute;
  left: clamp(16px, 2vw, 26px);
  top: 0;
  width: 34px;
  height: 1px;
  background: var(--gold-light);
  opacity: .8;
}
.home-cat__name {
  font-family: var(--font-display);
  font-size: calc(clamp(1.25rem, 1.05rem + .7vw, 1.9rem) * var(--display-scale));
  font-weight: 500;
  line-height: 1.15;
  color: var(--ivory);
}
.home-cat__count { font-size: 11px; letter-spacing: var(--track-micro); text-transform: uppercase; color: rgba(251, 248, 243, .7); }
.home-cat__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: var(--micro-size);
  font-weight: 500;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.home-cat__cta svg { width: 16px; height: 16px; }
.home-cat:hover .home-cat__cta, .home-cat:focus-visible .home-cat__cta { opacity: 1; transform: none; }
@media (hover: none) { .home-cat__cta { opacity: 1; transform: none; } }

/* ============================================================== 4 · NEW ARRIVALS */
.home-new__chips { justify-content: center; margin-top: -8px; }
.home-error { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; grid-column: 1 / -1; width: 100%; }
.home-error .btn { margin-left: auto; }

/* ============================================================== 5 · SLOGAN */
.home-slogan__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.home-slogan__ornament {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 191, 147, .5);
  border-radius: 50%;
  position: relative;
  margin-bottom: 8px;
}
.home-slogan__ornament::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 11px;
  height: 11px;
  background: var(--ornament-diamond) center / contain no-repeat;
}
.home-slogan__quote { max-width: 20ch; margin-inline: auto; }
.home-slogan__tagline {
  font-family: 'Tiro Devanagari Marathi', var(--font-display);
  font-size: clamp(1.15rem, 1rem + .9vw, 1.7rem);
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
}
.home-slogan .lead { text-align: center; }

/* ============================================================== 6 · IN-STORE RAIL */
.home-instore__arrows { display: none; gap: 10px; }
@media (min-width: 900px) { .home-instore__arrows { display: flex; } }
.home-instore__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 10px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(216, 191, 147, .92);
  pointer-events: none;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[lang="mr"] .home-instore__badge, html[lang="hi"] .home-instore__badge { font-size: 11px; }

/* ============================================================== 7 · PRICE EDITS + PROMO */
.home-edits__grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .home-edits__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.home-edit {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--ivory);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.home-edit::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease-lux);
}
.home-edit:hover { border-color: var(--gold-light); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.home-edit:hover::after { transform: scaleX(1); }
.home-edit__label { font-size: var(--micro-size); font-weight: 500; letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--gold-deep); }
.home-edit__amount {
  font-family: var(--font-display);
  font-size: calc(clamp(2.4rem, 1.9rem + 2vw, 3.6rem) * var(--display-scale));
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.home-edit__amount small { font-size: .35em; letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--gold-deep); }
.home-edit__sub { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 26ch; }
.home-edit__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: var(--micro-size);
  font-weight: 500;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--ink);
}
.home-edit__cta svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.home-edit:hover .home-edit__cta svg { transform: translateX(5px); }

.home-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(24px, 4vw, 48px);
  background: var(--ink);
  color: rgba(251, 248, 243, .8);
  overflow: hidden;
}
@media (min-width: 860px) { .home-promo { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.home-promo__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
@media (min-width: 860px) { .home-promo__media { aspect-ratio: auto; height: 100%; min-height: 340px; } }
.home-promo__media img { width: 100%; height: 100%; object-fit: cover; }
.home-promo__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 4vw, 60px);
  justify-content: center;
}
.home-promo__body .eyebrow { color: var(--gold-light); }
.home-promo__body .display-3 { color: var(--ivory); max-width: 16ch; }
.home-promo__body .lead { color: rgba(251, 248, 243, .78); }
.home-promo__body .btn { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-border: var(--ivory); --btn-sweep: var(--gold-light); --btn-sweep-fg: var(--ink); margin-top: 6px; }

/* ============================================================== 9 · KIDS */
.home-kids__inner { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .home-kids__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } }
.home-kids__media { aspect-ratio: 4 / 5; }
.home-kids__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.home-kids__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.home-kids__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 14px;
  width: 100%;
  margin-block: 10px;
}
@media (min-width: 560px) { .home-kids__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 960px) { .home-kids__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .home-kids__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.home-kids__grid .product-card__name { font-size: calc(1rem * var(--display-scale)); -webkit-line-clamp: 2; min-height: 0; }

/* ============================================================== 10 · TESTIMONIALS */
.home-voices__summary { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.home-voices__stage { max-width: 860px; margin-inline: auto; }
.home-voices__viewport { display: grid; }
.home-voices__card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: clamp(20px, 3vw, 36px) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s;
}
.home-voices__card.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.home-voices__mark { color: var(--gold-light); }
.home-voices__mark svg { width: 34px; height: 34px; }
.home-voices__text { max-width: 44ch; color: var(--ink); }
.home-voices__by { display: flex; flex-direction: column; gap: 2px; }
.home-voices__name { font-size: var(--micro-size); font-weight: 500; letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--ink); }
.home-voices__city { font-size: 13px; color: var(--muted); }
.home-voices__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.home-voices__dots { display: flex; align-items: center; gap: 8px; }
.home-voices__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.home-voices__dot.is-active { background: var(--gold); transform: scale(1.3); }

/* ============================================================== 11 · INSTAGRAM */
.home-insta__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.home-insta__cell { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.home-insta__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}
.home-insta__frame::after { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(176, 141, 87, .22); pointer-events: none; z-index: 3; }
.home-insta__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-insta__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.home-insta__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  font-size: 13px;
}
.home-insta__fallback svg { width: 28px; height: 28px; color: var(--gold-deep); }
.home-insta__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.home-insta__open svg { width: 15px; height: 15px; }
.home-insta__open:hover { color: var(--wine); }
.home-insta__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(28px, 4vw, 44px); }

/* ============================================================== 12 · VISIT */
.home-visit__inner { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 960px) { .home-visit__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.home-visit__media { aspect-ratio: 4 / 3; }
.home-visit__media img { width: 100%; height: 100%; object-fit: cover; }
.home-visit__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.home-visit__details { display: flex; flex-direction: column; gap: 16px; margin: 6px 0 4px; width: 100%; }
.home-visit__row { display: flex; align-items: flex-start; gap: 14px; }
.home-visit__icon { display: inline-flex; color: var(--gold-light); margin-top: 2px; }
.home-visit__icon svg { width: 20px; height: 20px; }
.home-visit__details dt {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: rgba(251, 248, 243, .5);
  margin-bottom: 2px;
}
.home-visit__details dd { margin: 0; color: rgba(251, 248, 243, .88); font-size: 15px; line-height: 1.6; max-width: 40ch; }
.home-visit__details dd a:hover { color: var(--gold-light); }
.home-visit__map-wrap { margin-top: clamp(36px, 5vw, 64px); }
.home-visit__map {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  background: var(--ink-2);
  border: 1px solid rgba(216, 191, 147, .25);
  overflow: hidden;
}
@media (min-width: 900px) { .home-visit__map { aspect-ratio: 21 / 9; } }
.home-visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(.25) contrast(1.02); }

/* ============================================================== 13 · COMMUNITY */
.home-community__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px clamp(20px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px);
  background: var(--cream);
  border: 1px solid var(--line);
}
.home-community__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--ink);
  flex: 0 0 auto;
}
.home-community__icon svg { width: 26px; height: 26px; }
.home-community__body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.home-community__title { font-family: var(--font-display); font-size: calc(1.55rem * var(--display-scale)); font-weight: 500; color: var(--ink); line-height: 1.2; }
.home-community__card .btn { flex: 0 0 auto; }

/* ============================================================== shared reveals */
.home-cats .section__head, .home-new .section__head { margin-bottom: clamp(28px, 4vw, 52px); }
