
@media (max-width: 900px) {
  .litigation-scenario-tabs,
  .litigation-document-map,
  .litigation-trust-proof,
  .litigation-decision-grid,
  .litigation-proof-near-cta {
    grid-template-columns: 1fr;
  }

  .litigation-business-goals article {
    grid-template-columns: 1fr;
  }

  .litigation-proof-near-cta .button {
    min-height: 56px;
    border-radius: 0;
  }

  .inline-document-cta-panel {
    grid-template-columns: 1fr;
  }

  .inline-document-cta-actions {
    min-width: 0;
  }

  .priority-route-selector {
    padding-top: 18px;
  }

  .money-decision-room {
    padding-top: 18px;
  }

  .money-decision-panel,
  .money-decision-scenarios,
  .money-decision-interest,
  .money-decision-interest > div,
  .money-decision-risk-map,
  .money-decision-risk-map > div,
  .money-decision-timeline,
  .money-decision-timeline > div,
  .money-decision-legal-clock,
  .money-decision-deliverables,
  .money-decision-grid,
  .money-decision-price > div,
  .money-decision-faq {
    grid-template-columns: 1fr;
  }

  .money-decision-panel {
    padding: 18px;
  }

  .money-decision-head {
    padding-right: 0;
  }

  .money-decision-head h2 {
    font-size: 28px;
  }

  .money-decision-head p:not(.eyebrow) {
    font-size: 15px;
  }

  .money-decision-actions .button {
    width: 100%;
    justify-content: center;
  }

  .money-decision-scenarios article,
  .money-decision-interest article,
  .money-decision-risk-map article,
  .money-decision-timeline article,
  .money-decision-price article {
    min-height: 0;
  }

  .money-decision-docs {
    align-items: stretch;
  }

  .money-decision-docs small,
  .money-decision-deliverables small,
  .money-decision-routes a,
  .money-decision-banks small {
    width: 100%;
    border-radius: var(--radius);
  }

  .priority-route-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .priority-route-copy h2 {
    font-size: 28px;
  }

  .priority-route-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .priority-route-actions .button {
    width: 100%;
    justify-content: center;
  }

  .priority-route-docs {
    align-items: stretch;
  }

  .priority-route-docs small {
    width: 100%;
    border-radius: var(--radius);
  }

  .priority-route-regional {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .priority-route-result,
  .priority-route-result > div,
  .priority-route-proof,
  .priority-route-proof-grid {
    grid-template-columns: 1fr;
  }

  .priority-route-result header,
  .priority-route-result article {
    padding: 16px;
  }

  .priority-route-proof {
    padding: 16px;
  }

  .priority-route-proof-card {
    min-height: 0;
    padding: 16px;
  }
}

/* Release batch 01: keep the service intake checklist inside tablet gutters. */
.service-intake,
.service-intake ol,
.service-intake li {
  max-width: 100%;
  box-sizing: border-box;
}

.service-intake ol {
  width: 100%;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .service-intake {
    overflow: hidden;
  }
}

/* Release batch 01: restore cases index hero contrast and two-column proof layout. */
body.category-kejsy .cases-library-hero,
.cases-library-page .cases-library-hero {
  color: #fff;
}

body.category-kejsy .cases-library-hero-grid,
.cases-library-page .cases-library-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(390px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

body.category-kejsy .cases-library-copy h1,
.cases-library-page .cases-library-copy h1 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 126px);
  line-height: 0.9;
}

body.category-kejsy .cases-library-copy > p:not(.cases-index-kicker),
.cases-library-page .cases-library-copy > p:not(.cases-index-kicker) {
  max-width: 710px;
  color: rgba(226, 232, 240, 0.8);
}

body.category-kejsy .cases-library-actions,
.cases-library-page .cases-library-actions {
  display: flex;
  flex-wrap: wrap;
}

body.category-kejsy .cases-library-actions a,
.cases-library-page .cases-library-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

body.category-kejsy .cases-library-proof-panel,
.cases-library-page .cases-library-proof-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(210px, 0.72fr);
  align-items: center;
  color: #fff;
}

body.category-kejsy .cases-library-proof-stack,
.cases-library-page .cases-library-proof-stack {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}

body.category-kejsy .cases-library-proof-stack img,
.cases-library-page .cases-library-proof-stack img {
  position: absolute;
  width: 72%;
  max-width: 210px;
  aspect-ratio: 0.72;
  object-fit: cover;
}

body.category-kejsy .cases-library-proof-stack img:nth-child(1),
.cases-library-page .cases-library-proof-stack img:nth-child(1) {
  top: 38px;
  left: 0;
  transform: rotate(-5deg);
}

body.category-kejsy .cases-library-proof-stack img:nth-child(2),
.cases-library-page .cases-library-proof-stack img:nth-child(2) {
  top: 0;
  left: min(34px, 12%);
  z-index: 2;
  transform: rotate(2deg);
}

body.category-kejsy .cases-library-proof-stack img:nth-child(3),
.cases-library-page .cases-library-proof-stack img:nth-child(3) {
  right: 0;
  bottom: 12px;
  transform: rotate(6deg);
}

@media (max-width: 900px) {
  body.category-kejsy .cases-library-hero-grid,
  .cases-library-page .cases-library-hero-grid {
    grid-template-columns: 1fr;
  }

  body.category-kejsy .cases-library-proof-panel,
  .cases-library-page .cases-library-proof-panel {
    grid-template-columns: 1fr;
  }
}

/* S3 IP/trademark pages: richer first screen and less mechanical page rhythm. */
.s3-growth-landing-ip .service-landing-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 68px;
  background:
    linear-gradient(115deg, rgba(10, 18, 27, 0.99) 0%, rgba(18, 28, 40, 0.96) 48%, rgba(68, 38, 52, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(240, 198, 129, 0.08) 0 1px, transparent 1px 82px),
    #0b121a;
}

.s3-growth-landing-ip .service-landing-hero::before {
  content: "";
  position: absolute;
  inset: 18px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 198, 129, 0.36), transparent);
}

.s3-growth-landing-ip .service-landing-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: stretch;
}

.s3-growth-landing-ip .service-landing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s3-growth-landing-ip .service-landing-copy h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 0.97;
}

.s3-growth-landing-ip .service-landing-lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.s3-growth-landing-ip .service-landing-brief {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  border-color: rgba(240, 198, 129, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px),
    rgba(11, 18, 26, 0.64);
}

.s3-growth-landing-ip .service-landing-brief::after {
  content: "товарный знак";
  position: absolute;
  top: 28px;
  right: -32px;
  width: 180px;
  padding: 9px 0;
  border: 1px solid rgba(240, 198, 129, 0.38);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
}

.s3-ip-brand-mark {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(240, 198, 129, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.s3-ip-brand-mark span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #d8b06f;
  font-size: 17px;
  font-weight: 900;
}

.s3-ip-brand-mark strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.s3-ip-hero-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
}

