/*
VOICE: festive, crafted, warm — a Zaveri Bazar jewellery house.
IDEA: the twirl of a Ghoomar ghagra — concentric skirt bands that fan out like a jewellery tray.
PICTURE: a large spinning ghagra medallion in gold and ivory, with jhumkas hanging from its rim.
COLOUR and TYPE: white ground, gold dominant, deep antique gold for text; Almendra display + Mulish body.
LAYOUT: gold top bar, hero composition, bands full width, ivory-and-gold footer carrying the legal links.
*/
:root {
    color-scheme: light;
    --bg: #ffffff;
    --soft: #fbf6ea;
    --ink: #2b2213;
    --mute: #6f624a;
    --gold: #c9a043;
    --gold-lt: #e8cf8a;
    --gold-deep: #8a6416;
    --gold-grad: linear-gradient(135deg, #f3dc95 0%, #c9a043 45%, #a8791f 100%);
    --line: #ece1c7
}

* {
    box-sizing: border-box;
    min-width: 0
}

html {
    scroll-padding-top: 88px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 Mulish, system-ui, sans-serif;
    overflow-x: clip
}

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

a {
    color: var(--gold-deep)
}

h1,
h2,
h3 {
    font-family: Almendra, Georgia, serif;
    font-weight: 700;
    line-height: 1.08;
    text-wrap: balance;
    margin: 0 0 .4em;
    color: var(--gold-deep)
}

h1 {
    font-size: clamp(34px, 5.4vw, 56px)
}

h2 {
    font-size: clamp(28px, 3.6vw, 40px)
}

h3 {
    font-size: 22px
}

p {
    margin: 0 0 1em;
    max-width: 68ch
}

.script {
    font-family: "Dancing Script", cursive;
    font-size: clamp(24px, 3vw, 32px);
    color: var(--gold);
    margin: 0 0 .2em;
    line-height: 1.2
}

.wrap {
    max-width: 1240px;
    margin: 0 auto
}

.band {
    padding: clamp(32px, 5vw, 72px) max(5vw, 16px)
}

.soft {
    background: var(--soft)
}

/* header */
.top {
    background: var(--gold-grad);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    padding: 6px max(5vw, 16px)
}

.top .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    justify-content: space-between
}

.top a {
    color: var(--ink);
    text-decoration: none
}

header.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    padding: 8px max(5vw, 16px)
}

header.nav .wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: auto
}

.brand img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    object-fit: cover;
    border: 1px solid var(--line)
}

.brand b {
    font-family: Almendra, serif;
    font-size: 24px;
    color: var(--gold-deep);
    line-height: 1
}

.brand small {
    display: block;
    font-family: "Dancing Script", cursive;
    font-size: 17px;
    color: var(--gold);
    font-weight: 600
}

nav.links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px
}

nav.links a {
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center
}

nav.links a:hover {
    background: var(--soft)
}

nav.links a[aria-current=page] {
    background: var(--gold-grad);
    color: var(--ink)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid var(--gold);
    background: var(--gold-grad);
    color: var(--ink);
    box-shadow: 0 4px 14px #a8791f33;
    font: 700 15px Mulish, sans-serif;
    text-decoration: none;
    cursor: pointer
}

.btn.ghost {
    background: #fff;
    box-shadow: none;
    color: var(--gold-deep);
    border-color: var(--gold-deep)
}

.btn.gold {
    background: #fff;
    border-color: #fff;
    color: var(--gold-deep)
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-deep);
    outline-offset: 2px
}

/* hero */
.hero {
    background: radial-gradient(120% 90% at 80% 40%, #fbf3dc 0, var(--bg) 60%)
}

.hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 56px);
    align-items: center
}

.hero p.lead {
    font-size: 18px;
    color: var(--mute)
}

.cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px
}

.fig {
    position: relative;
    aspect-ratio: 1/1;
    max-height: 560px;
    width: 100%
}

.fig svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.spin {
    transform-origin: 300px 300px;
    animation: twirl 40s linear infinite
}

@keyframes twirl {
    to {
        transform: rotate(360deg)
    }
}

@media(prefers-reduced-motion:reduce) {
    .spin {
        animation: none
    }
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 26px;
    font-size: 14px;
    color: var(--mute)
}

.facts b {
    display: block;
    font-size: 17px;
    color: var(--ink)
}

