/*
 * Best Law Firm — inner-page design system, v2
 * Loaded after styles.css and inner-pages.css. The earlier file continues to
 * support the route directory; this layer owns every generated content page.
 */

.inner-page {
  --v2-shell: 1280px;
  --v2-reading: 780px;
  --v2-rail: 320px;
  --v2-space: clamp(5.5rem, 8vw, 8.5rem);
  --v2-rule: rgba(17, 24, 49, 0.13);
  --v2-rule-light: rgba(255, 255, 255, 0.18);
  --v2-card: #fffdf9;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
}

.inner-page .mobile-menu {
  overflow-x: hidden;
  overflow-y: auto;
}

.prototype-directory main {
  overflow: clip;
}

@media (min-width: 901px) {
  .inner-page .mobile-menu__wash {
    display: none;
  }
}

.inner-page main p,
.inner-page main li,
.inner-page main a,
.inner-page main label,
.inner-page main input,
.inner-page main select,
.inner-page main textarea,
.inner-page main button,
.inner-page main small,
.inner-page main summary,
.inner-page main figcaption,
.inner-page main dt,
.inner-page main dd,
.inner-page .utility-bar,
.inner-page .desktop-nav a,
.inner-page .text-link,
.inner-page .button,
.inner-page .site-footer p,
.inner-page .site-footer a {
  font-size: max(0.875rem, 14px);
}

.inner-page .inner-main {
  overflow: clip;
}

/* Hero system ------------------------------------------------------------ */

.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--v2-rule);
}

.inner-hero::before,
.inner-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.inner-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 65, 103, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 65, 103, 0.045) 1px, transparent 1px);
  background-size: 108px 108px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

.inner-hero::after {
  right: -180px;
  bottom: -320px;
  width: min(720px, 52vw);
  aspect-ratio: 1;
  border: 1px solid rgba(47, 65, 103, 0.12);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 92px rgba(47, 65, 103, 0.028),
    inset 0 0 0 184px rgba(47, 65, 103, 0.021);
}

.inner-hero__grid {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(4.75rem, 8vw, 7.5rem);
}

.inner-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.inner-hero .breadcrumbs {
  margin: 0 0 2rem;
  font-weight: 650;
}

.inner-hero .breadcrumbs ol {
  gap: 0.55rem;
}

.inner-hero .breadcrumbs li {
  gap: 0.55rem;
}

.inner-hero .eyebrow {
  margin-bottom: 1.25rem;
  color: var(--coral-dark);
}

.inner-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 6.35vw, 6.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.inner-hero__lede {
  max-width: 720px;
  margin: 1.65rem 0 0;
  color: #4e5970;
  font-size: clamp(1rem, 1.35vw, 1.18rem) !important;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.inner-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.35rem;
  margin-top: 2rem;
}

.inner-hero__phone {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  padding: 0.75rem 1.3rem;
  border: 1px solid rgba(17, 24, 49, 0.22);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
}

.inner-hero__portrait {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 470px;
  margin: 0;
  justify-self: end;
  border-radius: 1.5rem 1.5rem 7rem 1.5rem;
  background: var(--ink);
  box-shadow: 0 2rem 5rem rgba(17, 24, 49, 0.18);
}

.inner-hero__portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 15, 35, 0.78), transparent 48%);
  content: "";
  pointer-events: none;
}

.inner-hero__portrait > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.inner-hero__portrait figcaption {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.7rem;
  left: 2rem;
  color: var(--white);
}

.inner-hero__portrait figcaption span,
.inner-hero__portrait figcaption strong {
  display: block;
}

.inner-hero__portrait figcaption span {
  margin-bottom: 0.25rem;
  color: #f4a08f;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inner-hero__portrait figcaption strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.inner-hero__experience,
.inner-hero__knowledge,
.inner-hero__utility-card {
  position: relative;
  width: 100%;
  max-width: 335px;
  justify-self: end;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1.6rem 4rem rgba(6, 12, 30, 0.22);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.inner-hero__experience img,
.inner-hero__knowledge img,
.inner-hero__utility-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 1.2rem;
}

.inner-hero__experience > span,
.inner-hero__knowledge > span,
.inner-hero__utility-card > span {
  display: block;
  margin-bottom: 0.55rem;
  color: #f3a08d;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.inner-hero__experience > strong,
.inner-hero__knowledge > strong,
.inner-hero__utility-card > strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.inner-hero__experience sup {
  color: #f3a08d;
  font-family: var(--sans);
  font-size: 1rem;
  vertical-align: top;
}

.inner-hero__experience > p,
.inner-hero__knowledge > p,
.inner-hero__utility-card > p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* Immersive service hero */

.inner-hero--service {
  border-bottom-color: var(--v2-rule-light);
  background: var(--ink);
  color: var(--white);
}

.inner-hero--service::before {
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.inner-hero--service::after,
.inner-hero--profile::after,
.inner-hero--utility::after {
  z-index: 0;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 0 0 92px rgba(255, 255, 255, 0.018),
    inset 0 0 0 184px rgba(255, 255, 255, 0.013);
}

.inner-hero__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.inner-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero__backdrop span {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 36, 0.97) 0%, rgba(8, 18, 45, 0.88) 48%, rgba(8, 18, 45, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 16, 38, 0.62), transparent 60%);
}

.inner-hero--service h1,
.inner-hero--service .breadcrumbs [aria-current="page"],
.inner-hero--service .breadcrumbs a {
  color: var(--white);
}

.inner-hero--service .breadcrumbs,
.inner-hero--service .inner-hero__lede,
.inner-hero--profile .breadcrumbs,
.inner-hero--profile .inner-hero__lede,
.inner-hero--utility .breadcrumbs,
.inner-hero--utility .inner-hero__lede {
  color: rgba(255, 255, 255, 0.72);
}

.inner-hero--service .eyebrow,
.inner-hero--profile .eyebrow,
.inner-hero--utility .eyebrow {
  color: #f2a08e;
}

.inner-hero--service .inner-hero__phone,
.inner-hero--profile .inner-hero__phone,
.inner-hero--utility .inner-hero__phone {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

/* Editorial, profile, collection, knowledge and utility variants */

.inner-hero--editorial {
  background:
    radial-gradient(circle at 84% 10%, rgba(140, 167, 206, 0.24), transparent 28%),
    var(--paper);
}

.inner-hero--editorial .inner-hero__grid {
  min-height: 600px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.55fr);
}

.inner-hero--editorial h1 {
  font-size: clamp(3.15rem, 5.6vw, 5.55rem);
}

.inner-hero--editorial .inner-hero__portrait > img {
  height: 520px;
}

.inner-hero--profile {
  border-bottom-color: var(--v2-rule-light);
  background:
    radial-gradient(circle at 10% 100%, rgba(140, 167, 206, 0.25), transparent 34%),
    var(--ink);
  color: var(--white);
}

.inner-hero--profile::before,
.inner-hero--utility::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.inner-hero--profile h1,
.inner-hero--profile .breadcrumbs a,
.inner-hero--profile .breadcrumbs [aria-current="page"],
.inner-hero--utility h1,
.inner-hero--utility .breadcrumbs a,
.inner-hero--utility .breadcrumbs [aria-current="page"] {
  color: var(--white);
}

.inner-hero--profile .inner-hero__portrait {
  max-width: 430px;
  border-radius: 10rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 2rem 5rem rgba(2, 6, 18, 0.4);
}

.inner-hero--profile .inner-hero__portrait > img {
  height: 560px;
  object-position: center top;
}

.inner-hero--collection {
  background:
    radial-gradient(circle at 90% 8%, rgba(140, 167, 206, 0.26), transparent 28%),
    linear-gradient(135deg, var(--alabaster), var(--mineral));
}

.inner-hero--collection .inner-hero__grid {
  min-height: 520px;
}

.inner-hero--collection .inner-hero__portrait {
  max-width: 430px;
  border-radius: 50% 50% 1.5rem 1.5rem;
}

.inner-hero--collection .inner-hero__portrait > img {
  height: 390px;
}

.inner-hero--knowledge {
  background:
    radial-gradient(circle at 15% 90%, rgba(216, 98, 81, 0.1), transparent 26%),
    var(--paper);
}

.inner-hero--knowledge .inner-hero__grid {
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.36fr);
}

.inner-hero--knowledge h1 {
  font-size: clamp(3.05rem, 5.7vw, 5.35rem);
}

.inner-hero--knowledge .inner-hero__knowledge {
  max-width: 360px;
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.25), transparent 40%),
    var(--ink);
}

.inner-hero--utility {
  border-bottom-color: var(--v2-rule-light);
  background:
    radial-gradient(circle at 83% 22%, rgba(140, 167, 206, 0.26), transparent 28%),
    var(--ink);
  color: var(--white);
}

.inner-hero--utility .inner-hero__grid {
  min-height: 430px;
  padding-block: clamp(4rem, 7vw, 6rem);
}

.inner-hero--utility h1 {
  font-size: clamp(3.15rem, 5.5vw, 5.25rem);
}

.entry-meta {
  color: var(--muted);
}

.inner-hero--service .entry-meta,
.inner-hero--profile .entry-meta,
.inner-hero--utility .entry-meta {
  color: rgba(255, 255, 255, 0.68);
}

/* Content system --------------------------------------------------------- */

.inner-content {
  position: relative;
  padding-block: var(--v2-space);
  background: var(--paper);
}

.inner-content::before {
  position: absolute;
  top: 0;
  left: max(24px, calc((100vw - var(--v2-shell)) / 2));
  width: min(150px, 18vw);
  height: 1px;
  background: var(--coral);
  content: "";
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, var(--v2-rail));
  justify-content: space-between;
  align-items: start;
  gap: clamp(3rem, 6vw, 6rem);
}

.content-layout--reading {
  grid-template-columns: minmax(0, var(--v2-reading)) minmax(280px, var(--v2-rail));
}

.content-layout--single {
  display: block;
}

.content-layout--showcase .content-body {
  width: 100%;
  max-width: none;
}

.content-body.prose {
  width: 100%;
  max-width: none;
  color: #3e4960;
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  line-height: 1.86;
  overflow-wrap: anywhere;
}

.inner-page .content-body p,
.inner-page .content-body li {
  font-size: inherit;
}

.inner-page .content-body p a,
.inner-page .content-body li a,
.inner-page .content-body :is(h2, h3, h4) a {
  font-size: inherit;
}

.content-layout--showcase .content-body p {
  max-width: 72ch;
}

.content-body :is(h2, h3, h4) {
  overflow-wrap: anywhere;
}

.content-layout--reading .content-body {
  max-width: var(--v2-reading);
}

.content-body > :first-child,
.content-body > .article-section > :first-child,
.content-body > .content-section-block > :first-child {
  margin-top: 0;
}

.content-body > :last-child,
.content-body > .article-section > :last-child,
.content-body > .content-section-block > :last-child {
  margin-bottom: 0;
}

.content-body p,
.content-body ul,
.content-body ol,
.content-body dl,
.content-body table,
.content-body figure,
.content-body blockquote,
.content-body details {
  margin-top: 0;
  margin-bottom: 1.45em;
}

.content-body .lead {
  color: var(--ink-3);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.82rem) !important;
  line-height: 1.52;
}

.content-body h2,
.content-body h3,
.content-body h4 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.content-body h2 {
  margin: 1.45em 0 0.55em;
  font-size: clamp(2.3rem, 4.2vw, 3.85rem);
  line-height: 1;
}

