/* ═══════════════════════════════════════════════════════════════
   PARK CITY 3 & 4 — FAQ PAGE
   Extends styles.css. Cream-hero. Editorial chapters.
   ═══════════════════════════════════════════════════════════════ */

/* eyebrow + line need brass on cream */
.faq-hero .hero__eyebrow {
  color: var(--brass-deep);
}
.faq-hero .hero__eyebrow-line {
  background: var(--brass);
}

/* ──────────── 2. HERO ──────────── */
.faq-hero {
  position: relative;
  background: var(--bone);
  padding: clamp(140px, 20vh, 220px) var(--pad-x) clamp(80px, 14vh, 140px);
  overflow: hidden;
  isolation: isolate;
}

.faq-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/></svg>");
}
.faq-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  pointer-events: none;
}

.faq-hero__grid {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

/* Head ─────────────── */
.faq-hero__head {
  position: relative;
}

.faq-hero__title {
  font-family: var(--f-display);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 32px 0 36px;
}
.faq-hero__title .line {
  display: block;
  overflow: hidden;
}
.faq-hero__title .line > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--e-soft);
}
.faq-hero__title em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--brass-deep);
}

.faq-hero__lede {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 56px;
  letter-spacing: -0.005em;
}

.faq-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--brass-deep);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--brass);
  transition: gap 0.4s var(--e-soft), color 0.3s ease;
  width: fit-content;
}
.faq-hero__cta:hover {
  gap: 20px;
  color: var(--ink);
}
.faq-hero__cta svg {
  transition: transform 0.4s var(--e-soft);
}
.faq-hero__cta:hover svg {
  transform: translateX(4px);
}

/* Index ─────────────── */
.faq-hero__index {
  position: sticky;
  top: 120px;
  align-self: start;
  background: var(--cream-50);
  border: 1px solid var(--hairline-2);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-hero__index::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 4px;
}
.faq-hero__index-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}
.faq-hero__index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-2);
}
.faq-hero__index li {
  border-bottom: 1px solid var(--hairline-2);
}
.faq-hero__index a {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.3s ease, padding-left 0.5s var(--e-soft);
}
.faq-hero__index a:hover {
  color: var(--brass-deep);
  padding-left: 8px;
}
.faq-hero__index em {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.faq-hero__index-foot {
  margin-top: 18px;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.5;
}
.faq-hero__index-foot a {
  color: var(--brass-deep);
  border-bottom: 1px solid var(--hairline);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.faq-hero__index-foot a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

/* ──────────── 3. CHAPTER SECTIONS ──────────── */
.faq-chapter {
  padding: var(--pad-section) var(--pad-x);
  background: var(--bone);
  position: relative;
}
.faq-chapter--alt {
  background: var(--cream-50);
}
.faq-chapter + .faq-chapter::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

.faq-chapter__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

/* Sticky chapter head */
.faq-chapter__sticky {
  position: sticky;
  top: 120px;
  align-self: start;
  display: flex;
  flex-direction: column;
}
.faq-chapter__num {
  font-family: var(--f-display);
  font-size: clamp(80px, 9vw, 152px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--brass);
  font-variant-numeric: oldstyle-nums;
  margin-bottom: 28px;
  display: block;
}
.faq-chapter__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}
.faq-chapter__title em {
  color: var(--brass-deep);
}
.faq-chapter__lede {
  font-family: var(--f-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32ch;
  margin-bottom: 24px;
}
.faq-chapter__count {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.04em;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: inline-block;
  width: fit-content;
}

/* FAQ list — extends shared .faq-row styling from styles.css */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
/* Inline list inside an answer (e.g. addresses) */
.faq-row__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 24px;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-row__list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline-2);
}
.faq-row__list li:last-child,
.faq-row__list li:nth-last-child(2) {
  /* let the last row keep its border on odd counts; cleaner visually */
}
/* Links inside an answer */
.faq-row__a a {
  color: var(--brass-deep);
  border-bottom: 1px solid var(--hairline);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.faq-row__a a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}
.faq-row__a strong {
  font-weight: 500;
  color: var(--ink);
}
.faq-row__a p + p {
  margin-top: 1em;
}