.s3-ip-hero-checks span {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(240, 198, 129, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.s3-growth-landing-ip .service-proof-section {
  background:
    linear-gradient(180deg, #f3f6f8 0%, #eef3f7 100%);
}

.s3-growth-landing-ip .service-proof-card {
  position: relative;
  min-height: 184px;
  border-color: rgba(151, 71, 88, 0.15);
}

.s3-growth-landing-ip .service-proof-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: linear-gradient(90deg, #b58a49, #7f384a);
}

.s3-growth-landing-ip .service-proof-card strong {
  color: #182432;
  font-size: clamp(24px, 2.15vw, 34px);
}

.s3-growth-landing-ip .service-situations-section {
  padding-top: 64px;
}

.s3-growth-landing-ip .service-situation-grid article {
  min-height: 230px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.s3-growth-landing-ip .process-section {
  background:
    linear-gradient(115deg, #0b121a 0%, #101d2a 62%, #2b1d26 100%);
}

.s3-growth-landing-ip .process-item {
  border-left: 3px solid rgba(216, 176, 111, 0.52);
}

.s3-growth-landing-ip .service-document-list li {
  border-left: 3px solid #b58a49;
}

.s3-growth-landing-ip .contact-panel {
  background:
    linear-gradient(115deg, #111820 0%, #162435 58%, #3a2430 100%);
}

@media (max-width: 920px) {
  .s3-growth-landing-ip .service-landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .s3-growth-landing-ip .service-landing-brief {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .s3-growth-landing-ip .service-landing-hero {
    padding: 46px 0 40px;
  }

  .s3-growth-landing-ip .service-landing-copy h1 {
    font-size: 35px;
  }

  .s3-growth-landing-ip .service-landing-brief {
    min-height: 0;
    padding: 112px 18px 20px;
  }

  .s3-ip-brand-mark {
    top: 18px;
    left: 18px;
    width: 76px;
    height: 76px;
  }

  .s3-ip-brand-mark strong {
    font-size: 29px;
  }

  .s3-ip-brand-mark span {
    top: 12px;
    right: 14px;
    font-size: 13px;
  }

  .s3-ip-hero-checks {
    grid-template-columns: 1fr;
  }
}

.contact-identity-section {
  padding-top: 36px;
}

.contact-identity {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 0;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(206, 170, 96, 0.18), transparent 32%),
    linear-gradient(135deg, #101923 0%, #142131 58%, #0d1520 100%);
  border: 1px solid rgba(206, 170, 96, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(12, 20, 30, 0.18);
  overflow: hidden;
}

.contact-identity-main {
  padding: 36px;
}

.contact-identity-main h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.contact-identity-main p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.58;
}

.contact-identity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-identity-actions .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-identity-actions .button-outline:hover,
.contact-identity-actions .button-outline:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.contact-identity-details {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-identity-details dl {
  height: 100%;
  margin: 0;
  display: grid;
  gap: 10px;
}

.contact-identity-details div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.contact-identity-details dt {
  margin-bottom: 6px;
  color: rgba(16, 25, 35, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-identity-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
}

.contact-identity-details a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(206, 170, 96, 0.8);
  text-underline-offset: 4px;
}

.contact-direct-section {
  padding-top: 18px;
}

.contact-direct {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.contact-direct-head {
  min-height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #eef2f6;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 8px;
}

.contact-direct-head h2 {
  max-width: 640px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
}

.contact-direct-head p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #526172;
  font-size: 16px;
  line-height: 1.58;
}

.contact-direct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-person-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 300px minmax(0, 1fr);
  overflow: hidden;
  color: #101923;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 25, 35, 0.07);
}

.contact-person-card-primary {
  border-color: rgba(202, 161, 95, 0.42);
}

.contact-person-photo {
  height: 300px;
  min-height: 0;
  background: #101923;
}

.contact-person-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.contact-person-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.contact-person-body span {
  display: block;
  color: #9a7440;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.contact-person-body h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1;
}

.contact-person-body p {
  margin: 12px 0 0;
  color: #526172;
  font-size: 15px;
  line-height: 1.5;
}

.contact-person-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  min-height: 110px;
  margin-top: auto;
  padding-top: 18px;
}

.contact-person-actions .button {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.contact-person-actions .button-outline {
  background: #fff;
}

.contact-person-actions .button-outline:hover,
.contact-person-actions .button-outline:focus-visible {
  background: #101820;
  color: #fff;
  border-color: #101820;
  box-shadow: 0 14px 28px rgba(16, 24, 32, 0.18);
}

.contact-map-reviews-section {
  padding-top: 36px;
}

.contact-map-reviews-header {
  align-items: end;
}

.contact-map-reviews-header p {
  max-width: 440px;
}

.contact-map-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.contact-map-panel,
.contact-reviews-panel {
  display: grid;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(17, 24, 32, 0.08);
  overflow: hidden;
}

.contact-map-frame,
.contact-reviews-frame {
  min-width: 0;
  background: #eef2f5;
}

.contact-map-frame iframe,
.contact-reviews-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

.contact-map-frame iframe {
  height: 520px;
  min-height: 520px;
}

.contact-reviews-frame iframe {
  height: 560px;
  min-height: 560px;
}

.contact-map-caption {
  padding: 22px 24px;
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.contact-map-caption span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-map-caption strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.08;
}

.contact-map-caption a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 800;
  text-decoration-color: rgba(169, 129, 69, 0.55);
  text-underline-offset: 4px;
}

.contact-map-caption a:hover,
.contact-map-caption a:focus-visible {
  color: var(--gold);
}

@media (max-width: 860px) {
  .contact-identity,
  .contact-direct {
    grid-template-columns: 1fr;
  }

  .contact-identity-main {
    padding: 28px;
  }

  .contact-identity-details {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .contact-direct-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-reviews-header {
    align-items: start;
  }

  .contact-person-card {
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
    grid-template-rows: none;
  }

  .contact-person-photo,
  .contact-person-photo img {
    min-height: 100%;
    height: 100%;
  }
}

@media (max-width: 560px) {
  .contact-identity-section {
    padding-top: 24px;
  }

  .contact-identity-main,
  .contact-identity-details,
  .contact-direct-head,
  .contact-person-body {
    padding: 18px;
  }

  .contact-identity-actions .button,
  .contact-person-actions .button {
    width: 100%;
    white-space: normal;
  }

  .contact-person-actions {
    min-height: 0;
  }

  .contact-identity-details div {
    padding: 14px;
  }

  .contact-person-card {
    grid-template-columns: 1fr;
  }

  .contact-person-photo,
  .contact-person-photo img {
    min-height: 255px;
    height: 255px;
  }

  .contact-map-reviews-section {
    padding-top: 18px;
  }

  .contact-map-frame iframe {
    height: 360px;
    min-height: 360px;
  }

  .contact-reviews-frame iframe {
    height: 540px;
    min-height: 540px;
  }

  .contact-map-caption {
    padding: 18px;
  }
}

/* Final visual QA end-cascade: route/proof cards must fit 390px screens. */
.service-resource-links,
.article-resource-routes .service-resource-links,
.article-role-links,
.product-policy-grid,
.practice-orientation-grid,
.proof-system-grid,
.article-case-proof-stack,
.debt-recovery-map {
  max-width: 100%;
}

.service-resource-link,
.service-related-card,
.practice-orientation-card,
.debt-recovery-map-card,
.article-role-links a,
.social-pill,
.proof-system-card,
.proof-system-document,
.case-proof-document.proof-system-document {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.service-resource-link strong,
.service-resource-link p,
.service-related-card strong,
.service-related-card p,
.practice-orientation-card strong,
.practice-orientation-card p,
.debt-recovery-map-card h3,
.debt-recovery-map-card p,
.article-role-links strong,
.article-role-links p,
.social-pill strong,
.social-pill span,
.article-prose strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.proof-system-document img,
.case-proof-document.proof-system-document img,
.case-article-entry .proof-system-card--hero .proof-system-document img,
.case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(360px, 78vw);
  object-fit: contain;
}

@media (max-width: 620px) {
  .service-resource-links,
  .article-resource-routes .service-resource-links,
  .article-role-links,
  .product-policy-grid,
  .practice-orientation-grid,
  .debt-recovery-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-resource-link,
  .service-related-card,
  .practice-orientation-card,
  .debt-recovery-map-card,
  .article-role-links a {
    min-height: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .social-pill {
    width: 100%;
    min-width: 0;
  }

  .proof-system-document,
  .case-proof-document.proof-system-document,
  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document {
    width: 100%;
    min-height: 240px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .proof-system-document img,
  .case-proof-document.proof-system-document img,
  .case-article-entry .proof-system-card--hero .proof-system-document img,
  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document img {
    max-width: min(100%, 260px);
    max-height: 260px;
  }
}

/* Corporate cluster readability pass 2026-06-02: scoped after bundle rules. */
.corporate-service-page .corporate-landing-hero {
  padding: 66px 0 46px;
}

.corporate-service-page .corporate-landing-hero p {
  max-width: 700px;
  font-size: 17.5px;
  line-height: 1.62;
}

.corporate-service-page .service-landing-brief strong {
  font-size: clamp(23px, 2vw, 27px);
  line-height: 1.08;
}

.corporate-service-page .service-landing-brief p {
  font-size: 14px;
  line-height: 1.55;
}

.corporate-service-page .corporate-map-section {
  padding: 46px 0;
}

.corporate-service-page .corporate-map-layout {
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 28px;
}

.corporate-service-page .corporate-map-layout h2 {
  font-size: clamp(30px, 2.65vw, 40px);
  line-height: 1.04;
}

.corporate-service-page .corporate-map-layout p:not(.eyebrow) {
  max-width: 430px;
  font-size: 15.5px;
  line-height: 1.62;
}

.corporate-service-page .corporate-control-map {
  min-height: 314px;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
}

.corporate-service-page .corporate-control-core {
  padding: 18px;
  border-radius: 7px;
}

.corporate-service-page .corporate-control-core strong {
  font-size: clamp(28px, 2.35vw, 32px);
  line-height: 0.98;
}

.corporate-service-page .corporate-control-core p {
  font-size: 12px;
  line-height: 1.45;
}

.corporate-service-page .corporate-control-nodes {
  gap: 10px;
}

.corporate-service-page .corporate-control-nodes article {
  min-height: 92px;
  padding: 14px;
  border-radius: 7px;
}

.corporate-service-page .corporate-control-nodes strong {
  font-size: clamp(17px, 1.42vw, 19px);
  line-height: 1.08;
}

.corporate-service-page .service-situation-grid article {
  min-height: 196px;
  padding: 20px;
  border-radius: 8px;
}

.corporate-service-page .service-situation-grid h2 {
  font-size: clamp(22px, 1.85vw, 25px);
  line-height: 1.08;
}

.corporate-service-page .service-situation-grid p,
.corporate-service-page .service-format-grid p,
.corporate-service-page .service-document-list li,
.corporate-service-page .service-faq-list p {
  color: #42516a;
  font-size: 15px;
  line-height: 1.58;
}

.corporate-service-page .section-header h2,
.corporate-service-page .service-two-column h2 {
  font-size: clamp(30px, 2.45vw, 38px);
  line-height: 1.06;
}

.corporate-service-page .service-format-grid article,
.corporate-service-page .service-resource-link,
.corporate-service-page .service-faq-list article {
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
}

@media (max-width: 900px) {
  .corporate-service-page .corporate-landing-hero {
    padding: 44px 0 36px;
  }

  .corporate-service-page .corporate-landing-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .corporate-service-page .corporate-map-section {
    padding: 34px 0;
  }

  .corporate-service-page .corporate-map-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .corporate-service-page .corporate-control-map {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .corporate-service-page .corporate-control-core {
    min-height: 138px;
  }

  .corporate-service-page .corporate-control-nodes {
    grid-template-columns: 1fr;
  }

  .corporate-service-page .corporate-control-nodes article {
    min-height: 0;
    gap: 8px;
  }

  .corporate-service-page .service-situation-grid article {
    min-height: 0;
    padding: 18px;
  }

  .corporate-service-page .service-situation-grid h2 {
    font-size: 23px;
  }

  .corporate-service-page .section-header h2,
  .corporate-service-page .service-two-column h2 {
    font-size: 30px;
  }
}

/* Final case reading compactness: keep inline accents inline, not as standalone cards. */
body.single-post .case-article-entry .article-prose h2 {
  margin: 36px 0 14px;
  padding-top: 22px;
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.12;
}

body.single-post .case-article-entry .article-prose h3 {
  margin: 26px 0 10px;
  font-size: clamp(21px, 1.65vw, 26px);
  line-height: 1.18;
}

body.single-post .case-article-entry .article-prose p,
body.single-post .case-article-entry .article-prose li,
body.single-post .case-article-entry .article-section-block > p:first-of-type {
  color: #142235;
  font-size: 17px;
  line-height: 1.68;
}

body.single-post .case-article-entry .article-prose p {
  margin-top: 15px;
}

body.single-post .case-article-entry .article-prose p:has(> strong) {
  padding: 0 !important;
  background: transparent !important;
  border-left: 0 !important;
  border-radius: 0 !important;
}

body.single-post .case-article-entry .article-prose blockquote p {
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.48;
}

body.single-post .case-article-entry .article-section-block {
  margin: 34px 0 0;
  padding: 28px 0 0;
}

body.single-post .case-article-entry .article-section-block::before {
  top: 8px;
  font-size: 10px;
}

body.single-post .case-article-entry .article-section-block h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 640px) {
  body.single-post .case-article-entry .article-prose h2 {
    margin: 30px 0 12px;
    padding-top: 20px;
    font-size: clamp(24px, 7vw, 30px);
  }

  body.single-post .case-article-entry .article-prose p,
  body.single-post .case-article-entry .article-prose li,
  body.single-post .case-article-entry .article-section-block > p:first-of-type {
    font-size: 16px;
    line-height: 1.62;
  }

  body.single-post .case-article-entry .article-section-block {
    margin-top: 30px;
    padding-top: 24px;
  }
}

.case-layout-lab {
  background:
    linear-gradient(180deg, #f7f8f6 0%, #ffffff 100%);
}

.case-layout-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.case-layout-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  padding: clamp(20px, 2.2vw, 30px);
  background: #fff;
  box-shadow: 0 20px 54px rgba(17, 24, 32, 0.07);
}

.case-layout-option h3 {
  margin: 18px 0;
  max-width: 720px;
  color: #111820;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.06;
}

.case-layout-option p,
.case-layout-option dd,
.case-layout-option li {
  color: #526071;
  font-size: 15px;
  line-height: 1.55;
}

.case-layout-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #111820;
}

.case-layout-kicker span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #111820;
  color: #fff;
  font-weight: 850;
}

.case-layout-kicker strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-layout-dossier {
  background:
    linear-gradient(135deg, rgba(181, 138, 73, 0.14), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.case-layout-metric {
  display: grid;
  grid-template-columns: minmax(130px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(181, 138, 73, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.92);
}

.case-layout-metric strong {
  color: #9a6420;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
}

.case-layout-metric span {
  color: #293442;
  font-weight: 800;
}

.case-layout-dossier dl {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.case-layout-dossier dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.case-layout-dossier dt {
  color: #111820;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-layout-dossier dd {
  margin: 0;
}

.case-layout-timeline {
  background:
    linear-gradient(145deg, #101923 0%, #182536 64%, #203947 100%);
}

.case-layout-timeline h3,
.case-layout-timeline .case-layout-kicker,
.case-layout-timeline .case-layout-kicker strong {
  color: #fff;
}

.case-layout-timeline .case-layout-kicker span {
  background: #d4a35e;
  color: #111820;
}

.case-layout-steps {
  display: grid;
  gap: 0;
  margin: 2px 0 22px;
  padding: 0;
  list-style: none;
}

.case-layout-steps li {
  position: relative;
  padding: 0 0 18px 30px;
  border-left: 1px solid rgba(212, 163, 94, 0.42);
}

.case-layout-steps li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4a35e;
}

.case-layout-steps li:last-child {
  padding-bottom: 0;
}

.case-layout-steps span {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-weight: 850;
}

.case-layout-steps p,
.case-layout-timeline .case-link {
  color: rgba(255, 255, 255, 0.78);
}

.case-layout-before-after {
  background:
    linear-gradient(135deg, rgba(44, 97, 108, 0.1), rgba(255, 255, 255, 0) 46%),
    #f8fbfb;
}

.case-layout-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.case-layout-compare div {
  min-width: 0;
  min-height: 188px;
  padding: 18px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  background: #fff;
}

.case-layout-compare div:first-child {
  border-color: rgba(127, 56, 74, 0.22);
  background: #fff7f8;
}

.case-layout-compare div:last-child {
  border-color: rgba(44, 97, 108, 0.24);
  background: #f4fbfa;
}

.case-layout-compare span {
  display: block;
  margin-bottom: 10px;
  color: #111820;
  font-weight: 850;
  text-transform: uppercase;
}

.case-layout-note {
  max-width: 640px;
  margin: 0;
}

.case-layout-document {
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.96), rgba(17, 24, 32, 0.82)),
    #111820;
}

.case-layout-document h3,
.case-layout-document .case-layout-kicker,
.case-layout-document .case-layout-kicker strong {
  color: #fff;
}

.case-layout-document .case-layout-kicker span {
  background: #fff;
  color: #111820;
}

.case-layout-document-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin: 4px 0 20px;
}

.case-layout-document-grid p {
  align-self: center;
  color: rgba(255, 255, 255, 0.78);
}

.case-layout-doc-preview {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(17, 24, 32, 0.1), rgba(17, 24, 32, 0.92)),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") center top / cover no-repeat;
}

.case-layout-doc-preview span,
.case-layout-doc-preview small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-transform: uppercase;
}

.case-layout-doc-preview strong {
  margin: 8px 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.case-layout-document .case-link {
  color: #fff;
}

@media (max-width: 920px) {
  .case-layout-options,
  .case-layout-document-grid {
    grid-template-columns: 1fr;
  }

  .case-layout-option {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  .case-layout-option {
    padding: 18px;
  }

  .case-layout-metric,
  .case-layout-dossier dl div {
    grid-template-columns: 1fr;
  }

  .case-layout-doc-preview {
    min-height: 210px;
  }
}

/* Last-mile case dossier polish. Keep this after all case/proof legacy rules. */
.single .case-study-hero {
  padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 82px);
  background: radial-gradient(circle at 86% 18%, rgba(181, 138, 73, 0.18), rgba(181, 138, 73, 0) 34%), linear-gradient(135deg, #0b121a 0%, #111b24 52%, #17232d 100%);
  border-bottom: 1px solid rgba(181, 138, 73, 0.28);
}

.single .case-study-hero .article-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.7fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.single .case-study-hero .article-hero-visual {
  min-height: 0;
  max-height: none;
  overflow: visible;
  border: 0;
  background: transparent;
}

.single .case-study-hero .entry-title {
  max-width: 820px;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 0.98;
  text-shadow: none;
  text-wrap: balance;
}

.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.52;
}

.single .case-study-hero .article-hero-meta span {
  border-color: rgba(216, 176, 111, 0.34);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  white-space: normal;
}

.single .case-study-hero .case-hero-proof-visual {
  min-height: 0;
  align-content: stretch;
  grid-template-rows: auto auto auto 1fr;
  gap: 20px;
  padding: clamp(24px, 3.2vw, 36px);
  overflow: visible;
  border-color: rgba(216, 176, 111, 0.38);
  background: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 42px, radial-gradient(circle at 18% 14%, rgba(216, 176, 111, 0.18), rgba(216, 176, 111, 0) 24%), linear-gradient(145deg, rgba(37, 46, 55, 0.98), rgba(14, 22, 30, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.single .case-study-hero .case-hero-proof-visual h2 {
  max-width: 560px;
  padding-right: 24px;
  font-size: clamp(24px, 2.25vw, 36px);
  line-height: 1.04;
  text-wrap: balance;
}

.single .case-study-hero .case-hero-proof-stats div {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
  background: rgba(11, 18, 26, 0.54);
}

.single .case-dossier-band {
  background: #f4f6f8;
  border-bottom: 1px solid #dce3ea;
}

.single .case-dossier {
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.07);
}

.single .case-dossier h2,
.single .dossier-steps strong,
.single .case-flow strong {
  color: #111820;
}

.single .dossier-steps div {
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

@media (max-width: 980px) {
  .single .case-study-hero .article-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .single .case-study-hero {
    padding: 38px 0 36px;
  }

  .single .case-study-hero .entry-title {
    font-size: 34px;
    line-height: 1.03;
  }

  .single .case-study-hero .article-hero-actions .button,
  .single .case-study-hero .button-dark-outline {
    width: 100%;
  }

  .single .case-study-hero .case-hero-proof-visual {
    min-height: 0;
    padding: 22px;
  }

  .single .case-study-hero .case-hero-proof-stats {
    grid-template-columns: 1fr;
  }
}

/* Final override: case pages should read as polished court dossiers, not generic articles. */
.single .case-study-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 6vw, 82px);
  background:
    radial-gradient(circle at 86% 18%, rgba(181, 138, 73, 0.18), rgba(181, 138, 73, 0) 34%),
    linear-gradient(135deg, #0b121a 0%, #111b24 52%, #17232d 100%);
  border-bottom: 1px solid rgba(181, 138, 73, 0.28);
}

.single .case-study-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.9));
}

.single .case-study-hero .article-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.7fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
}

.single .case-study-hero .entry-title {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 4.8vw, 66px);
  line-height: 0.98;
  text-shadow: none;
  text-wrap: balance;
}

.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.52;
}

.single .case-study-hero .article-hero-meta {
  gap: 10px;
  margin-top: 26px;
}

.single .case-study-hero .article-hero-meta span {
  max-width: 100%;
  border-color: rgba(216, 176, 111, 0.34);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  white-space: normal;
}

.single .case-study-hero .article-hero-actions {
  margin-top: 26px;
}

.case-hero-proof-visual {
  min-height: 430px;
  align-content: stretch;
  grid-template-rows: auto auto auto 1fr;
  gap: 20px;
  padding: clamp(24px, 3.2vw, 36px);
  border-color: rgba(216, 176, 111, 0.38);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 42px,
    radial-gradient(circle at 18% 14%, rgba(216, 176, 111, 0.18), rgba(216, 176, 111, 0) 24%),
    linear-gradient(145deg, rgba(37, 46, 55, 0.98), rgba(14, 22, 30, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.case-hero-proof-mark {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 176, 111, 0.4);
  border-radius: 50%;
  color: #d8b06f;
  font-family: var(--serif);
  font-size: 28px;
  background: rgba(11, 18, 26, 0.36);
}

.case-hero-proof-top {
  padding-right: 82px;
}

.case-hero-proof-visual h2 {
  max-width: 560px;
  padding-right: 24px;
  font-size: clamp(28px, 2.65vw, 42px);
  line-height: 1.02;
  text-wrap: balance;
}

.case-hero-proof-court {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.case-hero-proof-court div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.case-hero-proof-court dt {
  color: #d8b06f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-hero-proof-court dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  line-height: 1.35;
}

.case-hero-proof-stats {
  border-color: rgba(216, 176, 111, 0.24);
  background: rgba(216, 176, 111, 0.12);
}

.case-hero-proof-stats div {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 14px;
  background: rgba(11, 18, 26, 0.54);
}

.case-hero-proof-stats strong {
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.08;
}

.case-hero-proof-stats em {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  font-size: 12px;
  line-height: 1.25;
}

.single .case-study-hero .case-hero-proof-stats {
  gap: 8px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.single .case-study-hero .case-hero-proof-stats div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.single .case-study-hero .case-hero-proof-stats div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.case-hero-proof-visual p {
  align-self: end;
  max-width: 600px;
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.single .case-dossier-band {
  padding: clamp(46px, 5.5vw, 72px) 0;
  background: #f4f6f8;
  border-bottom: 1px solid #dce3ea;
}

.single .case-dossier {
  padding: clamp(24px, 3.2vw, 34px);
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 24, 32, 0.07);
}

.single .case-dossier .eyebrow {
  color: #a98145;
}

.single .case-dossier h2 {
  max-width: 540px;
  color: #111820;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.single .case-dossier p {
  max-width: 560px;
  color: #4a5663;
}

.single .dossier-steps {
  gap: 12px;
}

.single .dossier-steps div {
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.single .dossier-steps strong {
  color: #111820;
  overflow-wrap: normal;
  word-break: normal;
}

.single .case-flow {
  border: 1px solid #d7e0e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 24, 32, 0.06);
}

.single .case-flow div {
  border-radius: 0;
  border: 0;
  border-right: 1px solid #dce3ea;
  background: #fff;
}

.single .case-flow div:last-child {
  border-right: 0;
}

.single .case-flow strong {
  color: #111820;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.08;
}

@media (max-width: 980px) {
  .single .case-study-hero .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .case-hero-proof-visual {
    min-height: 360px;
  }

  .single .case-flow {
    grid-template-columns: 1fr;
  }

  .single .case-flow div {
    border-right: 0;
    border-bottom: 1px solid #dce3ea;
  }

  .single .case-flow div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .single .case-study-hero {
    padding: 38px 0 36px;
  }

  .single .case-study-hero .entry-title {
    font-size: 34px;
    line-height: 1.03;
  }

  .single .case-study-hero .article-hero-actions .button,
  .single .case-study-hero .button-dark-outline {
    width: 100%;
  }

  .case-hero-proof-visual {
    min-height: 0;
    padding: 22px;
  }

  .case-hero-proof-mark {
    width: 46px;
    height: 46px;
    font-size: 23px;
  }

  .case-hero-proof-top {
    padding-right: 58px;
  }

  .case-hero-proof-court div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .case-hero-proof-stats {
    grid-template-columns: 1fr;
  }

  .case-hero-proof-stats div {
    min-height: 0;
  }

  .single .case-dossier {
    padding: 20px;
  }
}

/* S3 case pages: make court proof blocks read like a compact dossier. */
.article-case-proof-stack .proof-system-card--hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  grid-template-rows: auto;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(169, 129, 69, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
  border-color: rgba(17, 24, 32, 0.16);
  box-shadow: 0 22px 58px rgba(17, 24, 32, 0.12);
}

.article-case-proof-stack .proof-system-card--hero .proof-system-copy {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid rgba(17, 24, 32, 0.1);
}

.article-case-proof-stack .proof-system-card--hero h3 {
  max-width: 640px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.04;
}

.article-case-proof-stack .proof-system-card--hero p {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.56;
}

.article-case-proof-stack .proof-system-card--hero .proof-system-facts {
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(17, 24, 32, 0.1);
}

.article-case-proof-stack .proof-system-card--hero .proof-system-document {
  height: auto;
  min-height: 430px;
  padding: 28px 24px 82px;
  background:
    radial-gradient(circle at 30% 18%, rgba(216, 176, 111, 0.22), rgba(216, 176, 111, 0) 34%),
    linear-gradient(135deg, #101923 0%, #182636 55%, #0b121a 100%);
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  height: auto;
  min-height: 245px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
  color: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: 0.01em;
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback em {
  color: #d8b06f;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback small {
  color: rgba(255, 255, 255, 0.72);
}

.case-flow {
  box-shadow: 0 16px 42px rgba(17, 24, 32, 0.08);
}

.case-flow div {
  min-height: 150px;
}

@media (max-width: 980px) {
  .article-case-proof-stack .proof-system-card--hero {
    grid-template-columns: 1fr;
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-document {
    min-height: 310px;
  }
}

@media (max-width: 620px) {
  .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    padding: 22px 18px;
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-document {
    min-height: 270px;
    padding: 20px 16px 76px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document {
    min-height: 280px;
    padding: 24px 18px 70px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document img {
    max-width: min(82%, 220px);
    max-height: 240px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    padding: 24px 18px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero h3 {
    font-size: clamp(26px, 7.4vw, 32px);
    line-height: 1.06;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero p {
    font-size: 16px;
    line-height: 1.52;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 11px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts dd {
    font-size: 18px;
  }

  .case-flow {
    grid-template-columns: 1fr;
  }

  .case-flow div {
    min-height: 0;
  }
}

/* Final cascade for compact bankruptcy/subsidiary tails. */
.bankruptcy-page-compact .section {
  padding: 50px 0;
}

.bankruptcy-page-compact .section-tight {
  padding: 38px 0;
}

.bankruptcy-page-compact .service-format-section .section-header,
.bankruptcy-page-compact .service-semantics-section .service-semantics-layout,
.bankruptcy-page-compact .service-faq-section .service-two-column {
  gap: 24px;
}

.bankruptcy-page-compact .service-format-grid,
.bankruptcy-page-compact .service-situation-grid,
.bankruptcy-page-compact .service-resource-links,
.bankruptcy-page-compact .service-semantics-grid,
.bankruptcy-page-compact .service-faq-list {
  gap: 10px;
}

.bankruptcy-page-compact .service-format-grid article,
.bankruptcy-page-compact .service-situation-grid article,
.bankruptcy-page-compact .service-resource-link,
.bankruptcy-page-compact .service-price-panel,
.bankruptcy-page-compact .service-faq-list details {
  min-height: 0;
  border-radius: 8px;
  box-shadow: none;
}

.bankruptcy-page-compact .service-price-panel {
  margin-top: 14px;
  padding: 22px;
  gap: 18px;
}

.bankruptcy-page-compact .service-price-panel h3 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.06;
}

.bankruptcy-page-compact .service-price-panel li {
  padding: 11px 13px;
}

.bankruptcy-page-compact .service-resource-link {
  padding: 18px;
}

.bankruptcy-page-compact .service-resource-link strong,
.bankruptcy-page-compact .service-semantics-grid h3,
.bankruptcy-page-compact .service-faq-list summary {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.12;
}

.bankruptcy-page-compact .service-faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.bankruptcy-page-compact .service-faq-list summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

.bankruptcy-page-compact .service-faq-list summary::-webkit-details-marker {
  display: none;
}

.bankruptcy-page-compact .service-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 18px;
  color: #a98145;
  font-size: 24px;
  line-height: 1;
}

.bankruptcy-page-compact .service-faq-list details[open] summary::after {
  content: "-";
}

.bankruptcy-page-compact .service-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .bankruptcy-page-compact .section,
  .bankruptcy-page-compact .section-tight {
    padding: 30px 0;
  }

  .bankruptcy-page-compact .bankruptcy-landing-hero {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .bankruptcy-page-compact .service-format-grid article,
  .bankruptcy-page-compact .service-situation-grid article,
  .bankruptcy-page-compact .service-resource-link,
  .bankruptcy-page-compact .service-semantics-grid a {
    padding: 16px;
  }

  .bankruptcy-page-compact .service-format-grid h3,
  .bankruptcy-page-compact .service-situation-grid h2,
  .bankruptcy-page-compact .service-semantics-grid h3,
  .bankruptcy-page-compact .service-resource-link strong {
    max-width: 100%;
    font-size: 21px;
    line-height: 1.12;
  }

  .bankruptcy-page-compact .service-format-grid p,
  .bankruptcy-page-compact .service-situation-grid p,
  .bankruptcy-page-compact .service-resource-link p,
  .bankruptcy-page-compact .service-semantics-grid p {
    font-size: 14px;
    line-height: 1.45;
  }

  .bankruptcy-page-compact .service-format-grid small {
    font-size: 12px;
    line-height: 1.38;
  }

  .bankruptcy-page-compact .service-price-panel {
    padding: 18px;
  }

  .bankruptcy-page-compact .service-price-panel h3 {
    font-family: var(--font);
    font-size: 22px;
    line-height: 1.14;
  }

  .bankruptcy-page-compact .service-price-panel li {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .bankruptcy-page-compact .service-faq-list summary {
    padding: 16px 48px 16px 16px;
    font-size: 20px;
  }

  .bankruptcy-page-compact .service-faq-list summary::after {
    top: 15px;
    right: 16px;
  }

  .bankruptcy-page-compact .service-faq-list details p {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.46;
  }
}

/* Bankruptcy compact tail: shorten subsidiary mobile pages without changing the shared theme shell. */
.bankruptcy-page-compact .section {
  padding: 50px 0;
}

.bankruptcy-page-compact .section-tight {
  padding: 38px 0;
}

.bankruptcy-page-compact .service-format-section .section-header,
.bankruptcy-page-compact .service-semantics-section .service-semantics-layout,
.bankruptcy-page-compact .service-faq-section .service-two-column {
  gap: 24px;
}

.bankruptcy-page-compact .service-format-grid,
.bankruptcy-page-compact .service-situation-grid,
.bankruptcy-page-compact .service-resource-links,
.bankruptcy-page-compact .service-semantics-grid,
.bankruptcy-page-compact .service-faq-list {
  gap: 10px;
}

.bankruptcy-page-compact .service-format-grid article,
.bankruptcy-page-compact .service-situation-grid article,
.bankruptcy-page-compact .service-resource-link,
.bankruptcy-page-compact .service-price-panel,
.bankruptcy-page-compact .service-faq-list details {
  min-height: 0;
  border-radius: 8px;
  box-shadow: none;
}

.bankruptcy-page-compact .service-price-panel {
  margin-top: 14px;
  padding: 22px;
  gap: 18px;
}

.bankruptcy-page-compact .service-price-panel h3 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.06;
}

.bankruptcy-page-compact .service-price-panel li {
  padding: 11px 13px;
}

.bankruptcy-page-compact .service-resource-link {
  padding: 18px;
}

.bankruptcy-page-compact .service-resource-link strong,
.bankruptcy-page-compact .service-semantics-grid h3,
.bankruptcy-page-compact .service-faq-list summary {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.12;
}

.bankruptcy-page-compact .service-faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.bankruptcy-page-compact .service-faq-list summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

.bankruptcy-page-compact .service-faq-list summary::-webkit-details-marker {
  display: none;
}

.bankruptcy-page-compact .service-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 18px;
  color: #a98145;
  font-size: 24px;
  line-height: 1;
}

.bankruptcy-page-compact .service-faq-list details[open] summary::after {
  content: "-";
}

.bankruptcy-page-compact .service-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .bankruptcy-page-compact .section,
  .bankruptcy-page-compact .section-tight {
    padding: 30px 0;
  }

  .bankruptcy-page-compact .bankruptcy-landing-hero {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .bankruptcy-page-compact .service-format-grid article,
  .bankruptcy-page-compact .service-situation-grid article,
  .bankruptcy-page-compact .service-resource-link,
  .bankruptcy-page-compact .service-semantics-grid a {
    padding: 16px;
  }

  .bankruptcy-page-compact .service-format-grid h3,
  .bankruptcy-page-compact .service-situation-grid h2,
  .bankruptcy-page-compact .service-semantics-grid h3,
  .bankruptcy-page-compact .service-resource-link strong {
    max-width: 100%;
    font-size: 21px;
    line-height: 1.12;
  }

  .bankruptcy-page-compact .service-format-grid p,
  .bankruptcy-page-compact .service-situation-grid p,
  .bankruptcy-page-compact .service-resource-link p,
  .bankruptcy-page-compact .service-semantics-grid p {
    font-size: 14px;
    line-height: 1.45;
  }

  .bankruptcy-page-compact .service-format-grid small {
    font-size: 12px;
    line-height: 1.38;
  }

  .bankruptcy-page-compact .service-price-panel {
    padding: 18px;
  }

  .bankruptcy-page-compact .service-price-panel h3 {
    font-family: var(--font);
    font-size: 22px;
    line-height: 1.14;
  }

  .bankruptcy-page-compact .service-price-panel li {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .bankruptcy-page-compact .service-faq-list summary {
    padding: 16px 48px 16px 16px;
    font-size: 20px;
  }

  .bankruptcy-page-compact .service-faq-list summary::after {
    top: 15px;
    right: 16px;
  }

  .bankruptcy-page-compact .service-faq-list details p {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.46;
  }
}

/* Practice case pages use the main theme shell, not the old standalone chrome. */
.practice-case-page {
  background: #f3f6f8;
}

.practice-case-page .practice-case-hero {
  padding: clamp(56px, 7vw, 86px) 0 clamp(48px, 6vw, 66px);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(11, 18, 26, 0.98), rgba(16, 25, 35, 0.92)),
    #111820;
}

.practice-case-page .practice-case-hero h1 {
  max-width: 980px;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(39px, 5vw, 68px);
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.practice-case-page .practice-case-hero p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.58;
}

.practice-case-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.practice-case-page .button-outline {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.practice-case-section {
  padding: clamp(44px, 6vw, 66px) 0;
}

.practice-case-section + .practice-case-section {
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.practice-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(22px, 4vw, 34px);
  align-items: start;
}

.practice-case-section h2 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #111820;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.practice-case-section p {
  max-width: 760px;
  color: #4d5b6b;
  font-size: 17px;
  line-height: 1.64;
}

.practice-case-list,
.practice-case-break-grid {
  display: grid;
  gap: 14px;
}

.practice-case-item,
.practice-case-route,
.practice-case-break {
  display: block;
  min-width: 0;
  padding: 22px;
  color: #111820;
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17, 24, 32, 0.07);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.practice-case-item:hover,
.practice-case-route:hover,
.practice-case-break:hover {
  border-color: rgba(181, 138, 73, 0.55);
  box-shadow: 0 20px 46px rgba(17, 24, 32, 0.1);
  transform: translateY(-1px);
}

.practice-case-item span,
.practice-case-route span,
.practice-case-note span,
.practice-case-break span {
  display: block;
  margin-bottom: 10px;
  color: #9a7338;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice-case-item strong,
.practice-case-route strong,
.practice-case-break strong {
  display: block;
  color: #111820;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.practice-case-item p,
.practice-case-route p,
.practice-case-break p {
  margin: 12px 0 0;
  color: #4d5b6b;
  font-size: 15px;
  line-height: 1.55;
}

.practice-case-item small {
  display: block;
  margin-top: 14px;
  color: #1f2b38;
  font-weight: 800;
}

.practice-case-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.practice-case-break dl {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.practice-case-break dt {
  margin: 0 0 4px;
  color: #1f2b38;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.practice-case-break dd {
  margin: 0;
  color: #4d5b6b;
  line-height: 1.55;
}

.practice-case-note {
  padding: clamp(28px, 5vw, 46px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(181, 138, 73, 0.18), rgba(181, 138, 73, 0) 42%),
    #111820;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.practice-case-note h2,
.practice-case-note p {
  color: #fff;
}

.practice-case-note p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 980px) {
  .practice-case-layout,
  .practice-case-route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .practice-case-page .practice-case-hero {
    padding: 42px 0 46px;
  }

  .practice-case-page .practice-case-hero h1 {
    font-size: 34px;
  }

  .practice-case-page .hero-actions .button {
    width: 100%;
  }

  .practice-case-item,
  .practice-case-route,
  .practice-case-break {
    padding: 18px;
  }
}

.case-hero-proof-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 176, 111, 0.18), rgba(216, 176, 111, 0) 34%),
    linear-gradient(145deg, rgba(32, 48, 66, 0.94), rgba(11, 18, 26, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.case-hero-proof-visual .visual-grid-lines {
  opacity: 0.35;
}

.case-hero-proof-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.case-hero-proof-top span,
.case-hero-proof-stats span {
  color: #d8b06f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-hero-proof-top strong {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.case-hero-proof-visual h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.04;
}

.case-hero-proof-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.case-hero-proof-stats div {
  min-width: 0;
  padding: 14px 12px;
  background: rgba(11, 18, 26, 0.58);
}

.case-hero-proof-stats strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.case-hero-proof-visual p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.48;
}

@media (max-width: 760px) {
  .case-hero-proof-visual {
    min-height: 0;
  }

  .case-hero-proof-stats {
    grid-template-columns: 1fr;
  }
}

.case-hero-proof-visual {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 176, 111, 0.18), rgba(216, 176, 111, 0) 34%),
    linear-gradient(145deg, rgba(32, 48, 66, 0.94), rgba(11, 18, 26, 0.96));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.case-hero-proof-visual .visual-grid-lines {
  opacity: 0.35;
}

.case-hero-proof-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.case-hero-proof-top span,
.case-hero-proof-stats span {
  color: #d8b06f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-hero-proof-top strong {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.case-hero-proof-visual h2 {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 38px);
  line-height: 1.04;
}

.case-hero-proof-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.case-hero-proof-stats div {
  min-width: 0;
  padding: 14px 12px;
  background: rgba(11, 18, 26, 0.58);
}

.case-hero-proof-stats strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.case-hero-proof-visual p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.48;
}

@media (max-width: 760px) {
  .case-hero-proof-visual {
    min-height: 0;
  }

  .case-hero-proof-stats {
    grid-template-columns: 1fr;
  }
}

/* S3 archive hubs: show the editorial route as a visible article/case-style guide. */
.article-hub-route-panel {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    linear-gradient(90deg, rgba(173, 130, 66, 0.12), rgba(40, 72, 98, 0.08));
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.07);
}

.article-hub-route-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ad8242, rgba(40, 72, 98, 0.72));
  border-radius: 8px 8px 0 0;
}

.article-hub-route-panel > * {
  position: relative;
  z-index: 1;
}

.article-hub-route-panel .article-section-block {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.article-hub-route-panel .article-section-block + .article-section-block {
  padding-top: 24px;
  border-top: 1px solid rgba(16, 24, 32, 0.1);
}

.article-hub-route-panel .article-section-block h2:first-child {
  padding-right: 96px;
  font-size: 30px;
  line-height: 1.12;
}

.article-hub-route-panel .article-section-block > p:first-of-type {
  font-size: 18px;
  line-height: 1.62;
}

.article-hub-route-panel .service-resource-links.article-hub-links {
  margin-top: 18px;
}

@media (max-width: 680px) {
  .article-hub-route-panel {
    gap: 22px;
    padding: 22px 18px;
  }

  .article-hub-route-panel .article-section-block::before {
    position: static;
    display: block;
    margin: 0 0 14px;
  }

  .article-hub-route-panel .article-section-block h2:first-child {
    padding-right: 0;
    font-size: 27px;
    line-height: 1.12;
  }

  .article-hub-route-panel .article-section-block > p:first-of-type {
    font-size: 17px;
    line-height: 1.58;
  }
}

@media (max-width: 430px) {
  .dossier-steps {
    grid-template-columns: 1fr;
  }

  .article-hero.article-theme-tax .page-title {
    font-size: 32px;
    line-height: 1.1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  .article-title-xlong .entry-title,
  .article-title-xxlong .entry-title {
    font-size: 24px;
  }

  .article-title-long .entry-title {
    font-size: 26px;
  }
}

.bankruptcy-situation-section .service-situation-grid h2 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.bankruptcy-controller-roles {
  background: linear-gradient(180deg, #f6f7f8 0%, #fff 100%);
}

.bankruptcy-controller-head h2 {
  font-size: clamp(29px, 2.8vw, 40px);
  line-height: 1.06;
}

.bankruptcy-controller-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bankruptcy-controller-grid article {
  min-height: 218px;
  box-shadow: none;
}

.bankruptcy-controller-grid h3 {
  font-size: clamp(22px, 1.85vw, 24px);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.bankruptcy-controller-grid p {
  line-height: 1.5;
}

.debt-recovery-map {
  background: #f4f6f8;
}

.debt-recovery-map-head h2 {
  font-size: clamp(30px, 2.85vw, 42px);
  line-height: 1.06;
  max-width: 760px;
}

.debt-recovery-map-head > p {
  max-width: 470px;
  color: #475569;
  line-height: 1.56;
}

.debt-recovery-map-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.debt-recovery-map-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 214px;
  padding: 22px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  color: #0b1420;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.debt-recovery-map-card:hover,
.debt-recovery-map-card:focus-visible {
  transform: translateY(-2px);
  border-color: #bd8b3f;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
}

.debt-recovery-map-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(189, 139, 63, 0.5);
  border-radius: 999px;
  color: #9b6b2e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.debt-recovery-map-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.debt-recovery-map-card p {
  margin: 0;
  color: #405169;
  line-height: 1.5;
}

.service-landing-hero .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* S3 vertical fit: keep large legal headlines strong without consuming short monitors. */
.hero h1 {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.02;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: 34px;
}

.service-landing-hero .page-title,
.article-hero .entry-title,
.article-hero .page-title {
  font-size: clamp(36px, 3.75vw, 54px);
  line-height: 1;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .hero h1,
  .service-landing-hero .page-title,
  .article-hero .entry-title,
  .article-hero .page-title {
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.04;
  }

  .hero-grid {
    gap: 28px;
    padding-bottom: 20px;
  }

  .proof-panel {
    padding: 16px;
  }

  .ticker-item {
    padding: 12px 16px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 34px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 20px;
  }

  .hero h1 {
    font-family: var(--font);
    font-size: clamp(30px, 7.8vw, 32px);
    font-weight: 800;
    line-height: 1.12;
  }

  .hero-lead,
  .service-landing-hero p,
  .article-hero-copy p:not(.eyebrow),
  .page-hero p {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-proof {
    display: block;
    margin-top: 20px;
    padding: 14px;
  }

  .hero-proof::before {
    position: static;
    display: block;
    margin-bottom: 10px;
  }

  .hero-proof::after {
    inset: 14px -34px 14px 18%;
    opacity: 0.5;
  }

  .hero-proof .proof-panel {
    padding: 16px;
  }

  .hero-proof .proof-panel + .proof-panel {
    margin-top: 10px;
  }

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

  .ticker-item {
    padding: 12px 14px;
  }

  .ticker-value {
    font-size: 24px;
  }

  .debt-recovery-map-grid {
    grid-template-columns: 1fr;
  }

  .debt-recovery-map-card {
    min-height: 0;
    padding: 18px;
  }

  .debt-recovery-map-head h2 {
    font-size: 28px;
    line-height: 1.08;
  }

  .ticker-label {
    font-size: 12px;
  }

  .page-title,
  .entry-title,
  .section-header h2,
  .service-landing-hero .page-title,
  .article-hero .entry-title,
  .article-hero .page-title {
    font-size: clamp(26px, 7.1vw, 30px);
    line-height: 1.08;
  }

  .service-landing-hero .page-title {
    font-family: var(--font);
    font-size: clamp(24px, 6.4vw, 27px);
    font-weight: 800;
    line-height: 1.18;
    text-wrap: balance;
  }

  .service-landing-hero,
  .article-hero,
  .page-hero {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .service-landing-hero-grid,
  .article-hero-grid {
    gap: 22px;
  }

  .service-landing-brief {
    display: none;
  }

  .service-hero-panel {
    display: none;
  }

  .service-landing-brief strong {
    font-size: 21px;
  }

  .article-hero-visual {
    display: none;
  }

  .article-hero.article-theme-tax .page-title {
    font-size: clamp(26px, 7.1vw, 30px);
    line-height: 1.08;
  }

  .bankruptcy-controller-head h2 {
    font-size: 27px;
  }

  .bankruptcy-controller-grid h3 {
    font-size: 24px;
  }
}

@media (min-width: 981px) {
  .article-hero.article-migrated-bridge {
    padding: 50px 0 42px;
  }

  .article-hero.article-migrated-bridge .article-hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.5fr);
    gap: 40px;
    align-items: center;
  }

  .article-hero.article-migrated-bridge .article-hero-copy {
    min-height: 390px;
    justify-content: center;
  }

  .article-hero.article-title-long .page-title,
  .article-hero.article-title-long .entry-title {
    max-width: 780px;
    font-size: clamp(31px, 2.75vw, 42px);
    line-height: 1.06;
  }

  .article-hero.article-title-xlong .page-title,
  .article-hero.article-title-xxlong .page-title,
  .article-hero.article-title-xlong .entry-title,
  .article-hero.article-title-xxlong .entry-title {
    max-width: 760px;
    font-size: clamp(28px, 2.35vw, 38px);
    line-height: 1.08;
  }

  .article-hero.article-migrated-bridge .article-hero-copy p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
  }

  .article-hero.article-migrated-bridge .article-hero-meta {
    margin-top: 22px;
  }

  .article-hero.article-migrated-bridge .article-hero-visual,
  .article-hero.article-migrated-bridge .article-hero-visual img,
  .article-hero.article-migrated-bridge .editorial-visual-large {
    min-height: 390px;
  }

  .article-hero.article-migrated-bridge .article-hero-visual {
    max-height: 430px;
  }

  .article-hero.article-migrated-bridge .editorial-visual {
    padding: 26px 30px;
  }

  .article-hero.article-migrated-bridge .editorial-visual-large strong {
    max-width: min(100%, 420px);
    font-size: clamp(28px, 2.15vw, 36px);
    line-height: 1.04;
  }

  .article-hero.article-title-long .editorial-visual-large strong,
  .article-hero.article-title-xlong .editorial-visual-large strong,
  .article-hero.article-title-xxlong .editorial-visual-large strong {
    display: -webkit-box;
    max-width: 360px;
    overflow: hidden;
    font-size: clamp(21px, 1.55vw, 26px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .article-hero.article-migrated-bridge .visual-mark {
    font-size: 150px;
  }

  .single .article-hero {
    padding: 50px 0 42px;
  }

  .single .article-hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.5fr);
    gap: 40px;
    align-items: center;
  }

  .single .article-hero-copy {
    min-height: 390px;
    justify-content: center;
  }

  .single .article-hero .entry-title {
    max-width: 820px;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.04;
  }

  .single .article-title-long .entry-title {
    max-width: 780px;
    font-size: clamp(31px, 2.75vw, 42px);
    line-height: 1.06;
  }

  .single .article-title-xlong .entry-title,
  .single .article-title-xxlong .entry-title {
    max-width: 760px;
    font-size: clamp(28px, 2.35vw, 38px);
    line-height: 1.08;
  }

  .single .article-hero-copy p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
  }

  .single .article-hero-meta {
    margin-top: 22px;
  }

  .single .article-hero-actions {
    margin-top: 20px;
  }

  .single .article-hero-visual,
  .single .article-hero-visual img,
  .single .editorial-visual-large {
    min-height: 390px;
  }

  .single .article-hero-visual {
    max-height: 430px;
  }

  .single .editorial-visual {
    padding: 26px 30px;
  }

  .single .editorial-visual-large strong {
    max-width: min(100%, 420px);
    font-size: clamp(28px, 2.15vw, 36px);
    line-height: 1.04;
  }

  .single .article-title-long .editorial-visual-large strong,
  .single .article-title-xlong .editorial-visual-large strong,
  .single .article-title-xxlong .editorial-visual-large strong {
    display: -webkit-box;
    max-width: 360px;
    overflow: hidden;
    font-size: clamp(21px, 1.55vw, 26px);
    line-height: 1.08;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .single .visual-mark {
    font-size: 150px;
  }

  .bankruptcy-situation-section .service-situation-grid h2 {
    font-size: 24px;
    line-height: 1.08;
  }
}

@media (max-width: 1100px) {
  .bankruptcy-controller-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .bankruptcy-controller-grid {
    grid-template-columns: 1fr;
  }

  .bankruptcy-controller-grid article {
    min-height: 0;
  }
}

.wordstat-p0-landing .service-landing-hero {
  padding: 78px 0 64px;
  background:
    linear-gradient(110deg, rgba(11, 18, 26, 0.98) 0%, rgba(11, 18, 26, 0.94) 52%, rgba(11, 18, 26, 0.78) 100%),
    linear-gradient(135deg, rgba(201, 165, 108, 0.18), transparent 42%);
}

.wordstat-p0-landing .service-landing-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.wordstat-p0-landing .service-landing-copy h1 {
  max-width: 900px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

.wordstat-p0-landing .service-landing-lead,
.wordstat-p0-landing .service-landing-region {
  max-width: 820px;
}

.wordstat-p0-landing .service-landing-region {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.wordstat-p0-landing .hero-actions {
  margin-top: 28px;
}

.wordstat-p0-landing .service-landing-hero .button-outline {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.wordstat-p0-landing .service-landing-hero .button-outline:hover {
  border-color: rgba(240, 198, 129, 0.7);
  color: #f0c681;
}

.wordstat-p0-landing .service-landing-brief {
  padding: 28px;
  border-color: rgba(240, 198, 129, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(11, 18, 26, 0.52);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.wordstat-p0-landing .service-landing-brief h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
}

.wordstat-p0-landing .service-landing-brief p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

.wordstat-p0-landing .service-proof-section {
  padding: 22px 0 0;
  background: #f3f6f8;
}

.wordstat-p0-landing .service-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wordstat-p0-landing .service-proof-card {
  min-width: 0;
  min-height: 170px;
  padding: 22px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 28, 39, 0.07);
}

.wordstat-p0-landing .service-proof-card span,
.wordstat-p0-landing .service-situation-grid span {
  display: block;
  margin-bottom: 12px;
  color: #a98145;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordstat-p0-landing .service-proof-card strong {
  display: block;
  color: #101923;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.wordstat-p0-landing .service-proof-card p {
  margin: 14px 0 0;
  color: #4d5b6b;
  line-height: 1.55;
}

.wordstat-p0-landing .service-situations-section {
  padding-top: 76px;
  background: #f3f6f8;
}

.wordstat-p0-landing .service-situation-grid h3 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 1.9vw, 30px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.wordstat-p0-landing .service-situation-grid article {
  min-height: 250px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 28, 39, 0.055);
}

.wordstat-p0-landing .process-section {
  color: #fff;
  background: #0b121a;
}

.wordstat-p0-landing .process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.wordstat-p0-landing .process-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: #0f1823;
}

.wordstat-p0-landing .process-item span {
  color: #f0c681;
  font-weight: 850;
}

.wordstat-p0-landing .process-item h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.08;
}

.wordstat-p0-landing .process-item p {
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
}

.wordstat-p0-landing .service-faq-list details {
  padding: 22px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  background: #fff;
}

.wordstat-p0-landing .service-faq-list summary {
  cursor: pointer;
  color: #101923;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.wordstat-p0-landing .service-faq-list details p {
  margin-top: 12px;
  color: #4d5b6b;
}

.s3-growth-landing .service-landing-copy h1,
.s3-growth-landing .section-kicker,
.s3-growth-landing .service-landing-lead,
.s3-growth-landing .service-landing-region,
.s3-growth-landing h2,
.s3-growth-landing h3,
.s3-growth-landing .button {
  overflow-wrap: anywhere;
  word-break: normal;
}

.s3-growth-landing .button {
  white-space: normal;
  text-align: center;
}

.s3-court-proof-section {
  padding: 58px 0;
  background: #0b121a;
  color: #f8fafc;
}

.s3-court-proof-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.s3-court-proof-head h2 {
  margin: 0;
  color: #fff;
}

.s3-court-proof-head p {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
}

.article-case-proof-stack {
  display: grid;
  gap: 16px;
}

.article-case-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 420px);
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.case-proof-copy {
  min-width: 0;
}

.case-proof-copy span {
  display: block;
  margin-bottom: 12px;
  color: #d8b06f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-proof-copy h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.08;
}

.case-proof-copy p,
.case-proof-copy dd {
  color: rgba(248, 250, 252, 0.74);
}

.case-proof-copy dl {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.case-proof-copy dt {
  color: #d8b06f;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-proof-copy dd {
  margin: 2px 0 0;
}

.case-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.case-proof-actions .case-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 850;
}

.case-proof-document {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.case-proof-document img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.14);
  transform-origin: center 18%;
}

.case-proof-document::after {
  content: attr(data-label);
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(11, 18, 26, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

@media (max-width: 900px) {
  .wordstat-p0-landing .service-landing-hero {
    padding: 44px 0 42px;
  }

  .wordstat-p0-landing .service-landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .wordstat-p0-landing .service-landing-copy h1,
  .wordstat-p0-landing .service-landing-lead,
  .wordstat-p0-landing .service-landing-region {
    max-width: none;
  }

  .wordstat-p0-landing .service-proof-grid {
    grid-template-columns: 1fr;
  }

  .wordstat-p0-landing .service-landing-brief {
    padding: 22px;
  }

  .wordstat-p0-landing .process-item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
  }

  .s3-court-proof-head,
  .article-case-proof {
    grid-template-columns: 1fr;
  }

  .case-proof-document {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .wordstat-p0-landing .service-landing-copy h1 {
    font-size: 34px;
    line-height: 1.02;
  }

  .wordstat-p0-landing .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .wordstat-p0-landing .service-proof-card,
  .wordstat-p0-landing .service-situation-grid article,
  .wordstat-p0-landing .service-faq-list details {
    padding: 18px;
  }

  .s3-court-proof-section {
    padding: 42px 0;
  }

  .article-case-proof {
    padding: 16px;
  }

  .case-proof-document {
    min-height: 360px;
  }

.case-proof-actions .button,
.case-proof-actions .case-link {
    width: 100%;
    justify-content: center;
  }
}

/* Tax cluster editorial typography: align money pages and tax growth pages with the case reading standard. */
.content-wrap-tax-editorial .article-prose {
  color: #26364a;
}

.content-wrap-tax-editorial .article-prose p,
.content-wrap-tax-editorial .article-prose li {
  color: #26364a;
  font-size: 17px;
  line-height: 1.68;
}

.content-wrap-tax-editorial .article-section-block > p:first-of-type,
.content-wrap-tax-editorial .article-prose > p:first-of-type {
  color: #26364a;
  font-size: clamp(17px, 1.22vw, 18px);
  line-height: 1.66;
}

.content-wrap-tax-editorial .article-prose strong {
  color: #0f243d;
  font-weight: 900;
}

.content-wrap-tax-editorial .article-opener h2 {
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.content-wrap-tax-editorial .article-prose p strong,
.content-wrap-tax-editorial .article-prose li strong {
  background: linear-gradient(180deg, rgba(169, 129, 69, 0) 58%, rgba(169, 129, 69, 0.15) 58%);
}

.content-wrap-tax-editorial .article-prose p:has(> strong:first-child) {
  padding: 0;
  background: transparent;
  border-left: 0;
  border-radius: 0;
}

.content-wrap-tax-editorial .article-prose ul,
.content-wrap-tax-editorial .article-prose ol {
  max-width: 760px;
  margin: 22px 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.content-wrap-tax-editorial .article-prose li {
  padding: 8px 0 8px 34px;
  border-top: 0;
}

.content-wrap-tax-editorial .article-prose li + li {
  margin-top: 7px;
}

.content-wrap-tax-editorial .article-prose ul li::before {
  content: "\00A7";
  left: 2px;
  top: 0.46em;
  width: auto;
  height: auto;
  color: #a98145;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.content-wrap-tax-editorial .article-prose ol {
  counter-reset: tax-step;
}

.content-wrap-tax-editorial .article-prose ol li {
  counter-increment: tax-step;
}

.content-wrap-tax-editorial .article-prose ol li::before {
  content: counter(tax-step, decimal-leading-zero) " /";
  left: 0;
  top: 0.78em;
  color: #a06f28;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.article-data-grid,
.article-data-card {
  min-width: 0;
}

.s3-growth-landing-tax .service-document-list {
  gap: 8px;
}

.s3-growth-landing-tax .service-document-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  color: #26364a;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 650;
}

.s3-growth-landing-tax .service-document-list li::before {
  content: "\00A7";
  position: absolute;
  left: 2px;
  top: 0.63em;
  color: #a98145;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.s3-growth-landing-tax .service-proof-card strong,
.s3-growth-landing-tax .service-situation-grid h3,
.s3-growth-landing-tax .process-item h3 {
  text-wrap: balance;
}

.s3-growth-landing-tax .service-proof-card p,
.s3-growth-landing-tax .service-situation-grid p,
.s3-growth-landing-tax .process-item p,
.s3-growth-landing-tax .service-faq-list details p {
  font-size: 16px;
  line-height: 1.64;
}

/* S3 premium visual pass: proof-led hero, landings, and case documents. */
.hero-proof {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(105deg, rgba(11, 18, 26, 0.4), rgba(11, 18, 26, 0.06)),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 80px rgba(0, 0, 0, 0.18);
}

.hero-proof::before {
  content: "CASE FILE / ARBITRATION";
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: calc(100% + 10px);
  color: rgba(247, 244, 239, 0.32);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-proof::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 16px -24px 16px 18%;
  background:
    linear-gradient(90deg, rgba(11, 18, 26, 0.08), rgba(11, 18, 26, 0.68)),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") center / contain no-repeat;
  opacity: 0.72;
  filter: grayscale(0.08) contrast(1.08) brightness(1.04);
  transform: rotate(-1.6deg);
}

.proof-panel {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(28, 36, 45, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 54px rgba(0, 0, 0, 0.22);
}

.hero-founder {
  align-content: stretch;
  min-height: 560px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(11, 18, 26, 0.96), rgba(28, 37, 47, 0.88)),
    #0b121a;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.2);
}

.hero-founder::before,
.hero-founder::after {
  content: none;
}

.hero-founder-card {
  position: relative;
  display: block;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #0b121a;
}

.hero-founder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 18, 26, 0.02) 0%, rgba(11, 18, 26, 0.08) 46%, rgba(11, 18, 26, 0.68) 100%),
    linear-gradient(90deg, rgba(11, 18, 26, 0.22), rgba(11, 18, 26, 0) 42%);
  pointer-events: none;
}

.hero-founder-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  padding: 0;
}

.hero-founder-photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(0.02) contrast(1.03) saturate(0.98);
}

.hero-founder-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 25, 35, 0.82), rgba(17, 25, 35, 0.68)),
    rgba(17, 25, 35, 0.74);
  color: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.hero-founder-copy strong {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-founder-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.46;
}

.hero-founder-link {
  width: fit-content;
  color: var(--gold);
  font-weight: 850;
  text-decoration: none;
}

.hero-founder-link:hover {
  color: #fff;
}

.service-landing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.service-landing-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 20px;
  right: -120px;
  width: min(46vw, 620px);
  height: calc(100% - 40px);
  background: url("/wp-content/themes/imperius-redesign/assets/images/cases/a32-opredelenie-bg.jpg") center / contain no-repeat;
  opacity: 0.16;
  filter: grayscale(0.35) contrast(1.06);
  transform: rotate(3deg);
}

.service-landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 26, 0.98) 0%, rgba(11, 18, 26, 0.92) 56%, rgba(11, 18, 26, 0.64) 100%),
    radial-gradient(circle at 86% 24%, rgba(181, 138, 73, 0.14), transparent 26%);
}

.service-landing-hero-grid,
.service-landing-hero .container {
  position: relative;
  z-index: 1;
}

.service-landing-brief,
.priority-route-proof,
.priority-route-result,
.practice-orientation,
.practice-case-card {
  box-shadow: 0 18px 50px rgba(17, 24, 32, 0.08);
}

.service-situation-grid article,
.service-format-grid article,
.service-resource-link {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.service-situation-grid article:hover,
.service-format-grid article:hover,
.service-resource-link:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 73, 0.34);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.08);
}

.case-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b121a;
}

.case-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 18px;
  right: -70px;
  width: min(50vw, 680px);
  height: calc(100% - 28px);
  background: url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") center / contain no-repeat;
  opacity: 0.26;
  filter: grayscale(0.2) contrast(1.08) brightness(0.92);
  transform: rotate(-2deg);
}

