:root {
  --ink: #0e1713;
  --ink-soft: #18221e;
  --ink-lift: #24302a;
  --surface: #f4f5f1;
  --surface-bright: #fbfcf9;
  --surface-cool: #e8ece8;
  --text: #14201b;
  --muted: #59655f;
  --bronze: #796349;
  --bronze-light: #c5b79c;
  --line: rgba(20, 32, 27, 0.18);
  --line-dark: rgba(245, 248, 244, 0.18);
  --display: "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --container: 1200px;
  --container-wide: 1440px;
  --page-pad: clamp(24px, 5vw, 80px);
  --section-space: clamp(88px, 10vw, 152px);
  --header-height: 84px;
  --z-sticky: 20;
  --z-scrim: 30;
  --z-nav: 40;
  --z-floating: 15;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--bronze-light);
  outline-offset: 4px;
}

.container,
.container-wide {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - (var(--page-pad) * 2)), var(--container-wide));
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface-bright);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-sticky);
  height: var(--header-height);
  color: #f5f7f4;
  border-bottom: 1px solid rgba(245, 247, 244, 0.18);
  transition: background-color 220ms ease-out, color 220ms ease-out, border-color 220ms ease-out;
}

.site-header.is-scrolled {
  background: rgba(248, 249, 246, 0.96);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  min-height: 44px;
}

.brand strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand span {
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.66;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 40px);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease-out;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-phone {
  display: none;
}

.header-call {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 44px;
}

.header-call span {
  font-size: 11px;
  opacity: 0.66;
}

.header-call strong {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.menu-toggle,
.nav-scrim {
  display: none;
}

.section {
  padding-block: var(--section-space);
}

section[id] {
  scroll-margin-top: var(--header-height);
}

.section-label {
  color: var(--bronze);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-label--dark {
  color: var(--bronze-light);
}

.hero {
  min-height: 100svh;
  background: var(--ink);
  color: #f5f7f4;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(560px, 1.14fr);
  grid-template-rows: minmax(760px, calc(100svh - 116px)) auto;
  width: 100%;
  max-width: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: calc(var(--header-height) + 64px) clamp(48px, 7vw, 116px) 72px max(var(--page-pad), calc((100vw - var(--container-wide)) / 2 + var(--page-pad)));
  background: var(--ink);
}

.hero-eyebrow {
  margin-bottom: 24px;
  color: var(--bronze-light);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.hero-role {
  max-width: 40ch;
  padding-bottom: 18px;
  color: rgba(245, 247, 244, 0.74);
  font-size: 15px;
  border-bottom: 1px solid var(--line-dark);
}

.hero h1 {
  max-width: 6em;
  margin-top: clamp(42px, 6vh, 72px);
  font-family: var(--display);
  font-size: clamp(58px, 6.6vw, 96px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.hero-lead {
  max-width: 34em;
  margin-top: 36px;
  color: rgba(245, 247, 244, 0.72);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: 220px;
  min-height: 56px;
  padding: 14px 18px 14px 22px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.button svg,
.contact-phone svg,
.mobile-call svg,
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-light {
  background: var(--surface-bright);
  color: var(--ink);
}

.button-light:hover {
  background: var(--bronze-light);
}

.hero-visual {
  min-width: 0;
  overflow: hidden;
  background: var(--ink-soft);
}

.hero-portrait,
.hero-portrait img {
  width: 100%;
  height: 100%;
}

.hero-portrait {
  position: relative;
}

.hero-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 23, 19, 0.22), transparent 28%);
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-practice-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-inline: var(--page-pad);
  background: var(--ink-soft);
  border-top: 1px solid var(--line-dark);
}

.hero-practice-list > div {
  min-width: 0;
  padding: 26px clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line-dark);
}

.hero-practice-list > div:first-child {
  padding-left: max(0px, calc((100vw - var(--container-wide)) / 2));
}

.hero-practice-list > div:last-child {
  padding-right: max(0px, calc((100vw - var(--container-wide)) / 2));
  border-right: 0;
}

.hero-practice-list dt {
  color: #f5f7f4;
  font-family: var(--display);
  font-size: 20px;
}

.hero-practice-list dd {
  margin-top: 6px;
  color: rgba(245, 247, 244, 0.62);
  font-size: 13px;
  line-height: 1.65;
}

.services {
  background: var(--surface-bright);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  margin-bottom: clamp(64px, 8vw, 104px);
}

.section-heading--split > div {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 6vw, 88px);
}

.section-heading h2,
.about-content h2,
.relationship-heading h2,
.cases-heading h2,
.contact h2 {
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 76px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-heading--split > div > p {
  max-width: 38em;
  padding-bottom: 8px;
  color: var(--muted);
}

.practice-dossiers {
  border-top: 1px solid var(--line);
}

.practice-dossier {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(260px, 0.72fr) minmax(380px, 1.3fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(46px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.practice-dossier__heading {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
}

.practice-code {
  padding-top: 5px;
  color: var(--bronze);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.practice-dossier h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.32;
}

.practice-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-cool);
}

.practice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.56) contrast(0.96);
  transition: filter 300ms ease-out, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.practice-dossier:hover .practice-photo img {
  filter: saturate(0.76) contrast(1);
  transform: scale(1.018);
}

.practice-dossier__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.practice-dossier__content h4 {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.client-questions li,
.practice-scope li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid rgba(20, 32, 27, 0.1);
  font-size: 14px;
  line-height: 1.65;
}

.client-questions li::before,
.practice-scope li::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--bronze);
  border-radius: 50%;
  content: "";
}