/* ──────────── 4. STILL WONDERING — CLOSING CTA ──────────── */
.faq-still {
  padding: var(--pad-section) var(--pad-x);
  background: var(--bone);
  border-top: 1px solid var(--hairline-2);
  position: relative;
  overflow: hidden;
}
.faq-still::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--brass), transparent);
}

.faq-still__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-still .eyebrow {
  margin-bottom: 24px;
}
.faq-still__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 24px;
}
.faq-still__title em {
  color: var(--brass-deep);
}
.faq-still__lede {
  font-family: var(--f-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 64px;
}

.faq-still__paths {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
  text-align: left;
}
.faq-still__path {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  transition: padding-left 0.5s var(--e-soft);
}
.faq-still__path::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--e-soft);
}
.faq-still__path:hover {
  padding-left: 12px;
}
.faq-still__path:hover::before {
  transform: scaleY(1);
}

.faq-still__path-num {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--brass);
  font-variant-numeric: tabular-nums;
}
.faq-still__path-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.faq-still__path-title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.faq-still__path-meta {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--taupe);
}
.faq-still__path-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--brass-deep);
  transition: transform 0.4s var(--e-soft);
  justify-self: end;
}
.faq-still__path:hover .faq-still__path-arrow {
  transform: translateX(6px);
}

.faq-still__direct {
  margin-top: 56px;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--taupe);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.01em;
}
.faq-still__direct a {
  font-family: var(--f-display);
  font-style: normal;
  font-size: 15px;
  font-weight: 500;
  color: var(--brass-deep);
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.faq-still__direct a:hover {
  color: var(--ink);
  border-bottom-color: var(--brass);
}
.faq-still__direct-dot {
  color: var(--brass);
  opacity: 0.6;
}

/* ──────────── 5. RESPONSIVE ──────────── */

/* Tablet — chapter sticky becomes static, hero stacks */
@media (max-width: 980px) {
  .faq-hero {
    padding: clamp(120px, 16vh, 160px) var(--pad-x) 80px;
  }
  .faq-hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .faq-hero__index {
    position: static;
    order: 2;
  }
  .faq-hero__title {
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .faq-hero__lede {
    margin-bottom: 40px;
  }

  .faq-chapter__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .faq-chapter__sticky {
    position: static;
  }
  .faq-chapter__num {
    margin-bottom: 16px;
  }
  .faq-chapter__lede {
    max-width: 56ch;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .faq-hero {
    padding: 110px var(--pad-x) 64px;
  }
  .faq-hero__title {
    font-size: clamp(36px, 11vw, 56px);
    line-height: 1;
    margin-bottom: 24px;
  }
  .faq-hero__lede {
    font-size: 17px;
    margin-bottom: 36px;
  }
  .faq-hero__index {
    padding: 24px 24px 22px;
  }
  .faq-hero__index a {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 12px 0;
    font-size: 15px;
  }

  .faq-chapter {
    padding: 80px var(--pad-x);
  }
  .faq-chapter__num {
    font-size: 72px;
  }
  .faq-chapter__title {
    font-size: 26px;
  }
  .faq-chapter__lede {
    font-size: 16px;
  }

  .faq-row__list {
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 15px;
  }

  .faq-still {
    padding: 80px var(--pad-x);
  }
  .faq-still__title {
    font-size: 40px;
  }
  .faq-still__lede {
    font-size: 16px;
    margin-bottom: 48px;
  }
  .faq-still__path {
    grid-template-columns: 36px 1fr 22px;
    gap: 16px;
    padding: 22px 0;
  }
  .faq-still__path-title {
    font-size: 18px;
  }
  .faq-still__path-meta {
    font-size: 13px;
  }
  .faq-still__direct {
    margin-top: 40px;
    font-size: 14px;
  }
  .faq-still__direct a {
    font-size: 14px;
  }
}

/* ──────────── 6. REDUCED MOTION ──────────── */
@media (prefers-reduced-motion: reduce) {
  .faq-hero__title .line > * {
    transform: none !important;
  }
  .faq-hero__index a,
  .faq-chapter__sticky,
  .faq-still__path {
    transition: none !important;
  }
}