.content-body h3 {
  margin: 1.45em 0 0.55em;
  font-size: clamp(1.75rem, 2.9vw, 2.45rem);
  line-height: 1.08;
}

.content-body h4 {
  margin: 1.3em 0 0.45em;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  line-height: 1.2;
}

.content-body h5,
.content-body h6,
.content-kicker {
  margin: 1.5rem 0 0.65rem;
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: 0.875rem !important;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.content-body strong {
  color: var(--ink);
}

.content-body a:not(.button):not(.rich-card):not(.content-action) {
  color: var(--coral-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(189, 79, 64, 0.32);
  text-underline-offset: 0.22em;
}

.content-body ul,
.content-body ol {
  padding-left: 1.35em;
}

.content-body li {
  margin-bottom: 0.55em;
  padding-left: 0.2em;
}

.content-body li::marker {
  color: var(--coral);
  font-weight: 700;
}

.content-body blockquote,
.content-body .editorial-callout {
  position: relative;
  margin-inline: 0;
  padding: clamp(2rem, 4vw, 3.1rem);
  border: 1px solid rgba(216, 98, 81, 0.24);
  border-left: 4px solid var(--coral);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.42;
}

.content-body img,
.content-body .content-image {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.content-body figure img {
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.content-body figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.6;
}

.content-body hr {
  height: 1px;
  margin: clamp(3rem, 6vw, 5rem) 0;
  border: 0;
  background: var(--v2-rule);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--v2-rule);
  background: var(--white);
}

.content-body th,
.content-body td {
  padding: 1rem;
  border: 1px solid var(--v2-rule);
  text-align: left;
  vertical-align: top;
}

.content-body th {
  background: var(--ink);
  color: var(--white);
}

.content-section-block {
  min-width: 0;
}

.editorial-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.2), transparent 38%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.editorial-intro-shell h2 {
  margin: 0;
}

.editorial-intro-shell > div:last-child {
  align-self: end;
}

.editorial-intro-shell .button {
  margin-top: 0.75rem;
}

.content-body > .content-section-block + .content-section-block,
.content-body > .article-section + .article-section {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding-top: clamp(2.75rem, 5vw, 4rem);
  border-top: 1px solid var(--v2-rule);
}

.rich-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-block: clamp(2rem, 5vw, 4rem);
}

.rich-card {
  display: flex !important;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink) !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.rich-card.content-action {
  min-height: 100%;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0;
  border-radius: var(--radius);
  background: var(--white);
}

.rich-card > div {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.rich-card > div > :last-child {
  margin-bottom: 0;
}

.rich-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 98, 81, 0.38);
  box-shadow: var(--shadow);
}

.rich-card > img,
.rich-card > figure,
.rich-card > picture,
.rich-card > div > img {
  width: 100%;
  margin: 0;
}

.rich-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  object-fit: cover;
}

.rich-card > :not(img):not(figure):not(picture):not(div) {
  margin-right: clamp(1.25rem, 2.5vw, 2rem);
  margin-left: clamp(1.25rem, 2.5vw, 2rem);
}

.rich-card > :last-child:not(div) {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.rich-card > div > :not(img) {
  margin-inline: 0;
}

.rich-card > div > :first-child {
  margin-top: 0;
}

.rich-card > div > :last-child {
  margin-bottom: 0;
}

.rich-card h2,
.rich-card h3,
.rich-card h4 {
  margin-top: 1.45rem;
  margin-bottom: 0.65rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.08;
}

.rich-card p {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.65;
}

.inner-page .rich-card p {
  font-size: 1rem;
}

.rich-card__body p:last-of-type {
  margin-bottom: 1.5rem;
}

.rich-card .rich-card__label {
  display: block;
  margin-bottom: 1rem;
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: var(--font-body-min);
  font-weight: 700;
  line-height: 1.5;
}

.rich-card-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}

.rich-card-grid--compact .rich-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.rich-card-grid--practice {
  gap: clamp(1rem, 2vw, 1.5rem);
}

.rich-card-grid--practice .rich-card {
  min-height: 100%;
}

.rich-card .rich-card__action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  align-self: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(216, 98, 81, 0.3);
  border-radius: 999px;
  background: rgba(216, 98, 81, 0.08);
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: max(0.875rem, 14px);
  font-weight: 750;
  line-height: 1;
}

.rich-card .rich-card__action::after {
  color: var(--coral);
  content: "\2192";
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.rich-card:hover .rich-card__action::after {
  transform: translateX(3px);
}

/* Premium service guide ------------------------------------------------- */

.inner-content--service-story {
  padding-block: clamp(4.5rem, 6vw, 5rem);
}

.content-layout--service-story .content-body {
  --service-story-gap: clamp(3.75rem, 6vw, 5.75rem);
  width: 100%;
  max-width: none;
}

.content-layout--service-story .content-body > .content-section-block,
.content-layout--service-story .content-body > .service-mid-cta {
  scroll-margin-top: 176px;
}

.content-layout--service-story .content-body > .content-section-block + .content-section-block {
  margin-top: var(--service-story-gap);
  padding-top: 0;
  border-top: 0;
}

.service-story__overview {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: clamp(2.75rem, 4.5vw, 4.25rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.25), transparent 38%),
    linear-gradient(135deg, var(--white), #f8fafc);
  box-shadow: var(--shadow-sm);
}

.service-story__overview::after {
  position: absolute;
  right: -115px;
  bottom: -170px;
  width: 340px;
  aspect-ratio: 1;
  border: 1px solid rgba(47, 65, 103, 0.1);
  border-radius: 50%;
  box-shadow: inset 0 0 0 55px rgba(47, 65, 103, 0.025);
  content: "";
  pointer-events: none;
}

.service-story__overview-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.25rem clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.service-story__overview-title {
  grid-row: 1 / span 2;
}

.service-story__overview-title .eyebrow {
  margin: 0 0 1.15rem;
  color: var(--coral-dark);
}

.service-story__overview-title h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  line-height: 0.92;
}

.service-story__overview-grid > p {
  grid-column: 2;
  max-width: 62ch;
}

.service-story__overview-grid > .lead {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
}

.service-story__overview-grid > p:last-child {
  margin-bottom: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--v2-rule);
}

.service-story__nav {
  position: sticky;
  z-index: 20;
  top: 86px;
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0.35rem;
  margin: 1.25rem auto 0;
  padding: 0.5rem;
  overflow-x: auto;
  border: 1px solid rgba(17, 24, 49, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 12px 38px rgba(17, 24, 49, 0.1);
  backdrop-filter: blur(15px);
  scrollbar-width: none;
}

.service-story__nav::-webkit-scrollbar {
  display: none;
}

.service-story__nav > span {
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  font-weight: 700;
}

.service-story__nav a {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 180ms ease, background 180ms ease;
}

.service-story__nav a:hover,
.service-story__nav a:focus-visible {
  background: rgba(216, 98, 81, 0.1);
  color: var(--coral-dark) !important;
}

.service-story__topics {
  margin-top: var(--service-story-gap);
}

.service-story__section-heading,
.service-step-section__heading,
.service-roadmap-section__heading {
  max-width: 850px;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.service-story__section-heading h2,
.service-roadmap-section__heading h2 {
  margin-top: 0;
}

.service-story__section-heading > div > p,
.service-step-section__heading > p {
  max-width: 67ch;
}

.service-story__topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-story__topic-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-story__topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216, 98, 81, 0.35);
  box-shadow: var(--shadow);
}

.service-story__topic-card > div {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.service-story__card-number {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(216, 98, 81, 0.28);
  border-radius: 50%;
  color: var(--coral-dark);
  font-family: var(--sans);
  font-weight: 750;
}

.service-story__topic-card h4 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.service-story__topic-card p {
  margin-bottom: 1rem;
  line-height: 1.72;
}

.service-topic-card__toggle {
  margin: auto 0 0 !important;
  padding: 1.25rem 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.content-body .service-topic-card__toggle > summary {
  min-height: 48px;
  padding: 0.75rem 3rem 0.75rem 1rem !important;
  border: 1px solid rgba(216, 98, 81, 0.26);
  border-radius: 999px;
  background: rgba(216, 98, 81, 0.08);
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: 0.9375rem !important;
  font-weight: 650;
  line-height: 1.4;
}

.service-topic-card__toggle summary::after {
  right: 1rem;
}

.service-topic-card__details {
  margin: 0 !important;
  padding: 1.25rem 0 0 !important;
}

.service-topic-card__details p:last-child {
  margin-bottom: 0;
}

.service-video-panel {
  container: service-video / inline-size;
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 0;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.2), transparent 36%),
    linear-gradient(135deg, var(--ink), #192747);
  box-shadow: var(--shadow);
  color: var(--white);
}

.service-video-panel::after {
  position: absolute;
  right: -170px;
  bottom: -230px;
  width: 480px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 0 75px rgba(255, 255, 255, 0.018);
  content: "";
  pointer-events: none;
}

.service-video-panel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.service-video-panel__media > div {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
}

.service-video-panel__media > div::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(17, 24, 49, 0.74));
  content: "";
  pointer-events: none;
}

.service-video-panel__media img,
.content-body .service-video-panel__media img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.service-video-panel__media--brand > div {
  background: var(--ink);
}

.content-body .service-video-panel__media--brand img {
  object-fit: contain;
  padding: 1.25rem 1.25rem 6rem;
}

.service-video-panel__media--brand > div::after {
  display: none;
}

.service-video-panel__play {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink) !important;
  font-weight: 750;
  text-decoration: none !important;
}

.service-video-panel__play::before {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 6v12l9-6z'/%3E%3C/svg%3E") center / 20px no-repeat;
  content: "";
  flex-shrink: 0;
}

.service-video-panel__content > div {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(0.5rem, 2vw, 1.5rem);
}

.service-video-panel__content h6 {
  margin: 0 0 0.65rem;
  color: #f09a8d;
}

.service-video-panel__content h3 {
  margin: 0 0 2rem;
  color: var(--white);
  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.service-video-panel__steps,
.content-body .service-video-panel__steps {
  counter-reset: video-step;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-video-panel__steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin: 0;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.86);
}

.service-video-panel__steps li::before {
  counter-increment: video-step;
  color: #f09a8d;
  content: counter(video-step, decimal-leading-zero);
  font-family: var(--sans);
  font-weight: 750;
}

.service-video-panel__steps strong {
  color: var(--white);
  font-weight: 650;
}

.service-step-section,
.service-roadmap-section,
.service-faq-section {
  padding: clamp(2.75rem, 4vw, 4rem);
  border-radius: var(--radius-lg);
}

.content-layout--service-story .content-body > .content-section-block.service-video-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.content-layout--service-story .content-body > .content-section-block.service-step-section,
.content-layout--service-story .content-body > .content-section-block.service-roadmap-section,
.content-layout--service-story .content-body > .content-section-block.service-faq-section {
  padding: clamp(2.75rem, 4vw, 4rem);
}

.service-step-section--filing {
  border: 1px solid var(--v2-rule);
  background:
    radial-gradient(circle at 0% 100%, rgba(216, 98, 81, 0.08), transparent 34%),
    var(--alabaster);
}

.service-step-section__heading h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
}

.service-step-section__heading > p {
  margin: 0;
  color: var(--coral-dark);
  font-weight: 700;
}

