/* ============================================================
   TAROT BALLET — Shared Stylesheet v4
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --tb-ink:        #191919;
  --tb-ash:        #dfdfdf;
  --tb-bone:       #f0ead8;
  --tb-ember:      #c8793a;
  --tb-ember-dim:  #8a4e22;
  --tb-charcoal:   #2a2a2a;
  --tb-smoke:      #3d3d3d;
  --tb-ghost:      #888;
  --tb-parchment:  #aa987f;
  --tb-max:     1100px;
}

.tb-page {
  background-color: var(--tb-ink);
  color: var(--tb-ash);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 65px;
}

/* ── SITE HEADER / LOGO ── */
.tb-site-header {
  padding: 1rem 2rem 0.75rem;
  border-bottom: 1px solid var(--tb-smoke);
}
.tb-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--tb-bone);
  text-decoration: none;
  transition: color 0.2s;
}
.tb-logo:hover { color: var(--tb-ember); }

/* ── BREADCRUMB ── */
.tb-breadcrumb {
  padding: 1rem 2rem;
  font-family: 'Amatic SC', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--tb-ghost);
  text-transform: uppercase;
  border-bottom: 1px solid var(--tb-smoke);
}
.tb-breadcrumb a { color: var(--tb-ghost); text-decoration: none; transition: color 0.2s; }
.tb-breadcrumb a:hover { color: var(--tb-ember); }
.tb-breadcrumb span { margin: 0 0.5rem; }

/* ── HERO ── */
.tb-hero {
  max-width: var(--tb-max);
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── CARD ART ── */
.tb-card-frame {
  border: 1px solid var(--tb-smoke);
  padding: 1rem;
  background: var(--tb-charcoal);
  position: relative;
}
.tb-card-frame::before {
  content: '';
  position: absolute;
  border: 1px solid var(--tb-ember-dim);
  inset: 6px;
  pointer-events: none;
}
.tb-card-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--tb-smoke);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tb-card-art video,
.tb-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── HERO RIGHT ── */
.tb-hero-meta {
  padding-top: 0.25rem;
  animation: tb-fadeUp 0.8s ease both;
}

.tb-card-role {
  font-family: 'Amatic SC', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tb-ember);
  margin-bottom: 0.3em;
  line-height: 1;
}

.tb-card-title {
  font-family: 'Amatic SC', cursive;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tb-bone);
  margin-bottom: 1.25rem;
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

.tb-divider {
  width: 100%;
  height: 1px;
  background: var(--tb-ember);
  margin-bottom: 1.5rem;
}

.tb-essence {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--tb-ash);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

/* ── SHE EMBODIES ── */
.tb-embodies {
  margin-bottom: 1.75rem;
}
.tb-embodies-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--tb-ghost);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.tb-embodies-words {
  font-family: 'Amatic SC', cursive;
  font-size: 1.6rem;
  color: var(--tb-ember);
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin-bottom: 0.3em;
}
.tb-embodies-subline { display: none; }

/* ── PILL SYSTEM ── */
.tb-pill-label {
  font-family: 'Amatic SC', cursive;
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tb-ghost);
  margin-bottom: 0.6rem;
}
.tb-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tb-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--tb-smoke);
  color: var(--tb-ash);
  text-decoration: none;
  font-family: 'Amatic SC', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.tb-pill:hover { background: var(--tb-ember); border-color: var(--tb-ember); color: var(--tb-ink); }

/* ── PLAYER BUTTON OVERRIDES (beats X Theme Pro) ── */
.cg-audio-player button.cg-btn,
.cg-audio-player button.cg-btn:hover,
.cg-audio-player button.cg-btn:focus {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  padding: 8px 10px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  outline: none !important;
}
.cg-audio-player button.cg-btn:hover {
  background: rgba(255,255,255,0.18) !important;
}

