
:root {
  --bg: #0c0e14;
  --surface: #131722;
  --surface-elev: #191f2e;
  --text: #f4ede1;
  --muted: #b2aa9e;
  --gold: #d8b268;
  --gold-hover: #e8c67e;
  --gold-soft: rgba(216, 178, 104, 0.14);
  --gold-line: rgba(216, 178, 104, 0.34);
  --border: rgba(244, 237, 225, 0.12);
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: #0c0e14; font-weight: 700;
  padding: 8px 16px; border-radius: 10px;
}
.skip-link:focus { left: 16px; z-index: 100; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.prose-wrap { max-width: 780px; }
.prose-wrap p, .prose-wrap li { max-width: 68ch; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 16px;
  text-wrap: balance;
}
h1 { font-size: 52px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 36px; font-weight: 700; margin-top: 48px; }
h2 em, h1 em, .brand-text em, .footer-title em { color: var(--gold); font-style: italic; font-weight: 600; }
h3 { font-size: 24px; font-weight: 600; margin-top: 32px; color: var(--gold); }
p { margin: 0 0 16px; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-hover); }

.site-header {
  background: rgba(12, 14, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
}
.brand-crest {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface-elev); border: 1.5px solid var(--gold);
  color: var(--gold); font-family: var(--font-display); font-size: 14px; font-weight: 700;
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600;
  padding: 8px 0; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--gold-line);
  border-radius: 10px; padding: 8px 14px; font-size: 14px; font-weight: 600;
  color: var(--text); cursor: pointer;
}

.sanctuary-hero, .page-hero { position: relative; overflow: hidden; }
.sanctuary-hero { padding: 36px 0 56px; }
.page-hero { padding: 56px 0 40px; }
.hero-backdrop {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hero-backdrop-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  opacity: 0.42; filter: saturate(1.05) contrast(1.04);
}
.hero-backdrop-soft .hero-backdrop-img { opacity: 0.26; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(12, 14, 20, 0.22) 0%, rgba(12, 14, 20, 0.82) 68%, #0c0e14 100%),
    linear-gradient(180deg, rgba(12, 14, 20, 0.45) 0%, rgba(12, 14, 20, 0.6) 65%, #0c0e14 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-header { max-width: 740px; margin: 0 auto 24px; text-align: center; }
.hero-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.hero-sub { font-size: 16px; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.page-hero .hero-sub { margin: 0; }

.cathedral-stage {
  background: rgba(19, 23, 34, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(216, 178, 104, 0.2);
  max-width: 920px;
  margin: 0 auto;
}

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--gold); color: #0c0e14; border: 1px solid var(--gold); }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: #0c0e14; transform: translateY(-1px); }
.btn-primary:active, .btn-ghost:active { transform: scale(0.98); }
.btn-primary:focus-visible, .btn-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.btn-ghost { background: rgba(25, 31, 46, 0.8); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-like[data-gf-liked] { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.page-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.engage-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 920px; margin: 16px auto 0; padding: 12px 18px;
  background: rgba(19, 23, 34, 0.78); border: 1px solid var(--border); border-radius: var(--radius);
}
.engage-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.engage-label { font-size: 13px; color: var(--muted); }
.share-msg { font-size: 13px; color: var(--gold); font-weight: 600; }

.gallery-section { padding: 64px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head h2 { margin-top: 0; }
.section-lead { color: var(--muted); font-size: 16px; margin: 0; }

.arcana-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
}
.arcana-card {
  appearance: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; text-align: left; cursor: pointer;
  color: var(--text); transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.arcana-card:hover { transform: translateY(-4px); border-color: var(--gold-line); box-shadow: var(--shadow-sm); }
.arcana-card.is-selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-md); }
.arcana-art-wrap {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 8px; background: #0c0e14;
}
.arcana-art-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.arcana-card:hover .arcana-art-wrap img { transform: scale(1.04); }
.arcana-roman {
  position: absolute; top: 8px; left: 8px; font-family: var(--font-display);
  font-size: 12px; font-weight: 700; color: var(--gold);
  background: rgba(12, 14, 20, 0.82); border: 1px solid var(--gold-line);
  padding: 2px 7px; border-radius: 6px;
}
.arcana-meta { padding: 10px 4px 4px; }
.arcana-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.15; color: var(--text); }
.arcana-pair { font-size: 12px; color: var(--muted); margin-top: 2px; }

.arcana-drawer {
  margin-top: 24px; display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--gold-line); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow-md);
}
.arcana-drawer-art img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--gold-line);
}
.drawer-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.drawer-desc { color: var(--text); font-size: 16px; max-width: 62ch; }
.drawer-cost-box {
  background: var(--surface-elev); border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0;
}
.drawer-cost-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.drawer-cost-box p { margin: 0; font-size: 14px; color: var(--muted); }

