:root {
  --ink: #111714;
  --ink-soft: #1a2420;
  --paper: #f6f6f3;
  --white: #ffffff;
  --mist: #e9eeeb;
  --sage: #53665d;
  --muted: #5d6661;
  --bronze: #a48866;
  --bronze-light: #c9b08f;
  --on-dark: #f5f6f3;
  --line: rgba(17, 23, 20, 0.16);
  --line-strong: rgba(17, 23, 20, 0.34);
  --line-dark: rgba(245, 246, 243, 0.2);
  --container: 1180px;
  --container-wide: 1360px;
  --page-pad: 24px;
  --header-height: 82px;
  --section-space: clamp(88px, 9vw, 144px);
  --serif: "Songti SC", "STSong", SimSun, serif;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-sticky: 40;
  --z-drawer: 50;
  --z-floating: 30;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

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

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

p,
h1,
h2,
h3,
h4,
blockquote,
dl,
dd,
figure {
  margin-top: 0;
}

p {
  margin-bottom: 1em;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0;
  font-weight: 500;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
}

strong,
b {
  font-weight: 600;
}

::selection {
  color: var(--on-dark);
  background: var(--sage);
}

:focus-visible {
  outline: 2px solid var(--bronze);
  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% - 48px), var(--container-wide));
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

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

.section-name {
  margin-bottom: 0;
  color: var(--sage);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.section-heading h2,
.about-content h2,
.relationship-heading h2,
.contact h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.17;
  letter-spacing: -0.025em;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.section-heading--split > div {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 56px;
}

.section-heading--split p:last-child {
  max-width: 34em;
  margin-bottom: 4px;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}

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

.button-light {
  color: var(--ink);
  background: var(--on-dark);
  border-color: var(--on-dark);
}

.button-light:hover {
  color: var(--on-dark);
  background: transparent;
}

/* Header */
.site-header {
  position: fixed;
  z-index: var(--z-sticky);
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  color: var(--on-dark);
  background: rgba(16, 23, 20, 0.96);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(16, 23, 20, 0.985);
  border-bottom-color: var(--line-dark);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 14px;
}

.brand strong {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.brand span {
  color: rgba(245, 246, 243, 0.48);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 28px);
}

.nav-link {
  position: relative;
  padding-block: 27px;
  color: rgba(245, 246, 243, 0.68);
  font-size: 13px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--bronze-light);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.2s ease, transform 0.24s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--on-dark);
}

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

.header-call {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

.header-call span,
.nav-phone span {
  color: rgba(245, 246, 243, 0.5);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.header-call strong,
.nav-phone strong {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

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

/* Hero */
.hero {
  position: relative;
  color: var(--on-dark);
  background: var(--ink);
}

.hero-shell {
  display: grid;
  min-height: min(900px, 100svh);
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  grid-template-rows: 1fr auto;
  padding-top: var(--header-height);
}

.hero-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 8vh, 112px) clamp(44px, 6vw, 96px) clamp(58px, 7vh, 90px) 0;
}

.hero-context {
  margin-bottom: 42px;
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.hero h1 {
  max-width: 9em;
  margin: 0;
  color: var(--on-dark);
  font-size: clamp(58px, 6.25vw, 90px);
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 36em;
  margin: 42px 0 0;
  color: rgba(245, 246, 243, 0.7);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(245, 246, 243, 0.78);
  font-size: 14px;
  transition: color 0.2s ease;
}

.hero-secondary-link:hover {
  color: var(--on-dark);
}

.hero-secondary-link span {
  color: var(--bronze-light);
  font-size: 18px;
}

.hero-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--ink-soft);
}

.hero-portrait {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 72%, rgba(8, 13, 10, 0.28));
  content: "";
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-practice-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.hero-practice-list > div {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 24px clamp(18px, 2.6vw, 38px);
  border-right: 1px solid var(--line-dark);
}

.hero-practice-list > div:first-child {
  padding-left: 0;
}

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

.hero-practice-list dt {
  color: var(--bronze-light);
  font-size: 13px;
  font-weight: 600;
}

.hero-practice-list dd {
  margin: 0;
  color: rgba(245, 246, 243, 0.68);
  font-size: 13px;
  line-height: 1.6;
}

/* Practice */
.services {
  background: var(--paper);
}

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

.practice-row {
  display: grid;
  grid-template-columns: 52px minmax(270px, 0.9fr) minmax(200px, 0.6fr) minmax(260px, 0.78fr);
  gap: clamp(24px, 3.2vw, 48px);
  padding-block: clamp(36px, 4.8vw, 62px);
  border-bottom: 1px solid var(--line);
}