.service-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-step-card {
  min-width: 0;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.service-step-card > div {
  height: 100%;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

.service-step-card__number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.service-step-card h4 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2.3vw, 2.15rem);
}

.service-step-card p:last-child {
  margin-bottom: 0;
}

.service-step-section--response {
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.24), transparent 38%),
    var(--mineral);
}

.service-step-section--response > div > div {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.service-step-section--response .service-step-section__heading {
  margin: 0;
}

.service-step-section--response .service-step-grid {
  grid-template-columns: 1fr;
}

.service-step-section--response .service-step-card > div {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: 1rem;
}

.service-step-section--response .service-step-card__number {
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 0.2rem;
}

.service-step-section--response .service-step-card h4,
.service-step-section--response .service-step-card > div > div {
  grid-column: 2;
}

.service-roadmap-section {
  border: 1px solid var(--v2-rule);
  background: linear-gradient(145deg, #f7f9fc, var(--white));
}

.service-roadmap-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-roadmap-grid::before {
  position: absolute;
  top: 2rem;
  right: 8%;
  left: 8%;
  height: 1px;
  background: rgba(216, 98, 81, 0.28);
  content: "";
}

.service-roadmap-card {
  position: relative;
  min-width: 0;
  padding: 0 clamp(0.25rem, 1vw, 0.75rem);
}

.service-roadmap-card > div {
  height: 100%;
}

.service-roadmap-card__number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  margin: 0 0 1.75rem;
  border: 1px solid rgba(216, 98, 81, 0.35);
  border-radius: 50%;
  background: var(--paper);
  color: var(--coral-dark);
  font-family: var(--sans);
  font-weight: 750;
}

.service-roadmap-card h4 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.content-body h4:has(> span > i[class*="fa-"]) {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.content-body h4 > span:has(> i[class*="fa-"]) {
  flex: 0 0 1.25em;
  text-align: center;
}

.service-roadmap-card p {
  margin-bottom: 0;
  line-height: 1.72;
}

.service-mid-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  overflow: hidden;
  margin: var(--service-story-gap) 0;
  padding: clamp(2.5rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.22), transparent 38%),
    var(--ink);
  box-shadow: var(--shadow);
  color: rgba(255, 255, 255, 0.78);
}

.service-mid-cta::after {
  position: absolute;
  right: -125px;
  bottom: -190px;
  width: 380px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.service-mid-cta > * {
  position: relative;
  z-index: 1;
}

.service-mid-cta .eyebrow {
  margin: 0 0 0.75rem;
  color: #f09a8d;
}

.service-mid-cta h2 {
  max-width: 750px;
  margin: 0 0 0.8rem;
  color: var(--white);
  font-size: clamp(2.5rem, 4.8vw, 4.5rem);
}

.service-mid-cta > div > p:last-child {
  max-width: 66ch;
  margin: 0;
}

.service-mid-cta__actions {
  display: grid;
  min-width: 260px;
  gap: 0.75rem;
}

.service-mid-cta__actions .button {
  width: 100%;
}

.service-mid-cta__phone {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-weight: 750;
  text-decoration: none !important;
}

.service-faq-section {
  background: var(--alabaster);
}

.service-faq__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 0.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.service-faq__header .eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--coral-dark);
}

.service-faq__header h2 {
  margin: 0;
}

.service-faq__header > p:last-child {
  margin: 0;
}

.service-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.service-faq__column {
  display: grid;
  gap: 0.75rem;
}

.service-faq__column > h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.service-faq__item {
  margin: 0;
  border-color: rgba(17, 24, 49, 0.11);
  background: var(--white);
}

.service-faq__item summary {
  min-height: 68px;
  padding: 1.1rem 3.5rem 1.1rem 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
}

.service-faq__answer {
  padding: 1.25rem 1.25rem 1.35rem !important;
}

.service-faq__answer p:last-child {
  margin-bottom: 0;
}

.metric-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 1px;
  overflow: hidden;
  margin-block: 2.5rem;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--v2-rule);
}

.metric-card {
  min-width: 0;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--white);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.link-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  padding: 0 !important;
  list-style: none;
}

.link-cluster li {
  margin: 0;
  padding: 0;
}

.link-cluster a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink) !important;
  text-decoration: none !important;
}

.link-cluster a::after {
  color: var(--coral);
  content: "→";
}

.content-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0.35rem 0.35rem 0;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(216, 98, 81, 0.3);
  border-radius: 999px;
  background: rgba(216, 98, 81, 0.08);
  color: var(--coral-dark) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* FAQ and glossary */

.content-body [id] {
  scroll-margin-top: 104px;
}

.knowledge-library {
  max-width: 1100px;
  margin-inline: auto;
}

.knowledge-library__tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--mineral);
}

.knowledge-library__tools label {
  grid-column: 1 / -1;
  color: var(--ink);
  font-weight: 700;
}

.knowledge-library__tools input {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid #8494a9;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  caret-color: var(--coral-dark);
}

.knowledge-library__tools [data-library-count] {
  align-self: center;
  margin: 0;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.knowledge-library__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 3rem;
}

.knowledge-library__nav a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--v2-rule);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink) !important;
  text-decoration: none !important;
}

.knowledge-library__nav a:hover,
.knowledge-library__nav a:focus-visible {
  background: var(--ink);
  color: var(--white) !important;
}

.knowledge-group + .knowledge-group {
  margin-top: 3.5rem;
}

.knowledge-group > h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--v2-rule);
  font-size: clamp(2rem, 4vw, 3rem);
}

.content-body .knowledge-entry {
  margin: 0 0 0.75rem;
  background: var(--white);
}

.knowledge-entry summary {
  min-height: 64px;
}

.knowledge-entry__content {
  max-width: 78ch;
}

.knowledge-entry__content > :last-child {
  margin-bottom: 0;
}

.route-filter-empty,
.knowledge-library__empty {
  padding: 2rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--alabaster);
  color: var(--ink-3);
}

.content-body .resource-directory {
  margin-block: 2rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--alabaster);
}

.resource-directory .rich-card-grid {
  margin: 0;
  padding: 0 1.25rem 1.25rem !important;
}

.resource-directory .rich-card {
  box-shadow: none;
}

.profile-awards,
.content-body #logo-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
  align-items: center;
  gap: 1.25rem;
  margin-block: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.profile-awards img,
.content-body #logo-slider img,
.content-body .profile-awards img {
  width: 100%;
  height: 100px;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.template-team-profile .content-body .profile-awards img,
.template-team-profile .content-body .profile-awards img:first-of-type {
  object-fit: contain;
  object-position: center;
}

.related-section .eyebrow--coral {
  color: var(--coral-dark);
}

.profile-awards p,
.profile-awards figure,
.content-body #logo-slider > div {
  margin: 0;
}

.template-faq-item .content-body > .article-section:first-child,
.template-legal-definition .content-body > .article-section:first-child {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 96% 0%, rgba(140, 167, 206, 0.22), transparent 34%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.template-faq-item .content-body > .article-section:first-child::before,
.template-legal-definition .content-body > .article-section:first-child::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--coral-dark);
  content: "Answer";
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.template-legal-definition .content-body > .article-section:first-child::before {
  content: "Plain-language definition";
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.content-body .faq-list > .faq-item {
  margin: 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 180ms ease-out;
}

.faq-item summary,
.content-body details summary {
  position: relative;
  list-style: none;
  padding: 1.25rem 3.5rem 1.25rem 1.35rem;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  font-weight: 550;
  line-height: 1.25;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.faq-item > summary:hover,
.faq-item > summary:focus-visible {
  background: var(--alabaster);
  color: var(--coral-dark);
}

.faq-item > summary:focus-visible {
  outline: 2px solid var(--coral-dark);
  outline-offset: -4px;
  border-radius: inherit;
}

.faq-item[open] {
  border-color: rgba(175, 68, 54, 0.32);
}

.faq-item summary::-webkit-details-marker,
.content-body details summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after,
.content-body details summary::before,
.content-body details summary::after {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--coral-dark);
  content: "";
  transform: translateY(-50%);
}

.faq-item summary::after,
.content-body details summary::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] summary::after,
.content-body details[open] summary::after,
.faq-item[data-accordion-state="opening"] > summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item[data-accordion-state="closing"] > summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item__answer,
.content-body details > :not(summary) {
  margin: 0;
  padding: 0 1.35rem 1.35rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* FAQ answer surfaces fill their disclosure; the question stays on white. */
.template-faq-item .content-body > .article-section:first-child,
.faq-item > .faq-item__answer {
  background: #f7f8fa;
}

.faq-item > .faq-item__answer {
  width: 100%;
  max-width: none;
  padding-top: 1.25rem;
}

.content-body .faq-item:not(.resource-fee-option) > .faq-item__answer :is(p, ul, ol) {
  max-width: none;
}

.faq-item__answer > :first-child,
.knowledge-entry__content > :first-child {
  margin-top: 0;
}

.faq-item__answer > :last-child,
.faq-item__answer :is(p, ul, ol):last-child {
  margin-bottom: 0;
}

/* Reading rail and consultation card */

.content-rail {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.rail-card {
  padding: 1.65rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rail-card__label {
  margin: 0 0 1rem;
  color: var(--coral-dark);
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rail-card dl {
  margin: 0;
}

.rail-card dl > div {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--v2-rule);
}

.rail-card dt {
  color: var(--muted);
}

.rail-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.rail-card > a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--coral-dark);
  font-weight: 700;
}

.rail-card--profile h2 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

/* Profile navigation follows the biography in the mobile reading order. */
.template-team-profile .content-rail--profile { position: static; }
.profile-team-navigation { margin-top: 1.25rem; padding-top: 0.5rem; border-top: 1px solid var(--v2-rule); }
.profile-team-navigation__list { margin: 0; padding: 0; list-style: none; }
.profile-team-navigation__list > li { margin: 0; padding: 0; list-style: none; }
.profile-team-navigation__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.profile-team-navigation__list a[aria-current="page"] { background: var(--alabaster); color: var(--coral-dark); font-weight: 750; }
.profile-team-navigation__list a:hover { background: var(--alabaster); color: var(--coral-dark); }
.profile-team-navigation__list a:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 2px; }
.profile-team-navigation__list svg { flex: 0 0 14px; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.inner-page .consult-card {
  display: block;
  overflow: hidden;
  padding: clamp(1.7rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.26), transparent 40%),
    var(--ink);
  box-shadow: 0 1.4rem 3.5rem rgba(17, 24, 49, 0.18);
  color: var(--white);
}

.inner-page .consult-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
}

.inner-page .consult-card .eyebrow {
  margin-bottom: 0.85rem;
  color: #f3a08d;
}

.inner-page .consult-card h2 {
  margin: 0 0 0.85rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.7vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.inner-page .consult-card > p:not(.eyebrow) {
  margin: 0 0 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.inner-page .consult-card .button {
  width: 100%;
}

.consult-card__phone {
  display: block;
  margin-top: 1rem;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.consult-card--compact img {
  display: none;
}

/* Consultation, calculator and workflow prototypes */

/* Existing ACF contact locations retain their original content and links. */
.content-body .cta-locblock .section-title {
  margin: 0 0 2rem;
}

.content-body .cta-locblock .section-title h2 { margin: 0; }
.content-body .cta-locblock .section-title p:empty { display: none; }

.content-body .cta-locblock > div > div:not(.section-title) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.content-body .cta-locblock > div > div:not(.section-title) > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--v2-rule);
  border-radius: 16px;
  background: var(--white);
}

.content-body .cta-locblock > div > div:not(.section-title) > div > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.content-body .cta-locblock img {
  display: block;
  width: 30px;
  height: 40px;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.content-body .cta-locblock h4 {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font: 600 0.875rem/1.4 var(--sans);
}

.content-body .cta-locblock h6 {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.2vw, 2rem) !important;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: none;
}

.content-body .cta-locblock p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}