.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 18, 26, 0.99) 0%, rgba(11, 18, 26, 0.9) 58%, rgba(11, 18, 26, 0.68) 100%),
    linear-gradient(180deg, rgba(181, 138, 73, 0.12), rgba(11, 18, 26, 0) 42%);
}

.case-hero-grid {
  position: relative;
  z-index: 1;
}

.case-hero-panel {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 28px 70px rgba(0, 0, 0, 0.22);
}

.evidence-card {
  position: relative;
  overflow: hidden;
}

.evidence-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -50px;
  width: 138px;
  height: 178px;
  border: 1px solid rgba(181, 138, 73, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(238, 242, 246, 0.8)),
    repeating-linear-gradient(180deg, transparent 0 17px, rgba(17, 24, 32, 0.08) 18px 19px);
  opacity: 0.42;
  transform: rotate(-7deg);
  pointer-events: none;
}

.evidence-card:hover::after {
  opacity: 0.22;
}

.category-kejsy .archive-card,
.case-row {
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-kejsy .archive-card::before,
.case-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), rgba(181, 138, 73, 0));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.category-kejsy .archive-card:hover,
.case-row:hover {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 73, 0.34);
  box-shadow: 0 22px 54px rgba(17, 24, 32, 0.1);
}

.category-kejsy .archive-card:hover::before,
.case-row:hover::before {
  opacity: 1;
}

