/* FAQ: the headline and the Storefront drawing on the left; on the right five questions in soft rounded cards
   that open in place (details and summary). js/faq.js gives the opening an animated expand (owner, 06.11);
   without it they open at once. The plus is two strokes in a round white button; its upright stroke turns
   onto the other while the answer is open, leaving a minus. Hover changes colour only. On phones the drawing
   moves under the questions. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 88px); align-items: start; }
.faq-art { display: block; width: min(440px, 100%); height: auto; margin-top: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid transparent; transition: border-color var(--hover) ease; }
.faq-item:hover { border-color: var(--accent); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 20px 20px 28px;
  border-radius: var(--radius-lg);
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--pill);
  background: var(--white);
  color: var(--fg);
  transition: background-color var(--hover) ease, color var(--hover) ease;
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item summary:hover .faq-icon { background: var(--press); color: var(--on-press); }
/* the plus's upright stroke turns a quarter round onto the other one, leaving a minus, while the answer is open */
.faq-v { transform-box: fill-box; transform-origin: center; transition: transform 360ms var(--ease-out); }
.faq-item[open]:not(.is-closing) .faq-v { transform: rotate(90deg); }
/* while it grows or shrinks (js/faq.js) the card clips its answer */
.faq-item.is-moving { overflow: hidden; }
.faq-item p { max-width: 720px; padding: 0 28px 26px; color: var(--fg-soft); text-wrap: pretty; }
.faq-q { text-wrap: balance; }

/* wide screens: the drawing shown without its file's empty margin, its ink lined up under the heading's left edge */
@media (min-width: 961px) { .faq-art { aspect-ratio: 1.8; object-fit: cover; translate: -4.9% 0; } }
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { display: contents; }
  .faq-list { order: 1; }
  .faq-art { order: 2; max-width: 420px; margin: 8px auto 0; }
}
@media (max-width: 640px) {
  .faq-item summary { padding: 16px 14px 16px 20px; font-size: 17px; }
  .faq-item p { padding: 0 20px 22px; }
}
