/* =========================================================
  Firm Page — Accountsins-inspired
========================================================= */

.ds-firm .ds-firm-who-stage{
  position: relative;
  min-height: 100vh;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}

.ds-firm .ds-firm-who-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  width: 100%;
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}

/* COLUMN 1: Text Content */
.ds-firm .ds-firm-who-text-lane{
  flex: 0 0 60%;
  max-width: 700px;
  z-index: 10;
}

.ds-firm .ds-firm-who-intro-text{
  position: relative;
  color: rgba(255,255,255,0.94);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: rgba(9,21,34,0.18);
  box-shadow: 0 18px 44px rgba(4,10,18,0.22);
  backdrop-filter: blur(10px) brightness(0.76);
  -webkit-backdrop-filter: blur(10px) brightness(0.76);
  text-align: left;
}

.ds-firm .ds-firm-who-intro-text::before{
  content:"";
  position: absolute;
  inset: -18% -10%;
  background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.24), transparent 34%);
  filter: blur(24px);
  opacity: .92;
  pointer-events: none;
  z-index: 0;
}

.ds-firm .ds-firm-who-intro-text > *{
  position: relative;
  z-index: 1;
}

.ds-firm .ds-firm-who-intro-text .section-title{
  color: rgba(255,255,255,0.98);
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 4vw, 3.2rem);
}

.ds-firm .ds-firm-who-intro-text .ds-eyebrow--left{
  display: inline-block;
  text-align: left;
  margin-bottom: 12px;
}

.ds-firm .ds-firm-who-fragments{
  display: grid;
  gap: 16px;
}

.ds-firm .ds-firm-who-fragment{
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.85;
  color: rgba(255,255,255,0.45);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-weight: 400;
  opacity: 0;
}

/* COLUMN 2: Value Cards */
.ds-firm .ds-firm-who-value-lane{
  flex: 0 0 40%;
  position: relative;
  min-height: 600px;
}

.ds-firm .ds-firm-orbit{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: clamp(30px, 4vh, 60px);
  z-index: 5;
  pointer-events: auto;
  padding: 0;
  margin: 0;
}

/* Old styles removed: use .ds-firm-who-intro-text instead. */

.ds-firm .ds-eyebrow--left{
  display: inline-block;
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 0;
}

.ds-eyebrow--left::after{
  display: none;
}

/* Panel polish */
.ds-firm .ds-firm-panel{
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(16,18,23,0.10);
  border-radius: var(--firm-radius-lg);
  box-shadow: var(--firm-shadow-soft);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.ds-firm .ds-firm-panel--glass{
  background: var(--firm-glass-bg);
  border-color: var(--firm-glass-border);
  box-shadow:
    0 22px 48px rgba(10,25,47,0.10),
    inset 0 1px 0 rgba(255,255,255,0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* subtle inner sheen */
.ds-firm .ds-firm-panel::before{
  content:"";
  position:absolute;
  inset:-80px -80px auto -80px;
  height: 180px;
  background: radial-gradient(closest-side, rgba(255,255,255,0.60), transparent 70%);
  opacity: .55;
  pointer-events:none;
}

.ds-firm .ds-firm-panel--glass::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(255,255,255,0.34), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.10), transparent 44%);
}

/* bullets: clean, custom dots (no default indent) */
.ds-firm .ds-bullets{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.ds-firm .ds-bullets li{
  position: relative;
  padding-left: 18px;
  color: rgba(16,18,23,0.82);
  line-height: 1.55;
}

.ds-firm .ds-bullets li::before{
  content:"";
  position:absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(200,162,74,0.72);
  box-shadow: 0 0 0 4px rgba(200,162,74,0.12);
}

/* Reveal animation (scoped to Firm only) */
.ds-firm .ds-reveal{
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .82s cubic-bezier(.2,.72,.18,1),
    transform .82s cubic-bezier(.2,.72,.18,1);
  transition-delay: var(--firm-reveal-delay, 0ms);
  will-change: opacity, transform;
}
.ds-firm .ds-reveal.is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.ds-firm .ds-firm-word{
  opacity: .38;
  color: rgba(255,255,255,0.40);
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: opacity .16s linear, color .18s linear, text-shadow .18s linear, font-weight .18s linear;
}

.ds-firm .ds-firm-word.is-active{
  opacity: 1;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.42);
}

.ds-firm .ds-firm-keyword{
  color: rgba(255,255,255,0.40);
}

.ds-firm .ds-firm-keyword.is-glowing{
  color: #f3d978;
  text-shadow: 0 0 20px rgba(212,175,55,0.42);
}

.ds-firm .ds-firm-orbit{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--who-safe-lane) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(60px, 8vw, 140px);
  row-gap: clamp(80px, 10vh, 180px);
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: calc(100vw - 48px);
  padding: clamp(40px, 5vh, 100px) clamp(20px, 3vw, 40px);
}

.ds-firm .ds-firm-orbit-card{
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 22px 56px rgba(6,16,28,0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  pointer-events: auto;
  will-change: transform;
  opacity: 0;
  transform: translate3d(60px, 0, 0);
  animation: ds-float 3s ease-in-out infinite;
}

/* Stagger cards vertically */
.ds-firm .ds-firm-orbit-card--1{
  align-self: flex-start;
  margin-left: 0;
  animation-delay: 0s;
}

.ds-firm .ds-firm-orbit-card--2{
  align-self: center;
  margin-left: 40px;
  animation-delay: 0.5s;
}

.ds-firm .ds-firm-orbit-card--3{
  align-self: flex-end;
  margin-left: 0;
  animation-delay: 1s;
}

.ds-firm .ds-firm-orbit-card--4{
  align-self: center;
  margin-left: 40px;
  animation-delay: 1.5s;
}

.ds-firm .ds-firm-orbit-card--5,
.ds-firm .ds-firm-orbit-card--compliance{
  align-self: flex-start;
  margin-left: 20px;
  animation-delay: 2s;
}

@keyframes ds-float{
  0%, 100%{
    transform: translateY(0px);
  }
  50%{
    transform: translateY(-10px);
  }
}

.ds-firm .ds-firm-orbit-card.is-inview{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: ds-float 3s ease-in-out infinite;
}

.ds-firm .ds-firm-orbit-card:hover,
.ds-firm .ds-firm-orbit-card:focus-visible{
  border-color: rgba(212,175,55,0.46);
  box-shadow: 0 28px 64px rgba(6,16,28,0.34);
  outline: none;
}

.ds-firm .ds-firm-orbit-card:hover,
.ds-firm .ds-firm-orbit-card:focus-visible{
  border-color: rgba(212,175,55,0.46);
  box-shadow: 0 28px 64px rgba(6,16,28,0.34);
  outline: none;
}

.ds-firm .ds-firm-orbit-card__meta{
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}

.ds-firm .ds-firm-orbit-card__title{
  margin: 0;
  font-size: clamp(1.62rem, 1.8vw, 2rem);
  line-height: 1.05;
  color: rgba(255,255,255,0.98);
}

.ds-firm .ds-firm-orbit-card__body{
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
}

.ds-firm .ds-firm-orbit-card--1{
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
}

.ds-firm .ds-firm-orbit-card--2{
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

.ds-firm .ds-firm-orbit-card--3{
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: center;
}

.ds-firm .ds-firm-orbit-card--4{
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  align-self: center;
}

.ds-firm .ds-firm-orbit-card--5{
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  align-self: start;
  width: min(420px, calc(var(--who-safe-lane) - 36px));
  margin-top: var(--who-compliance-gap);
  translate: none;
}

.ds-firm .ds-firm-orbit-card--compliance{
  z-index: 5;
}

@media (max-width: 992px){
  .ds-firm .ds-firm-who{
    min-height: auto;
  }

  .ds-firm .ds-firm-who-video{
    min-height: 100%;
  }

  .ds-firm .ds-firm-who-stage{
    min-height: auto;
    padding-bottom: 0;
  }

  /* .ds-firm-who-sticky removed (deprecated) */

  .ds-firm .ds-firm-who-grid{
    grid-template-columns: 1fr;
    gap: clamp(30px, 4vw, 50px);
  }

  .ds-firm .ds-firm-who-text-lane{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .ds-firm .ds-firm-who-value-lane{
    flex: 0 0 100%;
    min-height: auto;
  }

  .ds-firm .ds-firm-who-intro-text{
    text-align: center;
    padding: clamp(20px, 2.5vw, 30px);
  }

  .ds-firm .ds-firm-who-intro-text .ds-eyebrow--left{
    display: inline-flex;
    justify-content: center;
  }

  .ds-firm .ds-firm-orbit{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 2vh, 40px);
    height: auto;
    min-height: auto;
  }

  .ds-firm .ds-firm-orbit-card{
    width: calc(50% - 12px);
    max-width: none;
    margin-left: 0 !important;
    align-self: auto !important;
  }

  .ds-firm .ds-firm-orbit-card--1,
  .ds-firm .ds-firm-orbit-card--2,
  .ds-firm .ds-firm-orbit-card--3,
  .ds-firm .ds-firm-orbit-card--4,
  .ds-firm .ds-firm-orbit-card--5,
  .ds-firm .ds-firm-orbit-card--compliance{
    width: calc(50% - 12px);
  }
}

@media (max-width: 640px){
  .ds-firm .ds-firm-who{
    min-height: auto;
    padding: clamp(50px, 8vw, 80px) 0;
  }

  .ds-firm .ds-firm-who-video{
    min-height: 100%;
  }

  .ds-firm .ds-firm-who-stage{
    min-height: auto;
    padding-bottom: 40px;
  }

  .ds-firm .ds-firm-who-grid{
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 30px);
    padding: clamp(20px, 3vw, 30px) 0;
  }

  .ds-firm .ds-firm-who-fragment{
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .ds-firm .ds-firm-orbit{
    flex-direction: column;
    gap: clamp(16px, 2vh, 24px);
  }

  .ds-firm .ds-firm-orbit-card{
    width: 100%;
    max-width: 100%;
    padding: 16px 18px;
    font-size: 0.9rem;
    animation: none;
    margin-left: 0 !important;
  }

  .ds-firm .ds-firm-orbit-card--1,
  .ds-firm .ds-firm-orbit-card--2,
  .ds-firm .ds-firm-orbit-card--3,
  .ds-firm .ds-firm-orbit-card--4,
  .ds-firm .ds-firm-orbit-card--5,
  .ds-firm .ds-firm-orbit-card--compliance{
    width: 100%;
    align-self: auto !important;
  }
}

/* =========================
   5) Feature band (dark)
========================= */
.ds-firm-featureband{
  background: radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.06), transparent 60%),
              linear-gradient(180deg, rgba(7,27,47,0.98), rgba(7,27,47,0.92));
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ds-eyebrow--on-dark{ color: rgba(255,255,255,0.72); }
.muted-on-dark{ color: rgba(255,255,255,0.72); }

.ds-feature-title{
  margin: 8px 0 10px;
  font-size: clamp(2.8rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ds-feature-steps{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
.ds-feature-steps li{
  counter-increment: step;
  display: grid;
  gap: 4px;
  padding-left: 46px;
  position: relative;
}
.ds-feature-steps li::before{
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .04em;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
}
.ds-feature-step-title{ font-weight: 900; letter-spacing: -0.01em; }
.ds-feature-step-desc{ color: rgba(255,255,255,0.70); line-height: 1.5; }

.ds-feature-media{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--firm-shadow);
  background: rgba(255,255,255,0.04);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.ds-feature-media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .55s ease;
}

.ds-feature-media:hover img{
  transform: scale(1.03);
}

/* =========================
   6) Vision / Mission (dark cards)
========================= */
.ds-firm-vm{
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: rgba(251,250,247,0.96);
  overflow: hidden;
}
.ds-firm-vm .muted{ color: rgba(255,255,255,0.78); }
.ds-firm-vm .ds-vm-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--firm-radius);
  padding: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ds-vm-label{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(251,250,247,0.86);
}
.ds-vm-rule{
  width: 64px;
  height: 2px;
  background: var(--gold);
  opacity: .55;
  margin: 10px 0 12px;
}
.ds-vm-text p{ margin: 0; color: rgba(251,250,247,0.90); }

/* =========================
   7) Values band (gold)
========================= */
.ds-firm-valuesband{
  background: linear-gradient(180deg, rgba(200,162,74,0.96), rgba(200,162,74,0.88));
  color: rgba(16,18,23,0.90);
  border-top: 1px solid rgba(16,18,23,0.08);
  border-bottom: 1px solid rgba(16,18,23,0.08);
}
.ds-valuesband-title{
  margin: 8px 0 10px;
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.ds-valuesband-sub{ max-width: 56ch; opacity: 0.9; }
.ds-valuesband-list{ margin-top: 18px; display: grid; gap: 12px; }
.ds-valuesband-item{
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.20);
  border: 1px solid rgba(16,18,23,0.10);
  backdrop-filter: blur(6px);
}
.ds-valuesband-item-title{ font-weight: 950; letter-spacing: -0.01em; }
.ds-valuesband-item-desc{ margin-top: 4px; opacity: 0.82; line-height: 1.45; }

.ds-valuesband-photo{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(16,18,23,0.10);
  box-shadow: var(--firm-shadow);
  background: rgba(255,255,255,0.18);
}
.ds-valuesband-photo img{ width: 100%; height: auto; display: block; object-fit: cover; }


/* =========================
   8) Process
========================= */
.ds-firm-process{
  background: linear-gradient(180deg, #fff, var(--surface-2));
  overflow: hidden;
}
.ds-process{
  list-style: none;
  padding: 0;
  margin: 0;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--firm-gap);
  counter-reset: step;
}
@media (max-width: 992px){ .ds-process{ grid-template-columns: 1fr; } }
.ds-process-step{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(16,18,23,0.10);
  border-radius: var(--firm-radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--firm-shadow-soft);
}
.ds-process-step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 14px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(16,18,23,0.35);
}
.ds-process-desc{ margin-top: 6px; }

/* =========================
   9) Accolades
========================= */
.ds-accolade-grid{ display:flex; flex-wrap: wrap; gap: 10px; }
.ds-accolade{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(16,18,23,0.10);
  background: rgba(255,255,255,0.70);
  color: rgba(16,18,23,0.86);
  font-weight: 800;
  font-size: 14px;
}

/* =========================
   10) Leadership — Collective Cluster
========================= */

.ds-firm .ds-firm-team{
  position: relative;
  overflow: clip;
  background:
    radial-gradient(1200px 560px at 52% 12%, rgba(212,175,55,0.12), rgba(212,175,55,0) 68%),
    #F7F3E9;
  border-top: 1px solid rgba(5,12,29,0.12);
}

.ds-firm .ds-firm-team .container{
  max-width: min(1260px, 96vw);
}

.ds-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 46px);
}