.about {
  background: var(--surface-cool);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(460px, 1.22fr);
  align-items: start;
  gap: clamp(64px, 10vw, 148px);
}

.portrait-frame {
  position: relative;
  width: 100%;
}

.portrait-frame::before {
  position: absolute;
  top: 28px;
  right: -28px;
  bottom: -28px;
  width: 42%;
  border-right: 1px solid var(--bronze);
  border-bottom: 1px solid var(--bronze);
  content: "";
}

.portrait-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
}

.about-content h2 {
  max-width: 9em;
  margin-top: 24px;
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(280px, 1.28fr);
  gap: 24px clamp(32px, 5vw, 70px);
  margin-top: clamp(40px, 6vw, 72px);
}

.about-copy .about-intro {
  grid-row: 1 / span 2;
  color: var(--text);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.8;
}

.about-copy p:not(.about-intro) {
  max-width: 44em;
  color: var(--muted);
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--line);
}

.profile-facts > div {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.profile-facts dd {
  margin-top: 4px;
  font-size: 16px;
}

.service-relationship {
  background: var(--ink-soft);
  color: #f4f6f3;
}

.relationship-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(64px, 10vw, 148px);
}

.relationship-heading h2 {
  max-width: 7em;
  margin-top: 24px;
}

.relationship-heading > p:last-child {
  max-width: 32em;
  margin-top: 32px;
  color: rgba(244, 246, 243, 0.65);
}

.relationship-stages {
  counter-reset: service-stage;
  border-top: 1px solid var(--line-dark);
}

