/* faq.css: the FAQ page's parts (src\pages\faq.mjs), the director's. Only the tokens of design\system.css. */

/* ---------- the header: a still real photo, the search and the topics ---------- */
.fqh { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: max(620px, min(780px, 92svh)); padding: 120px 0 72px; box-sizing: border-box; text-align: center; }
.fqh__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.fqh__media img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 38% 50%; filter: brightness(0.5) saturate(0.78); }
.fqh__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 58% at 50% 52%, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.3) 78%), linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 76%, #000 100%); }
.fqh__in { display: grid; justify-items: center; gap: 18px; }
.fqh .crumbs { margin-bottom: 4px; }
.fqh h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.028em; }
.fqh__line { color: var(--c-paper); opacity: 0.86; font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem); }
.fqh__search { position: relative; width: min(100%, 620px); margin-top: 14px; }
.fqh__search input { width: 100%; box-sizing: border-box; min-height: 60px; padding: 0 22px 0 56px; border-radius: 14px; border: 1px solid var(--c-hair-strong); background: rgba(4, 7, 10, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--c-paper); font: 400 1.08rem/1.2 var(--font-text); box-shadow: var(--shadow-m); }
.fqh__search input::placeholder { color: var(--c-text-faint); }
.fqh__search input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.2), var(--shadow-m); }
.fqh__glass { position: absolute; z-index: 1; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); fill: none; stroke: var(--c-brand); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.fqh__topics ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.fqh__topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--c-hair); background: rgba(4, 7, 10, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--c-paper); font: 500 0.95rem/1.2 var(--font-ui); text-decoration: none; transition: border-color var(--dur-fast), background var(--dur-fast); }
.fqh__topics a:hover { border-color: var(--c-brand); background: rgba(0, 200, 255, 0.12); }
@media (max-width: 760px) { .fqh { min-height: 0; padding: 104px 0 56px; } .fqh__topics a { min-height: 42px; padding: 0 13px; font-size: 0.9rem; } }

/* ---------- the questions, by topic ---------- */
.fqa__in { max-width: 900px; }
.fqa__group { scroll-margin-top: 96px; margin-top: clamp(32px, 4vw, 48px); }
.fqa__group:first-of-type { margin-top: 0; }
.fqa__topic { margin-bottom: 10px; color: var(--c-paper); font: 600 clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem)/1.3 var(--font-display); }
.fqa__none { margin-top: var(--space-5); color: var(--c-text-soft); }

/* ---------- the close: the lit year's ring ---------- */
.fqc { overflow: hidden; background: radial-gradient(50% 70% at 28% 50%, rgba(0, 200, 255, 0.1), rgba(0, 200, 255, 0) 70%), var(--c-ground); }
.fqc__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.fqc__ring { position: relative; width: clamp(240px, 26vw, 360px); aspect-ratio: 1; }
.fqc__ticks { position: absolute; inset: 0; width: 100%; height: 100%; }
.fqc__ticks line { stroke: var(--c-brand); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(0, 200, 255, 0.55)); }
.fqc__mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--c-paper); font: 600 clamp(1.15rem, 1rem + 0.6vw, 1.5rem)/1.2 var(--font-display); letter-spacing: -0.01em; }
.fqc__mid span:last-child { color: var(--c-brand); }
.fqc__words { display: grid; gap: var(--space-4); justify-items: start; }
.fqc__words .lede { max-width: 44ch; }
.fqc__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 760px) {
  .fqc__in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .fqc__words { justify-items: center; }
  .fqc__acts { justify-content: center; }
  .fqc__acts .cta-block { justify-items: center; }
}