.article-case-proof {
  max-width: 940px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
  background: #101923;
  border-color: rgba(17, 24, 32, 0.16);
  box-shadow: 0 24px 70px rgba(17, 24, 32, 0.12);
}

.case-proof-copy {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(181, 138, 73, 0.11), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.case-proof-copy::after {
  content: "ARBITRATION PROOF";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(17, 24, 32, 0.08);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.case-proof-document {
  min-height: 390px;
  padding: 26px 22px 72px;
  align-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(160deg, #182535 0%, #0d1621 55%, #25313f 100%);
}

.case-proof-document::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(5, 9, 13, 0.32)),
    linear-gradient(90deg, rgba(181, 138, 73, 0.16), transparent 32%, transparent 68%, rgba(181, 138, 73, 0.1));
}

.case-proof-document img {
  width: min(100%, 330px);
  max-height: 470px;
  background: #fff;
  filter: grayscale(0.08) contrast(1.04);
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32), 0 0 0 8px rgba(255, 255, 255, 0.05);
  transform: rotate(-1.4deg) translateY(-2px);
}

.proof-system-section {
  background: #f7f9fb;
}

.proof-system-head {
  align-items: start;
}

.proof-system-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.proof-system-filter button {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.proof-system-filter button.is-active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.proof-system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.proof-system-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 440px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 32, 0.08);
}