/* grids & cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 18px
}

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column
}

.card svg.art {
    width: 100%;
    height: 170px;
    border-radius: 12px;
    background: var(--soft);
    margin-bottom: 14px
}

.photo-btn {
    padding: 0;
    border: 0;
    background: var(--soft);
    width: 100%;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    cursor: zoom-in;
    position: relative
}

.photo-btn img.art,
.card img.art {
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    background: var(--soft);
    margin-bottom: 14px;
    display: block;
    transition: transform .35s ease
}

.photo-btn img.art {
    margin-bottom: 0
}

.photo-btn:hover img.art,
a.card:hover img.art {
    transform: scale(1.03)
}

.card img.art.contain {
    object-fit: contain;
    background: #0d0a07
}

.mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.mosaic figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--line);
    background: var(--soft);
    box-shadow: 0 10px 26px #8a64161a
}

.mosaic img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover
}

.mosaic.stagger figure:nth-child(even) {
    transform: translateY(18px)
}

.lookbook {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
    gap: 16px;
    margin-top: 22px
}

.look-card {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease
}

.look-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #8a64161f
}

.look-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover
}

.look-card figcaption {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink)
}

.look-card figcaption small {
    display: block;
    font-weight: 400;
    color: var(--mute);
    font-size: 12px
}

.pair-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px
}

.pair-grid img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--line)
}

dialog.lightbox {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    max-width: min(92vw, 560px);
    background: var(--bg);
    color: var(--ink);
    box-shadow: 0 24px 60px #0006
}

dialog.lightbox::backdrop {
    background: #1b1409b3;
    backdrop-filter: blur(4px)
}

dialog.lightbox .lb-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

dialog.lightbox .lb-close {
    min-width: 40px;
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    font: 700 20px Mulish, sans-serif;
    cursor: pointer
}

dialog.lightbox img {
    width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 12px;
    background: #0d0a07
}

dialog.lightbox .lb-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px
}

dialog.lightbox p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--mute)
}

.card p {
    color: var(--mute);
    font-size: 15px;
    margin-bottom: 12px
}

.card .btn {
    margin-top: auto;
    align-self: flex-start;
    min-height: 44px;
    padding: 8px 18px;
    font-size: 14px
}

.tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-deep);
    margin-bottom: 4px
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 56px);
    align-items: center
}

.strip {
    background: var(--gold-grad);
    color: var(--ink)
}

.strip h2 {
    color: var(--ink)
}

.strip p {
    color: #3d3018
}

.strip .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px
}

.contact-list a {
    white-space: nowrap
}

/* catalogue */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 8px
}

.filters button {
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font: 600 15px Mulish, sans-serif;
    cursor: pointer
}

.filters button[aria-pressed=true] {
    background: var(--gold-grad);
    border-color: var(--gold);
    color: var(--ink)
}

.search {
    width: 100%;
    max-width: 420px;
    font: 16px Mulish, sans-serif;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    min-height: 46px
}

.note {
    font-size: 13px;
    color: var(--mute)
}

.empty {
    padding: 40px;
    text-align: center;
    color: var(--mute)
}

/* legal */
.legal {
    max-width: 820px;
    margin: 0 auto
}

.legal h2 {
    font-size: 26px;
    margin-top: 1.6em
}

.legal li {
    margin-bottom: .5em
}

.legal .meta {
    color: var(--mute);
    font-size: 14px
}

.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 14px;
    padding: 14px 0;
    border-block: 1px solid var(--line);
    margin: 18px 0
}

/* footer */
footer {
    background: var(--soft);
    color: var(--mute);
    font-size: 15px;
    border-top: 4px solid var(--gold)
}

footer .cols {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 28px
}

footer h3 {
    color: var(--gold-deep);
    font-size: 19px
}

footer a {
    color: var(--ink);
    text-decoration: none
}

footer a:hover {
    color: var(--gold-deep);
    text-decoration: underline
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px
}

footer .base {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    font-size: 13px;
    color: var(--mute)
}

footer .logo {
    width: 72px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    margin-bottom: 12px
}

.wa {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1f9d55;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px #0004
}

@media(max-width:900px) {
    footer .cols {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr)
    }
}

@media(max-width:760px) {

    .hero .wrap,
    .split {
        grid-template-columns: minmax(0, 1fr)
    }

    .fig {
        max-width: 420px;
        margin: 0 auto
    }

    .mosaic.stagger figure:nth-child(even) {
        transform: none
    }
}

@media(max-width:600px) {
    nav.links {
        width: 100%;
        justify-content: space-between
    }

    nav.links a {
        padding: 10px 8px;
        font-size: 14px
    }

    .brand img {
        width: 46px;
        height: 46px
    }

    footer .cols {
        grid-template-columns: minmax(0, 1fr)
    }

    .top .wrap {
        justify-content: center
    }
}