/* ==========================================================================
   Sarvadhā brand details: the splash, strips, buttons, icons and dividers.
   One pastel (a soft rose taken towards the burgundy), always used flat.
   Loaded last.
   ========================================================================== */
:root { --pastel: #f3e2de; --pastel-deep: #e9cfc9; }

/* --------------------------------------------------------------------------
   Splash
   -------------------------------------------------------------------------- */
.splash { display: none; }
.js .splash { display: block; position: fixed; inset: 0; z-index: 10000; overflow: hidden; background: var(--pastel); color: var(--burgundy); cursor: pointer; animation: splash-failsafe .6s 10s forwards; }
.intro-seen .splash, .reduce-motion .splash, .splash.is-done { display: none !important; }
html.splash-on, html.splash-on body { overflow: hidden; }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }
.splash > :not(.splash-hero) { visibility: hidden; }
.splash.is-live > :not(.splash-hero) { visibility: visible; }

.splash-mark { position: absolute; top: clamp(18px, 4.2vh, 38px); left: 0; right: 0; margin: 0 auto; width: clamp(34px, 3vw, 44px); height: auto; }
.splash-meta { position: absolute; top: clamp(26px, 5vh, 46px); margin: 0; font: 500 10.5px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); }
.sm-l { left: var(--gutter); }
.sm-r { right: var(--gutter); }

.splash-stage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(22px, 3.4vw, 64px); padding: 0 var(--gutter); }
.splash-word { display: grid; gap: 14px; margin: 0; }
.sw-l { justify-self: end; justify-items: end; text-align: right; }
.sw-r { justify-self: start; justify-items: start; }
.sw-clip { display: flex; overflow: hidden; padding: .16em 0 .06em; font: 300 clamp(44px, 8.4vw, 150px)/1 var(--serif); letter-spacing: .06em; color: var(--burgundy); }
.sw-clip i { display: inline-block; font-style: normal; }
.splash-word small { font: 500 10.5px/1.2 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); opacity: .72; }

.splash-window { position: relative; width: clamp(170px, 18.5vw, 300px); aspect-ratio: 5 / 7; }
.splash-ring { position: absolute; inset: -12px; border: 1px solid rgba(110, 21, 38, .42); border-radius: 999px 999px 0 0; pointer-events: none; }
.splash-arch { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--pastel-deep); }
.splash-frame { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.splash-frame img { width: 100%; height: 100%; object-fit: cover; }

.splash-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 4vh, 36px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; }
.splash-count b { font: 300 clamp(26px, 2.8vw, 42px)/1 var(--serif); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--burgundy); }
.splash-line { width: min(260px, 36vw); height: 1px; margin-bottom: 8px; background: rgba(110, 21, 38, .2); }
.splash-line i { display: block; height: 100%; background: var(--burgundy); transform: scaleX(0); transform-origin: left; }
.splash-hint { justify-self: end; margin-bottom: 4px; font: 500 10.5px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); }

/* The hero photograph the arch opens into: framed exactly as the homepage hero */
.splash-hero { position: absolute; inset: 0; z-index: 5; visibility: hidden; opacity: 0; background: #08060a; }
.splash-hero picture, .splash-hero img { display: block; width: 100%; height: 100%; }
.splash-hero img { object-fit: cover; object-position: 50% 38%; }
@media (max-aspect-ratio: 1/1) { .splash-hero img { object-position: 52% 28%; } }
/* After the splash the hero is already settled, so it does not replay its own fade-in */
.js-motion:not(.reduce-motion).splash-handoff .moon-photo img { transform: none; filter: none; transition: none; }

@media (max-width: 759px) {
  .splash-stage { grid-template-columns: 1fr; align-content: center; justify-items: center; gap: 22px; }
  .sw-l, .sw-r { justify-self: center; justify-items: center; text-align: center; }
  .sw-clip { font-size: clamp(40px, 13.5vw, 62px); }
  .splash-window { width: 46vw; }
  .splash-meta { display: none; }
  .splash-hint { letter-spacing: .22em; }
}

/* --------------------------------------------------------------------------
   Page transition: the same pastel, flat
   -------------------------------------------------------------------------- */
.curtain { background: var(--pastel); color: var(--burgundy); }
.curtain-label { font: 500 11px/1 var(--label); letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); }