.proof-system-copy {
  min-width: 0;
  padding: 24px;
}

.proof-system-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 13px;
}

.proof-system-meta span,
.proof-system-meta strong {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-system-meta span {
  color: var(--gold);
}

.proof-system-meta strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f6;
  color: #334155;
}

.proof-system-card h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.65vw, 26px);
  line-height: 1.12;
}

.proof-system-card p {
  margin: 0;
  color: var(--muted);
}

.proof-system-facts {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.proof-system-facts div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
}

.proof-system-facts dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-system-facts dd {
  min-width: 0;
  margin: 0;
  color: #334155;
}

.proof-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.proof-system-actions .case-link-muted {
  color: #64748b;
}

.proof-system-document {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 440px;
  padding: 18px 20px 82px;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(247, 244, 238, 0.56), rgba(196, 193, 188, 0.46)),
    var(--proof-preview-image, none),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #f7f4ee 0%, #e7e4de 54%, #c4c1bc 100%);
  background-position: center center, center 18px, center center, center center;
  background-repeat: no-repeat;
  background-size: auto, auto calc(100% - 112px), auto, auto;
}

.proof-system-document img {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  transform: none;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.14);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.16);
}

.proof-document-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 242, 246, 0.95)),
    repeating-linear-gradient(180deg, transparent 0 17px, rgba(17, 24, 32, 0.08) 18px 19px);
  color: var(--dark);
}

.proof-document-fallback strong {
  font-size: 32px;
  line-height: 1;
}

.proof-document-fallback small {
  color: #64748b;
  font-weight: 850;
}

.proof-document-preview-fallback {
  display: none;
}

.proof-system-document::before {
  z-index: 3;
}

.proof-system-document::after {
  z-index: 1;
}

.proof-system-card.is-hidden {
  display: none;
}

.proof-system-cases .proof-system-grid,
.proof-system-home .proof-system-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-system-home-carousel {
  overflow: hidden;
  padding: clamp(48px, 6vw, 76px) 0 clamp(42px, 5vw, 64px);
  background: #eef3f7;
}

.proof-home-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: 22px;
}

.proof-home-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.3vw, 60px);
  line-height: 1;
}

.proof-home-head-copy {
  display: grid;
  gap: 16px;
  align-content: end;
}

.proof-home-head-copy p {
  max-width: 560px;
  margin: 0;
  color: #526174;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

.proof-home-all {
  width: fit-content;
  color: var(--ink);
  font-weight: 900;
  text-decoration-color: rgba(17, 24, 32, 0.32);
  text-underline-offset: 5px;
}

.proof-home-carousel-shell {
  position: relative;
}

.proof-home-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 4px 18px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(17, 24, 32, 0.22) transparent;
  scrollbar-width: thin;
}

.proof-home-slide {
  flex: 0 0 min(760px, calc(100vw - 96px));
  min-width: 0;
  height: 430px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(17, 24, 32, 0.08);
  scroll-snap-align: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.proof-home-slide:hover {
  border-color: rgba(17, 24, 32, 0.2);
  box-shadow: 0 24px 58px rgba(17, 24, 32, 0.12);
  transform: translateY(-3px);
}

.proof-home-preview {
  position: relative;
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 42px),
    linear-gradient(150deg, #182331 0%, #0b121a 72%);
  text-decoration: none;
}

.proof-home-preview::after {
  content: "кейс";
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-home-preview img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3);
  transform: rotate(-2deg) translateY(4px);
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.proof-home-slide:hover .proof-home-preview img {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  transform: rotate(0deg) translateY(-4px) scale(1.035);
}

.proof-home-preview-fallback {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 190px;
  color: #fff;
  text-align: center;
}

.proof-home-preview-fallback strong {
  font-size: 34px;
  line-height: 1;
}

.proof-home-preview-fallback em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 850;
}

.proof-home-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  padding: clamp(18px, 2.2vw, 26px);
}

.proof-home-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.proof-home-meta span,
.proof-home-meta strong {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-home-meta span {
  color: var(--gold);
}

.proof-home-meta strong {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2f6;
  color: #334155;
}

.proof-home-copy h3 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.05;
}

.proof-home-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.proof-home-copy h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.proof-home-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-width: 640px;
  margin: 12px 0 0;
  color: #526174;
  font-size: 16px;
  line-height: 1.48;
}

.proof-home-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  gap: 10px 18px;
  margin: 14px 0 0;
}

.proof-home-facts div {
  display: grid;
  gap: 4px;
}

.proof-home-facts dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-home-facts dd {
  margin: 0;
  color: #162233;
  font-weight: 750;
}

.proof-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.proof-home-primary,
.proof-home-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.proof-home-primary {
  background: var(--dark);
  color: #fff;
}

.proof-home-secondary {
  border: 1px solid rgba(17, 24, 32, 0.16);
  color: #526174;
}

.proof-home-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(17, 24, 32, 0.14);
  cursor: pointer;
  transform: translateY(-50%);
}

.proof-home-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--dark);
  border-right: 2px solid var(--dark);
}

.proof-home-nav--prev {
  left: -18px;
}

.proof-home-nav--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.proof-home-nav--next {
  right: -18px;
}

.proof-home-nav--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.proof-home-slide.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .proof-home-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proof-home-track {
    gap: 14px;
    padding-bottom: 12px;
  }

  .proof-home-slide {
    flex-basis: min(84vw, 340px);
    grid-template-columns: 1fr;
    height: 510px;
    min-height: 0;
  }

  .proof-home-preview {
    min-height: 170px;
    max-height: 190px;
  }

  .proof-home-preview img {
    max-height: 164px;
  }

  .proof-home-copy {
    padding: 20px;
  }

  .proof-home-copy h3 {
    font-size: 25px;
  }

  .proof-home-copy p {
    -webkit-line-clamp: 3;
  }

  .proof-home-facts {
    grid-template-columns: 1fr;
  }

  .proof-home-actions a {
    width: 100%;
  }

  .proof-home-nav {
    display: none;
  }
}

.proof-route-showcase .case-row {
  text-decoration: none;
}

.home-proof-route {
  position: relative;
  padding: clamp(58px, 7vw, 86px) 0;
  background:
    linear-gradient(180deg, #eef3f7 0%, #f7f9fb 100%);
  border-top: 1px solid rgba(17, 24, 32, 0.08);
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
}

.home-proof-route__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}

.home-proof-route__kicker {
  margin: 0 0 12px;
  color: #526174;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-proof-route__intro h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
}

.home-proof-route__intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #526174;
  font-size: 18px;
  line-height: 1.58;
}

.home-proof-route__result {
  max-width: 560px;
  display: grid;
  gap: 7px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-left: 4px solid #2f6f8f;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.06);
}

.home-proof-route__result span {
  color: #526174;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-proof-route__result strong {
  color: #162233;
  font-size: 16px;
  line-height: 1.45;
}

.home-proof-route__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-proof-route__card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 300px;
  padding: 24px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(17, 24, 32, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-proof-route__card:hover,
.home-proof-route__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 111, 143, 0.42);
  box-shadow: 0 24px 54px rgba(17, 24, 32, 0.1);
}

.home-proof-route__card--accent {
  background: #111a24;
  border-color: #111a24;
  color: #fff;
}

.home-proof-route__step {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #2f6f8f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  background: #e7f0f5;
  border: 1px solid rgba(47, 111, 143, 0.18);
  border-radius: 8px;
}

.home-proof-route__card--accent .home-proof-route__step {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.home-proof-route__card small {
  display: block;
  margin: 0 0 12px;
  color: #526174;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-proof-route__card--accent small {
  color: rgba(226, 232, 240, 0.72);
}

.home-proof-route__card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.08;
}

.home-proof-route__card p {
  margin: 12px 0 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.55;
}

.home-proof-route__card--accent p {
  color: rgba(226, 232, 240, 0.76);
}

.home-proof-route__card em {
  color: #2f6f8f;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.home-proof-route__card--accent em {
  color: #fff;
}

@media (max-width: 980px) {
  .home-proof-route__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-proof-route__board {
    grid-template-columns: 1fr;
  }

  .home-proof-route__card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-proof-route__intro h2 {
    font-size: 32px;
  }

  .home-proof-route__intro p:not(.eyebrow) {
    font-size: 16px;
  }

  .home-proof-route__card {
    padding: 20px;
  }

  .home-proof-route__card h3 {
    font-size: 20px;
  }
}

.mega-proof-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mega-proof-lane a {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
}

.mega-proof-lane span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-weight: 850;
}