.ds-section-head .section-title{ margin: 0; }
.ds-section-action{ white-space: nowrap; }

.ds-firm .ds-lawyer-cluster{
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  grid-auto-rows: minmax(240px, auto);
  align-items: end;
  column-gap: clamp(32px, 5.2vw, 88px);
  row-gap: clamp(10px, 1.8vw, 22px);
  max-width: min(1080px, 100%);
  margin-inline: auto;
  padding: clamp(8px, 1.2vw, 18px) clamp(10px, 1.6vw, 18px) clamp(74px, 7vw, 108px);
}

.ds-firm .ds-lawyer-cluster::before{
  content: "";
  position: absolute;
  inset: 6% 2% 2%;
  pointer-events: none;
  background:
    radial-gradient(500px 240px at 26% 24%, rgba(253,242,214,0.42), rgba(253,242,214,0) 78%),
    radial-gradient(520px 260px at 74% 68%, rgba(212,175,55,0.22), rgba(212,175,55,0) 76%);
  filter: blur(18px);
  opacity: 0.68;
  z-index: 0;
}

.ds-firm .ds-lawyer-cluster::after{
  content: "";
  position: absolute;
  inset: 4% 6% 8%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  background-image: url("../../img/firm/marble.png");
  background-repeat: repeat;
  background-size: 520px auto;
  mix-blend-mode: overlay;
}

.ds-firm .ds-lawyer-spotlight{
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(260px, 34vw, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, rgba(247,236,207,0.40) 0%, rgba(247,236,207,0.22) 36%, rgba(247,236,207,0) 72%);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.ds-firm .ds-lawyer-node{
  --lawyer-depth-y: 0px;
  --lawyer-parallax-x: 0px;
  --lawyer-parallax-y: 0px;
  --lawyer-editorial-y: 0px;
  --lawyer-node-scale: 1;
  --lawyer-focus-dim: 1;
  --lawyer-spotlight-boost: 0;
  position: relative;
  width: min(100%, 380px);
  opacity: var(--lawyer-focus-dim);
  transform: translate3d(var(--lawyer-parallax-x), calc(var(--lawyer-editorial-y) + var(--lawyer-depth-y) + var(--lawyer-parallax-y)), 0) scale(var(--lawyer-node-scale));
  transform-origin: 50% 72%;
  will-change: transform, opacity;
  transition: opacity 0.36s ease;
  z-index: 16;
}

.ds-firm .ds-lawyer-node.is-managing-partner{
  --lawyer-node-scale: 1.08;
  z-index: 30;
}

.ds-firm .ds-lawyer-node.is-senior-partner{
  --lawyer-node-scale: 1;
  z-index: 24;
}

.ds-firm .ds-lawyer-node.is-associate{
  --lawyer-node-scale: 0.94;
  z-index: 18;
}

.ds-firm .ds-lawyer-node.is-hovered{
  z-index: 42;
}

.ds-firm .ds-lawyer-node--a{ grid-column: 1; grid-row: 1; justify-self: start; }
.ds-firm .ds-lawyer-node--c{ grid-column: 2; grid-row: 1; justify-self: end; }
.ds-firm .ds-lawyer-node--b{ grid-column: 1; grid-row: 2; justify-self: start; margin-top: 0; }
.ds-firm .ds-lawyer-node--d{ grid-column: 2; grid-row: 2; justify-self: end; margin-top: 0; }

/* Editorial stagger: drop every even card for the engineered asymmetric rhythm. */
.ds-firm .ds-lawyer-cluster > article.ds-lawyer-node:nth-of-type(even){
  --lawyer-editorial-y: 60px;
}

.ds-firm .ds-lawyer-link{
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  overflow: visible;
}

.ds-firm .ds-lawyer-node.is-expand-up .ds-lawyer-link{
  padding-top: clamp(20px, 2.8vw, 38px);
}

.ds-firm .ds-lawyer-node.is-expand-down .ds-lawyer-link{
  padding-bottom: clamp(20px, 2.8vw, 38px);
}

.ds-firm .ds-lawyer-plaque{
  position: absolute;
  left: 8%;
  right: 8%;
  z-index: 7;
  pointer-events: none;
  border-radius: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(212, 175, 55, 0.8);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  opacity: 0.92;
  transform: translate3d(0, 0, 0) scale(0.97);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  will-change: transform, opacity;
}

.ds-firm .ds-lawyer-node.is-expand-up .ds-lawyer-plaque{
  top: auto;
  bottom: 0;
}

.ds-firm .ds-lawyer-node.is-expand-down .ds-lawyer-plaque{
  bottom: 0;
}

.ds-firm .ds-lawyer-plaque-name{
  position: relative;
  margin: 0;
  font-family: "Libre Baskerville", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.82rem, 0.88vw, 1.02rem);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #050C1D;
  text-shadow: none;
}

