/* Prompt Arsenal 72 · FAQ ink expand. A question opens with an ink sweep across its row,
   the plus twists into a minus, the question slides in a step, one answer open at a time. */
.fx-faq-ink-expand {
  --fx-faq-ease: cubic-bezier(.76, 0, .24, 1);
  background: var(--fx-bg, transparent);
  color: var(--fx-text, currentColor);
  font-family: var(--fx-body, inherit);
  padding: clamp(64px, 10vw, 120px) 0;
}
.fx-faq-ink-expand *, .fx-faq-ink-expand *::before, .fx-faq-ink-expand *::after { box-sizing: border-box; }
.fx-faq-ink-expand .fx-faq__wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 28px);
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 100px); align-items: start;
}

/* ── intro column ── */
.fx-faq-ink-expand .fx-faq__intro { position: sticky; top: clamp(80px, 12vh, 120px); }
.fx-faq-ink-expand .fx-faq__kicker {
  margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--fx-mono, ui-monospace, Menlo, monospace); font-size: 12px; line-height: 1.4; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fx-accent, #c8102e);
}
.fx-faq-ink-expand .fx-faq__kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: none; }
.fx-faq-ink-expand .fx-faq__title {
  margin: 0; font-family: var(--fx-display, inherit); font-weight: 600; font-size: clamp(36px, 4.8vw, 68px);
  line-height: .98; letter-spacing: -.025em; color: var(--fx-text, currentColor); text-wrap: balance;
}
.fx-faq-ink-expand .fx-faq__title em { font-style: italic; font-weight: 500; color: var(--fx-accent, #c8102e); }
.fx-faq-ink-expand .fx-faq__lede {
  margin: 22px 0 0; max-width: 24em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6;
  color: var(--fx-dim, color-mix(in srgb, currentColor 65%, transparent));
}
.fx-faq-ink-expand .fx-faq__cta {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--fx-line, color-mix(in srgb, currentColor 18%, transparent));
  color: var(--fx-text, currentColor); text-decoration: none; font-weight: 500; font-size: 15px;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.fx-faq-ink-expand .fx-faq__arrow { transition: transform .45s var(--fx-faq-ease); }
.fx-faq-ink-expand .fx-faq__cta:hover, .fx-faq-ink-expand .fx-faq__cta:focus-visible {
  background: var(--fx-accent, #c8102e); border-color: var(--fx-accent, #c8102e); color: #fff;
}
.fx-faq-ink-expand .fx-faq__cta:hover .fx-faq__arrow { transform: translateX(4px); }
.fx-faq-ink-expand .fx-faq__cta:focus-visible { outline: 2px solid var(--fx-accent, #c8102e); outline-offset: 3px; }

/* ── the list ── */
.fx-faq-ink-expand .fx-faq__list { margin: 0; padding: 0; }
.fx-faq-ink-expand .fx-faq__item { position: relative; border-top: 1px solid var(--fx-line, color-mix(in srgb, currentColor 18%, transparent)); overflow: hidden; }
.fx-faq-ink-expand .fx-faq__item:last-child { border-bottom: 1px solid var(--fx-line, color-mix(in srgb, currentColor 18%, transparent)); }
.fx-faq-ink-expand .fx-faq__ink {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; transform: scaleX(0); transform-origin: left center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--fx-accent, #c8102e) 11%, transparent), color-mix(in srgb, var(--fx-accent, #c8102e) 3%, transparent));
  transition: transform .6s var(--fx-faq-ease);
}
.fx-faq-ink-expand .fx-faq__ink::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--fx-accent, #c8102e); }
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__ink { transform: scaleX(1); }

.fx-faq-ink-expand .fx-faq__h { margin: 0; padding: 0; font: inherit; position: relative; z-index: 1; }
.fx-faq-ink-expand .fx-faq__q {
  -webkit-appearance: none; appearance: none; margin: 0; width: 100%; min-height: 56px;
  display: flex; align-items: center; gap: 20px; padding: clamp(20px, 2.2vw, 28px) 18px;
  background: none; border: 0; border-radius: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fx-faq-ink-expand .fx-faq__q:focus-visible { outline: 2px solid var(--fx-accent, #c8102e); outline-offset: -2px; }
.fx-faq-ink-expand .fx-faq__idx {
  flex: none; width: 26px; font-family: var(--fx-mono, ui-monospace, Menlo, monospace); font-size: 12px; letter-spacing: .06em;
  color: var(--fx-dim, color-mix(in srgb, currentColor 65%, transparent)); transition: color .4s ease;
}
.fx-faq-ink-expand .fx-faq__qtext {
  flex: 1; min-width: 0; font-family: var(--fx-display, inherit); font-weight: 500; font-size: clamp(20px, 1.9vw, 27px);
  line-height: 1.22; letter-spacing: -.012em; color: var(--fx-text, currentColor);
  transition: color .4s ease, transform .5s cubic-bezier(.19, 1, .22, 1);
}
.fx-faq-ink-expand .fx-faq__plus {
  flex: none; margin-left: auto; position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--fx-line, color-mix(in srgb, currentColor 18%, transparent));
  transition: border-color .4s ease, background .4s ease;
}
.fx-faq-ink-expand .fx-faq__plus::before, .fx-faq-ink-expand .fx-faq__plus::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: currentColor; border-radius: 1px;
  transition: transform .5s var(--fx-faq-ease), background .4s ease;
}
.fx-faq-ink-expand .fx-faq__plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.fx-faq-ink-expand .fx-faq__plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.fx-faq-ink-expand .fx-faq__q:hover .fx-faq__plus { border-color: var(--fx-accent, #c8102e); }

.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__idx { color: var(--fx-accent, #c8102e); }
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__qtext {
  color: color-mix(in srgb, var(--fx-accent, #c8102e) 78%, var(--fx-text, currentColor)); transform: translateX(10px);
}
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__plus { border-color: var(--fx-accent, #c8102e); background: var(--fx-accent, #c8102e); color: #fff; }
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__plus::before { transform: translate(-50%, -50%) rotate(180deg); }
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__plus::after { transform: translate(-50%, -50%) rotate(270deg); }

/* the answer: grid rows 0fr -> 1fr, so it opens to its real height without measuring */
.fx-faq-ink-expand .fx-faq__a { position: relative; z-index: 1; display: grid; grid-template-rows: 1fr; }
.fx-faq-ink-expand.is-ready .fx-faq__a {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .6s var(--fx-faq-ease), visibility 0s linear .6s;
}
.fx-faq-ink-expand.is-ready .fx-faq__item.is-open .fx-faq__a {
  grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--fx-faq-ease), visibility 0s;
}
.fx-faq-ink-expand .fx-faq__inner { min-height: 0; overflow: hidden; }
.fx-faq-ink-expand .fx-faq__inner p {
  margin: 0; padding: 0 18px clamp(22px, 2.4vw, 30px) 74px; max-width: 42em;
  font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.65; color: var(--fx-dim, color-mix(in srgb, currentColor 65%, transparent));
  opacity: 0; transform: translateY(-6px); transition: opacity .4s ease, transform .5s cubic-bezier(.19, 1, .22, 1);
}
.fx-faq-ink-expand:not(.is-ready) .fx-faq__inner p,
.fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__inner p { opacity: 1; transform: none; transition-delay: .18s; }

/* ── entrance (only after JS armed it) ── */
.fx-faq-ink-expand.is-armed .fx-faq__intro > *,
.fx-faq-ink-expand.is-armed .fx-faq__item {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.19, 1, .22, 1), transform 1s cubic-bezier(.19, 1, .22, 1);
  transition-delay: calc(var(--fx-i, 0) * 70ms);
}
.fx-faq-ink-expand.is-in .fx-faq__intro > *,
.fx-faq-ink-expand.is-in .fx-faq__item { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .fx-faq-ink-expand .fx-faq__wrap { grid-template-columns: 1fr; gap: 30px; }
  .fx-faq-ink-expand .fx-faq__intro { position: static; }
  .fx-faq-ink-expand .fx-faq__lede { margin-top: 16px; }
  .fx-faq-ink-expand .fx-faq__cta { margin-top: 20px; }
  .fx-faq-ink-expand .fx-faq__q { gap: 12px; padding: 18px 8px 18px 10px; }
  .fx-faq-ink-expand .fx-faq__idx { width: 22px; font-size: 11px; }
  .fx-faq-ink-expand .fx-faq__qtext { font-size: 19px; }
  .fx-faq-ink-expand .fx-faq__item.is-open .fx-faq__qtext { transform: translateX(4px); }
  .fx-faq-ink-expand .fx-faq__plus { width: 36px; height: 36px; }
  .fx-faq-ink-expand .fx-faq__inner p { padding: 0 10px 22px 44px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-faq-ink-expand *, .fx-faq-ink-expand *::before, .fx-faq-ink-expand *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
  .fx-faq-ink-expand.is-armed .fx-faq__intro > *, .fx-faq-ink-expand.is-armed .fx-faq__item { opacity: 1; transform: none; }
}