.mega-proof-lane small {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.case-proof-document::before {
  left: 22px;
  right: 22px;
  bottom: 22px;
  background: rgba(11, 18, 26, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.case-proof-document:hover img {
  transform: rotate(0deg) translateY(-4px) scale(1.028);
}

.category-kejsy .editorial-visual-card {
  background:
    linear-gradient(90deg, rgba(17, 24, 32, 0.95) 0%, rgba(17, 24, 32, 0.84) 56%, rgba(17, 24, 32, 0.46) 100%),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") right center / auto 118% no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 22px 46px rgba(17, 24, 32, 0.16);
}

.evidence-card {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 57%, rgba(255, 255, 255, 0.62) 100%),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") right 18px top 50% / auto 128% no-repeat;
}

.evidence-card::after {
  opacity: 0.22;
}

.case-flow div {
  transition: background 0.18s ease, transform 0.18s ease;
}

.case-flow div:hover {
  background: #fff;
  transform: translateY(-1px);
}

@media (max-width: 920px) {
  .service-landing-hero::before,
  .case-hero::before {
    top: auto;
    right: -120px;
    bottom: -80px;
    width: 520px;
    height: 420px;
    opacity: 0.12;
  }

  .hero-proof::before {
    display: none;
  }

  .hero-founder {
    min-height: 520px;
  }

  .hero-founder-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .article-case-proof {
    grid-template-columns: 1fr;
  }

  .case-proof-document {
    min-height: 340px;
  }

  .case-proof-document img {
    width: min(100%, 250px);
    max-height: 410px;
  }

  .proof-system-grid,
  .proof-system-cases .proof-system-grid,
  .proof-system-home .proof-system-grid,
  .mega-proof-lane {
    grid-template-columns: 1fr;
  }

  .proof-system-card {
    grid-template-rows: auto 380px;
  }

  .proof-system-document {
    height: 380px;
    padding: 14px 16px 76px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document {
    min-height: 320px;
    padding: 30px 24px 76px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document img {
    max-width: min(72%, 250px);
    max-height: 285px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    min-height: 0;
    padding: 28px 26px;
  }

  .case-article-entry .article-case-proof-stack .proof-system-card--hero h3 {
    font-size: clamp(28px, 4vw, 36px);
  }

  .proof-system-facts div {
    grid-template-columns: 1fr;
  }

  .proof-system-actions .case-link {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .hero-founder {
    min-height: 520px;
  }

  .hero-founder-card {
    min-height: 520px;
  }

  .hero-founder-photo img {
    object-position: center 28%;
  }

  .hero-founder-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 8px;
    padding: 15px;
  }

  .hero-founder-copy strong {
    font-size: 25px;
  }

  .hero-founder-copy p {
    font-size: 15px;
  }
}

/* Stable visible team portraits for long stitched screenshots and slow lazy loading. */
.expert-card-team {
  position: relative;
}

.expert-card-team::before {
  content: "";
  display: block;
  width: 100%;
  height: 250px;
  background-color: #d8dee6;
  background-size: cover;
  background-position: center top;
  filter: saturate(0.92) contrast(1.02);
}

.expert-card-team > img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.expert-card-kurtapov::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/alexandr-kurtapov-premium-560.jpg");
  background-position: center 18%;
}

.expert-card-dranichnikova::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/darya-dranichnikova-premium-560.jpg");
  background-position: center 24%;
}

.expert-card-gusarova::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/oksana-gusarova-premium-560.jpg");
  background-position: center 20%;
}

.service-team-card {
  position: relative;
}

.service-team-card::before {
  content: "";
  display: block;
  width: 100%;
  height: 248px;
  background-color: #d8dee6;
  background-size: cover;
  background-position: center top;
  filter: saturate(0.82) contrast(0.98);
}

.service-team-card > img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.service-team-card-kurtapov::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/alexandr-kurtapov-premium-560.jpg");
  background-position: center 18%;
}

.service-team-card-dranichnikova::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/darya-dranichnikova-premium-560.jpg");
  background-position: center 24%;
}

.service-team-card-gusarova::before {
  background-image: url("/wp-content/themes/imperius-redesign/assets/images/team/oksana-gusarova-premium-560.jpg");
  background-position: center 20%;
}

@media (max-width: 760px) {
  .expert-card-team::before,
  .service-team-card::before {
    height: 220px;
  }
}

/* S3 premium media layer: warmer editorial rhythm and reader habit loops. */
.home-editorial-pulse {
  position: relative;
  overflow: hidden;
  color: #f9f4eb;
  background:
    linear-gradient(135deg, rgba(97, 50, 61, 0.92), rgba(14, 22, 31, 0.96) 54%, rgba(11, 18, 26, 1)),
    #111820;
}

.home-editorial-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(239, 228, 210, 0.07), rgba(255, 255, 255, 0));
}

.editorial-pulse-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 34px;
  padding: 42px 0 46px;
  align-items: stretch;
}

.editorial-pulse-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.editorial-pulse-lead h2 {
  max-width: 640px;
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.03;
}

.editorial-pulse-lead p {
  max-width: 620px;
  margin: 0;
  color: rgba(249, 244, 235, 0.78);
  font-size: 17px;
}

.pulse-actions,
.reader-follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.reader-follow-actions .button-outline {
  color: #f9f4eb;
  border-color: rgba(249, 244, 235, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.reader-follow-actions .button-outline:hover,
.reader-follow-actions .button-outline:focus-visible {
  color: #fff;
  border-color: rgba(201, 165, 108, 0.62);
  background: rgba(201, 165, 108, 0.1);
}

.pulse-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.pulse-card {
  position: relative;
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(239, 228, 210, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pulse-card-primary {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(239, 228, 210, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.08);
}

.pulse-card span,
.dossier-card span {
  display: block;
  margin-bottom: 12px;
  color: #f0c681;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.pulse-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.08;
}

.pulse-card p {
  margin: 0 0 18px;
  color: rgba(249, 244, 235, 0.72);
}

.pulse-card a {
  color: #fff;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(240, 198, 129, 0.58);
  text-underline-offset: 5px;
}

.pulse-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 198, 129, 0.46);
  background: rgba(255, 255, 255, 0.105);
}

.home-signature-section {
  background:
    linear-gradient(180deg, var(--ivory), #f2f5f7 72%),
    var(--paper);
}

.signature-room {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.signature-room-copy h2 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.04;
}

.signature-room-copy p {
  max-width: 640px;
  color: #4d5b6b;
  font-size: 17px;
}

.signature-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.signature-metrics span {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(152, 96, 68, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #5f6c7a;
  box-shadow: 0 16px 36px rgba(17, 24, 32, 0.055);
}

.signature-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
}

.signature-dossier {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.signature-dossier::before {
  content: "";
  position: absolute;
  inset: -18px 24px 18px -18px;
  border: 1px solid rgba(169, 129, 69, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(239, 228, 210, 0.46)),
    repeating-linear-gradient(180deg, transparent 0 21px, rgba(18, 20, 23, 0.045) 22px 23px);
  transform: rotate(-1.8deg);
}

.dossier-card {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(18, 20, 23, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 50px rgba(17, 24, 32, 0.09);
}

.dossier-card-court {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.74) 100%),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") right center / auto 118% no-repeat;
}

.dossier-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.08;
}

.dossier-card p {
  max-width: 520px;
  margin: 0;
  color: #4d5b6b;
}

.dossier-card-live {
  border-color: rgba(97, 50, 61, 0.22);
}

.reader-follow-layer {
  position: relative;
  overflow: hidden;
  color: #f9f4eb;
  background:
    linear-gradient(180deg, #101923 0%, #0d151e 100%),
    #101923;
  border-top: 1px solid rgba(239, 228, 210, 0.1);
  border-bottom: 1px solid rgba(239, 228, 210, 0.08);
}

.reader-follow-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(239, 228, 210, 0.045), rgba(255, 255, 255, 0));
}

.reader-follow-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  padding: 38px 0;
  align-items: center;
}

.reader-follow-copy h2 {
  max-width: 680px;
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.06;
}

.reader-follow-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(249, 244, 235, 0.74);
}

.reader-briefing-board {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.reader-briefing-board details {
  border: 1px solid rgba(239, 228, 210, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.reader-briefing-board summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #fff;
  font-weight: 850;
}

.reader-briefing-board p {
  margin: 0;
  padding: 0 20px 18px;
  color: rgba(249, 244, 235, 0.72);
}

@media (max-width: 960px) {
  .editorial-pulse-grid,
  .signature-room,
  .reader-follow-grid {
    grid-template-columns: 1fr;
  }

  .pulse-stack,
  .signature-metrics {
    grid-template-columns: 1fr;
  }

  .pulse-card-primary {
    grid-row: auto;
  }

  .signature-dossier::before {
    inset: -12px 14px 12px -10px;
  }
}

@media (max-width: 560px) {
  .editorial-pulse-grid,
  .reader-follow-grid {
    padding: 32px 0;
  }

  .editorial-pulse-lead h2,
  .signature-room-copy h2 {
    font-size: 32px;
  }

  .reader-follow-copy h2 {
    font-size: 29px;
  }

  .pulse-card,
  .dossier-card {
    padding: 20px;
  }

  .pulse-actions .button,
  .reader-follow-actions .button {
    width: 100%;
  }
}

/* S3 release hygiene: intermediate tablet mode and media containment. */
.expert-card-team,
.service-team-card,
.case-dossier,
.dossier-steps,
.service-intake,
.service-intake ol,
.service-intake li,
.article-case-proof,
.case-proof-copy,
.case-proof-document,
.service-situation-grid > *,
.enterprise-decision-grid > *,
.service-semantics-grid > *,
.article-role-links > *,
.article-grid > *,
.service-team-grid > * {
  min-width: 0;
}

.expert-card-team,
.service-team-card {
  max-width: 100%;
}

.expert-card-team::before,
.service-team-card::before {
  max-width: 100%;
  background-repeat: no-repeat;
}

.case-proof-document {
  overflow: hidden;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}

.case-proof-document img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.case-proof-document.proof-system-document {
  aspect-ratio: auto;
}

.case-proof-document.proof-system-document img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Editorial finish: make case proof cards read as a confident court dossier. */
.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
  min-height: 390px;
  padding: 34px 36px 30px;
  background:
    linear-gradient(90deg, rgba(169, 129, 69, 0.11), rgba(169, 129, 69, 0) 5px),
    linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-meta {
  gap: 10px;
  margin-bottom: 18px;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-meta span {
  color: #9a681f;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-meta strong {
  background: #e8eef4;
  color: #10233d;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero h3 {
  max-width: 680px;
  margin-bottom: 14px;
  color: #07111e;
  font-size: clamp(30px, 2.45vw, 42px);
  line-height: 1.02;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero p {
  max-width: 690px;
  color: #38485c;
  font-size: 18px;
  line-height: 1.55;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts {
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 35, 61, 0.12);
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts div {
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  padding: 9px 12px;
  border-left: 2px solid rgba(169, 129, 69, 0.45);
  border-radius: 4px;
  background: rgba(248, 250, 252, 0.82);
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts dt {
  color: #9a681f;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts dd {
  color: #10233d;
  font-size: 19px;
  line-height: 1.28;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-actions {
  margin-top: 22px;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-actions .case-link {
  color: #12304c;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-actions .case-link-muted {
  color: #566779;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 38px 32px 82px;
  background-position: center center;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document img {
  width: auto;
  height: auto;
  max-width: min(68%, 280px);
  max-height: 340px;
  object-fit: contain;
  object-position: center center;
  transform: rotate(-0.8deg);
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .case-proof-document.proof-system-document:hover img {
  transform: rotate(0deg) translateY(-2px);
}

.dossier-steps div,
.service-intake li {
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .service-situation-grid,
  .enterprise-decision-grid,
  .article-grid,
  .service-team-grid,
  .situation-grid,
  .capability-grid,
  .service-link-grid,
  .authority-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .service-semantics-grid,
  .article-role-links,
  .service-intake ol,
  .dossier-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-semantics-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-situation-grid article,
  .enterprise-decision-grid article,
  .service-semantics-grid a,
  .article-role-links a,
  .article-card,
  .service-team-card,
  .situation-card,
  .practice-card,
  .capability-grid article,
  .authority-grid article,
  .dossier-steps div,
  .service-intake li {
    min-height: 0;
  }

  .service-situation-grid article,
  .enterprise-decision-grid article,
  .service-semantics-grid a,
  .article-role-links a,
  .situation-card,
  .practice-card,
  .capability-grid article,
  .authority-grid article,
  .dossier-steps div,
  .service-intake li {
    padding: 20px;
  }

  .service-situation-grid h2,
  .enterprise-decision-grid h3,
  .service-semantics-grid h3,
  .article-role-links strong,
  .situation-card h3,
  .practice-card h3,
  .service-link-grid .practice-card h3,
  .capability-grid h3,
  .authority-grid strong {
    font-size: clamp(21px, 2.15vw, 24px);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .service-team-card strong,
  .expert-card-team strong,
  .service-landing-brief strong {
    font-size: 22px;
    line-height: 1.08;
  }

  .service-team-card::before,
  .expert-card-team::before {
    height: 220px;
  }

  .service-team-card div,
  .expert-card-team div {
    min-height: 0;
    padding: 18px;
  }

  .case-dossier,
  .service-intake {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 24px;
  }

  .case-dossier h2,
  .service-intake h2 {
    font-size: clamp(30px, 3vw, 38px);
  }

  .dossier-steps strong,
  .service-intake strong {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.1;
  }

  .dossier-steps p,
  .service-intake li p {
    font-size: 13px;
    line-height: 1.42;
  }

  .article-case-proof {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  }

  .case-proof-document {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .case-flow {
    grid-template-columns: 1fr;
  }

  .litigation-proof-near-cta strong {
    line-height: 1.08;
  }
}

@media (max-width: 680px) {
  .expert-card-team,
  .service-team-card {
    width: 100%;
    max-width: 100%;
  }

  .expert-card-team::before,
  .service-team-card::before {
    height: 210px;
  }

  .expert-card-team div,
  .service-team-card div {
    min-height: 0;
    padding: 18px;
  }

  .case-proof-document {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* S3 release hygiene v2: remove residual measured overflow from hero art and long legal tokens. */
.hero::before,
.service-landing-hero::before {
  right: 0;
  max-width: calc(100% - 20px);
  transform: none;
}

.expert-card-team > img,
.service-team-card > img {
  display: none;
}

.article-practical-copy,
.article-practical-copy h2,
.article-data-card dl,
.article-data-card dt,
.article-data-card dd,
.article-case-card dl,
.article-case-card dt,
.article-case-card dd,
.case-proof-copy dl,
.case-proof-copy dt,
.case-proof-copy dd,
.case-hero-panel,
.service-check-list li,
.service-document-list li,
.process-list li,
.contact-facts h3,
.contact-facts strong,
.practice-card h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .practice-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .practice-card h3 {
    font-size: clamp(21px, 2.15vw, 24px);
    line-height: 1.1;
  }
}

@media (max-width: 680px) {
  .hero::before,
  .service-landing-hero::before {
    right: 0;
    width: min(82vw, 320px);
  }

  .service-case-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: hidden;
    padding-bottom: 0;
  }
}

/* S3 release hygiene v3: long related-card and short legal-code tokens. */
.article-grid h3,
.related-grid,
.related-grid a,
.related-grid strong,
.priority-route-regional,
.priority-route-regional strong,
.priority-route-regional li,
.first-step-grid,
.first-step-grid article,
.first-step-grid h3,
.first-step-grid li,
.entry-content li {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid strong,
  .article-grid h3 {
    font-size: 21px;
    line-height: 1.12;
  }

  .priority-route-regional {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  }

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

  .signature-metrics strong {
    overflow-wrap: anywhere;
  }

  .article-practical-start {
    grid-template-columns: 1fr;
  }
}

/* S3 release hygiene v4: team portraits use real images, not pseudo backgrounds. */
.expert-card-team::before,
.service-team-card::before {
  display: none;
}

.expert-card-team > img,
.service-team-card > img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  opacity: 1;
  pointer-events: auto;
  object-fit: cover;
  object-position: center top;
}

.expert-card-team > img {
  height: 250px;
  filter: saturate(0.92) contrast(1.02);
}

.service-team-card > img {
  height: 248px;
  filter: saturate(0.82) contrast(0.98);
}

@media (max-width: 1100px) and (min-width: 981px) {
  .expert-card-team > img,
  .service-team-card > img {
    height: 220px;
  }
}

@media (max-width: 680px) {
  .expert-card-team > img,
  .service-team-card > img {
    height: 210px;
  }
}

/* S3 overflow guard: proof visuals and dense decision widgets must not create horizontal scroll. */
html,
body {
  overflow-x: hidden;
}

.header-actions,
.signal-desk,
.signal-console,
.signal-tabs,
.signal-panels,
.situation-grid {
  min-width: 0;
  max-width: 100%;
}

.header-actions {
  flex-shrink: 1;
}

.header-actions .button,
.signal-tab,
.signal-panel,
.situation-card {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.header-actions .button {
  text-align: center;
  white-space: normal;
}

@media (max-width: 1100px) {
  .header-actions {
    gap: 10px;
  }

  .header-actions .button {
    padding-inline: 14px;
  }
}

@media (max-width: 680px) {
  .signal-tabs,
  .signal-tab,
  .signal-panels,
  .signal-panel,
  .situation-card {
    width: 100%;
  }
}

/* Homepage readability repair: keep section typography editorial, not hero-sized. */
body.home .section {
  padding: 68px 0;
}

body.home .section-tight {
  padding: 46px 0;
}

body.home .section-header {
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.44fr);
  gap: 28px;
  margin-bottom: 26px;
}

body.home .section-header h2 {
  max-width: 780px;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.06;
}

body.home .situation-band .section-header h2,
body.home #practices .section-header h2 {
  font-size: clamp(31px, 2.65vw, 44px);
}

body.home #practices {
  padding: 48px 0;
}

body.home #practices .section-header {
  align-items: start;
  margin-bottom: 22px;
}

body.home #practices .section-header h2 {
  max-width: 640px;
  font-size: clamp(30px, 2.35vw, 38px);
  line-height: 1.06;
}

body.home #practices .section-header p {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.5;
}

body.home #practices .practice-grid {
  grid-auto-rows: minmax(218px, auto);
}

body.home .home-editorial-pulse {
  color: #f6f3ee;
  background:
    linear-gradient(115deg, rgba(15, 23, 32, 0.98), rgba(20, 31, 42, 0.96) 58%, rgba(11, 18, 26, 1)),
    #101820;
}

body.home .home-editorial-pulse::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, rgba(216, 176, 111, 0.055), rgba(255, 255, 255, 0));
}

body.home .editorial-pulse-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1fr);
  gap: 28px;
  padding: 34px 0 38px;
}

body.home .editorial-pulse-lead h2 {
  max-width: 590px;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.08;
}

body.home .editorial-pulse-lead p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.56;
}