.ds-firm .ds-lawyer-plaque-role{
  position: relative;
  margin: 4px 0 0;
  font-size: clamp(0.67rem, 0.7vw, 0.82rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A6801C;
  text-shadow: none;
}

.ds-firm .ds-lawyer-portrait{
  position: relative;
  z-index: 3;
  margin: 0;
  pointer-events: none;
  background: transparent;
  overflow: hidden;
}

.ds-firm .ds-lawyer-portrait img{
  display: block;
  width: 100%;
  height: clamp(280px, 24vw, 400px);
  max-height: 400px;
  object-fit: contain;
  object-position: center bottom;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none !important;
  clip-path: inset(0 0 14% 0);
  transform: translate3d(0, 0, 0) scale(1);
  filter: none !important;
  will-change: transform, filter;
}

.ds-firm .ds-lawyer-portrait img[data-cutout="0"]{
  mix-blend-mode: normal;
}

.ds-firm .ds-lawyer-node.is-panel-open .ds-lawyer-plaque{
  z-index: 12;
  box-shadow: 0 10px 26px rgba(10,10,10,0.22);
}

.ds-firm .ds-lawyer-node.is-name-ping .ds-lawyer-plaque-name{
  animation: ds-lawyer-name-ping 0.62s ease-out 1;
}

@keyframes ds-lawyer-name-ping {
  0% {
    text-shadow: 0 0 0 rgba(212,175,55,0);
  }
  58% {
    text-shadow: 0 0 12px rgba(212,175,55,0.44), 0 0 22px rgba(247,233,199,0.36);
  }
  100% {
    text-shadow: 0 0 4px rgba(212,175,55,0.22), 0 0 12px rgba(247,233,199,0.18);
  }
}

@media (max-width: 1180px){
  .ds-firm .ds-lawyer-cluster{
    column-gap: clamp(24px, 4vw, 60px);
  }

  .ds-firm .ds-lawyer-node--b,
  .ds-firm .ds-lawyer-node--d{
    margin-top: 0;
  }
}

@media (max-width: 920px){
  .ds-firm .ds-lawyer-cluster{
    max-width: min(860px, 100%);
    column-gap: clamp(18px, 3.2vw, 34px);
    row-gap: clamp(10px, 2.4vw, 20px);
    padding-bottom: clamp(28px, 4vw, 40px);
  }

  .ds-firm .ds-lawyer-cluster > article.ds-lawyer-node:nth-of-type(even){
    --lawyer-editorial-y: 0px;
  }

  .ds-firm .ds-lawyer-node{
    width: min(100%, 320px);
  }

  .ds-firm .ds-lawyer-node.is-expand-up .ds-lawyer-link{
    padding-top: clamp(34px, 5vw, 60px);
  }
}

@media (max-width: 760px){
  .ds-section-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .ds-firm .ds-lawyer-cluster{
    max-width: min(560px, 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 4vw, 22px);
    align-items: end;
  }

  .ds-firm .ds-lawyer-node,
  .ds-firm .ds-lawyer-node--a,
  .ds-firm .ds-lawyer-node--b,
  .ds-firm .ds-lawyer-node--c,
  .ds-firm .ds-lawyer-node--d{
    position: relative;
    inset: auto;
    width: 100%;
    transform: translate3d(0, 0, 0);
    margin-top: 0;
    justify-self: center;
    grid-column: auto;
    grid-row: auto;
  }

  .ds-firm .ds-lawyer-spotlight{
    display: none;
  }

  .ds-firm .ds-lawyer-node.is-expand-up .ds-lawyer-link,
  .ds-firm .ds-lawyer-node.is-expand-down .ds-lawyer-link{
    padding-top: 20px;
    padding-bottom: 26px;
  }

  .ds-firm .ds-lawyer-node.is-expand-up .ds-lawyer-plaque,
  .ds-firm .ds-lawyer-node.is-expand-down .ds-lawyer-plaque{
    top: auto;
    bottom: 0;
  }

  .ds-firm .ds-lawyer-portrait img{
    height: clamp(240px, 58vw, 340px);
  }

  .ds-firm .ds-lawyer-plaque{
    left: 6%;
    right: 6%;
    bottom: 0;
  }
}

@media (hover: none){
  .ds-firm .ds-lawyer-plaque{
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* =========================
   9) Enhanced UI/UX Utilities
========================= */

/* Horizontal Scroll for Process & Values */
.ds-firm-process-scroll-wrapper {
  position: relative;
  overflow: hidden;
}

.ds-firm-process-horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  padding: 0;
  margin: 0;
}

.ds-firm-process-step-card {
  position: relative;
  padding: 28px;
  border-radius: var(--firm-radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--firm-border);
  box-shadow: var(--firm-shadow-soft);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all 0.42s cubic-bezier(0.2, 0.72, 0.18, 1);
  transform: translate3d(0, 0, 0);
  will-change: transform, box-shadow;
}

.ds-firm-process-step-card:hover {
  box-shadow: var(--firm-shadow);
  transform: translate3d(0, -8px, 0);
  background: rgba(255, 255, 255, 0.96);
}

.ds-firm-process-step-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.8), rgba(200, 162, 74, 0.2));
  border-radius: var(--firm-radius) var(--firm-radius) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ds-firm-process-step-card:hover::before {
  opacity: 1;
}

.ds-firm-process-step-title {
  font-size: 1.24rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: rgba(7, 27, 47, 0.96);
}

.ds-firm-process-step-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(16, 18, 23, 0.68);
  margin: 0;
  flex-grow: 1;
}

.ds-firm-process-index {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 162, 74, 0.88);
  margin-bottom: 12px;
}

/* Values Band - Asymmetric Layout */
.ds-firm-valuesband-asymmetric {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: start;
}

.ds-firm-valuesband-photo-container {
  position: relative;
  border-radius: var(--firm-radius-lg);
  overflow: hidden;
  box-shadow: var(--firm-shadow);
  transform: rotate(-2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.72, 0.18, 1);
}

.ds-firm-valuesband-photo-container:hover {
  transform: rotate(-1deg) scale(1.02);
}

.ds-firm-valuesband-photo-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) brightness(1.02);
}

.ds-firm-valuesband-content {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
}

.ds-firm-valuesband-list {
  display: grid;
  gap: 20px;
}

.ds-firm-valuesband-item-enhanced {
  position: relative;
  padding: 20px 0 20px 28px;
  border-left: 3px solid rgba(200, 162, 74, 0.3);
  transition: all 0.3s ease;
}

.ds-firm-valuesband-item-enhanced:hover {
  padding-left: 36px;
  border-left-color: rgba(200, 162, 74, 0.8);
}

.ds-firm-valuesband-item-enhanced::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(200, 162, 74, 0.4);
  transition: all 0.3s ease;
}

.ds-firm-valuesband-item-enhanced:hover::before {
  background: rgba(200, 162, 74, 0.9);
  left: -11px;
  width: 24px;
  height: 24px;
  top: 18px;
  box-shadow: 0 0 16px rgba(200, 162, 74, 0.3);
}

.ds-firm-valuesband-item-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: rgba(7, 27, 47, 0.96);
  margin-bottom: 6px;
}

.ds-firm-valuesband-item-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(16, 18, 23, 0.68);
  margin: 0;
}

/* Feature Band - Asymmetric Enhancement */
.ds-firm-featureband-asymmetric {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.ds-feature-media-enhanced {
  position: relative;
  border-radius: var(--firm-radius-lg);
  overflow: hidden;
  box-shadow: var(--firm-shadow);
  transform: rotate(1.5deg) skew(-1deg);
  transition: all 0.6s cubic-bezier(0.2, 0.72, 0.18, 1);
}

.ds-feature-media-enhanced:hover {
  transform: rotate(0deg) skew(0deg) scale(1.02);
}

.ds-feature-media-enhanced img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.08);
}

.ds-feature-media-enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom right, rgba(200, 162, 74, 0.15), transparent 65%);
  pointer-events: none;
}

/* Leadership Cards - Enhanced Interactivity */
.ds-team-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  grid-auto-rows: auto;
}

.ds-lead-card-enhanced {
  position: relative;
  border-radius: var(--firm-radius-lg);
  overflow: hidden;
  box-shadow: var(--firm-shadow-soft);
  background: white;
  transition: all 0.42s cubic-bezier(0.2, 0.72, 0.18, 1);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ds-lead-card-enhanced:hover {
  box-shadow: 0 28px 52px rgba(10, 25, 47, 0.16);
  transform: translate3d(0, -12px, 0);
}

.ds-lead-link-enhanced {
  position: relative;
  text-decoration: none;
  display: block;
  color: inherit;
  z-index: 1;
}

.ds-lead-frame-enhanced {
  position: relative;
  overflow: hidden;
  background: rgba(16, 18, 23, 0.04);
}

.ds-lead-portrait-enhanced {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0f0f0;
}

.ds-lead-portrait-enhanced img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.52s cubic-bezier(0.2, 0.72, 0.18, 1);
  filter: saturate(0.9) grayscale(10%);
}

.ds-lead-card-enhanced:hover .ds-lead-portrait-enhanced img {
  filter: saturate(1.1) grayscale(0%) brightness(1.05);
  transform: scale(1.08);
}

