/* =============================================
   ZINZUWADIA JEWELLERS — Home (Graff-style flow)
   hero · collection stories + rails · numbered world
   · category tiles · house features
   ============================================= */

/* ---------- Hero: full-bleed campaign slideshow ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: var(--maroon-deep); color: var(--white); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero-slide.on img { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(28,7,7,0.5) 0%, rgba(28,7,7,0) 24%, rgba(28,7,7,0.1) 50%, rgba(28,7,7,0.78) 82%, rgba(28,7,7,0.88) 100%); }
.hero-copy .h-display, .hero-sub { text-shadow: 0 2px 24px rgba(20,4,4,0.45); }
.hero-text { display: none; }
.hero-text.on { display: block; animation: heroCopy 1.2s .2s var(--ease) both; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot { width: 44px; height: 18px; display: grid; align-items: center; }
.hero-dot span { display: block; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-dot span::after { content: ''; position: absolute; inset: 0; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.hero-dot.on span::after { animation: dotFill var(--hero-interval, 6.5s) linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-dot.on span::after { animation: none; transform: none; } }
.hero-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(96px, 15vh, 150px); text-align: center; padding: 0 var(--gutter); }
@keyframes heroCopy { from { opacity: 0; transform: translateY(24px); } }
.hero-copy .eyebrow { color: var(--gold-light); }
.hero-copy .h-display { max-width: 920px; margin: 0 auto 18px; font-size: clamp(2.2rem, min(7vw, 7vh), 4.4rem); }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.54rem; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.scroll-cue::after { content: ''; width: 1px; height: 28px; background: linear-gradient(var(--gold-light), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) {
  .scroll-cue { display: none; }
  .hero-copy { bottom: 88px; }
  .hero-dots { bottom: 40px; }
}

/* ---------- Collection story: split image / text ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; background: var(--cream); }
.story.flip .story-media { order: 2; }
.story-media { position: relative; min-height: 520px; }
.story-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-media .tag { position: absolute; z-index: 2; left: 24px; bottom: 24px; font-size: 0.58rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.story-text { display: flex; align-items: center; justify-content: center; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); text-align: center; }
.story-inner { max-width: 440px; }
.story-inner .h-1 { margin-bottom: 8px; }
.story-inner .kind { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-dark); margin-bottom: 4px; }
.story-inner .body { margin: 0 auto 32px; }
.story-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
@media (max-width: 900px) {
  .story, .story.flip { grid-template-columns: 1fr; min-height: 0; }
  .story.flip .story-media { order: 0; }
  .story-media { min-height: 0; aspect-ratio: 4/5; }
}

.story-rail { background: var(--white); }
.story-rail .head { margin-bottom: 40px; }

/* ---------- Numbered world ---------- */
.world-head { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.world-num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7.5rem); font-weight: 300; line-height: .8; color: var(--gold); }
.world-head .h-1 { margin-bottom: 12px; }
.world-head .body { max-width: 520px; }
@media (max-width: 760px) { .world-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.tile { display: block; text-align: center; }
.tile-media { position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--stone); margin-bottom: 24px; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.55); opacity: 0; transition: opacity .5s var(--ease); }
.tile:hover .tile-media::after { opacity: 1; }
.tile .h-2 { margin-bottom: 8px; }
.tile p { font-size: 0.84rem; color: var(--muted); max-width: 320px; margin: 0 auto 18px; line-height: 1.7; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: center; }
}