/* ── PLAY BUTTON ── */
.tb-play-btn {
  border-color: var(--tb-ember-dim);
  color: var(--tb-bone);
  letter-spacing: 0.15em;
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}
.tb-play-btn:hover {
  background: var(--tb-ember);
  border-color: var(--tb-ember);
  color: var(--tb-ink);
}

/* ── BODY ── */
.tb-body {
  max-width: var(--tb-max);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}
.tb-rule {
  width: 100%;
  height: 1px;
  background: var(--tb-smoke);
  margin: 3rem 0;
}

/* ── STATS: 4 columns ── */
.tb-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.tb-stat-block {
  border-left: 2px solid var(--tb-ember-dim);
  padding-left: 1.25rem;
}
.tb-stat-label {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tb-ghost);
  margin-bottom: 0.4rem;
}
.tb-stat-value {
  font-size: 1.05rem;
  color: var(--tb-ash);
  font-style: italic;
  line-height: 1.5;
}

/* ── COUPLET ── */
.tb-couplet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  overflow: hidden;
}
.tb-couplet-block {
  padding: 2rem;
  background: var(--tb-parchment);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.tb-couplet-block.from-left  { transform: translateX(-40px); }
.tb-couplet-block.from-right { transform: translateX(40px); }
.tb-couplet-block.visible { opacity: 1; transform: translateX(0); }

.tb-couplet-label {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tb-ember-dim);
  margin-bottom: 1rem;
  display: block;
}
.tb-couplet-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--tb-ink);
  font-weight: 400;
}

/* ── QUOTE ── */
.tb-quote {
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
}
.tb-quote-mark {
  font-family: 'IM Fell English', serif;
  font-size: 5rem;
  color: var(--tb-ember-dim);
  line-height: 0.5;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.tb-quote-text {
  font-family: 'IM Fell English', serif;
  font-size: 1.7rem;
  font-style: italic;
  color: var(--tb-bone);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ── FOOTER NAV ── */
.tb-footnav {
  border-top: 1px solid var(--tb-smoke);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--tb-max);
  margin: 0 auto;
  gap: 1rem;
}
.tb-footnav-prev,
.tb-footnav-next,
.tb-footnav-center a {
  font-family: 'Amatic SC', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tb-ghost);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.tb-footnav-prev:hover,
.tb-footnav-next:hover,
.tb-footnav-center a:hover { color: var(--tb-ember); }
.tb-footnav-prev { align-items: flex-start; }
.tb-footnav-next { align-items: flex-end; }
.tb-footnav-center { text-align: center; }
.tb-footnav-dir {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--tb-smoke);
}
.tb-footnav-name {
  font-size: 1.3rem;
}

/* ── ANIMATION ── */
@keyframes tb-fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .tb-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .tb-hero { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 1.25rem 2rem; }
  .tb-card-title { font-size: 3.5rem; }
  .tb-couplet { grid-template-columns: 1fr; }
  .tb-body { padding: 0 1.25rem 4rem; }
}
@media (max-width: 600px) {
  .tb-stats-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   TAROT BALLET — Archive / Index Page Styles
   ============================================================ */

/* ── ARCHIVE HERO ── */
.tb-archive-hero {
  border-bottom: 1px solid var(--tb-smoke);
  padding: 2rem 2rem 4rem;
  text-align: center;
}
.tb-archive-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.tb-archive-eyebrow { display: none; }
.tb-archive-title {
  font-family: 'Amatic SC', cursive;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--tb-bone);
  letter-spacing: 0.02em;
  margin-top: 0.1em;
}
.tb-archive-subtitle {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--tb-ghost);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.tb-archive-death-img {
  margin: 2rem auto 2.5rem;
  max-width: 580px;
}
.tb-archive-death-img img {
  width: 100%;
  display: block;
  border: 1px solid var(--tb-smoke);
  padding: 0.75rem;
  background: var(--tb-charcoal);
}
.tb-archive-lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--tb-ash);
  font-weight: 300;
}