/* --------------------------------------------------------------------------
   Strips
   -------------------------------------------------------------------------- */
.announcement-track { align-items: center; }
.ann-mark { width: auto; height: 12px; opacity: .92; }

/* The pastel band under the hero: campaign lines separated by the emblem */
.brand-strip { overflow: hidden; background: var(--pastel); padding: clamp(16px, 2vw, 24px) 0; }
.brand-strip-track { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); width: max-content; animation: ticker 70s linear infinite; }
.brand-strip span { font: 300 clamp(15px, 1.6vw, 23px)/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: var(--burgundy); }
.brand-strip img { width: clamp(22px, 2vw, 30px); height: auto; }
.brand-strip:hover .brand-strip-track { animation-play-state: paused; }
.reduce-motion .brand-strip-track { animation: none; }
#mainContent > .brand-strip + section { border-top: 0; }

/* A palace arcade drawn as a hairline above the footer */
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cpath d='M3 18V9.5C3 5 10 1.4 18 .7 26 1.4 33 5 33 9.5V18' fill='none' stroke='%236e1526' stroke-width='.9'/%3E%3C/svg%3E") repeat-x 0 0 / 36px 18px; opacity: .5; pointer-events: none; }

/* --------------------------------------------------------------------------
   Buttons: the fill rises as an arch and settles flat
   -------------------------------------------------------------------------- */
.button::before { border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(101%); transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out); }
.button:hover::before, .button:focus-visible::before { transform: none; border-radius: 0; }
.outline-button { position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease-out), border-color .45s var(--ease-out); }
.outline-button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--black); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: translateY(101%); transition: transform .6s var(--ease-out), border-radius .6s var(--ease-out); }
.outline-button:hover, .outline-button:focus-visible { background: transparent; color: #fff; }
.outline-button:hover::before, .outline-button:focus-visible::before { transform: none; border-radius: 0; }
.reduce-motion .button::before, .reduce-motion .outline-button::before { transition: none; }

/* --------------------------------------------------------------------------
   Icons: one thin line, round joins
   -------------------------------------------------------------------------- */
.icon-btn svg, .heart svg, .heart-button svg { stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count { top: 5px; right: 3px; min-width: 15px; height: 15px; padding: 0 3px; font: 500 9.5px/15px var(--label); letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Services carry the brand-board pictures
   -------------------------------------------------------------------------- */
.service-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; background: #f3f2f0; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service:hover .service-img img { transform: scale(1.05); }
.sh-touch { display: none; }
@media (hover: none), (max-width: 759px) { .sh-desk { display: none; } .sh-touch { display: inline; } }
@media (max-width: 759px) { .splash-line { display: none; } .splash-foot { grid-template-columns: 1fr auto; } }

/* --------------------------------------------------------------------------
   Campaign sarees: the models' photographs fill the frame on a night ground
   -------------------------------------------------------------------------- */
.product.is-photo .product-media { background: #0d0b10; }
.product.is-photo .product-media .pm-a, #storePage .store-grid .product.is-photo .product-media .pm-a { object-fit: cover; object-position: 50% 16%; padding: 0; }
.product.is-photo .product-media .pm-b, #storePage .store-grid .product.is-photo .product-media .pm-b { object-fit: cover; object-position: 50% 18%; }
.gg-pdp.is-campaign .gg-gallery { background: #0d0b10; }
.gg-pdp.is-campaign .gg-thumbs a { background: #1a161d; }
.gg-pdp.is-campaign .gg-thumbs a img { object-fit: cover; object-position: 50% 20%; }
.gg-shot.is-photo img { object-fit: contain; object-position: 50% 50%; }
.gg-pdp.is-campaign .gg-thumbs a:hover { outline-color: #fff; }
.gg-recs .store-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
@media (max-width: 899px) { .gg-recs .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product.is-photo .heart, #storePage .store-grid .product.is-photo .heart { color: #fff; }
.product.is-photo .heart:hover { color: #fff; opacity: .75; }
.product.is-photo .heart.is-on { color: #fff; }