.editorial-cards-section { padding: 32px 0 16px; }
.editorial-stack { display: flex; flex-direction: column; gap: 32px; }
.editorial-feature {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.editorial-feature:nth-child(even) { grid-template-columns: 1fr 240px; }
.editorial-feature:nth-child(even) .editorial-art { order: 2; }
.editorial-art img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--gold-line);
}
.editorial-copy h2 { margin-top: 0; font-size: 32px; }
.editorial-lead { color: var(--text); font-size: 16px; margin-bottom: 16px; }
.editorial-traits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trait-box { background: var(--surface-elev); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; }
.trait-k { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 4px; }
.trait-box p { margin: 0; font-size: 14px; color: var(--muted); }

.content-section { padding: 56px 0; border-top: 1px solid var(--border); }
.prose-wrap ul, .prose-wrap ol { padding-left: 22px; margin: 0 0 24px; }
.prose-wrap li { margin-bottom: 8px; }
.prose-wrap table {
  width: 100%; border-collapse: collapse; margin: 24px 0 32px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; font-size: 14px;
}
.prose-wrap th, .prose-wrap td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.prose-wrap th { background: var(--surface-elev); font-weight: 700; color: var(--gold); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.faq-section { padding: 56px 0; border-top: 1px solid var(--border); }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; }
.faq-item summary {
  font-family: var(--font-display); font-size: 21px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold); font-family: var(--font-body); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { margin-top: 12px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

.related-section { padding: 56px 0; border-top: 1px solid var(--border); }
.related-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 24px; }
.related-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--text); }
.related-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px; }
.related-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.related-desc { font-size: 14px; color: var(--muted); margin: 0; }

