/* =========================================================================
   FAQs — inner page
   Header/footer/hero-frame/consult are the shared components (folds.css,
   vbs.css) — same vbs-hero as the other inner pages. The live page's flat
   list of 12 questions is regrouped here into three real topics with jump
   chips, each question a native <details> accordion with a large ghost
   serial number behind it — the site's first true accordion (the FAQ
   section on demo-class.html is deliberately NOT one, see that file), so
   this page reads as its own thing rather than a repeat of another page's
   FAQ treatment.
   ========================================================================= */

.fq-h {
  margin: 0.5rem 0 0;
  font-family: var(--font-poster);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.fq { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) clamp(4.5rem, 8vw, 6rem); background: var(--void); }
.fq-head { max-width: var(--page); margin: 0 auto clamp(2rem, 4vw, 2.75rem); text-align: center; }
.fq-head .numbers-tag { display: inline-flex; width: fit-content; margin: 0 auto 0.5rem; }

/* --- jump chips: real category names, anchor-linked, no JS needed ---------- */
.fq-jump {
  max-width: 40rem;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.fq-jump a {
  padding: 0.6em 1.2em;
  border-radius: var(--r-pill);
  border: var(--hair) solid rgba(var(--white-rgb), 0.18);
  background: rgba(var(--white-rgb), 0.03);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-mid);
  text-decoration: none;
  transition: border-color var(--t-1) var(--ease), color var(--t-1) var(--ease);
}
.fq-jump a:hover { border-color: rgba(var(--gold-rgb), 0.5); color: var(--ink); }

/* --- topic groups ------------------------------------------------------------ */
.fq-group { max-width: 52rem; margin: 0 auto; padding-top: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: 6rem; }
.fq-group:first-of-type { padding-top: 0; }
.fq-group-k {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fq-group-k::before { content: ''; width: 1.6rem; height: 2px; border-radius: 2px; }
.fq-group-k--gold { color: var(--gold); }
.fq-group-k--gold::before { background: var(--gold); }
.fq-group-k--red { color: var(--brand-lit); }
.fq-group-k--red::before { background: var(--brand-lit); }

/* --- the accordion: a ghost serial number behind each question -------------- */
.fq-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.fq-item {
  position: relative;
  border-radius: var(--r-md);
  border: var(--hair) solid rgba(var(--white-rgb), 0.14);
  background: rgba(var(--white-rgb), 0.02);
  overflow: hidden;
  transition: border-color var(--t-1) var(--ease);
}
.fq-item:has(details[open]) { border-color: rgba(var(--gold-rgb), 0.4); }
.fq-item details > summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.75rem);
  cursor: pointer;
  list-style: none;
}
.fq-item summary::-webkit-details-marker { display: none; }
.fq-no {
  flex: none;
  font-family: var(--font-poster);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1;
  color: rgba(var(--white-rgb), 0.14);
  transition: color var(--t-1) var(--ease);
}
.fq-item details[open] .fq-no { color: rgba(var(--gold-rgb), 0.55); }
.fq-q { flex: 1 1 auto; font-size: var(--fs-body); font-weight: 600; line-height: 1.4; color: var(--ink); }
.fq-marker {
  flex: none;
  position: relative;
  width: 1.2rem; height: 1.2rem;
}
.fq-marker::before, .fq-marker::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-mid);
  transform: translate(-50%, -50%);
  transition: transform var(--t-1) var(--ease), background-color var(--t-1) var(--ease);
}
.fq-marker::before { width: 1.1rem; height: 2px; }
.fq-marker::after { width: 2px; height: 1.1rem; }
.fq-item details[open] .fq-marker::after { transform: translate(-50%, -50%) rotate(90deg); }
.fq-item details[open] .fq-marker::before, .fq-item details[open] .fq-marker::after { background: var(--gold); }
.fq-a {
  margin: 0;
  padding: 0 clamp(1.25rem, 2.4vw, 1.75rem) clamp(1.25rem, 2.4vw, 1.6rem) calc(clamp(1.6rem, 3vw, 2.1rem) + clamp(0.75rem, 2vw, 1.25rem) + clamp(1.25rem, 2.4vw, 1.75rem));
  max-width: 60ch;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-mid);
}

@media (max-width: 640px) {
  .fq-a { padding-left: clamp(1.25rem, 2.4vw, 1.75rem); }
}

@media (prefers-reduced-motion: reduce) {
  .fq-item, .fq-no, .fq-marker::before, .fq-marker::after, .fq-jump a { transition: none; }
}
