/* ============================================================
   AUREN STUDIO — FAQ
   Full-width editorial column. Answers on hover / tap.
   ============================================================ */

.faq {
  position: relative;
  z-index: 4;
  isolation: isolate;
  background: var(--c-black);
  color: var(--c-ivory);
  touch-action: pan-y;
}

.faq__inner {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(12px, 2.4vh, 24px) var(--gutter) clamp(20px, 3vh, 36px);
}

.faq__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  position: relative;
  max-width: none;
  padding: clamp(2.1875rem, 2.8vh, 3rem) 0;
  border-bottom: 1px solid rgba(240, 237, 229, 0.055);
  transition: border-color 140ms var(--ease-premium);
}
.faq-item:first-child {
  border-top: 0;
}

.faq-item__q {
  appearance: none;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-ivory);
  font-family: var(--ff-sans);
  font-size: clamp(1.375rem, 0.8rem + 1.65vw, 2.1875rem);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.2;
  text-align: left;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 140ms var(--ease-premium);
}
.faq-item__q:focus {
  outline: none;
}
.faq-item__q:focus-visible {
  outline: 1px solid var(--c-gold-70);
  outline-offset: 8px;
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 140ms var(--ease-premium);
}
.faq-item__clip {
  overflow: hidden;
  min-height: 0;
}
.faq-item__a {
  max-width: 54ch;
  margin: 0;
  padding-top: 0;
  font-family: var(--ff-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--c-ivory-60);
  opacity: 0;
  transition: opacity 140ms var(--ease-premium), padding-top 140ms var(--ease-premium);
}

.faq-item.is-open {
  border-bottom-color: rgba(190, 145, 65, 0.28);
}
.faq-item.is-open .faq-item__q {
  color: rgb(222, 204, 168);
}
.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}
.faq-item.is-open .faq-item__a {
  opacity: 1;
  padding-top: 0.9rem;
}

/* Main FAQ — hover opens on fine pointers; pricing FAQ stays click/keyboard. */
@media (hover: hover) and (pointer: fine) {
  #faq .faq-item:hover {
    border-bottom-color: rgba(190, 145, 65, 0.28);
  }
  #faq .faq-item:hover .faq-item__q {
    color: rgb(222, 204, 168);
  }
  #faq .faq-item:hover .faq-item__body {
    grid-template-rows: 1fr;
  }
  #faq .faq-item:hover .faq-item__a {
    opacity: 1;
    padding-top: 0.9rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .faq-item__q { cursor: pointer; }
}

#pricing-faq .faq-item__q {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item__q,
  .faq-item__body,
  .faq-item__a {
    transition: none;
  }
}

@media (max-width: 900px) {
  .faq__inner {
    padding-top: clamp(8px, 2vh, 16px);
    padding-bottom: clamp(16px, 2.4vh, 28px);
  }
  .faq-item {
    padding: 1.75rem 0;
  }
}

@media (max-width: 430px) {
  .faq__inner { padding-left: 20px; padding-right: 20px; }
  .faq-item { padding: 1.5rem 0; }
  .faq-item__q { font-size: 1.375rem; letter-spacing: -0.028em; }
  .faq-item__a { font-size: 1rem; max-width: none; }
}