.comments-section { padding: 56px 0 72px; border-top: 1px solid var(--border); }
.comments-intro { color: var(--muted); margin-bottom: 24px; }
.comment-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.form-row { margin-bottom: 12px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 15px;
  color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
}
.form-actions { display: flex; align-items: center; gap: 16px; }
.comment-msg { font-size: 14px; color: var(--gold); font-weight: 600; }
.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comments-empty { display: none; color: var(--muted); font-size: 14px; }
[data-gf-comments][data-gf-empty] .comments-empty { display: block; }
.comment-card, .reply-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; }
.comment-replies { margin-top: 12px; padding-left: 16px; border-left: 2px solid var(--gold-line); display: flex; flex-direction: column; gap: 12px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.comment-meta strong { color: var(--text); }
.owner-badge { display: none; font-size: 12px; font-weight: 700; background: var(--gold); color: #0c0e14; padding: 2px 8px; border-radius: 99px; }
[data-gf-owner] .owner-badge { display: inline-block; }
.link-btn { background: none; border: none; color: var(--gold); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; }
.reply-banner { font-size: 13px; color: var(--muted); margin-bottom: 12px; display: flex; gap: 12px; align-items: center; }

.site-footer { background: #090b10; border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 32px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.footer-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.footer-tagline { font-size: 14px; color: var(--muted); margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; font-size: 12px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.legal-meta { font-size: 14px; color: var(--muted); }
.not-found { padding: 72px 0; }

@media (max-width: 960px) {
  .arcana-grid { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .sanctuary-hero { padding: 20px 0 36px; }
  .cathedral-stage { padding: 18px 16px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 16px; gap: 8px;
  }
  .site-nav.is-open { display: flex; }
  .arcana-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .arcana-drawer, .editorial-feature, .editorial-feature:nth-child(even) { grid-template-columns: 1fr; }
  .editorial-feature:nth-child(even) .editorial-art { order: 0; }
  .arcana-drawer-art img, .editorial-art img { max-width: 240px; margin: 0 auto; }
  .editorial-traits { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; }
  .engage-bar { flex-direction: column; align-items: stretch; }
  .engage-right .btn-sm { width: auto; }
  .prose-wrap table { display: block; overflow-x: auto; }
}


.hero-split {
  display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center;
  max-width: 920px; margin: 0 auto 24px;
}
.hero-split .hero-header { margin: 0; text-align: left; }
.hero-split .hero-sub { margin: 0; }
.hero-fan { position: relative; height: 148px; width: 210px; margin-left: auto; }
.fan-card {
  position: absolute; top: 8px; width: 88px; aspect-ratio: 2 / 3;
  border-radius: 8px; overflow: hidden; border: 1.5px solid var(--gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65); background: #0c0e14;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; }
.fan-l { left: 10px; transform: rotate(-10deg) translateY(6px); opacity: 0.88; z-index: 1; }
.fan-c { left: 60px; transform: translateY(-2px); z-index: 3; box-shadow: 0 14px 32px rgba(0,0,0,0.75), 0 0 24px rgba(216,178,104,0.22); }
.fan-r { left: 112px; transform: rotate(10deg) translateY(6px); opacity: 0.88; z-index: 2; }

.bands-section { padding: 56px 0; border-top: 1px solid var(--border); }
.bands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.band-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
}
.band-range { font-size: 13px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.band-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.band-meter { height: 6px; background: rgba(244,237,225,0.08); border-radius: 99px; overflow: hidden; margin-bottom: 12px; }
.band-meter span { display: block; height: 100%; border-radius: 99px; }
.band-desc { font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .bands-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hero-split .hero-header { text-align: center; }
  .hero-split .hero-sub { margin: 0 auto; }
  .hero-fan { margin: 0 auto; height: 124px; width: 190px; }
  .fan-card { width: 74px; }
  .fan-l { left: 14px; } .fan-c { left: 58px; } .fan-r { left: 102px; }
}
@media (max-width: 640px) {
  .bands-grid { grid-template-columns: 1fr; }
}

/* V3.1 MOBILE ABOVE-THE-FOLD */
@media (max-width: 640px) {
  .sanctuary-hero { padding: 14px 0 36px; }
  .hero-split { gap: 10px; margin-bottom: 14px; }
  .hero-kicker { font-size: 12px; margin-bottom: 6px; }
  .sanctuary-hero h1 { font-size: 32px; line-height: 1.08; margin-bottom: 6px; }
  .hero-sub { font-size: 14px; line-height: 1.45; }
  .hero-fan { height: 86px; width: 150px; }
  .fan-card { width: 54px; top: 4px; border-radius: 6px; }
  .fan-l { left: 10px; } .fan-c { left: 48px; } .fan-r { left: 86px; }
  .cathedral-stage { padding: 18px 14px; border-radius: 16px; }
}

/* QUICK ANSWER BOX */
.quick-answer-box {
  margin: 18px 0 22px; padding: 16px 20px; border-radius: 14px;
  background: rgba(19, 23, 34, 0.88); border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
}
.quick-answer-k {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.quick-answer-box p {
  margin: 0; font-size: 16px; line-height: 1.65; color: var(--text);
}