.ds-lead-panel-enhanced {
  position: relative;
  padding: 20px 18px;
  background: white;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ds-lead-panel-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(200, 162, 74, 0.8), rgba(200, 162, 74, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ds-lead-card-enhanced:hover .ds-lead-panel-enhanced::before {
  opacity: 1;
}

.ds-lead-name-enhanced {
  font-size: 1.16rem;
  font-weight: 700;
  color: rgba(7, 27, 47, 0.96);
  margin: 0 0 4px;
  line-height: 1.3;
}

.ds-lead-role-enhanced {
  font-size: 0.88rem;
  color: rgba(200, 162, 74, 0.88);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* "Who" Section - Enhanced Asymmetry */
.ds-firm-who-intro-asymmetric {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--who-safe-lane);
  margin: 0 0 clamp(120px, 15vh, 200px) 0;
  margin-left: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.94);
  will-change: transform;
  padding: clamp(24px, 3vw, 34px) clamp(24px, 3.4vw, 40px);
  border-radius: 28px;
  background: rgba(9, 21, 34, 0.18);
  box-shadow: 0 18px 44px rgba(4, 10, 18, 0.22);
  backdrop-filter: blur(8px) brightness(0.76);
  -webkit-backdrop-filter: blur(8px) brightness(0.76);
  transform: translate3d(0, 0, 0);
  transition: none;
}

.ds-firm-who-intro-asymmetric:hover {
  transform: translate3d(0, 0, 0);
  transition: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .ds-firm-valuesband-asymmetric,
  .ds-firm-featureband-asymmetric {
    grid-template-columns: 1fr;
  }

  .ds-firm-valuesband-photo-container,
  .ds-feature-media-enhanced {
    transform: rotate(0deg) skew(0deg);
  }

  .ds-firm-who-intro-asymmetric {
    text-align: center;
    transform: translateX(0) skewY(0deg);
  }
}

@media (max-width: 768px) {
  .ds-team-grid-enhanced {
    grid-template-columns: 1fr;
  }

  .ds-firm-process-horizontal {
    grid-template-columns: 1fr;
  }

  .ds-firm-valuesband-item-enhanced {
    padding: 16px 0 16px 20px;
  }
}

/* Hover */
.ds-lead-link:hover .ds-lead-panel{
  transform: translateY(-2px);
  border-color: rgba(16,18,23,0.14);
  box-shadow:
    0 24px 54px rgba(16,18,23,0.14),
    0 1px 0 rgba(255,255,255,0.70) inset;
}

.ds-lead-name::after{
  content:"";
  display:block;
  width: 24px;
  height: 1px;
  background: rgba(16,18,23,0.14);
  margin-top: 8px;
}



/* =========================
   11) CTA
========================= */
.ds-firm-cta {
  padding: 60px 0;
}

.ds-firm-cta .ds-cta-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-top: 2px solid rgba(212, 175, 55, 0.8);
  border-radius: 12px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (max-width: 992px) {
  .ds-firm-cta .ds-cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.ds-cta-title {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  color: #050C1D;
}

.ds-cta-subtitle {
  margin: 8px 0 0;
  max-width: var(--firm-prose);
  color: #626C7D;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   12) Decor images
========================= */
.ds-firm-decor{
  position:absolute;
  pointer-events:none;
  user-select:none;
  z-index: 0;
  opacity: .18;
  filter: saturate(0.95) contrast(1.02);
}
.ds-firm-decor--who{ right: -70px; top: 0; }
.ds-firm-decor--accolades{ right: -70px; bottom: -24px; width: 300px; opacity: .22; }
@media (max-width: 992px){
  .ds-firm-decor--who,
  .ds-firm-decor--accolades{ display:none; }
}

/* =========================================================
   Hero actions (Book + Back)
========================================================= */
.ds-pro-actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Your .ds-pro a:hover adds underline — disable it for buttons */
.ds-pro a.btn,
.ds-pro a.btn:hover{
  text-decoration: none !important;
}

/* Center the icon buttons under the portrait */
.ds-pro .ds-pro-contact{
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.ds-pro .ds-pro-icons{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* =========================
   13) Who Scrollytelling Cage
========================= */
.ds-firm .ds-firm-who{
  --who-lane-gap: clamp(34px, 4vw, 64px);
  --who-card-width: min(360px, calc(100% - 96px));
}

.ds-firm .ds-firm-who-stage{
  position: relative;
  min-height: 100vh;
  padding: clamp(56px, 8vh, 96px) 0;
}

.ds-firm .ds-firm-who-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--who-lane-gap);
  align-items: start;
  width: 100%;
}

.ds-firm .ds-firm-who-text-lane{
  position: relative;
  z-index: 20;
  min-height: auto;
  display: block;
}

.ds-firm .ds-firm-who-value-lane{
  position: relative;
  z-index: 10;
  min-height: auto;
  overflow: visible;
  padding-top: 0;
}

.ds-firm .ds-firm-who-intro-text{
  position: relative;
  z-index: 20;
  padding: clamp(24px, 2.8vw, 40px);
  border-radius: 26px;
  text-align: left;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 24px rgba(6,16,28,0.16);
  margin-top: 0;
}

.ds-firm .ds-firm-who-intro-text > *,
.ds-firm .ds-firm-orbit-card > *{
  position: relative;
  z-index: 2;
}

.ds-firm .ds-firm-who-intro-text .ds-eyebrow--left{
  margin-bottom: 12px;
}

.ds-firm .ds-firm-who-intro-text .section-title{
  margin-bottom: 16px;
}

.ds-firm .ds-firm-who-fragments{
  gap: 14px;
}

.ds-firm .ds-firm-who-fragment{
  font-size: clamp(1.02rem, 1.08vw, 1.18rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  opacity: 1;
}

.ds-firm .ds-firm-word{
  color: inherit;
}

.ds-firm .ds-firm-orbit{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vh, 22px);
  width: 100%;
  min-height: auto;
  align-content: start;
}

.ds-firm .ds-firm-orbit-card{
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  min-height: 138px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: 8px;
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 20px rgba(6,16,28,0.14);
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: none;
  animation: none;
}

.ds-firm .ds-firm-who .ds-firm-word,
.ds-firm .ds-firm-who .ds-firm-word.is-active,
.ds-firm .ds-firm-who .ds-firm-keyword,
.ds-firm .ds-firm-who .ds-firm-keyword.is-glowing{
  transition: none;
}

/* Keep cards beside the paragraph with no offsets for now */
.ds-firm .ds-firm-orbit-card--1,
.ds-firm .ds-firm-orbit-card--2,
.ds-firm .ds-firm-orbit-card--3,
.ds-firm .ds-firm-orbit-card--4,
.ds-firm .ds-firm-orbit-card--5,
.ds-firm .ds-firm-orbit-card--compliance{
  grid-column: auto;
  grid-row: auto;
  justify-self: stretch;
  align-self: auto;
  top: auto;
  left: auto;
}

.ds-firm .ds-firm-orbit-card__meta{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.ds-firm .ds-firm-orbit-card__title{
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: rgba(255,255,255,0.96);
}

.ds-firm .ds-firm-orbit-card__body{
  margin: 0;
  font-size: .98rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.84);
}

.ds-firm .ds-firm-orbit-card:hover,
.ds-firm .ds-firm-orbit-card:focus-visible,
.ds-firm .ds-firm-orbit-card.is-focused{
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 10px 26px rgba(6,16,28,0.20);
}

@media (max-width: 992px){
  .ds-firm .ds-firm-who-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ds-firm .ds-firm-who-text-lane{
    min-height: auto;
    display: block;
  }

  .ds-firm .ds-firm-who-intro-text{
    text-align: center;
  }

  .ds-firm .ds-firm-who-intro-text .ds-eyebrow--left{
    display: inline-flex;
    justify-content: center;
  }

  .ds-firm .ds-firm-who-value-lane,
  .ds-firm .ds-firm-orbit{
    min-height: auto;
  }

  .ds-firm .ds-firm-orbit-card,
  .ds-firm .ds-firm-orbit-card--1,
  .ds-firm .ds-firm-orbit-card--2,
  .ds-firm .ds-firm-orbit-card--3,
  .ds-firm .ds-firm-orbit-card--4,
  .ds-firm .ds-firm-orbit-card--5,
  .ds-firm .ds-firm-orbit-card--compliance{
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    opacity: 1;
  }
}

@media (max-width: 640px){
  .ds-firm .ds-firm-who-fragment{
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ds-feature-media img{
    transition: none;
  }

  .ds-firm .ds-firm-orbit-card{
    animation: none;
  }

  .ds-firm .ds-firm-who-media,
  .ds-firm .ds-firm-who-intro,
  .ds-firm .ds-firm-who-intro-text{
    transform: none !important;
  }

  .ds-firm .ds-firm-word,
  .ds-firm .ds-firm-word.is-active{
    opacity: 1 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.42);
    font-weight: 500;
  }
}

/* =========================
   14) Who We Are Polish
   Final override to normalize legacy rule collisions.
========================= */
.ds-firm .ds-firm-who{
  --who-content-max: 920px;
  --who-read-progress: 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  min-height: auto;
  background:
    radial-gradient(1080px 520px at 16% 0%, rgba(200,162,74,0.22), transparent 62%),
    linear-gradient(180deg, #122a45 0%, #10243b 42%, #0e2033 100%);
}

.ds-firm .ds-firm-who-video{
  min-height: 100%;
  opacity: 0.5;
  filter: saturate(0.84) contrast(1.03) brightness(0.96);
}

.ds-firm .ds-firm-who-media__veil{
  background:
    linear-gradient(180deg, rgba(10,23,38,0.24) 0%, rgba(10,23,38,0.38) 36%, rgba(10,23,38,0.55) 100%),
    radial-gradient(980px 520px at 10% -8%, rgba(200,162,74,0.18), transparent 66%);
}

.ds-firm .ds-firm-who-stage{
  min-height: auto;
  padding: clamp(56px, 7vw, 92px) 0;
}

.ds-firm .ds-firm-who-grid{
  max-width: var(--who-content-max);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.ds-firm .ds-firm-who-text-lane{
  max-width: 100%;
}

.ds-firm .ds-firm-who-intro-text{
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 40px rgba(4,12,22,0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ds-firm .ds-firm-who-intro-text::before{
  display: none;
}

.ds-firm .ds-firm-who-intro-text::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: min(100%, calc(var(--who-read-progress) * 100%));
  height: 3px;
  background: linear-gradient(90deg, rgba(243,216,130,0.92), rgba(243,216,130,0.22));
  box-shadow: 0 0 12px rgba(243,216,130,0.34);
  pointer-events: none;
  transition: width .12s linear;
}

.ds-firm .ds-firm-who-intro-text .section-title{
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 3.8vw, 3.25rem);
}

.ds-firm .ds-firm-who-fragments{
  display: grid;
  gap: clamp(14px, 2.1vw, 22px);
}

.ds-firm .ds-firm-who-fragment{
  margin: 0;
  font-size: clamp(1rem, 1.02vw, 1.08rem);
  line-height: 1.86;
  color: rgba(215,231,247,0.72);
  opacity: .94;
  text-shadow: none;
  transition: color .28s ease, opacity .28s ease;
}

.ds-firm .ds-firm-who-fragment.is-reading{
  color: rgba(236,244,253,0.96);
  opacity: 1;
}

.ds-firm .ds-firm-who .ds-firm-word{
  opacity: .12;
  color: rgba(219,233,248,0.44);
  text-shadow: none;
  transition: opacity .18s linear, color .18s linear, text-shadow .18s linear, font-weight .18s linear;
}

.ds-firm .ds-firm-who .ds-firm-word.is-active{
  opacity: 1;
  color: rgba(243,248,255,0.98);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}

.ds-firm .ds-firm-who .ds-firm-keyword,
.ds-firm .ds-firm-who .ds-firm-keyword.is-glowing{
  color: inherit;
  font-weight: inherit;
  text-shadow: none;
}

.ds-firm .ds-firm-who-value-lane,
.ds-firm .ds-firm-who .ds-firm-orbit,
.ds-firm .ds-firm-who .ds-firm-orbit-card{
  display: none !important;
}

@media (max-width: 992px){
  .ds-firm .ds-firm-who{
    --who-content-max: 100%;
  }

  .ds-firm .ds-firm-who-stage{
    padding: clamp(48px, 9vw, 72px) 0;
  }

  .ds-firm .ds-firm-who-grid{
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ds-firm .ds-firm-who-intro-text{
    text-align: left;
  }

  .ds-firm .ds-firm-who-intro-text .ds-eyebrow--left{
    display: inline-block;
  }
}

@media (max-width: 640px){
  .ds-firm .ds-firm-who{
    border-top-width: 0;
    border-bottom-width: 0;
  }

  .ds-firm .ds-firm-who-intro-text{
    padding: 18px 16px;
    border-radius: 18px;
  }

  .ds-firm .ds-firm-who-fragment{
    font-size: .96rem;
    line-height: 1.76;
  }
}

/* =========================
   15) Why Clients Story
========================= */
.ds-firm .ds-feature-story{
  --feature-bg-y: 50%;
  --feature-gold: rgba(244,216,128,0.9);
  position: relative;
  background-color: #050C1D;
  background-image:
    linear-gradient(to bottom, #050C1D 0%, transparent 15%, transparent 85%, #050C1D 100%),
    linear-gradient(90deg,
      rgba(5,12,29,0.98) 0%,
      rgba(5,12,29,0.95) 34%,
      rgba(5,12,29,0.78) 56%,
      rgba(5,12,29,0.52) 72%,
      rgba(5,12,29,0.34) 100%
    ),
    var(--feature-stage-image);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  background-position: center center, center center, center var(--feature-bg-y);
  background-attachment: scroll, scroll, fixed;
  color: #ffffff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0px -100px 150px rgba(0,0,0,1);
}

.ds-firm .ds-feature-story::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(140% 120% at 50% 50%, transparent 38%, rgba(2,8,18,0.62) 100%),
    linear-gradient(180deg, rgba(1,5,12,0.18), rgba(1,5,12,0.38));
}

.ds-firm .ds-feature-story::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, #050C1D 0%, transparent 15%, transparent 85%, #050C1D 100%);
}

.ds-firm .ds-feature-story .container{
  position: relative;
  z-index: 2;
}

.ds-firm .ds-feature-celestial-head{
  max-width: 72ch;
  margin: 0 0 clamp(20px, 2.8vw, 36px);
}

.ds-firm .ds-feature-celestial-title{
  margin: 0;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.14rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.ds-firm .ds-feature-celestial-sub{
  margin: clamp(14px, 2vw, 20px) 0 0;
  max-width: 62ch;
  font-family: "Montserrat", "Poppins", "Segoe UI", sans-serif;
  font-size: max(18px, 1.02rem);
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}

.ds-firm .ds-feature-celestial-stage{
  position: relative;
  min-height: clamp(560px, 58vw, 740px);
  overflow: hidden;
}

.ds-firm .ds-feature-celestial-links{
  position: absolute;
  inset: 4% 2% 7%;
  width: 96%;
  height: 89%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.ds-firm .ds-feature-link-path{
  fill: none;
  stroke: url(#ds-feature-link-gradient);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.86;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.5));
}

.ds-firm .ds-feature-celestial-nodes{
  position: relative;
  min-height: inherit;
  z-index: 2;
}

.ds-firm .ds-feature-node{
  position: absolute;
  width: min(35vw, 390px);
  min-width: 282px;
  min-height: 250px;
  padding: clamp(24px, 2.2vw, 30px);
  border-radius: 12px;
  border: 1px solid;
  border-image-source: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.6) 0%,
    rgba(212, 175, 55, 0) 30%,
    rgba(212, 175, 55, 0) 70%,
    rgba(212, 175, 55, 0.4) 100%
  );
  border-image-slice: 1;
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.02),
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 18px 46px rgba(2,8,18,0.38),
    inset 0 1px 0 rgba(255,255,255,0.36);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  display: grid;
  align-content: start;
  gap: 14px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-firm .ds-feature-node::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.28), transparent 48%);
  opacity: .6;
}

.ds-firm .ds-feature-node:hover{
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.02),
    0 15px 40px rgba(212, 175, 55, 0.2),
    0 18px 46px rgba(2,8,18,0.38),
    inset 0 1px 0 rgba(255,255,255,0.36);
}

.ds-firm .ds-feature-node > *{
  position: relative;
  z-index: 1;
}

.ds-firm .ds-feature-node--1{
  left: 2%;
  top: 6%;
}

.ds-firm .ds-feature-node--2{
  right: 2%;
  top: 27%;
}

.ds-firm .ds-feature-node--3{
  left: 24%;
  bottom: 6%;
}

.ds-firm .ds-feature-node__meta{
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
}

.ds-firm .ds-feature-node__title{
  margin: 0;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.48rem, 1.9vw, 2rem);
  line-height: 1.2;
  color: #ffffff;
}

