/* VELORA homepage live sections (the hero is velora-hero.css). Mobile-first; motion respects reduced-motion. */

/* ---------- live sections ---------- */
.vh-grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(min-width:1024px){.vh-grid4{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:520px){.vh-grid4{gap:.7rem}.vh-grid4 .cat-card__title{font-size:1.02rem}.vh-grid4 .cat-card__body{padding:.75rem}}
.vh-card .cat-card__media{aspect-ratio:1}
.vh-request{font-style:italic;color:var(--vm-v700)}
.vh-note{margin:-1rem 0 1.5rem;color:var(--vm-muted);font-size:.92rem}

.vh-cats{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:900px){.vh-cats{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}}
.vh-cat{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:22px;color:#fff;text-decoration:none;isolation:isolate}
@media(min-width:900px){.vh-cat{aspect-ratio:4/3}}
.vh-cat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform 1.2s cubic-bezier(.2,.7,.1,1)}
.vh-cat__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,4,15,0) 35%,rgba(7,4,15,.85))}
.vh-cat__txt{position:absolute;left:0;right:0;bottom:0;display:grid;gap:.25rem;padding:clamp(.9rem,2.5vw,1.4rem)}
.vh-cat__txt small{font:700 .66rem var(--vm-body);letter-spacing:.22em;color:#E9D5FF}
.vh-cat__txt b{font:500 clamp(1.35rem,3vw,2rem)/1.05 var(--vm-head)}
.vh-cat__txt span{font-size:.82rem;color:rgba(255,255,255,.82)}
.vh-cat:hover img{transform:scale(1.06)}
.vh-cat:focus-visible{outline:3px solid #8B5CF6;outline-offset:3px}

.vh-auctions{display:grid;gap:1rem}
@media(min-width:900px){.vh-auctions{grid-template-columns:repeat(3,minmax(0,1fr))}}
.vh-auction{display:grid;grid-template-columns:110px minmax(0,1fr);gap:1rem;padding:.75rem;border:1px solid var(--vm-line);border-radius:20px;background:#fff;color:inherit;text-decoration:none;transition:box-shadow .25s,transform .25s}
@media(min-width:900px){.vh-auction{grid-template-columns:1fr;padding:0;overflow:hidden}}
.vh-auction:hover{box-shadow:var(--vm-shadow);transform:translateY(-2px)}
.vh-auction__img{aspect-ratio:1;overflow:hidden;border-radius:14px;background:var(--vm-mist)}
@media(min-width:900px){.vh-auction__img{aspect-ratio:16/10;border-radius:0}}
.vh-auction__img img{width:100%;height:100%;object-fit:cover;display:block}
.vh-auction__body{display:grid;gap:.35rem;align-content:start}
@media(min-width:900px){.vh-auction__body{padding:1rem 1.2rem 1.25rem}}
.vh-auction h3{margin:0;font:600 1.2rem/1.2 var(--vm-head);color:var(--vm-v950)}
.vh-auction p{margin:0;font-size:.9rem;color:var(--vm-muted)}
.vh-auction p b{color:var(--vm-v950)}
.vh-auction small{color:var(--vm-muted);font-size:.8rem}
.vh-state{justify-self:start;display:inline-flex;align-items:center;gap:.4rem;padding:.25rem .65rem;border-radius:999px;font:700 .68rem var(--vm-body);letter-spacing:.1em;text-transform:uppercase}
.vh-state--live{background:#FDECEF;color:#A3123A}.vh-state--live::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:currentColor;animation:vhPulse 1.6s infinite}
.vh-state--upcoming{background:#EEF2FF;color:#3730A3}
.vh-state--ended{background:#F3F4F6;color:#4B5563}
@keyframes vhPulse{50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.vh-state--live::before{animation:none}}

.vh-atelier{position:relative;overflow:hidden;padding-block:clamp(3rem,8vw,6rem);background:radial-gradient(circle at 80% 50%,rgba(147,51,234,.35),transparent 55%),linear-gradient(130deg,#0D0620,#2A0E57 60%,#150A2E);color:#fff}
.vh-atelier__in{display:grid;gap:2rem;align-items:center}
@media(min-width:900px){.vh-atelier__in{grid-template-columns:1.2fr .8fr}}
.vh-atelier h2{margin:.6rem 0 .8rem;font:400 clamp(2.1rem,5vw,3.6rem)/1.04 var(--vm-head);color:#fff}
.vh-atelier h2 em{color:#E9D5FF}
.vh-atelier p{max-width:34rem;color:rgba(255,255,255,.84);line-height:1.75}
.vh-atelier .vm-kicker{color:#E9D5FF}
.vh-atelier .vm-actions{margin-top:1.5rem}
.vh-atelier__art{justify-self:center;width:min(70vw,20rem)}
.vh-atelier__art img{width:100%;height:auto;filter:drop-shadow(0 0 40px rgba(192,132,252,.45))}

.vh-trust{display:grid;gap:1rem}
@media(min-width:820px){.vh-trust{grid-template-columns:repeat(3,1fr)}}
.vh-trust__item{padding:1.5rem 1.4rem;border-radius:22px;background:#fff;border:1px solid var(--vm-line)}
.vh-trust__n{display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--vm-lav);color:var(--vm-v800);font:600 .95rem var(--vm-head)}
.vh-trust h3{margin:.9rem 0 .4rem;font:600 1.3rem var(--vm-head);color:var(--vm-v950)}
.vh-trust p{margin:0;color:var(--vm-muted);line-height:1.65;font-size:.92rem}

.vh-heritage{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(22rem,60svh,34rem);display:flex;align-items:flex-end;color:#fff}
.vh-heritage img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.vh-heritage::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,4,15,.85),rgba(7,4,15,.25))}
.vh-heritage__in{padding-block:clamp(2.5rem,7vw,4.5rem)}
.vh-heritage h2{margin:.6rem 0;font:400 clamp(2rem,5vw,3.4rem)/1.05 var(--vm-head);color:#fff;max-width:20ch}
.vh-heritage h2 em{color:#E9D5FF}
.vh-heritage p{max-width:32rem;color:rgba(255,255,255,.85);line-height:1.7;margin:0 0 1.25rem}
.vh-heritage .vm-kicker{color:#E9D5FF}

/* optional ambient sound toggle */
.vh-sound{position:fixed;left:1rem;bottom:1rem;z-index:60;display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:.45rem .9rem;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(21,10,46,.78);color:#fff;font:600 .78rem var(--vm-body);cursor:pointer;backdrop-filter:blur(8px)}
.vh-sound[hidden]{display:none}
.vh-sound__bars{display:inline-flex;align-items:flex-end;gap:2px;height:14px}
.vh-sound__bars i{width:3px;height:4px;background:#E9D5FF;border-radius:2px}
.vh-sound.is-on .vh-sound__bars i{animation:vhBars 1s ease-in-out infinite}
.vh-sound.is-on .vh-sound__bars i:nth-child(2){animation-delay:.2s}
.vh-sound.is-on .vh-sound__bars i:nth-child(3){animation-delay:.4s}
@keyframes vhBars{50%{height:14px}}
@media(prefers-reduced-motion:reduce){.vh-sound.is-on .vh-sound__bars i{animation:none;height:10px}}

/* The Proposal Edit band */
.vh-proposal{padding-block:clamp(3rem,7vw,5.5rem);background:linear-gradient(135deg,#FBF7F2 0%,#F7EAE6 100%)}
.vh-proposal__in{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media(min-width:900px){.vh-proposal__in{grid-template-columns:1fr 1.1fr}}
.vh-proposal h2{margin:.4rem 0 .8rem;font:500 clamp(2rem,4.6vw,3.2rem)/1.04 var(--vm-head);color:#2A1A33}
.vh-proposal h2 em{color:#9C5A63;font-style:italic}
.vh-proposal p{color:#5d5068;line-height:1.75;max-width:34rem}
.vh-proposal__art{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.vh-proposal__tile{position:relative;display:block;aspect-ratio:4/5;overflow:hidden;border-radius:20px;color:#fff;text-decoration:none;box-shadow:0 18px 44px rgba(42,26,51,.14)}
.vh-proposal__tile:nth-child(2){margin-top:2.5rem}
.vh-proposal__tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.vh-proposal__tile:hover img{transform:scale(1.05)}
.vh-proposal__tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(26,12,30,.8))}
.vh-proposal__tile span{position:absolute;left:1rem;right:1rem;bottom:1rem;z-index:1;display:grid}
.vh-proposal__tile b{font:500 1.45rem/1.1 var(--vm-head)}
.vh-proposal__tile small{opacity:.85;font-size:.8rem}
.vh-proposal__tile:focus-visible{outline:3px solid var(--vm-v500);outline-offset:3px}

/* Browse gemstones by family */
.vh-fams{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,10.5rem),1fr))}
.vh-fam{position:relative;display:grid;gap:.6rem;padding:.75rem .75rem 1rem;border:1px solid var(--vm-line);border-radius:18px;background:#fff;color:inherit;text-decoration:none;transition:transform .25s ease,box-shadow .25s}
.vh-fam:hover{transform:translateY(-3px);box-shadow:var(--vm-shadow)}
.vh-fam:focus-visible{outline:3px solid var(--vm-v500);outline-offset:3px}
.vh-fam__img{display:block;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#EEF1F7}
.vh-fam__img img{width:100%;height:100%;object-fit:cover}
.vh-fam__txt{display:grid;padding-right:2.6rem}
.vh-fam__txt b{font:600 1rem var(--vm-body);color:var(--vm-v950)}
.vh-fam__txt small{color:var(--vm-muted);font-size:.82rem}
.vh-fam__go{position:absolute;right:.75rem;bottom:.9rem;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--vm-line);color:var(--vm-v800);font-weight:700}
.vh-fam:hover .vh-fam__go{background:var(--vm-v700);border-color:var(--vm-v700);color:#fff}
.vh-auction .vel-count{margin-top:.5rem}
@media (prefers-reduced-motion: reduce){.vh-proposal__tile img,.vh-fam{transition:none}}

/* Custom Nawaratna section (home.js nawaratna) */
.vh-nw{background:linear-gradient(150deg,#1E0841,#3B0A7A 60%,#5B21B6);color:#F5F0FF;padding:clamp(3rem,6vw,5rem) 0}
.vh-nw__in{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.vh-nw h2{color:#fff;font:500 clamp(2rem,4vw,2.9rem)/1.1 var(--cat-font-head,'Cormorant Garamond',serif);margin:.4rem 0 .8rem}
.vh-nw h2 em{color:#E8C478}
.vh-nw p{color:#E4D9FF;line-height:1.65;max-width:34rem}
.vh-nw .vm-kicker{color:#E8C478}
.vh-nw__from{margin-top:1rem;font-size:.95rem}.vh-nw__from b{color:#fff}
.vh-nw__stones{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}
.vh-nw__stones li{display:grid;justify-items:center;gap:.25rem;text-align:center;padding:1rem .5rem;border-radius:1rem;background:rgba(255,255,255,.06);border:1px solid rgba(232,196,120,.22)}
.vh-nw__stones b{font-size:.88rem;color:#fff;font-weight:600;line-height:1.25}.vh-nw__stones small{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:#CDBEF5}
.vh-nw__gem{width:2.4rem;height:2.4rem;border-radius:50%;background:radial-gradient(circle at 32% 28%,#fff 0 12%,transparent 30%),radial-gradient(circle at 50% 55%,var(--g),color-mix(in srgb,var(--g) 55%,#000));box-shadow:0 0 0 2px rgba(232,196,120,.35),0 6px 14px rgba(0,0,0,.3)}
@media (max-width:860px){.vh-nw__in{grid-template-columns:1fr}}
@media (max-width:420px){.vh-nw__stones{gap:.45rem}.vh-nw__stones li{padding:.75rem .3rem}.vh-nw__gem{width:2rem;height:2rem}}