.relationship-stage {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.relationship-number {
  color: var(--bronze-light);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.relationship-stage h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.relationship-stage p {
  max-width: 42em;
  margin-top: 8px;
  color: rgba(244, 246, 243, 0.64);
  font-size: 14px;
}

.cases {
  background: var(--surface-bright);
}

.cases-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(340px, 0.72fr);
  justify-content: space-between;
  gap: clamp(56px, 10vw, 160px);
  margin-bottom: clamp(60px, 8vw, 104px);
}

.cases-heading h2 {
  margin-top: 22px;
}

.case-disclaimer {
  align-self: end;
  max-width: 42em;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.case-files {
  border-top: 1px solid var(--line);
}

.case-file {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(520px, 1.24fr);
  gap: clamp(52px, 8vw, 120px);
  padding-block: clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.case-file__header {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
}

.case-file__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.case-file__meta span {
  color: var(--bronze);
  font-family: var(--display);
  font-size: 30px;
}

.case-file__meta small {
  color: var(--muted);
  font-size: 12px;
}

.case-file__header h3 {
  margin-top: 32px;
  font-family: var(--display);
  font-size: clamp(32px, 3.7vw, 50px);
  font-weight: 500;
  line-height: 1.28;
}

.case-file__header p {
  max-width: 32em;
  margin-top: 22px;
  color: var(--muted);
}

.case-file__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  align-self: start;
}

.case-field {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
}

.case-field:first-child,
.case-field:nth-child(2) {
  border-top: 0;
  padding-top: 0;
}

.case-field:last-child {
  grid-column: 1 / -1;
}

.case-field h4 {
  color: var(--bronze);
  font-size: 13px;
  font-weight: 600;
}

.case-field p {
  max-width: 42em;
  margin-top: 10px;
  color: #34413b;
  font-size: 15px;
  line-height: 1.85;
}

.contact {
  padding-block: clamp(72px, 9vw, 128px);
  background: var(--surface-cool);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(380px, 0.92fr) minmax(400px, 1.08fr);
  gap: clamp(64px, 10vw, 148px);
  padding: clamp(52px, 7vw, 92px);
  background: var(--ink);
  color: #f5f7f4;
}

.contact h2 {
  max-width: 8em;
  margin-top: 24px;
}

.contact-main > p:nth-of-type(2) {
  max-width: 35em;
  margin-top: 32px;
  color: rgba(245, 247, 244, 0.66);
}

.contact-phone {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.contact-phone span {
  color: rgba(245, 247, 244, 0.56);
  font-size: 12px;
}

.contact-phone strong {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.contact-preparation {
  margin-bottom: 48px;
}

.contact-preparation h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.contact-preparation ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.contact-preparation li {
  padding: 13px 0;
  color: rgba(245, 247, 244, 0.68);
  font-size: 14px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
}

.contact-details dt {
  color: rgba(245, 247, 244, 0.48);
  font-size: 12px;
}

.contact-details dd {
  color: rgba(245, 247, 244, 0.8);
  font-size: 14px;
}

.site-footer {
  padding-block: 30px;
  background: var(--ink);
  color: rgba(245, 247, 244, 0.52);
  border-top: 1px solid var(--line-dark);
}

.footer-minimal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
}

.footer-note {
  max-width: 58em;
  font-size: 12px;
}

.footer-copyright {
  font-size: 12px;
  white-space: nowrap;
}

.mobile-call,
.back-to-top {
  position: fixed;
  z-index: var(--z-floating);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: #f5f7f4;
  background: var(--ink);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.mobile-call.is-visible,
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-call {
  right: 82px;
  bottom: 24px;
  gap: 10px;
  padding-inline: 20px;
  font-size: 14px;
}

.mobile-call svg {
  width: 19px;
  height: 19px;
}

.back-to-top {
  right: 24px;
  bottom: 24px;
  width: 48px;
  padding: 0;
  cursor: pointer;
}

.js .reveal {
  transform: translateY(18px);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  transform: none;
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 32px;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: var(--z-nav);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: min(420px, 88vw);
    height: 100svh;
    padding: 88px 48px 48px;
    color: #f5f7f4;
    background: var(--ink);
    overscroll-behavior: contain;
    transform: translateX(104%);
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-open .primary-nav {
    transform: translateX(0);
  }

  .nav-link {
    min-height: 58px;
    font-family: var(--display);
    font-size: 24px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-link::after {
    display: none;
  }

  .nav-phone {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 32px;
  }

  .nav-phone span {
    color: rgba(245, 247, 244, 0.54);
    font-size: 12px;
  }

  .nav-phone strong {
    font-size: 22px;
    font-weight: 500;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: calc(var(--z-nav) + 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 11px;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 220ms ease-out, opacity 220ms ease-out;
  }

  .nav-open .menu-toggle {
    color: #f5f7f4;
  }

  .nav-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: var(--z-scrim);
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(3, 8, 5, 0.56);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease-out;
  }

  .nav-open .nav-scrim {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-shell {
    grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1.14fr);
  }

  .practice-dossier {
    grid-template-columns: minmax(190px, 0.62fr) minmax(230px, 0.7fr) minmax(330px, 1.2fr);
    gap: 32px;
  }

  .about-layout,
  .relationship-layout,
  .contact-panel {
    gap: 64px;
  }

  .case-file {
    grid-template-columns: minmax(260px, 0.7fr) minmax(440px, 1.3fr);
    gap: 56px;
  }
}

@media (max-width: 860px) {
  :root {
    --page-pad: 24px;
    --section-space: 88px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-copy {
    min-height: 620px;
    padding: calc(var(--header-height) + 72px) var(--page-pad) 64px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .hero-practice-list {
    grid-template-columns: 1fr;
  }

  .hero-practice-list > div,
  .hero-practice-list > div:first-child,
  .hero-practice-list > div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .hero-practice-list > div:last-child {
    border-bottom: 0;
  }

  .section-heading--split,
  .section-heading--split > div,
  .about-layout,
  .relationship-layout,
  .cases-heading,
  .case-file,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-heading--split {
    gap: 24px;
  }

  .section-heading--split > div {
    gap: 30px;
  }

  .practice-dossier {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
  }

  .practice-dossier__heading {
    grid-column: 1 / -1;
  }

  .about-layout {
    gap: 72px;
  }

  .portrait-frame {
    width: min(100%, 540px);
  }

  .relationship-layout {
    gap: 56px;
  }

  .relationship-heading h2 {
    max-width: 10em;
  }

  .cases-heading {
    gap: 28px;
  }

  .case-file {
    gap: 48px;
  }

  .case-file__header {
    position: static;
  }

  .contact-panel {
    gap: 64px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-pad: 18px;
    --section-space: 64px;
    --header-height: 68px;
  }

  body {
    font-size: 15px;
  }

  .brand {
    gap: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand span {
    display: none;
  }

  .primary-nav {
    width: 100%;
    padding-inline: 28px;
  }

  .hero--counsel-profile .hero-shell {
    grid-template-rows: minmax(690px, calc(100svh - var(--header-height))) auto;
  }

  .hero--counsel-profile .hero-copy,
  .hero--counsel-profile .hero-visual {
    grid-row: 1;
    grid-column: 1;
  }

  .hero--counsel-profile .hero-visual {
    z-index: 1;
    min-height: 690px;
  }

  .hero--counsel-profile .hero-copy {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    min-height: 690px;
    padding: 250px var(--page-pad) 30px;
    background: linear-gradient(180deg, rgba(6, 12, 9, 0.02) 0%, rgba(6, 12, 9, 0.04) 36%, rgba(6, 12, 9, 0.6) 62%, rgba(6, 12, 9, 0.96) 100%);
  }

  .hero--counsel-profile .hero-portrait::after {
    background: linear-gradient(180deg, transparent 0%, rgba(6, 12, 9, 0.08) 58%, rgba(6, 12, 9, 0.44) 100%);
  }

  .hero-portrait img {
    object-position: 52% 28%;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
    font-size: 9px;
  }

  .hero-role {
    padding-bottom: 10px;
    font-size: 12px;
    border-bottom-color: rgba(245, 247, 244, 0.34);
  }

  .hero h1 {
    max-width: 5.8em;
    margin-top: 16px;
    font-size: clamp(43px, 13vw, 56px);
    line-height: 1.04;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.68;
  }

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

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero--counsel-profile .hero-practice-list {
    grid-row: 2;
    padding-inline: var(--page-pad);
  }

  .hero-practice-list dt {
    font-size: 17px;
  }

  .hero-practice-list dd {
    font-size: 12px;
  }

  .section-label {
    font-size: 16px;
  }

  .section-heading h2,
  .about-content h2,
  .relationship-heading h2,
  .cases-heading h2,
  .contact h2 {
    font-size: clamp(36px, 10.5vw, 46px);
  }

  .section-heading--split {
    margin-bottom: 42px;
  }

  .practice-dossier {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-block: 40px;
  }

  .practice-dossier__heading {
    grid-column: auto;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .practice-dossier h3 {
    font-size: 29px;
  }

  .practice-photo {
    aspect-ratio: 16 / 9;
  }

  .practice-dossier__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .about-layout {
    gap: 44px;
  }

  .portrait-frame::before {
    top: 16px;
    right: -10px;
    bottom: -16px;
  }

  .about-content h2 {
    margin-top: 16px;
  }

  .about-copy {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 30px;
  }

  .about-copy .about-intro {
    grid-row: auto;
    font-size: 19px;
  }

  .profile-facts {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }

  .relationship-layout {
    gap: 40px;
  }

  .relationship-heading > p:last-child {
    margin-top: 22px;
  }

  .relationship-stage {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding-block: 24px;
  }

  .cases-heading {
    margin-bottom: 40px;
  }

  .case-file {
    gap: 32px;
    padding-block: 52px;
  }

  .case-file__header h3 {
    margin-top: 24px;
    font-size: 31px;
  }

  .case-file__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-field,
  .case-field:first-child,
  .case-field:nth-child(2) {
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
  }

  .case-field:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .case-field:last-child {
    grid-column: auto;
  }

  .contact {
    padding: 0;
  }

  .contact .container {
    width: 100%;
  }

  .contact-panel {
    gap: 48px;
    padding: 58px var(--page-pad) 64px;
  }

  .contact h2 {
    margin-top: 18px;
  }

  .contact-main > p:nth-of-type(2) {
    margin-top: 24px;
  }

  .contact-phone {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 34px;
  }

  .contact-phone span {
    grid-column: 1 / -1;
  }

  .contact-phone strong {
    font-size: 26px;
  }

  .contact-preparation {
    margin-bottom: 34px;
  }

  .contact-preparation ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-details > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .footer-minimal {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .mobile-call {
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: max(18px, env(safe-area-inset-left));
  }

  .back-to-top {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-call,
  .back-to-top,
  .hero-actions {
    display: none !important;
  }

  .hero,
  .service-relationship,
  .contact-panel,
  .site-footer {
    background: #fff !important;
    color: #000 !important;
  }

  .hero-shell,
  .about-layout,
  .relationship-layout,
  .case-file,
  .contact-panel {
    display: block;
  }

  .hero-visual,
  .about-visual,
  .practice-photo {
    display: none;
  }

  .hero-copy,
  .section,
  .contact-panel {
    min-height: auto;
    padding: 24px 0;
  }

  .case-file__header {
    position: static;
  }
}
