.firm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5.7vw, 92px);
  padding-block: clamp(48px, 6.2vw, 90px);
}
.firm-hero h1 { font-size: clamp(44px, 4.62vw, 72px); text-wrap: initial; overflow-wrap: anywhere; }
.firm-handover-example { margin-block: var(--step-5) var(--step-2); color: var(--muted); }
.firm-hero h1 br { display: none; }
.firm-hero em { display: block; color: var(--accent); font-style: normal; }
.firm-lead { max-width: 42ch; margin-block: var(--step-5); color: var(--muted); font-size: clamp(18px, 1.5vw, 21px); }

.firm-hero-proof {
  position: relative;
  isolation: isolate;
  padding: clamp(15px, 2.2vw, 33px);
  border: 1px solid #e5ddeb;
  border-radius: var(--radius-surface);
  background: linear-gradient(142deg, #e8dff1, #f6f2f8 61%);
}
.firm-hero-proof::before {
  position: absolute;
  z-index: -1;
  inset: 22% 5% 3.4% 8%;
  border: 1px solid #c6b5d7;
  border-radius: var(--radius-image);
  background: #f8f2fba6;
  transform: rotate(-2.7deg);
  content: "";
}
.firm-hero-proof .capture-frame { box-shadow: 0 25px 44px -28px #2c194d7d; }
.firm-hero-proof .capture-frame picture { padding: 0 var(--step-3) var(--step-3); }
.firm-hero-proof .capture-frame img { border-radius: 11px; }
.firm-case-reference { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: var(--step-4); }
.firm-case-reference strong { font-size: clamp(18px, 1.8vw, 25px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.firm-case-reference span { color: var(--muted); font-size: 13px; }
.firm-case-reference b { margin-inline-start: 3px; color: var(--ink); }

.firm-coordination, .firm-access, .firm-questions {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(28px, 5.8vw, 88px);
}
.firm-coordination { border-top: 1px solid var(--line); }
.firm-coordination h2, .firm-access h2 { max-width: 17.5ch; text-wrap: pretty; }
.firm-key-roles { margin-block: var(--step-5) var(--step-3); }
.firm-key-roles > div { padding-block: var(--step-3); border-top: 1px solid var(--line); }
.firm-key-roles dt, .firm-access-list dt { font-weight: 700; }
.firm-key-roles dd, .firm-access-list dd { margin: 3px 0 0; color: var(--muted); }
.firm-dashboard { box-shadow: 0 19px 40px -31px #401c596e; }
.firm-dashboard img { background: #f5f6f9; }

.firm-access-band { border-block: 1px solid #eae3e8; background: linear-gradient(154deg, #f3efee, #f8f5f8 90%); }
.firm-access { align-items: start; }
.firm-access-facts { margin: var(--step-3) 0 0; }
.firm-access-facts > div { display: grid; grid-template-columns: minmax(104px, 1fr) minmax(0, 2fr); gap: var(--step-2); padding-block: var(--step-2); border-bottom: 1px solid var(--line); }
.firm-access-facts dt { font-weight: 700; }
.firm-access-facts dd { margin: 0; color: var(--muted); }
.firm-handover-steps .firm-handover-check > span { border-color: var(--accent); background: var(--accent); color: white; }
.firm-access .action-row { column-gap: var(--step-4); margin-top: var(--step-4); }
.firm-access-list { margin: 0; padding: clamp(11px, 1.9vw, 28px) clamp(18px, 2.8vw, 40px); border: 1px solid #e7deea; border-radius: var(--radius-surface); background: #fdfbfe; }
.firm-access-list > div { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.5fr); align-items: baseline; gap: 4px var(--step-4); padding-block: var(--step-4); }
.firm-access-list > div + div { border-top: 1px solid var(--line); }
.firm-access-list dt { line-height: 1.25; }
.firm-access-list dt span { display: inline-block; margin-inline-start: 4px; color: var(--accent); font-size: 12px; }
.firm-access-list dd { font-size: 15px; }

.firm-handover h2 { max-width: 22ch; text-wrap: pretty; }
.firm-handover-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 58px); margin: var(--step-7) 0 var(--step-5); padding: 0; list-style: none; }
.firm-handover-steps li { position: relative; padding-top: 37px; border-top: 1px solid #d8cce8; }
.firm-handover-steps li > span { position: absolute; top: 0; left: 0; display: grid; width: 36px; height: 36px; place-items: center; translate: 0 -50%; border: 1px solid #d8cce8; border-radius: 50%; background: #f5eef9; color: var(--accent); font-size: 13px; font-weight: 720; }
.firm-handover-steps h3, .firm-next h2 { font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.036em; line-height: 1.12; text-wrap: pretty; }
.firm-handover-steps p, .firm-next h2 + p { margin-top: var(--step-3); color: var(--muted); }

.firm-next-band { border-block: 1px solid #ebe7e0; background: #f5f2ee; }
.firm-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 100px);
  padding-block: clamp(32px, 5.2vw, 76px);
}
.firm-next section + section { border-inline-start: 1px solid #e1dad4; padding-inline-start: clamp(28px, 4.6vw, 66px); }
.firm-next p { max-width: 49ch; }
.firm-next .text-link { margin-top: 6px; }

.firm-questions { align-items: start; }
.firm-questions h2 { text-wrap: pretty; }
.firm-closing {
  margin-bottom: var(--section);
  background: linear-gradient(90deg, #170d21f2, #170d21d1 55%, #170d213b), url(../assets/home-cta-violet-glass.jpg) center / cover no-repeat;
}
.firm-closing .action-row { justify-content: flex-end; }
.firm-closing p { max-width: 48ch; }

@media (max-width: 985px) {
  .firm-hero { grid-template-columns: minmax(0, 1fr); }
  .firm-hero-proof { width: min(680px, 100%); }
  .firm-closing .action-row { justify-content: flex-start; }
}
@media (max-width: 755px) {
  .firm-coordination, .firm-access, .firm-next, .firm-questions { grid-template-columns: minmax(0, 1fr); }
  .firm-handover-steps { grid-template-columns: minmax(0, 1fr); gap: var(--step-5); margin-block-start: var(--step-6); }
  .firm-handover-steps li { padding: var(--step-4) 0 0 var(--step-7); }
  .firm-handover-steps li > span { top: 10px; translate: none; }
  .firm-next section + section { border-inline-start: 0; border-top: 1px solid #e1dad4; padding: var(--step-5) 0 0; }
  .firm-closing { background-image: linear-gradient(130deg, #170d21f7, #170d21ba), url(../assets/home-cta-violet-glass-mobile.jpg); }
}
@media (max-width: 420px) {
  .firm-hero h1 { font-size: clamp(35px, 9.35vw, 42px); }
  .firm-hero-proof { padding: 12px; }
  .firm-case-reference { padding-block: var(--step-3); }
  .firm-access-list > div { grid-template-columns: minmax(0, 1fr); }
}

@media screen and (prefers-reduced-motion: no-preference) {
  .firm-hero-proof { animation: public-section-in .42s var(--ease); }
}
