/* VELORA, The Proposal Edit. Bridal accents (ivory, blush, champagne) on the shared Velora purple system. */
:root{--pe-ivory:#FBF7F2;--pe-blush:#F7EAE6;--pe-champ:#E8D3A8;--pe-rose:#9C5A63;--pe-ink:#2A1A33;--pe-line:#EADFD6}
.pe-main{background:var(--pe-ivory)}

/* ---------- hero ---------- */
.pe-hero{position:relative;isolation:isolate;overflow:hidden;min-height:min(88svh,820px);display:flex;align-items:flex-end;color:#fff;background:#1d1220;padding:calc(var(--tgs-nav-height,76px) + 3rem) 0 clamp(3rem,8vw,6rem)}
.pe-hero__img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:60% 40%;transform:scale(1.04);animation:peZoom 14s ease-out forwards}
.pe-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(29,14,34,.15) 0,rgba(29,14,34,.25) 40%,rgba(24,10,30,.86) 100%),radial-gradient(80% 60% at 20% 90%,rgba(232,195,160,.28),transparent 70%)}
.pe-hero__copy{max-width:40rem;animation:peRise .9s .15s both}
.pe-hero .vm-kicker{color:#F3DDB5}
.pe-hero h1{margin:.6rem 0 .4rem;font:500 clamp(2.8rem,8vw,5.6rem)/.98 var(--vm-head);letter-spacing:-.01em;color:#fff}
.pe-hero__tag{margin:0 0 1rem;font:italic 500 clamp(1.35rem,3vw,1.9rem)/1.3 var(--vm-head);color:#F7E6CF}
.pe-hero p{max-width:34rem;color:rgba(255,255,255,.88);line-height:1.7}
.pe-hero .vm-actions{margin-top:1.6rem}
.pe-hero__finder{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.5)}
.pe-hero__finder:hover{border-color:#fff}
.pe-hero__finder svg{width:20px;height:20px}
@keyframes peRise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes peZoom{to{transform:scale(1)}}

/* ---------- choose your collection ---------- */
.pe-choose{display:grid;gap:1.25rem;margin-top:-3.5rem;position:relative;z-index:2}
@media(min-width:760px){.pe-choose{grid-template-columns:1fr 1fr}}
.pe-coll{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(320px,46vw,460px);overflow:hidden;border-radius:24px;color:#fff;text-decoration:none;background:#2b1b2f;box-shadow:0 24px 60px rgba(42,26,51,.18);isolation:isolate}
.pe-coll img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--tgs-ease,ease)}
.pe-coll::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 30%,rgba(26,12,30,.85))}
.pe-coll:hover img{transform:scale(1.045)}
.pe-coll:focus-visible{outline:3px solid var(--vm-v500);outline-offset:4px}
.pe-coll__body{padding:clamp(1.25rem,3vw,2rem)}
.pe-coll__count{display:inline-block;padding:.3rem .7rem;border-radius:999px;background:rgba(255,255,255,.16);backdrop-filter:blur(6px);font:600 .76rem var(--vm-body);letter-spacing:.06em}
.pe-coll h2{margin:.7rem 0 .25rem;font:500 clamp(2rem,4vw,2.8rem)/1.02 var(--vm-head);color:#fff}
.pe-coll p{margin:0 0 1rem;color:rgba(255,255,255,.86)}
.pe-coll__cta{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:0 1.15rem;border-radius:999px;background:#fff;color:var(--vm-v800);font:600 .92rem var(--vm-body)}

/* ---------- finder feature ---------- */
.pe-feature{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center;padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--pe-line);border-radius:28px;background:linear-gradient(135deg,#fff,var(--pe-blush))}
@media(min-width:860px){.pe-feature{grid-template-columns:.9fr 1.1fr}}
.pe-feature__img{aspect-ratio:4/5;max-height:440px;width:100%;object-fit:cover;border-radius:20px}
.pe-feature h2{margin:.4rem 0 .6rem;font:500 clamp(1.9rem,4vw,2.8rem)/1.05 var(--vm-head);color:var(--pe-ink)}
.pe-feature h2 em,.pe-rail h2 em{color:var(--pe-rose);font-style:italic}
.pe-feature p{color:var(--vm-muted);line-height:1.7}
.pe-feature ol{margin:1rem 0 1.4rem;padding:0;list-style:none;display:grid;gap:.5rem;counter-reset:pe}
.pe-feature li{counter-increment:pe;display:flex;gap:.7rem;align-items:baseline;color:var(--pe-ink)}
.pe-feature li::before{content:counter(pe);display:inline-grid;place-items:center;flex:0 0 1.6rem;height:1.6rem;border-radius:50%;background:#fff;border:1px solid var(--pe-champ);font:600 .78rem var(--vm-body);color:var(--pe-rose)}

/* ---------- rails and grid ---------- */
.pe-rail{padding-block:clamp(2rem,5vw,3.5rem) 0}
.pe-rail .vm-head h2{color:var(--pe-ink)}
.pe-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,15.5rem),1fr))}
.pe-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--pe-line);border-radius:20px;background:#fff;overflow:hidden;transition:transform .3s var(--tgs-ease,ease),box-shadow .3s}
.pe-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(42,26,51,.10)}
.pe-card__media{position:relative;display:block;aspect-ratio:1;background:#f4eee9;overflow:hidden}
.pe-card__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .45s,transform .7s var(--tgs-ease,ease)}
.pe-card__img2{opacity:0}
.pe-card:hover .pe-card__img2{opacity:1}
.pe-card:hover .pe-card__img{transform:scale(1.04)}
.pe-card__flag{position:absolute;left:.75rem;top:.75rem;padding:.25rem .6rem;border-radius:999px;background:#2A1A33;color:#fff;font:600 .72rem var(--vm-body)}
.pe-card .vel-lw{position:absolute;left:.7rem;bottom:.7rem}
.pe-card .cat-card__fav{position:absolute;right:.6rem;top:.6rem;z-index:2}
.pe-card__body{display:flex;flex-direction:column;gap:.5rem;flex:1;padding:1rem 1.05rem 1.1rem}
.pe-card__eyebrow{font:700 .68rem/1.3 var(--vm-body);letter-spacing:.14em;text-transform:uppercase;color:var(--pe-rose)}
.pe-card__title{margin:0;font:600 1.18rem/1.22 var(--vm-head);color:var(--pe-ink)}
.pe-card__title a{color:inherit;text-decoration:none;display:inline-block;padding:.6rem 0;margin:-.6rem 0}
.pe-card__title a:hover{text-decoration:underline;text-underline-offset:3px}
.pe-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.pe-card__cta,.pe-why{position:relative;z-index:2}
.pe-card .cat-card__fav{z-index:3}
.pe-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem;margin-top:auto}
.pe-card__cta{margin-top:.35rem;width:100%;justify-content:center}
.pe-price{font:600 1.02rem var(--vm-body);color:var(--vm-v800)}
.pe-price small{font-weight:500;color:var(--vm-muted)}
.pe-price s{margin-left:.35rem;font-weight:400;color:var(--vm-muted)}
.pe-price--quote{color:var(--pe-rose)}
.pe-metals{display:flex;align-items:center;gap:.3rem;font-size:.8rem;color:var(--vm-muted)}
.pe-swatch{display:inline-block;width:14px;height:14px;border-radius:50%;background:var(--sw);border:1px solid rgba(0,0,0,.12);box-shadow:inset 0 1px 2px rgba(255,255,255,.6)}
.pe-metals__txt{margin-left:.2rem}

