/* ============================================================
   Maa's Collection — "Peacock & Zari"
   Three colours only: ivory paper, peacock teal, zari gold.
   Everything else is a tint of those. Arched frames, scroll
   reveals, a marquee ribbon, fluid clamp() type.
   ============================================================ */

:root {
  --paper: #f8f3e8;  /* ivory */
  --deep: #0b3f3c;   /* peacock teal */
  --accent: #d4a23a; /* zari gold */

  --paper-deep: color-mix(in srgb, var(--deep) 7%, var(--paper));
  --paper-card: color-mix(in srgb, #fff 45%, var(--paper));
  --deep-dark: color-mix(in srgb, var(--deep) 82%, #000);
  --ink: var(--deep);
  --ink-soft: color-mix(in srgb, var(--deep) 82%, var(--paper));
  --muted: color-mix(in srgb, var(--deep) 60%, var(--paper));
  --line: color-mix(in srgb, var(--deep) 16%, transparent);
  --line-strong: color-mix(in srgb, var(--deep) 60%, transparent);
  --line-light: color-mix(in srgb, var(--paper) 18%, transparent);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-swift: cubic-bezier(0.76, 0, 0.24, 1);
  --serif: "Cormorant Garamond", "Tiro Devanagari Hindi", Georgia, serif;
  --sans: "Hind", system-ui, sans-serif;
  --hand: "Kalam", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* the hidden attribute must always win, even over display rules */
[hidden] { display: none !important; }

::selection { color: var(--paper); background: var(--deep); }

.container { width: min(1240px, 92%); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; }

/* ---------- Micro label ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-inview { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.7rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    letter-spacing 0.35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); letter-spacing: 0.2em; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--deep); color: var(--paper); }
.btn-primary:hover { background: var(--deep-dark); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-whatsapp { background: #1faa53; color: #f2fff6; }
.btn-whatsapp:hover { background: #178a43; }

.btn-lg { padding: 0.95rem 2rem; font-size: 0.88rem; }

/* ============================================================
   Banners
   ============================================================ */
.announcement-bar {
  background: var(--deep);
  color: var(--accent);
  text-align: center;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 0.55rem;
}

.demo-banner {
  background: #f3e6c4;
  color: #6b5200;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding-block: 0.45rem;
  border-bottom: 1px dashed rgba(107, 82, 0, 0.4);
}

/* ============================================================
   Header — sticky, blurs once scrolled, hides scrolling down
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.85);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    backdrop-filter 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    transform 0.45s var(--ease-swift);
}
.site-header.is-scrolled {
  background: rgba(247, 242, 233, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  color: var(--deep);
  font-family: var(--serif);
  font-size: 1.25rem;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.brand:hover .brand-mark { background: var(--deep); color: var(--paper); border-color: var(--deep); }

.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: 1.7rem; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }

.nav a:not(.btn) {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-block: 0.3rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: color 0.3s var(--ease-out), background-size 0.4s var(--ease-out);
}
.nav a:not(.btn):hover { color: var(--deep); background-size: 100% 1px; }

.nav-cta { border-color: var(--deep); color: var(--deep) !important; padding: 0.5rem 1.15rem; }
.nav-cta:hover { background: var(--deep); color: var(--paper) !important; }

.lang-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.38rem 0.95rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.lang-btn:hover { border-color: var(--ink); background: rgba(36, 27, 21, 0.05); }

/* ============================================================
   Hero — split editorial composition
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 88% 8%, rgba(185, 134, 46, 0.14), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(123, 30, 58, 0.07), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  min-height: min(780px, calc(100svh - 140px));
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

/* staggered entrance */
.hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 0.95s var(--ease-out) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.28s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.4s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.52s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

.hero-eyebrow { margin-bottom: 1.4rem; }

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.hero h1 em,
.hero h1 span[data-i18n] { font-style: normal; }
.hero h1 br + span { display: inline-block; }
.hero-title-accent { color: var(--deep); font-style: italic; }

.hero-sub { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.8rem;
  list-style: none;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-points li { position: relative; padding-inline-start: 1.1rem; }
.hero-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* --- Hero visual: framed image + corner ticks + category tiles --- */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 0.3s forwards;
}

.hero-frame {
  position: relative;
  aspect-ratio: 3.4 / 4;
  max-width: 480px;
  margin-inline: auto;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  /* corner crop-mark ticks drawn with gradients, fade in on hover */
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 22px 1px,
    linear-gradient(var(--ink), var(--ink)) top left / 1px 22px,
    linear-gradient(var(--ink), var(--ink)) top right / 22px 1px,
    linear-gradient(var(--ink), var(--ink)) top right / 1px 22px,
    linear-gradient(var(--ink), var(--ink)) bottom left / 22px 1px,
    linear-gradient(var(--ink), var(--ink)) bottom left / 1px 22px,
    linear-gradient(var(--ink), var(--ink)) bottom right / 22px 1px,
    linear-gradient(var(--ink), var(--ink)) bottom right / 1px 22px;
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.4s var(--ease-out);
}
.hero-frame:hover::before { opacity: 1; }
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 6s var(--ease-out);
}
.hero-frame:hover img { transform: scale(1.09); }

.hero-frame-caption {
  position: absolute;
  z-index: 3;
  inset-inline-start: 0;
  bottom: 0;
  background: var(--deep);
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.6rem 1.1rem;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -34px;
  inset-inline-end: 4%;
  width: 96px;
  height: 96px;
  animation: spin-slow 22s linear infinite;
  filter: drop-shadow(0 4px 14px rgba(123, 30, 58, 0.25));
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* faint woven texture behind everything */
.hero-pattern {
  position: absolute;
  inset-inline-end: -120px;
  inset-block-start: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0 17px,
    rgba(123, 30, 58, 0.05) 17px 19px
  );
  pointer-events: none;
  will-change: transform;
}

/* ============================================================
   Marquee band
   ============================================================ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-strong);
  background: var(--paper);
  padding-block: 1.05rem;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.marquee-star { color: var(--accent); font-style: normal; font-size: 0.9em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Collection page + show-all
   ============================================================ */
.collection-page { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }

.show-all-wrap { display: flex; justify-content: center; margin-top: 3rem; }

/* ============================================================
   Section heads — numbered, editorial
   ============================================================ */
.products,
.reviews,
.contact { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}
.section-head h2,
.section-head h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  color: var(--ink);
  margin-top: 0.9rem;
}
.section-head p { color: var(--muted); max-width: 42ch; font-size: 0.95rem; }
.section-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
}