/* ── ARCHIVE ABOUT ── */
.tb-archive-about {
  border-bottom: 1px solid var(--tb-smoke);
  padding: 2rem 2rem;
}
.tb-archive-about-inner {
  max-width: var(--tb-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.tb-archive-about-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--tb-ash);
  font-weight: 300;
  font-style: italic;
}
.tb-archive-about-text p + p {
  margin-top: 1rem;
}
.tb-archive-about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--tb-smoke);
  padding-left: 3rem;
  flex-shrink: 0;
}
.tb-archive-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tb-archive-stat-num {
  font-family: 'Amatic SC', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--tb-ember);
  line-height: 1;
}
.tb-archive-stat-label {
  font-family: 'Amatic SC', cursive;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-top: 0.25rem;
}

/* ── CARD GRID ── */
.tb-archive-grid-section {
  max-width: var(--tb-max);
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}
.tb-archive-grid-header {
  margin-bottom: 2rem;
}
.tb-archive-grid-label {
  font-family: 'Amatic SC', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tb-ghost);
}
.tb-archive-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Card thumbnail */
.tb-card-thumb {
  text-decoration: none;
  display: block;
}
.tb-card-thumb-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--tb-smoke);
  background: var(--tb-charcoal);
  transition: border-color 0.25s;
}
.tb-card-thumb:hover .tb-card-thumb-frame {
  border-color: var(--tb-ember);
}
.tb-card-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.tb-card-thumb:hover .tb-card-thumb-frame img {
  transform: scale(1.04);
}
.tb-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amatic SC', cursive;
  font-size: 2rem;
  color: var(--tb-smoke);
}
.tb-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25,25,25,0.92) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem;
  opacity: 0;
  transition: opacity 0.25s;
}
.tb-card-thumb:hover .tb-card-thumb-overlay {
  opacity: 1;
}
.tb-card-thumb-name {
  font-family: 'Amatic SC', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tb-bone);
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.tb-card-thumb-role {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--tb-ember);
  margin-top: 0.15rem;
}
.tb-card-thumb-num {
  font-family: 'Amatic SC', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--tb-ghost);
  text-align: center;
  margin-top: 0.4rem;
}

/* Empty state */
.tb-archive-empty {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--tb-ghost);
  font-size: 1.1rem;
}

/* ── COMING SOON CALLOUT ── */
.tb-coming-soon {
  max-width: var(--tb-max);
  margin: 0 auto 3rem;
  padding: 0 2rem;
}
.tb-coming-soon-inner {
  border: 1px solid var(--tb-smoke);
  border-left: 3px solid var(--tb-ember);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.tb-coming-soon-label {
  font-family: 'Amatic SC', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--tb-ember);
  white-space: nowrap;
  flex-shrink: 0;
}
.tb-coming-soon-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--tb-ghost);
  line-height: 1.6;
}

/* ── ARCHIVE FOOTER ── */
.tb-archive-footer {
  border-top: 1px solid var(--tb-smoke);
  padding: 2rem;
  text-align: center;
}
.tb-archive-footer-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--tb-ghost);
  margin-bottom: 0.5rem;
}
.tb-archive-footer-text a {
  color: var(--tb-ember);
  text-decoration: none;
}
.tb-archive-footer-text a:hover { text-decoration: underline; }
.tb-archive-footer-sub {
  font-family: 'Amatic SC', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #fff;
  text-transform: uppercase;
}

/* ── ARCHIVE RESPONSIVE ── */
@media (max-width: 900px) {
  .tb-archive-grid { grid-template-columns: repeat(4, 1fr); }
  .tb-archive-about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .tb-archive-about-stats { flex-direction: row; border-left: none; border-top: 1px solid var(--tb-smoke); padding-left: 0; padding-top: 2rem; justify-content: space-around; }
}
@media (max-width: 600px) {
  .tb-archive-title { font-size: 4rem; }
  .tb-archive-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .tb-coming-soon-inner { flex-direction: column; gap: 0.5rem; }
}
@media (max-width: 400px) {
  .tb-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