.inner-page .content-body .cta-locblock p a[href] {
  color: var(--text);
  font-size: inherit;
  font-weight: 400;
  text-decoration-color: var(--v2-rule);
  text-underline-offset: 4px;
}

.inner-page .content-body .cta-locblock a[href^="tel:"] {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  margin-top: auto;
  color: var(--coral-dark);
  font: 650 0.9375rem/1.4 var(--sans);
  text-decoration: none;
}

.inner-page .content-body .cta-locblock a[href]:hover { color: var(--coral-dark); text-decoration: underline; }
.content-body .cta-locblock a:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 4px; }

@media (max-width: 1100px) {
  .content-body .cta-locblock > div > div:not(.section-title) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .content-body .cta-locblock > div > div:not(.section-title) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .content-body .cta-locblock > div > div:not(.section-title) > div { padding: 1.5rem; }
}

.conversion-panel {
  --conversion-padding: clamp(2.25rem, 5vw, 4.8rem);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 2rem 5rem rgba(17, 24, 49, 0.13);
}

.conversion-panel__intro,
.conversion-form {
  padding: var(--conversion-padding);
}

.conversion-panel__intro {
  background:
    radial-gradient(circle at 10% 100%, rgba(140, 167, 206, 0.22), transparent 36%),
    var(--alabaster);
}

.conversion-panel__intro h2,
.calculator-shell__intro h2,
.workflow-shell h2 {
  max-width: 600px;
  margin: 0 0 1.25rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.conversion-panel__intro > p:not(.eyebrow),
.calculator-shell__intro > p:not(.eyebrow),
.workflow-shell > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.conversion-panel__methods {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--v2-rule);
}

.conversion-panel__methods a {
  display: grid;
  gap: 0.15rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--v2-rule);
}

.conversion-panel__methods span {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversion-panel__methods strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.conversion-form {
  min-width: 0;
}

/* This form is a panel column, not the generic inset card used in articles. */
.prose--consultation form.conversion-form[data-static-form] {
  display: block;
  margin: 0;
  padding: var(--conversion-padding);
  border: 0;
  border-inline-start: 1px solid var(--v2-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.conversion-form__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--v2-rule);
}

.conversion-form__heading h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 550;
}

.conversion-form__heading span,
.conversion-form label > span,
.calculator-form label > span {
  color: var(--muted);
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.conversion-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.conversion-form label,
.calculator-form label {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}

.conversion-form input,
.conversion-form select,
.conversion-form textarea,
.calculator-form input,
.calculator-form select {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(17, 24, 49, 0.2);
  border-radius: 0.75rem;
  background: var(--white);
  color: var(--ink);
}

.conversion-form textarea {
  min-height: 120px;
  resize: vertical;
}

.conversion-form input:focus,
.conversion-form select:focus,
.conversion-form textarea:focus,
.calculator-form input:focus,
.calculator-form select:focus {
  border-color: var(--coral);
  outline: 3px solid rgba(216, 98, 81, 0.12);
}

.conversion-form .form-field--full {
  grid-column: 1 / -1;
}

.conversion-form__note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  text-align: center;
}

.prose--consultation .conversion-form__heading {
  gap: 0.6rem 1rem;
  margin: 0 0 1.5rem;
}

.prose--consultation .conversion-form__heading h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.prose--consultation .conversion-form__heading > span {
  font-size: var(--font-body-min);
  line-height: 1.5;
}

.prose--consultation .conversion-form .form-preview-notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--v2-rule);
  border-radius: 0.5rem;
  background: var(--alabaster);
}

.prose--consultation .conversion-form .form-grid {
  gap: 1.25rem 1rem;
  margin: 0 0 1.75rem;
}

.prose--consultation form.conversion-form[data-static-form] label {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.prose--consultation form.conversion-form[data-static-form] :is(input, select, textarea) {
  min-width: 0;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
}

.prose--consultation form.conversion-form[data-static-form] textarea {
  min-height: 130px;
}

.prose--consultation .conversion-form__note {
  margin: 1rem 0 0;
  font-size: var(--font-body-min);
  line-height: 1.65;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(390px, 1fr) minmax(250px, 0.55fr);
  align-items: stretch;
  gap: 1px;
  overflow: hidden;
  padding: 1px;
  border-radius: var(--radius-lg);
  background: var(--v2-rule);
  box-shadow: var(--shadow);
}

.calculator-shell__intro,
.calculator-form,
.calculator-preview {
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--white);
}

.calculator-shell__intro h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.calculator-form {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.calculator-form label > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(17, 24, 49, 0.2);
  border-radius: 0.75rem;
}

.calculator-form label > div b {
  padding-left: 1rem;
  color: var(--muted);
}

.calculator-form label > div input {
  border: 0;
}

.calculator-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.25), transparent 42%),
    var(--ink);
  color: var(--white);
}

.calculator-preview > span {
  color: #f3a08d;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-preview > strong {
  margin: 1rem 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 500;
}

.calculator-preview > p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.workflow-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 94% 0%, rgba(140, 167, 206, 0.25), transparent 35%),
    var(--alabaster);
  box-shadow: var(--shadow-sm);
}

.workflow-shell > div {
  max-width: 760px;
}

.workflow-shell ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: clamp(2.5rem, 5vw, 4rem) 0;
  padding: 1px;
  border-radius: var(--radius);
  background: var(--v2-rule);
  list-style: none;
}

.workflow-shell li {
  min-width: 0;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
}

.workflow-shell li > span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--coral-dark);
  font-weight: 750;
}

.workflow-shell li > strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 550;
  line-height: 1.1;
}

.workflow-shell li > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* Useful, honest preview states for account, commerce and form routes. */
.workflow-shell.workflow-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  padding: 0;
  background: var(--white);
}

.workflow-view > .workflow-main {
  min-width: 0;
  max-width: none;
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.workflow-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.workflow-icon {
  width: 42px;
  height: 42px;
  color: var(--coral-dark);
}

.workflow-view .workflow-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.workflow-view .workflow-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.workflow-preview-note,
.form-preview-notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--coral-dark);
  background: var(--mineral);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.workflow-view .workflow-preview-note,
.inner-page .content-body .form-preview-notice {
  font-size: 14px;
}

.workflow-empty-state { margin-block: 2rem; }
.workflow-empty-state h3,
.workflow-next-reading > h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.2;
}
.workflow-empty-state p:last-child { margin-bottom: 0; }

.workflow-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.workflow-actions .button,
.workflow-form-footer .button {
  min-height: 48px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}
.workflow-button--secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.workflow-button--secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.workflow-support {
  min-width: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-left: 1px solid var(--v2-rule);
  background: var(--alabaster);
}
.workflow-support h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.18;
}
.workflow-support p { color: var(--muted); }
.workflow-contact-list,
.workflow-summary { margin: 1.75rem 0; }
.workflow-contact-list > div,
.workflow-summary > div {
  padding-block: 1rem;
  border-top: 1px solid var(--v2-rule);
}
.workflow-contact-list dt,
.workflow-summary dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.workflow-contact-list dd,
.workflow-summary dd { margin: 0; }
.workflow-contact-list a { overflow-wrap: anywhere; }
.workflow-summary > div { display: flex; justify-content: space-between; gap: 1rem; }

.workflow-resource-list { margin-top: 1.5rem; }
.workflow-resource-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--v2-rule);
  text-decoration: none !important;
}
.workflow-resource-row h3 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  line-height: 1.15;
}
.workflow-resource-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}
.workflow-resource-row > span { color: var(--coral-dark); font-size: 1.5rem; }
.workflow-next-reading { margin-top: 3rem; }

.content-body .workflow-view form.workflow-form {
  margin: 1.75rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.workflow-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.workflow-field { display: grid; align-content: start; gap: 0.55rem; min-width: 0; }
.workflow-field--full { grid-column: 1 / -1; }
.workflow-field > span { font-size: 14px; font-weight: 650; }
.workflow-field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--v2-rule);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.workflow-field textarea { resize: vertical; }
.workflow-form-footer { margin-top: 1.5rem; }
.workflow-form-footer p { margin: 0.75rem 0 0; color: var(--muted); }
.workflow-legacy-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--alabaster);
  border-block: 1px solid var(--v2-rule);
}
.workflow-legacy-links h2 { margin: 0 0 0.75rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.workflow-legacy-links p { margin: 0; }
.workflow-legacy-links .workflow-actions { margin: 0; }

@media (max-width: 1000px) {
  .workflow-shell.workflow-view,
  .workflow-legacy-links { grid-template-columns: 1fr; }
  .workflow-support { border-left: 0; border-top: 1px solid var(--v2-rule); }
}
@media (max-width: 720px) {
  .workflow-view > .workflow-main,
  .workflow-support { padding: 1.5rem; }
  .workflow-heading { grid-template-columns: 1fr; gap: 1rem; }
  .workflow-form-grid { grid-template-columns: 1fr; }
  .workflow-actions { align-items: stretch; }
  .workflow-actions .button { flex: 1 1 100%; }
}

/* Captured editorial collections share the same readable card system. */
.content-layout.content-layout--book-directory { grid-template-columns: minmax(0, 1fr); }
.community-grid,
.pricing-grid,
.infographic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
  margin-block: 2rem;
}
.community-card,
.pricing-card,
.infographic-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
}
.community-card__media { display: block; }
.content-body .community-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
/* Preserve complete organization marks in the mixed photo/logo collection. */
.content-body .community-card__media img:is(
  [src*="creighton1-e1443634437861"],
  [src*="azlawhelp-e1443633901565"],
  [src*="asu_logo_1"],
  [src*="child-fund-e1443633485522"],
  [src*="stvincentdepaul"]
) {
  object-fit: contain;
  padding: 1rem;
  background: var(--white);
}
.community-card__body { padding: clamp(1.5rem, 2.4vw, 2rem); }
.community-card__body :is(h3, h4) {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
}
.community-card__body p:last-child { margin-bottom: 0; }
.pricing-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
}
.content-body .pricing-card h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.18;
}
.pricing-card hr { width: 100%; margin: 0 0 1.5rem; }
.content-body .pricing-card .pricing-card__price {
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.15;
}
.pricing-card__price em { font-style: normal; }
.pricing-card > div:last-child { margin-top: auto; padding-top: 1rem; }
.pricing-card > div:last-child > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 1rem;
  color: var(--coral-dark);
}
.pricing-card > div:last-child > a::after { content: '→'; }
.infographic-card__preview { display: block; padding: 1.5rem; background: var(--alabaster); }
.content-body .infographic-card__preview img {
  width: 100%;
  height: 300px;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}
.content-body .infographic-card figcaption { padding: 1.5rem; }
.content-body .infographic-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  line-height: 1.15;
}
.infographic-card figcaption > a { display: inline-flex; min-height: 44px; align-items: center; }
.content-body .rich-card.rich-card--icon img {
  width: 96px;
  height: 96px;
  margin: 2rem auto 0;
  object-fit: contain;
  border-radius: 0;
}

