/* Driveway FAQ: a single, numbered service folio rather than a stack of cards. */
.faq.section-shell {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.42fr);
  gap: clamp(40px, 5.2vw, 82px);
  padding-top: 116px;
  padding-bottom: 126px;
}

.faq.section-shell::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 50%;
  width: calc(100vw - 15px);
  transform: translateX(-50%);
  background: linear-gradient(118deg, #f2f1eb 0%, #f8f8f5 48%, #eaf2f5 100%);
}

.faq.section-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: calc(100vw - 15px);
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 0, rgba(14, 73, 108, .055) 1px, transparent 1px),
    linear-gradient(0deg, transparent 0, rgba(14, 73, 108, .04) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, #000, transparent 50%);
  pointer-events: none;
}

.faq .faq-intro {
  position: sticky;
  top: 32px;
  align-self: start;
  padding: 24px 0 0 27px;
  border-left: 2px solid #c5a46c;
}

.faq .faq-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 34px;
  height: 2px;
  background: #c5a46c;
}

.faq .faq-intro .eyebrow {
  margin-bottom: 18px;
  color: #12618e;
  font-size: 11px;
  letter-spacing: .2em;
}

.faq .faq-intro h2 {
  max-width: 350px;
  margin-bottom: 24px;
  color: #082544;
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 1.01;
  letter-spacing: -.047em;
}

.faq .faq-intro > p:nth-of-type(2) {
  max-width: 310px;
  margin-bottom: 0;
  color: #4b6172;
  font-size: 16px;
  line-height: 1.6;
}

.faq .faq-mark {
  align-items: center;
  gap: 18px;
  max-width: 312px;
  margin-top: 43px;
  padding-top: 20px;
  border-top: 1px solid #bfcbd0;
}

.faq .faq-mark span {
  color: #095581;
  font: 700 74px/.9 Libre, Georgia, serif;
  letter-spacing: -.07em;
}

.faq .faq-mark small {
  max-width: 135px;
  margin: 3px 0 0;
  color: #48667b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .12em;
}

.faq .faq-list {
  counter-reset: driveway-question;
  overflow: hidden;
  padding: 16px 29px 17px;
  border: 1px solid #b7c9d0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 25px 55px rgba(4, 37, 65, .10), 0 2px 4px rgba(4, 37, 65, .03);
}

