/*
Theme Name: Imperius Redesign
Theme URI: https://imperius-law.com/
Author: Imperius
Description: Custom editorial law firm theme for the draft rebuild.
Version: 0.1.75
Text Domain: imperius-redesign
*/

:root {
  --ink: #121417;
  --ink-soft: #2d333b;
  --muted: #66717f;
  --line: #d8dee6;
  --paper: #f3f5f7;
  --surface: #ffffff;
  --surface-2: #e9edf2;
  --dark: #0b121a;
  --dark-2: #101b26;
  --gold: #a98145;
  --gold-2: #c9a56c;
  --blue: #284862;
  --blue-2: #5d7488;
  --green: #4f665d;
  --wine: #61323d;
  --champagne: #efe4d2;
  --ivory: #fbf8f2;
  --copper: #986044;
  --danger: #7d2e2b;
  --radius: 6px;
  --container: 1180px;
  --shadow: 0 18px 50px rgba(17, 24, 32, 0.11);
  --font: "Inter", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

/* 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;
  }
}

/* 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;
  }
}

@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;
  }
}

/* Case article system 2026-05-30: one dossier flow, no stacked promo blocks. */
.single .case-study-hero {
  border-bottom: 1px solid #dce2e8;
  background: #f3f5f6;
  color: #111820;
}

.single .case-study-hero::before,
.single .case-study-hero::after {
  display: none;
}

.single .case-study-hero .article-hero-grid {
  grid-template-columns: minmax(0, 920px);
}

.single .case-study-hero .article-hero-copy {
  min-height: 0;
}

.single .case-study-hero .article-hero-visual {
  display: none;
}

.single .case-study-hero .eyebrow {
  color: #335a6a;
}

.single .case-study-hero .entry-title,
.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  color: #111820;
}

.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  max-width: 790px;
  color: #536171;
}

.single .case-study-hero .article-hero-meta span {
  border-color: #dce2e8;
  background: #fff;
  color: #263340;
}

.single .case-study-hero .button-gold {
  border-color: #111820;
  background: #111820;
  color: #fff;
}

.single .case-study-hero .button-dark-outline {
  border-color: #c9d1d9;
  background: #fff;
  color: #111820;
}

.single .case-study-hero .case-hero-jump {
  margin-top: 20px;
}

.single .case-study-hero .case-hero-jump .button {
  min-height: 42px;
  border-color: #c9d1d9;
  background: #fff;
  color: #111820;
}

.case-file-summary,
.case-file-takeaway,
.case-file-action {
  overflow: hidden;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
}

.case-file-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 0;
  margin-bottom: 18px;
}

.case-file-summary-copy {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
}

.case-file-summary h2,
.case-file-takeaway h2 {
  margin: 0;
  color: #111820;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.04;
}

.case-file-summary p,
.case-file-takeaway p,
.case-file-action p {
  margin: 14px 0 0;
  color: #536171;
  font-size: 16px;
  line-height: 1.65;
}

.case-file-facts {
  display: grid;
  align-content: stretch;
  min-width: 0;
  margin: 0;
  border-left: 1px solid #dce2e8;
}

.case-file-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 17px 20px;
  border-top: 1px solid #dce2e8;
}

.case-file-facts div:first-child {
  border-top: 0;
}

.case-file-facts dt {
  color: #6f7b88;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-file-facts dd {
  min-width: 0;
  margin: 0;
  color: #111820;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.case-file-toc {
  margin-top: 18px;
  border-radius: 6px;
  background: #f6f8fa;
}

.single .case-file-toc a {
  background: #fff;
}

.single .article-entry .article-case-proof-stack {
  margin: 18px 0 0;
}