.content-body .article-toc {
  max-width: 900px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--alabaster);
}
.content-body .article-toc > h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
}
.content-body .article-toc > a {
  display: block;
  min-height: 44px;
  margin: 0;
  padding-block: 0.8rem;
  border-top: 1px solid var(--v2-rule);
  line-height: 1.5;
}
.content-body .book-directory .book-chapter-groups,
.content-body .book-directory .book-chapter-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.book-directory .book-chapter-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}
.content-body .book-directory .book-chapter-group {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--white);
  list-style: none;
}
.content-body .book-directory .book-chapter-group > h3 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.inner-page .content-body .book-directory .book-chapter-group > h3 a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: inherit;
  font-weight: 500;
}
.content-body .book-directory .book-chapter-list > li { margin: 0; padding: 0; list-style: none; }
.book-directory .book-chapter-list > li::marker,
.book-directory .book-chapter-group::marker { content: ''; }
.inner-page .content-body .book-directory .book-chapter-list > li > a {
  display: block;
  min-height: 44px;
  padding: 0.75rem 0;
  border: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.book-directory a:hover { color: var(--coral-dark) !important; text-decoration: underline !important; }
.book-directory .book-search { margin-bottom: 2rem; }
.book-toc .book-directory .book-chapter-groups,
.book-toc .book-directory .knowledge-library__tools { grid-template-columns: 1fr; }
.content-body .book-toc .book-directory .book-chapter-group {
  padding: 1.25rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.content-body .book-toc .book-directory .book-chapter-group > h3 { font-size: 1.25rem; }
.book-toc .book-directory .book-search { padding: 0; background: transparent; }
.book-toc .book-directory .book-chapter-groups { gap: 0.5rem; }

@media (max-width: 1050px) {
  .community-grid,
  .pricing-grid,
  .infographic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .community-grid,
  .pricing-grid,
  .infographic-grid,
  .book-directory .book-chapter-groups { grid-template-columns: 1fr; }
}

/* Prototype notices and controls ---------------------------------------- */

.inner-page .prototype-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.45rem 1rem;
  margin: 0 0 2rem;
  padding: 1.35rem;
  border: 1px solid rgba(216, 98, 81, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(216, 98, 81, 0.08);
}

.inner-page .prototype-notice::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 28px;
}

.inner-page .prototype-notice strong,
.inner-page .prototype-notice p {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.inner-page .prototype-notice strong {
  grid-row: 1;
}

.inner-page .prototype-notice p {
  grid-row: 2;
  margin: 0;
}

.content-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.content-body select,
.content-body textarea {
  max-width: 100%;
}

.content-body input[type="checkbox"],
.content-body input[type="radio"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0 0.65rem 0 0;
  padding: 0;
  accent-color: var(--coral);
  box-shadow: none;
  vertical-align: -4px;
}

/* Checklists and book navigation */

.template-family-checklist .content-body {
  max-width: 1050px;
  margin-inline: auto;
}

.template-family-checklist .content-body li:has(input[type="checkbox"]),
.template-family-checklist .content-body li:has(input[type="radio"]) {
  margin: 0.55rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-sm);
  background: var(--white);
  list-style: none;
}

.template-family-checklist .content-body li label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  cursor: pointer;
}

.template-family-checklist .content-body li label input {
  margin-top: 0.2rem;
}

.book-layout {
  display: grid !important;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.book-toc {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 130px);
  overflow: auto;
  padding: 1.4rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--alabaster);
}

.book-toc h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.book-toc ul {
  display: block !important;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.book-toc a {
  display: block;
  min-height: 0;
  justify-content: flex-start;
  margin: 0;
  padding: 0.58rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--ink) !important;
  font-weight: 650 !important;
  line-height: 1.45;
  text-decoration: none !important;
}

.book-toc a::after {
  display: none;
}

.book-toc li + li {
  margin-top: 0.2rem;
}

.book-toc ul ul {
  margin: 0.35rem 0 0.85rem;
  padding-left: 0.7rem;
  border: 0;
}

.book-toc ul ul a {
  color: var(--muted) !important;
  font-weight: 550 !important;
}

.book-toc .link-cluster {
  display: block;
}

.book-toc .link-cluster li {
  margin-bottom: 0.4rem;
}

.book-toc a {
  min-height: 44px;
}

.book-toc > div > div:has(> h2) > ul > li > a {
  margin-top: 0.65rem;
  background: rgba(216, 98, 81, 0.08);
  color: var(--coral-dark) !important;
  font-size: 0.875rem;
  font-weight: 750 !important;
  letter-spacing: 0.035em;
}

/* Archives and media */

.archive-collection > ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.archive-collection a {
  border-radius: var(--radius);
}

.archive-collection a :is(h2, h3) {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.media-attachment {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
}

/* Legal separation comparison: only this named component is affected. */
.content-body .legal-comparison {
  container: legal-comparison / inline-size;
}

.content-body .legal-comparison h2 {
  margin-top: 0;
}

.content-body .legal-comparison__legend {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 1.25rem 0 1.5rem;
  color: var(--ink-3);
  font-size: max(14px, 0.875rem);
  line-height: 1.5;
}

.legal-comparison__legend > span {
  flex: 0 0 1rem;
  height: 1rem;
  border: 1px solid var(--coral-dark);
  border-radius: 3px;
  background: #fbefe9;
}

.legal-comparison__frame {
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: 16px;
  background: var(--white);
}

.content-body .legal-comparison__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

.legal-comparison__table col {
  width: 27%;
}

.legal-comparison__table col.legal-comparison__topic {
  width: 46%;
}

.content-body .legal-comparison__table :is(th, td) {
  padding: 1.25rem;
  border: 0;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: anywhere;
}

.content-body .legal-comparison__table thead th {
  padding-block: 1.5rem;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 650;
}

.content-body .legal-comparison__table thead th:nth-child(2) {
  background: var(--ink-2);
}

.content-body .legal-comparison__table tbody :is(th, td) {
  border-top: 1px solid var(--v2-rule);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.content-body .legal-comparison__table tbody th {
  font-weight: 550;
}

.content-body .legal-comparison__table tbody td {
  border-left: 1px solid var(--v2-rule);
}

.legal-comparison__table tbody tr:nth-child(even) {
  background: var(--paper);
}

.legal-comparison__table tbody tr.legal-comparison__row--different {
  background: #fbefe9;
}

.legal-comparison__answer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 650;
}

.legal-comparison__answer--text {
  font-weight: 450;
}

.legal-comparison__answer svg {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--mineral);
  color: var(--ink-3);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-comparison__answer--no svg {
  background: #f0ebe5;
}

.legal-comparison__mobile-label {
  display: none;
}

/* Reflow according to the article column, including beside the desktop rail. */
@container legal-comparison (max-width: 40rem) {
  .content-body .legal-comparison__table,
  .legal-comparison__table tbody {
    display: block;
  }

  .legal-comparison__table colgroup {
    display: none;
  }

  .legal-comparison__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .legal-comparison__table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.25rem;
    border-top: 1px solid var(--v2-rule);
  }

  .legal-comparison__table tbody tr:first-child {
    border-top: 0;
  }

  .content-body .legal-comparison__table tbody :is(th, td) {
    padding: 0;
    border: 0;
  }

  .content-body .legal-comparison__table tbody th {
    grid-column: 1 / -1;
    padding-bottom: 1rem;
    font-size: 1.0625rem;
  }

  .content-body .legal-comparison__table tbody td:first-of-type {
    padding-right: 1rem;
  }

  .content-body .legal-comparison__table tbody td:last-of-type {
    padding-left: 1rem;
    border-left: 1px solid var(--v2-rule);
  }

  .legal-comparison__mobile-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ink-3);
    font-size: max(14px, 0.875rem);
    font-weight: 500;
    line-height: 1.4;
  }
}

@container legal-comparison (max-width: 22rem) {
  .legal-comparison__mobile-label {
    min-height: 2.8em;
  }
}

/* Related content and closing CTA --------------------------------------- */

.related-section {
  padding-block: clamp(5rem, 8vw, 7.5rem);
  border-top: 1px solid var(--v2-rule);
  background: var(--alabaster);
}

.related-section__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.related-section__heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.related-section__heading > p {
  margin: 0;
  max-width: 65ch;
  color: var(--muted);
  line-height: 1.75;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.inner-page .related-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.inner-page .related-card::before,
.inner-page .related-card::after {
  display: none;
}

.inner-page .related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.related-card figure {
  overflow: hidden;
  margin: 0;
}

.related-card figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms ease;
}

.related-card:hover figure img {
  transform: scale(1.035);
}

.related-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.related-card__kicker {
  margin-bottom: 1.15rem;
  color: var(--coral-dark);
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.inner-page .related-card h3 {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 550;
  letter-spacing: -0.025em;
  line-height: 1.06;
}

.inner-page .related-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

.inner-page .related-card strong {
  margin-top: auto;
  color: var(--ink);
}

.closing-cta {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: var(--paper);
}

.closing-cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(290px, 0.55fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(140, 167, 206, 0.28), transparent 34%),
    var(--ink);
  box-shadow: 0 2rem 5rem rgba(17, 24, 49, 0.18);
  color: var(--white);
}

.closing-cta__panel::after {
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 410px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.018);
  content: "";
}

.closing-cta .eyebrow {
  color: #f3a08d;
}

.closing-cta h2 {
  max-width: 650px;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.closing-cta__panel > div:last-child {
  position: relative;
  z-index: 2;
}

.closing-cta__panel > div:last-child > p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

/* Profile and team refinements ------------------------------------------ */

.template-team-profile .content-body img:first-of-type {
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
}

.template-team-index .content-body .rich-card img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.template-team-index .content-body .team-story p {
  max-width: none;
}

.team-grid-heading {
  margin: clamp(4.5rem, 8vw, 7rem) 0 2rem;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--v2-rule);
}

.team-grid-heading h2 {
  max-width: 860px;
  margin: 0;
}

