/* site\assets\css\pages\faq.css: FAQ (src\pages\faq.mjs; the search's script is site\assets\js\pages\faq.js). Places
   and sizes its parts; the bands, frames, footage, the FAQ items, the doors and the picker are
   design\components.css's. */

/* ---------- hero: the headline, the search and the topics at the left; the owner reading over coffee, framed ---------- */
.fh__in { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.fh__words { display: grid; justify-items: start; gap: 1.2rem; }
.fh__title { font-size: var(--fs-h1); line-height: 1.04; }
.fh__line { font-size: var(--fs-lead); color: var(--c-on-ink-soft); }
.fh__search { width: min(100%, 520px); }
.fh__input { width: 100%; height: 56px; padding: 0 1.25rem; border: 1px solid var(--c-line-ink-strong); border-radius: 999px; background: var(--c-paper); color: var(--c-ink); font: 600 1rem/1 var(--font-ui); }
.fh__input::placeholder { color: var(--c-ink-soft); }
.fh__input:focus-visible { outline: 3px solid var(--c-accent-on-ink); outline-offset: 2px; }
.fh__topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.fh__topic { padding: .5rem .95rem; border: 1px solid var(--c-line-ink-strong); border-radius: 999px; background: transparent; color: var(--c-on-ink); font: 600 var(--fs-small)/1.3 var(--font-ui); cursor: pointer; }
.fh__topic:hover { background: var(--c-ink-tint-2); }
.fh__topic[aria-pressed="true"] { border-color: var(--c-paper); background: var(--c-paper); color: var(--c-ink); }
.fh__pic { position: relative; height: 520px; }
.fh__footage { inset: -1px; }
.fh__footage > video, .fh__footage > img { object-position: 52% 30%; }
.fh__stop { z-index: 6; }
@media (min-width: 1000px) { .fh__in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); } }
@media (max-width: 759px) { .fh__pic { height: 380px; } }

/* ---------- questions, by topic ---------- */
.fq__in { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); max-width: 900px; }
.fq__topic { display: grid; gap: 1rem; scroll-margin-top: calc(var(--header-h, 72px) + 24px); }
.fq__title { font-size: var(--fs-h3, 1.5rem); }
.fq__none { font-size: var(--fs-lead); color: var(--c-ink-soft); }

/* ---------- close: the words centered over the forest, then the call as a wide band, his plan in glass over the desk ---------- */
.fclose { padding-bottom: 0; }
.fclose__head { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.fclose__title { font-size: var(--fs-h2); line-height: 1.08; }
.fclose__line { font-size: var(--fs-lead); color: var(--c-on-ink-soft); }
.fclose__head .cta { align-items: center; }
.fclose__picker { width: min(100%, 560px); text-align: left; }
.fclose__ask { color: var(--c-brand-on-ink); }
.fclose__band { position: relative; height: clamp(460px, 40vw, 600px); margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.fclose__footage { inset: 0; }
.fclose__footage > img { object-position: 40% 0%; }
.fclose__stop { z-index: 6; }
.fclose .fclose__stage { top: 8%; left: 50%; width: min(280px, 32%); }
@media (max-width: 759px) {
  .fclose__band { height: auto; padding-top: 260px; }
  .fclose__footage { inset: 0 0 auto; height: 420px; }
  /* the phone's crop ends left of the water bottle on the table (a brand's name on it) */
  .fclose__footage > img { object-position: 0% 0%; }
  .fclose .fclose__stage { position: relative; inset: auto; width: auto; margin: 0 var(--gutter); min-height: 280px; }
}