.single .article-entry .article-case-proof {
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.single .article-entry .article-case-proof::before,
.single .article-entry .article-case-proof::after {
  display: none;
}

.single .article-entry .article-case-proof h3 {
  color: #111820;
  font-size: clamp(24px, 2.4vw, 34px);
}

.single .article-entry .article-case-proof p,
.single .article-entry .article-case-proof dd {
  color: #536171;
}

.single .article-entry .article-case-proof .case-proof-actions .button,
.single .article-entry .article-case-proof .case-proof-actions a {
  border-radius: 6px;
}

.case-file-takeaway {
  margin-top: 28px;
  padding: clamp(24px, 4vw, 36px);
  background: #f6f8fa;
}

.case-file-action {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 20px clamp(20px, 4vw, 30px);
  background: #fff;
}

.case-file-action p {
  max-width: 650px;
  margin: 0;
}

.case-file-action a {
  flex: 0 0 auto;
  color: #111820;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-file-action a:hover,
.case-file-action a:focus-visible {
  color: #335a6a;
}

@media (max-width: 860px) {
  .case-file-summary {
    grid-template-columns: 1fr;
  }

  .case-file-facts {
    border-top: 1px solid #dce2e8;
    border-left: 0;
  }

  .case-file-action {
    display: block;
  }

  .case-file-action a {
    display: inline-flex;
    margin-top: 14px;
  }
}

@media (max-width: 620px) {
  .single .case-study-hero {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .single .case-study-hero .entry-title {
    font-size: clamp(30px, 8.3vw, 34px);
    line-height: 1.08;
  }

  .case-file-summary-copy,
  .case-file-takeaway {
    padding: 20px;
  }

  .case-file-summary h2,
  .case-file-takeaway h2 {
    font-size: 30px;
  }

  .case-file-facts div {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 15px 18px;
  }
}

/* Case index redesign: austere matters register, fed by ordinary case articles. */
.cases-index-page {
  --cases-ink: #101821;
  --cases-muted: #536171;
  --cases-line: #d7dde4;
  --cases-panel: #ffffff;
  --cases-soft: #f3f6f8;
  --cases-accent: #2d5871;
  --cases-accent-dark: #183445;
  --cases-red: #723642;
  --cases-radius: 8px;
  background: #f6f8fa;
  color: var(--cases-ink);
}

.cases-index-page .container {
  position: relative;
  z-index: 1;
}

.cases-index-kicker {
  margin: 0 0 12px;
  color: var(--cases-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cases-index-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--cases-line);
  background:
    linear-gradient(90deg, rgba(246, 248, 250, 0.98) 0%, rgba(246, 248, 250, 0.94) 54%, rgba(246, 248, 250, 0.84) 100%),
    repeating-linear-gradient(90deg, rgba(16, 24, 33, 0.045) 0 1px, transparent 1px 74px),
    #f6f8fa;
}

.cases-index-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(42vw, 560px);
  background:
    linear-gradient(90deg, rgba(246, 248, 250, 0.92), rgba(246, 248, 250, 0.2)),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") right center / contain no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.16;
  pointer-events: none;
}

.cases-index-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.42fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: end;
}

.cases-index-hero-copy h1 {
  max-width: 940px;
  margin: 0;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 0.98;
}

.cases-index-hero-copy p:not(.cases-index-kicker),
.cases-index-section-head > p,
.cases-index-bottom p,
.cases-index-card-main p,
.cases-index-card-action p,
.cases-index-scenarios p,
.cases-index-empty p {
  color: var(--cases-muted);
  font-size: 16px;
  line-height: 1.65;
}

.cases-index-hero-copy p:not(.cases-index-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(17px, 1.45vw, 21px);
}

.cases-index-brief {
  padding: 22px;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(16, 24, 33, 0.08);
  backdrop-filter: blur(10px);
}

.cases-index-brief > span {
  display: block;
  margin-bottom: 12px;
  color: var(--cases-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cases-index-brief dl,
.cases-index-card-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.cases-index-brief dl div,
.cases-index-card-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--cases-line);
}

.cases-index-brief dt,
.cases-index-card-facts dt {
  color: #6b7786;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.cases-index-brief dd,
.cases-index-card-facts dd {
  min-width: 0;
  margin: 0;
  color: var(--cases-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cases-index-stats {
  padding: 0;
  border-bottom: 1px solid var(--cases-line);
  background: #fff;
}

.cases-index-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cases-index-stats-grid div {
  min-height: 112px;
  padding: 22px 24px;
  border-left: 1px solid var(--cases-line);
}

.cases-index-stats-grid div:first-child {
  border-left: 0;
}

.cases-index-stats-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--cases-ink);
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1;
}

.cases-index-stats-grid span {
  color: var(--cases-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cases-index-section {
  padding: clamp(46px, 6vw, 76px) 0;
  background: #fff;
}

.cases-index-section-muted {
  background: var(--cases-soft);
}

.cases-index-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.56fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
  margin-bottom: 28px;
}

.cases-index-section-head h2,
.cases-index-bottom h2 {
  max-width: 820px;
  margin: 0;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.cases-index-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  background: var(--cases-line);
}

.cases-index-scenarios a {
  min-height: 238px;
  padding: 22px;
  background: #fff;
  color: var(--cases-ink);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.cases-index-scenarios a:hover,
.cases-index-scenarios a:focus-visible {
  background: #f8fafb;
  transform: translateY(-1px);
}

.cases-index-scenarios span,
.cases-index-card-main span {
  display: block;
  margin-bottom: 12px;
  color: var(--cases-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cases-index-scenarios strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cases-ink);
  font-size: 21px;
  line-height: 1.16;
}

.cases-index-scenarios p {
  margin: 0;
  font-size: 15px;
}

.cases-index-list {
  display: grid;
  gap: 12px;
}

.cases-index-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr) minmax(260px, 0.42fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  background: var(--cases-line);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cases-index-card:hover {
  border-color: rgba(45, 88, 113, 0.38);
  box-shadow: 0 18px 46px rgba(16, 24, 33, 0.08);
  transform: translateY(-1px);
}

.cases-index-card-main,
.cases-index-card-facts,
.cases-index-card-action {
  min-width: 0;
  padding: 22px;
  background: #fff;
}

.cases-index-card-main {
  display: block;
  color: var(--cases-ink);
  text-decoration: none;
}

.cases-index-card-main h3 {
  margin: 0 0 13px;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.06;
}

.cases-index-card-main p,
.cases-index-card-action p {
  margin: 0;
  font-size: 15px;
}

.cases-index-card-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.cases-index-card-action div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cases-index-read,
.cases-index-court,
.cases-index-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  padding: 10px 14px;
  color: var(--cases-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cases-index-read {
  border-color: var(--cases-accent-dark);
  background: var(--cases-accent-dark);
  color: #fff;
}

.cases-index-read:hover,
.cases-index-read:focus-visible {
  border-color: #0f2735;
  background: #0f2735;
  color: #fff;
}

.cases-index-court:hover,
.cases-index-court:focus-visible {
  border-color: rgba(45, 88, 113, 0.45);
  background: #eef4f7;
}

.cases-index-empty {
  padding: 32px;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  background: #fff;
}

.cases-index-empty h3 {
  margin: 0 0 10px;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: 30px;
}

.cases-index-page .pagination {
  margin-top: 26px;
}

.cases-index-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.cases-index-bottom p {
  max-width: 760px;
  margin: 18px 0 0;
}

.cases-index-cta {
  display: grid;
  justify-content: start;
  min-height: 154px;
  align-content: end;
  padding: 22px;
  border-color: rgba(45, 88, 113, 0.28);
  background:
    linear-gradient(135deg, rgba(45, 88, 113, 0.1), rgba(255, 255, 255, 0) 54%),
    #fff;
}

.cases-index-cta:hover,
.cases-index-cta:focus-visible {
  border-color: rgba(45, 88, 113, 0.52);
  background: #f4f8fa;
}

.cases-index-cta span {
  color: var(--cases-accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cases-index-cta strong {
  display: block;
  max-width: 360px;
  margin-top: 10px;
  color: var(--cases-ink);
  font-size: 22px;
  line-height: 1.2;
}

@media (max-width: 1100px) {
  .cases-index-card,
  .cases-index-scenarios,
  .cases-index-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cases-index-card-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .cases-index-hero-grid,
  .cases-index-section-head,
  .cases-index-bottom {
    grid-template-columns: 1fr;
  }

  .cases-index-hero::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .cases-index-hero {
    padding: 42px 0 34px;
  }

  .cases-index-hero-copy h1 {
    font-size: 38px;
    line-height: 1.02;
  }

  .cases-index-hero-copy p:not(.cases-index-kicker) {
    margin-top: 18px;
    font-size: 17px;
  }

  .cases-index-brief,
  .cases-index-card-main,
  .cases-index-card-facts,
  .cases-index-card-action,
  .cases-index-scenarios a {
    padding: 18px;
  }

  .cases-index-card,
  .cases-index-scenarios,
  .cases-index-stats-grid {
    grid-template-columns: 1fr;
  }

  .cases-index-stats-grid div,
  .cases-index-stats-grid div:first-child {
    min-height: 0;
    border-top: 1px solid var(--cases-line);
    border-left: 0;
  }

  .cases-index-stats-grid div:first-child {
    border-top: 0;
  }

  .cases-index-brief dl div,
  .cases-index-card-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .cases-index-section {
    padding: 42px 0;
  }

  .cases-index-section-head h2,
  .cases-index-bottom h2 {
    font-size: 32px;
  }

  .cases-index-cta {
    min-height: 0;
  }
}

/* Case index 2026-05-30: one continuous register instead of a stack of blocks. */
.cases-index-page {
  --cases-ink: #111820;
  --cases-muted: #5f6b78;
  --cases-line: #dce2e8;
  --cases-soft: #f5f7f8;
  --cases-accent: #335a6a;
  --cases-radius: 6px;
  padding: clamp(24px, 4vw, 48px) 0 clamp(46px, 7vw, 84px);
  background: #f2f4f5;
  color: var(--cases-ink);
}

.cases-index-sheet {
  overflow: hidden;
  border: 1px solid var(--cases-line);
  border-radius: var(--cases-radius);
  background: #fff;
}

.cases-index-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(34px, 6vw, 76px) clamp(22px, 5vw, 64px);
}

.cases-index-kicker {
  margin: 0 0 12px;
  color: var(--cases-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cases-index-intro h1 {
  margin: 0;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.92;
}

.cases-index-intro > p {
  max-width: 620px;
  margin: 0;
  color: var(--cases-muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.62;
}

.cases-index-summary {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  border-top: 1px solid var(--cases-line);
  border-bottom: 1px solid var(--cases-line);
}

.cases-index-summary div {
  min-width: 0;
  padding: 18px clamp(18px, 4vw, 64px);
  border-left: 1px solid var(--cases-line);
}

.cases-index-summary div:first-child {
  border-left: 0;
}

.cases-index-summary strong {
  display: block;
  margin-bottom: 6px;
  color: var(--cases-ink);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
}

.cases-index-summary span {
  color: var(--cases-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cases-index-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 clamp(22px, 5vw, 64px);
  border-bottom: 1px solid var(--cases-line);
}

.cases-index-routes a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  margin-right: 28px;
  border-bottom: 2px solid transparent;
  color: var(--cases-ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.cases-index-routes a:hover,
.cases-index-routes a:focus-visible {
  border-bottom-color: var(--cases-accent);
  color: var(--cases-accent);
}

.cases-index-register {
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 64px) 0;
}

.cases-index-register-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.62fr);
  gap: clamp(22px, 5vw, 66px);
  align-items: end;
  margin-bottom: 12px;
}

.cases-index-register-head h2,
.cases-index-empty h2 {
  margin: 0;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.cases-index-register-head p,
.cases-index-empty p,
.cases-index-row-main p,
.cases-index-contact p {
  margin: 0;
  color: var(--cases-muted);
  font-size: 15px;
  line-height: 1.65;
}

.cases-index-list {
  display: block;
  margin-top: 20px;
  border-top: 1px solid var(--cases-line);
}

.cases-index-row {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr) minmax(250px, 0.36fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  padding: clamp(22px, 3.2vw, 36px) 0;
  border-bottom: 1px solid var(--cases-line);
  transition: background 0.18s ease;
}

.cases-index-row:hover {
  background: linear-gradient(90deg, rgba(51, 90, 106, 0.035), rgba(255, 255, 255, 0));
}

.cases-index-row-meta span,
.cases-index-row-meta time {
  display: block;
  color: var(--cases-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.45;
  text-transform: uppercase;
}

.cases-index-row-meta span {
  color: var(--cases-accent);
}

.cases-index-row-main {
  min-width: 0;
  color: var(--cases-ink);
  text-decoration: none;
}

.cases-index-row-main h2 {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 43px);
  line-height: 1.04;
}

.cases-index-row-main:hover h2,
.cases-index-row-main:focus-visible h2 {
  color: var(--cases-accent);
}

.cases-index-row-side dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.cases-index-row-side dl div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
}

.cases-index-row-side dt {
  color: #74808d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.cases-index-row-side dd {
  min-width: 0;
  margin: 0;
  color: var(--cases-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.cases-index-row-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.cases-index-row-links a,
.cases-index-contact a {
  color: var(--cases-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cases-index-row-links a:hover,
.cases-index-row-links a:focus-visible,
.cases-index-contact a:hover,
.cases-index-contact a:focus-visible {
  color: var(--cases-accent);
}

.cases-index-empty {
  padding: 30px 0;
  border-bottom: 1px solid var(--cases-line);
}

.cases-index-empty p {
  margin-top: 10px;
}

.cases-index-page .pagination {
  margin: 26px 0 0;
}

.cases-index-contact {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(34px, 5vw, 58px);
  padding: 22px clamp(22px, 5vw, 64px);
  border-top: 1px solid var(--cases-line);
  background: var(--cases-soft);
}

.cases-index-contact p {
  max-width: 760px;
}

@media (max-width: 960px) {
  .cases-index-intro,
  .cases-index-register-head {
    grid-template-columns: 1fr;
  }

  .cases-index-row {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .cases-index-row-side {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .cases-index-page {
    padding-top: 0;
  }

  .cases-index-sheet {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cases-index-intro {
    padding: 34px 20px 30px;
  }

  .cases-index-intro h1 {
    font-size: 58px;
  }

  .cases-index-summary {
    grid-template-columns: 1fr;
  }

  .cases-index-summary div,
  .cases-index-summary div:first-child {
    border-top: 1px solid var(--cases-line);
    border-left: 0;
    padding: 16px 20px;
  }

  .cases-index-summary div:first-child {
    border-top: 0;
  }

  .cases-index-routes {
    padding: 0 20px;
  }

  .cases-index-routes a {
    min-height: 48px;
    margin-right: 20px;
  }

  .cases-index-register {
    padding: 32px 20px 0;
  }

  .cases-index-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }

  .cases-index-row-side {
    grid-column: auto;
  }

  .cases-index-row-side dl div {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .cases-index-contact {
    display: block;
    padding: 20px;
  }

  .cases-index-contact a {
    display: inline-flex;
    margin-top: 14px;
  }
}

/* Final cases archive visual pass: darker evidence-led first screen. */
.cases-index-page {
  padding: 34px 0 76px;
  background:
    linear-gradient(180deg, #0b121a 0, #101923 430px, #eef2f5 430px, #eef2f5 100%);
}

.cases-index-sheet {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(4, 9, 14, 0.22);
}

.cases-index-intro {
  position: relative;
  min-height: 390px;
  align-items: center;
  padding: 64px clamp(26px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8, 16, 24, 0.96), rgba(12, 24, 35, 0.92) 56%, rgba(32, 37, 40, 0.72)),
    url("/wp-content/themes/imperius-redesign/assets/images/cases/a40-172736-decision-preview.jpg") right center / auto 118% no-repeat;
}

.cases-index-intro::after {
  content: "I";
  position: absolute;
  right: clamp(28px, 7vw, 104px);
  bottom: -20px;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--serif);
  font-size: clamp(180px, 22vw, 330px);
  line-height: 0.8;
  pointer-events: none;
}

.cases-index-intro > * {
  position: relative;
  z-index: 1;
}

.cases-index-kicker {
  color: #d8b06f;
}

.cases-index-intro h1 {
  color: #fff;
  font-size: clamp(64px, 8vw, 118px);
}

.cases-index-intro > p {
  max-width: 600px;
  color: rgba(226, 232, 240, 0.82);
  font-size: clamp(18px, 1.45vw, 22px);
}

.cases-index-summary {
  grid-template-columns: 0.75fr 1fr 1.2fr;
  color: #fff;
  background: #101923;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cases-index-summary div {
  padding: 24px clamp(22px, 4vw, 64px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cases-index-summary div:first-child {
  border-left: 0;
}

.cases-index-summary strong {
  color: #fff;
}

.cases-index-summary span {
  color: rgba(226, 232, 240, 0.7);
}

.cases-index-routes {
  gap: 10px;
  padding: 18px clamp(22px, 5vw, 64px);
  background: #0d1620;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cases-index-routes a {
  min-height: 42px;
  margin-right: 0;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.cases-index-routes a:hover,
.cases-index-routes a:focus-visible {
  color: #fff;
  background: rgba(216, 176, 111, 0.14);
  border-color: rgba(216, 176, 111, 0.4);
}

.cases-index-register {
  padding: 46px clamp(22px, 5vw, 64px) 0;
  background: #f8fafc;
}

.cases-index-register-head {
  margin-bottom: 22px;
}

.cases-index-list {
  margin-top: 24px;
  border-top: 0;
}

.cases-index-row {
  margin-top: 18px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr) minmax(240px, 0.36fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.cases-index-row:first-child {
  margin-top: 0;
}

.cases-index-row:hover {
  background: #fff;
  border-color: rgba(181, 138, 73, 0.28);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

.cases-index-row-proof {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(150deg, #121d29, #0b121a);
}

.cases-index-row-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0), rgba(7, 12, 18, 0.5)),
    linear-gradient(90deg, rgba(181, 138, 73, 0.16), transparent 44%);
  pointer-events: none;
}

.cases-index-row-proof img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  filter: grayscale(0.08) contrast(1.06);
  transform: scale(1.02);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cases-index-row:hover .cases-index-row-proof img {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.055);
}

.cases-index-proof-label,
.cases-index-proof-fallback-mark {
  position: absolute;
  z-index: 1;
}

.cases-index-proof-label {
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-index-proof-fallback-mark {
  top: 28px;
  left: 22px;
  color: rgba(216, 176, 111, 0.9);
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
}

.cases-index-row-main {
  padding: 28px 30px;
}

.cases-index-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.cases-index-row-meta strong,
.cases-index-row-meta time {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: #335a6a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  background: #edf4f7;
  border: 1px solid rgba(51, 90, 106, 0.12);
  border-radius: 999px;
}

.cases-index-row-meta time {
  color: #637083;
  background: #f3f6f8;
}

.cases-index-row-side {
  padding: 28px 24px;
  background: #f5f7f9;
  border-left: 1px solid rgba(17, 24, 32, 0.08);
}

.cases-index-contact {
  margin-top: 0;
  background: #101923;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cases-index-contact p {
  color: rgba(226, 232, 240, 0.74);
}

.cases-index-contact a {
  color: #d8b06f;
}

.cases-index-categories {
  padding: 48px clamp(22px, 5vw, 64px);
  background: #eef2f5;
  border-top: 1px solid rgba(17, 24, 32, 0.08);
}

.cases-index-categories-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.cases-index-categories-head h2 {
  margin: 0;
  color: var(--cases-ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.cases-index-categories-head p {
  margin: 0;
  color: var(--cases-muted);
  font-size: 15px;
  line-height: 1.6;
}

.cases-index-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cases-index-category-grid a {
  min-height: 150px;
  padding: 22px;
  color: var(--cases-ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cases-index-category-grid a:hover,
.cases-index-category-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(181, 138, 73, 0.34);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.08);
}

.cases-index-category-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
}

.cases-index-category-grid span {
  display: block;
  margin-top: 14px;
  color: var(--cases-muted);
  font-size: 14px;
  line-height: 1.48;
}

@media (max-width: 960px) {
  .cases-index-page {
    background:
      linear-gradient(180deg, #0b121a 0, #101923 560px, #eef2f5 560px, #eef2f5 100%);
  }
}

@media (max-width: 680px) {
  .cases-index-page {
    padding-bottom: 54px;
    background:
      linear-gradient(180deg, #0b121a 0, #101923 650px, #eef2f5 650px, #eef2f5 100%);
  }

  .cases-index-sheet {
    border: 0;
  }

  .cases-index-intro {
    min-height: 0;
    padding: 42px 20px 38px;
    background:
      linear-gradient(150deg, rgba(8, 16, 24, 0.98), rgba(16, 25, 35, 0.94));
  }

  .cases-index-intro h1 {
    font-size: 64px;
  }

  .cases-index-intro::after {
    right: 16px;
    bottom: 6px;
    font-size: 130px;
  }

  .cases-index-summary {
    grid-template-columns: 1fr;
  }

  .cases-index-summary div,
  .cases-index-summary div:first-child {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .cases-index-summary div:first-child {
    border-top: 0;
  }

  .cases-index-routes {
    padding: 14px 20px;
  }

  .cases-index-routes a {
    min-height: 38px;
    padding: 0 13px;
  }

  .cases-index-register {
    padding: 34px 20px 0;
  }

  .cases-index-row {
    grid-template-columns: 1fr;
  }

  .cases-index-row-proof {
    min-height: 250px;
  }

  .cases-index-row-proof img {
    min-height: 250px;
  }

  .cases-index-row-main,
  .cases-index-row-side {
    padding: 20px;
  }

  .cases-index-row-side {
    border-top: 1px solid rgba(17, 24, 32, 0.08);
    border-left: 0;
  }

  .cases-index-categories {
    padding: 34px 20px;
  }

  .cases-index-categories-head,
  .cases-index-category-grid {
    grid-template-columns: 1fr;
  }
}

/* Team refresh 2026-05-26: unified portraits and four-person public team. */
.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-kurtapov img,
.expert-card-team.expert-card-kurtapov > img,
.service-team-card-kurtapov > img,
.hero-founder-photo img {
  object-position: center 20%;
}

.expert-card-makarycheev img,
.expert-card-team.expert-card-makarycheev > img,
.service-team-card-makarycheev > img {
  object-position: center 20%;
}

.expert-card-dranichnikova img,
.expert-card-team.expert-card-dranichnikova > img,
.service-team-card-dranichnikova > img {
  object-position: center 20%;
}

.expert-card-gusarova 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;
  }
}

/* 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;
  }
}

/* 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;
  }
}

/* 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;
  }
}

/* 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;
  }
}

/* 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;
  }
}

/* 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;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 247, 0.97);
  border-bottom: 1px solid rgba(17, 24, 32, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  min-width: 190px;
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0;
  font-weight: 700;
}

.brand-caption {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.primary-nav {
  flex: 1;
}

.primary-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.menu-item {
  display: flex;
  align-items: center;
}

.menu-item-services {
  position: static;
  gap: 5px;
}

.primary-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a:hover,
.menu-item-services.is-open .services-link {
  color: var(--gold);
}

.services-menu-toggle {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.services-menu-toggle span {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.18s ease;
}

.menu-item-services.is-open .services-menu-toggle span {
  transform: rotate(180deg);
}

.menu-item-services.is-hover-open .services-menu-toggle span {
  transform: rotate(180deg);
}

.mega-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% - 8px);
  left: 20px;
  right: 20px;
  display: none;
  max-height: calc(100vh - 92px);
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.11);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(17, 24, 32, 0.18);
  scrollbar-width: thin;
}

.menu-item-services.is-open .mega-menu,
.menu-item-services.is-hover-open .mega-menu,
.menu-item-services:focus-within .mega-menu {
  display: block;
}

.mega-menu-head {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.1);
}

.mega-menu-head .eyebrow {
  margin: 0 0 5px;
}

.mega-menu-head strong {
  display: block;
  max-width: 620px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.05;
}

.mega-menu-head a {
  padding: 10px 13px;
  border: 1px solid rgba(17, 24, 32, 0.16);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 14px;
}

.mega-menu-column {
  min-width: 0;
}

.mega-menu-column-title {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.25;
}

.mega-menu-column p {
  min-height: 42px;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.34;
}

.mega-menu-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.mega-menu-column a {
  display: block;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.22;
}

.mega-menu-column a:hover {
  color: var(--gold);
}

.mobile-nav-cta {
  display: none;
}

.breadcrumbs {
  background: rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(17, 24, 32, 0.08);
}

.breadcrumbs-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.breadcrumbs-inner::-webkit-scrollbar {
  display: none;
}

.breadcrumbs a {
  color: var(--ink-soft);
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumb-separator {
  color: rgba(102, 113, 127, 0.6);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(17, 24, 32, 0);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  background: #000;
  box-shadow: 0 16px 34px rgba(17, 24, 32, 0.2);
}

.button:focus-visible,
.wp-block-button__link:focus-visible,
input[type="submit"]:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(169, 129, 69, 0.35);
  outline-offset: 3px;
}

.button-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(17, 24, 32, 0.35);
}

.button-outline:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.button-light:hover {
  background: var(--surface-2);
  border-color: var(--surface-2);
  color: var(--ink);
}

.button-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
}

.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.button-gold:hover {
  background: #8d6c37;
  border-color: #8d6c37;
  color: #fff;
  box-shadow: 0 18px 36px rgba(169, 129, 69, 0.28);
}

.entry-content a.button,
.entry-content a.button:visited {
  color: #fff;
  text-decoration: none;
}

.entry-content a.button-outline,
.entry-content a.button-outline:visited {
  color: var(--ink);
}

.entry-content a.button-outline:hover {
  color: #fff;
}

.entry-content a.button-gold,
.entry-content a.button-gold:visited,
.entry-content a.button-light,
.entry-content a.button-light:visited {
  color: #111;
}

.entry-content a.button-ghost-light,
.entry-content a.button-ghost-light:visited {
  color: #fff;
}

.menu-toggle:hover {
  background: #fff;
  border-color: rgba(17, 24, 32, 0.36);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  padding: 86px 0;
  scroll-margin-top: 96px;
}

.section-tight {
  padding: 58px 0;
  scroll-margin-top: 96px;
}

.section-dark {
  color: #f4f1ea;
  background: var(--dark);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.45fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header h2,
.page-title,
.entry-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.section-header > *,
.hero-grid > *,
.knowledge-layout > *,
.content-grid > *,
.article-feature,
.article-grid,
.article-card,
.sidebar-box,
.team-grid > *,
.practice-grid > *,
.industry-grid > *,
.proof-layout > *,
.signal-desk > * {
  min-width: 0;
}

.page-title,
.section-header h2,
.insight-format-grid strong,
.service-format-grid h3,
.service-price-panel h3,
.service-faq-list h3 {
  overflow-wrap: anywhere;
}

.section-dark .section-header p,
.section-dark .muted {
  color: rgba(244, 241, 234, 0.7);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: auto;
  padding: 42px 0 0;
  color: #f7f4ef;
  background: #0b121a;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 165, 108, 0.16), transparent 25%),
    linear-gradient(90deg, rgba(11, 18, 26, 0.99) 0%, rgba(11, 18, 26, 0.94) 44%, rgba(11, 18, 26, 0.72) 100%);
  pointer-events: none;
}

.hero-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.7fr);
  gap: 42px;
  align-items: center;
  padding-bottom: 28px;
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(40px, 4.65vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(247, 244, 239, 0.78);
  font-size: clamp(17px, 1.55vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero .page-hero-actions {
  margin-top: 22px;
}

.page-hero .page-hero-actions .button-ghost-light {
  color: #fff;
}

.hero-proof {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 16px;
  min-width: 0;
}

.proof-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.proof-kicker {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-value {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.proof-panel p {
  margin: 12px 0 0;
  color: rgba(247, 244, 239, 0.72);
}

.ticker {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ticker-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ticker-item {
  padding: 16px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.ticker-item:last-child {
  border-right: 0;
}

.ticker-value {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.ticker-label {
  display: block;
  margin-top: 7px;
  color: rgba(247, 244, 239, 0.66);
  font-size: 13px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

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

.situation-band {
  background: var(--surface-2);
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.situation-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 24, 32, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.situation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180, 138, 74, 0.7);
}

.situation-card span {
  color: var(--danger);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.situation-card h3 {
  margin: 22px 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.04;
}

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

.situation-card strong {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
}

.signal-section {
  background: #0f1720;
  color: #fff;
}

.insights-signal-band {
  background: #0f1720;
}

.signal-desk {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
}

.signal-copy {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    #111c27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.signal-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
}

.signal-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.signal-console {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 430px;
  background: #101923;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.signal-tabs {
  display: grid;
  align-content: stretch;
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-tab {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.signal-tab:hover,
.signal-tab[aria-selected="true"] {
  color: #fff;
  background: rgba(201, 165, 108, 0.12);
}

.signal-tab span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-tab strong {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.05;
}

.signal-panels {
  position: relative;
}

.signal-panel {
  min-height: 100%;
  padding: 42px;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(16, 25, 35, 0.2), #101923),
    radial-gradient(circle at 78% 18%, rgba(201, 165, 108, 0.18), transparent 28%);
}

.signal-panel.is-active {
  display: flex;
}

.signal-status {
  align-self: flex-start;
  padding: 8px 10px;
  color: var(--gold-2);
  border: 1px solid rgba(201, 165, 108, 0.36);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-panel h3 {
  max-width: 680px;
  margin: 84px 0 16px;
  font-family: var(--serif);
  font-size: clamp(34px, 3.7vw, 56px);
  line-height: 0.98;
}

.signal-panel p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  min-width: 190px;
  padding: 13px 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 129, 69, 0.65);
}

.social-pill strong {
  font-size: 14px;
  line-height: 1.1;
}

.social-pill span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.social-links-dark .social-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.social-links-dark .social-pill span {
  color: rgba(255, 255, 255, 0.62);
}

.social-links-compact {
  display: grid;
  grid-template-columns: 1fr;
}

.social-links-compact .social-pill {
  min-width: 0;
}

.sidebar-signal {
  background: #101923;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-signal p {
  color: rgba(255, 255, 255, 0.68);
}

.archive-follow-band {
  padding-top: 0;
  background: var(--paper);
}

.archive-follow {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background: #101923;
  color: #fff;
  border-radius: var(--radius);
}

.archive-follow h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.02;
}

.team-section {
  background: #0d1620;
  color: #fff;
}

.team-section .section-header {
  border-color: rgba(255, 255, 255, 0.14);
}

.team-section .section-header h2 {
  color: #fff;
}

.team-section .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

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

.expert-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
}

.expert-card > div {
  min-width: 0;
}

.expert-card img {
  width: 92px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  filter: saturate(0.98) contrast(1.02);
  background: var(--surface-2);
}

.expert-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.expert-card strong {
  display: block;
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.expert-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.expert-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.expert-card-inline {
  margin: 0 38px 22px;
  padding: 18px;
  background: linear-gradient(135deg, #101923 0%, #172433 100%);
  border: 1px solid rgba(169, 129, 69, 0.28);
  border-radius: var(--radius);
  color: #fff;
}

.expert-card-inline p {
  color: rgba(255, 255, 255, 0.72);
}

.expert-card-inline small {
  color: rgba(255, 255, 255, 0.86);
}

.expert-card-inline img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.article-opener .expert-card-inline strong {
  font-size: 26px;
}

.article-opener .expert-card-inline p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.article-opener .expert-card-inline small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
}

.expert-card-sidebar {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.expert-card-sidebar img {
  width: 62px;
  max-height: none;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 1px);
  object-position: center 18%;
}

.expert-card-sidebar strong {
  font-size: 17px;
  line-height: 1.08;
  overflow-wrap: normal;
}

.expert-card-sidebar p {
  margin-top: 5px;
  font-size: 12px;
}

.expert-card-sidebar small {
  display: none;
}

.sidebar-expert {
  padding-bottom: 22px;
}

.expert-card-team {
  position: relative;
  min-height: 0;
  padding: 0;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.expert-card-team img {
  display: block;
  width: 100%;
  height: 250px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.02);
  background: #e9ecef;
}

.expert-card-team div {
  min-height: 210px;
  padding: 20px;
  background: var(--surface);
}

.expert-card-team span {
  color: var(--gold-2);
}

.expert-card-team strong {
  color: var(--ink);
  font-size: 25px;
}

.expert-card-team p {
  color: var(--ink-soft);
}

.expert-card-team small {
  color: var(--ink-soft);
}

.expert-card-team:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 165, 108, 0.46);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.32);
}

.expert-card-kurtapov img,
.service-team-card-kurtapov img {
  object-position: center 18%;
}

.expert-card-dranichnikova img,
.service-team-card-dranichnikova img {
  object-position: center 20%;
}

.expert-card-gusarova img,
.service-team-card-gusarova img {
  object-position: center 20%;
}

.proof-section {
  background: #f8fafc;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.proof-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
}

.proof-layout p {
  color: var(--muted);
}

.proof-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.proof-matrix div {
  min-height: 170px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-matrix strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.proof-matrix span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.industry-section {
  background: #e6ebf0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.industry-card {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
}

.industry-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

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

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 46px;
}

.process-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.55vw, 36px);
  line-height: 1.06;
}

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

.process-list li {
  display: grid;
  grid-template-columns: 72px minmax(210px, 0.34fr) 1fr;
  gap: 22px;
  padding: 22px;
  align-items: start;
  background: var(--dark);
}

.process-list span {
  color: var(--gold-2);
  font-weight: 850;
}

.process-list strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.08;
}

.process-list p {
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
}

.page-template-page-kontakty .process-list li {
  grid-template-columns: 58px minmax(230px, 0.48fr) minmax(0, 1fr);
  gap: 20px;
}

.page-template-page-kontakty .process-list strong {
  font-size: 21px;
  line-height: 1.14;
  overflow-wrap: normal;
}

.insight-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insight-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
}

.insight-tabs span {
  color: var(--muted);
  font-size: 13px;
}

.insight-format-band {
  padding-top: 0;
  background: var(--paper);
}

.insight-format-band .section-header h2 {
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.03;
}

.insight-format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.insight-format-grid a {
  min-width: 0;
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.insight-format-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 129, 69, 0.48);
  box-shadow: 0 24px 62px rgba(17, 24, 32, 0.12);
}

.insight-format-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-format-grid strong {
  display: block;
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.06;
}

.insight-format-grid p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.article-grid-wide {
  grid-template-columns: repeat(3, 1fr);
}

.insights-main {
  padding-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  gap: 18px;
}

.contact-card-main {
  min-height: 450px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 25, 35, 0.98) 0%, rgba(16, 25, 35, 0.9) 48%, rgba(16, 25, 35, 0.58) 100%),
    url("/wp-content/themes/imperius-redesign/assets/images/team/alexandr-kurtapov-premium.jpg") right center / auto 100% no-repeat,
    #101923;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-card-main h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
}

.contact-card-main p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

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

.contact-card-main .button-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.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);
}

.document-intake-form {
  width: min(100%, 780px);
  margin-top: 28px;
  padding: 24px;
  color: #fff;
  background: rgba(7, 13, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  scroll-margin-top: 110px;
}

.document-intake-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.document-intake-head {
  margin-bottom: 18px;
}

.document-intake-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.04;
}

.document-intake-head p {
  max-width: 660px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.document-intake-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
}

.document-intake-form input,
.document-intake-form select,
.document-intake-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.35;
}

.document-intake-form textarea {
  resize: vertical;
}

.document-intake-form input::placeholder,
.document-intake-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.document-intake-form select option,
.document-intake-form select optgroup {
  color: #111820;
  background: #fff;
}

.document-intake-form input:focus,
.document-intake-form select:focus,
.document-intake-form textarea:focus {
  outline: 3px solid rgba(201, 165, 108, 0.28);
  border-color: rgba(201, 165, 108, 0.72);
}

.document-intake-wide {
  margin-top: 14px;
}

.document-intake-file {
  padding: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.document-intake-file input {
  padding: 10px;
}

.document-intake-file small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.45;
}

.document-intake-bottom {
  align-items: center;
  margin-top: 14px;
}

.document-intake-consent {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.document-intake-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.document-intake-form .button {
  margin-top: 16px;
}

.document-intake-notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 750;
}

.document-intake-notice-success {
  color: #11351f;
  background: #d9f1df;
  border: 1px solid rgba(38, 120, 67, 0.24);
}

.document-intake-notice-error {
  color: #fff;
  background: rgba(125, 46, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-facts {
  display: grid;
  align-self: start;
  align-content: start;
  grid-auto-rows: min-content;
  gap: 12px;
}

.contact-facts div {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-facts div:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 129, 69, 0.44);
  box-shadow: 0 20px 48px rgba(17, 24, 32, 0.1);
}

.contact-facts span {
  color: var(--gold);
  font-weight: 850;
}

.contact-facts strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 27px;
}

.contact-facts p {
  color: var(--muted);
}

.case-hero {
  padding: 88px 0 64px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 18, 26, 0.96), rgba(11, 18, 26, 0.82));
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: end;
}

.case-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.02;
}

.case-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
}

.case-hero-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.case-hero-panel span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-hero-panel strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.evidence-card {
  min-height: 245px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.evidence-card:hover {
  color: #fff;
  background: var(--dark);
  transform: translateY(-2px);
}

.evidence-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.evidence-card strong {
  display: block;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.evidence-card h3 {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.18;
}

.evidence-card p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.evidence-card:hover p {
  color: rgba(255, 255, 255, 0.68);
}

.case-dossier-band {
  background: #101923;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.case-dossier {
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.case-dossier h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.case-dossier p {
  color: rgba(255, 255, 255, 0.7);
}

.dossier-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-steps div {
  min-height: 190px;
  padding: 22px;
  background: #101923;
}

.dossier-steps span {
  color: var(--gold-2);
  font-weight: 850;
}

.dossier-steps strong {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
}

.dossier-steps p {
  margin: 12px 0 0;
  font-size: 14px;
}

.related-materials {
  margin-top: 58px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.related-materials h2 {
  margin-top: 0;
}

.article-resource-routes {
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.article-resource-routes h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.03;
}

.article-resource-routes .service-resource-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-resource-routes .service-resource-link {
  min-height: 176px;
}

.article-role-bridge {
  margin: 0;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(216, 222, 230, 0.38) 0 1px, transparent 1px) left top / 42px 42px,
    #fff;
  border-bottom: 1px solid var(--line);
}

.article-role-copy h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.article-role-copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.58;
}

.article-role-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-role-links a {
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: #f8fafc;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.article-role-links a:hover {
  color: #fff;
  background: #101923;
  transform: translateY(-2px);
}

.article-role-links span {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-role-links strong {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.08;
}

.article-role-links p {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.article-source-migration-bridge {
  margin: 0;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px) left top / 42px 42px,
    #101923;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.article-source-migration-copy {
  max-width: 780px;
}

.article-source-migration-bridge h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.03;
}

.article-source-migration-bridge p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.56;
}

.article-source-migration-points {
  max-width: 760px;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
}

.article-source-migration-points li {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.article-source-migration-actions {
  min-width: 220px;
  display: grid;
  gap: 10px;
}

.entry-content .article-source-migration-bridge .button {
  white-space: nowrap;
  color: var(--ink);
  background: var(--gold);
}

.entry-content .article-source-migration-bridge .button-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.entry-content .article-source-migration-bridge .button-outline-light:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.entry-content .article-role-links a,
.entry-content .article-role-links a:visited,
.entry-content .article-role-links a:hover,
.entry-content .article-role-links strong,
.entry-content .article-role-links span,
.entry-content .article-role-links p {
  text-decoration: none;
}

.article-role-links a:hover p {
  color: rgba(255, 255, 255, 0.76);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.related-grid a {
  min-height: 160px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}

.related-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.related-grid strong {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.08;
}

.archive-content {
  padding-top: 24px;
}

.practice-card {
  min-height: 276px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    var(--surface);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  color: #fff;
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 24px 62px rgba(17, 24, 32, 0.18);
}

.practice-card:hover .muted,
.practice-card:hover .practice-meta {
  color: rgba(255, 255, 255, 0.7);
}

.practice-number {
  color: var(--gold);
  font-weight: 800;
}

.practice-card h3 {
  margin: 34px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.02;
}

.practice-card p {
  margin: 0;
}

.practice-meta {
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.capability-index-band {
  padding-top: 0;
  background: var(--paper);
}

.capability-index .section-header h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.03;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--surface);
}

.capability-grid article {
  min-height: 330px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capability-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.capability-grid h3 {
  margin: 24px 0 20px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.04;
}

.capability-grid a {
  padding: 12px 0;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 760;
}

.capability-grid a:hover {
  color: var(--gold);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.brief {
  position: sticky;
  top: 108px;
}

.brief h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3.1vw, 48px);
  line-height: 1.04;
}

.brief p {
  color: var(--muted);
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.case-sum {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
}

.case-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.case-row p {
  margin: 7px 0 0;
  color: var(--muted);
}

.case-link {
  color: var(--ink);
  font-weight: 800;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.article-feature,
.article-card,
.sidebar-box,
.contact-panel,
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-feature {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1fr;
}

.article-feature > a,
.article-feature-body {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.article-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
  filter: saturate(0.82) contrast(1.05);
}

.article-feature-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.article-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-feature h3,
.article-card h3 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  line-height: 1.08;
}

.article-feature h3 {
  font-size: 38px;
}

.article-card h3 {
  font-size: 25px;
}

.article-feature p,
.article-card p {
  color: var(--muted);
}

.article-feature .button {
  margin-top: auto;
  align-self: flex-start;
}

.article-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card {
  padding: 22px;
}

.article-card,
.archive-card,
.sidebar-box,
.related-grid a {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover,
.archive-card:hover,
.related-grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 129, 69, 0.45);
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.08);
}

.sidebar-box {
  padding: 22px;
  margin-bottom: 16px;
}

.sidebar-box.sidebar-signal {
  background: #101923;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.sidebar-box.sidebar-signal p {
  color: rgba(255, 255, 255, 0.68);
}

.sidebar-box.sidebar-signal .social-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.sidebar-box.sidebar-signal .social-pill span {
  color: rgba(255, 255, 255, 0.62);
}

.site-sidebar {
  min-width: 0;
}

.sidebar-priority {
  display: contents;
}

.sidebar-secondary {
  margin-top: 16px;
}

.sidebar-box h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 28px;
}

.sidebar-expert h3,
.sidebar-article-nav h3,
.sidebar-consult h3 {
  font-size: 24px;
  line-height: 1.08;
}

.category-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 700;
}

.category-list span {
  color: var(--muted);
}

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

.review-card {
  padding: 28px;
}

.review-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.24;
}

.review-card cite {
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
}

.contact-panel {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.04;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.product-policy-layer,
.practice-orientation-layer {
  padding: 54px 0;
  background: var(--paper);
}

.product-policy-layer + .practice-orientation-layer {
  padding-top: 0;
}

.product-policy-panel,
.practice-orientation-panel {
  display: grid;
  gap: 24px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(17, 24, 32, 0.08);
}

.product-policy-head,
.practice-orientation-head {
  max-width: 880px;
}

.product-policy-head h2,
.practice-orientation-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.02;
}

.product-policy-head p,
.practice-orientation-head p {
  color: var(--muted);
}

.product-policy-grid,
.practice-orientation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.practice-orientation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-policy-grid article,
.practice-orientation-card {
  min-width: 0;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-policy-grid article span,
.practice-orientation-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-policy-grid article strong,
.practice-orientation-card strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.product-policy-grid article p,
.practice-orientation-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.practice-orientation-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.practice-orientation-card:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 129, 69, 0.55);
  box-shadow: 0 14px 30px rgba(17, 24, 32, 0.09);
}

.practice-orientation-card small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink-soft);
  font-weight: 800;
}

.product-policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.first-step-band {
  padding: 30px 0 42px;
  background: #f5f0e7;
  scroll-margin-top: 110px;
}

.first-step-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 34px;
  color: #fff;
  background: #101820;
  border: 1px solid rgba(202, 168, 93, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(13, 17, 23, 0.18);
}

.first-step-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 2.85vw, 42px);
  line-height: 1.06;
}

.first-step-head p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.first-step-grid article {
  min-height: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.first-step-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-weight: 850;
}

.first-step-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.first-step-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.first-step-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.first-step-actions .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

.first-step-actions .button-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.conversion-dock {
  border-color: rgba(202, 168, 93, 0.34);
}

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

.site-footer {
  padding: 54px 0 34px;
  color: rgba(247, 244, 239, 0.72);
  background: #0d1117;
}

.footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-lead span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-lead h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}

.footer-lead p {
  max-width: 720px;
  margin: 12px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 8px 0;
}

.footer-social {
  margin-top: 18px;
}

.footer-social .social-pill {
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer-social .social-pill span {
  color: rgba(255, 255, 255, 0.58);
}

.footer-bottom {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.page-hero {
  padding: 78px 0 44px;
  background: var(--dark);
  color: #fff;
  scroll-margin-top: 96px;
}

.page-hero .container {
  max-width: 960px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.service-hero {
  background:
    linear-gradient(120deg, rgba(11, 18, 26, 0.98), rgba(11, 18, 26, 0.9));
}

.service-landing-hero {
  padding: 74px 0 54px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(11, 18, 26, 0.98) 0%, rgba(11, 18, 26, 0.9) 55%, rgba(11, 18, 26, 0.7) 100%);
}

.service-landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.45fr);
  gap: 48px;
  align-items: end;
}

.service-landing-hero .page-title {
  max-width: 780px;
}

.service-landing-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.service-landing-brief {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.service-landing-brief span,
.service-case-body span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-landing-brief strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.05;
}

.service-landing-brief p {
  margin: 14px 0 0;
  font-size: 15px;
}

.service-situation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-situation-grid article,
.service-case-card,
.service-faq-list article {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-situation-grid article {
  min-height: 230px;
  padding: 24px;
}

.service-situation-grid span {
  display: block;
  max-width: 100%;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.service-situation-grid h2 {
  margin: 14px 0 10px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.service-situation-grid p,
.service-faq-list p {
  margin: 0;
  color: var(--muted);
}

.service-risk-band {
  background: #e8edf2;
}

.service-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.service-two-column h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.06;
}

.service-two-column > div > p {
  color: var(--muted);
}

.service-check-list,
.service-document-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-check-list li,
.service-document-list li {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 32, 0.1);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 650;
}

.service-document-list li {
  background: var(--surface);
  border-color: var(--line);
}

.service-team-section {
  background:
    linear-gradient(180deg, #f7f8f8 0%, #eef2f4 100%);
}

.service-team-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.42fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 24px;
  background: #0d1620;
  border: 1px solid rgba(17, 24, 32, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(17, 24, 32, 0.16);
}

.service-team-copy {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 4px 8px 6px;
  color: #fff;
}

.service-team-copy h2 {
  max-width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 2.7vw, 39px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.service-team-copy p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

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

.service-team-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: none;
}

.service-team-card img {
  display: block;
  width: 100%;
  height: 248px;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(0.98);
}

.service-team-card div {
  padding: 20px;
}

.service-team-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.04;
}

.service-team-card span {
  display: block;
  min-height: 34px;
  margin-top: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-team-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.enterprise-decision-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 165, 108, 0.14), transparent 36%),
    #101923;
}

.enterprise-decision-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.enterprise-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.enterprise-decision-grid article {
  min-width: 0;
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.enterprise-decision-grid span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.enterprise-decision-grid h3 {
  margin: 18px 0 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.enterprise-decision-grid p {
  margin: auto 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.enterprise-decision-pack {
  margin-top: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.enterprise-decision-pack h3 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.enterprise-decision-pack ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.enterprise-decision-pack li {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: calc(var(--radius) - 2px);
}

.enterprise-decision-pack strong {
  color: #fff;
}

.service-case-rail-wrap {
  position: relative;
}

.service-case-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding: 6px;
  padding: 0 0 12px;
  scrollbar-width: none;
}

.service-case-rail::-webkit-scrollbar {
  display: none;
}

.service-case-rail.is-carousel {
  cursor: grab;
}

.service-case-rail.is-carousel:hover {
  cursor: pointer;
}

.service-case-card {
  overflow: hidden;
  scroll-snap-align: start;
}

.service-case-visual {
  display: block;
}

.service-case-visual .editorial-visual-card {
  height: 190px;
  min-height: 190px;
}

.service-case-body {
  padding: 22px;
}

.service-case-body h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.service-case-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.service-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-link-grid .practice-card:hover {
  color: #fff;
  background: var(--dark);
}

.service-link-grid .practice-card:hover h3,
.service-link-grid .practice-card:hover p,
.service-link-grid .practice-card:hover .practice-meta {
  color: rgba(255, 255, 255, 0.76);
}

.service-link-grid .practice-card:hover h3 {
  color: #fff;
}

.service-link-grid .practice-card h3 {
  font-size: 27px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-format-section {
  background:
    linear-gradient(180deg, #f5f7f8 0%, #eef2f4 100%);
}

.corporate-landing-hero {
  background:
    linear-gradient(90deg, rgba(11, 18, 26, 0.98) 0%, rgba(11, 18, 26, 0.92) 54%, rgba(11, 18, 26, 0.78) 100%),
    linear-gradient(135deg, rgba(169, 129, 69, 0.22), transparent 42%),
    #0b121a;
}

.corporate-map-section {
  color: #fff;
  background:
    linear-gradient(135deg, #101923 0%, #132232 54%, #0b121a 100%);
}

.corporate-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.corporate-map-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.corporate-map-layout p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.corporate-control-map {
  min-height: 420px;
  padding: 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.corporate-control-core {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(201, 165, 108, 0.18), rgba(201, 165, 108, 0.04)),
    #0d1620;
  border: 1px solid rgba(201, 165, 108, 0.32);
  border-radius: var(--radius);
}

.corporate-control-core span,
.corporate-control-nodes span {
  display: block;
  max-width: 100%;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.corporate-control-core strong {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 0.95;
}

.corporate-control-core p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.corporate-control-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.corporate-control-nodes article {
  min-width: 0;
  min-height: 126px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.corporate-control-nodes strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.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 {
  padding: 22px;
  border-radius: 8px;
}

.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 {
    gap: 20px;
  }

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

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

  .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;
  }
}

/* Release end-cascade containment for live launch QA. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.cases-library-proof-stack {
  overflow: hidden;
}

.cases-library-proof-stack img {
  max-width: min(210px, 64%);
}

.cases-library-proof-stack img:nth-child(2) {
  left: min(34px, 12%);
}

@media (min-width: 761px) {
  body.category-kejsy .cases-library-proof-stack,
  .cases-library-page .cases-library-proof-stack {
    overflow: hidden;
  }

  body.category-kejsy .cases-library-proof-stack img,
  .cases-library-page .cases-library-proof-stack img {
    width: 66%;
    max-width: 190px;
    box-sizing: border-box;
  }

  body.category-kejsy .cases-library-proof-stack img:nth-child(1),
  .cases-library-page .cases-library-proof-stack img:nth-child(1) {
    left: 10px;
  }

  body.category-kejsy .cases-library-proof-stack img:nth-child(2),
  .cases-library-page .cases-library-proof-stack img:nth-child(2) {
    left: 50%;
    transform: translateX(-50%) 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: 10px;
  }
}

body.home .home-insight-social,
body.home .home-insight-categories {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-x: visible;
  white-space: normal;
}

body.home .home-insight-social strong,
body.home .home-insight-social a,
body.home .home-insight-categories a {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.article-matter-desk,
.article-matter-desk *,
.case-compact-timeline,
.case-compact-timeline-item,
.case-compact-timeline-item > *,
.case-compact-timeline-item strong,
.case-compact-timeline-item p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.article-matter-desk h2 {
  font-size: clamp(21px, 1.95vw, 28px);
  line-height: 1.08;
}

@media (min-width: 761px) {
  .case-compact-timeline-item {
    grid-template-columns: minmax(44px, 74px) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  body.home .team-grid,
  body.home .proof-home-track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  body.home .home-insight-social,
  body.home .home-insight-categories {
    gap: 8px;
  }
}

/* Final visual QA end-cascade: mirror the mobile containment after all legacy bundles. */
.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;
  }
}

@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: keep dense route/proof cards inside narrow mobile viewports. */
.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;
  }
}

/* Release final containment: keep dense landing/case/article rows inside viewport. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.home .team-grid,
.proof-home-track,
.home-insight-social,
.home-insight-categories,
.cases-library-page .cases-index-register-head,
.cases-index-register-head,
.cases-index-row-main,
.cases-library-proof-stack,
.cases-library-proof-copy,
.article-matter-desk,
.case-compact-timeline,
.case-compact-timeline-item {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cases-index-register-head > *,
.cases-index-row-main > *,
.cases-library-proof-stack > *,
.article-matter-desk > *,
.case-compact-timeline-item > * {
  min-width: 0;
}

.cases-index-register-head h2,
.cases-index-row-main h2,
.cases-library-proof-copy strong,
.article-matter-desk h2,
.case-compact-timeline-item strong,
.case-compact-timeline-item p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-matter-desk h2 {
  font-size: clamp(22px, 2.15vw, 30px);
  line-height: 1.1;
}

.case-compact-timeline-item strong {
  line-height: 1.18;
}

.proof-home-carousel-shell,
.home-insight-categories {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

@media (max-width: 760px) {
  body.home .team-grid,
  .proof-home-track,
  .home-insight-categories {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .cases-library-page .cases-index-register-head,
  .cases-index-register-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-matter-desk {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Release visual containment: prevent minor horizontal drift in dense proof/index rows. */
html,
body {
  overflow-x: clip;
}

.team-grid,
.proof-home-track,
.home-insight-social,
.home-insight-categories,
.cases-library-proof-copy,
.cases-library-proof-stack,
.cases-index-register-head,
.cases-index-row-main,
.article-matter-desk,
.article-matter-desk * {
  min-width: 0;
  max-width: 100%;
}

.cases-library-proof-copy strong,
.cases-index-row-main h2,
.article-matter-desk h2 {
  overflow-wrap: anywhere;
}

.proof-home-track,
.home-insight-categories {
  scrollbar-gutter: stable;
}

@media (max-width: 640px) {
  .home-insight-social,
  .cases-index-register-head {
    flex-wrap: wrap;
  }
}

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

.service-format-grid article {
  min-width: 0;
  min-height: 270px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(17, 24, 32, 0.06);
}

.service-format-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-format-grid h3 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.04;
}

.service-format-grid p {
  margin: 0;
  color: var(--muted);
}

.service-format-grid small {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.service-price-panel {
  margin-top: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  color: #fff;
  background: #0d1620;
  border-radius: var(--radius);
}

.service-price-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
}

.service-price-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-price-panel li {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 2px);
}

.service-resource-links {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-resource-link {
  min-height: 188px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-resource-link:hover {
  color: #fff;
  background: #101923;
  border-color: #101923;
  transform: translateY(-2px);
}

.service-resource-link span {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-resource-link strong {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.05;
}

.service-resource-link p {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.service-resource-link:hover p {
  color: rgba(255, 255, 255, 0.76);
}

.service-intent-section {
  padding-top: 0;
}

.service-intent-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(201, 165, 108, 0.2), transparent 36%),
    #101923;
  border-radius: var(--radius);
}

.service-intent-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 43px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.service-intent-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-intent-strip li {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: calc(var(--radius) - 2px);
  font-weight: 650;
}

.service-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-step;
  display: grid;
  gap: 12px;
}

.service-process-list li {
  position: relative;
  min-width: 0;
  padding: 18px 20px 18px 76px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
}

.service-process-list li::before {
  counter-increment: service-step;
  content: counter(service-step, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 20px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #101923;
  background: var(--gold-2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.service-process-list strong {
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(169, 129, 69, 0.38);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.08);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.08;
  list-style: none;
  overflow-wrap: anywhere;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.cta-section {
  color: #fff;
  background: #0b121a;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(201, 165, 108, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.cta-panel h2 {
  margin: 0;
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(30px, 2.85vw, 42px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.cta-panel p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.service-cluster-section {
  background: #101923;
  color: #fff;
}

.service-cluster-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 38px;
  align-items: end;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.service-cluster-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
}

.service-cluster-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.service-semantics-section {
  background: #fff;
}

.service-semantics-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.service-semantics-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1;
}

.service-semantics-layout > div > p:not(.eyebrow) {
  color: var(--muted);
}

.service-semantics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-semantics-grid a {
  min-width: 0;
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-semantics-grid a:hover,
.service-semantics-grid a:focus-visible {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.service-semantics-grid h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
}

.service-semantics-grid p {
  margin: 0;
  color: var(--muted);
}

.service-semantics-grid a:hover p,
.service-semantics-grid a:focus-visible p {
  color: rgba(255, 255, 255, 0.76);
}

.service-faq-section {
  background: #f8fafc;
}

.service-faq-list {
  display: grid;
  gap: 12px;
}

.service-faq-list article {
  padding: 22px;
}

.service-faq-list h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(13, 18, 28, 0.28);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateX(4px);
}

.service-hero .container {
  max-width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) 340px;
  gap: 44px;
  align-items: end;
}

.service-hero .eyebrow,
.service-hero .page-title,
.service-hero > .container > p {
  grid-column: 1;
}

.service-hero-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
}

.service-hero-panel span,
.service-intake li span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-hero-panel strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.service-hero-panel p {
  margin-bottom: 0;
  font-size: 16px;
}

.service-intake-band {
  background: #101923;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-intake {
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.service-intake h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1;
}

.service-intake ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.service-intake li {
  min-height: 190px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-intake strong {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.05;
}

.service-intake li p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.article-hero {
  padding: 74px 0 54px;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 18, 26, 0.98), rgba(16, 27, 38, 0.94)),
    var(--dark);
  overflow: hidden;
}

.article-theme-tax {
  background:
    linear-gradient(120deg, rgba(10, 20, 24, 0.98), rgba(27, 49, 57, 0.94)),
    var(--dark);
}

.article-theme-bankruptcy {
  background:
    linear-gradient(120deg, rgba(17, 17, 20, 0.98), rgba(45, 38, 34, 0.94)),
    var(--dark);
}

.article-theme-contracts {
  background:
    linear-gradient(120deg, rgba(11, 18, 26, 0.98), rgba(35, 45, 52, 0.94)),
    var(--dark);
}

.article-theme-transactions {
  background:
    linear-gradient(120deg, rgba(11, 18, 26, 0.98), rgba(33, 53, 58, 0.94)),
    var(--dark);
}

.article-theme-private {
  background:
    linear-gradient(120deg, rgba(16, 20, 26, 0.98), rgba(45, 54, 58, 0.94)),
    var(--dark);
}

.article-migrated-bridge {
  background:
    linear-gradient(120deg, rgba(11, 18, 26, 0.98), rgba(28, 34, 37, 0.94)),
    var(--dark);
}

.article-migrated-bridge .article-hero-visual {
  background:
    radial-gradient(circle at 32% 22%, rgba(212, 175, 55, 0.16), transparent 38%),
    #121b25;
}

.article-migrated-bridge .article-hero-meta span {
  background: rgba(255, 255, 255, 0.04);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.58fr);
  gap: 54px;
  align-items: stretch;
}

.article-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 480px;
}

.article-hero .entry-title,
.article-hero .page-title {
  max-width: 860px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1;
  text-wrap: balance;
}

.article-title-long .entry-title {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.02;
}

.article-title-xlong .entry-title {
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.04;
}

.article-title-xxlong .entry-title {
  max-width: 820px;
  font-size: 44px;
  line-height: 1.06;
}

.article-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 20px;
}

.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

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

.article-hero-actions .button {
  min-height: 46px;
}

.article-hero-actions .button-dark-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.article-hero-actions .button-dark-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.article-hero-meta span {
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero-visual {
  position: relative;
  min-height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: #121b25;
}

.article-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.08);
}

.article-visual-overlay {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  background: rgba(11, 18, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.article-visual-overlay span,
.editorial-visual .visual-topline {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-visual-overlay strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.editorial-visual {
  position: relative;
  min-height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #111c27;
  overflow: hidden;
}

.editorial-visual-tax {
  background:
    linear-gradient(135deg, rgba(115, 145, 139, 0.18), rgba(255, 255, 255, 0.02)),
    #102026;
}

.editorial-visual-bankruptcy {
  background:
    linear-gradient(135deg, rgba(169, 129, 69, 0.18), rgba(255, 255, 255, 0.02)),
    #1d1b1b;
}

.editorial-visual-contracts {
  background:
    linear-gradient(135deg, rgba(93, 116, 136, 0.18), rgba(255, 255, 255, 0.02)),
    #131e28;
}

.editorial-visual-transactions {
  background:
    linear-gradient(135deg, rgba(79, 102, 93, 0.18), rgba(201, 165, 108, 0.08)),
    #112029;
}

.editorial-visual-private {
  background:
    linear-gradient(135deg, rgba(79, 102, 93, 0.18), rgba(255, 255, 255, 0.02)),
    #172027;
}

.editorial-visual-large {
  min-height: 480px;
}

.editorial-visual-card {
  width: 100%;
  height: 160px;
  min-height: 160px;
  border-radius: var(--radius);
}

.editorial-visual-card strong {
  max-width: 190px;
  font-size: 22px;
  line-height: 1;
}

.editorial-visual-card span:not(.visual-topline) {
  font-size: 12px;
}

.editorial-visual-feature {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.editorial-visual-feature strong {
  max-width: 100%;
  font-size: clamp(30px, 3.2vw, 46px);
}

.visual-grid-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000);
}

.editorial-visual strong {
  position: relative;
  max-width: 100%;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.editorial-visual span:not(.visual-topline) {
  position: relative;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.visual-mark {
  position: absolute;
  right: 18px;
  top: 10px;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--serif);
  font-size: 190px;
  line-height: 1;
}

.visual-mark::before {
  content: "I";
}

.editorial-visual-person {
  isolation: isolate;
}

.visual-person-image {
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: 0;
  width: min(48%, 250px);
  max-height: 82%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0.58;
  filter: grayscale(0.15) saturate(0.76) contrast(1.08);
  mix-blend-mode: luminosity;
}

.editorial-visual-person::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(17, 28, 39, 0.96) 0%, rgba(17, 28, 39, 0.78) 48%, rgba(17, 28, 39, 0.3) 100%);
}

.editorial-visual > .visual-topline,
.editorial-visual > strong,
.editorial-visual > span:not(.visual-topline),
.editorial-visual > .visual-mark {
  z-index: 1;
}

.editorial-visual.editorial-visual-card {
  justify-content: flex-end;
}

.editorial-visual.editorial-visual-card strong {
  max-width: 172px;
  margin-top: 14px;
  font-size: 30px;
  line-height: 0.96;
}

.editorial-visual.editorial-visual-card span:not(.visual-topline) {
  margin-top: 8px;
  font-size: 12px;
}

.archive-card .editorial-visual.editorial-visual-card strong {
  max-width: 138px;
  font-size: 26px;
  line-height: 0.98;
}

.article-brief-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.article-brief-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.article-brief-inner div {
  min-height: 122px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.article-brief-inner span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-brief-inner strong {
  display: block;
  margin-top: 12px;
  line-height: 1.28;
}

.content-wrap {
  padding: 58px 0 86px;
}

.article-utility {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.reading-progress {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 49;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(169, 129, 69, 0.34);
  pointer-events: none;
}

.article-utility-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
}

.article-utility-inner div {
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.article-utility span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-utility strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 44px;
}

.entry-content {
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-entry {
  padding: 0;
  overflow: hidden;
}

.article-opener {
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.article-opener h2 {
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.article-opener p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.5;
}

.article-practical-start {
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.78fr);
  gap: 30px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(216, 222, 230, 0.26) 0 1px, transparent 1px) left top / 44px 44px,
    #fff;
  border-bottom: 1px solid var(--line);
}

.article-practical-copy h2 {
  max-width: 680px;
  margin: 0;
  padding: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.04;
}

.article-practical-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.62;
}

.article-first-actions {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-first-actions div {
  padding: 16px;
  background: #f8fafc;
}

.article-first-actions span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-first-actions strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.article-matter-desk {
  padding: 26px 38px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background:
    linear-gradient(90deg, rgba(216, 222, 230, 0.36) 0 1px, transparent 1px) left top / 44px 44px,
    #fff;
  border-bottom: 1px solid var(--line);
}

.matter-desk-head {
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
  gap: 10px 24px;
  align-items: end;
  color: #fff;
  background: linear-gradient(135deg, #101923 0%, #172433 100%);
  border-radius: var(--radius);
}

.matter-desk-head span,
.matter-desk-grid span,
.article-authority-panel .eyebrow,
.authority-grid span,
.sidebar-matter-pack > span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.matter-desk-head strong {
  display: block;
  margin-top: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.02;
  overflow-wrap: normal;
}

.matter-desk-head p {
  margin: 0;
  color: #dbe3ec;
  font-size: 15px;
  line-height: 1.55;
}

.article-entry .matter-desk-head p {
  color: #dbe3ec;
}

.matter-desk-head > span {
  grid-column: 1 / -1;
}

.matter-desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.matter-desk-grid article {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.matter-desk-grid strong {
  margin-top: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 33px;
  line-height: 1;
  overflow-wrap: anywhere;
}

.matter-desk-grid h3 {
  margin: 14px 0 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.matter-desk-grid p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.article-entry > .expert-card-inline strong {
  font-size: 26px;
  line-height: 1.06;
}

.article-entry > .expert-card-inline p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.35;
}

.article-entry > .expert-card-inline small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.35;
}

.article-toc {
  padding: 18px 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.article-toc span,
.article-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.article-toc span {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-toc a {
  color: var(--ink-soft);
  background: var(--surface-2);
  text-decoration: none;
}

.article-toc a:hover {
  color: #fff;
  background: var(--dark);
}

.article-prose {
  padding: 38px;
}

.single .entry-content {
  font-size: 18px;
  line-height: 1.78;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.6em;
  font-family: var(--serif);
  line-height: 1.08;
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content h2 {
  font-size: 38px;
  padding-top: 18px;
}

.entry-content h3 {
  font-size: 28px;
}

.entry-content h2[id],
.entry-content h3[id] {
  scroll-margin-top: 100px;
}

.entry-content .elementor,
.entry-content .elementor-section,
.entry-content .elementor-container,
.entry-content .elementor-widget-wrap,
.entry-content .elementor-widget,
.entry-content .elementor-text-editor {
  display: contents;
}

.entry-content [class*="elementor-"] {
  max-width: none;
}

.entry-content p,
.entry-content li {
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  word-break: normal;
}

.entry-content > p {
  max-width: 760px;
}

.entry-content ul,
.entry-content ol {
  max-width: 800px;
}

.entry-content pre,
.entry-content .wp-block-preformatted {
  max-width: 100%;
  padding: 18px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  background: #eef1f3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.entry-content img {
  width: auto;
  max-width: min(100%, 760px);
  max-height: 720px;
  object-fit: contain;
  margin-right: auto;
  margin-left: auto;
  background: #eef1f3;
  border-radius: var(--radius);
  filter: saturate(0.86) contrast(1.04);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-scroll {
  width: 100%;
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table-scroll table {
  min-width: 680px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.table-scroll::-webkit-scrollbar {
  height: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 24, 32, 0.24);
  border-radius: 999px;
}

.entry-content th,
.entry-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: #eef1f3;
  color: var(--ink);
  font-size: 14px;
}

.entry-content figure {
  margin: 0 0 28px;
}

.article-prose figure,
.article-prose .wp-block-image {
  margin: 32px 0;
}

.article-prose figcaption,
.wp-caption-text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.article-prose iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef1f3;
}

.article-prose blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  color: var(--ink);
  background: #f8fafc;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

.article-prose blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

.article-prose .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.article-prose details {
  margin: 18px 0;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.article-prose summary {
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.article-prose summary:hover {
  background: #eef1f3;
}

.article-prose details[open] summary {
  border-bottom: 1px solid var(--line);
}

.article-prose details > *:not(summary) {
  margin-right: 18px;
  margin-left: 18px;
}

.article-prose details > *:last-child {
  margin-bottom: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

.article-prose > p:first-of-type {
  font-size: 20px;
  line-height: 1.68;
}

.entry-content > p:first-child:empty {
  display: none;
}

.entry-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a.service-resource-link,
.entry-content a.service-resource-link:visited {
  color: var(--ink);
  text-decoration: none;
}

.entry-content a.service-resource-link:hover {
  color: #fff;
  text-decoration: none;
}

.entry-content .service-resource-link span,
.entry-content .service-resource-link strong,
.entry-content .service-resource-link p,
.entry-content .service-resource-link small {
  text-decoration: none;
}

.entry-content .service-resource-link strong {
  color: inherit;
}

.entry-content .service-resource-link p {
  color: var(--muted);
}

.entry-content .service-resource-link small {
  color: var(--muted);
}

.entry-content .service-resource-link:hover p {
  color: rgba(255, 255, 255, 0.76);
}

.entry-content .service-resource-link:hover small {
  color: rgba(255, 255, 255, 0.76);
}

.article-prose .article-section-block .service-resource-links {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.article-prose .article-section-block .service-resource-link {
  min-height: 0;
  padding: 20px;
}

.article-prose .article-section-block .service-resource-link strong {
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.08;
}

.article-prose .article-section-block .service-resource-link p {
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.article-prose .article-hub-links {
  max-width: 780px;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
  border: 0;
  overflow: visible;
}

.article-prose .article-hub-links .service-resource-link {
  min-width: 0;
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.article-prose .article-hub-links .service-resource-link strong {
  font-size: 24px;
  line-height: 1.08;
}

.article-prose .article-hub-links .service-resource-link p {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 14px;
  line-height: 1.48;
}

.article-prose .article-hub-links .service-resource-link small {
  display: block;
  margin: auto 0 0;
  padding-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.48;
}

.content-wrap-article-hub .article-section-block {
  max-width: 860px;
}

.content-wrap-article-hub .article-prose .article-hub-links {
  max-width: none;
}

@media (max-width: 1100px) and (min-width: 981px) {
  .content-wrap-article-hub .content-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .content-wrap-article-hub .article-entry {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
  }

  .content-wrap-article-hub .site-sidebar {
    display: none;
  }

  .content-wrap-article-hub .article-opener {
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
    padding: 30px;
  }

  .content-wrap-article-hub .article-opener h2 {
    overflow-wrap: anywhere;
  }

  .content-wrap-article-hub .article-prose .article-hub-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.article-prose > a[href*="max.ru"],
.article-prose > a[href*="/kontakty/"],
.article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="max.ru"],
.article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="/kontakty/"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 14px 10px 0 0;
  padding: 0 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  background: #fff;
}

.article-prose > a[href*="max.ru"],
.article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="max.ru"] {
  color: #101923;
  border-color: var(--gold);
  background: var(--gold);
}

.article-prose > a[href*="max.ru"]:hover,
.article-prose > a[href*="/kontakty/"]:hover,
.article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="max.ru"]:hover,
.article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="/kontakty/"]:hover {
  color: #fff;
  border-color: #101923;
  background: #101923;
}

.article-workbench {
  padding: 0 38px 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.article-workbench div {
  min-height: 118px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}

.article-workbench span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-workbench strong {
  margin-top: 18px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.28;
}

.article-prose {
  counter-reset: article-section;
  background:
    linear-gradient(90deg, rgba(216, 222, 230, 0.28) 0 1px, transparent 1px) left top / 56px 56px,
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.article-prose > *:first-child {
  margin-top: 0;
}

.article-section-block {
  counter-increment: article-section;
  position: relative;
  max-width: 860px;
  margin: 28px 0;
  padding: 28px 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(17, 24, 32, 0.055);
}

.article-section-block::before {
  content: counter(article-section, decimal-leading-zero);
  position: absolute;
  top: 28px;
  right: 30px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.article-section-block h2:first-child,
.article-section-block h3:first-child {
  margin-top: 0;
}

.article-section-block h2:first-child {
  padding-right: 112px;
}

.article-prose h2 {
  max-width: 720px;
  padding-top: 0;
  font-size: clamp(30px, 2.45vw, 38px);
  line-height: 1.08;
  text-wrap: balance;
}

.article-prose h3 {
  max-width: 720px;
  margin: 28px 0 12px;
  padding: 13px 16px;
  color: var(--ink);
  background: #f3f6f9;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 23px;
  line-height: 1.12;
}

.article-prose p {
  max-width: 720px;
  margin: 16px 0 0;
}

.article-section-block > p:first-of-type,
.article-prose > p:first-of-type {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.68;
}

.article-prose p:has(> strong:first-child) {
  padding: 18px 20px;
  color: var(--ink);
  background: #f8fafc;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.article-prose p:has(> strong:first-child) strong:first-child {
  color: var(--ink);
}

.article-prose ul,
.article-prose ol {
  max-width: 780px;
  margin: 24px 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-prose li {
  position: relative;
  margin: 0;
  padding: 13px 18px 13px 46px;
  border-top: 1px solid var(--line);
}

.article-prose li:first-child {
  border-top: 0;
}

.article-prose ul li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 24px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.article-prose ol {
  counter-reset: article-list;
}

.article-prose ol li {
  counter-increment: article-list;
}

.article-prose ol li::before {
  content: counter(article-list, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.article-prose img {
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(17, 24, 32, 0.1);
}

.article-prose blockquote {
  max-width: 820px;
  color: #fff;
  background: linear-gradient(135deg, #101923 0%, #172433 100%);
  border-left: 0;
  box-shadow: 0 18px 46px rgba(16, 25, 35, 0.18);
}

.article-prose blockquote p {
  color: rgba(255, 255, 255, 0.88);
}

.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;
}

.table-scroll,
.article-prose details {
  max-width: 860px;
  box-shadow: 0 14px 36px rgba(17, 24, 32, 0.07);
}

.article-data-grid {
  max-width: 860px;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-data-card {
  min-height: 126px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(17, 24, 32, 0.06);
}

.article-data-card strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.article-data-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.article-data-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.article-data-card dt {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-data-card dd {
  margin: -5px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.legacy-route-bridge {
  margin: 48px 0 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--surface);
}

.legacy-route-bridge h2,
.legacy-route-bridge h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.legacy-route-bridge p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.legacy-route-bridge ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-route-bridge li {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.legacy-route-bridge a {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.legacy-route-bridge li:hover,
.legacy-route-bridge li:focus-within {
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.legacy-route-bridge a:hover,
.legacy-route-bridge a:focus-visible,
.legacy-route-bridge li:hover a,
.legacy-route-bridge li:focus-within a {
  color: #fff;
}

.article-case-grid {
  max-width: 860px;
  margin: 30px 0;
  display: grid;
  gap: 14px;
}

.article-case-card {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(16, 25, 35, 0.04), rgba(255, 255, 255, 0) 42%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(17, 24, 32, 0.07);
}

.article-case-card header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.article-case-card h3 {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 25px;
}

.article-case-card .case-result {
  display: inline-flex;
  padding: 8px 10px;
  color: #fff;
  background: #101923;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.article-case-card dl {
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.article-case-card dt {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-case-card dd {
  margin: 5px 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.article-case-proof {
  max-width: 860px;
  margin: 30px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.08);
}

.article-case-proof-stack {
  margin: 28px 0 34px;
  display: grid;
  gap: 18px;
}

.article-case-proof-stack .article-case-proof {
  margin: 0;
}

.case-proof-copy {
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(169, 129, 69, 0.08), rgba(255, 255, 255, 0) 45%),
    #fff;
}

.case-proof-copy > span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-proof-copy h3 {
  margin: 14px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.02;
}

.case-proof-copy p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.58;
}

.case-proof-copy dl {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.case-proof-copy dt {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-proof-copy dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.28;
}

.case-proof-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.case-proof-actions .case-link {
  align-self: center;
}

.case-proof-document {
  position: relative;
  min-height: 330px;
  padding: 20px 18px 62px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, #eef2f6 0%, #d8dee6 100%);
  color: #fff;
  text-decoration: none;
}

.case-proof-document img {
  width: min(100%, 300px);
  height: auto;
  max-height: 380px;
  margin: 0;
  object-fit: contain;
  object-position: top center;
  filter: grayscale(0.25) contrast(1.03);
  opacity: 0.96;
  border: 1px solid rgba(17, 24, 32, 0.18);
  border-radius: 2px;
  box-shadow: 0 18px 34px rgba(17, 24, 32, 0.18);
  transform: rotate(-1deg);
  transition: transform 0.22s ease, opacity 0.22s ease, filter 0.22s ease;
}

.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::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(16, 25, 35, 0.18));
}

.case-proof-document::before {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 10px 12px;
  display: inline-flex;
  justify-content: center;
  color: #fff;
  background: rgba(16, 25, 35, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.entry-content a.case-proof-document,
.entry-content a.case-proof-document:visited,
.entry-content a.case-proof-document:hover {
  color: #fff;
  text-decoration: none;
}

.case-proof-document:hover img {
  transform: rotate(0deg) scale(1.025);
  opacity: 1;
  filter: grayscale(0) contrast(1.05);
}

.case-flow {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-flow div {
  padding: 16px;
  background: #f8fafc;
}

.case-flow span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-flow strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.fns-document-matrix {
  max-width: 860px;
  margin: 34px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(17, 24, 32, 0.08);
}

.document-matrix-head {
  padding: 26px;
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 24px;
  color: #fff;
  background: #101923;
}

.document-matrix-head span,
.document-card span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-matrix-head h3 {
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 33px;
  line-height: 1.02;
}

.document-matrix-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.55;
}

.document-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.document-card {
  min-height: 180px;
  padding: 20px;
  background: #fff;
}

.document-card strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.18;
}

.document-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.article-audit-panel {
  max-width: 860px;
  margin: 34px 0;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(202, 159, 99, 0.2), rgba(255, 255, 255, 0) 38%),
    #101923;
  border-radius: var(--radius);
  box-shadow: 0 22px 50px rgba(16, 25, 35, 0.2);
}

.article-audit-panel h3 {
  margin: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 30px;
}

.article-audit-panel > p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.audit-question {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.audit-question span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.audit-question strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.audit-options {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-options em {
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-style: normal;
  font-size: 13px;
  font-weight: 750;
}

.article-cta-note {
  max-width: 860px;
  margin: 30px 0;
  padding: 24px;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}

.article-cta-note p {
  margin-top: 10px;
}

.article-cta-note .button-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.risk-quiz {
  max-width: 860px;
  margin: 36px 0;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(202, 159, 99, 0.2), transparent 34%),
    linear-gradient(135deg, #101923 0%, #172635 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(16, 25, 35, 0.24);
}

.risk-quiz header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
}

.risk-quiz .quiz-kicker {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.risk-quiz h3 {
  margin: 8px 0 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 32px;
  line-height: 1.05;
}

.risk-quiz header p {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.quiz-progress {
  min-width: 170px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.quiz-progress span {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.quiz-progress-track {
  height: 7px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.quiz-progress-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-2);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.quiz-question {
  margin-top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.quiz-question[hidden] {
  display: none;
}

.quiz-question.is-active {
  animation: quizStepIn 0.24s ease both;
}

@keyframes quizStepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-question span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-question strong {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
}

.quiz-options {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quiz-options button {
  min-height: 62px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.quiz-options button:hover,
.quiz-options button:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(202, 159, 99, 0.72);
  outline: none;
  transform: translateY(-1px);
}

.quiz-options button.is-selected {
  color: #101923;
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.quiz-options button.is-selected::after {
  content: "Выбрано";
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-result {
  margin-top: 22px;
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
}

.quiz-result[hidden] {
  display: none;
}

.quiz-result span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quiz-result strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.08;
}

.quiz-result p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.quiz-result[data-risk="high"] {
  border-left: 4px solid #8c2f26;
}

.quiz-result[data-risk="medium"] {
  border-left: 4px solid var(--gold);
}

.quiz-result[data-risk="low"] {
  border-left: 4px solid #4c7c63;
}

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

.quiz-result-actions .button,
.quiz-result-actions .button:visited {
  color: #fff;
  background: #101923;
  border-color: #101923;
  text-decoration: none;
}

.quiz-result-actions .button:hover {
  color: #fff;
  background: #1a2a3a;
  border-color: #1a2a3a;
}

.quiz-result-actions button {
  padding: 12px 16px;
  color: var(--ink);
  background: #f3f6f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.fns-response-room {
  max-width: 860px;
  margin: 38px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 56px rgba(17, 24, 32, 0.09);
}

.response-room-head {
  padding: 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  color: #fff;
  background: linear-gradient(135deg, #101923 0%, #182838 100%);
}

.response-room-head span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.response-room-head h3 {
  margin: 10px 0 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 34px;
  line-height: 1.02;
}

.response-room-head p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.response-clock {
  align-self: stretch;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.response-clock strong {
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.response-room-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.response-room-grid article {
  min-height: 190px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.response-room-grid span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.response-room-grid strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.response-room-grid p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.response-route {
  padding: 0 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.route-list {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.route-list h4,
.response-action h4 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.route-list ol {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.route-list li {
  counter-increment: route;
  position: relative;
  padding: 12px 0 12px 42px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.route-list li:first-child {
  border-top: 0;
}

.route-list li::before {
  content: counter(route, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.response-action {
  padding: 20px;
  color: #fff;
  background: #101923;
  border-radius: var(--radius);
}

.response-action h4 {
  color: #fff;
}

.response-action p {
  color: rgba(255, 255, 255, 0.74);
}

.response-action .button-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.response-action .button,
.response-action .button:visited {
  border-width: 1px;
  text-decoration: none;
}

.response-action .button-light,
.response-action .button-light:visited {
  color: #101923;
  background: #fff;
  border-color: #fff;
}

.response-action .button-ghost-light,
.response-action .button-ghost-light:visited {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.article-risk-chip {
  display: inline-flex;
  width: fit-content;
  margin: 10px 8px 0 0;
  padding: 10px 13px;
  align-items: center;
  color: var(--ink);
  background: #f3f6f9;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.post-list {
  display: grid;
  gap: 16px;
}

.archive-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.archive-card > a {
  display: block;
}

.archive-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.82) contrast(1.05);
}

.archive-card h2 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.14;
}

.pagination {
  margin-top: 34px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
}

.page-numbers.current {
  background: var(--ink);
  color: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-social-cta {
  margin-top: 48px;
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 35, 0.95), rgba(16, 25, 35, 0.9));
  border-radius: var(--radius);
}

.article-social-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
}

.article-social-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 921px) {
  .article-entry > .expert-card-inline {
    display: none;
  }
}

.article-authority-panel {
  margin-top: 54px;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 35, 0.96), rgba(19, 33, 45, 0.95)),
    linear-gradient(90deg, rgba(202, 159, 99, 0.14), transparent 52%);
  border-radius: var(--radius);
}

.authority-copy {
  display: grid;
  grid-template-columns: minmax(230px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.authority-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.04;
}

.authority-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.authority-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.authority-grid article {
  min-height: 190px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.authority-grid strong {
  display: block;
  margin-top: 18px;
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.authority-grid p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-matter-pack {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 25, 35, 0.96), rgba(22, 37, 51, 0.96)),
    var(--dark);
  border-color: rgba(169, 129, 69, 0.3);
}

.sidebar-matter-pack h3 {
  color: #fff;
}

.sidebar-matter-pack ul {
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sidebar-matter-pack li {
  padding: 10px 0 10px 22px;
  position: relative;
  color: rgba(255, 255, 255, 0.76);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.sidebar-matter-pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--gold-2);
  border-radius: 999px;
}

.sidebar-matter-pack .button {
  width: 100%;
}

.sidebar-article-nav > span,
.sidebar-consult > span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-article-nav nav {
  display: grid;
  gap: 5px;
}

.sidebar-article-nav a {
  display: block;
  padding: 8px 0 8px 13px;
  color: var(--ink-soft);
  border-left: 2px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.sidebar-article-nav a:hover,
.sidebar-article-nav a.is-active {
  color: var(--ink);
  border-left-color: var(--gold);
}

.sidebar-article-nav.is-empty {
  display: none;
}

.sidebar-article-hub {
  margin-bottom: 0;
}

.sidebar-hub-expert {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.sidebar-hub-expert > span {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sidebar-contact-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.sidebar-contact-card > div {
  min-width: 0;
}

.sidebar-contact-card img {
  width: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 18%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sidebar-contact-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.sidebar-contact-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.3;
}

.sidebar-contact-card small {
  display: none;
}

.sidebar-hub-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sidebar-hub-actions .button {
  width: 100%;
}

.sidebar-social-links {
  margin-top: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sidebar-social-links .social-pill {
  padding: 9px 11px;
  display: grid;
  gap: 3px;
  min-width: 0;
  background: #f8fafc;
}

.sidebar-social-links .social-pill strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
}

.sidebar-social-links .social-pill span {
  display: none;
  font-size: 11px;
  line-height: 1.25;
}

@media (min-width: 981px) {
  .sidebar-article-nav {
    position: sticky;
    top: 88px;
    z-index: 3;
  }
}

.sidebar-consult {
  background:
    linear-gradient(135deg, rgba(169, 129, 69, 0.1), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.sidebar-consult p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.sidebar-consult .button {
  width: 100%;
}

.follow-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(300px, calc(100vw - 44px));
  padding: 16px;
  color: #fff;
  background: rgba(13, 17, 23, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.follow-dock.is-hidden {
  display: none;
}

.follow-dock.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.follow-dock.is-suppressed,
.follow-dock.is-visible.is-suppressed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.follow-dock-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.follow-dock span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.follow-dock strong {
  display: block;
  margin: 8px 24px 14px 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.08;
}

.follow-dock div {
  display: flex;
  gap: 8px;
}

.follow-dock a {
  flex: 1;
  padding: 9px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.follow-dock a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.single .follow-dock,
.page .follow-dock,
.archive .follow-dock,
.category .follow-dock,
.search .follow-dock {
  display: none;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .primary-menu {
    gap: 14px;
  }

  .header-actions {
    gap: 10px;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mega-menu-column p {
    min-height: 0;
  }

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

@media (max-width: 980px) {
  html {
    scroll-padding-top: 124px;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    max-height: calc(100vh - 88px);
    padding: 22px;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(17, 24, 32, 0.1);
    border-radius: var(--radius);
    box-shadow: 0 28px 80px rgba(17, 24, 32, 0.18);
  }

  .menu-open .primary-nav {
    display: block;
  }

  .primary-menu {
    display: grid;
    gap: 0;
    justify-content: stretch;
  }

  .menu-item {
    display: block;
  }

  .menu-item-services {
    display: grid;
    grid-template-columns: 1fr 38px;
    align-items: center;
    gap: 0;
  }

  .primary-menu > .menu-item > a,
  .services-link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
    font-size: 17px;
    font-weight: 780;
  }

  .services-menu-toggle {
    width: 38px;
    height: 38px;
    justify-self: end;
    border: 1px solid rgba(17, 24, 32, 0.1);
    background: #fff;
  }

  .mega-menu,
  .menu-item-services.is-hover-open .mega-menu,
  .menu-item-services:focus-within .mega-menu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    margin: 8px 0 12px;
    padding: 16px;
    box-shadow: none;
    background: #fff;
    border-color: rgba(17, 24, 32, 0.1);
  }

  .menu-item-services.is-open .mega-menu {
    display: block;
  }

  .mega-menu-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 10px;
  }

  .mega-menu-head strong {
    font-size: 24px;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mega-menu-column ul {
    gap: 0;
  }

  .mega-menu-column a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(17, 24, 32, 0.08);
    font-size: 14px;
  }

  .mobile-nav-cta {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 24, 32, 0.12);
  }

  .primary-nav > .mobile-nav-cta:first-child {
    margin: 0 0 14px;
    padding: 0 0 16px;
  }

  .primary-nav > .mobile-nav-cta:first-child .button {
    width: 100%;
  }

  .primary-menu + .mobile-nav-cta a:first-child {
    padding: 0;
    border-bottom: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 850;
  }

  .mobile-nav-cta .button {
    width: 100%;
    border-bottom: 0;
  }

  .header-actions .phone-link {
    display: none;
  }

  .breadcrumbs-inner {
    min-height: 38px;
    padding-top: 7px;
    padding-bottom: 7px;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 4px;
    white-space: normal;
    line-height: 1.35;
  }

  .breadcrumb-separator {
    display: none;
  }

  .footer-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid,
  .section-header,
  .split-band,
  .knowledge-layout,
  .content-grid,
  .contact-panel,
  .article-hero-grid,
  .article-opener,
  .article-practical-start {
    grid-template-columns: 1fr;
  }

  .sidebar-priority {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .sidebar-article-nav {
    display: none;
  }

  .brief {
    position: static;
  }

  .practice-grid,
  .reviews,
  .article-grid,
  .insight-format-grid,
  .capability-grid,
  .situation-grid,
  .service-situation-grid,
  .service-link-grid,
  .industry-grid,
  .team-grid,
  .proof-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-layout,
  .process-layout,
  .contact-grid,
  .service-hero .container,
  .service-landing-hero-grid,
  .first-step-panel,
  .corporate-map-layout,
  .service-intake,
  .service-two-column,
  .service-team-layout,
  .service-price-panel,
  .cta-panel,
  .service-intent-strip,
  .enterprise-decision-pack,
  .service-cluster-panel,
  .service-semantics-layout,
  .case-hero-grid,
  .case-dossier,
  .signal-desk,
  .signal-console,
  .archive-follow {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 52px 1fr;
  }

  .page-template-page-kontakty .process-list li {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .service-hero .eyebrow,
  .service-hero .page-title,
  .service-hero > .container > p,
  .service-hero-panel {
    grid-column: auto;
    grid-row: auto;
  }

  .service-intake ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-format-grid,
  .service-semantics-grid,
  .first-step-grid,
  .product-policy-grid,
  .practice-orientation-grid,
  .enterprise-decision-grid,
  .service-resource-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .first-step-actions {
    grid-column: auto;
  }

  .article-role-bridge {
    grid-template-columns: 1fr;
  }

  .corporate-control-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .process-list p {
    grid-column: 2;
  }

  .service-case-rail {
    grid-auto-columns: minmax(320px, calc((100% - 18px) / 2));
  }

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

  .article-brief-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .expert-card-team {
    min-height: 0;
  }

  .expert-card-team img {
    height: 250px;
  }

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

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

  .signal-tabs {
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 48px;
    background: #0b121a;
  }

  .hero::before {
    top: 72px;
    right: -120px;
    width: 92vw;
    height: 390px;
    opacity: 0.18;
  }

  .hero::after {
    background:
      radial-gradient(circle at 80% 18%, rgba(201, 165, 108, 0.14), transparent 25%),
      linear-gradient(90deg, rgba(11, 18, 26, 0.99) 0%, rgba(11, 18, 26, 0.93) 100%);
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.05;
  }

  .page-title,
  .entry-title,
  .section-header h2 {
    font-size: clamp(28px, 8.4vw, 36px);
    line-height: 1.06;
  }

  .page-hero p,
  .eyebrow,
  .section-header p,
  .insight-format-grid p,
  .service-format-grid p,
  .service-faq-list p,
  .service-price-panel li {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-hero .page-title,
  .page-hero p,
  .section-header h2,
  .section-header p {
    max-width: min(100%, 340px);
  }

  .insight-format-grid a,
  .service-format-grid article,
  .service-faq-list article,
  .service-price-panel,
  .service-intent-strip,
  .service-intent-strip li,
  .enterprise-decision-grid article,
  .enterprise-decision-pack,
  .enterprise-decision-pack li,
  .service-process-list li,
  .faq-list details,
  .cta-panel {
    max-width: 100%;
    box-sizing: border-box;
  }

  .insight-format-grid strong,
  .service-format-grid h3,
  .service-faq-list h3 {
    max-width: 300px;
    font-size: 23px;
    line-height: 1.06;
  }

  .service-format-grid small {
    max-width: 300px;
    overflow-wrap: anywhere;
  }

  .faq-list summary {
    padding: 18px 20px;
    font-size: 23px;
  }

  .faq-list p {
    padding: 0 20px 20px;
  }

  .enterprise-decision-grid h3 {
    font-size: 25px;
  }

  .service-process-list li {
    padding: 64px 18px 18px;
  }

  .service-process-list li::before {
    top: 18px;
    left: 18px;
  }

  .first-step-band {
    padding: 22px 0 30px;
  }

  .first-step-panel {
    padding: 22px;
  }

  .first-step-head h2 {
    font-size: 31px;
  }

  .first-step-grid,
  .first-step-actions {
    grid-template-columns: 1fr;
  }

  .first-step-actions .button {
    width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    font-size: 25px;
  }

  .header-actions .button {
    display: none;
  }

  .footer-lead h2 {
    font-size: 31px;
  }

  .footer-lead .button {
    width: 100%;
  }

  .article-feature h3 {
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  .reading-progress {
    top: 0;
  }

  .practice-grid,
  .reviews,
  .article-grid,
  .insight-format-grid,
  .capability-grid,
  .situation-grid,
  .service-situation-grid,
  .service-link-grid,
  .industry-grid,
  .service-intake ol,
  .team-grid,
  .proof-matrix,
  .article-utility-inner,
  .article-brief-inner,
  .evidence-grid,
  .dossier-steps,
  .related-grid,
  .ticker-inner,
  .footer-grid,
  .signal-tabs {
    grid-template-columns: 1fr;
  }

  .case-row,
  .archive-card {
    grid-template-columns: 1fr;
  }

  .case-link {
    justify-self: start;
  }

  .entry-content {
    padding: 24px;
  }

  .article-entry {
    padding: 0;
  }

  .article-prose,
  .article-opener,
  .article-practical-start,
  .article-toc,
  .article-matter-desk {
    padding-left: 24px;
    padding-right: 24px;
  }

  .article-matter-desk,
  .matter-desk-head,
  .matter-desk-grid,
  .document-matrix-head,
  .document-matrix-grid,
  .article-case-proof,
  .case-proof-copy dl,
  .case-flow,
  .authority-copy,
  .authority-grid {
    grid-template-columns: 1fr;
  }

  .article-matter-desk {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .matter-desk-head strong,
  .document-matrix-head h3 {
    font-size: 28px;
  }

  .matter-desk-grid article,
  .document-card,
  .authority-grid article {
    min-height: 0;
  }

  .expert-card-inline {
    margin: 0 24px 20px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .expert-card-inline img {
    width: 92px;
  }

  .article-entry > .expert-card-inline strong {
    font-size: 20px;
    line-height: 1.14;
    overflow-wrap: normal;
  }

  .article-entry > .expert-card-inline p {
    font-size: 13px;
    line-height: 1.3;
  }

  .article-entry > .expert-card-inline small {
    display: none;
  }

  .expert-card-team {
    min-height: 0;
  }

  .expert-card-team img {
    height: 250px;
  }

  .article-hero {
    padding: 46px 0 34px;
  }

  .article-hero .entry-title,
  .article-hero .page-title {
    font-size: 38px;
    line-height: 1.06;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: wrap;
  }

  .article-title-long .entry-title {
    font-size: 24px;
    line-height: 1.07;
  }

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

  .article-hero-copy p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .article-hero-copy {
    min-width: 0;
    min-height: 320px;
  }

  .article-hero-meta {
    max-width: 100%;
  }

  .article-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .article-hero-actions .button {
    width: 100%;
  }

  .article-hero-meta span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

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

  .dossier-steps {
    grid-template-columns: 1fr;
  }

  .signal-copy,
  .signal-panel {
    padding: 24px;
  }

  .signal-console {
    min-height: 0;
  }

  .signal-panel h3 {
    margin-top: 44px;
  }

  .follow-dock {
    display: none;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .page-template-page-kontakty .process-list li {
    grid-template-columns: 1fr;
  }

  .process-list p {
    grid-column: auto;
  }

  .service-situation-grid,
  .service-link-grid,
  .service-team-grid,
  .service-format-grid,
  .service-semantics-grid,
  .product-policy-grid,
  .practice-orientation-grid,
  .enterprise-decision-grid,
  .service-resource-links,
  .article-role-links,
  .corporate-control-nodes,
  .article-resource-routes .service-resource-links,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .article-role-bridge {
    padding: 26px 22px;
  }

  .article-source-migration-bridge {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }

  .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;
  }

  .article-role-copy h2 {
    font-size: 31px;
  }

  .article-role-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .article-role-links a {
    min-height: 0;
    padding: 18px;
  }

  .corporate-control-map {
    padding: 16px;
  }

  .corporate-control-core {
    min-height: 210px;
  }

  .corporate-control-nodes article {
    min-height: 0;
  }

  .service-format-grid article,
  .service-semantics-grid a,
  .product-policy-grid article,
  .practice-orientation-card,
  .service-resource-link {
    min-height: 0;
    padding: 20px;
  }

  .product-policy-panel,
  .practice-orientation-panel {
    padding: 24px 22px;
  }

  .product-policy-actions .button {
    width: 100%;
    white-space: normal;
  }

  .article-prose .article-hub-links {
    grid-template-columns: 1fr;
  }

  .article-prose .article-hub-links .service-resource-link {
    min-height: 0;
  }

  .article-prose > a[href*="max.ru"],
  .article-prose > a[href*="/kontakty/"],
  .article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="max.ru"],
  .article-prose p:has(> a[href*="max.ru"]:first-child) > a[href*="/kontakty/"] {
    width: 100%;
    margin-right: 0;
  }

  .service-price-panel {
    padding: 22px;
  }

  .service-intent-strip {
    padding: 22px;
  }

  .enterprise-decision-pack {
    padding: 22px;
  }

  .cta-panel {
    padding: 24px 22px;
  }

  .cta-panel .button {
    width: 100%;
    white-space: normal;
  }

  .service-team-copy {
    min-height: 0;
    padding: 24px;
  }

  .service-team-card img {
    height: 255px;
  }

  .service-case-rail {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .contact-card-main {
    min-height: 420px;
    padding: 28px;
    background:
      linear-gradient(180deg, rgba(16, 25, 35, 0.96) 0%, rgba(16, 25, 35, 0.88) 58%, rgba(16, 25, 35, 0.72) 100%),
      url("/wp-content/themes/imperius-redesign/assets/images/team/alexandr-kurtapov-premium.jpg") right top / auto 62% no-repeat,
      #101923;
  }

  .contact-card-main h2 {
    font-size: 35px;
    line-height: 1.04;
  }

  .document-intake-form {
    padding: 18px;
  }

  .document-intake-grid,
  .document-intake-bottom {
    grid-template-columns: 1fr;
  }

  .insight-format-grid a {
    min-height: 170px;
    padding: 20px;
  }

  .capability-grid article {
    min-height: 0;
    padding: 20px;
  }

  .capability-grid h3 {
    margin-top: 18px;
    font-size: 26px;
    line-height: 1.08;
  }

  .insight-format-grid strong {
    margin-top: 18px;
    font-size: 26px;
    line-height: 1.08;
  }

  .insight-format-grid p {
    margin-top: 20px;
  }

  .page-hero {
    padding: 64px 0 48px;
  }

  .case-hero h1 {
    font-size: 42px;
    line-height: 1.05;
  }

  .case-hero {
    padding: 62px 0 42px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .article-workbench {
    padding: 0 24px 22px;
    grid-template-columns: 1fr;
  }

  .article-workbench div {
    min-height: 0;
    padding: 16px;
  }

  .article-prose {
    padding: 20px 14px 30px;
    background:
      linear-gradient(90deg, rgba(216, 222, 230, 0.36) 0 1px, transparent 1px) left top / 42px 42px,
      linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  }

  .article-section-block {
    margin: 22px 0;
    padding: 24px 20px;
  }

  .article-section-block::before {
    position: static;
    display: block;
    margin-bottom: 14px;
  }

  .article-section-block h2:first-child {
    padding-right: 0;
  }

  .article-data-grid {
    grid-template-columns: 1fr;
    margin: 22px 0;
  }

  .article-data-card {
    min-height: 0;
    padding: 18px;
  }

  .article-case-card {
    padding: 20px;
  }

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

  .article-case-card .case-result {
    width: fit-content;
  }

  .case-proof-copy {
    padding: 22px 18px;
  }

  .case-proof-copy h3 {
    font-size: 26px;
  }

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

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

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

  .article-audit-panel {
    padding: 22px 18px;
  }

  .article-audit-panel h3 {
    font-size: 25px;
  }

  .risk-quiz {
    padding: 22px 18px;
  }

  .risk-quiz header,
  .response-room-head,
  .response-route {
    grid-template-columns: 1fr;
  }

  .quiz-progress {
    min-width: 0;
  }

  .quiz-options,
  .response-room-grid {
    grid-template-columns: 1fr;
  }

  .quiz-result strong {
    font-size: 24px;
  }

  .response-room-head,
  .response-room-grid,
  .response-route {
    padding: 20px;
  }

  .response-room-head h3 {
    font-size: 28px;
  }

  .article-authority-panel {
    margin-top: 36px;
    padding: 24px 20px;
  }

  .authority-copy {
    align-items: start;
  }

  .response-room-grid article {
    min-height: 0;
  }

  .audit-options {
    flex-direction: column;
  }

  .audit-options em {
    width: 100%;
  }

  .article-prose h2 {
    font-size: 30px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .article-practical-copy h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .article-practical-copy p:not(.eyebrow) {
    font-size: 17px;
  }

  .article-prose h3 {
    margin-top: 24px;
    padding: 13px 14px;
    font-size: 23px;
  }

  .article-section-block > p:first-of-type,
  .article-prose > p:first-of-type {
    font-size: 18px;
  }

  .article-prose ul,
  .article-prose ol {
    margin: 20px 0;
  }

  .article-prose li {
    padding: 13px 14px 13px 42px;
  }

  .article-prose ul li::before {
    left: 17px;
  }

  .article-prose ol li::before {
    left: 14px;
  }

  .legacy-route-bridge {
    padding: 22px 18px;
  }

  .legacy-route-bridge ul {
    grid-template-columns: 1fr;
  }
}

.litigation-unique-layer {
  background:
    linear-gradient(90deg, rgba(188, 138, 70, 0.08) 0 1px, transparent 1px) left top / 44px 44px,
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.litigation-quick-route {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.litigation-quick-route a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid #d5dce6;
  border-radius: 6px;
  background: #fff;
  color: #162033;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.litigation-quick-route a:hover,
.litigation-quick-route a:focus-visible {
  border-color: #b78949;
  color: #8a5d25;
}

.litigation-scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin-top: 26px;
}

.litigation-scenario-tabs details {
  overflow: hidden;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.litigation-scenario-tabs details:hover,
.litigation-scenario-tabs details:focus-within,
.litigation-scenario-tabs details:target {
  border-color: #9fb5c8;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.075);
  transform: translateY(-1px);
}

.litigation-scenario-tabs details[open] {
  border-color: #6f8aa3;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
}

.litigation-scenario-tabs summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 18px 20px;
  cursor: pointer;
  color: #0f172a;
  font-weight: 800;
  list-style: none;
}

.litigation-scenario-tabs summary::-webkit-details-marker {
  display: none;
}

.litigation-scenario-tabs summary span {
  min-width: 0;
}

.litigation-scenario-tabs summary em {
  padding: 5px 8px;
  border: 1px solid #d7dde7;
  border-radius: 999px;
  color: #4d647c;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.litigation-scenario-tabs summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d7dde7;
  border-radius: 50%;
  background: #f4f7fa;
  color: #244158;
  font-size: 18px;
  line-height: 1;
}

.litigation-scenario-tabs details[open] summary::after {
  content: "−";
  border-color: #12202e;
  background: #12202e;
  color: #fff;
}

.litigation-scenario-tabs details[open] summary {
  border-bottom: 1px solid #d7dde7;
}

.litigation-scenario-tabs p,
.litigation-scenario-tabs strong {
  display: block;
  margin: 0;
  padding: 16px 20px 0;
}

.litigation-scenario-tabs p {
  color: #405065;
  line-height: 1.55;
}

.litigation-scenario-tabs strong {
  padding-bottom: 18px;
  color: #162033;
}

.litigation-document-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.litigation-document-map article {
  padding: 20px;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  background: #fff;
}

.litigation-document-map h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.litigation-document-map ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.litigation-document-map li {
  position: relative;
  padding-left: 18px;
  color: #405065;
  line-height: 1.55;
}

.litigation-document-map li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b78949;
}

.litigation-trust-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  border: 1px solid #d7dde7;
  border-radius: 8px;
  overflow: hidden;
  background: #d7dde7;
}

.litigation-trust-proof article {
  min-height: 132px;
  padding: 20px;
  background: #111a27;
  color: #fff;
}

.litigation-trust-proof span {
  display: block;
  margin-bottom: 10px;
  color: #c29452;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.litigation-trust-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.litigation-scope-layer {
  background: #fff;
}

.litigation-scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.72fr);
  gap: 14px;
  align-items: stretch;
}

.litigation-scope-main,
.litigation-scope-aside,
.litigation-scope-useful,
.litigation-scope-links {
  border: 1px solid #d7dde7;
  border-radius: 8px;
  background: #f8fafc;
}

.litigation-scope-main {
  padding: 24px;
  background: #111a27;
  color: #fff;
}

.litigation-scope-main .eyebrow {
  color: #d6aa65;
}

.litigation-scope-main h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(27px, 2.5vw, 40px);
  line-height: 1.06;
}

.litigation-scope-main p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.62;
}

.litigation-scope-aside {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  background: #f4f7fa;
}

.litigation-scope-aside strong,
.litigation-scope-useful span,
.litigation-scope-links span {
  color: #52677c;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.litigation-scope-aside p {
  margin: 0;
  color: #26364a;
  line-height: 1.58;
}

.litigation-scope-useful {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.litigation-scope-useful ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.litigation-scope-useful li {
  position: relative;
  padding-left: 18px;
  color: #26364a;
  line-height: 1.55;
}

.litigation-scope-useful li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b78949;
}

.litigation-scope-links {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 22px;
  background: #fff;
}

.litigation-scope-links a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d7dde7;
  border-radius: 6px;
  color: #162033;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.litigation-scope-links a:hover,
.litigation-scope-links a:focus-visible {
  border-color: #b78949;
  color: #805522;
}

.litigation-decision-room {
  padding: 36px 0;
  background: #eef2f6;
  color: #111827;
}

.litigation-decision-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: start;
  padding-top: 0;
  padding-bottom: 0;
}

.litigation-decision-copy {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.07);
}

.litigation-decision-copy .eyebrow {
  color: #52677c;
}

.litigation-decision-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.litigation-decision-copy p {
  margin: 0;
  color: #405065;
  line-height: 1.58;
}

.litigation-decision-output {
  display: grid;
  gap: 7px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
  color: #162033;
  font-size: 14px;
  font-weight: 750;
}

.litigation-decision-output li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #466981;
}

.litigation-decision-workbench {
  display: grid;
  gap: 12px;
}

.litigation-business-goals,
.litigation-value-estimator {
  display: grid;
  gap: 12px;
}

.litigation-business-goals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.litigation-business-goals > span {
  grid-column: 1 / -1;
}

.litigation-value-estimator {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.litigation-value-estimator > span {
  grid-column: 1 / -1;
}

.litigation-business-goals > span,
.litigation-value-estimator > span {
  color: #52677c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.litigation-business-goals article,
.litigation-value-estimator article {
  border: 1px solid #d6dee8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.045);
}

.litigation-business-goals article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
}

.litigation-business-goals strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  justify-self: start;
  padding: 8px 12px;
  border: 1px solid #b9c7d4;
  border-radius: 999px;
  color: #244158;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.litigation-business-goals h3,
.litigation-value-estimator strong,
.litigation-proof-near-cta strong {
  margin: 0;
  color: #0f172a;
}

.litigation-business-goals h3 {
  font-size: 18px;
  line-height: 1.18;
}

.litigation-business-goals p,
.litigation-value-estimator p,
.litigation-proof-near-cta p {
  margin: 0;
  color: #405065;
  line-height: 1.48;
}

.litigation-business-goals p {
  font-size: 13.5px;
}

.litigation-value-estimator article {
  padding: 15px;
}

.litigation-value-estimator em {
  display: block;
  margin-bottom: 6px;
  color: #52677c;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.litigation-value-estimator strong {
  display: block;
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.08;
}

.litigation-proof-near-cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  align-items: stretch;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.litigation-proof-near-cta > span {
  grid-column: 1 / -1;
  padding: 12px 14px;
  background: #111a27;
  color: #f0c681;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.litigation-proof-near-cta article {
  min-height: 146px;
  padding: 20px;
  background: #151f2d;
}

.litigation-proof-near-cta strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 27px;
  line-height: 1.08;
}

.litigation-proof-near-cta em {
  display: block;
  margin-bottom: 8px;
  color: #f0c681;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.litigation-proof-near-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.litigation-proof-near-cta .button {
  align-self: stretch;
  justify-content: center;
  min-width: 210px;
  min-height: 100%;
  border-radius: 0;
}

@media (max-width: 900px) {
  .litigation-scope-grid {
    grid-template-columns: 1fr;
  }

  .litigation-decision-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .litigation-decision-copy {
    position: static;
    padding: 20px;
  }

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

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

  .litigation-business-goals p {
    grid-column: auto;
  }

  .litigation-value-estimator {
    grid-template-columns: 1fr;
  }
}

.litigation-hero-route,
.migration-hero-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.litigation-hero-route a,
.migration-hero-route a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.litigation-hero-route a:hover,
.migration-hero-route a:hover {
  border-color: rgba(240, 198, 129, 0.6);
  color: #f0c681;
}

.inline-document-cta {
  padding: 18px 0;
  background: #f0f3f7;
}

.inline-document-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr) auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 20, 23, 0.08);
}

.inline-document-cta-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
}

.inline-document-cta-panel p {
  margin: 0;
  color: #405065;
  line-height: 1.65;
}

.inline-document-cta-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-document-cta-panel li {
  position: relative;
  padding-left: 18px;
  color: #2d333b;
  line-height: 1.5;
}

.inline-document-cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a98145;
}

.inline-document-cta-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
  min-width: 190px;
}

.money-decision-room {
  padding: 34px 0 0;
  background: linear-gradient(180deg, #fff 0%, #f6f7f8 100%);
}

.money-decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
  padding: 28px;
  color: var(--ink);
  background: #101923;
  border: 1px solid rgba(201, 165, 108, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(16, 25, 35, 0.18);
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] {
  padding-top: 0;
  background: linear-gradient(180deg, #f6f7f8 0%, #fff 100%);
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-panel {
  transform: translateY(-24px);
  margin-bottom: -12px;
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-panel {
  gap: 20px;
  padding: clamp(22px, 2.5vw, 30px);
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-head h2 {
  max-width: 680px;
  font-size: clamp(32px, 2.7vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-head p:not(.eyebrow) {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.66;
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-scenarios article {
  min-height: 176px;
  padding: 16px;
}

.money-decision-room[data-money-decision-room="nalogovye-spory"] .money-decision-scenarios strong {
  font-size: 17px;
  line-height: 1.24;
}

.money-decision-room[data-money-decision-room="115-fz"] .money-decision-panel {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  padding: clamp(22px, 2.6vw, 30px);
}

.money-decision-room[data-money-decision-room="115-fz"] .money-decision-head h2 {
  max-width: 620px;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.08;
  text-wrap: balance;
}

.money-decision-room[data-money-decision-room="115-fz"] .money-decision-scenarios {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.money-decision-room[data-money-decision-room="115-fz"] .money-decision-scenarios article {
  min-height: 174px;
  padding: 16px;
}

.money-decision-room[data-money-decision-room="115-fz"] .money-decision-scenarios strong {
  font-size: 17px;
  line-height: 1.24;
}

.money-decision-emergency-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.money-decision-emergency-strip span,
.money-decision-emergency-strip small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
}

.money-decision-emergency-strip span {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.money-decision-emergency-strip small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .money-decision-room[data-money-decision-room="115-fz"] .money-decision-panel,
  .money-decision-room[data-money-decision-room="115-fz"] .money-decision-scenarios {
    grid-template-columns: 1fr;
  }

  .money-decision-room[data-money-decision-room="115-fz"] .money-decision-head {
    max-width: 100%;
  }

  .money-decision-room[data-money-decision-room="115-fz"] .money-decision-scenarios article {
    min-height: 0;
  }

  .money-decision-emergency-strip {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.money-decision-head {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 8px 4px 8px 0;
  color: #fff;
}

.money-decision-head h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.03;
}

.money-decision-head p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.58;
}

.money-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.money-decision-actions .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.money-decision-actions .button-outline:hover,
.money-decision-actions .button-outline:focus-visible {
  color: #101923;
  border-color: #fff;
  background: #fff;
}

.money-decision-scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  align-self: start;
}

.money-decision-scenarios article,
.money-decision-timeline article,
.money-decision-price article,
.money-decision-proof a,
.money-decision-faq details {
  min-width: 0;
  border-radius: var(--radius);
}

.money-decision-scenarios article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 196px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.money-decision-scenarios span,
.money-decision-timeline span,
.money-decision-docs span,
.money-decision-price header span,
.money-decision-proof header span,
.money-decision-proof a span,
.money-decision-routes span {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.money-decision-scenarios strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.18;
}

.money-decision-scenarios p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.52;
}

.money-decision-interest,
.money-decision-risk-map,
.money-decision-legal-clock,
.money-decision-deliverables,
.money-decision-banks {
  grid-column: 1 / -1;
}

.money-decision-interest {
  display: grid;
  grid-template-columns: minmax(250px, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.money-decision-interest header {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.money-decision-interest header strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.05;
}

.money-decision-interest header p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.52;
}

.money-decision-interest > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.money-decision-interest article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  min-height: 196px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(201, 165, 108, 0.24);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.money-decision-interest article:hover,
.money-decision-interest article:focus-within {
  transform: translateY(-1px);
  border-color: rgba(201, 165, 108, 0.58);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.money-decision-interest article strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.16;
}

.money-decision-interest article p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.money-decision-interest article small {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  color: #6f4d25;
  background: rgba(201, 165, 108, 0.13);
  border: 1px solid rgba(201, 165, 108, 0.2);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.money-decision-risk-map {
  display: grid;
  grid-template-columns: minmax(230px, 0.44fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 6px;
}

.money-decision-risk-map header {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.money-decision-interest header span,
.money-decision-interest article span,
.money-decision-risk-map header span,
.money-decision-legal-clock header span,
.money-decision-deliverables span,
.money-decision-banks span {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.money-decision-risk-map header strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
}

.money-decision-risk-map > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.money-decision-risk-map article {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 118px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.money-decision-risk-map article strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.18;
}

.money-decision-risk-map article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.48;
}

.money-decision-timeline,
.money-decision-docs,
.money-decision-grid,
.money-decision-faq,
.money-decision-routes {
  grid-column: 1 / -1;
}

.money-decision-legal-clock {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(0, 0.72fr));
  gap: 10px;
}

.money-decision-legal-clock header,
.money-decision-legal-clock article {
  padding: 18px;
  background: #f7f3eb;
  border: 1px solid rgba(201, 165, 108, 0.25);
  border-radius: var(--radius);
}

.money-decision-legal-clock header {
  display: grid;
  align-content: center;
  gap: 8px;
}

.money-decision-legal-clock header strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.05;
}

.money-decision-legal-clock article {
  display: grid;
  align-content: start;
  gap: 7px;
}

.money-decision-legal-clock article strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
}

.money-decision-legal-clock article p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.48;
}

.money-decision-timeline {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  gap: 12px;
  padding-top: 6px;
}

.money-decision-timeline header,
.money-decision-timeline article,
.money-decision-price,
.money-decision-proof {
  background: #fff;
  border: 1px solid rgba(201, 165, 108, 0.2);
}

.money-decision-timeline header {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius);
}

.money-decision-timeline header strong,
.money-decision-price header strong,
.money-decision-proof header strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
}

.money-decision-timeline > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.money-decision-timeline article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 178px;
  padding: 18px;
}

.money-decision-timeline article strong,
.money-decision-price article strong,
.money-decision-proof a strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.18;
}

.money-decision-timeline p,
.money-decision-price p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.money-decision-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.money-decision-docs small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.money-decision-deliverables {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.money-decision-deliverables > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.money-decision-deliverables small,
.money-decision-banks small {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 780;
}

.money-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 12px;
}

.money-decision-price,
.money-decision-proof {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
}

.money-decision-price > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.money-decision-price article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 138px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.money-decision-proof > div {
  display: grid;
  gap: 8px;
}

.money-decision-proof a {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.money-decision-proof a:hover,
.money-decision-proof a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(169, 129, 69, 0.58);
  box-shadow: 0 14px 32px rgba(16, 25, 35, 0.1);
}

.money-decision-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.money-decision-faq details {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.money-decision-faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 850;
  line-height: 1.25;
}

.money-decision-faq p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.52;
}

.money-decision-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.money-decision-routes a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.money-decision-routes a:hover,
.money-decision-routes a:focus-visible {
  border-color: rgba(201, 165, 108, 0.55);
}

.money-decision-banks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 2px;
}

@media (max-width: 1100px) {
  .money-decision-panel {
    grid-template-columns: 1fr;
  }

  .money-decision-interest,
  .money-decision-risk-map,
  .money-decision-timeline {
    grid-template-columns: 1fr;
  }

  .money-decision-interest > div {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .money-decision-risk-map > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .money-decision-risk-map header strong {
    overflow-wrap: break-word;
  }
}

.priority-route-selector {
  padding: 28px 0 0;
  background: #fff;
}

.priority-route-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fafc 0%, #fff 72%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(16, 25, 35, 0.07);
}

.priority-route-copy h2 {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

.priority-route-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.62;
}

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

.priority-route-grid {
  display: grid;
  gap: 10px;
}

.priority-route-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.priority-route-card[open],
.priority-route-card:hover,
.priority-route-card:focus-within {
  border-color: rgba(174, 127, 62, 0.5);
  box-shadow: 0 16px 34px rgba(16, 25, 35, 0.09);
  transform: translateY(-1px);
}

.priority-route-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.priority-route-card summary::-webkit-details-marker {
  display: none;
}

.priority-route-card summary::after {
  content: "+";
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
}

.priority-route-card[open] summary::after {
  content: "-";
}

.priority-route-card span,
.priority-route-docs span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-route-card strong {
  max-width: 620px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.priority-route-card p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.priority-route-docs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.priority-route-docs small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}

.priority-route-regional {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  background: #101923;
  color: #fff;
  border: 1px solid rgba(201, 165, 108, 0.24);
  border-radius: var(--radius);
}

.priority-route-regional strong {
  display: block;
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.08;
}

.priority-route-regional ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.priority-route-regional li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.priority-route-regional li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
}

.priority-route-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding-top: 2px;
}

.priority-route-result header,
.priority-route-result article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.priority-route-result header {
  display: grid;
  align-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #fff 0%, #f4f7fa 100%);
}

.priority-route-result header span,
.priority-route-result article span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-route-result header strong {
  display: block;
  max-width: 420px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.08;
}

.priority-route-result > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.priority-route-result article {
  display: grid;
  gap: 8px;
}

.priority-route-result article p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.priority-route-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: #f7f3eb;
  border: 1px solid rgba(174, 127, 62, 0.26);
  border-radius: var(--radius);
}

.priority-route-proof header {
  display: grid;
  align-content: start;
  gap: 8px;
}

.priority-route-proof header span,
.priority-route-proof-card span {
  color: #9b6b2f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.priority-route-proof header strong {
  display: block;
  max-width: 440px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(22px, 2.05vw, 32px);
  line-height: 1.08;
}

.priority-route-proof header p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.priority-route-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.priority-route-proof-card {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(174, 127, 62, 0.3);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.priority-route-proof-card:hover,
.priority-route-proof-card:focus-visible {
  border-color: rgba(174, 127, 62, 0.68);
  box-shadow: 0 16px 34px rgba(16, 25, 35, 0.1);
  transform: translateY(-1px);
}

.priority-route-proof-card strong {
  max-width: 520px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.priority-route-proof-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.priority-route-proof-card small {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 9px;
  color: #6f4d25;
  background: rgba(174, 127, 62, 0.1);
  border: 1px solid rgba(174, 127, 62, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

@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;
  }
}

@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;
  }

  .page-hero .page-hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .page-hero .page-hero-actions .button {
    flex: 1 1 154px;
    justify-content: center;
    min-height: 44px;
    white-space: normal;
  }

  .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;
  }
}

/* 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);
}

.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;
}

.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);
}

.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-layout-options,
  .case-layout-document-grid {
    grid-template-columns: 1fr;
  }

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

  .case-layout-compare {
    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;
  }

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

  .proof-system-actions .case-link {
    width: 100%;
  }
}

@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;
  }
}

@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);
}

/* Cases archive rebuild 2026-05-30: evidence library, not a registry table. */
.cases-library-page {
  padding: 0;
  background: #0b121a;
  color: #101923;
}

.cases-library-page .container {
  max-width: 1480px;
}

.cases-library-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0 clamp(42px, 6vw, 74px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(181, 138, 73, 0.18), transparent 24%),
    linear-gradient(180deg, #101923 0%, #0b121a 100%);
}

.cases-library-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(239, 228, 210, 0.12);
}

.cases-library-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
}

.cases-library-copy {
  max-width: 780px;
}

.cases-library-copy h1 {
  margin: 6px 0 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(76px, 9vw, 142px);
  line-height: 0.88;
}

.cases-library-copy > p {
  max-width: 710px;
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.52;
}

.cases-library-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cases-library-actions a {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b121a;
  font-weight: 850;
  text-decoration: none;
  background: #caa15f;
  border: 1px solid rgba(202, 161, 95, 0.72);
  border-radius: 8px;
}

.cases-library-actions a + a {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
}

.cases-library-proof-panel {
  min-width: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(230px, 0.72fr);
  gap: 22px;
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(239, 228, 210, 0.14);
  border-radius: 8px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.24);
}

.cases-library-proof-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.cases-library-proof-copy span,
.cases-index-kicker {
  display: block;
  color: #caa15f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cases-library-proof-copy strong {
  display: block;
  max-width: 310px;
  margin-top: 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 2.3vw, 36px);
  line-height: 1.02;
}

.cases-library-proof-copy p {
  margin: 14px 0 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.55;
}

.cases-library-proof-stack {
  position: relative;
  z-index: 1;
  min-height: 330px;
}

.cases-library-proof-stack img {
  position: absolute;
  width: 72%;
  max-width: 230px;
  aspect-ratio: 0.72;
  object-fit: cover;
  background: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.cases-library-proof-stack img:nth-child(1) {
  left: 0;
  top: 38px;
  transform: rotate(-5deg);
  opacity: 0.78;
}

.cases-library-proof-stack img:nth-child(2) {
  left: 42px;
  top: 0;
  z-index: 2;
  transform: rotate(2deg);
}

.cases-library-proof-stack img:nth-child(3) {
  right: 0;
  bottom: 12px;
  z-index: 1;
  transform: rotate(6deg);
  opacity: 0.88;
}

.cases-library-dashboard {
  background: #0b121a;
}

.cases-library-dashboard .cases-index-summary {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1.2fr;
  overflow: hidden;
  margin: 0 auto;
  color: #fff;
  background: #111c27;
  border: 1px solid rgba(239, 228, 210, 0.12);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.cases-library-dashboard .cases-index-summary div {
  padding: 24px clamp(20px, 3vw, 42px);
  border-left: 1px solid rgba(239, 228, 210, 0.1);
}

.cases-library-dashboard .cases-index-summary div:first-child {
  border-left: 0;
}

.cases-library-dashboard .cases-index-summary strong {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.cases-library-dashboard .cases-index-summary span {
  margin-top: 7px;
  color: rgba(226, 232, 240, 0.68);
}

.cases-library-page .cases-index-register {
  padding: clamp(52px, 7vw, 84px) 0;
  background: #e9eef2;
}

.cases-library-page .cases-index-register-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: 28px;
}

.cases-library-page .cases-index-register-head h2,
.cases-library-page .cases-index-categories-head h2 {
  margin: 8px 0 0;
  color: #101923;
  font-family: var(--serif);
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.96;
}

.cases-library-page .cases-index-register-head p,
.cases-library-page .cases-index-categories-head p {
  margin: 0;
  color: #526074;
  font-size: 16px;
  line-height: 1.62;
}

.cases-library-page .cases-index-list {
  display: grid;
  gap: 18px;
  margin-top: 0;
}

.cases-library-page .cases-index-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  gap: 0;
  min-height: 270px;
  overflow: hidden;
  background: #f9fbfc;
  border: 1px solid rgba(16, 25, 35, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.cases-library-page .cases-index-row-featured {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  min-height: 340px;
  background: #fff;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.1);
}

.cases-library-page .cases-index-row:hover {
  border-color: rgba(181, 138, 73, 0.36);
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.11);
}

.cases-library-page .cases-index-row-proof {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(8, 14, 21, 0.18), rgba(8, 14, 21, 0.58)),
    #111c27;
}

.cases-library-page .cases-index-row-proof::after {
  background: linear-gradient(180deg, rgba(8, 14, 21, 0), rgba(8, 14, 21, 0.38));
}

.cases-library-page .cases-index-row-proof img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 250px;
  min-height: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
  transform: rotate(-1.2deg);
}

.cases-library-page .cases-index-row-featured .cases-index-row-proof img {
  max-height: 318px;
}

.cases-library-page .cases-index-row:hover .cases-index-row-proof img {
  filter: grayscale(0) contrast(1.04);
  transform: rotate(0deg) translateY(-3px);
}

.cases-library-page .cases-index-proof-label {
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.cases-index-row-body {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.cases-library-page .cases-index-row-main {
  display: block;
  padding: 0;
  color: inherit;
  text-decoration: none;
}

.cases-library-page .cases-index-row-main h2 {
  max-width: 850px;
  margin: 0;
  color: #07111b;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 56px);
  line-height: 0.98;
}

.cases-library-page .cases-index-row:not(.cases-index-row-featured) .cases-index-row-main h2 {
  font-size: clamp(28px, 2.7vw, 42px);
}

.cases-library-page .cases-index-row-main p {
  max-width: 850px;
  margin: 16px 0 0;
  color: #526074;
  font-size: 16px;
  line-height: 1.55;
}

.cases-library-page .cases-index-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.cases-library-page .cases-index-row-meta strong,
.cases-library-page .cases-index-row-meta time {
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #28576a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #e8f2f4;
  border: 1px solid rgba(40, 87, 106, 0.14);
  border-radius: 999px;
}

.cases-library-page .cases-index-row-meta time {
  color: #617086;
  background: #eef3f7;
}

.cases-index-row-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.cases-index-row-facts div {
  min-width: 0;
  padding: 16px;
  background: #eef3f7;
  border-left: 1px solid rgba(16, 25, 35, 0.08);
}

.cases-index-row-facts div:first-child {
  border-left: 0;
}

.cases-index-row-facts dt {
  margin: 0 0 7px;
  color: #6a7585;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cases-index-row-facts dd {
  margin: 0;
  color: #0b121a;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}

.cases-library-page .cases-index-row-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: -2px;
}

.cases-library-page .cases-index-row-links a {
  color: #0b121a;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.cases-library-page .cases-index-categories {
  padding: clamp(52px, 7vw, 86px) 0;
  color: #fff;
  background: #101923;
  border-top: 1px solid rgba(239, 228, 210, 0.1);
}

.cases-library-page .cases-index-categories-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.62fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: end;
  margin-bottom: 26px;
}

.cases-library-page .cases-index-categories-head h2 {
  color: #fff;
}

.cases-library-page .cases-index-categories-head p {
  color: rgba(226, 232, 240, 0.68);
}

.cases-library-page .cases-index-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cases-library-page .cases-index-category-grid a {
  min-height: 168px;
  padding: 22px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(239, 228, 210, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

.cases-library-page .cases-index-category-grid a:hover,
.cases-library-page .cases-index-category-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(202, 161, 95, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.cases-library-page .cases-index-category-grid strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.06;
}

.cases-library-page .cases-index-category-grid span {
  color: rgba(226, 232, 240, 0.64);
}

.cases-library-page .cases-index-contact {
  margin: 0;
  padding: 28px 0;
  background: #0b121a;
  border-top: 1px solid rgba(239, 228, 210, 0.1);
}

.cases-index-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cases-library-page .cases-index-contact p {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
}

.cases-library-page .cases-index-contact a {
  color: #caa15f;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .cases-library-hero-grid,
  .cases-library-page .cases-index-register-head,
  .cases-library-page .cases-index-categories-head {
    grid-template-columns: 1fr;
  }

  .cases-library-proof-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(220px, 0.56fr);
  }

  .cases-library-page .cases-index-row,
  .cases-library-page .cases-index-row-featured {
    grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .cases-library-hero {
    padding: 42px 0 34px;
  }

  .cases-library-copy h1 {
    font-size: 68px;
  }

  .cases-library-actions a {
    width: 100%;
  }

  .cases-library-proof-panel,
  .cases-library-page .cases-index-row,
  .cases-library-page .cases-index-row-featured,
  .cases-library-dashboard .cases-index-summary,
  .cases-index-row-facts,
  .cases-index-contact-inner,
  .cases-library-page .cases-index-category-grid {
    grid-template-columns: 1fr;
  }

  .cases-library-proof-stack {
    width: min(100%, 320px);
    min-height: 238px;
    margin-inline: auto;
    overflow: hidden;
  }

  .cases-library-proof-stack img {
    width: 58%;
    max-width: 176px;
    box-sizing: border-box;
  }

  .cases-library-proof-stack img:nth-child(1) {
    left: 5px;
  }

  .cases-library-proof-stack img:nth-child(2) {
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
  }

  .cases-library-proof-stack img:nth-child(3) {
    right: 5px;
  }

  .cases-library-dashboard .cases-index-summary div,
  .cases-library-dashboard .cases-index-summary div:first-child {
    border-left: 0;
    border-top: 1px solid rgba(239, 228, 210, 0.1);
  }

  .cases-library-dashboard .cases-index-summary div:first-child {
    border-top: 0;
  }

  .cases-library-page .cases-index-row,
  .cases-library-page .cases-index-row-featured {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cases-library-page .cases-index-row-proof {
    min-height: 172px;
    padding: 14px;
  }

  .cases-library-page .cases-index-row-proof img,
  .cases-library-page .cases-index-row-featured .cases-index-row-proof img {
    max-width: 94%;
    max-height: 148px;
  }

  .cases-library-page .cases-index-proof-label {
    display: none;
  }

  .cases-index-row-body {
    padding: 16px;
    gap: 12px;
  }

  .cases-library-page .cases-index-row-meta {
    margin-bottom: 8px;
    gap: 6px;
  }

  .cases-library-page .cases-index-row-meta strong,
  .cases-library-page .cases-index-row-meta time {
    min-height: 24px;
    padding: 0 8px;
    font-size: 10px;
  }

  .cases-library-page .cases-index-row-main h2,
  .cases-library-page .cases-index-row:not(.cases-index-row-featured) .cases-index-row-main h2 {
    font-size: clamp(22px, 7.4vw, 31px);
    line-height: 1.02;
  }

  .cases-library-page .cases-index-row-main p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .cases-index-row-facts {
    grid-template-columns: 1fr;
    border-radius: 6px;
  }

  .cases-index-row-facts div,
  .cases-index-row-facts div:first-child {
    padding: 10px 12px;
    border-left: 0;
    border-top: 1px solid rgba(16, 25, 35, 0.08);
  }

  .cases-index-row-facts dt {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .cases-index-row-facts dd {
    font-size: 13px;
    line-height: 1.22;
  }

  .cases-library-page .cases-index-row-links {
    gap: 12px;
    font-size: 14px;
  }

  .cases-index-row-facts div:first-child {
    border-top: 0;
  }

  .cases-index-contact-inner {
    justify-items: start;
  }
}

.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;
}

.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;
}

.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;
}

@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;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

@supports selector(html:has(body.single-post)) {
  html:has(body.single-post),
  html:has(body.single-post) body {
    overflow-x: visible;
  }
}

.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;
  }
}

/* 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;
  }
}

/* Case article final cascade: keep case pages as one quiet dossier flow. */
.single .case-study-hero {
  border-bottom: 1px solid #dce2e8;
  background: #f3f5f6;
  color: #111820;
}

.single .case-study-hero::before,
.single .case-study-hero::after {
  display: none;
}

.single .case-study-hero .article-hero-grid {
  grid-template-columns: minmax(0, 920px);
}

.single .case-study-hero .article-hero-copy {
  min-height: 0;
}

.single .case-study-hero .article-hero-visual {
  display: none;
}

.single .case-study-hero .eyebrow {
  color: #335a6a;
}

.single .case-study-hero .entry-title,
.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  color: #111820;
}

.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  max-width: 790px;
  color: #536171;
}

.single .case-study-hero .article-hero-meta span {
  border-color: #dce2e8;
  background: #fff;
  color: #263340;
}

.single .case-study-hero .button-gold {
  border-color: #111820;
  background: #111820;
  color: #fff;
}

.single .case-study-hero .button-dark-outline {
  border-color: #c9d1d9;
  background: #fff;
  color: #111820;
}

.single .article-entry .article-case-proof {
  border: 1px solid #dce2e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.single .article-entry .article-case-proof::before,
.single .article-entry .article-case-proof::after {
  display: none;
}

.single .cases-index-row-main h2,
.cases-index-row-main h2 {
  font-size: clamp(24px, 2.45vw, 36px);
  line-height: 1.06;
}

@media (max-width: 620px) {
  .single .case-study-hero {
    padding-top: 38px;
    padding-bottom: 34px;
  }

  .single .case-study-hero .entry-title {
    font-size: clamp(30px, 8.3vw, 34px);
    line-height: 1.08;
  }

  .single .article-prose h2 {
    font-size: 29px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
}

/* Case page rethink 2026-05-30: dark dossier hero, flat article flow. */
.single .case-study-hero {
  padding: clamp(28px, 3.5vw, 42px) 0 clamp(28px, 3.4vw, 40px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(181, 138, 73, 0.18), transparent 25%),
    linear-gradient(180deg, #101923 0%, #0b121a 100%);
  border-bottom: 1px solid rgba(239, 228, 210, 0.12);
}

.single .case-study-hero .article-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: clamp(26px, 3.6vw, 46px);
  align-items: center;
}

.single .case-study-hero .article-hero-copy {
  max-width: 780px;
  min-height: 0;
  justify-content: center;
}

.single .case-study-hero .article-hero-visual {
  display: block;
}

.single .case-study-hero .eyebrow {
  color: #caa15f;
}

.single .case-study-hero .entry-title {
  max-width: 780px;
  color: #fff;
  font-size: clamp(35px, 3.55vw, 48px);
  line-height: 1;
  text-wrap: balance;
}

.single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.42;
}

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

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

.single .case-study-hero .case-hero-jump {
  display: none;
}

.single .case-study-hero .article-hero-actions .button {
  min-height: 40px;
  padding: 0 22px;
}

.single .case-study-hero .article-hero-meta span {
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(239, 228, 210, 0.14);
}

.single .case-study-hero .case-hero-jump .button,
.single .case-study-hero .button-dark-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
}

.single .case-hero-proof-visual {
  min-height: 0;
  gap: 10px;
  padding: clamp(18px, 2vw, 24px);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(239, 228, 210, 0.14);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.single .case-hero-proof-mark {
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  font-size: 22px;
}

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

.single .case-hero-proof-visual h2 {
  max-width: 500px;
  padding-right: 0;
  font-size: clamp(24px, 1.72vw, 30px);
  line-height: 1.04;
}

.single .case-study-hero .case-hero-proof-court {
  gap: 8px;
}

.single .case-study-hero .case-hero-proof-court div {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 9px;
}

.single .case-study-hero .case-hero-proof-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.single .case-study-hero .case-hero-proof-stats div {
  min-height: 0;
  padding: 10px 11px;
}

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

.single .case-study-hero .case-hero-proof-stats div:nth-child(n+3) {
  display: none;
}

.single .case-study-hero .case-hero-proof-stats strong {
  font-size: clamp(17px, 1.18vw, 21px);
}

.single .case-hero-proof-visual p {
  display: none;
}

.case-content-wrap {
  padding: 0 0 76px;
  background: #e9eef2;
}

.case-content-grid {
  display: block;
  max-width: 1180px;
}

.case-article-entry {
  padding: clamp(28px, 4.5vw, 54px) 0 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.case-start-anchor {
  position: relative;
  top: -18px;
  height: 0;
}

.case-file-summary,
.case-file-takeaway,
.case-file-action {
  border-radius: 8px;
  box-shadow: none;
}

.case-file-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 0.38fr);
  gap: 0;
  margin: 0 0 26px;
  overflow: hidden;
  background: #101923;
  border: 1px solid rgba(16, 25, 35, 0.16);
}

.case-file-summary-copy {
  padding: clamp(28px, 4.5vw, 48px);
}

.case-file-summary .eyebrow {
  color: #caa15f;
}

.case-file-summary h2 {
  color: #fff;
}

.case-file-summary p {
  color: rgba(226, 232, 240, 0.76);
}

.case-file-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-left: 1px solid rgba(239, 228, 210, 0.12);
}

.case-file-facts div {
  display: block;
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border-top: 1px solid rgba(239, 228, 210, 0.1);
}

.case-file-facts div:nth-child(-n + 2) {
  border-top: 0;
}

.case-file-facts dt {
  color: rgba(226, 232, 240, 0.62);
}

.case-file-facts dd {
  overflow-wrap: anywhere;
  color: #fff;
}

.case-file-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.case-file-toc span,
.single .case-file-toc a {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.case-file-toc span {
  color: #536171;
  background: transparent;
}

.single .case-file-toc a {
  color: #101923;
  background: #fff;
  border: 1px solid rgba(16, 25, 35, 0.1);
}

.case-article-entry .article-case-proof-stack {
  max-width: 1080px;
  margin: 0 auto 30px;
}

.case-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(240px, 270px);
  gap: 26px;
  align-items: start;
  max-width: 1150px;
  margin: 38px auto 0;
}

.case-article-entry .article-prose {
  max-width: 860px;
  margin: 38px auto 0;
  padding: clamp(30px, 4.5vw, 54px);
  background:
    linear-gradient(90deg, rgba(169, 129, 69, 0.09), rgba(169, 129, 69, 0) 4px),
    #fff;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 25, 35, 0.08);
}

.case-reading-layout .article-prose {
  max-width: none;
  margin: 0;
}

.case-sticky-counsel {
  position: sticky;
  top: 94px;
  align-self: start;
  height: max-content;
  z-index: 2;
}

.case-counsel-card {
  padding: 18px;
  border: 1px solid rgba(16, 25, 35, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 16px 42px rgba(16, 25, 35, 0.08);
}

.case-counsel-card .eyebrow {
  margin: 0 0 12px;
  color: #9a681f;
}

.case-counsel-person {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(16, 25, 35, 0.1);
}

.case-counsel-person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8eef4;
}

.case-counsel-person strong {
  display: block;
  color: #07111e;
  font-size: 17px;
  line-height: 1.12;
}

.case-counsel-person span {
  display: block;
  margin-top: 5px;
  color: #536171;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.case-counsel-card p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #33445a;
  font-size: 14px;
  line-height: 1.48;
}

.case-counsel-actions {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.case-counsel-action,
.case-counsel-action:visited {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(16, 35, 61, 0.16);
  border-radius: 6px;
  color: #12304c;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.case-article-entry .case-counsel-action,
.case-article-entry .case-counsel-action:visited {
  text-decoration: none;
}

.case-counsel-action:hover {
  border-color: rgba(169, 129, 69, 0.45);
  color: #07111e;
  background: #f8fafc;
  text-decoration: none;
}

.case-counsel-action-primary,
.case-counsel-action-primary:visited {
  border-color: #101923;
  color: #fff;
  background: #101923;
}

.case-article-entry .case-counsel-action-primary,
.case-article-entry .case-counsel-action-primary:visited {
  color: #fff;
}

.case-counsel-action-primary:hover {
  color: #fff;
  background: #172536;
}

.case-counsel-card small {
  display: block;
  margin-top: 14px;
  color: #66768a;
  font-size: 12px;
  line-height: 1.42;
}

@media (max-width: 1120px) {
  .case-reading-layout {
    display: block;
    margin-top: 32px;
  }

  .case-sticky-counsel {
    display: none;
  }

  .case-reading-layout .article-prose {
    max-width: 900px;
    margin: 0 auto;
  }
}

.case-article-entry .article-prose h2,
.case-article-entry .article-prose h3 {
  color: #07111e;
}

.case-article-entry .article-prose > p:first-of-type {
  margin-top: 0;
  color: #26364a;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.64;
}

.case-article-entry .article-prose p,
.case-article-entry .article-prose li {
  color: #26364a;
  font-size: 17px;
  line-height: 1.68;
}

.case-article-entry .article-prose p {
  margin: 15px 0 0;
}

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

.case-article-entry .article-prose strong {
  color: #0f243d;
  font-weight: 900;
}

.case-article-entry .article-prose p strong {
  background: linear-gradient(180deg, rgba(169, 129, 69, 0) 58%, rgba(169, 129, 69, 0.16) 58%);
}

.case-article-entry .article-section-block > p:first-of-type {
  color: #26364a;
  font-size: 17px;
  line-height: 1.68;
}

.case-article-entry .article-prose ul,
.case-article-entry .article-prose ol {
  margin: 22px 0;
  padding: 17px 22px;
  background: #f8fafc;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-left: 3px solid #a98145;
  border-radius: 6px;
  box-shadow: none;
}

.case-article-entry .article-prose li {
  padding: 0 4px 0 30px;
}

.case-article-entry .article-prose li + li {
  margin-top: 10px;
}

.case-article-entry .article-prose ul li::before {
  left: 8px;
  width: 7px;
  height: 7px;
  background: #a98145;
  box-shadow: 0 0 0 4px rgba(169, 129, 69, 0.12);
}

.case-article-entry .article-prose ol {
  counter-reset: case-step;
}

.case-article-entry .article-prose ol li {
  counter-increment: case-step;
}

.case-article-entry .article-prose ol li::before {
  content: counter(case-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.14em;
  width: auto;
  height: auto;
  color: #a06f28;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.case-article-entry .article-prose .case-ruling-brief {
  max-width: 100%;
  margin: 30px 0 42px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 6px;
}

.case-article-entry .article-prose .case-ruling-brief dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.case-article-entry .article-prose .case-ruling-brief div {
  min-width: 0;
  padding: 18px 22px;
  border-top: 1px solid rgba(16, 25, 35, 0.1);
}

.case-article-entry .article-prose .case-ruling-brief div:nth-child(-n + 2) {
  border-top: 0;
}

.case-article-entry .article-prose .case-ruling-brief div:nth-child(odd) {
  border-right: 1px solid rgba(16, 25, 35, 0.1);
}

.case-article-entry .article-prose .case-ruling-brief dt {
  margin: 0 0 7px;
  color: #a98145;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-article-entry .article-prose .case-ruling-brief dd {
  margin: 0;
  color: #101923;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.36;
}

.case-article-entry .article-prose details,
.case-article-entry .article-prose blockquote,
.case-article-entry .article-section-block,
.case-article-entry .related-materials,
.case-article-entry .article-resource-routes {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(16, 25, 35, 0.12);
  border-radius: 0;
  box-shadow: none;
}

.case-article-entry .article-section-block {
  max-width: 100%;
  margin: 42px 0 0;
  padding: 34px 0 0;
}

.case-article-entry .article-section-block::before {
  top: 38px;
  right: 0;
  color: #9a681f;
  font-size: 10px;
  font-weight: 900;
}

.case-article-entry .article-prose blockquote {
  margin: 28px 0;
  padding: 21px 26px 22px 28px;
  background:
    linear-gradient(90deg, rgba(169, 129, 69, 0.16), rgba(169, 129, 69, 0) 5px),
    #f8fafc;
  border-color: rgba(169, 129, 69, 0.22);
}

.case-article-entry .article-prose blockquote p {
  color: #10233d;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.48;
}

.case-article-entry .article-prose h2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 36px 0 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 25, 35, 0.12);
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.12;
}

.case-article-entry .article-prose h2::after {
  content: none;
  color: #a98145;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.case-article-entry .article-section-timeline {
  margin-top: 34px;
  padding: 26px 0 0;
}

.case-article-entry .article-section-timeline h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 2vw, 31px);
}

.case-compact-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.case-compact-timeline-item {
  display: block;
  align-items: start;
  min-width: 0;
  padding: 15px 17px 16px;
  background:
    linear-gradient(90deg, rgba(169, 129, 69, 0.13), rgba(169, 129, 69, 0) 4px),
    #f8fafc;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 6px;
}

.case-compact-timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: #9a681f;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-compact-timeline-item strong {
  display: block;
  color: #07111e;
  font-size: 17px;
  line-height: 1.22;
}

.case-compact-timeline-item p,
.case-article-entry .article-prose .case-compact-timeline-item p {
  margin: 7px 0 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.46;
}

@media (min-width: 761px) {
  .case-compact-timeline-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 14px 18px;
  }

  .case-compact-timeline-item span {
    margin: 2px 0 0;
  }

  .case-compact-timeline-item strong {
    font-size: 18px;
  }
}

.case-article-entry .article-prose a {
  color: #12304c;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.case-file-takeaway {
  margin-top: 42px;
  padding: clamp(28px, 4.5vw, 44px);
  color: #fff;
  background: #101923;
  border: 1px solid rgba(16, 25, 35, 0.16);
}

.case-file-takeaway .eyebrow {
  color: #caa15f;
}

.case-file-takeaway h2 {
  color: #fff;
}

.case-file-takeaway p {
  color: rgba(226, 232, 240, 0.74);
}

.case-file-action {
  margin-top: 0;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(16, 25, 35, 0.12);
  border-radius: 0;
}

.case-file-action p {
  color: #536171;
}

.case-file-action a {
  color: #101923;
}

.case-article-entry .proof-system-card--hero {
  border-radius: 6px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 16px 42px rgba(16, 25, 35, 0.08);
}

.case-article-entry .proof-system-card--hero .proof-system-meta span {
  color: #a98145;
}

.case-article-entry .proof-system-card--hero .proof-system-document {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #101923 0%, #162331 58%, #0b121a 100%);
}

.case-article-entry .proof-system-card--hero .proof-system-document img {
  width: auto;
  height: auto;
  max-width: min(84%, 330px);
  max-height: 360px;
  object-fit: contain;
  border-radius: 3px;
  transform: rotate(-1.2deg);
}

.case-article-entry .proof-system-card--hero .proof-system-document:hover img {
  transform: rotate(0deg) translateY(-3px);
}

/* 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: 340px;
  padding: 28px 32px 26px;
  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: 14px;
}

.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: 640px;
  margin-bottom: 12px;
  color: #07111e;
  font-size: clamp(28px, 2.18vw, 36px);
  line-height: 1.02;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero p {
  max-width: 640px;
  color: #38485c;
  font-size: 17px;
  line-height: 1.5;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-facts {
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  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: 8px 11px;
  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: 18px;
  line-height: 1.28;
}

.case-article-entry .article-case-proof-stack .proof-system-card--hero .proof-system-actions {
  margin-top: 18px;
}

.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: 340px;
  padding: 30px 28px 74px;
  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(64%, 245px);
  max-height: 300px;
  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);
}

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

  .single .case-study-hero .article-hero-visual {
    display: none;
  }

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

  .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);
  }
}

@media (max-width: 620px) {
  .single .case-study-hero {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .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;
  }

  .single .case-study-hero .entry-title {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.06;
  }

  .single .case-study-hero .article-hero-copy > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.58;
  }

  .single .case-study-hero .article-hero-meta {
    gap: 8px;
  }

  .single .case-study-hero .article-hero-meta span {
    width: 100%;
    min-height: 0;
    padding: 12px 14px;
  }

  .single .case-hero-proof-visual {
    min-height: 0;
  }

  .case-content-wrap {
    padding-bottom: 54px;
  }

  .case-article-entry {
    padding-top: 32px;
  }

  .case-reading-layout {
    display: block;
    margin-top: 28px;
  }

  .case-sticky-counsel {
    display: none;
  }

  .case-article-entry .article-prose {
    margin-top: 28px;
    padding: 24px 17px;
    border-radius: 7px;
  }

  .case-article-entry .article-prose h2 {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 30px 0 12px;
    padding-top: 20px;
    font-size: clamp(24px, 7vw, 30px);
  }

  .case-article-entry .article-prose h2::after {
    justify-self: start;
  }

  .case-article-entry .article-prose p,
  .case-article-entry .article-prose li {
    font-size: 16px;
    line-height: 1.62;
  }

  .case-article-entry .article-section-block > p:first-of-type {
    font-size: 16px;
    line-height: 1.62;
  }

  .case-article-entry .article-prose ul,
  .case-article-entry .article-prose ol {
    padding: 16px 15px;
  }

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

  .case-compact-timeline-item {
    padding: 14px 15px;
  }

  .case-compact-timeline-item strong {
    font-size: 16px;
  }

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

  .case-file-facts {
    border-top: 1px solid rgba(239, 228, 210, 0.12);
    border-left: 0;
  }

  .case-file-facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .case-file-action {
    display: block;
  }

  .case-article-entry .article-prose .case-ruling-brief dl {
    grid-template-columns: 1fr;
  }

  .case-article-entry .article-prose .case-ruling-brief div,
  .case-article-entry .article-prose .case-ruling-brief div:nth-child(-n + 2) {
    border-top: 1px solid rgba(16, 25, 35, 0.1);
    border-right: 0;
  }

  .case-article-entry .article-prose .case-ruling-brief div:first-child {
    border-top: 0;
  }

  .case-article-entry .proof-system-card--hero .proof-system-document img {
    max-height: 320px;
  }
}

/* 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;
}

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

body.single-post .case-article-entry .article-section-timeline h2:first-child {
  margin-bottom: 16px;
  font-size: clamp(24px, 1.9vw, 30px);
}

body.single-post .case-article-entry .article-prose .case-compact-timeline-item p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.48;
}

.case-defense-system .case-defense-lead {
  max-width: 820px;
  margin: 0 0 18px;
  color: #142235;
  font-size: 17px;
  line-height: 1.62;
}

.case-defense-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 20px 0 18px;
}

.case-defense-pillars article,
.case-defense-algorithm article {
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(169, 129, 69, 0.13), rgba(169, 129, 69, 0) 4px),
    #f8fafc;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 6px;
}

.case-defense-pillars article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 18px;
}

.case-defense-pillars span,
.case-defense-algorithm span,
.case-defense-verdict span {
  display: block;
  margin-bottom: 9px;
  color: #9a681f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-defense-pillars span {
  margin-top: 2px;
}

.case-defense-pillars h3,
.case-article-entry .article-prose .case-defense-pillars h3 {
  grid-column: 2;
  margin: 0 0 9px;
  color: #07111e;
  font-size: 18px;
  line-height: 1.2;
}

.case-defense-pillars p,
.case-article-entry .article-prose .case-defense-pillars p,
.case-defense-algorithm p,
.case-article-entry .article-prose .case-defense-algorithm p {
  grid-column: 2;
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.52;
}

body.single-post .case-article-entry .article-prose .case-defense-pillars p {
  color: #334155;
  font-size: 15px;
  line-height: 1.5;
}

.case-defense-quote,
.case-article-entry .article-prose .case-defense-quote {
  margin: 18px 0;
  padding: 18px 22px;
  background: #101923;
  border: 1px solid rgba(16, 25, 35, 0.16);
  border-radius: 6px;
}

.case-defense-quote p,
.case-article-entry .article-prose .case-defense-quote p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.5;
}

body.single-post .case-article-entry .article-prose .case-defense-quote p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 18px;
  line-height: 1.5;
}

.case-defense-verdict,
.case-defense-risk,
.case-defense-cta {
  margin: 18px 0 0;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(16, 25, 35, 0.1);
  border-radius: 6px;
}

.case-defense-verdict {
  display: grid;
  grid-template-columns: minmax(190px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  background: #fbfcfd;
}

.case-defense-verdict strong {
  color: #07111e;
  font-size: 18px;
  line-height: 1.26;
}

.case-defense-verdict p,
.case-article-entry .article-prose .case-defense-verdict p,
.case-defense-risk p,
.case-article-entry .article-prose .case-defense-risk p,
.case-defense-cta p,
.case-article-entry .article-prose .case-defense-cta p {
  margin: 0;
  color: #334155;
  font-size: 15.5px;
  line-height: 1.55;
}

.case-defense-risk {
  background:
    linear-gradient(90deg, rgba(127, 56, 74, 0.12), rgba(127, 56, 74, 0) 4px),
    #fffafa;
}

.case-defense-risk h3,
.case-defense-algorithm h3,
.case-defense-cta h3,
.case-article-entry .article-prose .case-defense-risk h3,
.case-article-entry .article-prose .case-defense-algorithm h3,
.case-article-entry .article-prose .case-defense-cta h3 {
  margin: 0 0 10px;
  color: #07111e;
  font-size: 21px;
  line-height: 1.18;
}

.case-defense-algorithm {
  margin: 22px 0 0;
}

.case-defense-algorithm > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-defense-algorithm strong {
  display: block;
  margin-bottom: 7px;
  color: #07111e;
  font-size: 16px;
  line-height: 1.25;
}

.case-asset-risk-test,
.case-article-entry .article-prose .case-asset-risk-test {
  max-width: 100%;
  margin: 22px 0 0;
  padding: 22px;
  border-radius: 6px;
}

.case-asset-risk-test header span {
  color: #d4a35e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-asset-risk-test h3,
.case-article-entry .article-prose .case-asset-risk-test h3 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.08;
}

.case-asset-risk-test header p,
.case-article-entry .article-prose .case-asset-risk-test header p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.52;
}

.case-asset-risk-test .quiz-question {
  padding: 18px;
  border-radius: 6px;
}

.case-asset-risk-test .quiz-question strong {
  color: #fff !important;
  font-size: 17px;
  line-height: 1.32;
}

.case-asset-risk-test .quiz-options button {
  min-height: 56px;
  color: rgba(255, 255, 255, 0.88) !important;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.28;
}

.case-asset-risk-test .quiz-options button.is-selected {
  color: #101923 !important;
}

.case-asset-risk-test .quiz-result {
  border-radius: 6px;
}

.case-article-entry .article-prose .case-asset-risk-test .quiz-result p {
  margin-top: 10px;
  color: #334155;
  font-size: 15px;
  line-height: 1.56;
}

.case-asset-risk-test .quiz-result-actions .button,
.case-article-entry .article-prose .case-asset-risk-test .quiz-result-actions .button {
  color: #fff !important;
  background: #101923;
}

.case-defense-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: center;
  background: #101923;
}

.case-defense-cta h3,
.case-article-entry .article-prose .case-defense-cta h3 {
  margin: 0;
  color: #fff !important;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1.12;
}

.case-defense-cta p,
.case-article-entry .article-prose .case-defense-cta p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.case-defense-cta a,
.case-article-entry .article-prose .case-defense-cta a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #101923 !important;
  background: #d4a35e;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

@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-defense-pillars,
  .case-defense-algorithm > div,
  .case-defense-verdict,
  .case-asset-risk-test header,
  .case-defense-cta {
    grid-template-columns: 1fr;
  }

  .case-defense-pillars article {
    display: block;
  }

  .case-defense-pillars article,
  .case-defense-algorithm article,
  .case-defense-verdict,
  .case-defense-risk,
  .case-defense-cta {
    padding: 16px;
  }

  .case-defense-cta a {
    width: 100%;
  }
}

/* Corporate cluster readability pass 2026-06-02: scoped overrides after late theme 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;
  }
}

/* Release true end-cascade containment for live launch QA. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.cases-library-proof-stack {
  overflow: hidden;
}

.cases-library-proof-stack img {
  max-width: min(210px, 64%);
}

.cases-library-proof-stack img:nth-child(2) {
  left: min(34px, 12%);
}

body.home .home-insight-social,
body.home .home-insight-categories {
  width: 100%;
  max-width: 100%;
  flex-wrap: wrap;
  overflow-x: visible;
  white-space: normal;
}

body.home .home-insight-social strong,
body.home .home-insight-social a,
body.home .home-insight-categories a {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal;
}

.article-matter-desk,
.article-matter-desk *,
.case-compact-timeline,
.case-compact-timeline-item,
.case-compact-timeline-item > *,
.case-compact-timeline-item strong,
.case-compact-timeline-item p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}

.article-matter-desk h2 {
  font-size: clamp(21px, 1.95vw, 28px);
  line-height: 1.08;
}

@media (min-width: 761px) {
  .case-compact-timeline-item {
    grid-template-columns: minmax(44px, 74px) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  body.home .team-grid,
  body.home .proof-home-track {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  body.home .home-insight-social,
  body.home .home-insight-categories {
    gap: 8px;
  }
}

/* Release QA: cases register cards must stay single-column on narrow phones. */
@media (max-width: 760px) {
  body.category-kejsy .cases-index-row,
  body.category-kejsy .cases-index-row-featured,
  .cases-library-page .cases-index-row,
  .cases-library-page .cases-index-row-featured {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0;
    overflow: hidden;
  }

  body.category-kejsy .cases-index-row-proof,
  .cases-library-page .cases-index-row-proof {
    width: 100%;
    min-width: 0;
    min-height: 168px;
    padding: 14px;
    overflow: hidden;
  }

  body.category-kejsy .cases-index-row-proof img,
  body.category-kejsy .cases-index-row-featured .cases-index-row-proof img,
  .cases-library-page .cases-index-row-proof img,
  .cases-library-page .cases-index-row-featured .cases-index-row-proof img {
    width: auto;
    max-width: min(180px, 72%);
    max-height: 146px;
    object-fit: contain;
  }

  body.category-kejsy .cases-index-proof-label,
  .cases-library-page .cases-index-proof-label {
    display: none !important;
  }

  body.category-kejsy .cases-library-proof-stack,
  .cases-library-page .cases-library-proof-stack {
    width: min(100%, 280px);
    max-width: 100%;
    min-height: 210px;
    overflow: hidden;
  }

  body.category-kejsy .cases-library-proof-stack img,
  .cases-library-page .cases-library-proof-stack img {
    width: auto;
    max-width: min(150px, 54%);
    box-sizing: border-box;
  }

  body.category-kejsy .cases-library-proof-stack img:nth-child(1),
  .cases-library-page .cases-library-proof-stack img:nth-child(1) {
    left: 14px;
  }

  body.category-kejsy .cases-library-proof-stack img:nth-child(2),
  .cases-library-page .cases-library-proof-stack img:nth-child(2) {
    left: 50%;
    transform: translateX(-50%) 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: 14px;
  }

  body.category-kejsy .cases-index-row-main p,
  .cases-library-page .cases-index-row-main p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }
}

/* 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;
  }
}
