/* Note & Knot 2.1: panna aur dori. This file: base, header, homepage. Shop pages are in store.css. */
:root {
  --kumkum: #A5163A; --kumkum-d: #7D0D2A; --kumkum-dd: #480818;
  --gulabi: #E39A8E; --gulabi-l: #FBE4DF;
  --genda: #F6A81C; --genda-d: #D98A00;
  --hara: #0C5A49; --hara-d: #073B31; --hara-l: #18806A;
  --mogra: #FFFCF8; --raat: #2A0A14; --dhool: #7A5560; --line: #EBD8D3; --neel: #1F3A93;
  --pad: calc((100vw - min(1440px, 87vw)) / 2);
  --disp: 'Rozha One', 'NK Disp Local', Georgia, 'Times New Roman', serif;
  --text: 'Anek Latin', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Kalam', 'Segoe Print', 'Bradley Hand', 'Kohinoor Devanagari', 'Nirmala UI', 'Noto Sans Devanagari', cursive;
  --zari: #D0AA62;
  --cut8: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  --twist: repeating-linear-gradient(135deg, var(--genda) 0 3px, #A5163A 3px 6px);
}
/* The device's own fonts, sized to match ours, so nothing jumps or collides if the web fonts are slow or blocked. */
@font-face { font-family: 'NK Disp Local'; src: local('Georgia Bold'), local('Georgia-Bold'), local('Noto Serif Bold'), local('NotoSerif-Bold'), local('Times New Roman Bold'); size-adjust: 92%; }
/* Wall colours animate, so each hero slide can repaint the haveli. */
@property --wall { syntax: '<color>'; inherits: true; initial-value: #A5163A; }
@property --wink { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --wacc { syntax: '<color>'; inherits: true; initial-value: #F6A81C; }
body { --wall: #A5163A; --wink: #fff; --wacc: #F6A81C; --wbtn: #F6A81C; --wbtn-ink: #2A0A14; --th1: #F6A81C; --th2: #8E0F2E; transition: --wall .9s ease, --wink .9s ease, --wacc .9s ease; }
body[data-wall="maa"] { --wall: #0C5A49; --th2: #B5651D; }
body[data-wall="jaan"] { --wall: #560A29; --wacc: #F7B9AC; --wbtn: #F7B9AC; }
body[data-wall="bestie"] { --wall: #F6A81C; --wink: #480818; --wacc: #A5163A; --wbtn: #A5163A; --wbtn-ink: #fff; --th1: #A5163A; --th2: #FFF1D6; }
body[data-wall="khud"] { --wall: #E39A8E; --wink: #480818; --wacc: #8E0F2E; --wbtn: #A5163A; --wbtn-ink: #fff; --th1: #A5163A; --th2: #FFF1D6; }
body.past-hero { --wall: #A5163A; --wink: #fff; --wacc: #F6A81C; }
html, body { background: var(--mogra); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 87.5%; }
@media (max-width: 900px) { :root { --pad: clamp(18px, 4.6vw, 40px); } html { font-size: 94%; } }
@view-transition { navigation: auto; }
body { margin: 0; color: var(--raat); font: 400 1.1rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--disp); font-weight: 400; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--raat); color: #fff; padding: 12px 16px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--genda); outline-offset: 3px; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.t1 { stroke: var(--genda); } .t2 { stroke: #8E0F2E; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--kumkum); color: #fff; font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--kumkum-d); color: #fff; }
.btn:active { transform: scale(.98); }
.btn-genda { background: var(--genda); color: var(--raat); }
.btn-genda:hover { background: #FFBE45; color: var(--raat); }

/* header: sits on the wall, turns solid after scrolling */
.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 30px; height: 64px; padding: 0 var(--pad); background: var(--mogra); transition: background .25s, color .25s; }
.home .top, .tax-wall .top { background: var(--wall); color: var(--wink); transition: none; }
body.home .top { margin-bottom: 0; }
.logo { display: inline-flex; align-items: center; font: 400 1.75rem/1 var(--disp); text-decoration: none; letter-spacing: -.005em; }
.logo svg { width: 1.15em; height: 1.08em; margin: 0 .06em; }
.logo { --knot: var(--kumkum); } .home .top .logo, .tax-wall .top .logo { --knot: var(--wacc); } .site-footer .logo { --knot: var(--genda); }
.home .top .nk-bag-count { background: var(--wbtn); color: var(--wbtn-ink); }
.main-nav ul { display: flex; gap: clamp(14px, 1.9vw, 27px); }
.main-nav a { text-decoration: none; font-weight: 500; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s; }
.main-nav a:hover, .main-nav .current-menu-item:not(.menu-item-type-custom) > a { background-size: 100% 2px; }
.tools { display: flex; align-items: center; gap: 4px; }
.tool { display: inline-flex; align-items: center; justify-content: center; min-width: 37px; height: 37px; padding: 0; border: 0; border-radius: 999px; background: none; color: inherit; text-decoration: none; cursor: pointer; font-weight: 500; }
.tool svg { width: 20px; height: 20px; }
.tool:hover { background: rgba(255,255,255,.14); }
body:not(.home):not(.tax-wall) .tool:hover { background: var(--gulabi-l); }
.bag-tool { gap: 8px; padding: 0 12px; }
.nk-bag-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 6px; border-radius: 99px; background: var(--genda); color: var(--raat); font: 600 .8rem/1 var(--text); }
.menu-btn { display: none; }

/* panels: menu, search, bag */
.panel { border: 0; padding: 0; max-width: none; max-height: none; margin: 0; color: var(--raat); background: var(--mogra); overscroll-behavior: contain; }
.panel::backdrop { background: rgba(42,10,20,.5); }
.panel-right { position: fixed; inset: 0 0 0 auto; width: min(391px, 100vw); height: 100dvh; }
.panel-left { position: fixed; inset: 0 auto 0 0; width: min(323px, 74.8vw); height: 100dvh; padding: 12px 20px; background: var(--kumkum); color: #fff; }
.panel-top { position: fixed; inset: 0 0 auto 0; width: 100vw; padding: clamp(22px, 4.2vw, 51px) var(--pad); background: var(--gulabi-l); }
.panel[open] { animation: panel-r .32s cubic-bezier(.2,.8,.2,1); }
.panel-left[open] { animation-name: panel-l; } .panel-top[open] { animation-name: panel-t; }
@keyframes panel-r { from { transform: translateX(60px); opacity: 0; } }
@keyframes panel-l { from { transform: translateX(-60px); opacity: 0; } }
@keyframes panel-t { from { transform: translateY(-40px); opacity: 0; } }
.panel-left ul { margin: 24px 0 27px; display: grid; gap: 10px; }
.panel-left li a { font: 400 2.1rem/1.15 var(--disp); text-decoration: none; }
.panel-left p { margin-top: 10px; }
.panel-top > .tool { position: absolute; right: var(--pad); top: 14px; }
.panel-top label { font: 400 clamp(1.8rem, 3.4vw, 3rem)/1.1 var(--disp); display: block; margin-bottom: 14px; }
.search-row { display: flex; gap: 12px; max-width: 646px; }
.search-row input[type="search"] { flex: 1; min-width: 0; border: 0; border-bottom: 3px solid var(--kumkum); background: none; font-size: 1.4rem; padding: 8px 2px; outline: none; }
.search-styles { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.search-styles a { text-decoration: none; font: 400 1.4rem/1.2 var(--disp); color: var(--kumkum); }

/* ---------- the coloured wall of the hero, the shop header and the thank-you page ---------- */
.wall { position: relative; background: var(--wall); color: var(--wink); isolation: isolate; }
.buta { position: absolute; color: currentColor; opacity: .34; z-index: -1; }

/* Panna + dori: an emerald-cut photo, one thread around it, tied in a heart at the top. Corners keep 45 degrees at any size. */
.jh-frame { position: relative; display: block; aspect-ratio: 3 / 4; container-type: inline-size; }
.jh-frame > * { --c: 13cqi; --off: 5cqi; --off: round(5cqi, 1px); }
.arch { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); background: var(--kumkum-dd); display: block; }
.arch > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dori { --t: 2px; --h: 24cqi; --h: round(24cqi, 20px); --o: calc(var(--c) + var(--off) * .586); --i: calc(var(--o) + var(--t) * .414); position: absolute; inset: calc(var(--off) * -1); color: var(--zari); pointer-events: none; }
.dori::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(calc(50% + var(--h) / 2 - 1px) 0, calc(100% - var(--o)) 0, 100% var(--o), 100% calc(100% - var(--o)), calc(100% - var(--o)) 100%, var(--o) 100%, 0 calc(100% - var(--o)), 0 var(--o), var(--o) 0, calc(50% - var(--h) / 2 + 1px) 0, calc(50% - var(--h) / 2 + 1px) var(--t), var(--i) var(--t), var(--t) var(--i), var(--t) calc(100% - var(--i)), var(--i) calc(100% - var(--t)), calc(100% - var(--i)) calc(100% - var(--t)), calc(100% - var(--t)) calc(100% - var(--i)), calc(100% - var(--t)) var(--i), calc(100% - var(--i)) var(--t), calc(50% + var(--h) / 2 - 1px) var(--t)); }
.dori svg { position: absolute; left: calc(50% - var(--h) / 2); top: calc(var(--t) / 2 - var(--h) * .65); width: var(--h); height: calc(var(--h) * .6667); overflow: visible; }

/* the card */
.kcard { position: relative; width: 178px; aspect-ratio: 210 / 296; container-type: inline-size; background: var(--mogra); border-radius: 3px; box-shadow: 0 26px 40px -18px rgba(20,2,8,.6), 0 2px 5px rgba(20,2,8,.2); color: var(--raat); }
.kc-in { position: absolute; inset: 0; padding: 10cqi 8cqi 5cqi; display: flex; flex-direction: column; align-items: center; text-align: center; }
.kc-in::before { --o: 9cqi; --t: 1.5px; --i: calc(var(--o) + var(--t) * .414); content: ""; position: absolute; inset: 3.6cqi; background: var(--kumkum); pointer-events: none; clip-path: polygon(evenodd, var(--o) 0, calc(100% - var(--o)) 0, 100% var(--o), 100% calc(100% - var(--o)), calc(100% - var(--o)) 100%, var(--o) 100%, 0 calc(100% - var(--o)), 0 var(--o), var(--o) 0, var(--i) var(--t), var(--t) var(--i), var(--t) calc(100% - var(--i)), var(--i) calc(100% - var(--t)), calc(100% - var(--i)) calc(100% - var(--t)), calc(100% - var(--t)) calc(100% - var(--i)), calc(100% - var(--t)) var(--i), calc(100% - var(--i)) var(--t), var(--i) var(--t), var(--o) 0); }
.kc-hole { position: absolute; left: 50%; top: 5.2cqi; width: 4.4cqi; height: 4.4cqi; margin-left: -2.2cqi; border-radius: 50%; background: var(--kumkum-dd); box-shadow: 0 0 0 1.4cqi var(--mogra); }
.kc-win { width: 46cqi; aspect-ratio: 46 / 60; margin-top: 5cqi; overflow: hidden; --c: 7cqi; clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); background: var(--gulabi-l); flex: none; }
.kc-win img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.kc-words { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; width: 100%; font-family: var(--hand); font-weight: 300; color: var(--neel); line-height: 1.22; }
.kc-to, .kc-from { font-size: max(8px, 6cqi); }
.kc-line { font-size: max(10px, 7.8cqi); overflow-wrap: anywhere; min-height: 2.4em; display: grid; place-items: center; }
.kc-brand { font: 400 max(8px, 5cqi)/1 var(--disp); color: var(--kumkum); padding-bottom: 2cqi; }

/* The card on its thread. Two nested rotations, nothing else: the graphics card moves it without repainting. */
.hang { position: absolute; z-index: 4; width: 0; --len: 200px; }
.swing { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.string { position: absolute; left: -2.5px; top: -120px; width: 5px; height: calc(var(--len) + 120px); border-radius: 3px; background: repeating-linear-gradient(135deg, var(--th1) 0 4px, var(--th2) 4px 7px); }
.kwrap { position: absolute; left: 0; top: var(--len); transform: translate(-50%, -7%); transform-origin: 50% 7%; will-change: transform; perspective: 1000px; }
.hang .kcard { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-drag: none; transition: transform .34s cubic-bezier(.3,0,.3,1); backface-visibility: hidden; }
.hang .kcard.turn { transform: rotateY(90deg); }
.hang .kcard:active { cursor: grabbing; }
.hang .kcard img { pointer-events: none; }

/* ---------- hero ---------- */
.hero { --ww: min(23vw, 385px, calc((100svh - 280px) * .66)); --h1: clamp(2.9rem, min(6.5vw, 12svh), 7.2rem); --cw: clamp(150px, min(13.2vw, 23svh), 196px); --gap: clamp(34px, 3vw, 56px);
  /* --nx: how much of the next photos is seen; it takes the room the words and the card leave free */
  --nx: min(calc(var(--ww) * 1.5), calc(100vw - var(--pad) - var(--h1) * 4.75 - 30px - var(--cw) / 2 - 2.6vw - var(--ww) - var(--gap))); --mr: max(0px, calc(var(--nx) + var(--gap) - var(--pad)));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(20px, 3.4vw, 60px); min-height: min(730px, calc(100svh - 64px)); padding: clamp(12px, 2svh, 26px) var(--pad) 0; overflow: clip; touch-action: pan-y; }
.hero-copy { align-self: center; padding-bottom: clamp(34px, 4.2svh, 54px); }
.hero h1 { font-size: var(--h1); line-height: .98; letter-spacing: -.015em; max-width: 4.9em; min-height: 2.94em; transition: opacity .5s ease .12s, transform .6s cubic-bezier(.2,.8,.2,1) .12s; }
.hero h1 span { color: var(--wacc); }
.hero-sub { font-size: clamp(1.02rem, 1.1vw, 1.25rem); margin-top: 12px; transition: opacity .5s ease .2s, transform .6s cubic-bezier(.2,.8,.2,1) .2s; }
.js .hero.live.closing h1, .js .hero.live.closing .hero-sub { opacity: 0; transform: translateY(16px); transition: opacity .26s ease, transform .26s ease; }
.hero-write { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 12px; max-width: min(442px, 30.6vw); margin-top: clamp(12px, 2.2svh, 26px); }
.hero-write label { font: 400 clamp(1.25rem, 1.5vw, 1.65rem)/1.2 var(--hand); }
.hero-write input { width: 100%; min-width: 0; border: 0; border-bottom: 2px dotted currentColor; border-radius: 0; background: none; color: inherit; font: 300 clamp(1.25rem, 1.5vw, 1.65rem)/1.3 var(--hand); padding: 4px 0; outline: none; }
.hero-write input:focus { border-bottom: 2px solid var(--wacc); }
.hero-write input::placeholder { color: currentColor; opacity: .62; }
.hero-write .btn { grid-column: 1 / -1; justify-self: start; margin-top: clamp(12px, 1.7svh, 17px); background: var(--wbtn); color: var(--wbtn-ink); transition: filter .2s, transform .2s, background .6s; }
.hero-write .btn:hover { filter: brightness(1.08); }
.hero-note { margin-top: 12px; font-size: .95rem; opacity: .88; }
@media (max-height: 760px) and (min-width: 901px) { .hero-note { display: none; } }
.hero-nav { display: flex; align-items: flex-end; gap: clamp(10px, 1vw, 15px); margin-top: clamp(12px, 2.2svh, 24px); }
.hero-nav button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 6px; opacity: .72; transition: opacity .25s; }
.hero-nav button:hover, .hero-nav button[aria-current] { opacity: 1; }
.mini { display: block; width: clamp(36px, 5.4svh, 46px); aspect-ratio: 3 / 4; overflow: hidden; --c: 9px; clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); transition: transform .4s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 100%; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.hero-nav button[aria-current] .mini { transform: scale(1.14); }
.bar { display: block; width: 100%; height: 4px; border-radius: 2px; background: color-mix(in srgb, currentColor 28%, transparent); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--wacc); transform: scaleX(0); transform-origin: 0 50%; }
.hero-nav em { font-style: normal; font-size: .88rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.hero-nav .hero-pause { width: 34px; height: 34px; border-radius: 50%; place-items: center; align-self: center; }
.hero-nav .hero-pause[hidden] { display: none; }
.hero-pause svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ic-play, .hero-pause[aria-pressed="true"] .ic-pause { display: none; } .hero-pause[aria-pressed="true"] .ic-play { display: block; }
.hero-window { position: relative; z-index: 3; align-self: end; width: var(--ww); margin: 0 var(--mr) clamp(46px, 6.2svh, 62px) 0; }
.hero .jh-frame { aspect-ratio: 3 / 4.1; }
.hero .dori { color: var(--wacc); transition: color .9s ease; }
/* changing slides: the knots untie, every photo travels to its new place (main.js), and both ends of the thread tie again on landing */
.hero .dori svg { --L: 400px; stroke-dasharray: calc(var(--L) / 2) 0px calc(var(--L) / 2); transition: stroke-dasharray 1s cubic-bezier(.45,.05,.4,1) .1s; }
.hero .dori::after { content: ""; position: absolute; left: calc(50% - var(--h) / 2 - 1px); top: 0; width: calc(var(--h) + 2px); height: var(--t); background: currentColor; transform: scaleX(0); transition: transform .5s ease .1s; }
.js .hero.untied .dori svg { stroke-dasharray: 0px var(--L) 0px; transition: stroke-dasharray .38s cubic-bezier(.5,0,.8,.6); }
.js .hero.untied .dori::after { transform: none; transition: transform .36s ease .08s; }
.hero-ghost { position: absolute; z-index: 1; pointer-events: none; }
.hero-nexts { position: absolute; left: calc(100% - var(--pad) - var(--mr) + var(--gap)); bottom: clamp(46px, 6.2svh, 62px); display: flex; align-items: flex-end; gap: var(--gap); z-index: 2; }
.hero-next { flex: none; width: calc(var(--ww) * .6); padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.hero-next:nth-child(2) { width: calc(var(--ww) * .5); } .hero-next:nth-child(3) { width: calc(var(--ww) * .42); }
.hero-next .dori { --t: 1.5px; } .hero-next:focus-visible { outline: none; } .hero-next:focus-visible .dori { --t: 4px; }
.hero-next .arch > img { transition: transform .9s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .hero-next:hover .arch > img { transform: scale(1.06); } .hero-next:hover .dori { --t: 2.5px; } }
#hero-hang { right: calc(var(--pad) + var(--mr) + var(--ww) + 2.6vw); top: 0; height: 100%; }
#hero-hang .kcard { width: var(--cw); }
.b1 { left: calc(var(--pad) * .2); bottom: 22px; width: 39px; height: 59px; }
.b2 { right: 3.8vw; top: 16%; width: 46px; height: 69px; }

/* ---------- safar: from the heart to the ear, on one thread ---------- */
section[id] { scroll-margin-top: 64px; }
.safar { --dhaaga: #A5163A; position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 1.4vw, 24px); padding: clamp(46px, 6svh, 94px) var(--pad) clamp(54px, 6.8svh, 102px); overflow: clip; }
.safar ol { display: contents; }
.safar li { position: relative; z-index: 1; }
.safar > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.safar path { fill: none; stroke: var(--dhaaga); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sf-front { z-index: 2; }
.sf-w { position: relative; z-index: 1; font: 400 clamp(2.9rem, min(6.6vw, 12svh), 7.2rem)/.96 var(--disp); letter-spacing: -.015em; color: var(--kumkum); }
.sf-w1 { grid-area: 1 / 1 / 2 / 8; justify-self: start; }
.sf-w2 { grid-area: 3 / 1 / 4 / 9; justify-self: end; align-self: end; margin-top: clamp(12px, 2.5svh, 34px); }
.sf-1 { grid-area: 2 / 1 / 3 / 5; }
.sf-2 { grid-area: 2 / 5 / 3 / 9; }
.sf-3 { grid-area: 1 / 9 / 4 / 13; align-self: center; }
.sf-1 .kcard { width: clamp(160px, min(13.4vw, 25svh), 212px); rotate: -4deg; margin: clamp(24px, 3.4svh, 38px) 0 0 8px; }
.sf-2 .jh-frame { aspect-ratio: 4 / 3.15; width: min(86%, 41svh); margin-top: clamp(42px, 6.6svh, 78px); }
.sf-3 .jh-frame { aspect-ratio: 3 / 3.8; width: min(100% - 60px, 38svh); margin: 76px auto 0; }
.sf-3 .jh-frame > * { --off: 5cqi; }
.sf-3 .arch > img { object-position: 50% 30%; }
.js .sf-3 .dori { visibility: hidden; }
.sf-t { margin-top: 24px; color: var(--dhool); max-width: 19em; }
.sf-3 .sf-t { margin: 38px auto 0; width: min(100% - 60px, 38svh); max-width: none; }
.sf-t b { display: block; font: 400 1.7rem/1.1 var(--disp); color: var(--raat); margin-bottom: 4px; }
.js .sf-1 .kc-words > * { clip-path: inset(-10% 100% -20% 0); }
.sf-1 .write .kc-words > * { clip-path: inset(-10% 0 -20% 0); transition: clip-path .6s linear; }
.sf-1 .write .kc-line { transition: clip-path 1s linear .6s; } .sf-1 .write .kc-from { transition: clip-path .5s linear 1.7s; }

/* ---------- styles: one frame, six names ---------- */
.styles { position: relative; background: var(--kumkum-dd); color: var(--mogra); overflow: clip; }
.styles-in { --col: 42%; position: relative; display: grid; grid-template-columns: var(--col) minmax(0, 1fr); column-gap: clamp(40px, 6.5vw, 120px); align-content: center; padding: clamp(48px, 6.8svh, 96px) var(--pad); min-height: min(760px, calc(100svh - 64px)); }
.styles h2 { grid-column: 2; font-size: clamp(2.4rem, min(4.6vw, 7.6svh), 4.7rem); color: var(--zari); margin-bottom: clamp(12px, 2.4svh, 34px); }
.style-list { grid-column: 2; }
.style-list a { position: static; display: block; text-decoration: none; padding: clamp(6px, 1svh, 13px) 0; outline-offset: 6px; }
.st-row { display: flex; align-items: baseline; gap: clamp(12px, 1.3vw, 22px); }
.st-row b { font: 400 clamp(1.6rem, min(2.5vw, 4.3svh), 2.7rem)/1.05 var(--disp); opacity: .66; transition: opacity .3s, color .3s; }
.st-row em { font-style: normal; font-size: 1.06rem; white-space: nowrap; min-width: 4.1em; text-align: right; font-variant-numeric: tabular-nums; opacity: .82; }
.st-line { flex: 1; align-self: flex-end; position: relative; min-width: 60px; height: 32px; margin: -16px 0 .42em; overflow: hidden; color: var(--zari); }
.st-line svg { position: absolute; right: 16%; bottom: 2px; width: 42px; height: 28px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 4; opacity: .36; transition: opacity .3s; }
.st-heart { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s cubic-bezier(.4,0,.2,1); }
.st-mood { display: block; font: 300 1.14rem/1.3 var(--hand); opacity: .6; margin-top: 2px; transition: opacity .3s; }
.style-list li.on b { opacity: 1; color: var(--zari); }
.style-list li.on .st-mood, .style-list li.on em { opacity: 1; }
.style-list li.on .st-line svg { opacity: 1; }
.style-list li.on .st-heart { stroke-dashoffset: 0; } .style-list li.on .st-flat { opacity: 0; }
.st-ph { position: absolute; left: var(--pad); top: 0; bottom: 0; width: calc((100% - 2 * var(--pad)) * .42); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; pointer-events: none; }
.style-list li.on .st-ph { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.st-ph .jh-frame { width: min(76%, 385px, calc((100svh - 290px) * .62)); aspect-ratio: 3 / 4.05; margin-top: 40px; }
.st-ph .arch > img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.style-list li.on .st-ph .arch > img { transform: none; }
.jh-frame > .st-close { --c: 9cqi; position: absolute; right: -9%; bottom: 6%; width: 33%; aspect-ratio: 1; padding: 9px; background: var(--kumkum-dd); clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.st-close img { width: 100%; height: 100%; object-fit: cover; --c: 7.4cqi; clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
@media (max-height: 780px) and (min-width: 901px) { .styles-in { padding-top: 34px; padding-bottom: 34px; } .styles h2 { margin-bottom: 8px; } .style-list a { padding: 4px 0; } .st-mood { font-size: 1.02rem; line-height: 1.2; margin-top: 0; } .st-ph .jh-frame { width: min(76%, calc((100svh - 260px) * .66)); } }

/* ---------- tiles ---------- */
.tile { display: block; text-decoration: none; color: var(--raat); }
.tile-ph { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gulabi-l); border-radius: 4px; }
.tile-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .9s cubic-bezier(.2,.8,.2,1); }
.tile-ph .alt { opacity: 0; }
.tile-badge { position: absolute; left: 12px; top: 12px; background: var(--genda); color: var(--raat); font-weight: 600; font-size: .86rem; line-height: 1; padding: 7px 11px; border-radius: 99px; }
.tile-line { position: absolute; left: 0; right: 0; bottom: 0; padding: 39px 14px 12px; font: 300 1.2rem/1.2 var(--hand); color: #fff; background: linear-gradient(0deg, rgba(42,10,20,.78), transparent); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
@media (hover: hover) {
  .tile:hover .alt { opacity: 1; }
  .tile:hover .tile-ph img { transform: scale(1.04); }
  .tile:hover .tile-line { opacity: 1; transform: none; }
}
.tile:focus-visible .tile-line { opacity: 1; transform: none; }
.tile-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.tile-row b { font: 400 1.28rem/1.15 var(--disp); }
.tile-price { font-weight: 600; white-space: nowrap; color: var(--kumkum); }
.tile-price s { font-weight: 400; color: var(--dhool); font-size: .9em; }
.tile-sub { display: block; color: var(--dhool); font-size: .96rem; margin-top: 2px; }

/* ---------- pairs: the earrings and the words that go with them ---------- */
.more { font-weight: 600; color: var(--kumkum); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.pairs { padding: clamp(54px, 5vw, 76px) var(--pad) clamp(48px, 4.6vw, 70px); }
.pairs-head { text-align: center; }
.pairs-head h2 { font-size: clamp(2.6rem, 4.8vw, 5.2rem); color: var(--kumkum); }
.pairs-head p { text-wrap: balance; margin-top: 10px; font-size: 1.1rem; color: var(--dhool); }
.pairs-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: clamp(26px, 2.7vw, 48px) clamp(19px, 3.9vw, 76px); max-width: 1180px; margin: clamp(22px, 2.5vw, 41px) auto 0; align-items: center; }
.pair { display: block; text-decoration: none; text-align: center; color: var(--raat); outline-offset: 10px; }
.pair .jh-frame { aspect-ratio: 5 / 4.4; width: calc(100% - 64px); margin: 0 32px; }
.pair .arch > img { transition: opacity .5s, transform 1s cubic-bezier(.2,.8,.2,1); }
.pair .arch > .alt { opacity: 0; }
.pair .dori { color: var(--kumkum); opacity: 0; scale: .97; transition: opacity .35s, scale .5s cubic-bezier(.2,.8,.2,1); }
.pair-big .dori, .pair:focus-visible .dori { opacity: 1; scale: 1; }
@media (hover: hover) { .pair:hover .dori { opacity: 1; scale: 1; } .pair:hover .alt { opacity: 1; } }
.pair-say { display: block; margin-top: 26px; font: 300 clamp(1.12rem, 1.3vw, 1.45rem)/1.25 var(--hand); color: var(--neel); }
.pair-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 12px; margin-top: 6px; }
.pair-row b { font: 400 1.32rem/1.2 var(--disp); }
.pair .tile-sub strong { font-weight: 600; color: #8E1232; margin-right: 6px; }
.pair-big { grid-area: 1 / 2 / 3 / 3; }
.pair-big .jh-frame { aspect-ratio: 3 / 3.55; width: min(76%, 350px); margin: clamp(46px, 4vw, 60px) auto 0; }
.pair-big .pair-say { font-size: clamp(1.7rem, 2.3vw, 2.7rem); margin-top: 36px; }
.pair-big .pair-row b { font-size: clamp(1.6rem, 1.7vw, 2rem); } .pair-big .tile-price { font-size: 1.15rem; }
.pair-big .btn { margin-top: 17px; } .pair-big:hover .btn { background: var(--kumkum-d); }
.pairs-all { text-align: center; margin-top: clamp(31px, 3.4vw, 51px); }
.pairs-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px clamp(14px, 1.7vw, 29px); margin-top: clamp(51px, 5.1vw, 76px); }

/* ---------- dabba: the gift set opens as you reach it ---------- */
.dabba { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 34px); align-items: center; min-height: min(760px, calc(100svh - 64px)); padding: clamp(40px, 5svh, 64px) var(--pad); background: var(--gulabi); color: var(--raat); overflow: clip; }
.dabba h2 { font-size: clamp(2.6rem, 5vw, 4.9rem); color: var(--kumkum-dd); }
.dabba .db-copy p { margin-top: 16px; font-size: 1.16rem; max-width: 20em; text-wrap: balance; }
.dabba .db-copy .db-price { font: 400 2.3rem/1 var(--disp); margin: 20px 0 22px; }
.db-stage { position: relative; width: min(100%, calc((100svh - 150px) * 1.222)); margin: 0 auto; aspect-ratio: 1122 / 918; }
.db-pic, .db-film { position: absolute; inset: 0; width: 100%; height: 100%; }
.db-film { display: none; }
.db-stage.film .db-film { display: block; } .db-stage.film .db-pic { opacity: 0; }
.db-stage.open .db-pic { opacity: 1; transition: opacity .3s; } .db-stage.open .db-film { opacity: 0; transition: opacity .3s .2s; }
.db-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.db-lines path { fill: none; stroke: var(--kumkum-dd); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .7s cubic-bezier(.4,0,.2,1); }
.db-names li { position: absolute; font-size: .98rem; line-height: 1.3; white-space: nowrap; transition: opacity .5s; }
.db-names b { display: block; font: 400 1.4rem/1.1 var(--disp); color: var(--kumkum-dd); }
.n-knot { left: 60.6%; top: 7.4%; } .n-pend { left: 13%; bottom: 62.6%; text-align: center; translate: -50% 0; } .n-ear { right: 67.2%; top: 50.4%; text-align: right; } .n-let { left: 80.4%; bottom: 61%; text-align: center; translate: -50% 0; }
.db-stage.film:not(.open) .db-lines path { stroke-dashoffset: 1; } .db-stage.film:not(.open) .db-names li { opacity: 0; }
.open .db-names li:nth-child(2), .open .db-lines path:nth-child(2) { transition-delay: .14s; } .open .db-names li:nth-child(3), .open .db-lines path:nth-child(3) { transition-delay: .28s; } .open .db-names li:nth-child(4), .open .db-lines path:nth-child(4) { transition-delay: .42s; }

/* ---------- rishta: who do you want to say it to ---------- */
.rishta { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(20px, 4.2vw, 76px); align-items: end; background: var(--gulabi-l); padding: clamp(51px, 6vw, 94px) var(--pad) 0; overflow: clip; }
.rishta-copy { align-self: center; padding-bottom: clamp(51px, 6vw, 94px); }
.rishta h2 { font-size: clamp(2.6rem, 4.8vw, 5.2rem); color: var(--kumkum); }
.who { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 26px; }
.who button { border: 0; cursor: pointer; background: #fff; border-radius: 16px; padding: 12px 19px 14px; font: 400 1.3rem/1.1 var(--disp); text-align: left; color: var(--kumkum); transition: background .2s, color .2s; }
.who button[aria-selected="true"] { background: var(--kumkum); color: #fff; }
.say-h { font-weight: 600; margin-bottom: 10px; }
.say { display: grid; justify-items: start; gap: 6px; margin-bottom: 26px; }
.say button { border: 0; background: none; cursor: pointer; padding: 5px 2px; font: 300 clamp(1.3rem, 1.7vw, 1.7rem)/1.25 var(--hand); color: var(--neel); text-align: left; border-bottom: 3px solid transparent; }
.say button:hover { border-bottom-color: rgba(31,58,147,.25); }
.say button[aria-pressed="true"] { border-bottom-color: var(--genda); }
.rishta-stage { position: relative; padding: clamp(51px, 4.2vw, 76px) 0 clamp(51px, 6vw, 94px); }
.rishta-stage .jh-frame { width: min(84%, 395px); margin: 0 4% 0 auto; aspect-ratio: 3 / 3.9; }
.rishta-stage .dori { color: var(--kumkum); }
#rishta-img { transition: opacity .3s; }
.swap #rishta-img { opacity: 0; }
#rishta-hang { left: 24%; top: -110px; height: 100%; --th1: var(--genda); --th2: #A5163A; }
#rishta-hang .kcard { width: clamp(136px, 12.8vw, 187px); }

/* ---------- the wish threads ---------- */
.mannat { position: relative; min-height: min(620px, 80vh); display: grid; align-items: end; background: var(--raat); overflow: clip; }
.mannat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.mannat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(42,10,20,.94) 6%, rgba(42,10,20,.5) 48%, rgba(42,10,20,.06) 80%); }
.mannat-copy { position: relative; z-index: 1; color: #fff; padding: 100px var(--pad) clamp(42px, 5vw, 74px); max-width: calc(900px + 2 * var(--pad)); }
.mannat h2 { font-size: clamp(2.3rem, 4.4vw, 4.9rem); }
.mannat p { margin-top: 17px; font-size: 1.12rem; max-width: 36em; color: #FBE4DF; }

.vaade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px clamp(17px, 2.5vw, 42px); padding: clamp(37px, 4.2vw, 61px) var(--pad); }
.vaade b { display: block; font: 400 1.4rem/1.15 var(--disp); color: var(--kumkum); margin-bottom: 4px; }
.vaade p { color: var(--dhool); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--hara-d); color: #DDEBE5; padding: clamp(60px, 6.8vw, 94px) var(--pad) 29px; }
.foot-line { font: 400 clamp(2.7rem, 8.4vw, 8.8rem)/1.02 var(--disp); letter-spacing: -.015em; color: var(--genda); }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-top: clamp(34px, 4.2vw, 60px); }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin-top: 12px; max-width: 30em; }
.foot-cols nav b { display: block; color: #fff; font: 400 1.3rem/1 var(--disp); margin-bottom: 12px; }
.foot-cols ul { display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--genda); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 42px; font-size: .92rem; color: #A9C7BC; }
.foot-legal a { margin-left: 17px; }

.tabbar { display: none; }

@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr auto; gap: 6px; height: 58px; padding: 0 12px; }
  .tool { min-width: 44px; height: 44px; } .btn { min-height: 48px; }
  .main-nav { display: none; } .menu-btn { display: inline-flex; }
  .logo { font-size: 1.5rem; justify-self: start; }
  .hide-sm { display: none; }
  .bag-tool span { display: none; }
  .hero { grid-template: 'h' auto 's' auto 'stage' auto 'nav' auto 'w' auto 'n' auto / minmax(0, 1fr); gap: 0; min-height: 0; padding: 14px var(--pad) 50px; }
  .hero-copy { display: contents; }
  .hero h1 { grid-area: h; } .hero-sub { grid-area: s; margin-top: 8px; min-height: 2.9em; } .hero-write { grid-area: w; margin-top: 4px; max-width: none; } .hero-note { grid-area: n; }
  .hero-nav { grid-area: nav; margin-top: 6px; gap: 8px; }
  .string { top: -8px; height: calc(var(--len) + 8px); } #rishta-hang .string { top: 0; height: var(--len); }
  .hero-nav button { flex: 1; padding: 12px 0; } .hero-nav .mini, .hero-nav em { display: none; } .hero-nav .hero-pause { flex: none; padding: 0; }
  .hero-window { grid-area: stage; width: min(39vw, 270px); justify-self: end; margin: 34px 24vw 14px 0; }
  .hero-nexts { grid-area: stage; position: relative; left: auto; bottom: auto; justify-self: end; align-self: end; width: calc(24vw + var(--pad) - 5vw); margin: 0 calc(-1 * var(--pad)) 14px 0; gap: 5vw; }
  .hero-next, .hero-next:nth-child(n) { width: min(20vw, 140px); }
  #hero-hang { grid-area: stage; position: relative; right: auto; left: 20%; top: 0; height: 100%; }
  #hero-hang .kcard { width: min(32vw, 172px); }
  .b1, .b2 { display: none; }
  .safar { display: flex; flex-direction: column; padding: 58px var(--pad) 74px; }
  .sf-w { font-size: min(13.6vw, 5.4rem); align-self: flex-start; }
  .sf-1 { order: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: end; margin-top: 34px; } .sf-2 { order: 2; } .sf-w2 { order: 3; margin-top: 84px; } .sf-3 { order: 4; align-self: stretch; }
  .sf-1 .kcard { width: min(40vw, 215px); margin: 0 0 0 4px; }
  .sf-1 .sf-t { margin: 0 0 8px; }
  .sf-2 .jh-frame { width: 84%; margin: 76px 0 0 auto; } .sf-2 .sf-t { margin-left: 16%; }
  .sf-3 .jh-frame { width: min(76%, 390px); margin: clamp(88px, 13vw, 112px) auto 0; } .sf-3 .sf-t { margin: 38px auto 0; width: min(76%, 390px); }
  .pairs-grid { grid-template-columns: 1fr 1fr; gap: 44px 16px; align-items: start; }
  .pair-big { grid-area: auto; grid-column: 1 / -1; }
  .pair .jh-frame { width: calc(100% - 18px); margin: 0 9px; aspect-ratio: 1; } .pair-big .jh-frame { width: min(70%, 390px); margin: clamp(44px, 10vw, 84px) auto 0; aspect-ratio: 3 / 3.5; }
  .pair .tile-sub strong { display: block; margin: 0; }
  .pair:not(.pair-big) .pair-say { margin-top: 18px; font-size: 1.1rem; }
  .pairs-row { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  .rishta { grid-template-columns: 1fr; }
  .dabba { display: block; min-height: 0; padding: 60px var(--pad) 56px; }
  .db-stage { width: min(100% + 24px, 620px); margin: 10px -12px 0; aspect-ratio: auto; }
  .db-pic { position: relative; height: auto; display: block; } .db-film { height: auto; aspect-ratio: 1122 / 918; } .db-lines { display: none; }
  .db-names { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 14px 12px 0; } .db-names li { position: static; translate: none; text-align: left; white-space: normal; }
  .rishta-stage .jh-frame { width: min(68%, 390px); margin-right: 8%; }
  .styles-in { display: block; min-height: 0; padding: 76px 0 70px; }
  .styles h2 { padding: 0 var(--pad); margin-bottom: 0; }
  .style-list { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: clamp(62px, 11vw, 92px) var(--pad) 8px; }
  .style-list::-webkit-scrollbar { display: none; }
  .style-list li { flex: 0 0 min(62vw, 300px); scroll-snap-align: center; }
  .style-list a { padding: 0; }
  .st-ph, .style-list li.on .st-ph { position: relative; inset: auto; width: auto; display: block; opacity: 1; visibility: visible; pointer-events: auto; padding: 0 5%; }
  .st-ph .jh-frame { width: 100%; margin: 0; }
  .st-ph .arch > img { transform: none; }
  .jh-frame > .st-close { right: -7%; padding: 6px; }
  .st-row { margin-top: 30px; justify-content: space-between; } .st-row b, .style-list li.on b { font-size: 1.9rem; opacity: 1; color: var(--zari); } .st-row em { opacity: 1; } .st-mood { opacity: .86; }
  .st-line { display: none; }
  #rishta-hang { left: 15%; top: -70px; }
  #rishta-hang .kcard { width: min(33vw, 180px); }
  .vaade { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: 0 -6px 24px -10px rgba(72,8,24,.35); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { position: relative; display: grid; justify-items: center; gap: 1px; padding: 5px 0; text-decoration: none; font-size: .78rem; font-weight: 500; color: var(--dhool); }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current] { color: var(--kumkum); }
  .tabbar .nk-bag-count { position: absolute; left: calc(50% + 4px); top: 0; min-width: 18px; height: 18px; font-size: .68rem; padding: 0 4px; }
  body:has(.tabbar) .site-footer { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 13vw; }
  .hero-write { grid-template-columns: 1fr; gap: 0; }
  .hero-write .btn { width: 100%; }
  .who button { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hang .kcard.turn { transform: none; } .js .sf-1 .kc-words > * { clip-path: none; }
}
