/* Aweh FAQ (bn/faq.css): full-bleed brand band with layered wave edges,
   glass question rows, button + aria-expanded accordion.
   Printed once in place by the first FAQ element on a page (partials/faq.php). */
.faqband {
  --faq-ink: #fbf5ee;
  --faq-soft: rgba(251, 245, 238, 0.86);
  --faq-line: rgba(251, 245, 238, 0.14);
  --faq-ring: rgba(251, 245, 238, 0.42);
  --faq-gold: #dcbb78;
  --faq-ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --faq-edge: var(--background, #fffdf9);
  --wave-h: clamp(56px, 8vw, 128px);

  position: relative;
  isolation: isolate;
  color: var(--faq-ink);
  padding-block: calc(var(--wave-h) + clamp(16px, 3vw, 36px));
  background:
    radial-gradient(55% 45% at 82% 28%, rgba(220, 187, 120, 0.16), transparent 70%),
    radial-gradient(60% 55% at 8% 88%, rgba(160, 98, 64, 0.38), transparent 72%),
    linear-gradient(165deg, #3f1718 0%, #5e2a27 38%, #74402f 72%, #8a5a41 100%);
}
/* On product pages the band sits inside the page column: break it out to full width. */
.faqband--bleed { margin-inline: calc(50% - 50vw); margin-block: clamp(24px, 4vw, 56px); }
main:has(.faqband--bleed) { overflow-x: clip; }

/* Wave edges: front layer is the page colour, rear layers translucent and drifting. */
.faqband__wave {
  position: absolute; left: 0; z-index: -1;
  display: block; width: 100%; height: var(--wave-h);
  color: var(--faq-edge); fill: currentColor;
  pointer-events: none;
}
.faqband__wave--top { top: -1px; }
.faqband__wave--bottom { bottom: -1px; transform: rotate(180deg); }
.faqband__l1 { opacity: 1; }
.faqband__l2 { opacity: 0.5; animation: faqDriftB 56s linear infinite; }
.faqband__l3 { opacity: 0.24; animation: faqDriftA 38s linear infinite; }
@keyframes faqDriftA { from { transform: translateX(0); } to { transform: translateX(-720px); } }
@keyframes faqDriftB { from { transform: translateX(-960px); } to { transform: translateX(0); } }

.faqband > .shell { position: relative; }
.faqband__head { max-width: 42ch; margin: 0 auto clamp(22px, 3vw, 34px); text-align: center; }
.faqband__eyebrow { color: var(--faq-gold); }
.faqband__head h2 {
  margin-top: 10px;
  color: var(--faq-ink);
  font-family: var(--font-display, inherit);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  line-height: 1;
}
.faqband__more { margin: clamp(22px, 3vw, 32px) 0 0; text-align: center; }
.faqband__more a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--faq-ring); border-radius: 999px;
  background: rgba(251, 245, 238, 0.06);
  color: var(--faq-ink); font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.faqband__more a:hover { border-color: var(--faq-gold); color: var(--faq-gold); background: rgba(251, 245, 238, 0.1); }
.faqband__more a:focus-visible { outline: 2px solid var(--faq-gold); outline-offset: 3px; }

/* /faqs/: group headings sit on the band too. */
.faqband--page .faqgroup { padding-block: clamp(20px, 3vw, 36px); scroll-margin-top: 110px; }
.faqband--page .faqgroup__head { max-width: 62ch; margin-bottom: 16px; }
.faqband--page .faqgroup__head h2 { color: var(--faq-ink); }
.faqband--page .faqgroup__lede { color: var(--faq-soft); }
.faqband--page .faqacc { max-width: none; }

/* Glass question rows */
.faqacc { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; color: var(--faq-ink, #fbf5ee); }
.faqacc__item {
  border: 1px solid var(--faq-line, rgba(251, 245, 238, 0.14));
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(251, 245, 238, 0.085), rgba(251, 245, 238, 0.035));
  box-shadow: inset 0 1px 0 rgba(251, 245, 238, 0.08), 0 8px 24px -18px rgba(20, 6, 6, 0.6);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--faq-ease, ease);
}
.faqacc__item:hover { border-color: rgba(251, 245, 238, 0.26); background-color: rgba(251, 245, 238, 0.04); transform: translateY(-1px); }
.faqacc__item:has(.faqacc__btn[aria-expanded="true"]) { border-color: rgba(220, 187, 120, 0.45); background-color: rgba(251, 245, 238, 0.05); }
.faqacc__h { margin: 0; font: inherit; }

.faqacc__btn {
  -webkit-appearance: none; appearance: none;
  display: flex; align-items: center; gap: 16px;
  width: 100%; min-height: 64px; padding: 12px 18px 12px 14px;
  background: none; border: 0; border-radius: 18px; box-shadow: none;
  color: var(--faq-ink, #fbf5ee);
  font-family: inherit; font-size: 1.0625rem; font-weight: 600; line-height: 1.35;
  letter-spacing: normal; text-transform: none; text-align: left;
  cursor: pointer;
}
.faqacc__btn:focus-visible { outline: 2px solid var(--faq-gold, #dcbb78); outline-offset: 2px; }

.faqacc__ico {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--faq-ring, rgba(251, 245, 238, 0.42)); border-radius: 50%;
  background: rgba(251, 245, 238, 0.05);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.faqacc__ico svg { width: 19px; height: 19px; }
.faqacc__q { flex: 1 1 auto; min-width: 0; }
.faqacc__chev { flex: 0 0 20px; width: 20px; height: 20px; transition: transform 0.3s var(--faq-ease, ease); }
.faqacc__chev svg { width: 20px; height: 20px; display: block; }
.faqacc__btn[aria-expanded="true"] .faqacc__chev { transform: rotate(180deg); }
.faqacc__btn:hover .faqacc__ico,
.faqacc__btn[aria-expanded="true"] .faqacc__ico { border-color: var(--faq-gold, #dcbb78); color: var(--faq-gold, #dcbb78); }

/* Panels: open without JS; collapsed once the list is marked ready.
   Height via grid rows 0fr -> 1fr; visibility keeps closed links out of tab order. */
.faqacc__panel { display: grid; grid-template-rows: 1fr; }
.faqacc.is-ready .faqacc__panel {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows 0.38s var(--faq-ease, ease), visibility 0s linear 0.38s;
}
.faqacc.is-ready .faqacc__panel.is-open {
  grid-template-rows: 1fr; visibility: visible;
  transition: grid-template-rows 0.38s var(--faq-ease, ease), visibility 0s;
}
.faqacc__inner { overflow: hidden; min-height: 0; }
.faqacc__a {
  max-width: 68ch; padding: 0 18px 22px 70px;
  color: var(--faq-soft, rgba(251, 245, 238, 0.86)); font-size: 0.975rem; line-height: 1.7;
}
.faqacc__a p { margin: 0 0 0.8em; }
.faqacc__a p:last-child { margin-bottom: 0; }
.faqacc__a p:first-child { color: var(--faq-ink, #fbf5ee); }
.faqacc__a a {
  color: var(--faq-ink, #fbf5ee); text-decoration: underline;
  text-decoration-color: var(--faq-gold, #dcbb78); text-underline-offset: 3px;
}
.faqacc__a a:hover { color: var(--faq-gold, #dcbb78); }
.faqacc__a a:focus-visible { outline: 2px solid var(--faq-gold, #dcbb78); outline-offset: 2px; }

@media (max-width: 600px) {
  .faqband { --wave-h: 48px; }
  .faqacc { gap: 8px; }
  .faqacc__item, .faqacc__btn { border-radius: 14px; }
  .faqacc__btn { gap: 12px; min-height: 58px; padding: 10px 12px; font-size: 1rem; }
  .faqacc__ico { flex-basis: 34px; width: 34px; height: 34px; }
  .faqacc__ico svg { width: 17px; height: 17px; }
  .faqacc__a { padding: 0 14px 18px; font-size: 0.9375rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faqband__l2, .faqband__l3 { animation: none; }
  .faqacc.is-ready .faqacc__panel,
  .faqacc.is-ready .faqacc__panel.is-open,
  .faqacc__item, .faqacc__chev, .faqacc__ico, .faqband__more a { transition: none; }
  .faqacc__item:hover { transform: none; }
}

@media print {
  .faqband__wave { display: none; }
  .faqacc.is-ready .faqacc__panel { grid-template-rows: 1fr; visibility: visible; }
}