/* FAQ: the heading holds on the left while the answers open on the right.
   Native <details name="faq"> so one opens at a time, with no script. */
.faq { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 40px clamp(48px, 7vw, 120px); align-items: start; padding: clamp(80px, 9vw, 136px) var(--edge); }
.faq > .room-h { position: sticky; top: calc(var(--nav-top) + var(--nav-h) + 40px); max-width: 14ch; font-size: clamp(32px, 3.4vw, 52px); color: var(--ink); }
.faq > .room-h span { color: var(--teal); }
.faq-list { border-top: 1px solid var(--line); }
.fq { border-bottom: 1px solid var(--line); }
.fq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 18px 0; cursor: pointer; list-style: none; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }
.fq h3 { font-size: clamp(18px, 1.4vw, 21px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.fq-x { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease); }
.fq-x::before, .fq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); translate: -50% -50%; transition: rotate 0.3s var(--ease), background-color 0.25s var(--ease); }
.fq-x::after { rotate: 90deg; }
.fq summary:hover .fq-x { border-color: var(--teal); }
.fq[open] .fq-x { background: var(--teal); border-color: var(--teal); }
.fq[open] .fq-x::before, .fq[open] .fq-x::after { background: #FFFFFF; }
.fq[open] .fq-x::after { rotate: 0deg; }
.fq p { max-width: 62ch; padding: 0 58px 26px 0; font-size: 16.5px; line-height: 1.6; color: var(--soft); text-wrap: pretty; }
:root { interpolate-size: allow-keywords; }
.fq::details-content { block-size: 0; overflow: hidden; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
.fq[open]::details-content { block-size: auto; }

@media (max-width: 900px) {
  .faq { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 64px; padding-bottom: 64px; }
  .faq > .room-h { position: static; }
  .fq summary { min-height: 64px; }
  .fq p { padding-right: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .fq::details-content, .fq-x, .fq-x::before, .fq-x::after { transition: none; }
}