body.home .home-editorial-pulse .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
}

body.home .home-editorial-pulse .button-outline:hover {
  color: #111820;
  background: #fff;
  border-color: #fff;
}

body.home .pulse-card {
  min-height: 184px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    rgba(21, 31, 41, 0.86);
  border-color: rgba(239, 228, 210, 0.14);
}

body.home .pulse-card-primary {
  grid-column: span 2;
  grid-row: auto;
  background:
    linear-gradient(180deg, rgba(216, 176, 111, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(21, 31, 41, 0.9);
}

body.home .pulse-card h3 {
  font-size: clamp(22px, 1.75vw, 28px);
  line-height: 1.08;
}

body.home .pulse-card p {
  font-size: 15px;
  line-height: 1.5;
}

body.home .situation-card {
  min-height: 236px;
  padding: 22px;
}

body.home .situation-card h3,
body.home .practice-card h3 {
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.08;
}

body.home .practice-card {
  min-height: 252px;
  padding: 26px;
}

body.home #practices .practice-card {
  min-height: 218px;
  padding: 22px 24px;
}

body.home #practices .practice-card h3 {
  margin: 26px 0 10px;
  font-size: clamp(22px, 1.7vw, 26px);
  line-height: 1.08;
}

body.home #practices .practice-card p {
  font-size: 15px;
  line-height: 1.44;
}

body.home #practices .practice-meta {
  padding-top: 16px;
}

body.home .team-section {
  padding: 50px 0 56px;
}

body.home .team-section .section-header {
  align-items: start;
  margin-bottom: 22px;
}

body.home .team-section .section-header h2 {
  max-width: 640px;
  font-size: clamp(31px, 2.55vw, 42px);
  line-height: 1.06;
}

body.home .team-section .section-header p {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.5;
}

body.home .team-grid {
  gap: 14px;
}

body.home .expert-card-team::before {
  height: 190px;
}

body.home .expert-card-team div {
  padding: 20px 22px 22px;
}

body.home .expert-card-team strong {
  margin-top: 8px;
  font-size: clamp(25px, 2.05vw, 31px);
  line-height: 1.06;
}

body.home .expert-card-team p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.42;
}

body.home .expert-card-team small {
  margin-top: 8px;
  font-size: 12px;
}

body.home .home-knowledge-section {
  padding: 52px 0;
}

body.home .home-knowledge-section .knowledge-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
}

body.home .home-knowledge-section .section-header {
  display: block;
  margin-bottom: 20px;
}

body.home .home-knowledge-section .section-header h2 {
  max-width: 700px;
  font-size: clamp(29px, 2.1vw, 36px);
  line-height: 1.06;
}

body.home .home-knowledge-section .article-feature {
  grid-template-columns: minmax(220px, 0.56fr) minmax(0, 0.82fr);
}

body.home .home-knowledge-section .article-feature > a,
body.home .home-knowledge-section .editorial-visual-feature {
  min-height: 220px;
  height: 220px;
}

body.home .home-knowledge-section .article-feature img {
  min-height: 220px;
}

body.home .home-knowledge-section .article-feature-body {
  padding: 22px 26px;
}

body.home .home-knowledge-section .article-feature h3 {
  margin: 12px 0 10px;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.06;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .home-knowledge-section .article-feature p {
  font-size: 16px;
  line-height: 1.48;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .home-knowledge-section .article-grid {
  margin-top: 14px;
  gap: 14px;
}

body.home .home-knowledge-section .article-card {
  height: 220px;
  padding: 20px 22px;
  overflow: hidden;
}

body.home .home-knowledge-section .article-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(19px, 1.25vw, 22px);
  line-height: 1.08;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.home .home-knowledge-section .article-card p {
  font-size: 15px;
  line-height: 1.44;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .home-knowledge-section .sidebar-box {
  padding: 18px 20px;
  margin-bottom: 12px;
}

body.home .home-knowledge-section .sidebar-box h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 1.7vw, 26px);
  line-height: 1.08;
}

body.home .home-knowledge-section .sidebar-box p {
  font-size: 15px;
  line-height: 1.48;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

body.home .home-knowledge-section .category-list {
  gap: 0;
}

body.home .home-knowledge-section .category-list a {
  padding: 7px 0;
  font-size: 14px;
  line-height: 1.25;
}

body.home .home-knowledge-section .category-list li:nth-child(n+5) {
  display: none;
}

body.home .home-knowledge-section aside .sidebar-box:nth-of-type(3) {
  display: none;
}

body.home .home-knowledge-section .sidebar-signal .social-pill {
  min-height: 0;
  padding: 12px 14px;
}

/* Final homepage editorial cards pass. */
body.home .home-knowledge-section {
  padding: 72px 0 76px;
  background: #f3f6f8;
}

body.home .home-knowledge-section .knowledge-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 36px;
}

body.home .home-knowledge-section .section-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.09);
}

body.home .home-knowledge-section .section-header h2 {
  max-width: 760px;
  font-size: 42px;
  line-height: 1.04;
}

body.home .home-knowledge-section .article-feature {
  min-height: 334px;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  background: #fff;
  border-color: rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

body.home .home-knowledge-section .article-feature > a,
body.home .home-knowledge-section .editorial-visual-feature,
body.home .home-knowledge-section .article-feature img {
  min-height: 334px;
  height: 100%;
}

body.home .home-knowledge-section .article-feature-body {
  padding: 30px 32px;
}

body.home .home-knowledge-section .article-meta {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  color: #5b6b7e;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  background: #f1f5f9;
  border: 1px solid rgba(17, 24, 32, 0.06);
  border-radius: 999px;
}

body.home .home-knowledge-section .article-feature h3 {
  margin: 18px 0 12px;
  font-size: 32px;
  line-height: 1.08;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

body.home .home-knowledge-section .article-feature p {
  margin: 0 0 24px;
  color: #56667a;
  font-size: 17px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

body.home .home-knowledge-section .article-feature .button {
  padding: 13px 18px;
  border-radius: 8px;
}

body.home .home-knowledge-section .article-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.home .home-knowledge-section .article-card {
  display: flex;
  min-height: 292px;
  height: auto;
  padding: 24px;
  flex-direction: column;
  background: #fff;
  border-color: rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045);
}

body.home .home-knowledge-section .article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(181, 138, 73, 0.32);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

body.home .home-knowledge-section .article-card h3 {
  margin: 18px 0 12px;
  font-size: 23px;
  line-height: 1.1;
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

body.home .home-knowledge-section .article-card p {
  margin: 0;
  color: #607086;
  font-size: 15px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
}

body.home .home-knowledge-section .article-card-link {
  margin-top: auto;
  padding-top: 18px;
  color: #9b7237;
  font-weight: 850;
  text-decoration: none;
}

body.home .home-knowledge-section .article-card-link:hover,
body.home .home-knowledge-section .article-card-link:focus-visible {
  color: #6f4e21;
}

body.home .home-knowledge-section .article-card:nth-child(3n) {
  min-height: 214px;
  grid-column: 1 / -1;
}

body.home .home-knowledge-section .article-card:nth-child(3n) h3 {
  max-width: 760px;
}

body.home .home-knowledge-section .article-card:nth-child(3n) p {
  max-width: 760px;
  -webkit-line-clamp: 2;
}

body.home .home-knowledge-section .sidebar-box {
  padding: 24px;
  border-color: rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

body.home .home-knowledge-section .sidebar-signal {
  background:
    linear-gradient(145deg, #0d1722, #111f2b);
  border-color: rgba(255, 255, 255, 0.1);
}

body.home .home-knowledge-section .sidebar-signal h3 {
  color: #fff;
}

body.home .home-knowledge-section .sidebar-signal p {
  color: rgba(226, 232, 240, 0.78);
}

body.home .home-knowledge-section .sidebar-box h3 {
  font-size: 30px;
  line-height: 1.08;
}

body.home .home-knowledge-section .sidebar-box p {
  font-size: 16px;
  line-height: 1.55;
}

body.home .home-knowledge-section .category-list a {
  padding: 10px 0;
  font-size: 15px;
}

/* Compact editorial console on the homepage. */
body.home .home-insight-console {
  padding: clamp(50px, 6vw, 72px) 0;
  background:
    linear-gradient(180deg, #eef3f7 0%, #f7f9fb 100%);
}

body.home .home-insight-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

body.home .home-insight-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
}

body.home .home-insight-all {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

body.home .home-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.58fr);
  gap: 16px;
  align-items: stretch;
}

body.home .home-insight-main {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  min-height: 328px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

body.home .home-insight-visual,
body.home .home-insight-main .editorial-visual-feature {
  min-height: 328px;
  height: 100%;
}

body.home .home-insight-main .editorial-visual-feature {
  border-radius: 0;
}

body.home .home-insight-main-copy {
  min-width: 0;
  position: relative;
  z-index: 3;
  display: grid;
  align-content: center;
  padding: clamp(22px, 2.4vw, 34px);
  background: #fff;
}

body.home .home-insight-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 111, 143, 0.18);
  border-radius: 999px;
  background: #e7f0f5;
  color: #2f6f8f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

body.home .home-insight-main h3 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.04;
}

body.home .home-insight-main h3 a,
body.home .home-insight-row {
  color: inherit;
  text-decoration: none;
}

body.home .home-insight-main p {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 0;
  color: #526174;
  font-size: 17px;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home .home-insight-primary {
  width: fit-content;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

body.home .home-insight-feed {
  min-width: 0;
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(17, 24, 32, 0.12);
  border-radius: 8px;
  background: #111a24;
  color: #fff;
}

body.home .home-insight-feed-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.home .home-insight-feed-head span,
body.home .home-insight-row span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.home .home-insight-feed-head strong {
  font-size: 13px;
}

body.home .home-insight-row {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.18s ease, transform 0.18s ease;
}

body.home .home-insight-row:last-child {
  border-bottom: 0;
}

body.home .home-insight-row:hover,
body.home .home-insight-row:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

body.home .home-insight-row strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 19px;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .home-insight-row small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(226, 232, 240, 0.7);
  font-size: 14px;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.home .home-insight-tools {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
}

body.home .home-insight-social,
body.home .home-insight-categories {
  min-width: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

body.home .home-insight-social strong {
  padding: 0 4px;
  white-space: nowrap;
}

body.home .home-insight-social a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(17, 24, 32, 0.14);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

body.home .home-insight-categories {
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}

body.home .home-insight-categories a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

body.home .home-insight-categories span {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #e7f0f5;
  color: #2f6f8f;
  font-size: 12px;
}

body.home .home-insight-categories a:hover,
body.home .home-insight-all:hover,
body.home .home-insight-primary:hover,
body.home .home-insight-categories a:focus-visible,
body.home .home-insight-all:focus-visible,
body.home .home-insight-primary:focus-visible {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  body.home .home-insight-grid,
  body.home .home-insight-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.home .home-insight-head,
  body.home .home-insight-main {
    grid-template-columns: 1fr;
  }

  body.home .home-insight-all {
    width: fit-content;
  }

  body.home .home-insight-visual,
  body.home .home-insight-main .editorial-visual-feature {
    min-height: 174px;
    height: 174px;
  }

  body.home .home-insight-main-copy {
    padding: 18px 20px 20px;
  }

  body.home .home-insight-date {
    display: none;
  }

  body.home .home-insight-main h3 {
    font-size: 25px;
  }

  body.home .home-insight-main p {
    -webkit-line-clamp: 2;
  }

  body.home .home-insight-primary {
    margin-top: 16px;
  }

  body.home .home-insight-feed-head {
    padding: 13px 16px;
  }

  body.home .home-insight-row {
    min-height: 94px;
    padding: 13px 16px;
  }

  body.home .home-insight-row strong {
    font-size: 17px;
    -webkit-line-clamp: 2;
  }

  body.home .home-insight-row small {
    display: none;
  }

  body.home .home-insight-social,
  body.home .home-insight-categories {
    align-items: center;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.home .home-insight-tools {
    grid-template-columns: 1fr;
  }

  body.home .home-insight-categories a,
  body.home .home-insight-social a,
  body.home .home-insight-social strong {
    flex: 0 0 auto;
  }
}

.article-prose .article-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 34px;
  padding: 0;
}

.article-prose .article-fact-strip div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.article-prose .article-fact-strip strong {
  display: block;
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.04;
}

.article-prose .article-fact-strip span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.article-prose .article-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin-right: 12px;
  border: 1px solid rgba(169, 129, 69, 0.44);
  border-radius: 999px;
  color: #9b6b2e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

body.home .signal-section {
  padding: 56px 0;
}

body.home .signal-desk {
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
}

body.home .signal-copy {
  padding: 28px;
}

body.home .signal-copy h2 {
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.06;
}

body.home .signal-console {
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: 360px;
}

body.home .signal-tab {
  padding: 18px;
}

body.home .signal-tab strong {
  font-size: 17px;
  line-height: 1.2;
}

body.home .signal-panel {
  padding: 32px;
}

body.home .signal-panel h3 {
  margin: 48px 0 14px;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.04;
}

body.home .signal-panel p {
  font-size: 17px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  body.home .section-header,
  body.home .editorial-pulse-grid,
  body.home .signal-desk {
    grid-template-columns: 1fr;
  }

  body.home .home-knowledge-section .knowledge-layout {
    grid-template-columns: 1fr;
  }

  body.home .home-knowledge-section aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  body.home .home-knowledge-section .sidebar-box {
    margin-bottom: 0;
  }

  body.home .home-knowledge-section .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .signal-console {
    grid-template-columns: 1fr;
  }

  body.home .signal-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 680px) {
  body.home .section {
    padding: 48px 0;
  }

  body.home .section-header h2,
  body.home .situation-band .section-header h2,
  body.home #practices .section-header h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  body.home .editorial-pulse-grid {
    padding: 28px 0 32px;
  }

  body.home .pulse-stack,
  body.home .signal-tabs {
    grid-template-columns: 1fr;
  }

  body.home .pulse-card-primary {
    grid-column: auto;
  }

  body.home .signal-panel {
    padding: 24px;
  }

  body.home .signal-panel h3 {
    margin-top: 34px;
    font-size: 30px;
  }

  body.home #practices {
    padding: 44px 0;
  }

  body.home #practices .practice-card {
    min-height: 0;
    padding: 20px;
  }

  body.home #practices .practice-card h3 {
    margin-top: 22px;
  }

  body.home .team-section {
    padding: 44px 0 48px;
  }

  body.home .team-section .section-header h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  body.home .team-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 82vw);
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(255, 255, 255, 0.26) transparent;
    scrollbar-width: thin;
  }

  body.home .expert-card-team {
    scroll-snap-align: start;
  }

  body.home .expert-card-team::before {
    height: 210px;
  }

  body.home .expert-card-team div {
    padding: 18px;
  }

  body.home .home-knowledge-section {
    padding: 44px 0;
  }

  body.home .home-knowledge-section .section-header h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  body.home .home-knowledge-section .article-feature,
  body.home .home-knowledge-section .article-grid,
  body.home .home-knowledge-section aside {
    grid-template-columns: 1fr;
  }

  body.home .home-knowledge-section .article-feature > a,
  body.home .home-knowledge-section .editorial-visual-feature,
  body.home .home-knowledge-section .article-feature img {
    min-height: 190px;
    height: 190px;
  }

  body.home .home-knowledge-section .article-feature-body,
  body.home .home-knowledge-section .article-card,
  body.home .home-knowledge-section .sidebar-box {
    padding: 20px;
  }

  body.home .home-knowledge-section .article-card {
    height: auto;
  }

  body.home .home-knowledge-section .article-card:nth-child(3n) {
    min-height: 292px;
    grid-column: auto;
  }

  body.home .home-knowledge-section .article-feature h3 {
    font-size: 28px;
  }

  body.home .home-knowledge-section aside {
    grid-template-columns: 1fr;
  }

  body.home .home-knowledge-section .sidebar-box h3 {
    font-size: 27px;
  }

  .article-prose .article-fact-strip {
    grid-template-columns: 1fr;
  }
}