/* ---------- House features ---------- */
.house { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.house-card { display: flex; flex-direction: column; }
.house-media { aspect-ratio: 4/5; overflow: hidden; background: var(--stone); margin-bottom: 22px; }
.house-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.house-card:hover .house-media img { transform: scale(1.05); }
.house-card .h-3 { text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.25rem; margin-bottom: 10px; }
.house-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.house-card .link { align-self: flex-start; }
@media (max-width: 900px) { .house { grid-template-columns: 1fr; gap: 48px; } .house-media { aspect-ratio: 4/3; } }

/* ---------- Full-bleed image band ---------- */
.band { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: var(--cream); background: var(--maroon-deep); }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(28,7,7,0.62) 0%, rgba(28,7,7,0.38) 60%, rgba(28,7,7,0.55) 100%); }
.band-copy { position: relative; z-index: 2; max-width: 860px; padding: 96px var(--gutter); }
.band-copy .eyebrow { color: var(--gold-light); }
.band blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 300; font-style: italic; line-height: 1.35; margin: 8px 0 36px; text-shadow: 0 2px 24px rgba(20,4,4,0.4); }

/* ---------- As worn lookbook ---------- */
.look { display: block; }
.look-media { aspect-ratio: 2/3; overflow: hidden; background: var(--stone); margin-bottom: 14px; }
.look-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.look:hover .look-media img { transform: scale(1.05); }
.look-cap { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); transition: color .25s; }
.look:hover .look-cap { color: var(--maroon); }

/* Desktop: copy sits bottom-left so the jewellery in the photo stays clear */
@media (min-width: 1081px) {
  .hero-copy { left: var(--gutter); right: auto; max-width: 640px; padding: 0; text-align: left; bottom: clamp(88px, 12vh, 128px); }
  .hero-copy .h-display { margin-left: 0; font-size: clamp(2.4rem, min(4.4vw, 8vh), 4.2rem); }
  .hero-ctas { justify-content: flex-start; }
  .hero-dots { left: auto; right: var(--gutter); transform: none; bottom: clamp(96px, 12vh, 136px); }
  .hero::after { background: linear-gradient(180deg, rgba(28,7,7,0.45) 0%, rgba(28,7,7,0) 22%), linear-gradient(75deg, rgba(28,7,7,0.82) 0%, rgba(28,7,7,0.45) 34%, rgba(28,7,7,0) 62%); }
}

/* Phones: let the photograph lead. Copy sits in a slim strip at the foot,
   no paragraph, small headline, underlined text links instead of boxed buttons. */
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(28,7,7,0.4) 0%, rgba(28,7,7,0) 16%, rgba(28,7,7,0) 62%, rgba(28,7,7,0.72) 88%, rgba(28,7,7,0.82) 100%); }
  .hero-copy { bottom: 58px; padding: 0 24px; }
  .hero-copy .eyebrow { font-size: 0.56rem; letter-spacing: 0.3em; margin-bottom: 10px; }
  .hero-copy .h-display { font-size: clamp(1.55rem, 6.6vw, 2rem); letter-spacing: 0.07em; line-height: 1.15; margin-bottom: 16px; }
  .hero-sub { display: none; }
  .hero-ctas { gap: 26px; }
  .hero-ctas .btn { min-height: 0; padding: 0 0 5px; border: 0; border-radius: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; font-size: 0.6rem; letter-spacing: 0.24em; }
  .hero-ctas .btn:hover { background-color: transparent; color: var(--gold-light); }
  .hero-dots { bottom: 24px; }
  .hero-dot { width: 32px; }
}

/* ---------- Swarna Shree savings plan band ---------- */
.scheme { display: grid; grid-template-columns: 1fr 1fr; background: var(--maroon-deep); color: var(--cream); min-height: 72vh; }
.scheme-media { position: relative; overflow: hidden; min-height: 420px; }
.scheme-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.scheme-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 112px); }
.scheme-text .eyebrow { color: var(--gold-light); }
.scheme-text .h-2 { margin-bottom: 18px; max-width: 520px; }
.scheme-text .body { color: rgba(250,247,242,0.75); margin-bottom: 32px; }
@media (max-width: 900px) { .scheme { grid-template-columns: 1fr; min-height: 0; } .scheme-media { min-height: 0; aspect-ratio: 4/5; } .scheme-text { padding: 56px var(--gutter); } }
