/* The landing, "Leaf shadow" (html[data-hero="f"], 24 Nov: Sree picked lab option 6). A quiet editorial first screen: the saree cloth large in a tall, softly rounded
   frame on deep forest-green silk, a canopy's shadows drifting over everything, one woven branch with the hornbill reaching in
   from the edge and a Malabar parakeet on a twig on the frame's corner. Geometry is set by js/hero_f.js; the words are placed here. */
html[data-hero="f"] .hero-intro, html[data-hero="f"] .hero-cue { display: none; }
html[data-hero="f"] .hero-spread { overflow: visible; }
html[data-hero="f"] .hero { position: absolute; inset: 0; display: block; padding: 0; z-index: 2; pointer-events: none; text-shadow: none; }
html[data-hero="f"] .hero a, html[data-hero="f"] .hero button { pointer-events: auto; }

/* ---- the stage ---- */
#ls { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 22vh); pointer-events: none; z-index: 0; overflow: hidden; isolation: isolate;
  transform: translateY(calc(var(--p, 0) * 8vh)); opacity: calc(1 - var(--p, 0) * var(--p, 0) * 0.6); }
#ls > * { position: absolute; }
/* the ground: the woven silk's own plain green, darker toward the foot, then let go so the loom below shows through */
#ls .ls-ground { inset: 0; background:
    radial-gradient(70% 60% at 78% 0%, rgba(120, 150, 90, 0.16), transparent 70%),
    linear-gradient(rgba(4, 10, 6, 0) 40%, rgba(4, 10, 6, 0.5) calc(100% - 22vh)),
    url("/assets/art/leaf/silk.webp") 0 0 / 660px auto repeat, #1a2b15; filter: hue-rotate(14deg) saturate(1.05) brightness(0.78);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 22vh), transparent); mask-image: linear-gradient(#000 calc(100% - 22vh), transparent); }

#ls .ls-frame { z-index: 2; overflow: hidden; border-radius: 22px; background: #0b120c;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.35); }
/* the weave (hero_f.js): the cloth and its threads on one canvas over the frame; the threads run on down the wall when the page
   scrolls and fade into the loom below */
#ls .ls-weave { z-index: 3; left: 0; top: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 30vh), transparent calc(100% - 2vh)); mask-image: linear-gradient(#000 calc(100% - 30vh), transparent calc(100% - 2vh)); }
#ls .ls-line { z-index: 1; border-radius: 30px; border: 1px solid rgba(226, 200, 138, 0.42); }
#ls .ls-bough { z-index: 4; display: block; max-width: none; transform-origin: 100% 70%; will-change: transform; filter: brightness(1.18) contrast(1.05) drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45)); }
/* the parakeet, its twig and the berries, all drawn on this canvas (hero_f.js, section B) */
#ls .ls-crit { z-index: 5; left: 0; top: 0; width: 100%; height: 100%; }
/* the canopy's light: shadows multiplied over everything, warm sun let through the gaps */
#ls .ls-shade, #ls .ls-sun { z-index: 6; left: 0; top: 0; width: 100%; height: 100%; }
#ls .ls-shade { mix-blend-mode: multiply; opacity: 0.44; }
#ls .ls-sun { mix-blend-mode: soft-light; opacity: 0.9; }

@media (prefers-reduced-motion: no-preference) {
  html[data-hero="f"] #ls .ls-frame, html[data-hero="f"] #ls .ls-line { animation: ls-in 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  html[data-hero="f"] :is(.ls-eyebrow, .hero h1, .hero-logo, .hero-actions) { animation: ls-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  html[data-hero="f"] .hero-logo { animation-delay: 0.2s; }
  html[data-hero="f"] .ls-eyebrow { animation-delay: 0.35s; }
  html[data-hero="f"] .hero h1 { animation-delay: 0.45s; }
  html[data-hero="f"] .hero-actions { animation-delay: 0.7s; }
}
@keyframes ls-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ls-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- the words: phone. The brand line over the frame, the button under it ---- */
html[data-hero="f"] .hero { opacity: calc(1 - var(--p, 0) * 1.7); }
html[data-hero="f"] .hero-logo { position: absolute; left: 0; right: 0; top: 60px; margin: 0 auto; width: 64px; aspect-ratio: 160 / 93; }
html[data-hero="f"] .hero-logo img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)); }
html[data-hero="f"] .ls-eyebrow { position: absolute; left: 0; right: 0; top: 111px; margin: 0; text-align: center; font: 500 10px/1 var(--sans);
  letter-spacing: 0.3em; text-indent: 0.3em; text-transform: uppercase; color: rgba(226, 200, 138, 0.9); }