/* Final cascade for compact bankruptcy/subsidiary tails. */
.bankruptcy-page-compact .section {
  padding: 50px 0;
}

.bankruptcy-page-compact .section-tight {
  padding: 38px 0;
}

.bankruptcy-page-compact .service-format-section .section-header,
.bankruptcy-page-compact .service-semantics-section .service-semantics-layout,
.bankruptcy-page-compact .service-faq-section .service-two-column {
  gap: 24px;
}

.bankruptcy-page-compact .service-format-grid,
.bankruptcy-page-compact .service-situation-grid,
.bankruptcy-page-compact .service-resource-links,
.bankruptcy-page-compact .service-semantics-grid,
.bankruptcy-page-compact .service-faq-list {
  gap: 10px;
}

.bankruptcy-page-compact .service-format-grid article,
.bankruptcy-page-compact .service-situation-grid article,
.bankruptcy-page-compact .service-resource-link,
.bankruptcy-page-compact .service-price-panel,
.bankruptcy-page-compact .service-faq-list details {
  min-height: 0;
  border-radius: 8px;
  box-shadow: none;
}

.bankruptcy-page-compact .service-price-panel {
  margin-top: 14px;
  padding: 22px;
  gap: 18px;
}

.bankruptcy-page-compact .service-price-panel h3 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.06;
}

.bankruptcy-page-compact .service-price-panel li {
  padding: 11px 13px;
}

.bankruptcy-page-compact .service-resource-link {
  padding: 18px;
}

.bankruptcy-page-compact .service-resource-link strong,
.bankruptcy-page-compact .service-semantics-grid h3,
.bankruptcy-page-compact .service-faq-list summary {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.12;
}

.bankruptcy-page-compact .service-faq-list details {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.bankruptcy-page-compact .service-faq-list summary {
  position: relative;
  display: block;
  padding: 18px 52px 18px 18px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

.bankruptcy-page-compact .service-faq-list summary::-webkit-details-marker {
  display: none;
}

.bankruptcy-page-compact .service-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 18px;
  color: #a98145;
  font-size: 24px;
  line-height: 1;
}

.bankruptcy-page-compact .service-faq-list details[open] summary::after {
  content: "-";
}

.bankruptcy-page-compact .service-faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

@media (max-width: 680px) {
  .bankruptcy-page-compact .section,
  .bankruptcy-page-compact .section-tight {
    padding: 30px 0;
  }

  .bankruptcy-page-compact .bankruptcy-landing-hero {
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .bankruptcy-page-compact .service-format-grid article,
  .bankruptcy-page-compact .service-situation-grid article,
  .bankruptcy-page-compact .service-resource-link,
  .bankruptcy-page-compact .service-semantics-grid a {
    padding: 16px;
  }

  .bankruptcy-page-compact .service-format-grid h3,
  .bankruptcy-page-compact .service-situation-grid h2,
  .bankruptcy-page-compact .service-semantics-grid h3,
  .bankruptcy-page-compact .service-resource-link strong {
    max-width: 100%;
    font-size: 21px;
    line-height: 1.12;
  }

  .bankruptcy-page-compact .service-format-grid p,
  .bankruptcy-page-compact .service-situation-grid p,
  .bankruptcy-page-compact .service-resource-link p,
  .bankruptcy-page-compact .service-semantics-grid p {
    font-size: 14px;
    line-height: 1.45;
  }

  .bankruptcy-page-compact .service-format-grid small {
    font-size: 12px;
    line-height: 1.38;
  }

  .bankruptcy-page-compact .service-price-panel {
    padding: 18px;
  }

  .bankruptcy-page-compact .service-price-panel h3 {
    font-family: var(--font);
    font-size: 22px;
    line-height: 1.14;
  }

  .bankruptcy-page-compact .service-price-panel li {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .bankruptcy-page-compact .service-faq-list summary {
    padding: 16px 48px 16px 16px;
    font-size: 20px;
  }

  .bankruptcy-page-compact .service-faq-list summary::after {
    top: 15px;
    right: 16px;
  }

  .bankruptcy-page-compact .service-faq-list details p {
    padding: 0 16px 16px;
    font-size: 14px;
    line-height: 1.46;
  }
}

/* Team refresh 2026-05-26 final cascade: active after S3 hygiene overrides. */
.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-team-grid {
  grid-template-columns: repeat(2, minmax(210px, 1fr));
}

.expert-card-team > img {
  height: 242px;
  object-position: center 20%;
}

body.home .expert-card-team > img {
  height: 220px;
}

.service-team-card > img {
  height: 238px;
  object-position: center 20%;
}

.expert-card-team.expert-card-kurtapov > img,
.service-team-card-kurtapov > img {
  object-position: center 20%;
}

.expert-card-team.expert-card-makarycheev > img,
.service-team-card-makarycheev > img {
  object-position: center 20%;
}

.expert-card-team.expert-card-dranichnikova > img,
.service-team-card-dranichnikova > img,
.expert-card-team.expert-card-gusarova > img,
.service-team-card-gusarova > img {
  object-position: center 20%;
}

.expert-card-team div {
  min-height: 188px;
}

.expert-card-team {
  align-content: start;
  grid-template-rows: auto 1fr;
}

.expert-card-team strong {
  font-size: clamp(22px, 1.7vw, 27px);
}

.service-team-card div {
  min-height: 248px;
}

.service-team-card strong {
  font-size: clamp(21px, 1.65vw, 24px);
}

.service-team-card span {
  min-height: 0;
}

@media (max-width: 1180px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expert-card-team > img,
  body.home .expert-card-team > img,
  .service-team-card > img {
    height: 230px;
  }
}

@media (max-width: 680px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-team-grid {
    grid-template-columns: 1fr;
  }

  .expert-card-team > img,
  body.home .expert-card-team > img,
  .service-team-card > img {
    height: 260px;
  }

  .expert-card-team div,
  .service-team-card div {
    min-height: 0;
  }
}

/* S3 final case-proof override: keep after bundle rules. */
.article-case-proof-stack .proof-system-card--hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
  grid-template-rows: auto;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(169, 129, 69, 0.08), rgba(255, 255, 255, 0) 42%),
    #fff;
  border-color: rgba(17, 24, 32, 0.16);
  box-shadow: 0 22px 58px rgba(17, 24, 32, 0.12);
}

.article-case-proof-stack .proof-system-card--hero .proof-system-copy {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-right: 1px solid rgba(17, 24, 32, 0.1);
}

.article-case-proof-stack .proof-system-card--hero h3 {
  max-width: 640px;
  font-size: clamp(25px, 2.1vw, 34px);
  line-height: 1.04;
}

.article-case-proof-stack .proof-system-card--hero p {
  max-width: 660px;
  font-size: 17px;
  line-height: 1.56;
}

.article-case-proof-stack .proof-system-card--hero .proof-system-facts {
  gap: 10px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(17, 24, 32, 0.1);
}

.article-case-proof-stack .proof-system-card--hero .proof-system-document {
  height: auto;
  min-height: 430px;
  padding: 28px 24px 82px;
  background:
    radial-gradient(circle at 30% 18%, rgba(216, 176, 111, 0.22), rgba(216, 176, 111, 0) 34%),
    linear-gradient(135deg, #101923 0%, #182636 55%, #0b121a 100%);
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  height: auto;
  min-height: 245px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 34px);
  color: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: 0.01em;
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback em {
  color: #d8b06f;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-case-proof-stack .proof-system-card--hero .proof-document-fallback small {
  color: rgba(255, 255, 255, 0.72);
}

.case-flow {
  box-shadow: 0 16px 42px rgba(17, 24, 32, 0.08);
}

.case-flow div {
  min-height: 150px;
}

@media (max-width: 980px) {
  .article-case-proof-stack .proof-system-card--hero {
    grid-template-columns: 1fr;
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-document {
    min-height: 310px;
  }
}

@media (max-width: 620px) {
  .article-case-proof-stack .proof-system-card--hero .proof-system-copy {
    padding: 22px 18px;
  }

  .article-case-proof-stack .proof-system-card--hero .proof-system-document {
    min-height: 270px;
    padding: 20px 16px 76px;
  }

  .case-flow {
    grid-template-columns: 1fr;
  }

  .case-flow div {
    min-height: 0;
  }
}

/* Final manual cleanup for older migrated/service material blocks. */
.article-source-migration-bridge {
  padding: 24px 28px;
  gap: 18px;
}

.article-source-migration-bridge h2 {
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.06;
}

.article-source-migration-bridge p:not(.eyebrow) {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.article-source-migration-points {
  margin-top: 14px;
}

.service-case-visual .editorial-visual-card {
  height: 172px;
  min-height: 172px;
}

.service-case-card .editorial-visual strong {
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.05;
}

.service-case-card .editorial-visual span,
.service-case-body span {
  font-size: 11px;
  letter-spacing: 0.07em;
}

.service-case-body {
  padding: 18px;
}

.service-case-body h3 {
  font-size: clamp(20px, 1.65vw, 23px);
  line-height: 1.1;
}

.service-case-body p,
.service-semantics-grid p,
.service-resource-link p {
  font-size: 15px;
  line-height: 1.48;
}

.service-semantics-grid a {
  min-height: 0;
  padding: 20px;
}

.service-semantics-grid h3,
.service-resource-link strong {
  font-size: clamp(20px, 1.75vw, 24px);
  line-height: 1.1;
}

.service-team-layout {
  align-items: start;
}

.service-team-card div {
  min-height: 0;
  padding: 18px;
}

.service-team-card p {
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1180px) and (min-width: 681px) {
  .service-team-layout {
    grid-template-columns: 1fr;
  }

  .service-team-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .service-team-card > img {
    height: 220px;
  }

  .service-semantics-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 760px) {
  .article-source-migration-bridge {
    grid-template-columns: 1fr;
    padding: 22px 18px;
  }

  .article-source-migration-points {
    grid-template-columns: 1fr;
  }

  .article-source-migration-actions {
    min-width: 0;
  }

  .entry-content .article-source-migration-bridge .button {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .service-case-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow-x: hidden;
    padding-bottom: 0;
  }

  .service-case-visual .editorial-visual-card {
    height: 150px;
    min-height: 150px;
  }

  .service-case-card .editorial-visual strong,
  .service-case-body h3,
  .service-semantics-grid h3,
  .service-resource-link strong {
    font-size: 21px;
    line-height: 1.12;
  }

  .service-case-body,
  .service-semantics-grid a,
  .service-resource-link {
    padding: 16px;
  }
}

/* Final override: S3 IP/trademark pages must not fall back to the generic growth look. */
.s3-growth-landing-ip .service-landing-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 68px;
  background:
    linear-gradient(115deg, rgba(10, 18, 27, 0.99) 0%, rgba(18, 28, 40, 0.96) 48%, rgba(68, 38, 52, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(240, 198, 129, 0.08) 0 1px, transparent 1px 82px),
    #0b121a;
}

.s3-growth-landing-ip .service-landing-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: stretch;
}

.s3-growth-landing-ip .service-landing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s3-growth-landing-ip .service-landing-copy h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 0.97;
}

.s3-growth-landing-ip .service-landing-lead {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

.s3-growth-landing-ip .service-landing-brief {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: 30px;
  overflow: hidden;
  border-color: rgba(240, 198, 129, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 42px),
    rgba(11, 18, 26, 0.64);
}

.s3-growth-landing-ip .service-landing-brief::after {
  content: "товарный знак";
  position: absolute;
  top: 28px;
  right: -32px;
  width: 180px;
  padding: 9px 0;
  border: 1px solid rgba(240, 198, 129, 0.38);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(38deg);
}

.s3-ip-brand-mark {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border: 1px solid rgba(240, 198, 129, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.s3-ip-brand-mark span {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #d8b06f;
  font-size: 17px;
  font-weight: 900;
}

.s3-ip-brand-mark strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.s3-ip-hero-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 22px 0 0;
}

.s3-ip-hero-checks span {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid rgba(240, 198, 129, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.s3-growth-landing-ip .service-proof-card {
  position: relative;
  min-height: 184px;
  border-color: rgba(151, 71, 88, 0.15);
}

.s3-growth-landing-ip .service-proof-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  background: linear-gradient(90deg, #b58a49, #7f384a);
}

.s3-growth-landing-ip .service-proof-card strong {
  color: #182432;
  font-size: clamp(24px, 2.15vw, 34px);
}

.s3-growth-landing-ip .service-situations-section {
  padding-top: 64px;
}

.s3-growth-landing-ip .service-situation-grid article {
  min-height: 230px;
  border: 1px solid rgba(17, 24, 32, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.s3-growth-landing-ip .process-section {
  background:
    linear-gradient(115deg, #0b121a 0%, #101d2a 62%, #2b1d26 100%);
}

.s3-growth-landing-ip .process-item {
  border-left: 3px solid rgba(216, 176, 111, 0.52);
}

.s3-growth-landing-ip .service-document-list li {
  border-left: 3px solid #b58a49;
}

.s3-growth-landing-ip .contact-panel {
  background:
    linear-gradient(115deg, #111820 0%, #162435 58%, #3a2430 100%);
}

@media (max-width: 920px) {
  .s3-growth-landing-ip .service-landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .s3-growth-landing-ip .service-landing-brief {
    min-height: 340px;
  }
}

@media (max-width: 560px) {
  .s3-growth-landing-ip .service-landing-hero {
    padding: 46px 0 40px;
  }

  .s3-growth-landing-ip .service-landing-copy h1 {
    font-size: 35px;
  }

  .s3-growth-landing-ip .service-landing-brief {
    min-height: 0;
    padding: 112px 18px 20px;
  }

  .s3-ip-brand-mark {
    top: 18px;
    left: 18px;
    width: 76px;
    height: 76px;
  }

  .s3-ip-brand-mark strong {
    font-size: 29px;
  }

  .s3-ip-brand-mark span {
    top: 12px;
    right: 14px;
    font-size: 13px;
  }

  .s3-ip-hero-checks {
    grid-template-columns: 1fr;
  }
}