.ds-firm .ds-feature-node__copy{
  margin: 0;
  font-family: "Montserrat", "Poppins", "Segoe UI", sans-serif;
  font-size: max(18px, 1.02rem);
  line-height: 1.84;
  color: rgba(255,255,255,0.96);
}

.ds-firm .ds-feature-story-ribbon{
  margin-top: clamp(20px, 3vw, 32px);
  padding: 14px 0 8px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.14);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.ds-firm .ds-feature-story-ribbon__track{
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.ds-firm .ds-feature-story-ribbon__tag{
  font-family: "Montserrat", "Poppins", sans-serif;
  font-size: max(18px, 1rem);
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  letter-spacing: .01em;
}

@media (max-width: 1100px){
  .ds-firm .ds-feature-celestial-stage{
    min-height: clamp(520px, 66vw, 690px);
  }

  .ds-firm .ds-feature-node{
    width: min(38vw, 370px);
  }

  .ds-firm .ds-feature-node--3{
    left: 20%;
  }
}

@media (max-width: 900px){
  .ds-firm .ds-feature-story{
    background-attachment: scroll, scroll;
    background-position: center center, center center;
  }

  .ds-firm .ds-feature-celestial-stage{
    min-height: auto;
  }

  .ds-firm .ds-feature-celestial-links{
    display: none;
  }

  .ds-firm .ds-feature-celestial-nodes{
    display: grid;
    gap: 16px;
    min-height: 0;
  }

  .ds-firm .ds-feature-node,
  .ds-firm .ds-feature-node--1,
  .ds-firm .ds-feature-node--2,
  .ds-firm .ds-feature-node--3{
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    min-height: auto;
    border-radius: 24px;
  }
}

@media (max-width: 640px){
  .ds-firm .ds-feature-celestial-title{
    font-size: clamp(1.42rem, 7vw, 2.12rem);
  }

  .ds-firm .ds-feature-celestial-sub,
  .ds-firm .ds-feature-node__copy,
  .ds-firm .ds-feature-story-ribbon__tag{
    font-size: 18px;
  }

  .ds-firm .ds-feature-story-ribbon{
    margin-top: 14px;
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-feature-link-path{
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .ds-firm .ds-feature-node,
  .ds-firm .ds-feature-link-group,
  .ds-firm .ds-feature-story-ribbon__track{
    transform: none !important;
  }
}

/* =========================
   16) Hero Curtain Reveal
========================= */
.ds-firm{
  isolation: isolate;
}

.ds-firm .ds-firm-curtain-wrap{
  position: relative;
  z-index: 1;
}

.ds-firm .ds-firm-curtain-wrap > .ds-firm-hero{
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.ds-firm .ds-firm-curtain-wrap > .ds-firm-hero .container{
  width: 100%;
}

.ds-firm .ds-firm-curtain-wrap > .ds-firm-who{
  position: relative;
  z-index: 6;
  margin-top: -10svh;
  box-shadow: 0 -26px 56px rgba(2,10,22,0.40);
}

@media (max-width: 992px){
  .ds-firm .ds-firm-curtain-wrap > .ds-firm-hero{
    position: relative;
    min-height: auto;
  }

  .ds-firm .ds-firm-curtain-wrap > .ds-firm-who{
    margin-top: 0;
    box-shadow: none;
  }
}

/* =========================
   17) Vision & Mission Celestial Horizon
========================= */
.ds-firm .ds-firm-vm{
  --vm-bleed-progress: 0;
  --vm-horizon-scale: 1;
  position: relative;
  z-index: 4;
  isolation: isolate;
  overflow: visible;
  color: rgba(251,250,247,0.96);
  background-color: #050C1D;
  background-image: url('../../img/firm/marblepillars.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  padding-block: clamp(86px, 10vw, 136px) clamp(176px, 20vw, 272px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ds-firm .ds-firm-vm::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.2;
  background-image: url('../../img/firm/marblepillars.png');
  background-repeat: repeat;
  background-size: auto;
  background-position: center;
  background-attachment: local;
  mix-blend-mode: overlay;
  filter: brightness(0.94) contrast(1.08);
}

.ds-firm .ds-firm-vm::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -200px;
  height: 226px;
  pointer-events: none;
  z-index: 2;
  opacity: calc(0.34 + (var(--vm-bleed-progress) * 0.66));
  transform: translate3d(0, calc(var(--vm-bleed-progress) * 18px), 0);
  background:
    radial-gradient(140% 120% at 50% -12%, rgba(5,12,29,0.92) 0%, rgba(5,12,29,0.62) 52%, rgba(5,12,29,0.12) 84%, rgba(5,12,29,0) 100%),
    linear-gradient(180deg, rgba(5,12,29,0.9) 0%, rgba(5,12,29,0.58) 42%, rgba(5,12,29,0.06) 86%, rgba(5,12,29,0) 100%);
  -webkit-mask-image:
    radial-gradient(160% 96% at 50% -8%, #000 58%, rgba(0,0,0,0.96) 68%, rgba(0,0,0,0.62) 80%, rgba(0,0,0,0.20) 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:
    radial-gradient(160% 96% at 50% -8%, #000 58%, rgba(0,0,0,0.96) 68%, rgba(0,0,0,0.62) 80%, rgba(0,0,0,0.20) 90%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.ds-firm .ds-firm-vm .container{
  position: relative;
  z-index: 4;
}

.ds-firm .ds-vm-stage{
  position: relative;
  margin: 0 auto;
  max-width: min(1240px, 100%);
  min-height: clamp(620px, 68vw, 860px);
}

.ds-firm .ds-vm-stage::before{
  content: "";
  position: absolute;
  width: min(650px, 84vw);
  aspect-ratio: 1;
  left: clamp(-70px, -3vw, 28px);
  top: clamp(-130px, -8vw, -46px);
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 42%, rgba(212,175,55,0) 72%);
  filter: blur(8px);
}

.ds-firm .ds-firm-vm .ds-vm-card{
  position: absolute;
  margin: 0;
  padding: clamp(30px, 3.4vw, 50px);
  border-radius: clamp(20px, 2.2vw, 30px);
  border: none;
  background: linear-gradient(160deg, rgba(8,18,38,0.9) 0%, rgba(7,15,33,0.84) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.15));
  box-shadow:
    0 22px 48px rgba(2,10,20,0.42),
    0 38px 92px rgba(2,8,18,0.26),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 0 15px rgba(255,255,255,0.01);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  overflow: hidden;
}

.ds-firm .ds-firm-vm .ds-vm-card::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, #D4AF37 0%, rgba(212,175,55,0.6) 50%, #D4AF37 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.8;
}

.ds-firm .ds-firm-vm .ds-vm-card > *{
  position: relative;
  z-index: 2;
}

.ds-firm .ds-firm-vm .ds-vm-card--vision{
  width: min(76ch, calc(100% - clamp(210px, 20vw, 360px)));
  left: clamp(14px, 5vw, 96px);
  top: clamp(4px, 2vw, 36px);
  z-index: 3;
}

.ds-firm .ds-firm-vm .ds-vm-card--mission{
  width: min(66ch, calc(100% - clamp(56px, 10vw, 210px)));
  right: clamp(8px, 5vw, 98px);
  top: clamp(300px, 34vw, 470px);
  z-index: 5;
}

.ds-firm .ds-firm-vm .ds-vm-label{
  margin: 0;
  font-size: clamp(16px, 1.15vw, 19px);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.95);
}

.ds-firm .ds-firm-vm .ds-vm-rule{
  width: clamp(92px, 8vw, 132px);
  height: 2px;
  margin: 14px 0 20px;
  background: linear-gradient(90deg, rgba(212,175,55,0.9), rgba(212,175,55,0.18));
  box-shadow: 0 0 14px rgba(212,175,55,0.34);
}

.ds-firm .ds-firm-vm .ds-vm-text{
  display: grid;
  gap: 14px;
}

.ds-firm .ds-firm-vm .ds-vm-text p{
  margin: 0;
  font-size: clamp(1.12rem, 1.18vw, 1.34rem);
  line-height: 1.92;
  color: rgba(224,232,243,0.92);
  opacity: 0.86;
  transform: translate3d(0, -6px, 0);
  will-change: opacity, transform, color;
}

.ds-firm .ds-firm-vm .muted{
  color: rgba(221,224,230,0.8);
}

.ds-firm .ds-firm-valuesband{
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px){
  .ds-firm .ds-vm-stage{
    min-height: clamp(640px, 86vw, 920px);
  }

  .ds-firm .ds-firm-vm .ds-vm-card--vision{
    width: min(70ch, calc(100% - 72px));
    left: 0;
  }

  .ds-firm .ds-firm-vm .ds-vm-card--mission{
    width: min(62ch, calc(100% - 56px));
    right: 0;
    top: clamp(318px, 45vw, 520px);
  }
}

@media (max-width: 992px){
  .ds-firm .ds-firm-vm::before{
    background-attachment: scroll;
    background-size: cover;
  }
}

@media (max-width: 840px){
  .ds-firm .ds-firm-vm{
    padding-block: clamp(62px, 10vw, 92px) clamp(102px, 17vw, 146px);
  }

  .ds-firm .ds-firm-vm::after{
    bottom: -160px;
    height: 180px;
  }

  .ds-firm .ds-vm-stage{
    min-height: 0;
    display: grid;
    gap: 18px;
  }

  .ds-firm .ds-firm-vm .ds-vm-card,
  .ds-firm .ds-firm-vm .ds-vm-card--vision,
  .ds-firm .ds-firm-vm .ds-vm-card--mission{
    position: relative;
    inset: auto;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    padding: clamp(22px, 6.2vw, 30px);
  }

  .ds-firm .ds-vm-stage::before{
    left: 50%;
    top: -34%;
    transform: translateX(-50%);
    width: min(560px, 92vw);
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-firm-vm{
    --vm-bleed-progress: 1;
    --vm-horizon-scale: 1;
  }

  .ds-firm .ds-firm-vm .ds-vm-text p{
    opacity: 1;
    transform: none;
    color: rgba(251,250,247,0.94);
  }
}

/* =========================
   18) Core Values Radiant Bento
========================= */
.ds-firm .ds-firm-valuesband.ds-values-radiant{
  --values-navy: #050C1D;
  --values-gold: #D4AF37;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 0;
  border-bottom: 1px solid rgba(5,12,29,0.08);
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.05), transparent 50%),
    linear-gradient(to bottom, #050C1D 0%, #FFFFFF 15%, #F9F6F0 100%);
  color: var(--values-navy);
}

.ds-firm .ds-firm-valuesband.ds-values-radiant::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08)),
    url('../../img/firm/values-portrait.png'),
    radial-gradient(140% 100% at 50% 6%, rgba(255,255,255,0.7), rgba(255,255,255,0) 72%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  background-position: center center, center 36%, center center;
  background-attachment: fixed, fixed, fixed;
  filter: saturate(0.9) contrast(1.04);
}