/* ============================================================
   Products
   ============================================================ */

/* quiet underline search field */
.search-row { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.search-row input {
  width: min(460px, 100%);
  padding: 0.7rem 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.3s;
}
.search-row input:focus { outline: none; border-bottom-color: var(--deep); }
.search-row input::placeholder { color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2.6rem;
}

.chip {
  position: relative;
  z-index: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-swift);
  z-index: -1;
}
.chip:hover { border-color: var(--ink); color: var(--paper); }
.chip:hover::before { transform: scaleY(1); }
.chip.active { color: var(--paper); border-color: var(--ink); }
.chip.active::before { transform: scaleY(1); }
.chip span { position: relative; z-index: 1; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.4rem;
}

/* flat editorial cards */
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    background 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}
.card:hover {
  background: var(--paper-card);
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(36, 27, 21, 0.1);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.card:hover .card-img-wrap img { transform: scale(1.06); }

/* sheen sweep across the image on hover */
.card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.card:hover .card-img-wrap::after { transform: translateX(130%); }

.badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 0;
  z-index: 2;
  background: var(--deep);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem 0.4rem 0.8rem;
}

.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.card-cat {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-name { font-size: 1.18rem; font-weight: 500; line-height: 1.3; transition: color 0.3s; }
.card:hover .card-name { color: var(--deep); }
.card-price { font-size: 1rem; font-weight: 500; color: var(--deep); }
.card-price s { color: var(--muted); font-weight: 300; font-size: 0.84rem; margin-left: 0.45rem; }

.view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s, gap 0.35s var(--ease-out);
}
.card:hover .view-link { color: var(--deep); gap: 0.75rem; }

.empty-note { text-align: center; color: var(--muted); padding-block: 2.5rem; }
.loading-note { text-align: center; color: var(--muted); padding-block: 1.5rem; font-style: italic; }

/* ============================================================
   Reviews — notes pinned to the wall
   ============================================================ */
.reviews { background: var(--paper-deep); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.6rem;
}

