/* ============================================================
   MERCY RECORDS — Subpage & Multi-Page Shared Stylesheet
   Inherits all design tokens, reset, header, and footer from style.css
   Mobile-First • WCAG 2.2 AA Target • Brutalist Editorial Aesthetics
   ============================================================ */

/* ─── Skip to Main Content Link ─── */
.skip-link {
  position: fixed;
  top: -999px;
  left: 20px;
  background: var(--gold, #FFB000);
  color: #121212;
  font-family: var(--mono, 'IBM Plex Mono', monospace);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  text-decoration: none;
  z-index: 999999;
  outline: 2px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  transition: top 0.2s ease-in-out;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 20px;
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── Breadcrumb Navigation ─── */
.breadcrumb-nav {
  padding: 100px var(--pad-x) 20px;
  background: var(--bg);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb-list a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: var(--gold);
}

.breadcrumb-separator {
  color: var(--line);
  user-select: none;
}

.breadcrumb-current {
  color: var(--gold);
}

/* ─── Subpage Hero ─── */
.subpage-hero {
  padding: 20px var(--pad-x) 60px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.subpage-hero-content {
  max-width: 760px;
}

.subpage-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.subpage-title {
  font-family: var(--display);
  font-size: clamp(54px, 11vw, 130px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.subpage-lead {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 680px;
}

.subpage-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.subpage-hero-media {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.subpage-hero-media:hover img {
  transform: scale(1.02);
}

/* ─── Deliverables Section ─── */
.subpage-section {
  padding: 80px var(--pad-x);
  border-bottom: 1px solid var(--line);
}

.section-header-block {
  margin-bottom: 48px;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.deliverable-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.deliverable-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.deliverable-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.deliverable-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.deliverable-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.deliverable-items {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.deliverable-items li {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.deliverable-items li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
}

/* ─── Workflow Process Timeline ─── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
}

.process-step {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 32px 24px;
  position: relative;
}

.step-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.15em;
}

.step-title {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── FAQ Accordion ─── */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-summary {
  padding: 24px 28px;
  font-family: var(--body);
  font-weight: 600;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-summary:hover {
  color: var(--gold);
  background: rgba(255, 176, 0, 0.03);
}

.faq-summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  background: rgba(255, 176, 0, 0.04);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--gold);
  transition: transform 0.25s ease;
}

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

.faq-content {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid rgba(228, 228, 228, 0.06);
  padding-top: 16px;
}

/* ─── Related Services ─── */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.related-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.related-title {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}

.related-arrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  margin-top: 16px;
  letter-spacing: 0.12em;
}

/* ─── Contextual CTA Banner ─── */
.subpage-cta-banner {
  background: var(--gold);
  color: var(--black);
  padding: 60px var(--pad-x);
  text-align: center;
}

.subpage-cta-banner .cta-title {
  font-family: var(--display);
  font-size: clamp(38px, 8vw, 90px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 16px;
}

.subpage-cta-banner .cta-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(0, 0, 0, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

.subpage-cta-banner .cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* ─── Responsive Breakpoints ─── */
@media (min-width: 768px) {
  .breadcrumb-nav {
    padding-top: 110px;
  }
  .subpage-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .deliverables-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─── Academy Specific Components (Stage 02B-2B) ─── */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.course-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.course-card.featured {
  border-color: rgba(255, 176, 0, 0.4);
}

.course-header {
  margin-bottom: 20px;
}

.course-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 14px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
}

.meta-pill {
  padding: 4px 10px;
  background: rgba(228, 228, 228, 0.05);
  border: 1px solid var(--line);
  color: var(--ink);
}

.meta-pill.accent {
  background: rgba(255, 176, 0, 0.1);
  border-color: rgba(255, 176, 0, 0.3);
  color: var(--gold);
}

.course-pricing {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-current {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1;
  color: var(--white);
}

.price-regular {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-emi {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ─── Mentors Grid ─── */
.mentors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.mentor-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.mentor-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.mentor-media {
  background: #0f0f0f;
  aspect-ratio: 460/500;
  max-height: 420px;
  overflow: hidden;
}

.mentor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.mentor-card:hover .mentor-media img {
  transform: scale(1.03);
}

.mentor-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mentor-name {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}

.mentor-badge {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.mentor-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── Schedule & Fee Cards ─── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.schedule-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 32px 28px;
}

/* ─── Bonuses Grid ─── */
.bonuses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.bonus-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.2s ease;
}

.bonus-card:hover {
  border-color: var(--gold);
}

.bonus-val {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.bonus-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.bonus-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.bonus-banner {
  background: rgba(255, 176, 0, 0.08);
  border: 1px solid rgba(255, 176, 0, 0.3);
  padding: 24px 28px;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ─── Curriculum Syllabus List ─── */
.syllabus-block {
  margin-bottom: 36px;
}

.syllabus-block:last-child {
  margin-bottom: 0;
}

.syllabus-heading {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.syllabus-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.session-item {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease;
}

.session-item:hover {
  border-color: rgba(255, 176, 0, 0.4);
}

.session-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.session-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.session-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
}

.session-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── Responsive Adjustments for Academy ─── */
@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mentors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bonuses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .syllabus-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bonuses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Universal Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