.ds-firm .ds-firm-valuesband.ds-values-radiant::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(920px 420px at 50% 12%, rgba(255,255,255,0.52), rgba(255,255,255,0) 68%),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
}

.ds-firm .ds-firm-valuesband.ds-values-radiant .container{
  position: relative;
  z-index: 4;
}

.ds-firm .ds-values-radiant-shell{
  position: relative;
  display: grid;
  gap: clamp(24px, 3.8vw, 40px);
  padding-block: clamp(74px, 8vw, 112px);
}

.ds-firm .ds-values-radiant-head{
  max-width: 76ch;
  color: var(--values-navy);
}

.ds-firm .ds-values-radiant-head .ds-eyebrow{
  color: rgba(5,12,29,0.76);
}

.ds-firm .ds-values-radiant-title{
  margin: 8px 0 12px;
  color: var(--values-navy);
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.ds-firm .ds-values-radiant-sub{
  margin: 0;
  max-width: 65ch;
  color: rgba(5,12,29,0.78);
  font-size: clamp(1.02rem, 1.1vw, 1.18rem);
  line-height: 1.78;
}

.ds-firm .ds-values-bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: clamp(14px, 1.8vw, 24px);
  position: relative;
  z-index: 4;
}

.ds-firm .ds-values-node{
  --value-drift: 0px;
  --value-scale: 1;
  --value-brightness: 1;
  --value-rim-opacity: 0.72;
  --value-glow-strength: 0.22;
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 170px;
  padding: clamp(20px, 2.2vw, 30px);
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.12);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--values-navy);
  opacity: 1;
  filter: brightness(var(--value-brightness));
  transform: translate3d(0, var(--value-drift), 0) scale(var(--value-scale));
  box-shadow:
    0 16px 34px rgba(5,12,29,0.10),
    0 26px 56px rgba(5,12,29,0.08),
    inset 0 0 15px rgba(255,255,255,0.01);
  transition: opacity .28s ease, box-shadow .28s ease, filter .28s ease;
  will-change: transform, opacity;
  cursor: pointer;
}

.ds-firm .ds-values-node::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--value-rim-opacity);
  background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(212,175,55,0) 25%, rgba(212,175,55,0) 75%, rgba(212,175,55,0.2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.ds-firm .ds-values-node::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--value-glow-strength);
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(255,255,255,0.36), rgba(255,255,255,0) 66%),
    radial-gradient(68% 92% at 96% 100%, rgba(212,175,55,0.12), rgba(212,175,55,0) 72%);
  box-shadow: 0 0 18px rgba(212,175,55,0.2);
}

.ds-firm .ds-values-node > *{
  position: relative;
  z-index: 2;
}

.ds-firm .ds-values-node.is-dimmed{
  opacity: 0.5;
}

.ds-firm .ds-values-node.is-active{
  z-index: 7;
}

.ds-firm .ds-values-node-index{
  position: absolute;
  top: clamp(12px, 1.2vw, 18px);
  right: clamp(14px, 1.3vw, 20px);
  margin: 0;
  z-index: 1;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.15);
  user-select: none;
  pointer-events: none;
}

.ds-firm .ds-values-node-title{
  margin: 0;
  padding-right: clamp(50px, 5vw, 88px);
  color: var(--values-navy);
  font-size: clamp(1.12rem, 1.25vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: 0.05em;
  font-weight: 900;
  text-transform: uppercase;
}

.ds-firm .ds-values-node--justice .ds-values-node-title,
.ds-firm .ds-values-node--integrity .ds-values-node-title{
  font-weight: 950;
}

.ds-firm .ds-values-node-copy{
  margin: 0;
  color: rgba(5,12,29,0.78);
  font-size: clamp(0.98rem, 1.02vw, 1.1rem);
  line-height: 1.72;
}

.ds-firm .ds-values-node--justice{
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  min-height: 336px;
}

.ds-firm .ds-values-node--integrity{
  grid-column: 3 / span 2;
  grid-row: 1 / span 1;
}

.ds-firm .ds-values-node--excellence{
  grid-column: 3 / span 1;
  grid-row: 2 / span 1;
}

.ds-firm .ds-values-node--client-centeredness{
  grid-column: 4 / span 1;
  grid-row: 2 / span 1;
}

.ds-firm .ds-values-node--professional-growth{
  grid-column: 1 / span 2;
  grid-row: 3 / span 1;
}

.ds-firm .ds-values-node--collaboration{
  grid-column: 3 / span 2;
  grid-row: 3 / span 1;
}

.ds-firm .ds-values-node--service{
  grid-column: 2 / span 2;
  grid-row: 4 / span 1;
}

.ds-firm .ds-values-dust{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.ds-firm .ds-values-mote{
  position: absolute;
  left: 0;
  bottom: -56px;
  width: var(--mote-size, 6px);
  height: var(--mote-size, 6px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212,175,55,0.95) 0%, rgba(212,175,55,0.16) 68%, rgba(212,175,55,0) 100%);
  box-shadow: 0 0 8px rgba(212,175,55,0.35);
  opacity: 0;
}

@media (max-width: 1100px){
  .ds-firm .ds-values-bento{
    grid-template-columns: repeat(2, 1fr);
  }

  .ds-firm .ds-values-node--justice,
  .ds-firm .ds-values-node--integrity,
  .ds-firm .ds-values-node--professional-growth,
  .ds-firm .ds-values-node--collaboration,
  .ds-firm .ds-values-node--service{
    grid-column: span 2;
    grid-row: auto;
  }

  .ds-firm .ds-values-node--excellence,
  .ds-firm .ds-values-node--client-centeredness{
    grid-column: span 1;
    grid-row: auto;
  }

  .ds-firm .ds-values-node--justice{
    min-height: 290px;
  }
}

@media (max-width: 992px){
  .ds-firm .ds-firm-valuesband.ds-values-radiant::before{
    background-attachment: scroll, scroll, scroll;
  }
}

@media (max-width: 720px){
  .ds-firm .ds-values-radiant-shell{
    padding-block: 56px 68px;
    gap: 20px;
  }

  .ds-firm .ds-values-bento{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ds-firm .ds-values-node,
  .ds-firm .ds-values-node--justice,
  .ds-firm .ds-values-node--integrity,
  .ds-firm .ds-values-node--excellence,
  .ds-firm .ds-values-node--client-centeredness,
  .ds-firm .ds-values-node--professional-growth,
  .ds-firm .ds-values-node--collaboration,
  .ds-firm .ds-values-node--service{
    grid-column: span 1;
    grid-row: auto;
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-values-node{
    transition: none;
    transform: none !important;
  }

  .ds-firm .ds-values-dust{
    display: none;
  }
}

/* =========================
   19) How We Work Narrative Thread
========================= */
.ds-firm .ds-firm-process.ds-process-narrative{
  --process-navy: #050C1D;
  --process-gold: #D4AF37;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(5,12,29,0.08);
  border-bottom: 1px solid rgba(5,12,29,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f9f6f0 100%);
  color: var(--process-navy);
}

.ds-firm .ds-firm-process.ds-process-narrative::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(120deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06)),
    url('../../img/firm/blueprint.png');
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, center center;
  background-attachment: fixed, fixed;
  filter: saturate(0.88) contrast(1.04);
}

.ds-firm .ds-firm-process.ds-process-narrative::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(820px 360px at 50% 8%, rgba(212,175,55,0.12), rgba(212,175,55,0) 74%),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0));
}

.ds-firm .ds-firm-process.ds-process-narrative .container{
  position: relative;
  z-index: 4;
}

.ds-firm .ds-process-narrative-head{
  margin-bottom: clamp(16px, 2vw, 26px);
}

.ds-firm .ds-process-timeline{
  position: relative;
  padding: clamp(16px, 2.4vw, 32px) 0 clamp(44px, 5.2vw, 78px);
}