.team-grid-source {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card-source {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.team-card-source > div {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.team-card-source > div > div:first-child {
  overflow: hidden;
}

.team-card-source img {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
}

.team-card-source > div > div:last-child {
  order: 2;
  padding: 1.25rem 1.25rem 0.8rem;
}

.team-card-source h4 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  line-height: 1.05;
}

.team-card-source h5 {
  margin: 0;
  color: var(--coral-dark);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.team-card-source > div > a {
  order: 3;
  margin-top: auto;
  padding: 0 1.25rem 1.35rem;
  color: var(--ink) !important;
  font-weight: 750;
  text-decoration: none !important;
}

.team-card-source > div > a::after {
  margin-left: 0.45rem;
  color: var(--coral);
  content: "→";
}

.template-team-index .related-section {
  display: none;
}

.inner-page .local-checklist-progress strong {
  color: var(--white);
}

/* Footer stability */

.inner-page .office-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.inner-page .office-grid article {
  min-width: 0;
}

.inner-page .office-grid h2,
.inner-page .office-grid p,
.inner-page .office-grid a {
  overflow-wrap: anywhere;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1120px) {
  .inner-hero__grid,
  .inner-hero--editorial .inner-hero__grid,
  .inner-hero--knowledge .inner-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
    gap: 3rem;
  }

  .content-layout,
  .content-layout--reading {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 3.5rem;
  }

  .rich-card-grid,
  .archive-collection > ul,
  .team-grid-source {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calculator-shell {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-preview {
    grid-column: 1 / -1;
  }

  .inner-page .office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .inner-hero__grid,
  .inner-hero--editorial .inner-hero__grid,
  .inner-hero--knowledge .inner-hero__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .inner-hero__portrait,
  .inner-hero__experience,
  .inner-hero__knowledge,
  .inner-hero__utility-card {
    width: min(100%, 720px);
    max-width: none;
    justify-self: start;
  }

  .inner-hero__portrait > img,
  .inner-hero--editorial .inner-hero__portrait > img,
  .inner-hero--profile .inner-hero__portrait > img,
  .inner-hero--collection .inner-hero__portrait > img {
    height: min(68vw, 560px);
  }

  .content-layout,
  .content-layout--reading {
    grid-template-columns: 1fr;
  }

  .content-rail {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-panel {
    grid-template-columns: 1fr;
  }

  .prose--consultation form.conversion-form[data-static-form] {
    border-inline-start: 0;
    border-top: 1px solid var(--v2-rule);
  }

  .calculator-shell {
    grid-template-columns: 1fr;
  }

  .calculator-preview {
    grid-column: auto;
  }

  .book-layout {
    grid-template-columns: 1fr;
  }

  .book-toc {
    position: relative;
    top: auto;
    max-height: 460px;
  }

  .related-section__heading,
  .closing-cta__panel,
  .editorial-intro-shell {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .media-attachment {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .knowledge-library__tools {
    grid-template-columns: 1fr;
  }

  .knowledge-library__nav {
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .workflow-shell {
    padding: 1.5rem;
  }

  .workflow-shell ol {
    grid-template-columns: 1fr;
  }

  .calculator-shell__intro,
  .calculator-form,
  .calculator-preview {
    padding: 1.5rem;
  }
  .inner-hero__grid,
  .inner-hero--editorial .inner-hero__grid,
  .inner-hero--knowledge .inner-hero__grid,
  .inner-hero--utility .inner-hero__grid {
    gap: 2.25rem;
    padding-block: 3.5rem;
  }

  .inner-hero::after {
    right: -220px;
    bottom: -260px;
    width: 470px;
  }

  .inner-hero .breadcrumbs {
    overflow: hidden;
    margin-bottom: 1.35rem;
    white-space: nowrap;
  }

  .inner-hero .breadcrumbs ol {
    flex-wrap: nowrap;
  }

  .inner-hero .breadcrumbs li:not(:first-child):not(:last-child) {
    display: none;
  }

  .inner-hero .breadcrumbs li:last-child {
    min-width: 0;
  }

  .inner-hero .breadcrumbs li:last-child span {
    display: block;
    overflow: hidden;
    max-width: 210px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inner-hero h1,
  .inner-hero--editorial h1,
  .inner-hero--knowledge h1,
  .inner-hero--utility h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
    line-height: 0.96;
  }

  .inner-hero h1[data-long-title],
  .inner-hero__copy:has(h1:nth-child(n+5)) h1 {
    font-size: 2.7rem;
  }

  .inner-hero__lede {
    margin-top: 1.15rem;
    line-height: 1.65;
  }

  .inner-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inner-hero__actions .button,
  .inner-hero__phone {
    width: 100%;
    justify-content: center;
  }

  .inner-hero__portrait {
    border-radius: 1.25rem 1.25rem 4rem 1.25rem;
  }

  .inner-hero--profile .inner-hero__portrait {
    border-radius: 4rem 1.25rem 1.25rem 1.25rem;
  }

  .inner-content,
  .related-section {
    padding-block: clamp(4.5rem, 17vw, 6rem);
  }

  .content-body h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .content-body h3 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .content-rail,
  .rich-card-grid,
  .archive-collection > ul,
  .team-grid-source,
  .metric-grid,
  .link-cluster,
  .related-grid,
  .workflow-shell ol {
    grid-template-columns: 1fr;
  }

  .related-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .conversion-panel {
    --conversion-padding: 1.6rem;
    border-radius: var(--radius);
  }

  .conversion-panel__intro,
  .conversion-form,
  .calculator-shell__intro,
  .calculator-form,
  .calculator-preview,
  .workflow-shell {
    padding: 1.6rem;
  }

  .conversion-form__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .conversion-form .form-grid {
    grid-template-columns: 1fr;
  }

  .conversion-form .form-field--full {
    grid-column: auto;
  }

  .workflow-shell ol {
    gap: 1px;
  }

  .closing-cta {
    padding-block: 4rem;
  }

  .closing-cta__panel {
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
  }

  .closing-cta h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .inner-page .office-grid {
    grid-template-columns: 1fr;
  }

  .inner-page .mobile-cta {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .inner-page.mobile-cta-managed .mobile-cta {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 220ms ease;
  }

  .inner-page.mobile-cta-managed .mobile-cta.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .inner-page.has-mobile-cta .site-footer {
    padding-bottom: 74px;
  }
}

@media (max-width: 400px) {
  .inner-hero h1,
  .inner-hero--editorial h1,
  .inner-hero--knowledge h1,
  .inner-hero--utility h1 {
    font-size: 2.55rem;
  }

  .inner-hero__grid {
    padding-block: 3rem;
  }

  .inner-hero__portrait > img,
  .inner-hero--editorial .inner-hero__portrait > img,
  .inner-hero--profile .inner-hero__portrait > img,
  .inner-hero--collection .inner-hero__portrait > img {
    height: 108vw;
    max-height: 440px;
  }

  .content-body .lead {
    font-size: 1.35rem !important;
  }

  .rail-card dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 1120px) {
  .service-story__topic-grid,
  .service-step-section--filing .service-step-grid,
  .service-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-story__topic-card:last-child:nth-child(odd),
  .service-step-section--filing .service-step-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .service-video-panel__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
    gap: 2.5rem;
  }

  .service-video-panel__media > div {
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .service-story__overview-grid,
  .service-step-section--response > div > div,
  .service-video-panel__grid,
  .service-mid-cta,
  .service-faq__header {
    grid-template-columns: 1fr;
  }

  .service-story__overview-title {
    grid-row: auto;
  }

  .service-story__overview-grid > p {
    grid-column: 1;
  }

  .service-story__overview-title h2 {
    max-width: 11ch;
  }

  .service-story__nav {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .content-layout--service-story .content-body > .content-section-block,
  .content-layout--service-story .content-body > .service-mid-cta {
    scroll-margin-top: 96px;
  }

  .service-video-panel__content > div {
    padding: 1.5rem 1rem 2rem;
  }

  .service-step-section--response .service-step-section__heading {
    margin-bottom: 0;
  }

  .service-mid-cta__actions {
    width: min(100%, 360px);
    min-width: 0;
  }

  .service-faq__header .eyebrow {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .inner-content--service-story {
    padding-block: 3.25rem;
  }

  .content-layout--service-story .content-body {
    --service-story-gap: 3rem;
  }

  .service-story__overview,
  .service-video-panel,
  .service-step-section,
  .service-roadmap-section,
  .service-mid-cta,
  .service-faq-section {
    padding: 1.5rem;
    border-radius: var(--radius);
  }

  .content-layout--service-story .content-body > .content-section-block.service-video-panel,
  .content-layout--service-story .content-body > .content-section-block.service-step-section,
  .content-layout--service-story .content-body > .content-section-block.service-roadmap-section,
  .content-layout--service-story .content-body > .content-section-block.service-faq-section {
    padding: 1.5rem;
  }

  .service-story__overview-title h2 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .service-story__nav {
    justify-content: flex-start;
    border-radius: var(--radius-sm);
  }

  .service-story__nav > span {
    display: none;
  }

  .service-story__topic-grid,
  .service-step-grid,
  .service-step-section--filing .service-step-grid,
  .service-roadmap-grid,
  .service-faq__grid {
    grid-template-columns: 1fr;
  }

  .service-story__topic-card:last-child:nth-child(odd),
  .service-step-section--filing .service-step-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .service-story__topic-card > div,
  .service-step-card > div {
    padding: 1.4rem;
  }

  .service-video-panel__media > div {
    min-height: 330px;
  }

  .service-video-panel__play {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .service-video-panel__content h3,
  .service-step-section__heading h3,
  .service-mid-cta h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .service-step-section--response .service-step-card > div {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .service-step-section--response .service-step-card > div > div {
    grid-column: 1 / -1;
  }

  .service-step-section--response .service-step-card__number {
    grid-row: 1;
  }

  .service-roadmap-grid::before {
    display: none;
  }

  .service-roadmap-grid {
    gap: 1.5rem;
  }

  .service-roadmap-card {
    padding: 0 0 1.5rem;
    border-bottom: 1px solid var(--v2-rule);
  }

  .service-roadmap-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .service-roadmap-card__number {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
  }

  .service-mid-cta__actions,
  .service-mid-cta__actions .button {
    width: 100%;
  }

  .service-faq__header h2 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }
}

/* A process panel responds to its article width, including beside a reading rail. */
.content-body > .article-section.service-video-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 0;
}

@container service-video (max-width: 55rem) {
  .service-video-panel__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 1.75rem;
  }

  .service-video-panel__media > div {
    min-height: 360px;
    border-radius: var(--radius);
  }

  .content-body .service-video-panel__media img {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
  }

  .service-video-panel__content > div {
    padding: 1rem 0;
  }

  .service-video-panel__content h3 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 5cqi, 3rem);
  }

  .content-body .service-video-panel__steps {
    margin: 0;
    padding: 0;
  }

  .service-video-panel__steps li {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.6rem;
    padding-block: 0.75rem;
  }

  .service-video-panel__play {
    inset-inline: 1rem;
    bottom: 1rem;
  }
}

@container service-video (max-width: 38rem) {
  .service-video-panel__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .service-video-panel__media > div {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .service-video-panel__content > div {
    padding: 0.25rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-item summary,
  .content-body details summary,
  .faq-item summary::after,
  .content-body details summary::after,
  .inner-page .rich-card,
  .inner-page .related-card,
  .related-card figure img,
  .service-story__topic-card,
  .service-story__nav a,
  .service-video-panel__play {
    transition: none;
  }
}

@media print {
  .inner-hero,
  .inner-content,
  .related-section,
  .closing-cta {
    min-height: 0;
    padding-block: 24pt;
    background: #fff !important;
    color: #111 !important;
  }

  .inner-hero__grid,
  .content-layout,
  .content-layout--reading {
    display: block;
    min-height: 0;
    padding-block: 0;
  }

  .inner-hero__backdrop,
  .inner-hero__portrait,
  .inner-hero__experience,
  .inner-hero__knowledge,
  .inner-hero__utility-card,
  .content-rail,
  .related-section,
  .closing-cta {
    display: none !important;
  }

  .inner-hero h1,
  .inner-hero--service h1,
  .inner-hero--profile h1,
  .inner-hero--utility h1 {
    color: #111 !important;
    font-size: 34pt;
  }
}
/* Scoped extensions of the reference service guide for the divorce hub pages. */
.service-story__overview-grid > .service-overview__copy {
  min-width: 0;
  grid-column: 2;
  max-width: 72ch;
}
.service-overview__copy > .lead {
  color: inherit;
  font-family: var(--sans);
  font-size: inherit !important;
  font-weight: 400;
  line-height: 1.86;
}
.service-overview__copy > :last-child,
.service-guide__copy > :last-child {
  margin-bottom: 0;
}
.service-overview__copy > p + p:last-child {
  padding-top: 1.25rem;
  border-top: 1px solid var(--v2-rule);
}
.service-guide__section.service-story__overview .service-story__overview-title h2 {
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  overflow-wrap: normal;
}
.content-layout--service-story .content-body > .service-guide__notice {
  margin-bottom: var(--service-story-gap);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--mineral);
}
.service-guide__notice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 3rem;
}
.service-guide__notice h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}
.service-guide__notice .lead {
  max-width: 75ch;
  margin-bottom: 0;
  font-size: 1.05rem !important;
}
.service-guide__notice a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-weight: 700;
}
.content-layout--service-story .content-body > .service-guide__editorial {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.service-guide__row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.service-guide__row > :is(h2, h3, h4),
.service-guide__heading :is(h2, h3, h4) {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}
.service-guide__copy {
  min-width: 0;
  max-width: 72ch;
}
.service-guide__copy :is(h3, h4):first-child {
  margin-top: 0;
}
.service-guide__copy li + li {
  margin-top: 0.65rem;
}
.service-guide__rows > div + div,
.service-guide__editorial > .service-guide__row + .service-guide__row {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--v2-rule);
}
.service-guide__row-number {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
  color: var(--coral-dark);
  font-weight: 750;
}
.service-guide__grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.service-guide__section .service-step-section__heading h2 {
  margin-top: 0;
}
.service-guide__response .service-step-card > div:not(:has(.service-step-card__number)) {
  display: block;
}
.service-guide__definitions .service-story__topic-card h4 {
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
}
.service-guide__definitions .service-story__topic-card > div {
  padding: 1.5rem;
}
.service-guide__faq .service-faq__header {
  display: block;
  max-width: 880px;
}
.service-guide__faq .service-faq__column {
  margin-top: 0;
}
.service-guide__faq .service-faq__answer :is(ul, ol) {
  padding-left: 1.3rem;
}
@media (max-width: 900px) {
  .service-story__overview-grid > .service-overview__copy {
    grid-column: 1;
  }
  .service-guide__section.service-story__overview .service-story__overview-title h2 {
    max-width: 18ch;
  }
  .service-guide__row,
  .service-guide__notice-grid {
    grid-template-columns: 1fr;
  }
  .service-guide__row-number {
    grid-column: auto;
  }
}
@media (max-width: 720px) {
  .content-layout--service-story .content-body > .service-guide__editorial,
  .content-layout--service-story .content-body > .service-guide__notice {
    padding: 1.5rem;
    border-radius: var(--radius);
  }
  .service-guide__grid--two {
    grid-template-columns: 1fr;
  }
  .service-guide__section.service-story__overview .service-story__overview-title h2 {
    font-size: clamp(2.7rem, 11.5vw, 3.8rem);
  }
}
/* Custody calculator: the existing preview form in the shared service layout. */
.content-layout--service-story .custody-calculator {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  margin-top: var(--service-story-gap);
  padding: 1px;
}
.custody-calculator .calculator-preview {
  grid-column: auto;
}
.custody-calculator .calculator-form {
  min-width: 0;
  align-content: start;
}
.custody-calculator :is(input, select) {
  min-width: 0;
  font-size: 1rem;
}
@media (max-width: 720px) {
  .content-layout--service-story .custody-calculator {
    grid-template-columns: 1fr;
  }
}
/* Long original custody headings remain readable in the reference service grid. */
.service-guide__section.service-story__overview.service-custody__long-overview .service-story__overview-title h2 {
  font-size: clamp(2.55rem, 4vw, 3.8rem);
  line-height: 1.02;
}
.service-guide__row > h4.service-custody__long-heading {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.2;
}
.service-guide__heading > .service-custody__label {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}
.service-custody__label > strong {
  font-weight: inherit;
}
.service-custody__notice > div {
  max-width: 85ch;
  margin-inline: auto;
}
.service-custody__notice h3 {
  margin-top: 0;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}
.service-custody__notice li + li {
  margin-top: 0.65rem;
}
.service-custody__notice p:last-child {
  margin-bottom: 0;
}
/* Preserve panel padding when two custody guidance sections are adjacent. */
.content-layout--service-story .content-body > .service-guide__editorial[data-custody-core-guide],
.content-layout--service-story .content-body > .service-guide__editorial[data-custody-family-guide] {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
.content-layout--service-story .content-body > .service-guide__notice[data-custody-core-guide],
.content-layout--service-story .content-body > .service-guide__notice[data-custody-family-guide] {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.content-body .custody-calculator form.calculator-form[data-static-form] {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}
.content-body .custody-calculator form.calculator-form label > div input {
  border: 0;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 720px) {
  .content-layout--service-story .content-body > .service-guide__editorial[data-custody-core-guide],
  .content-layout--service-story .content-body > .service-guide__editorial[data-custody-family-guide],
  .content-layout--service-story .content-body > .service-guide__notice[data-custody-core-guide],
  .content-layout--service-story .content-body > .service-guide__notice[data-custody-family-guide] {
    padding-top: 1.5rem;
  }
}

/* Mediation benefit guides reuse the reference service panels and rows. */
[data-mediation-benefits-guide] .service-mediation__benefit-heading {
  margin-top: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  text-transform: none;
  letter-spacing: -0.02em;
}
.service-guide__section.service-story__overview[data-mediation-benefits-guide] .service-story__overview-title h2.service-mediation__long-heading {
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  line-height: 1.08;
  max-width: none;
}
[data-mediation-benefits-guide] .service-story__section-heading h2.service-mediation__long-heading {
  max-width: 32ch;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.15;
}
[data-mediation-benefits-guide] .service-guide__copy > .lead {
  color: inherit;
  font-family: var(--sans);
  font-size: inherit !important;
  font-weight: 400;
  line-height: 1.86;
}
.content-layout--service-story .content-body > .service-guide__editorial[data-mediation-benefits-guide] {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
[data-mediation-benefits-guide] .service-mediation__overview-list,
[data-mediation-benefits-guide] .service-mediation__ordered-benefits {
  margin: 0;
  padding-left: 1.75rem;
}
[data-mediation-benefits-guide] .service-mediation__ordered-benefits > li {
  padding-left: 0.35rem;
}
[data-mediation-benefits-guide] .service-mediation__ordered-benefits > li + li {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--v2-rule);
}
[data-mediation-benefits-guide] .service-mediation__ordered-benefits > li::marker,
[data-mediation-benefits-guide] .service-mediation__overview-list > li::marker {
  color: var(--coral-dark);
  font-family: var(--sans);
  font-weight: 750;
}
@media (max-width: 720px) {
  .content-layout--service-story .content-body > .service-guide__editorial[data-mediation-benefits-guide] {
    padding-top: 1.5rem;
  }
  [data-mediation-benefits-guide] .service-mediation__benefit-heading {
    font-size: 1.65rem;
  }
}

/* The long original article question fits the established split overview. */
.service-guide__section.service-story__overview.service-mediation-guidance__overview--long .service-story__overview-title h2 {
  font-size: clamp(2.55rem, 4vw, 3.8rem);
  line-height: 1.02;
}

/* The mediation overview reuses the service guide, retaining its source media. */
.service-mediation__overview .service-story__overview-title h6 {
  margin: 0 0 1rem;
  color: var(--coral-dark);
  font: 750 0.875rem/1.5 var(--sans);
  letter-spacing: 0.07em;
}
.service-guide__section.service-mediation__overview .service-story__overview-title h2 {
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  line-height: 1.05;
}
.content-body .service-mediation__benefit-card > img {
  width: 64px;
  height: 64px;
  aspect-ratio: 1;
  margin: 2rem 2rem 0;
  object-fit: contain;
}
.service-mediation__benefits .rich-card__body {
  padding: 1.5rem 2rem 2rem;
}
.service-mediation__feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.service-mediation__feature-image img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  margin: 0;
  border-radius: var(--radius-sm);
}
.service-mediation__feature-copy {
  min-width: 0;
  max-width: 72ch;
}
.service-mediation__feature-copy h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}
.service-mediation__feature-copy h4 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.25;
}
.service-mediation__feature-copy h6 {
  margin: 0 0 1rem;
  color: var(--coral-dark);
  font: 750 0.875rem/1.5 var(--sans);
  letter-spacing: 0.07em;
}
.content-layout--service-story .content-body > [data-mediation-hub-guide].service-guide__editorial {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) {
  .service-mediation__feature-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-mediation__feature-image img {
    max-width: 340px;
    max-height: 260px;
  }
}

.content-layout--service-story .content-body > .service-guide__editorial[data-mediation-guidance] {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 720px) {
  .content-layout--service-story .content-body > .service-guide__editorial[data-mediation-guidance],
  .content-layout--service-story .content-body > .service-guide__editorial[data-mediation-hub-guide] {
    padding-top: 1.5rem;
  }
  .service-guide__section.service-story__overview[data-mediation-benefits-guide] .service-story__overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-guide__section.service-story__overview[data-mediation-benefits-guide] .service-story__overview-title h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    overflow-wrap: anywhere;
  }
}

/* Resource entry pages share the established service-page structure. */
.service-guide__section.service-resource__overview .service-story__overview-title h2 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}
.service-resource__overview .service-story__overview-grid > * {
  min-width: 0;
}
.content-layout--service-story .content-body > .service-story__nav + [data-resource-guide] {
  margin-top: var(--service-story-gap);
}
.content-layout--service-story .content-body > .service-guide__editorial[data-resource-guide] {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}
.service-resource__editorial .service-story__section-heading {
  margin-bottom: 2.25rem;
}
.service-resource__editorial .service-story__section-heading h2 {
  max-width: 30ch;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.1;
}
.service-resource__editorial .service-guide__row > h3 {
  min-width: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.service-resource__prose {
  max-width: 80ch;
}
.service-resource__prose + .service-guide__row {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--v2-rule);
}
.service-resource__prose > :first-child { margin-top: 0; }
.service-resource__prose > :last-child { margin-bottom: 0; }
.service-resource__editorial :is(ol, ul) { padding-left: 1.35rem; }
.service-resource__editorial li + li { margin-top: 0.75rem; }
.service-resource__editorial .service-resource__price {
  margin: 0 0 1rem;
  color: var(--coral-dark);
  font: 650 1.2rem/1.5 var(--sans);
  text-transform: none;
  letter-spacing: 0;
}
.service-resource__editorial .service-resource__price em { font-style: normal; }
.service-resource__editorial .service-guide__copy hr { margin-block: 1.25rem; }
.service-resource__editorial img { max-height: 420px; object-fit: contain; }
.service-resource__collection > .service-story__section-heading { margin-bottom: 2rem; }
.service-resource__collection .rich-card__body { display: flex; flex: 1; flex-direction: column; }
.service-resource__collection .rich-card__action { align-self: flex-start; margin-top: auto; }
.service-resource__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-resource__knowledge .knowledge-library { margin-top: 0; }
.service-resource__knowledge .service-faq__item { margin-bottom: 0.85rem; }
.service-resource__knowledge .service-faq__answer { padding: 0 1.5rem 1.5rem; }
.service-resource__knowledge .faq-list { max-width: none; }
.service-resource__collection :is(.knowledge-library__tools, .book-search) input { min-width: 0; font-size: 1rem; }
.service-resource__book .book-directory .book-chapter-groups { gap: 1.5rem; }
.service-resource__book .book-directory .book-chapter-group { min-width: 0; }
.service-resource__book .book-directory .book-chapter-group h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; }
.service-resource__book img { max-height: 380px; width: auto; object-fit: contain; }
.service-resource__ebooks .rich-card-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.content-body .service-resource__ebooks .rich-card {
  display: grid !important;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
}
.content-body .service-resource__ebooks .rich-card > img {
  width: 100%; height: 220px; aspect-ratio: auto; object-fit: contain;
}
.service-resource__ebooks .rich-card:not(:has(> img)) .rich-card__body { grid-column: 1 / -1; }
.service-resource__ebooks .rich-card__body { padding-block: 0; }
.service-resource__ebooks .rich-card__action { margin-top: 1rem; }
.service-resource__video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.service-resource__video-item {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--white);
}
.service-resource__video-item blockquote {
  margin: 0; padding: 0; border: 0; background: transparent;
  font: 400 1rem/1.8 var(--sans); color: var(--muted);
}
.service-resource__video-item blockquote .content-section-block { margin: 0; padding: 0; }
.service-resource__video-item h4 { font-size: 1.65rem; line-height: 1.18; }
.service-resource__longform > div { max-width: 85ch; margin-inline: auto; }
.service-resource__longform h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.service-resource__longform h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 900px) {
  .service-resource__overview .service-story__overview-grid { grid-template-columns: minmax(0, 1fr); }
  .service-resource__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .content-layout--service-story .content-body > .service-guide__editorial[data-resource-guide] { padding-top: 1.5rem; }
  .service-guide__section.service-resource__overview .service-story__overview-title h2 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .service-resource__cards, .service-resource__video-grid { grid-template-columns: minmax(0, 1fr); }
  .content-body .service-resource__ebooks .rich-card { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .service-resource__ebooks .rich-card:not(:has(> img)) .rich-card__body { grid-column: auto; }
  .service-resource__ebooks .rich-card__body { padding: 0; }
}

/* The Divorce Coach: a book directory with one readable chapter sequence. */
.template-book-directory {
  --book-section-gap: clamp(2.5rem, 5vw, 4rem);
  --book-row-space: 1.5rem;
}
.template-book-directory .inner-hero__grid {
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  padding-block: clamp(3rem, 5vw, 5rem);
}
.template-book-directory .inner-hero h1 { max-width: 13ch; font-size: clamp(3.2rem, 6vw, 5.5rem); }
.template-book-directory .inner-hero__lede { max-width: 54ch; }
.template-book-directory .coach-book-cover {
  position: relative;
  z-index: 1;
  margin: 0;
  justify-self: center;
}
.coach-book-cover a { display: block; }
.coach-book-cover img { display: block; width: 245px; max-width: 100%; height: auto; }
.template-book-directory .content-body {
  --service-story-gap: var(--book-section-gap);
}
.template-book-directory .content-body > .coach-book-about {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.5rem 3rem;
  margin: 0 0 var(--book-section-gap);
  padding: 0 0 var(--book-section-gap);
  border-bottom: 1px solid var(--v2-rule);
}
.template-book-directory .coach-book-about h2,
.template-book-directory .coach-book-library__heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}
.coach-book-about__copy { min-width: 0; max-width: 72ch; }
.template-book-directory .coach-book-about__copy > p { margin: 0; }
.template-book-directory .content-body .coach-book-about__more {
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.template-book-directory .content-body .coach-book-about__more > summary {
  width: fit-content;
  min-height: 44px;
  padding: 0.65rem 2rem 0.65rem 0;
  font: 650 0.95rem/1.5 var(--sans) !important;
  color: var(--coral-dark);
}
.template-book-directory .coach-book-about__more > summary::before,
.template-book-directory .coach-book-about__more > summary::after { right: 0.3rem; }
.template-book-directory .content-body .coach-book-about__more > div { padding: 1rem 0 0; }
.template-book-directory .coach-book-about__more p:last-child { margin-bottom: 0; }
.coach-book-library { scroll-margin-top: 110px; }
.template-book-directory .coach-book-library__heading { margin-bottom: 2rem; }
.template-book-directory .coach-book-library__heading p { margin: 0.75rem 0 0; }
.coach-book-tools { margin-bottom: 1rem; }
.coach-book-search { max-width: 100%; }
.coach-book-search label { display: block; margin-bottom: 0.6rem; color: var(--ink); font-weight: 650; }
.coach-book-search__field { display: flex; align-items: stretch; gap: 0.75rem; }
.template-book-directory .coach-book-search input {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  min-height: 56px;
  padding: 0.8rem 1rem;
  border: 1px solid #8992a2;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  caret-color: var(--coral-dark);
}
.coach-book-search input::placeholder { color: #59657b; opacity: 1; }
.template-book-directory .coach-book-search button {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--v2-rule);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: 650 0.9rem/1.5 var(--sans);
  cursor: pointer;
}
.coach-book-tools__meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 0.5rem; }
.template-book-directory .coach-book-tools__meta > p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.coach-book-tools__actions { display: flex; gap: 1.5rem; }
.template-book-directory .coach-book-tools__actions button {
  min-height: 44px;
  padding: 0.65rem 0;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  font: 650 0.875rem/1.5 var(--sans);
  cursor: pointer;
  text-underline-offset: 0.2em;
}
.coach-book-tools button:disabled { opacity: 0.45; cursor: default; }
.coach-book-tools button:not(:disabled):hover { text-decoration: underline; }
.coach-book-tools input:focus-visible,
.coach-book-tools button:focus-visible,
.coach-book-cover a:focus-visible,
.coach-book-library a:focus-visible,
.coach-book-about summary:focus-visible,
.coach-book-chapter summary:focus-visible { outline: 2px solid var(--coral-dark); outline-offset: 4px; }
.template-book-directory .content-body .coach-book-chapter {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--v2-rule);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: 110px;
}
.coach-book-chapters { border-top: 1px solid var(--v2-rule); }
.template-book-directory .content-body .coach-book-chapter > summary {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 88px;
  padding: var(--book-row-space) 3.5rem var(--book-row-space) 0.75rem;
  font: 550 1.5rem/1.25 var(--serif) !important;
}
.coach-book-chapter > summary:hover,
.coach-book-chapter[open] > summary { background: var(--alabaster); }
.coach-book-chapter__number { color: var(--coral-dark); font-variant-numeric: tabular-nums; }
.coach-book-chapter__title { min-width: 0; }
.coach-book-chapter__subtitle { display: block; margin-top: 0.5rem; color: var(--muted); font: 400 0.95rem/1.5 var(--sans); }
.coach-book-chapter__count { white-space: nowrap; color: var(--muted); font: 500 0.875rem/1.5 var(--sans); }
.template-book-directory .content-body .coach-book-chapter__body { padding: 0.5rem 3.5rem 1.5rem 4.75rem; }
.template-book-directory .content-body .coach-book-topic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.template-book-directory .content-body .coach-book-topic { min-width: 0; margin: 0; padding: 0; list-style: none; }
.coach-book-topic::marker { content: ''; }
.template-book-directory .coach-book-topic > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
  height: 100%;
  padding: 1rem 0;
  border: 0;
  color: var(--ink);
  font: 500 1rem/1.55 var(--sans);
  text-decoration: none;
  text-underline-offset: 0.2em;
  overflow-wrap: break-word;
}
.template-book-directory .coach-book-topic > a:hover { color: var(--coral-dark); text-decoration: underline; }
.template-book-directory .coach-book-chapter__overview { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.75rem; color: var(--coral-dark); font-weight: 650; text-underline-offset: 0.2em; }
.template-book-directory .coach-book-appendices { margin-top: var(--book-section-gap); }
.template-book-directory .coach-book-appendices h3 { margin: 0; font-size: 2rem; }
.template-book-directory .coach-book-appendices > p { margin: 0.75rem 0 1rem; }
.coach-book-appendix-label { margin-bottom: 0.35rem; color: var(--muted); font-size: 0.875rem; }
.template-book-directory .content-body .coach-book-empty { margin: 1.5rem 0; padding: 1.5rem; background: var(--alabaster); border-radius: 12px; }
.coach-book-library [hidden] { display: none !important; }
.coach-book-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .template-book-directory .inner-hero__grid { grid-template-columns: minmax(0, 1fr) 200px; gap: 2rem; }
  .template-book-directory .coach-book-cover img { width: 200px; }
  .template-book-directory .content-body > .coach-book-about { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 600px) {
  .template-book-directory .inner-hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 2.5rem; gap: 2rem; }
  .template-book-directory .inner-hero h1 { font-size: clamp(2.75rem, 11vw, 4rem); }
  .template-book-directory .coach-book-cover { justify-self: start; }
  .template-book-directory .coach-book-cover img { width: 160px; }
  .template-book-directory .coach-book-chapter > summary { grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.4rem 0.75rem; padding: 1.25rem 2.5rem 1.25rem 0.25rem; font-size: 1.35rem !important; }
  .coach-book-chapter__count { grid-column: 2; }
  .template-book-directory .content-body .coach-book-chapter__body { padding: 0 0.25rem 1.25rem 2.75rem; }
  .template-book-directory .content-body .coach-book-topic-list { grid-template-columns: minmax(0, 1fr); }
  .template-book-directory .coach-book-chapter > summary::before,
  .template-book-directory .coach-book-chapter > summary::after { right: 0.5rem; }
  .coach-book-tools__meta { align-items: flex-start; flex-direction: column; margin-top: 0.75rem; }
  .coach-book-tools__actions { gap: 1.5rem; }
}