.review-card {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: 1.9rem 1.5rem 1.4rem;
  display: grid;
  gap: 0.6rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.review-card:hover {
  transform: translateY(-5px) rotate(-0.4deg);
  box-shadow: 0 18px 36px rgba(36, 27, 21, 0.12);
}
/* the bit of tape */
.review-card::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 86px;
  height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(217, 185, 92, 0.4);
  border-inline: 1px dashed rgba(185, 134, 46, 0.5);
}

.review-stars { color: var(--accent); letter-spacing: 0.3em; font-size: 0.85rem; }
.review-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.7;
}
.review-card figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.review-card figcaption strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   About — dark atelier chapter
   ============================================================ */
.about {
  background: var(--deep);
  color: #ece4d6;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about .kicker { color: var(--accent); }

.about-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-top: 1rem;
  color: #f7f2e9;
}
.about-text p { color: rgba(236, 228, 214, 0.72); margin-top: 1.1rem; max-width: 52ch; }
.about-sign {
  margin-top: 1.6rem !important;
  color: var(--accent) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}

.about-card h3 {
  color: #f7f2e9;
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
}
.about-card ul { list-style: none; counter-reset: why; }
.about-card li {
  counter-increment: why;
  position: relative;
  padding: 1.05rem 0 1.05rem 3.4rem;
  border-bottom: 1px solid var(--line-light);
  color: rgba(236, 228, 214, 0.75);
  font-size: 0.94rem;
}
.about-card li:first-child { border-top: 1px solid var(--line-light); }
.about-card li::before {
  content: "0" counter(why);
  position: absolute;
  inset-inline-start: 0;
  top: 1.15rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
}
.about-card strong { color: #f7f2e9; font-weight: 500; }

/* ============================================================
   Contact
   ============================================================ */
.contact { text-align: center; }
.contact .kicker { justify-content: center; }
.contact .kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}
.contact h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  color: var(--ink);
  margin-top: 1rem;
}
.contact p { color: var(--muted); margin-top: 0.6rem; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.85rem; margin-top: 2rem; }
.contact-note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--muted); letter-spacing: 0.04em; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--deep);
  color: rgba(236, 228, 214, 0.8);
  padding-block: 3.2rem 1.6rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px dashed var(--line-light);
}
.footer-brand .brand-name { color: #f7f2e9; font-size: 1.5rem; }
.footer-brand p { margin-top: 0.8rem; color: rgba(236, 228, 214, 0.55); max-width: 30ch; font-size: 0.84rem; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-col a { color: rgba(236, 228, 214, 0.75); text-decoration: none; transition: color 0.3s, padding-inline-start 0.3s; }
.footer-col a:hover { color: #fff; padding-inline-start: 0.35rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(236, 228, 214, 0.5);
}
.footer-login { color: rgba(236, 228, 214, 0.6); text-decoration: none; transition: color 0.3s; }
.footer-login:hover { color: var(--accent); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1faa53;
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 170, 83, 0.4);
  transition: transform 0.3s var(--ease-out);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(31, 170, 83, 0.6);
  animation: wa-pulse 2.4s var(--ease-out) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Product detail page
   ============================================================ */
.product-page { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3.5rem, 7vw, 5.5rem); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--deep);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  transition: gap 0.3s var(--ease-out);
}
.back-link:hover { gap: 0.9rem; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.thumb {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  background: var(--paper-deep);
  opacity: 0.65;
  transition: opacity 0.3s, border-color 0.3s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.active { border-color: var(--deep); opacity: 1; }

.p-name { font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--ink); margin-top: 0.4rem; line-height: 1.15; }
.p-price { font-size: 1.4rem; margin-top: 0.4rem; }
.stock-note {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-top: 0.8rem;
}
.in-stock { border: 1px solid rgba(34, 102, 47, 0.4); color: #22662f; background: rgba(34, 102, 47, 0.06); }
.out-of-stock { border: 1px solid rgba(153, 34, 34, 0.4); color: #992222; background: rgba(153, 34, 34, 0.06); }

.desc-heading {
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line-strong);
}
.p-desc { color: var(--muted); white-space: pre-line; }

.p-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

.related { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.related h2 { font-size: 1.7rem; color: var(--ink); margin-bottom: 1.6rem; }

@media (max-width: 800px) {
  .product-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   Track order page
   ============================================================ */
.track-page { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }

.card-panel {
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.track-form { max-width: 640px; display: grid; gap: 1.4rem; }
.track-form .btn { justify-self: start; }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input {
  padding: 0.7rem 0.2rem;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.3s;
}
.field input:focus { outline: none; border-bottom-color: var(--deep); }

.track-result { margin-top: 2.4rem; }
.track-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.track-code-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.track-code-label strong { color: var(--deep); font-weight: 500; letter-spacing: 0.06em; }
.muted { color: var(--muted); font-size: 0.85rem; }

.status-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--line-strong);
}
.status-delivered { border-color: rgba(34, 102, 47, 0.5); color: #22662f; background: rgba(34, 102, 47, 0.07); }
.status-shipped { border-color: rgba(185, 134, 46, 0.6); color: #8a6410; background: rgba(185, 134, 46, 0.08); }
.status-cancelled { border-color: rgba(153, 34, 34, 0.5); color: #992222; background: rgba(153, 34, 34, 0.07); }

.timeline {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 2.2rem 0;
  padding: 0;
  overflow-x: auto;
}
.timeline li {
  flex: 1;
  min-width: 110px;
  position: relative;
  padding-top: 1.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}
.timeline li::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--paper-card);
  border: 1px solid var(--line-strong);
  transition: background 0.3s, border-color 0.3s;
}
.timeline li.done { color: var(--ink); }
.timeline li.done::after { background: var(--deep); border-color: var(--deep); }
.timeline li.cancelled { color: #992222; }
.timeline li.cancelled::after { background: #992222; border-color: #992222; }

.items-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.items-table th {
  text-align: start;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.items-table td { padding: 0.75rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.items-table td:last-child,
.items-table th:last-child { text-align: end; }
.items-table tfoot td { font-weight: 500; color: var(--deep); border-bottom: 0; padding-top: 1rem; }
.items-table tfoot th { border-bottom: 0; padding-top: 1rem; }

.track-result .btn { margin-top: 1.6rem; }


/* ============================================================
   Peacock & Zari layer — colours, shapes and scroll motion that
   sit on top of the base rules above.
   ============================================================ */
body { font-weight: 400; }
h1, h2 { font-size-adjust: 0.46; } /* Cormorant runs small */

.site-header,
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); }
.lang-btn:hover { background: color-mix(in srgb, var(--deep) 6%, transparent); }
.demo-banner { background: color-mix(in srgb, var(--accent) 25%, var(--paper)); color: var(--deep); border-bottom-color: var(--line-strong); }

.btn-primary { background: var(--accent); color: var(--deep); }
.btn-primary:hover { background: var(--deep); color: var(--paper); }
.btn-whatsapp { background: var(--deep); color: var(--paper); }
.btn-whatsapp:hover { background: var(--deep-dark); }
.wa-float { background: var(--deep); color: var(--accent); box-shadow: 0 10px 26px color-mix(in srgb, var(--deep) 40%, transparent); }
.wa-float::after { border-color: var(--accent); }

.hero {
  background:
    radial-gradient(ellipse 60% 50% at 88% 8%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, color-mix(in srgb, var(--deep) 8%, transparent), transparent 70%);
}
.hero-pattern {
  background: repeating-radial-gradient(circle at center, transparent 0 17px, color-mix(in srgb, var(--deep) 6%, transparent) 17px 19px);
}
.st-deep { fill: var(--deep); }
.st-accent { fill: var(--accent); font-family: var(--sans); }
.st-paper { fill: var(--paper); font-family: var(--serif); }
.hero-stamp { filter: drop-shadow(0 4px 14px color-mix(in srgb, var(--deep) 30%, transparent)); }

/* small text never sits in the accent colour on paper (contrast) */
.card-cat { color: var(--muted); }
.review-stars { color: var(--deep); }
.section-index {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--deep);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.review-card::before {
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  border-inline-color: var(--accent);
}
.review-card blockquote { font-family: var(--hand); font-style: normal; font-size: 1.08rem; line-height: 1.6; }

.about { color: var(--paper); }
.about-text h2, .about-card h3, .about-card strong, .footer-brand .brand-name { color: var(--paper); }
.about-text p, .about-card li { color: color-mix(in srgb, var(--paper) 76%, transparent); }
.about-sign { font-family: var(--hand); font-style: normal; font-size: 1.35rem; }
.site-footer { color: color-mix(in srgb, var(--paper) 80%, transparent); border-top: 1px solid var(--line-light); }
.footer-col a { color: color-mix(in srgb, var(--paper) 76%, transparent); }
.footer-col a:hover { color: var(--paper); }
.footer-base, .footer-login { color: color-mix(in srgb, var(--paper) 55%, transparent); }

/* ---------- Arches (jharokha) and softer cards ---------- */
.hero-frame {
  border: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--deep);
  outline: 1px solid var(--accent);
  outline-offset: 12px;
  animation: curtain 1.3s var(--ease-swift) 0.35s both;
}
.hero-frame::before { display: none; }
/* shortcut: tints the placeholder art into the theme; remove this line when a real hero photo goes in */
.hero-frame img { filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; }
.hero-frame-caption { background: var(--accent); color: var(--deep); font-weight: 500; }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* accent "highlighter" swipes under the italic headline line */
.hero h1 span.hero-title-accent[data-i18n] {
  font-style: italic;
  color: var(--deep);
  background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 88% / 0% 0.26em;
  animation: swipe 0.9s var(--ease-swift) 1s forwards;
}
@keyframes swipe { to { background-size: 100% 0.26em; } }

.card { border-radius: 16px; background: var(--paper-card); }
.card-price { color: var(--deep); font-weight: 600; }

/* ---------- Marquee: solid ribbon ---------- */
.marquee { background: var(--deep); border: 0; padding-block: 1.2rem; }
.marquee-item { color: var(--paper); font-size: clamp(1.4rem, 3vw, 2.3rem); }

/* ---------- Category arches ---------- */
.cats { --cols: 4; --gap: 1.4rem; background: var(--paper-deep); padding-block: clamp(5rem, 9vw, 7.5rem); }
.cats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cat-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1.5rem 1rem 1.8rem;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  background: var(--deep);
  color: var(--paper);
  transition: translate 0.45s var(--ease-out);
}
.cat-card:nth-child(3n + 2) { background: var(--accent); color: var(--deep); }
.cat-card:nth-child(3n) { background: var(--paper); color: var(--deep); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 36%, transparent 0 18px, currentColor 18px 19px);
  opacity: 0.12;
  transition: scale 1.2s var(--ease-out);
}
.cat-card:hover { translate: 0 -10px; }
.cat-card:hover::before { scale: 1.25; }
.cat-num {
  position: relative;
  margin-block: 24% auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 1;
}
.cat-card:nth-child(3n + 1) .cat-num { color: var(--accent); }
.cat-name { position: relative; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.15; }
.cat-go { position: relative; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

@media (max-width: 980px) { .cats { --cols: 3; } }
@media (max-width: 720px) { .cats { --cols: 2; --gap: 0.9rem; } }

/* ============================================================
   Scroll-driven animation — pure CSS, runs on the compositor.
   Browsers without animation-timeline just get the static page.
   ============================================================ */
.scroll-thread { display: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* reading-progress thread across the top */
    .scroll-thread {
      display: block;
      position: fixed;
      inset: 0 0 auto 0;
      height: 3px;
      z-index: 100;
      background: var(--accent);
      transform-origin: left;
      animation: thread linear both;
      animation-timeline: scroll(root);
    }
    @keyframes thread { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* hero drifts away as it leaves */
    .hero-copy { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-out { to { opacity: 0; translate: 0 -70px; } }
    .hero-frame img { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.22) translateY(8%); } }

    /* arches, cards and notes rise in as they enter (translate/scale keep hover transforms free) */
    .cat-card,
    .grid > .card,
    .reviews-grid > .review-card {
      animation: lift-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 75%;
    }
    @keyframes lift-in { from { opacity: 0; translate: 0 70px; scale: 0.93; } }
    .reviews-grid > .review-card:nth-child(odd) { rotate: -0.8deg; }
    .reviews-grid > .review-card:nth-child(even) { rotate: 0.7deg; }

    /* dark chapter opens like a curtain */
    .about { animation: open linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes open { from { clip-path: inset(0 7% 0 7% round 60px); } to { clip-path: inset(0 0 0 0 round 0); } }
    .about-card li { animation: slide-up linear both; animation-timeline: view(); animation-range: entry 0% entry 150%; }
    @keyframes slide-up { from { opacity: 0; translate: 0 40px; } }

    .contact h2 { animation: swell linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes swell { from { scale: 0.8; opacity: 0.2; letter-spacing: 0.08em; } }
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .about-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 0.6rem; }
  .brand { justify-content: center; }
  .nav { justify-content: center; gap: 1.1rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .timeline li { min-width: 90px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .hero-copy > *,
  .hero-visual { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