.practice-code {
  padding-top: 6px;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 28px;
}

.practice-title h3 {
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 43px);
  line-height: 1.24;
}

.problem-list {
  display: grid;
  gap: 8px;
  max-width: 31em;
  margin: 17px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.problem-list li {
  position: relative;
  padding-left: 16px;
}

.problem-list li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--bronze);
  content: "";
}

.practice-visual {
  align-self: start;
}

.practice-photo {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--sage-pale);
}

.practice-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 27, 26, 0.08), rgba(105, 115, 111, 0.2));
  content: "";
  mix-blend-mode: multiply;
  pointer-events: none;
}

.practice-photo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.72) saturate(0.45) contrast(0.92) brightness(0.94);
  transform: scale(1.015);
}

.practice-photo__image[data-practice-motif="performance"] {
  object-position: 57% center;
}

.practice-photo__image[data-practice-motif="governance"] {
  object-position: 50% center;
}

.practice-photo__image[data-practice-motif="family-assets"] {
  object-position: 50% 45%;
}

.practice-services {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-services li {
  position: relative;
  padding: 11px 34px 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.practice-services li:first-child {
  padding-top: 5px;
}

.practice-services li::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--bronze);
  content: "—";
  transform: translateY(-50%);
}

/* About */
.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(0, 1.17fr);
  align-items: start;
  gap: clamp(64px, 9vw, 132px);
}

.portrait-frame {
  margin: 0;
}

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

.about-content {
  padding-top: 4px;
}

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

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 42px;
}

.about-copy p {
  margin: 0;
  color: var(--muted);
}

.about-copy .about-intro {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.8;
}

.principle-quote {
  margin: 48px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.principle-quote p {
  max-width: 25em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.55;
}

.about-credentials {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  margin: 34px 0 0;
}

.about-credentials > div {
  min-width: 0;
  padding-right: 20px;
}

.about-credentials dt,
.contact-details dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.about-credentials dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Service relationship */
.service-relationship {
  color: var(--on-dark);
  background: var(--ink-soft);
}

.relationship-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(64px, 10vw, 148px);
}

.relationship-heading h2 {
  margin-top: 24px;
  color: var(--on-dark);
}

.relationship-heading > p:last-child {
  max-width: 31em;
  margin: 38px 0 0;
  color: rgba(245, 246, 243, 0.64);
}

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

.relationship-stage {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 28px;
  padding-block: clamp(34px, 4vw, 50px);
  border-bottom: 1px solid var(--line-dark);
}

