/* ============================================
   COLLECTING GUIDE PAGE
   The Complete Guide to Contemporary Fine Art Collecting
   ============================================ */

/* ---- Hero ---- */
.guide-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--text-primary);
  padding-top: 80px;
}

.guide-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 100%),
    url('https://images.squarespace-cdn.com/content/v1/5fdbe3e1bfbfd77e8d65d2a8/1608347237148-5W2F7XZSEQA0X75MZZJ8/aZ1004545.jpeg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.45;
}

.guide-hero .container {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}

.guide-hero-content {
  max-width: 740px;
}

.guide-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 1rem 0 1.5rem;
}

.guide-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.guide-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.guide-hero-meta {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.guide-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.guide-hero-meta-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.guide-hero-meta-value {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

/* ---- Table of Contents ---- */
.guide-toc-section {
  padding: 3.5rem 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.guide-toc-inner {
  max-width: 900px;
  margin: 0 auto;
}

.guide-toc-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.guide-toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-toc-list li {
  border-bottom: 1px solid var(--border);
}

.guide-toc-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.guide-toc-list a:hover {
  color: var(--text-primary);
}

.guide-toc-num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--border-dark);
  min-width: 1.75rem;
}

/* ---- Chapter Sections ---- */
.guide-chapter {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}

.guide-chapter:last-of-type {
  border-bottom: none;
}

.guide-chapter-even {
  background: var(--off-white);
}

.guide-chapter-inner {
  max-width: 900px;
  margin: 0 auto;
}

.guide-chapter-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.guide-chapter-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.guide-chapter-body p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.guide-chapter-body p:last-child {
  margin-bottom: 0;
}

.guide-lead {
  font-family: var(--font-serif) !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: var(--text-primary) !important;
  line-height: 1.65 !important;
  margin-bottom: 1.5rem !important;
}

/* ---- Highlight Box ---- */
.guide-highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-primary);
  padding: 2rem 2.25rem;
  margin: 2rem 0;
}

.guide-chapter-even .guide-highlight {
  background: var(--white);
}

.guide-highlight h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.guide-highlight p {
  font-family: var(--font-sans);
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin: 0;
}

.guide-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.guide-highlight ul li {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.guide-highlight ul li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ---- Stats Row ---- */
.guide-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-stat-item {
  text-align: center;
}

.guide-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.guide-stat-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- Case Study (Tyler Shields) ---- */
.guide-case-study {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin: 2.5rem 0 0;
}

.guide-case-study-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  background: var(--text-primary);
  color: var(--white);
  margin-bottom: 1.25rem;
}

.guide-case-study h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.guide-case-study p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1rem;
}

.guide-case-study p:last-child {
  margin-bottom: 0;
}

.guide-case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---- FAQ Accordion ---- */
.guide-faq-section {
  padding: 5.5rem 0;
  background: var(--off-white);
}

.guide-faq-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.guide-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.guide-faq-item {
  border-bottom: 1px solid var(--border);
}

.guide-faq-item:first-child {
  border-top: 1px solid var(--border);
}

.guide-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.guide-faq-question h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}

.guide-faq-icon {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease;
  width: 1.5rem;
  text-align: center;
}

.guide-faq-item.open .guide-faq-icon {
  transform: rotate(45deg);
}

.guide-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.guide-faq-item.open .guide-faq-answer {
  max-height: 600px;
}

.guide-faq-answer-inner {
  padding: 0 0 1.75rem;
}

.guide-faq-answer-inner p {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin: 0;
}

/* ---- CTA Section ---- */
.guide-cta-section {
  padding: 7rem 0;
  background: var(--text-primary);
}

.guide-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.guide-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin: 1rem 0 1.5rem;
}

.guide-cta-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.guide-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
}

.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}

/* ---- Resources grid ---- */
.guide-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 0;
}

.guide-resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.guide-resource-card:hover {
  border-color: var(--text-primary);
}

.guide-resource-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.guide-resource-card p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
}

.guide-resource-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.guide-resource-link::after {
  content: '\2192';
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .guide-toc-list {
    grid-template-columns: 1fr;
  }

  .guide-stats-row,
  .guide-case-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .guide-resources-grid {
    grid-template-columns: 1fr;
  }

  .guide-chapter {
    padding: 4rem 0;
  }
}

@media (max-width: 600px) {
  .guide-hero-title {
    font-size: 2.5rem;
  }

  .guide-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-hero-meta {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .guide-chapter {
    padding: 3rem 0;
  }

  .guide-chapter-num {
    font-size: 2.5rem;
  }

  .guide-stats-row,
  .guide-case-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }

  .guide-stat-number {
    font-size: 1.5rem;
  }

  .guide-case-study {
    padding: 1.75rem;
  }

  .guide-highlight {
    padding: 1.5rem;
  }

  .guide-faq-question h4 {
    font-size: 1rem;
  }

  .guide-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .guide-resources-grid {
    grid-template-columns: 1fr;
  }
}
