/* Zone Theta — FAQ page (owner picks 2026-10-08): two columns, refined, ending on what the free call is for.
   The questions and accordion use .fq-*, the two columns .fc-*, the call to action .cta-* and .cw-*.
   Fourteen questions, some with long answers: questions are easy to scan, answers are set for reading
   (17px, 1.7 leading, ≤ 64ch). Accordions are fine off the home page (DESIGN.md §7). Motion: transform and
   opacity only; an answer settles in as it opens, the plus turns into a minus. Copy: content/faq.md. */

:root { --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1); }
html.motion { scroll-behavior: smooth; }
.fq-item[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.fq { padding-block: var(--page-top) clamp(96px, 11vw, 160px); }
/* Page title: the same size as the About page's (DESIGN.md §3, page title) */
.fq-h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.03; letter-spacing: -0.025em;
  text-wrap: balance;
}
.fq-head { margin-bottom: clamp(40px, 5vw, 72px); }

/* ---------- The accordion ---------- */
.fq-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.fq-item { border-top: 1px solid var(--line); }
.fq-q { margin: 0; font: inherit; }
.fq-q button {
  display: flex; align-items: flex-start; gap: 16px; width: 100%;
  padding: 20px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(1.125rem, 1.35vw, 1.3125rem); line-height: 1.35; color: var(--ink);
}
.fq-q-text { flex: 1; }
/* Hover/focus: the site's underline grows in under the words only (owner fix: it ran the full row) */
.fq-q-line { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fq-q button:hover .fq-q-line { background-size: 100% 1px; } }
.fq-q button:focus-visible { outline: none; }
.fq-q button:focus-visible .fq-q-line { background-size: 100% 1px; }
.fq-q button:focus-visible .fq-icon { outline: 2px solid var(--plum); outline-offset: 4px; border-radius: 2px; }

/* Plus that turns into a minus (the upright stroke folds away; transform only) */
.fq-icon { position: relative; flex: none; width: 14px; height: 14px; margin-top: 0.42em; }
.fq-icon::before, .fq-icon::after { content: ""; position: absolute; background: currentColor; }
.fq-icon::before { left: 0; right: 0; top: 50%; height: 1.25px; transform: translateY(-50%); }
.fq-icon::after { top: 0; bottom: 0; left: 50%; width: 1.25px; transform: translateX(-50%); transition: transform 300ms var(--ease-out); }
[aria-expanded="true"] > .fq-icon::after { transform: translateX(-50%) scaleY(0); }

.fq-a { padding: 0 0 28px 30px; }
.fq-a[hidden] { display: none; }
.fq-a p {
  margin: 0; max-width: 64ch;
  font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty;
  color: color-mix(in oklab, var(--ink) 86%, var(--paper));
}
.fq-a p + p { margin-top: 0.95em; }
/* An answer settles in as it opens (the height changes at once; only opacity and transform animate) */
.motion .is-opening { animation: fq-open 360ms var(--ease-out); }
@keyframes fq-open { from { opacity: 0; transform: translateY(-6px); } }

/* Two columns in Zach's order, each opening on its own (the old site's structure) */
.fc-cols { display: grid; }
.fc-cols > .fq-list:first-child { border-bottom: 0; }
@media (min-width: 900px) {
  .fc-cols { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 96px); align-items: start; }
  .fc-cols > .fq-list:first-child { border-bottom: 1px solid var(--line); }
}

/* ---------- Arrivals (once per part) ---------- */
.motion [data-fq-reveal] .fq-fade { opacity: 0; transform: translateY(12px); }
.motion [data-fq-reveal].is-in .fq-fade {
  opacity: 1; transform: none;
  transition: opacity 800ms ease, transform 1000ms var(--ease-reveal);
  transition-delay: calc(100ms + var(--i, 0) * 90ms);
}

/* =====================================================================
   The call to action. Zach's own closing line on the left, with the one booking button on screen:
   while this is in view the nav tab steps aside (js/nav.js, [data-nav-away]) and the footer drops its
   own button (css/footer.css, [data-ends-with-booking]).
   ===================================================================== */
.cta {
  display: grid; gap: 40px;
  margin-top: clamp(112px, 13vw, 184px); padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
}
@media (min-width: 900px) { .cta { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 112px); align-items: start; } }
.cta-q {
  margin: 0; max-width: 13ch;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance;
}
.cta-a { margin: 14px 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; color: var(--muted); }
.cta .btn-solid { height: 48px; padding: 0 22px; font-size: 0.9375rem; }
.cw-ask .btn-solid { margin-top: 28px; }

/* What the call is for: Zach's own sentences about the free call (Maxima Therapy, The Performance Lab) */
.cw-words { margin: 0; }
.cw-list { margin: 0; padding: 0; list-style: none; }
.cw-line {
  padding: 20px 0; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.4; text-wrap: pretty;
}
.cw-line:first-child { padding-top: 0; border-top: 0; font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; }
.cw-who { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