.faq .faq-list::before {
  content: "JCA  /  SURFACE SERVICE NOTES";
  display: block;
  padding: 8px 12px 17px;
  border-bottom: 1px solid #9fb4be;
  color: #3e6981;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}

.faq .faq-list article {
  position: relative;
  counter-increment: driveway-question;
  border-bottom: 1px solid #d4dfe3;
  transition: background-color .22s ease;
}

.faq .faq-list article:last-child { border-bottom: 0; }
.faq .faq-list article:hover { background: #f6f9fa; }
.faq .faq-list article.open { background: #f0f6f8; }
.faq .faq-list article.open::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px -29px;
  width: 3px;
  background: #c4a065;
}

.faq .faq-question {
  grid-template-columns: 45px minmax(0, 1fr) 40px;
  gap: 17px;
  min-height: 84px;
  padding: 20px 12px;
  color: #0c2b47;
  font-size: 21px;
  line-height: 1.32;
  transition: color .2s ease;
}

.faq .faq-question::before {
  content: counter(driveway-question, decimal-leading-zero);
  display: block;
  align-self: start;
  padding-top: 5px;
  color: #60879a;
  font: 700 11px/1.2 DM, Arial, sans-serif;
  letter-spacing: .14em;
}

.faq .faq-question > span {
  width: 37px;
  height: 37px;
  border: 1px solid #9db6c2;
  background: #fff;
  color: #075a8a;
  font-size: 23px;
  line-height: 1;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.faq .faq-list article.open .faq-question > span {
  border-color: #075a8a;
  background: #075a8a;
  color: #fff;
}

.faq .faq-question:focus-visible {
  outline: 2px solid #0a6fa8;
  outline-offset: -5px;
}

.faq .faq-answer > p {
  max-width: 700px;
  padding-right: 62px;
  padding-left: 74px;
  color: #415d70;
  font-size: 15px;
  line-height: 1.68;
}

.faq .faq-list article.open .faq-answer > p { padding-bottom: 28px; }

@media (max-width: 1000px) {
  .faq.section-shell { grid-template-columns: 1fr; gap: 40px; }
  .faq .faq-intro { position: relative; top: auto; }
  .faq .faq-intro h2 { max-width: none; }
  .faq .faq-intro > p:nth-of-type(2) { max-width: 600px; }
  .faq .faq-mark { margin-top: 24px; }
}

@media (max-width: 560px) {
  .faq.section-shell { gap: 31px; padding-top: 78px; padding-bottom: 82px; }
  .faq .faq-intro { padding: 8px 0 0 20px; }
  .faq .faq-intro h2 { margin-bottom: 18px; font-size: 43px; }
  .faq .faq-intro > p:nth-of-type(2) { font-size: 14px; }
  .faq .faq-mark { gap: 14px; margin-top: 25px; padding-top: 14px; }
  .faq .faq-mark span { font-size: 55px; }
  .faq .faq-mark small { font-size: 9px; }
  .faq .faq-list { padding: 9px 12px; }
  .faq .faq-list::before { padding: 10px 7px 14px; font-size: 9px; }
  .faq .faq-list article.open::before { left: -12px; }
  .faq .faq-question {
    grid-template-columns: 27px minmax(0, 1fr) 31px;
    gap: 9px;
    min-height: 78px;
    padding: 17px 4px;
    font-size: 16px;
    line-height: 1.35;
  }
  .faq .faq-question::before { padding-top: 4px; font-size: 9px; }
  .faq .faq-question > span { width: 29px; height: 29px; font-size: 19px; }
  .faq .faq-answer > p { padding-right: 15px; padding-left: 40px; font-size: 14px; }
  .faq .faq-list article.open .faq-answer > p { padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq .faq-list article,
  .faq .faq-question,
  .faq .faq-question > span { transition: none; }
}

/* Supporting-service review composition, based on the approved driveway page. */
.review-support { --review-accent: #1b6c9b; }
.review-support.family-ps { --review-accent: #9b794e; }
.review-support.family-hw { --review-accent: #548fac; }
.review-support.family-st { --review-accent: #8f785d; }
.review-support.family-cm { --review-accent: #688ca0; }

.review-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #031a3b;
  color: #fff;
}
.review-hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #031a3b 0%, rgba(3,26,59,.96) 38%, rgba(3,26,59,.62) 62%, rgba(3,26,59,.13) 100%);
}
.review-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  height: 135px;
  background: linear-gradient(transparent, rgba(3,26,59,.92));
}
.review-hero-media { position: absolute; inset: 0 0 0 39%; }
.review-hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.family-ps .review-hero-media > img { object-position: center 62%; }
.family-hw[data-page-id="HW03"] .review-hero-media > img { object-position: center 35%; }
.family-cm .review-hero-media > img { object-position: center 58%; }
.family-cm[data-page-id="CM11"] .review-hero-media > img { object-position: center 22%; }
.review-hero-media .hero-grid { z-index: 1; }
.review-hero-copy {
  position: relative;
  z-index: 5;
  padding-top: 190px;
  padding-bottom: 68px;
}
.review-hero .eyebrow { color: #9bd5ee; }
.review-hero h1 {
  max-width: 750px;
  margin: 0 0 23px;
  font-size: clamp(49px, 5.4vw, 76px);
  letter-spacing: -.045em;
}
.review-hero-lede { max-width: 670px; }
.review-hero-lede p { max-width: 670px; margin: 0 0 13px; color: #dce8ee; font-size: 17px; line-height: 1.62; }
.review-hero .hero-actions { margin-top: 28px; }
.review-hero-breath { width: min(680px, 100%); height: 58px; margin-top: 38px; border-top: 1px solid rgba(152,214,239,.4); }

.review-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
  padding: 106px 0;
}
.review-feature-copy { padding: 17px 0 16px 25px; border-left: 2px solid var(--review-accent); }
.review-feature h2 { max-width: 540px; margin-bottom: 25px; font-size: clamp(40px, 4vw, 58px); }
.review-prose { color: #435a6a; font-size: 16px; line-height: 1.72; }
.review-prose p { margin: 0 0 18px; }
.review-prose p:last-child { margin-bottom: 0; }
.review-prose a { color: #075d91; text-decoration-color: #a8bfcb; text-underline-offset: 3px; }
.review-feature-visual { position: relative; min-height: 515px; margin: 0; overflow: hidden; border: 1px solid #b8c9cf; background: #d9e2e5; box-shadow: 0 24px 55px rgba(3,26,59,.13); }
.review-feature-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 115px; background: linear-gradient(transparent, rgba(3,26,59,.7)); }
.review-feature-visual img { width: 100%; height: 515px; object-fit: cover; }
.family-cs[data-page-id="CS02"] .review-feature-visual img { object-position: center 76%; }
.family-cs[data-page-id="CS03"] .review-feature-visual img { object-position: center 90%; }
.family-cs[data-page-id="CS04"] .review-feature-visual img { object-position: center 65%; }
.review-feature-visual figcaption { position: absolute; z-index: 2; left: 22px; bottom: 19px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.family-hw[data-page-id="HW03"] .review-feature-visual img { object-position: center 60%; }
.family-cm[data-page-id="CM02"] .review-feature-visual img { object-position: center top; }
.family-cm[data-page-id="CM06"] .review-feature-visual img { object-position: center 32%; }
.family-cm[data-page-id="CM07"] .review-feature-visual { min-height: 0; }
.family-cm[data-page-id="CM07"] .review-feature-visual img { display: block; height: auto; object-fit: contain; }
.family-cm[data-page-id="CM08"] .review-feature-visual { min-height: 0; }
.family-cm[data-page-id="CM08"] .review-feature-visual::after { content: none; }
.family-cm[data-page-id="CM08"] .review-feature-visual img { display: block; height: auto; object-fit: contain; }
.family-cm[data-page-id="CM08"] .review-feature-visual figcaption { position: static; padding: 14px 20px; color: #164c76; background: #f3f8fc; }
.family-ps[data-page-id="PS04"] .review-feature-visual img,
.family-ps[data-page-id="PS03"] .review-feature-visual img,
.family-st[data-page-id="ST05"] .review-feature-visual img,
.family-st[data-page-id="ST06"] .review-feature-visual img { object-fit: contain; background: #e7eef0; }
.family-st[data-page-id="ST02"] .review-feature { grid-template-columns: 1fr; gap: 38px; }
.family-st[data-page-id="ST02"] .review-feature-copy { max-width: 780px; }
.family-st[data-page-id="ST02"] .review-feature-visual { min-height: 0; background: #f3f8fc; }
.family-st[data-page-id="ST02"] .review-feature-visual::after { content: none; }
.family-st[data-page-id="ST02"] .review-feature-visual img { display: block; width: 100%; height: auto; object-fit: contain; }
.family-st[data-page-id="ST02"] .review-feature-visual figcaption { position: static; padding: 14px 20px; color: #164c76; background: #f3f8fc; font-size: 11px; }
.family-st[data-page-id="ST02"] .review-study-open { display: block; }
.family-st[data-page-id="ST02"] .review-study-open:focus-visible { outline: 3px solid #1676ae; outline-offset: -4px; }

.review-chapters { padding: 92px 0 106px; background: linear-gradient(110deg, #f1f0ea, #f4f7f7); }
.review-chapters > .section-shell { border-top: 1px solid #bdcdd2; }
.review-chapter {
  display: grid;
  grid-template-columns: 62px minmax(0, .9fr) minmax(0, 1.16fr);
  gap: 25px;
  padding: 36px 17px 40px 0;
  border-bottom: 1px solid #bdcdd2;
}
.review-chapter-index { padding-top: 6px; color: var(--review-accent); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.review-chapter h2 { max-width: 460px; margin: 0; font-size: clamp(26px, 2.4vw, 35px); letter-spacing: -.026em; }
.review-chapter .review-prose { max-width: 590px; font-size: 15px; }
.review-chapter .review-prose p:last-child { margin-bottom: 0; }
.review-chapter:nth-child(even) { background: rgba(255,255,255,.35); }

.review-proof { padding: 104px 0 110px; }
.review-section-head { max-width: 800px; margin-bottom: 36px; }
.review-section-head h2 { margin-bottom: 13px; }
.review-section-head > p:last-child { max-width: 670px; margin: 0; color: #5a6c79; }
.review-proof .proof-card { max-width: 980px; margin-inline: auto; }
.review-proof .compare-visual { height: 560px; }
.review-proof .before-wrap img { width: max(980px, 78vw); }
.review-proof-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.review-proof-pair figure { margin: 0; overflow: hidden; border: 1px solid #c5d0d3; background: #fff; box-shadow: 0 18px 40px rgba(3,26,59,.09); }
.review-proof-pair img { width: 100%; height: 390px; object-fit: cover; }
.review-proof-pair figure:last-child img { object-position: center 65%; }
.review-proof-pair figcaption { padding: 14px 18px; color: #405b6e; font-size: 12px; font-weight: 700; }

/* The character is anchored to the related-services rail, as on the locked page. */
.review-support .support-related-inner > header { min-height: 396px; isolation: isolate; background: radial-gradient(ellipse at 88% 86%, rgba(180,202,206,.22), transparent 47%); }
.review-support .support-related-inner > header::after { content: ""; position: absolute; right: -48px; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, #b99860, #bdcbd0 64%, transparent); z-index: -1; }
.review-support .related-character-stage { position: absolute; right: -90px; bottom: -1px; width: 195px; height: 282px; z-index: 3; pointer-events: none; }
.review-support .related-character-stage::before { content: ""; position: absolute; right: 23px; bottom: 1px; width: 136px; height: 20px; border-radius: 50%; background: rgba(15,48,68,.2); filter: blur(8px); transform: rotate(-5deg); }
.review-support .related-character-stage img { position: absolute; right: 0; bottom: 0; width: 100%; height: auto; filter: drop-shadow(3px 8px 6px rgba(13,43,61,.2)); }

.review-faq .faq-answer > .faq-answer-content { overflow: hidden; padding: 0 62px 0 74px; color: #415d70; font-size: 15px; line-height: 1.68; transition: padding .28s ease; }
.review-faq .faq-answer-content p { margin: 0 0 13px; }
.review-faq .faq-answer-content p:last-child { margin-bottom: 0; }
.review-faq .faq-list article.open .faq-answer > .faq-answer-content { padding-bottom: 28px; }

@media (max-width: 1000px) {
  .review-feature { grid-template-columns: 1fr; }
  .review-feature-visual { min-height: 440px; }
  .review-feature-visual img { height: 440px; }
  .review-chapter { grid-template-columns: 48px minmax(0, .85fr) minmax(0, 1.15fr); gap: 16px; }
  .review-support .support-related-inner > header { min-height: 235px; }
  .review-support .support-related-inner > header::after { right: 0; }
  .review-support .support-related h2 { max-width: calc(100% - 160px); }
  .review-support .related-character-stage { right: 18px; bottom: -45px; width: 170px; height: 246px; }
}
@media (max-width: 820px) {
  .review-hero { min-height: 760px; }
  .review-hero::before { background: linear-gradient(90deg, rgba(3,26,59,.98), rgba(3,26,59,.72)); }
  .review-hero-media { inset: 0; opacity: .68; }
  .review-hero-copy { padding-top: 150px; }
  .review-chapter { grid-template-columns: 38px 1fr; }
  .review-chapter .review-prose { grid-column: 2; }
}
@media (max-width: 560px) {
  .review-hero { min-height: 0; }
  .review-hero-copy { padding-top: 138px; padding-bottom: 52px; }
  .review-hero h1 { font-size: 44px; }
  .review-hero-lede p { font-size: 14px; }
  .review-hero .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 265px); }
  .review-hero-breath { height: 38px; margin-top: 30px; }
  .review-feature { gap: 35px; padding: 76px 0; }
  .review-feature-copy { padding-left: 18px; }
  .review-feature h2 { font-size: 38px; }
  .review-prose { font-size: 14px; }
  .review-feature-visual { min-height: 345px; }
  .review-feature-visual img { height: 345px; }
  .review-feature-visual figcaption { left: 12px; bottom: 14px; font-size: 8px; }
  .review-chapters { padding: 69px 0 79px; }
  .review-chapter { grid-template-columns: 30px 1fr; gap: 10px; padding: 27px 0 30px; }
  .review-chapter h2 { font-size: 27px; }
  .review-chapter .review-prose { font-size: 14px; }
  .review-proof { padding: 75px 0; }
  .review-proof .compare-visual { height: 390px; }
  .review-proof .before-wrap img { width: max(520px, 130vw); }
  .review-proof-pair { grid-template-columns: 1fr; }
  .review-proof-pair img { height: 290px; }
  .review-support .support-related-inner > header { min-height: 252px; }
  .review-support .support-related h2 { max-width: calc(100% - 100px); font-size: 37px; }
  .review-support .related-character-stage { right: -14px; bottom: -40px; width: 135px; height: 196px; }
  .review-faq .faq-answer > .faq-answer-content { padding-right: 15px; padding-left: 40px; font-size: 14px; }
  .review-faq .faq-list article.open .faq-answer > .faq-answer-content { padding-bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) { .review-faq .faq-answer > .faq-answer-content { transition: none; } }
