@layer sections {
  .faq {
    background: linear-gradient(
      180deg,
      var(--c-green-deep),
      var(--c-green-night)
    );
    color: var(--c-cream-warm);
    font-family: var(--ff-garamond);
    line-height: normal;
    --dur-reveal: 0.9s;
    --reveal-distance: 24px;
    --stagger-step: 70ms;
    --ease-reveal: var(--ease-soft);
  }
  .faq__inner {
    width: min(100% - 2 * var(--gutter), 1080px);
    margin-inline: auto;
  }
  .faq__title {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    margin: 0 auto clamp(40px, 7vh, 80px);
  }
  .faq__back {
    grid-area: 1 / 1;
    white-space: nowrap;
    font-family: var(--ff-garamond);
    font-weight: 500;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: 0.01em;
    font-size: clamp(44px, 13.5vw, 190px);
    background: var(--grad-gold-fade);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .faq__front {
    grid-area: 1 / 1;
    align-self: end;
    margin-bottom: -0.15em;
    font-family: var(--ff-garamond);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(20px, 3.4vw, 50px);
    color: var(--c-white);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  }
  @media (max-width: 600px) {
    .faq__back {
      font-size: 20vw;
      line-height: 0.82;
      background: linear-gradient(
        180deg,
        #d9b36a,
        #c29a55 45%,
        #b08a4a 70%,
        #b08a4a59
      );
      -webkit-background-clip: text;
      background-clip: text;
    }
    .faq__front {
      font-size: 5.6vw;
      margin-bottom: -0.3em;
    }
  }
  .faq__list {
    width: min(860px, 100%);
    margin-inline: auto;
    border-bottom: 1px solid rgba(241, 234, 216, 0.18);
  }
  .faq__item {
    border-top: 1px solid rgba(241, 234, 216, 0.18);
  }
  .faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(18px, 2.6vh, 26px) 4px;
    cursor: pointer;
    list-style: none;
    font-size: clamp(21px, 1.95vw, 28px);
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-cream-warm);
    transition: color var(--dur-fast) ease;
  }
  .faq__q::-webkit-details-marker {
    display: none;
  }
  .faq__q:hover,
  .faq__item[open] > .faq__q {
    color: var(--c-white);
  }
  .faq__q:focus-visible {
    outline: 1px solid var(--c-sage-light);
    outline-offset: 4px;
  }
  .faq__mark {
    flex: none;
    width: 8px;
    height: 11px;
    background: currentColor;
    opacity: 0.75;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transition:
      transform var(--dur-base) var(--ease-out),
      opacity var(--dur-fast) ease;
  }
  .faq__q:hover .faq__mark {
    opacity: 1;
  }
  .faq__item[open] .faq__mark {
    transform: rotate(90deg);
    opacity: 1;
  }
  .faq__a {
    padding: 0 4px clamp(22px, 3vh, 30px);
    max-width: 740px;
  }
  .faq__a p {
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.6;
    color: #f1ead8eb;
  }
  @media (prefers-reduced-motion: no-preference) {
    .faq__item {
      interpolate-size: allow-keywords;
    }
    .faq__item::details-content {
      block-size: 0;
      overflow: clip;
      transition:
        block-size var(--dur-base) var(--ease-soft),
        content-visibility var(--dur-base) allow-discrete;
    }
    .faq__item[open]::details-content {
      block-size: auto;
    }
    .faq__item[open] .faq__a {
      animation: faq-in 0.6s var(--ease-soft) both;
    }
    @keyframes faq-in {
      0% {
        opacity: 0;
        transform: translateY(-6px);
      }
    }
  }
}