.ds-firm .ds-process-thread-wrap{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.ds-firm .ds-process-thread-svg{
  width: 2px;
  height: 100%;
  display: block;
  overflow: visible;
}

.ds-firm .ds-process-thread-path{
  fill: none;
  stroke: #D4AF37;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.22));
}

.ds-firm .ds-process-thread-segment{
  position: absolute;
  left: 50%;
  width: 2px;
  height: clamp(72px, 8.5vw, 118px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  opacity: 0.34;
  filter: brightness(0.9);
  background: linear-gradient(180deg, rgba(212,175,55,0), rgba(212,175,55,0.72), rgba(212,175,55,0));
  transition: opacity .24s ease, filter .24s ease;
}

.ds-firm .ds-process-thread-segment.is-active{
  opacity: 1;
  filter: brightness(1.46);
}

.ds-firm .ds-process-nodes{
  position: relative;
  z-index: 3;
  display: grid;
  gap: clamp(14px, 1.84vw, 24px);
}

.ds-firm .ds-process-node{
  --process-rim-opacity: 0.72;
  --process-glow-opacity: 0.3;
  --process-brightness: 1;
  position: relative;
  width: calc(50% - clamp(34px, 5vw, 86px));
  min-height: clamp(186px, 22vw, 248px);
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--process-navy);
  filter: brightness(var(--process-brightness));
  transform: translate3d(0, 0, 0);
  box-shadow:
    0 16px 38px rgba(5,12,29,0.12),
    0 26px 58px rgba(5,12,29,0.08),
    inset 0 0 15px rgba(255,255,255,0.01);
  transition: filter .28s ease, box-shadow .28s ease;
  will-change: transform, opacity, filter;
}

.ds-firm .ds-process-node::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--process-rim-opacity);
  background: linear-gradient(135deg, rgba(212,175,55,0.4) 0%, rgba(212,175,55,0) 25%, rgba(212,175,55,0) 75%, rgba(212,175,55,0.2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.ds-firm .ds-process-node::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--process-glow-opacity);
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(255,255,255,0.32), rgba(255,255,255,0) 64%),
    radial-gradient(66% 90% at 98% 100%, rgba(212,175,55,0.12), rgba(212,175,55,0) 72%);
}

.ds-firm .ds-process-node > *{
  position: relative;
  z-index: 2;
}

.ds-firm .ds-process-node.is-active{
  --process-rim-opacity: 1;
  --process-glow-opacity: 0.9;
  --process-brightness: 1.12;
}

.ds-firm .ds-process-node--left{
  margin-right: auto;
}

.ds-firm .ds-process-node--right{
  margin-left: auto;
}

.ds-firm .ds-process-node-connector{
  position: absolute;
  top: 50%;
  width: clamp(30px, 4.5vw, 72px);
  height: 2px;
  transform: translateY(-50%);
  opacity: 0.62;
  filter: brightness(0.95);
  transition: opacity .24s ease, filter .24s ease;
}

.ds-firm .ds-process-node--left .ds-process-node-connector{
  right: calc(clamp(30px, 4.5vw, 72px) * -1);
  background: linear-gradient(90deg, rgba(212,175,55,0.72), rgba(212,175,55,0.14));
}

.ds-firm .ds-process-node--right .ds-process-node-connector{
  left: calc(clamp(30px, 4.5vw, 72px) * -1);
  background: linear-gradient(90deg, rgba(212,175,55,0.14), rgba(212,175,55,0.72));
}

.ds-firm .ds-process-node.is-active .ds-process-node-connector{
  opacity: 1;
  filter: brightness(1.42);
}

.ds-firm .ds-process-watermark{
  position: absolute;
  right: clamp(8px, 1.4vw, 18px);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 1;
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  font-size: clamp(5.4rem, 11vw, 12rem);
  line-height: 0.86;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.2);
  user-select: none;
  pointer-events: none;
}

.ds-firm .ds-process-node-step{
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(5,12,29,0.58);
}

.ds-firm .ds-process-node-title{
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
  line-height: 1.24;
  letter-spacing: 0.03em;
  font-weight: 900;
  color: var(--process-navy);
}

.ds-firm .ds-process-node-desc{
  margin: 10px 0 0;
  color: rgba(5,12,29,0.8);
  font-size: clamp(0.98rem, 1.02vw, 1.1rem);
  line-height: 1.72;
}

@media (max-width: 992px){
  .ds-firm .ds-firm-process.ds-process-narrative::before{
    background-attachment: scroll, scroll;
  }

  .ds-firm .ds-process-thread-wrap{
    left: 20px;
    transform: none;
  }

  .ds-firm .ds-process-node,
  .ds-firm .ds-process-node--left,
  .ds-firm .ds-process-node--right{
    width: calc(100% - 54px);
    margin-left: auto;
    margin-right: 0;
  }

  .ds-firm .ds-process-node-connector{
    left: calc(clamp(30px, 4.5vw, 72px) * -1);
    right: auto;
    background: linear-gradient(90deg, rgba(212,175,55,0.14), rgba(212,175,55,0.72));
  }
}

@media (max-width: 640px){
  .ds-firm .ds-process-node{
    min-height: auto;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .ds-firm .ds-process-watermark{
    font-size: clamp(4.5rem, 24vw, 7.5rem);
  }

  .ds-firm .ds-process-node-title{
    font-size: clamp(1.08rem, 5vw, 1.32rem);
  }

  .ds-firm .ds-process-node-desc{
    font-size: 0.96rem;
    line-height: 1.66;
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-process-thread-path{
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .ds-firm .ds-process-thread-segment,
  .ds-firm .ds-process-node{
    transition: none !important;
    transform: none !important;
  }
}

/* =========================
   20) Credentials Archive
========================= */
.ds-firm .ds-firm-credentials.ds-credentials-archive{
  --cred-navy: #050C1D;
  --cred-gold: #D4AF37;
  position: relative;
  z-index: 8;
  margin-top: clamp(-74px, -6vw, -112px);
  padding-top: clamp(86px, 9vw, 136px);
  border-top: 1px solid rgba(212,175,55,0.16);
  border-bottom: 1px solid rgba(5,12,29,0.08);
  background:
    radial-gradient(980px 460px at 8% 0%, rgba(212,175,55,0.14), rgba(212,175,55,0) 72%),
    linear-gradient(180deg, #fcfaf5 0%, #f5f1e8 100%);
  box-shadow: 0 -30px 78px rgba(5,12,29,0.30);
  color: var(--cred-navy);
  clip-path: inset(0 round 0px);
}

.ds-firm .ds-firm-credentials.ds-credentials-archive::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08)),
    radial-gradient(1020px 520px at 50% -8%, rgba(255,255,255,0.54), rgba(255,255,255,0) 74%);
}

.ds-firm .ds-firm-credentials.ds-credentials-archive::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("../../img/firm/marble.png");
  background-repeat: repeat;
  background-size: 520px auto;
  background-position: center;
}

.ds-firm .ds-firm-credentials.ds-credentials-archive .container{
  position: relative;
  z-index: 3;
}