/* Shared service treatment for nested editor/ACF rows; retained editor content. */
.service-editor { min-width: 0; }
.service-guide__overview .service-story__overview-title h2 { text-align: left !important; }
.service-editor .service-overview__copy .lead {
  font-family: var(--sans);
  font-size: inherit !important;
  font-weight: 400;
  line-height: 1.86;
}
.service-editor > * + *,
.service-editor .service-guide__section + .service-guide__section,
.service-editor__layout + * { margin-top: var(--service-story-gap); }
.service-editor .service-guide__section { scroll-margin-top: 176px; }
.service-editor .service-guide__editorial {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.service-editor .service-editor__panel + .service-editor__panel { margin-top: var(--service-story-gap); }
.service-editor__intro {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius-lg);
  background: var(--mineral);
}
.service-editor__intro .lead { max-width: 75ch; }
.service-editor__intro > :last-child,
.service-editor__intro > div > :last-child { margin-bottom: 0; }
.service-editor__layout { display: block; min-width: 0; }
.service-editor__aside {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: var(--service-story-gap);
}
.service-editor__aside-card {
  min-width: 0;
  padding: 1.75rem;
  border: 1px solid var(--v2-rule);
  border-radius: var(--radius);
  background: var(--alabaster);
}
.service-editor__aside-card :is(h2, h3):first-child { margin-top: 0; }
.service-editor__aside-card :last-child { margin-bottom: 0; }
.service-editor__cards { margin-block: clamp(1.75rem, 3vw, 2.75rem); }
.service-editor__cards .service-story__topic-card { color: var(--ink); text-decoration: none; }
.service-editor__cards .service-story__topic-card :is(h2, h3, h4) {
  margin-top: 0;
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}
.service-editor__cards .service-story__topic-card > div > :last-child { margin-bottom: 0; }
.service-editor .service-video-panel { padding: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 720px) {
  .service-editor .service-guide__editorial,
  .service-editor__intro,
  .service-editor__aside-card { padding: 1.5rem; border-radius: var(--radius); }
  .service-editor__aside { grid-template-columns: minmax(0, 1fr); }
}
