/* Pyramid tab specific */
.pyramid-page {
  background: radial-gradient(ellipse at 20% 10%, #1a0a2e 0%, #0a0f1e 60%);
  min-height: calc(100vh - 120px);
  position: relative;
  z-index: 1;
}
.pyramid-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
.pyramid-hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}
.pyramid-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, #f5a623 60%, #ff6b35);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .8rem;
  line-height: 1.1;
}
.py-credit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.3);
  padding: .35rem .9rem;
  border-radius: 999px;
  font-size: .75rem;
  color: var(--gold);
  margin-top: 1rem;
}
.pyramid-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 2rem auto;
  max-width: 640px;
  position: relative;
}
.py-layer {
  border-radius: 16px;
  width: 100%;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
  margin-bottom: .4rem;
}
.py-layer:hover {
  transform: translateX(6px) scale(1.018);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.py-layer-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
}
.py-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
  background: rgba(0,0,0,.3);
}
.py-content {
  flex: 1;
}
.py-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .18rem;
}
.py-tagline {
  font-size: .78rem;
  opacity: .75;
  line-height: 1.4;
}
.py-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  opacity: .85;
}
.py-arrow {
  display: flex;
  justify-content: center;
  padding: .15rem 0;
  position: relative;
  z-index: 2;
}
.py-arrow-anim {
  animation: arrowPulse 1.6s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%, 100% { opacity: .3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(3px); }
}
.py-detail-panel {
  background: rgba(0,0,0,.45);
  border-radius: 16px;
  overflow: hidden;
  margin-top: .8rem;
  max-height: 0;
  transition: max-height .4s ease, opacity .3s;
  opacity: 0;
  border: 1px solid transparent;
}
.py-detail-panel.open {
  max-height: 600px;
  opacity: 1;
}
.py-detail-inner {
  padding: 1.4rem;
}
.py-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .8rem;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .py-detail-grid {
    grid-template-columns: 1fr;
  }
}
.py-dcard {
  border-radius: 12px;
  padding: .9rem;
  font-size: .82rem;
  line-height: 1.5;
}
.py-dcard-title {
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem;
}
.py-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0,0,0,.3);
  border-radius: 12px;
}
.py-fbox {
  border-radius: 9px;
  padding: .45rem .8rem;
  font-size: .78rem;
  font-weight: 600;
  border: 1.5px solid;
}
.py-farr {
  font-size: 1rem;
  opacity: .5;
}
.py-stat {
  display: inline-block;
  background: rgba(0,0,0,.3);
  border-radius: 8px;
  padding: .3rem .7rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  margin: .2rem;
  color: var(--gold);
}
.jensen-quote {
  background: linear-gradient(135deg, rgba(245,166,35,.1), rgba(255,107,53,.08));
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.jensen-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: .8rem;
}
.jensen-quote cite {
  font-size: .82rem;
  color: var(--gold-dim);
}