.relationship-number {
  padding-top: 3px;
  color: var(--bronze-light);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.relationship-stage h3 {
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.35;
}

.relationship-stage p {
  max-width: 46em;
  margin: 16px 0 0;
  color: rgba(245, 246, 243, 0.62);
  font-size: 15px;
}

/* Cases */
.cases {
  background: var(--paper);
}

.cases-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(250px, 0.48fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 66px;
}

.case-disclaimer {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.selected-cases {
  border-top: 1px solid var(--line-strong);
}

.selected-case {
  display: grid;
  grid-template-columns: 92px minmax(250px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 5vw, 72px);
  padding-block: clamp(42px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.selected-case-index {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.selected-case-index span {
  color: var(--bronze);
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}

.selected-case-index small {
  color: var(--sage);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.selected-case-title h3 {
  max-width: 15em;
  font-family: var(--serif);
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.35;
}

.selected-case-title p {
  max-width: 33em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.selected-case-body {
  padding-top: 3px;
}

.selected-case-body p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.selected-case-body strong {
  display: block;
  margin-bottom: 6px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Contact */
.contact {
  padding-block: clamp(70px, 8vw, 118px);
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(64px, 10vw, 142px);
  padding: clamp(52px, 7vw, 88px);
  color: var(--on-dark);
  background: var(--ink);
}

.contact h2 {
  margin-top: 24px;
  color: var(--on-dark);
}

.contact-main > p:nth-of-type(2) {
  max-width: 33em;
  margin: 30px 0 0;
  color: rgba(245, 246, 243, 0.65);
}

.contact-phone {
  display: grid;
  width: min(100%, 490px);
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 42px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.contact-phone span {
  grid-column: 1 / -1;
  color: rgba(245, 246, 243, 0.48);
  font-size: 11px;
}

.contact-phone strong {
  margin-top: 5px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.contact-phone svg {
  color: var(--bronze-light);
}

.contact-phone:hover strong,
.contact-phone:hover svg {
  color: var(--bronze-light);
}

.contact-side {
  align-self: end;
}

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

.contact-preparation h3 {
  color: rgba(245, 246, 243, 0.48);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.contact-preparation ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

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

.contact-details {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

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

.contact-details dt {
  color: rgba(245, 246, 243, 0.45);
}

.contact-details dd {
  margin: 0;
  color: rgba(245, 246, 243, 0.88);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-details > div:last-child dd {
  font-variant-numeric: tabular-nums;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  color: var(--on-dark);
  background: #0b100d;
}

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

.footer-note,
.footer-copyright {
  margin: 0;
  font-size: 11px;
}

.footer-note {
  max-width: 62em;
  color: rgba(245, 246, 243, 0.42);
  line-height: 1.7;
}

.footer-copyright {
  color: rgba(245, 246, 243, 0.5);
  white-space: nowrap;
}

/* Floating controls */
.mobile-call,
.back-to-top {
  position: fixed;
  z-index: var(--z-floating);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.24s ease, transform 0.3s var(--ease);
}

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

.back-to-top {
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--on-dark);
  background: var(--ink);
  border: 0;
  cursor: pointer;
}

.back-to-top:hover {
  color: var(--ink);
  background: var(--bronze-light);
}

.mobile-call {
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 18px;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--on-dark);
  background: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* Content remains visible by default; JS only enhances state without gating rendering. */
.js .reveal,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --header-height: 72px;
  }

  .header-call,
  .primary-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    position: relative;
    z-index: calc(var(--z-drawer) + 2);
    display: grid;
    width: 46px;
    height: 46px;
    padding: 13px 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    margin: auto;
    background: var(--on-dark);
    transition: transform 0.26s var(--ease), opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    z-index: var(--z-drawer);
    top: 0;
    right: 0;
    display: flex;
    width: min(420px, 88vw);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 110px 34px 34px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--ink-soft);
    box-shadow: -10px 0 26px rgba(0, 0, 0, 0.18);
    transform: translateX(105%);
    transition: transform 0.34s var(--ease);
  }

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

  .primary-nav .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--on-dark);
    font-family: var(--serif);
    font-size: 22px;
  }

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

  .nav-phone {
    display: flex;
    flex-direction: column;
    margin-top: 34px;
  }

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

  .nav-scrim {
    position: fixed;
    z-index: calc(var(--z-drawer) - 1);
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(0, 0, 0, 0.52);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

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

  .hero-shell {
    grid-template-columns: 1fr minmax(340px, 0.82fr);
  }

  .hero h1 {
    font-size: clamp(52px, 7vw, 72px);
  }

  .section-heading--split {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .section-heading--split > div {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .practice-row {
    grid-template-columns: 42px minmax(230px, 0.9fr) minmax(178px, 0.58fr) minmax(220px, 0.76fr);
    gap: 24px;
  }

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

  .cases-heading {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .case-disclaimer {
    grid-column: 2;
  }

  .selected-case {
    grid-template-columns: 72px minmax(230px, 0.8fr) minmax(280px, 1.2fr);
    gap: 34px;
  }
}

@media (max-width: 800px) {
  :root {
    --page-pad: 20px;
    --section-space: 82px;
  }

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

  .hero-shell {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: var(--header-height);
  }

  .hero-copy {
    min-height: 590px;
    padding: 74px var(--page-pad) 60px;
  }

  .hero-context {
    margin-bottom: 30px;
  }

  .hero h1 {
    max-width: 8.5em;
    font-size: clamp(45px, 12vw, 68px);
  }

  .hero-lead {
    max-width: 32em;
    margin-top: 30px;
  }

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

  .hero-practice-list {
    grid-template-columns: 1fr;
    padding-inline: var(--page-pad);
  }

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

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

  .section-heading--split,
  .cases-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .practice-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
  }

  .practice-visual,
  .practice-services {
    grid-column: 2;
  }

  .practice-visual {
    margin-top: 8px;
  }

  .practice-photo {
    width: min(100%, 360px);
    max-width: none;
    aspect-ratio: 16 / 9;
  }

  .about-layout,
  .relationship-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 56px;
  }

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

  .about-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-credentials {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }

  .about-credentials > div:last-child {
    grid-column: 1 / -1;
  }

  .relationship-layout {
    gap: 54px;
  }

  .cases-heading .case-disclaimer {
    grid-column: auto;
  }

  .selected-case {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 24px;
  }

  .selected-case-body {
    grid-column: 2;
  }

  .contact-panel {
    gap: 56px;
  }

}

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

  body {
    font-size: 15px;
  }

  .container-wide {
    width: calc(100% - 36px);
  }

  .brand {
    gap: 0;
  }

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

  .brand span {
    display: none;
  }

  .hero--portrait-first .hero-shell {
    grid-template-rows: minmax(640px, calc(100svh - var(--header-height))) auto;
  }

  .hero--portrait-first .hero-copy,
  .hero--portrait-first .hero-visual {
    grid-row: 1;
    grid-column: 1;
  }

  .hero--portrait-first .hero-copy {
    position: relative;
    z-index: 2;
    min-height: 640px;
    justify-content: flex-end;
    padding: 210px var(--page-pad) 30px;
    background: linear-gradient(
      180deg,
      rgba(10, 16, 13, 0.04) 0%,
      rgba(10, 16, 13, 0.08) 28%,
      rgba(10, 16, 13, 0.58) 50%,
      rgba(10, 16, 13, 0.94) 78%,
      var(--ink) 100%
    );
  }

  .hero-context {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(36px, 10.8vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.025em;
  }

  .hero-lead {
    max-width: 30em;
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    margin-top: 18px;
  }

  .button {
    width: 100%;
  }

  .hero--portrait-first .hero-visual {
    z-index: 1;
    min-height: 640px;
  }

  .hero--portrait-first .hero-portrait::after {
    background: linear-gradient(180deg, rgba(8, 13, 10, 0.01) 0%, rgba(8, 13, 10, 0.08) 62%, rgba(8, 13, 10, 0.32) 100%);
  }

  .hero--portrait-first .hero-practice-list {
    grid-row: 2;
  }

  .hero-practice-list > div,
  .hero-practice-list > div:first-child,
  .hero-practice-list > div:last-child {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 14px;
  }

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

  .section-heading h2,
  .about-content h2,
  .relationship-heading h2,
  .contact h2 {
    font-size: clamp(32px, 9.6vw, 44px);
  }

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

  .practice-row {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 14px;
    padding-block: 28px;
  }

  .practice-visual {
    margin-top: 4px;
  }

  .practice-code {
    font-size: 21px;
  }

  .practice-title h3 {
    font-size: 27px;
  }

  .problem-list {
    margin-top: 12px;
    gap: 6px;
  }

  .practice-services li {
    padding-block: 9px;
    font-size: 14px;
  }

  .about-layout {
    gap: 32px;
  }

  .portrait-frame img {
    aspect-ratio: 4 / 4.6;
  }

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

  .about-copy {
    gap: 12px;
    margin-top: 22px;
  }

  .about-copy .about-intro {
    font-size: 16px;
  }

  .principle-quote {
    margin-top: 34px;
  }

  .principle-quote p {
    font-size: 23px;
  }

  .about-credentials {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 26px;
  }

  .about-credentials > div:last-child {
    grid-column: auto;
  }

  .relationship-layout {
    gap: 36px;
  }

  .relationship-heading h2 {
    margin-top: 18px;
  }

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

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

  .relationship-stage p {
    margin-top: 12px;
    line-height: 1.75;
  }

  .cases-heading {
    gap: 16px;
    margin-bottom: 30px;
  }

  .selected-case {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 24px;
  }

  .selected-case-index {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }

  .selected-case-index span {
    font-size: 24px;
  }

  .selected-case-index small {
    font-size: 10px;
    writing-mode: horizontal-tb;
  }

  .selected-case-title h3 {
    font-size: 23px;
  }

  .selected-case-title p {
    margin-top: 12px;
  }

  .selected-case-body {
    grid-column: auto;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .selected-case-body p {
    margin-bottom: 16px;
  }

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

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

  .contact-preparation ul {
    margin-top: 10px;
  }

  .contact-preparation li {
    padding-block: 11px;
  }

  .contact {
    padding: 0;
  }

  .contact .container {
    width: 100%;
  }

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

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

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

  .contact-phone {
    margin-top: 28px;
    padding-block: 16px;
  }

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

  .contact-details > div {
    padding-block: 16px;
  }

  .site-footer {
    padding: 26px 0 28px;
  }

  .footer-minimal {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mobile-call {
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 18px;
    min-width: 148px;
    min-height: 48px;
    padding-inline: 18px;
    border: 1px solid rgba(245, 246, 243, 0.14);
  }

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

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