.ds-firm .ds-cred-layout{
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  column-gap: clamp(106px, 9vw, 170px);
  row-gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.ds-firm .ds-cred-copy-col{
  position: relative;
  max-width: 460px;
}

.ds-firm .ds-cred-copy-sticky{
  position: sticky;
  top: 15vh;
  width: 100%;
  max-width: 460px;
}

.ds-firm .ds-cred-title{
  margin: 10px 0 12px;
  color: var(--cred-navy);
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.ds-firm .ds-cred-paragraphs{
  display: grid;
  gap: clamp(12px, 1.5vw, 18px);
  max-width: 460px;
}

.ds-firm .ds-cred-paragraph{
  position: relative;
  padding: clamp(10px, 1.1vw, 16px) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform .28s ease;
}

.ds-firm .ds-cred-paragraph.is-focus{
  transform: translate3d(0, -2px, 0);
}

.ds-firm .ds-cred-paragraph-text{
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(5,12,29,0.84);
  font-size: clamp(1.14rem, 1.24vw, 1.34rem);
  font-weight: 500;
  line-height: 1.82;
  letter-spacing: 0.008em;
  font-family: "Poppins", "Montserrat", "Segoe UI", sans-serif;
}

.ds-firm .ds-cred-paragraph--global .ds-cred-paragraph-text{
  max-width: 56ch;
}

.ds-firm .ds-cred-term{
  display: inline-block;
  margin: 0 0.04em;
  color: rgba(5,12,29,0.95);
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ds-firm .ds-cred-term--major{
  font-size: 1.12em;
  font-weight: 800;
  color: #D4AF37;
}

.ds-firm .ds-cred-term--minor{
  font-size: 1.04em;
  font-weight: 600;
}

.ds-firm .ds-cred-cloud-col .ds-cred-map{
  position: absolute;
  inset: clamp(8px, 1vw, 18px) 0 clamp(20px, 2vw, 34px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
}

.ds-firm .ds-cred-map-svg{
  --cred-map-shift: 0px;
  width: 100%;
  height: 100%;
  display: block;
  transform: translateY(calc(-3% + var(--cred-map-shift))) scale(1.02);
  transform-origin: 50% 50%;
}

.ds-firm .ds-cred-map-outline path{
  fill: none;
  stroke: rgba(5,12,29,0.74);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ds-firm .ds-cred-link-line{
  fill: none;
  stroke: #D4AF37;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.76;
  filter: drop-shadow(0 0 5px rgba(212,175,55,0.5));
  transition: opacity .24s ease, filter .24s ease, stroke-width .24s ease;
}

.ds-firm .ds-cred-geo-node{
  fill: rgba(212,175,55,0.95);
  filter: drop-shadow(0 0 7px rgba(212,175,55,0.44));
}

.ds-firm .ds-cred-geo-node--ph{
  fill: rgba(212,175,55,1);
}

.ds-firm .ds-cred-geo-pulse{
  fill: none;
  stroke: rgba(212,175,55,0.42);
  stroke-width: 1.4;
  animation: dsCredGeoPulse 2.8s ease-in-out infinite;
}

@keyframes dsCredGeoPulse{
  0%, 100% {
    opacity: 0.25;
    transform: scale(1);
  }
  50% {
    opacity: 0.72;
    transform: scale(1.22);
  }
}

.ds-firm .ds-cred-cloud-col{
  --cred-cloud-height: clamp(620px, 88vh, 840px);
  position: relative;
  padding-left: clamp(6px, 0.8vw, 14px);
  padding-right: clamp(26px, 2.8vw, 52px);
  min-height: var(--cred-cloud-height);
  overflow: visible;
}

.ds-firm .ds-cred-cloud{
  position: relative;
  top: auto;
  z-index: 4;
  height: var(--cred-cloud-height);
  min-height: var(--cred-cloud-height);
}

.ds-firm .ds-cred-cloud::before{
  content: "";
  position: absolute;
  inset: clamp(36px, 5vw, 64px);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05), transparent 70%);
}

.ds-firm .ds-cred-badge{
  --cred-badge-scale: 1;
  --cred-badge-brightness: 1;
  --cred-badge-rim: 0.92;
  --cred-badge-glow: 0.28;
  --cred-badge-opacity: 1;
  position: absolute;
  left: var(--badge-x);
  top: var(--badge-y);
  z-index: var(--badge-z, 4);
  width: 130px;
  height: 130px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: var(--cred-badge-opacity);
  filter: brightness(var(--cred-badge-brightness));
  transform: translate(calc(-50% + var(--cred-shift-x, 0px)), calc(-50% + var(--cred-shift-y, 0px) + var(--cred-shift-scroll, 0px))) scale(var(--cred-badge-scale));
  box-shadow:
    0 14px 34px rgba(5,12,29,0.22),
    inset 0 0 18px rgba(255,255,255,0.05);
  transition: opacity .24s ease, filter .24s ease, box-shadow .24s ease;
  will-change: transform, opacity;
}

.ds-firm .ds-cred-badge::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--cred-badge-rim);
  background: linear-gradient(130deg,
    rgba(212,175,55,0.96) 0%,
    rgba(212,175,55,0.64) 14%,
    rgba(212,175,55,0.18) 34%,
    rgba(212,175,55,0.14) 66%,
    rgba(212,175,55,0.56) 84%,
    rgba(212,175,55,0.92) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.ds-firm .ds-cred-badge::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--cred-badge-glow);
  background:
    radial-gradient(84% 72% at 12% 0%, rgba(255,255,255,0.3), rgba(255,255,255,0) 66%),
    radial-gradient(64% 80% at 100% 100%, rgba(212,175,55,0.14), rgba(212,175,55,0) 74%);
}

.ds-firm .ds-cred-badge-label{
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 100%;
  color: rgba(5,12,29,0.94);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ds-firm .ds-cred-badge--serif .ds-cred-badge-label{
  font-family: "Playfair Display", "Libre Baskerville", Georgia, serif;
  letter-spacing: 0.03em;
}

.ds-firm .ds-cred-badge--sans .ds-cred-badge-label{
  font-family: "Poppins", "Montserrat", "Segoe UI", sans-serif;
  font-size: clamp(0.74rem, 1.5vw, 0.92rem);
}

.ds-firm .ds-cred-badge--sm{
  width: 90px;
  height: 90px;
}

.ds-firm .ds-cred-badge--md{
  width: 130px;
  height: 130px;
}

.ds-firm .ds-cred-badge--lg{
  width: 170px;
  height: 170px;
}

.ds-firm .ds-cred-badge.is-muted{
  --cred-badge-opacity: 0.36;
}

.ds-firm .ds-cred-badge.is-highlight{
  --cred-badge-rim: 1;
  --cred-badge-glow: 0.94;
  --cred-badge-brightness: 1.16;
  z-index: 12;
}

.ds-firm .ds-cred-badge:hover,
.ds-firm .ds-cred-badge:focus-visible,
.ds-firm .ds-cred-badge.is-node-hover{
  --cred-badge-rim: 1;
  --cred-badge-glow: 1;
  --cred-badge-brightness: 1.22;
  box-shadow:
    0 18px 38px rgba(5,12,29,0.24),
    0 0 0 1px rgba(212,175,55,0.42) inset,
    inset 0 0 18px rgba(255,255,255,0.08);
}

.ds-firm .ds-firm-credentials.ds-credentials-archive.is-node-hover .ds-cred-link-line{
  animation: dsCredLinkPulse 1.2s ease-in-out infinite;
}

@keyframes dsCredLinkPulse{
  0%, 100% {
    opacity: 0.74;
    stroke-width: 1;
    filter: drop-shadow(0 0 5px rgba(212,175,55,0.5));
  }
  50% {
    opacity: 1;
    stroke-width: 1.4;
    filter: drop-shadow(0 0 11px rgba(212,175,55,0.7));
  }
}

@media (max-width: 1080px){
  .ds-firm .ds-firm-credentials.ds-credentials-archive{
    margin-top: 0;
    padding-top: clamp(62px, 8vw, 88px);
    box-shadow: none;
  }

  .ds-firm .ds-cred-layout{
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .ds-firm .ds-cred-copy-sticky,
  .ds-firm .ds-cred-cloud{
    position: relative;
    top: auto;
  }

  .ds-firm .ds-cred-cloud-col,
  .ds-firm .ds-cred-cloud{
    min-height: clamp(460px, 62vh, 620px);
  }

  .ds-firm .ds-cred-cloud-col{
    --cred-cloud-height: clamp(460px, 62vh, 620px);
    padding-left: 0;
  }

  .ds-firm .ds-cred-cloud{
    height: var(--cred-cloud-height);
  }
}

@media (max-width: 992px){
  .ds-firm .ds-firm-credentials.ds-credentials-archive::before{
    background-attachment: scroll, scroll;
  }
}

@media (max-width: 720px){
  .ds-firm .ds-cred-layout{
    gap: 18px;
  }

  .ds-firm .ds-cred-cloud{
    height: auto;
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .ds-firm .ds-cred-badge,
  .ds-firm .ds-cred-badge--sm,
  .ds-firm .ds-cred-badge--md,
  .ds-firm .ds-cred-badge--lg{
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 999px;
    transform: none !important;
  }

  .ds-firm .ds-cred-map{
    opacity: 0.06;
  }

  .ds-firm .ds-cred-paragraph{
    padding: 10px 0;
  }
}

@media (prefers-reduced-motion: reduce){
  .ds-firm .ds-firm-credentials.ds-credentials-archive{
    clip-path: none !important;
  }

  .ds-firm .ds-cred-badge,
  .ds-firm .ds-cred-link-line,
  .ds-firm .ds-cred-map-svg{
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* =========================
   22) Stability Restore Overrides (High Priority)
   Hard resets to recover prior layout behavior after style collisions.
========================= */

/* Keep browser scrolling immediate for this page regardless of global smooth defaults. */
.ds-firm,
.ds-firm * {
  scroll-behavior: auto !important;
}

/* Hero: split-screen half-bleed where text aligns to global container and image bleeds right. */
.ds-firm .ds-firm-curtain-wrap > .ds-firm-hero,
.ds-firm .hero-split-bleed {
  --hero-bleed-container: 1200px;
  --hero-bleed-frame-h: clamp(420px, 40vw, 620px);
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative !important;
  top: auto !important;
  min-height: var(--hero-bleed-frame-h) !important;
  height: auto !important;
  padding: 0 !important;
}

.ds-firm .hero-split-bleed .hero-content-left {
  width: 50%;
  min-height: var(--hero-bleed-frame-h);
  display: flex;
  align-items: center;
  padding-left: max(16px, calc((100vw - var(--hero-bleed-container)) / 2));
  padding-right: 4rem;
  padding-top: clamp(22px, 2.4vw, 34px);
  padding-bottom: clamp(22px, 2.4vw, 34px);
  overflow: visible;
  z-index: 2;
}

.ds-firm .hero-split-bleed .hero-content-inner {
  width: min(100%, 680px);
}

.ds-firm .hero-split-bleed .hero-image-right {
  width: 50%;
  height: var(--hero-bleed-frame-h);
  min-height: var(--hero-bleed-frame-h);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  clip-path: inset(0 round 0) !important;
  box-shadow: none;
  overflow: hidden;
}

.ds-firm .hero-split-bleed .bleed-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0 !important;
  clip-path: inset(0 round 0) !important;
  filter: grayscale(8%) contrast(108%) brightness(96%) sepia(30%) saturate(122%) hue-rotate(-12deg);
}

.ds-firm .hero-split-bleed .btn-cta {
  background: #050C1D !important;
  color: #ffffff !important;
  border-color: #050C1D !important;
}

.ds-firm .hero-split-bleed .btn-cta:hover,
.ds-firm .hero-split-bleed .btn-cta:focus-visible {
  background: #050C1D !important;
  color: #ffffff !important;
  border-color: #050C1D !important;
}

.ds-firm .ds-firm-curtain-wrap > .ds-firm-who {
  margin-top: 0 !important;
  box-shadow: none !important;
}

.ds-firm .ds-firm-title {
  color: #0f2137 !important;
}

.ds-firm .ds-firm-subhead {
  color: rgba(15, 33, 55, 0.76) !important;
}

/* Who We Are: force media lane as full background behind content. */
.ds-firm .ds-firm-who {
  position: relative !important;
  overflow: hidden !important;
  min-height: clamp(560px, 72vh, 920px) !important;
}

.ds-firm .ds-firm-who-media {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.ds-firm .ds-firm-who-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0.52 !important;
}

.ds-firm .ds-firm-who-media__veil {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

.ds-firm .ds-firm-who > .container,
.ds-firm .ds-firm-who-stage,
.ds-firm .ds-firm-who-grid,
.ds-firm .ds-firm-who-text-lane,
.ds-firm .ds-firm-who-intro-text {
  position: relative !important;
  z-index: 2 !important;
}

/* Why Clients: remove sharp rectangular gold frame treatment. */
.ds-firm .ds-feature-node {
  border-image: none !important;
  border-image-source: none !important;
  border-image-slice: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

/* Meet Our Lawyers: enforce requested section backdrop asset. */
.ds-firm .ds-firm-team {
  background-color: #F7F3E9 !important;
  background-image:
    linear-gradient(180deg, rgba(247, 243, 233, 0.84), rgba(247, 243, 233, 0.9)),
    url("../../img/firm/lawyerbg.png") !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center, center !important;
  background-attachment: scroll, scroll !important;
}

/* How We Work: keep the center gold thread and connectors visible. */
.ds-firm .ds-process-thread-wrap {
  z-index: 3 !important;
}

.ds-firm .ds-process-thread-path {
  stroke: #D4AF37 !important;
  stroke-width: 2.6 !important;
  opacity: 0.95 !important;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.38)) !important;
}

.ds-firm .ds-process-thread-segment {
  opacity: 0.72 !important;
}

.ds-firm .ds-process-node-connector {
  opacity: 0.9 !important;
}

@media (max-width: 992px) {
  .ds-firm .hero-split-bleed {
    --hero-bleed-frame-h: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .ds-firm .hero-split-bleed .hero-content-left,
  .ds-firm .hero-split-bleed .hero-image-right {
    width: 100%;
  }

  .ds-firm .hero-split-bleed .hero-content-left {
    min-height: auto;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: clamp(22px, 5vw, 34px);
    padding-bottom: 14px;
  }

  .ds-firm .hero-split-bleed .hero-image-right {
    height: clamp(280px, 58vw, 440px);
    min-height: clamp(280px, 58vw, 440px);
  }

  .ds-firm .hero-split-bleed .bleed-image {
    border-radius: 0 !important;
  }

  .ds-firm .ds-firm-who {
    min-height: clamp(460px, 68vh, 760px) !important;
  }
}
