/* ============================================================
   QURBANA et SELAH — The Tiers page
   ============================================================ */

.tiers-hero { min-height: auto; padding-top: clamp(7.5rem,11vw,10rem); padding-bottom: clamp(3rem,6vw,5rem); background: var(--dark); color: var(--on-dark); }
.tiers-hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.tiers-hero-text { max-width: 32ch; }
.tiers-hero-text h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.05; margin: 1.2rem 0; }
.tiers-hero-text .lede { font-size: clamp(1.15rem,1.5vw,1.4rem); opacity: 0.9; margin: 0; max-width: 40ch; }
.tiers-hero-media .ph { aspect-ratio: 5/4; }
@media (max-width: 820px){ .tiers-hero-inner { grid-template-columns: 1fr; } .tiers-hero-media { order: -1; } .tiers-hero-media .ph { aspect-ratio: 16/9; } }

.tiers-head { padding-top: clamp(8rem,12vw,11rem); }
.tiers-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem,7vw,6rem); line-height: 1.02; margin: 1.4rem 0; max-width: 16ch; }
.tiers-head .lede { max-width: 40ch; opacity: 0.9; }

/* full-width poured tier panels */
.tier-panel {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 92vh; display: flex; align-items: center;
  padding-block: clamp(4rem,8vw,7rem);
  border-top: 1px solid var(--hairline-d);
}
.tier-panel .pour-fill {
  position: absolute; inset: 0 0 100% 0;
  background: linear-gradient(160deg, var(--tc) 0%, color-mix(in oklab, var(--tc) 64%, #1a1510) 100%);
  z-index: -1;
}
.tier-panel.poured .pour-fill { animation: qs-pour-panel 1.9s var(--ease) both; }
@keyframes qs-pour-panel { from { inset: 0 0 100% 0; } to { inset: 0; } }
.tier-panel .grain { position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.05) 0, rgba(0,0,0,0.05) 1px, transparent 1px, transparent 13px); }

.tier-panel .inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; width: 100%; }
.tier-panel .roman { font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase; }
.tier-panel .tname { font-family: var(--display); font-weight: 500; font-size: clamp(3rem,9vw,7rem); line-height: 0.98; margin: 1rem 0 1.4rem; }
.tier-panel .tdesc { font-family: var(--body); font-weight: 300; font-size: clamp(1.3rem,2.2vw,1.8rem); line-height: 1.4; max-width: 30ch; margin-bottom: 2rem; }
.tier-panel .meta { display: grid; gap: 1rem; max-width: 30ch; }
.tier-panel .meta .row { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; padding-top: 1rem; border-top: 1px solid currentColor; align-items: baseline; }
.tier-panel .meta .k { font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; white-space: nowrap; }
.tier-panel .meta .v { font-weight: 400; font-size: 1.15rem; }
.tier-panel .price-big { font-family: var(--body); font-weight: 300; font-size: clamp(1.6rem,3vw,2.4rem); }

/* color states: text starts light (on dark bg), turns dark once poured (light fill) */
.tier-panel { color: var(--on-dark); background: var(--dark); }
.tier-panel .roman { color: var(--gold); }
.tier-panel.light-fill.poured { animation: qs-tcol 1.6s var(--ease) 0.5s both; }
.tier-panel.light-fill.poured .roman { animation: qs-tcol-roman 1.6s var(--ease) 0.5s both; }
@keyframes qs-tcol { from { color: var(--on-dark); } to { color: var(--dark); } }
@keyframes qs-tcol-roman { from { color: var(--gold); } to { color: color-mix(in oklab, var(--dark) 70%, var(--tc)); } }
.tier-panel .tfig .ph { aspect-ratio: 3/4; }

@media (max-width: 860px) {
  .tier-panel .inner { grid-template-columns: 1fr; }
  .tier-panel .tfig { order: -1; }
  .tier-panel { min-height: auto; }
}