/* ---------- promise strip ---------- */
.pe-promises{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));padding-block:clamp(2.5rem,6vw,4rem)}
.pe-promise{padding:1.2rem 1.25rem;border-radius:18px;background:#fff;border:1px solid var(--pe-line)}
.pe-promise h3{margin:0 0 .35rem;font:600 1.15rem var(--vm-head);color:var(--pe-ink)}
.pe-promise p{margin:0;color:var(--vm-muted);font-size:.9rem;line-height:1.6}
.pe-promise svg{width:26px;height:26px;color:var(--pe-rose);margin-bottom:.5rem}
.pe-empty{color:var(--vm-muted);text-align:center;padding:2rem 0}
.pe-empty--box{grid-column:1/-1;padding:2.5rem 1.25rem;border:1px dashed var(--pe-champ);border-radius:20px;background:#fff}
.pe-empty--box h3{margin:0 0 .4rem;font:600 1.4rem var(--vm-head);color:var(--pe-ink)}
.pe-empty--box .vm-actions{justify-content:center;margin-top:1rem}

/* ---------- collection page ---------- */
.pe-collhero{padding-bottom:clamp(2rem,5vw,3rem)}
.pe-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem}
.pe-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:0 1.1rem;border-radius:999px;border:1px solid rgba(255,255,255,.4);color:#fff;text-decoration:none;font-weight:600}
.pe-tabs a.is-on{background:#fff;color:var(--vm-v800);border-color:#fff}
.pe-fgroup{margin-bottom:1.1rem}
.pe-fgroup__label{margin:0 0 .5rem;font:700 .72rem var(--vm-body);letter-spacing:.14em;text-transform:uppercase;color:var(--vm-v700)}
.pe-fchips{display:flex;flex-wrap:wrap;gap:.4rem}
.pe-fchips .vm-chip{min-height:38px;padding:.35rem .8rem;font-size:.82rem}
.pe-fchips .vm-chip small{color:var(--vm-muted);font-weight:500}
.pe-ready{display:flex;align-items:center;gap:.55rem;min-height:44px;font-weight:600;color:var(--pe-ink)}
.pe-ready input{width:20px;height:20px;accent-color:var(--vm-v700)}
.pe-findbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-top:2rem;padding:1rem 1.25rem;border-radius:18px;background:linear-gradient(135deg,#fff,var(--pe-blush));border:1px solid var(--pe-line)}
.pe-findbar p{margin:0;color:var(--pe-ink);font:500 1.15rem var(--vm-head)}

/* ---------- quiz ---------- */
.pe-quizwrap{max-width:52rem;margin:0 auto;padding-block:clamp(1.5rem,4vw,3rem) 4rem}
.pe-quiz{position:relative;padding:clamp(1.25rem,4vw,2.5rem);border:1px solid var(--pe-line);border-radius:28px;background:#fff;box-shadow:0 24px 60px rgba(42,26,51,.08)}
.pe-progress{height:6px;border-radius:999px;background:var(--pe-blush);overflow:hidden}
.pe-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--vm-v700),var(--pe-rose));transition:width .4s var(--tgs-ease,ease)}
.pe-quiz__step{margin:.6rem 0 0;font:600 .78rem var(--vm-body);letter-spacing:.08em;color:var(--vm-muted)}
.pe-q{border:0;margin:1.2rem 0 0;padding:0;min-width:0}
.pe-q legend{padding:0;width:100%}
.pe-q h2{margin:0;font:500 clamp(1.7rem,4.4vw,2.5rem)/1.12 var(--vm-head);color:var(--pe-ink);outline:none}
.pe-q__hint{margin:.5rem 0 0;color:var(--vm-muted)}
.pe-q--in{animation:peRise .35s both}
.pe-answers{display:grid;gap:.6rem;margin-top:1.25rem}
@media(min-width:620px){.pe-answers{grid-template-columns:1fr 1fr}}
.pe-answer{display:flex;align-items:center;gap:.8rem;min-height:56px;padding:.8rem 1rem;border:1.5px solid var(--pe-line);border-radius:16px;background:var(--pe-ivory);color:var(--pe-ink);font:500 1rem var(--vm-body);text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .15s}
.pe-answer:hover{border-color:var(--pe-champ);background:#fff}
.pe-answer:focus-visible{outline:3px solid var(--vm-v500);outline-offset:2px}
.pe-answer:active{transform:scale(.99)}
.pe-answer__mark{flex:0 0 22px;height:22px;border-radius:50%;border:2px solid #CBB9AE;display:grid;place-items:center;transition:all .2s}
.pe-answers--multi .pe-answer__mark{border-radius:7px}
.pe-answer[aria-checked=true],.pe-answer[aria-pressed=true]{border-color:var(--vm-v700);background:#F5F0FF}
.pe-answer[aria-checked=true] .pe-answer__mark,.pe-answer[aria-pressed=true] .pe-answer__mark{border-color:var(--vm-v700);background:var(--vm-v700);box-shadow:inset 0 0 0 4px #F5F0FF}
.pe-answers--multi .pe-answer[aria-pressed=true] .pe-answer__mark{box-shadow:none;background:var(--vm-v700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center/16px no-repeat}
.pe-quiz__nav{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.5rem}
.pe-results--in .pe-results__head{animation:peRise .6s both}
.pe-results__head{position:relative;text-align:center;padding-bottom:1rem}
.pe-results__head h2{margin:.4rem 0 .5rem;font:500 clamp(2rem,5vw,3rem)/1.05 var(--vm-head);color:var(--pe-ink);outline:none}
.pe-results__head h2 em{color:var(--pe-rose)}
.pe-results__head p{max-width:36rem;margin:0 auto;color:var(--vm-muted)}
.pe-sparkle{position:absolute;left:50%;top:-1rem;width:160px;height:80px;transform:translateX(-50%);pointer-events:none;background:radial-gradient(circle at 20% 60%,#E8D3A8 0 2px,transparent 3px),radial-gradient(circle at 50% 20%,#C9A24B 0 2px,transparent 3px),radial-gradient(circle at 80% 55%,#E8B4C0 0 2px,transparent 3px),radial-gradient(circle at 35% 30%,#fff 0 1.5px,transparent 2.5px);opacity:0}
.pe-results--in .pe-sparkle{animation:peSpark 1.6s .2s ease-out}
@keyframes peSpark{0%{opacity:0;transform:translate(-50%,10px) scale(.8)}40%{opacity:1}100%{opacity:0;transform:translate(-50%,-14px) scale(1.15)}}
.pe-summary{margin:1.25rem 0;padding:1rem 1.15rem;border-radius:18px;background:var(--pe-ivory);border:1px solid var(--pe-line)}
.pe-summary h3,.pe-guide h3{margin:0 0 .5rem;font:600 1.1rem var(--vm-head);color:var(--pe-ink)}
.pe-summary ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.pe-summary li{display:inline-flex;align-items:center;gap:.15rem;padding:.15rem .25rem .15rem .75rem;border-radius:999px;background:#fff;border:1px solid var(--pe-line);font-size:.86rem;color:var(--pe-ink)}
.pe-summary .vm-textbtn{min-height:36px;padding:.2rem .5rem;font-size:.8rem}
.pe-guide{display:grid;gap:1rem;margin-bottom:1.25rem}
@media(min-width:760px){.pe-guide{grid-template-columns:1fr 1fr}}
.pe-guide>div{padding:1rem 1.15rem;border-radius:18px;background:linear-gradient(135deg,#fff,var(--pe-blush));border:1px solid var(--pe-line)}
.pe-guide p{margin:.35rem 0 0;color:var(--pe-ink);line-height:1.6;font-size:.94rem}
.pe-why{list-style:none;margin:.2rem 0 0;padding:0;display:grid;gap:.25rem;font-size:.82rem}
.pe-why li{display:flex;gap:.4rem;align-items:baseline;color:var(--pe-ink)}
.pe-why li::before{flex:0 0 1rem;font-weight:700}
.pe-why .is-yes::before{content:"✓";color:var(--vm-ok)}
.pe-why .is-no::before{content:"•";color:var(--vm-muted)}
.pe-why .is-no{color:var(--vm-muted)}
.pe-why .is-info::before{content:"★";color:var(--vm-gold)}
.pe-results__actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:center;margin-top:1.75rem}
.pe-tip,.pe-note{margin:1.25rem 0 0;padding:.9rem 1rem;border-radius:14px;background:var(--pe-ivory);border:1px solid var(--pe-line);color:var(--pe-ink)}
.pe-small{margin:1.25rem auto 0;max-width:40rem;text-align:center;font-size:.8rem;color:var(--vm-muted)}

/* ---------- product page touches ---------- */
.pe-detail-note{margin:.6rem 0 0;padding:.75rem .9rem;border-radius:14px;background:var(--pe-blush,#F7EAE6);color:#4a2c37;font-size:.9rem}

@media (prefers-reduced-motion: reduce){
  .pe-hero__img,.pe-hero__copy,.pe-q--in,.pe-results--in .pe-results__head,.pe-results--in .pe-sparkle{animation:none!important}
  .pe-card,.pe-card__media img,.pe-coll img{transition:none!important}
  .pe-hero__img{transform:none}
}
@media (max-width:640px){
  .pe-hero{min-height:78svh}
  .pe-choose{margin-top:-2rem}
  .pe-quiz__nav .vm-actions{flex-wrap:nowrap}
}
.pe-collhero .gd-crumbs a{color:#F3DDB5}
.pe-collhero .gd-crumbs [aria-current]{color:rgba(255,255,255,.8)}
.page-proposal-product .vm-detail .cat-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,14.5rem),1fr))}
.pe-summary li{max-width:100%}
.pe-summary li span{min-width:0}
.pe-summary .vm-textbtn{white-space:nowrap;flex:none}

/* ---------- dark theme (hand-tuned; this file is not run through darkgen) ---------- */
html[data-theme="dark"]{--pe-ivory:#120A1E;--pe-blush:#22142C;--pe-champ:#6E5630;--pe-rose:#EBB0BC;--pe-ink:#F4ECF7;--pe-line:#3A2B4C}
html[data-theme="dark"] .pe-main{background:var(--pe-ivory)}
html[data-theme="dark"] .pe-card,html[data-theme="dark"] .pe-promise,html[data-theme="dark"] .pe-empty--box,html[data-theme="dark"] .pe-quiz,html[data-theme="dark"] .pe-summary li{background:#1A1027}
html[data-theme="dark"] .pe-card__media{background:#24182F}
html[data-theme="dark"] .pe-feature,html[data-theme="dark"] .pe-guide>div,html[data-theme="dark"] .pe-findbar{background:linear-gradient(135deg,#1A1027,#2A1730)}
html[data-theme="dark"] .pe-feature p,html[data-theme="dark"] .pe-promise p,html[data-theme="dark"] .pe-q__hint,html[data-theme="dark"] .pe-results__head p,html[data-theme="dark"] .pe-small,html[data-theme="dark"] .pe-metals,html[data-theme="dark"] .pe-empty{color:#C9BCD6}
html[data-theme="dark"] .pe-feature li::before{background:#1A1027}
html[data-theme="dark"] .pe-rail .vm-head h2,html[data-theme="dark"] .pe-feature h2,html[data-theme="dark"] .pe-card__title,html[data-theme="dark"] .pe-promise h3,html[data-theme="dark"] .pe-q h2,html[data-theme="dark"] .pe-results__head h2,html[data-theme="dark"] .pe-summary h3,html[data-theme="dark"] .pe-guide h3,html[data-theme="dark"] .pe-guide p,html[data-theme="dark"] .pe-why li,html[data-theme="dark"] .pe-tip,html[data-theme="dark"] .pe-note,html[data-theme="dark"] .pe-ready,html[data-theme="dark"] .pe-findbar p{color:var(--pe-ink)}
html[data-theme="dark"] .pe-why .is-no{color:#A898B8}
html[data-theme="dark"] .pe-price{color:#D8C4FF}
html[data-theme="dark"] .pe-price s,html[data-theme="dark"] .pe-price small{color:#A898B8}
html[data-theme="dark"] .pe-answer{background:#1F1430;color:var(--pe-ink);border-color:#3A2B4C}
html[data-theme="dark"] .pe-answer:hover{background:#271A3A;border-color:#6E5630}
html[data-theme="dark"] .pe-answer__mark{border-color:#7E6E92}
html[data-theme="dark"] .pe-answer[aria-checked=true],html[data-theme="dark"] .pe-answer[aria-pressed=true]{background:#2B1D47;border-color:#A78BFA}
html[data-theme="dark"] .pe-answer[aria-checked=true] .pe-answer__mark,html[data-theme="dark"] .pe-answer[aria-pressed=true] .pe-answer__mark{border-color:#A78BFA;background-color:#A78BFA;box-shadow:inset 0 0 0 4px #2B1D47}
html[data-theme="dark"] .pe-answers--multi .pe-answer[aria-pressed=true] .pe-answer__mark{box-shadow:none}
html[data-theme="dark"] .pe-quiz__step,html[data-theme="dark"] .pe-fgroup__label{color:#C4B5FD}
html[data-theme="dark"] .pe-summary,html[data-theme="dark"] .pe-tip,html[data-theme="dark"] .pe-note{background:#170E24}
html[data-theme="dark"] .pe-detail-note{background:#2A1730;color:#F4ECF7}
html[data-theme="dark"] .pe-card__flag{background:#F4ECF7;color:#1A1027}
html[data-theme="dark"] .pe-coll__cta{background:#F4ECF7;color:#3B0A7A}
.pe-card__actions{position:relative;z-index:2;margin-top:.35rem}