html[data-hero="f"] .hero h1 { position: absolute; left: 16px; right: 16px; top: 129px; margin: 0; text-align: center;
  font-family: var(--serif); font-weight: 300; font-size: 35px; line-height: 1.04; letter-spacing: -0.005em; color: #f6ecd6; text-wrap: balance; }
html[data-hero="f"] .hero h1 em { color: #e2c88a; font-weight: 300; }
html[data-hero="f"] .hero h1::before, html[data-hero="f"] .hero h1::after, html[data-hero="f"] body[data-look="2"] .hero h1::after { display: none; }
html[data-hero="f"] .hero-actions { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 26px; }
html[data-hero="f"] .hero-actions .btn.primary { min-height: 50px; padding: 0 30px; font-size: 18px; letter-spacing: 0.02em; border-radius: 999px;
  background: #efe3c4; color: #13200f; border: 0; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
html[data-hero="f"] .hero-actions .btn.primary:hover { background: #f8eed4; color: #13200f; }
html[data-hero="f"] .hero-actions .link { color: #efe3c4; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
html[data-hero="f"] .hero-actions .link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---- the words: wide. A left column of type and air; the frame holds the right ---- */
@media (min-width: 900px) and (min-aspect-ratio: 6/5) {
  html[data-hero="f"] .hero { --col: clamp(48px, 7vw, 120px); }
  html[data-hero="f"] .hero-logo { left: var(--col); right: auto; top: calc(var(--fy, 112px) - 12px); margin: 0; width: clamp(104px, 8.4vw, 136px); }
  html[data-hero="f"] .ls-eyebrow { left: var(--col); right: auto; top: calc(var(--fy, 112px) + var(--fh, 700px) * 0.3); text-align: left; text-indent: 0; font-size: 11.5px; display: flex; align-items: center; gap: 14px; }
  html[data-hero="f"] .ls-eyebrow::before { content: ""; width: 32px; height: 1px; background: rgba(226, 200, 138, 0.7); }
  html[data-hero="f"] .hero h1 { left: var(--col); right: auto; top: calc(var(--fy, 112px) + var(--fh, 700px) * 0.3 + 30px); width: calc(var(--fx) - var(--col) - 60px); max-width: 600px; text-align: left;
    font-size: clamp(54px, 5.7vw, 100px); line-height: 0.96; letter-spacing: -0.018em; text-wrap: balance; }
  html[data-hero="f"] .hero h1 em { font-style: italic; }
  html[data-hero="f"] .hero-actions { left: var(--col); right: auto; bottom: auto; top: var(--ay, 70%); justify-content: flex-start; gap: 30px; }
  html[data-hero="f"] .hero-actions .btn.primary { min-height: 56px; padding: 0 36px; font-size: 19px; }
}

/* ---- the tray: the caption and the swatches at the foot of the cloth ---- */
html[data-hero="f"] .ls-tray { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 0.8s; }
html[data-hero="f"] .ls-tray.on { opacity: 1; }
.ls-tray .ls-hit { position: absolute; pointer-events: auto; cursor: pointer; }
.ls-tray .ls-cap { position: absolute; transform: translate(-50%, -100%); text-align: center; pointer-events: none; color: #fbf3df; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 16px rgba(0, 0, 0, 0.5); }
.ls-tray .ls-name, .ls-tray .ls-all { position: relative; }
/* a soft dark pool under the words so the caption reads on the light sarees (yellow, pink) as well as the dark ones */
.ls-tray .ls-cap::before { content: ""; position: absolute; z-index: -1; inset: -26px -46px -12px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 12, 8, 0.62), rgba(7, 12, 8, 0.42) 55%, rgba(7, 12, 8, 0) 100%); }
.ls-tray .ls-cline { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.6); }
.ls-tray .ls-name::after, .ls-tray .ls-all::after { content: ""; position: absolute; inset: -12px -10px; }
.ls-tray .ls-name::after { inset: -6px -10px; }
.ls-tray .ls-cap a { pointer-events: auto; color: inherit; }
.ls-tray .ls-name { display: inline-block; font: italic 300 clamp(26px, calc(var(--sw) * 1.15), 34px)/1.05 var(--serif, "Yrsa", Georgia, serif); text-decoration: none; letter-spacing: 0.01em; }
.ls-tray .ls-cline { margin: 5px auto 8px; max-width: 30em; text-wrap: balance; font: 400 13px/1.35 "Mukta", system-ui, sans-serif; letter-spacing: 0.02em; color: rgba(251, 243, 223, 0.9); }
.ls-tray .ls-all { display: inline-block; padding: 3px 1px; font: 500 12.5px/1.2 "Mukta", system-ui, sans-serif; letter-spacing: 0.06em; color: #ecd398 !important;
  text-decoration: none; border-bottom: 1px solid rgba(226, 200, 138, 0.7); }
.ls-tray .ls-all:hover, .ls-tray .ls-name:hover { color: #fff3d0; }
.ls-tray .ls-row { position: absolute; display: flex; transform: translate(-50%, -50%); pointer-events: auto; }
.ls-tray .ls-sw { width: var(--sw); height: var(--sw); flex: 0 0 auto; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: #333 50% 50% / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(251, 243, 223, 0.38), 0 2px 6px rgba(0, 0, 0, 0.5); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s; position: relative; }
.ls-tray .ls-sw::after { content: ""; position: absolute; inset: calc((var(--sw) - 46px) / 2) calc((var(--sw) - var(--pitch, 44px)) / 2); }
.ls-tray .ls-sw:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(251, 243, 223, 0.7), 0 3px 8px rgba(0, 0, 0, 0.5); }
.ls-tray .ls-sw[aria-checked="true"] { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(10, 14, 10, 0.85), 0 0 0 4px #e2c88a, 0 4px 12px rgba(0, 0, 0, 0.55); }
.ls-tray .ls-sw:focus-visible { outline: 1px solid #f6e7bf; outline-offset: 7px; }
html[data-hero="f"] .hero a:focus-visible, .ls-tray a:focus-visible { outline: 1px solid #e2c88a; outline-offset: 6px; border-radius: 4px; }
html[data-hero="f"] .hero-actions .btn.primary:focus-visible { border-radius: 999px; }
html[data-hero="f"] .hero-actions .link { min-height: 44px; }
@media (max-width: 519px) { .ls-tray .ls-cline { font-size: 12px; margin: 3px 0 5px; } }

/* 25 Nov: "Designer Studio" under the logo (Sree) */
.hero-studio { display: none; }
html[data-hero="f"] .hero-studio { display: block; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap;
  font: 500 8px/1 var(--sans, "Mukta", system-ui, sans-serif); letter-spacing: 0.32em; text-indent: 0.32em; text-transform: uppercase; color: #e2c88a; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); }
@media (min-width: 900px) { html[data-hero="f"] .hero-studio { font-size: 10px; margin-top: 6px; } }
