/* ============================================================
   Pricing hub ("the ledger") — page-specific styles.
   Everything here extends the site's existing tokens/components
   (--burgundy, --gold, --ink-*, .svc-hero, .acc, .price-card,
   .price-table, .price-list, .reveal, .svc-group__n) rather than
   redefining them.
   ============================================================ */

/* ---- hero: the shared .svc-hero padding is top-heavy (7.5-9.5rem top vs
   2.5-3.5rem bottom) to clear the fixed nav on shorter inner-page heroes;
   this hero's headline wraps to two lines, so that asymmetry reads as
   off-center. Balance it here instead of touching the shared rule. ---- */
#pricingHero{padding-top:clamp(6.5rem,11vw,8.5rem);padding-bottom:clamp(6.5rem,11vw,8.5rem)}

/* ---- the ledger index: one flowing list, not five equal cards ---- */
.pz-index-wrap{padding-top:clamp(3rem,6vw,4rem)}
.pz-index{border-top:1px solid var(--line)}
.pz-index__row{
  position:relative;display:grid;width:100%;appearance:none;cursor:pointer;
  grid-template-columns:2.75rem 1fr auto 1.6rem;align-items:center;column-gap:1.4rem;
  background:none;border:none;border-bottom:1px solid var(--line-soft);
  padding:1.3rem .3rem;text-align:left;
  transition:padding .4s cubic-bezier(.22,1,.36,1);
}
.pz-index__row::before{
  content:"";position:absolute;left:-.6rem;top:14%;bottom:14%;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--gold-btn),var(--gold-btn2));
  transform:scaleY(0);transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1);
}
.pz-index__row:hover::before,.pz-index__row.is-active::before{transform:scaleY(1)}
.pz-index__row.is-active{padding-left:1rem}
.pz-index__row:focus-visible{outline:2px solid var(--burgundy);outline-offset:-2px}

.pz-index__row .svc-group__n{transition:background .35s,color .35s,transform .35s}
.pz-index__row:hover .svc-group__n,.pz-index__row.is-active .svc-group__n{
  background:linear-gradient(160deg,var(--gold-btn),var(--gold-btn2));color:#14241E;transform:scale(1.06);
}

.pz-index__body{display:flex;flex-direction:column;gap:.22rem;min-width:0}
.pz-index__title{
  font-family:var(--serif);font-weight:600;color:var(--muted);
  font-size:clamp(1.05rem,2vw,1.3rem);transition:color .35s,font-size .4s cubic-bezier(.22,1,.36,1);
}
.pz-index__row:hover .pz-index__title,.pz-index__row.is-active .pz-index__title{color:var(--ink)}
.pz-index__row.is-active .pz-index__title{font-size:clamp(1.25rem,2.6vw,1.6rem)}
.pz-index__desc{font-size:.84rem;color:var(--muted);opacity:.68;transition:opacity .35s}
.pz-index__row:hover .pz-index__desc,.pz-index__row.is-active .pz-index__desc{opacity:1}

.pz-index__price{
  font-family:var(--mono);font-size:.84rem;font-weight:600;color:var(--gold);
  white-space:nowrap;opacity:.72;transition:opacity .35s;justify-self:end;
}
.pz-index__row:hover .pz-index__price,.pz-index__row.is-active .pz-index__price{opacity:1}
.pz-index__arrow{
  color:var(--muted);opacity:.4;justify-self:end;
  transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .35s,color .35s;
}
.pz-index__row:hover .pz-index__arrow,.pz-index__row.is-active .pz-index__arrow{
  opacity:1;color:var(--gold);transform:translateX(5px);
}

/* ---- sticky ledger-tab rail (appears once the index above scrolls out of view) ---- */
.pz-rail{
  position:sticky;top:var(--nav-h,76px);z-index:120;
  background:linear-gradient(90deg,#052620 0%,#0B3528 56%,#164636 100%);
  border-bottom:1px solid rgba(195,160,91,0.22);
}
.pz-rail__inner{display:flex;align-items:center;padding:.6rem 0}
.pz-tabs{
  position:relative;display:flex;gap:.3rem;overflow-x:auto;scrollbar-width:none;
  -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;padding:.3rem;
}
.pz-tabs::-webkit-scrollbar{display:none}
.pz-tab{
  appearance:none;border:none;background:transparent;color:rgba(241,234,214,0.72);
  font-family:var(--sans);font-size:.86rem;font-weight:600;white-space:nowrap;cursor:pointer;
  padding:.62rem 1.05rem;border-radius:999px;position:relative;z-index:1;scroll-snap-align:start;
  transition:color .3s;
}
.pz-tab:hover{color:#F1EAD6}
.pz-tab.is-active{color:#14241E}
.pz-tab:focus-visible{outline:2px solid var(--gold-bright);outline-offset:2px}
.pz-tabs__pill{
  position:absolute;top:.3rem;left:0;height:calc(100% - .6rem);border-radius:999px;
  background:linear-gradient(180deg,var(--gold-btn),var(--gold-btn2));z-index:0;
  transition:transform .5s cubic-bezier(.22,1,.36,1),width .5s cubic-bezier(.22,1,.36,1);
}

/* ---- ledger section ---- */
.pz-plates{max-width:900px;margin-inline:auto}
.pz-plate{padding-top:.4rem}
.pz-plate__head{margin-bottom:1.6rem}

/* ---- the "stamp" reveal: settle + a brief gold-leaf flash, never a bounce ---- */
.stamp{
  opacity:0;transform:translateY(16px) scale(.985);
  filter:drop-shadow(0 0 0 rgba(195,160,91,0));
  animation:pzStamp .62s cubic-bezier(.22,1,.36,1) both;
  animation-delay:var(--d,0ms);
}
@keyframes pzStamp{
  0%{opacity:0;transform:translateY(16px) scale(.985);filter:drop-shadow(0 0 0 rgba(195,160,91,0))}
  55%{opacity:1;transform:translateY(-1px) scale(1.003);filter:drop-shadow(0 3px 12px rgba(195,160,91,.38))}
  100%{opacity:1;transform:translateY(0) scale(1);filter:drop-shadow(0 0 0 rgba(195,160,91,0))}
}

@media (prefers-reduced-motion: reduce){
  .stamp{animation:none;opacity:1;transform:none;filter:none}
  .pz-index__row,.pz-index__row::before,.svc-group__n{transition:none}
}

@media (max-width:640px){
  .pz-index__row{grid-template-columns:2.2rem 1fr auto;column-gap:.85rem;padding:1.1rem .2rem}
  .pz-index__row.is-active{padding-left:.85rem}
  .pz-index__arrow{display:none}
  .pz-index__price{font-size:.76rem}
  .pz-rail__inner{padding:.5rem 1rem}
  .pz-tab{padding:.58rem .9rem;font-size:.82rem}
}
