:root {
  --background: #f8f4ee;
  --background-soft: #fcfaf7;
  --background-stone: #eee7df;
  --foreground: #211b18;
  --foreground-soft: #5d554f;
  --foreground-muted: #7c746d;
  --burgundy-950: #300000;
  --burgundy-900: #470000;
  --burgundy-800: #620000;
  --burgundy-700: #730000;
  --burgundy-600: #891111;
  --gold-muted: #b29a73;
  --gold-soft: #ccb18b;
  --border: rgba(98, 0, 0, 0.14);
  --border-strong: rgba(98, 0, 0, 0.24);
  --shadow-soft: 0 20px 60px rgba(48, 0, 0, 0.08);
  --shadow-card: 0 18px 45px rgba(71, 0, 0, 0.08);
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --container: 1280px;
  --header-offset: 8.9rem;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-body: "Source Sans 3", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(185, 153, 104, 0.08), transparent 28%),
    linear-gradient(180deg, #fdfbf8 0%, var(--background) 26%, #f9f4ee 100%);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body[data-page="home"] {
  scroll-padding-top: var(--header-offset);
}

body[data-page="home"] main#main > .practice-hero,
body[data-page="home"] main#main > .section {
  min-height: calc(100svh - var(--header-offset));
  padding-block: clamp(1.6rem, 3.3vh, 2.8rem);
  display: flex;
}

body[data-page="home"] main#main > .practice-hero {
  padding-top: 0;
}

body[data-page="home"] .section--tight {
  padding-block: clamp(1.6rem, 3.2vh, 2.5rem);
}

body[data-page="home"] .practice-hero__panel {
  min-height: clamp(30rem, 82svh, 44rem);
}

body.is-page-leaving {
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header:empty {
  opacity: 0;
}

.site-header {
  transition: opacity 0.25s ease;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section--tight {
  padding: 5rem 0;
}

.section--stone {
  background: linear-gradient(180deg,   #fffaf4, rgba(252, 250, 247, 0.72));
}

.section--dark {
  background:
    radial-gradient(circle at top left, rgba(185, 153, 104, 0.12), transparent 25%),
    linear-gradient(135deg, var(--burgundy-950), var(--burgundy-800));
  color: #fff7f0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--foreground-soft);
  font-weight: 600;
}

.eyebrow::after {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: rgba(185, 153, 104, 0.8);
}

.section-title,
.hero-title,
.page-hero__title,
.stat-card__title,
.partner-card__name,
.value-panel__title,
.cta-banner__title {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-title {
  font-size: clamp(3.2rem, 6vw, 6.3rem);
}

.section-title,
.page-hero__title,
.cta-banner__title {
  font-size: clamp(2.4rem, 4.1vw, 4.4rem);
}

.lead,
.hero-copy,
.page-hero__copy {
  color: var(--foreground-soft);
  font-size: 1.08rem;
  max-width: 42rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn svg,
.menu-toggle svg,
.mobile-drawer__close svg,
.icon-link svg {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.icon-circle svg {
  width: 1.7rem;
  height: 1.7rem;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(59, 6, 9, 0.12);
}

.btn:focus-visible,
.nav-link:focus-visible,
.icon-link:focus-visible,
.menu-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-muted);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--burgundy-800);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--burgundy-900);
}

.btn--secondary {
  color: var(--burgundy-800);
  border-color: var(--border-strong);
  background: rgba(252, 250, 247, 0.92);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(248, 244, 238, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(92, 9, 14, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.site-header__topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2rem;
  padding-top: 0.25rem;
  padding-bottom: 0;
}

.site-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--foreground);
}

.site-header__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: inherit;
  text-decoration: none;
}

.site-header__contact-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--burgundy-700);
}

.site-header__contact-separator {
  color: rgba(47, 30, 23, 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.4rem;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 0 0 auto;
}

.brand--text-only {
  gap: 0;
}

.brand img {
  width: 74px;
  height: auto;
}

.brand__mark {
  width: 80px;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
  min-width: 0;
  flex: 0 0 auto;
}

.brand__label {
  display: block;
  width: 205px;
  inline-size: 205px;
  max-inline-size: none;
  height: auto;
  flex: 0 0 auto;
  min-width: 205px;
}

.brand__sub {
  width: 100%;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--foreground-muted);
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .site-header__inner {
    min-height: 6.55rem;
    align-items: center;
    padding-bottom: 0.1rem;
    position: relative;
  }

  .brand--text-only {
    align-self: center;
    display: flex;
    align-items: center;
    position: relative;
    top: -1.15rem;
    transform: none;
    margin-top: 0;
    padding-top: 0;
  }

  .brand__text {
    align-items: center;
    justify-content: center;
  }

  .brand__label {
    width: 240px;
    inline-size: 240px;
    min-width: 240px;
  }

  .brand__sub {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-align: center;
    padding-left: 0;
  }

  .site-nav {
    align-self: center;
  }

  .nav-links {
    align-items: center;
  }

  .nav-link {
    min-height: 40px;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.1rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 2px;
  background: var(--burgundy-700);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-item.is-current > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 50%;
  min-width: 21rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid rgba(92, 9, 14, 0.12);
  border-radius: 14px;
  background: rgba(255, 252, 248, 0.98);
  box-shadow: 0 20px 36px rgba(59, 6, 9, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
}

.service-menu::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 14px;
  height: 14px;
  background: rgba(255, 252, 248, 0.98);
  border-top: 1px solid rgba(92, 9, 14, 0.12);
  border-left: 1px solid rgba(92, 9, 14, 0.12);
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}

.nav-item--has-menu:hover .service-menu,
.nav-item--has-menu:focus-within .service-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.service-menu__link {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foreground);
  background: transparent;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.service-menu__link:hover,
.service-menu__link:focus-visible {
  background: rgba(115, 0, 0, 0.08);
  color: var(--burgundy-800);
  transform: translateX(2px);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(252, 250, 247, 0.84);
  color: var(--burgundy-800);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.32s;
}

.mobile-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 27, 24, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 420px);
  height: 100%;
  padding: 1.15rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, #fffdf9, #f7f0e8);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--foreground);
  line-height: 1;
  flex: 0 0 auto;
}

.mobile-drawer__close svg {
  width: 1rem;
  height: 1rem;
}

.mobile-drawer__panel > .brand {
  margin-top: 0.1rem;
  padding-right: 3.5rem;
}

.mobile-drawer__panel > .brand .brand__mark {
  width: 58px;
}

.mobile-drawer__panel > .brand .brand__label {
  width: 150px;
  inline-size: 150px;
  min-width: 150px;
}

.mobile-drawer__panel > .brand .brand__sub {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  min-height: 0;
}

.mobile-drawer__contact {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  color: var(--foreground-soft);
}

.icon-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 247, 240, 0.2);
  color: #fff7f0;
}

.hero {
  padding: 1.25rem 0 5rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  align-items: center;
  gap: 0;
  position: relative;
}

.hero__copy-wrap {
  padding: 4.4rem 3.8rem 4.2rem 4rem;
  position: relative;
}

.hero__copy-wrap > *:not(.motif) {
  position: relative;
  z-index: 1;
}

.hero__copy-wrap::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 16%;
  width: 11rem;
  height: 68%;
  background: linear-gradient(90deg, rgba(248, 244, 238, 0.98), rgba(248, 244, 238, 0.02));
  pointer-events: none;
}

.hero-copy {
  max-width: 29rem;
  margin: 1.8rem 0 2rem;
}

.hero__image {
  position: relative;
  min-height: 42rem;
  border-radius: 0 0 0 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #eadfd2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.motif {
  position: absolute;
  inset: auto;
  pointer-events: none;
  opacity: 0.92;
}

.motif img {
  width: 100%;
  height: auto;
}

.motif--hero {
  left: -0.3rem;
  bottom: -0.35rem;
  width: 162px;
}

.motif--corner-right {
  right: -0.55rem;
  bottom: 0.7rem;
  width: 128px;
}

.motif--corner-left {
  left: -0.35rem;
  top: 0.9rem;
  width: 126px;
  transform: scale(-1, -1);
}

.cards-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.4rem;
}

.section--practice-showcase {
  background:
    radial-gradient(circle at 50% 0%, rgba(197, 171, 132, 0.16), transparent 28%),
    linear-gradient(180deg, #fbf8f3 0%, #f5efe7 100%);
  color: var(--foreground);
}

.practice-showcase__intro {
  text-align: center;
}

.section--practice-showcase .eyebrow {
  color: var(--foreground-soft);
}

.section--practice-showcase .section-title {
  color: var(--foreground);
}

.practice-showcase__lead {
  margin: 0.8rem auto 0;
  max-width: 36rem;
  color: var(--foreground-soft);
}

.practice-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.9rem;
  border-top: 1px solid rgba(115, 0, 0, 0.16);
  border-left: 1px solid rgba(115, 0, 0, 0.16);
  background: rgba(255, 252, 248, 0.56);
}

.practice-matrix__item {
  min-height: 14rem;
  padding: 2rem 1.45rem 1.9rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  border-right: 1px solid rgba(115, 0, 0, 0.16);
  border-bottom: 1px solid rgba(115, 0, 0, 0.16);
  color: var(--foreground);
  text-decoration: none;
  text-align: center;
  transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.practice-matrix__item:hover,
.practice-matrix__item:focus-visible {
  background: linear-gradient(135deg, var(--burgundy-800), #8a2f2f);
  color: #fffaf4;
  transform: none;
}

.practice-matrix__item .icon-circle {
  width: 8.8rem;
  height: 8.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.practice-matrix__item .icon-circle .mdi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  line-height: 1;
}

@keyframes practiceIconFlipIn {
  0% {
    transform: perspective(700px) rotateY(0deg) scale(0.92);
    opacity: 1;
  }
  34% {
    transform: perspective(700px) rotateY(360deg) scale(1.04);
    opacity: 1;
  }
  58% {
    transform: perspective(700px) rotateY(500deg) scale(1.08);
    opacity: 1;
  }
  78% {
    transform: perspective(700px) rotateY(318deg) scale(0.98);
    opacity: 1;
  }
  100% {
    transform: perspective(700px) rotateY(360deg) scale(1);
    opacity: 1;
  }
}

.practice-matrix.is-entered .practice-matrix__item .icon-circle .mdi {
  animation: practiceIconFlipIn 1.05s cubic-bezier(0.22, 0.7, 0.2, 1) both;
  backface-visibility: hidden;
  transform-origin: center center;
  transform-style: preserve-3d;
}

.practice-matrix.is-entered .practice-matrix__item:nth-child(1) .icon-circle .mdi { animation-delay: 0.02s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(2) .icon-circle .mdi { animation-delay: 0.08s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(3) .icon-circle .mdi { animation-delay: 0.14s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(4) .icon-circle .mdi { animation-delay: 0.2s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(5) .icon-circle .mdi { animation-delay: 0.26s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(6) .icon-circle .mdi { animation-delay: 0.32s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(7) .icon-circle .mdi { animation-delay: 0.38s; }
.practice-matrix.is-entered .practice-matrix__item:nth-child(8) .icon-circle .mdi { animation-delay: 0.44s; }

.practice-matrix__item h3 {
  margin: 0;
  max-width: 10.5rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.practice-matrix__item h3 span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.practice-matrix__item--accent {
  background: rgba(255, 252, 248, 0.56);
  color: var(--foreground);
}

.practice-matrix__item--accent:hover,
.practice-matrix__item--accent:focus-visible {
  background: linear-gradient(135deg, var(--burgundy-900), var(--burgundy-800));
  color: #fffaf4;
}

.practice-card,
.contact-card,
.value-card,
.service-panel,
.faq-card,
.info-card {
  /* border: 1px solid var(--border); */

  /* border-radius: var(--radius-lg); */
}

.practice-card {
  min-height: 15.5rem;
  padding: 1.8rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.practice-card:hover,
.practice-card:focus-within {
  transform: translateY(-6px);
  background: #fffdf9;
  border-color: rgba(185, 153, 104, 0.42);
}

.icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(92, 9, 14, 0.18);
  color: var(--burgundy-700);
}

.practice-card h3,
.contact-card h3,
.service-panel h3,
.faq-card h3,
.info-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.practice-card p,
.value-panel li,
.service-panel p,
.service-panel li,
.contact-card p,
.contact-card a,
.info-card p,
.faq-card p,
.timeline__item p {
  color: var(--foreground-soft);
}

.more-about-layout {
  display: grid;
  gap: 1.8rem;
  align-items: start;
  padding: 1.6rem;
}

.team-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.team-directory__group {
  display: grid;
  gap: 0.65rem;
  align-items: start;
}

@media (max-width: 640px) {
  .team-directory {
    grid-template-columns: 1fr;
  }
}

.team-directory__label {
  margin: 0;
  color: var(--burgundy-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
     align-items: center;
}

.team-directory__entry {
  margin: 0;
  color: var(--foreground);
  line-height: 1.8;
}

.office-groups {
  display: grid;
  gap: 1.2rem;
}

.office-group {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.office-group__media {
  position: relative;
  border-radius: calc(var(--radius-lg) - 2px);
  overflow: hidden;
  min-height: 12.8rem;
  aspect-ratio: 16 / 9;
  background: rgba(248, 241, 233, 0.78);
}

.office-group__content {
  display: grid;
  align-content: center;
  gap: 0.55rem;
}

body[data-page="home"] .section--about-home .office-group__media,
body[data-page="home"] .section--about-home .office-group__content {
  transition:
    transform 0.45s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.45s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform, opacity;
}

body[data-page="home"] .section--about-home .office-group__media {
  transform: translateX(-40px);
  opacity: 0;
}

body[data-page="home"] .section--about-home .office-group__content {
  transform: translateX(40px);
  opacity: 0;
}

body[data-page="home"] .section--about-home.is-entered .office-group__media,
body[data-page="home"] .section--about-home.is-entered .office-group__content {
  transform: translateX(0);
  opacity: 1;
}

body[data-page="home"] .section--about-home.is-entered .office-group:nth-child(2) .office-group__media,
body[data-page="home"] .section--about-home.is-entered .office-group:nth-child(2) .office-group__content {
  transition-delay: 0.1s;
}

.office-contact-list {
  display: grid;
  gap: 0.8rem;
}

.office-contact-item {
  display: block;
  margin: 0;
  color: var(--foreground-soft);
}

.office-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.office-action-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(115, 0, 0, 0.16);
  border-radius: 999px;
  color: var(--burgundy-700);
  background: rgba(255, 252, 248, 0.72);
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.office-action-icon:hover,
.office-action-icon:focus-visible {
  background: var(--burgundy-800);
  border-color: var(--burgundy-800);
  color: #fffaf4;
  transform: translateY(-1px);
}

.office-action-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.branch-stack__label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 27, 24, 0.72);
  color: #fffaf4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.branch-stack__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.branch-stack__image--jb {
  object-position: center 42%;
}

.split-feature {
  display: grid;
  grid-template-columns: 1.08fr 1.3fr;
  gap: 1.25rem;
  align-items: stretch;
}

.lawyer-stack {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.value-panel {
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  padding: 2.9rem 2.6rem 2.7rem;
  background:
    linear-gradient(145deg, rgba(43, 5, 8, 0.88), rgba(90, 10, 14, 0.97)),
    url("cta-generated.png") center/cover;
  color: #fff8f0;
  position: relative;
  overflow: hidden;
}

.value-panel--secondary {
  background:
    linear-gradient(145deg, rgba(55, 12, 15, 0.88), rgba(110, 34, 25, 0.97)),
    url("cta-generated.png") center/cover;
}

.value-panel__title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 1.2rem;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 0.8rem;
}

.value-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #f6dfd9;
}

.value-list li::before {
  content: "◌";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-soft);
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 2rem;
  padding: 1rem 0.9rem 1rem 1rem;
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  border: 1px solid var(--border);
  background: rgba(252, 250, 247, 0.76);
  position: relative;
  overflow: hidden;
}

.partner-card__portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.partner-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.partner-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.1rem 1.5rem 1.1rem 0.3rem;
}

.partner-card__name {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  color: var(--burgundy-700);
}

.partner-card__meta {
  margin: 1rem 0;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.lawyer-profile {
  display: grid;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.96), rgba(247, 241, 234, 0.9));
  box-shadow: var(--shadow-soft);
}

.lawyer-profile__portrait {
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  background: #e7ddd3;
}

.lawyer-profile__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lawyer-profile__body {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
}

.lawyer-profile__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(115, 0, 0, 0.08);
  color: var(--burgundy-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lawyer-profile__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--burgundy-800);
}

.lawyer-profile__name-alt,
.lawyer-profile__credentials,
.lawyer-profile__summary {
  margin: 0;
}

.lawyer-profile__name-alt {
  color: var(--foreground-soft);
  font-size: 1rem;
}

.lawyer-profile__credentials {
  color: var(--foreground-muted);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-profile__summary {
  color: var(--foreground-soft);
  font-size: 0.98rem;
}

.lawyer-profile__points {
  margin: 0.15rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
  color: var(--foreground-soft);
}

.lawyer-profile__points li::marker {
  color: var(--burgundy-700);
}

.lawyer-profile__points strong {
  color: var(--foreground);
}

.lawyer-profile--primary .lawyer-profile__portrait {
  background:
    linear-gradient(180deg, rgba(88, 11, 15, 0.18), rgba(88, 11, 15, 0.02)),
    #e7ddd3;
}

.lawyer-profile--secondary .lawyer-profile__portrait {
  background:
    linear-gradient(180deg, rgba(137, 84, 39, 0.16), rgba(137, 84, 39, 0.02)),
    #e7ddd3;
}

#about-introduction,
#about-values,
#about-lawyers,
#about-process {
  scroll-margin-top: 7.5rem;
}

.timeline {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.timeline__item {
  position: relative;
  text-align: left;
  padding-right: 1rem;
}

.timeline__index {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--burgundy-700);
}

.timeline__item::after {
  content: "";
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: calc(100% - 2rem);
  border-top: 1px dashed rgba(185, 153, 104, 0.8);
}

.timeline__item:last-child::after {
  display: none;
}

.timeline__title {
  margin: 0.5rem 0;
  font-size: 1.02rem;
}

body[data-page="home"] .section--process-home {
  align-items: stretch;
}

body[data-page="home"] .section--process-home > .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body[data-page="home"] .section--process-home > .container > div:first-child {
  width: min(100%, 62rem);
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .section--process-home .timeline {
  width: min(100%, 78rem);
  margin-left: auto;
  margin-right: auto;
  padding-inline: 1.4rem;
}

body[data-page="home"] .section--process-home > .container > div:first-child,
body[data-page="home"] .section--process-home .timeline__item {
  transform: translateY(68px);
  opacity: 0;
  transition:
    transform 0.48s cubic-bezier(0.22, 0.7, 0.2, 1),
    opacity 0.48s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform, opacity;
}

body[data-page="home"] .section--process-home.is-entered > .container > div:first-child,
body[data-page="home"] .section--process-home.is-entered .timeline__item {
  transform: translateY(0);
  opacity: 1;
}

body[data-page="home"] .section--process-home.is-entered .timeline__item:nth-child(1) { transition-delay: 0.04s; }
body[data-page="home"] .section--process-home.is-entered .timeline__item:nth-child(2) { transition-delay: 0.1s; }
body[data-page="home"] .section--process-home.is-entered .timeline__item:nth-child(3) { transition-delay: 0.16s; }
body[data-page="home"] .section--process-home.is-entered .timeline__item:nth-child(4) { transition-delay: 0.22s; }
body[data-page="home"] .section--process-home.is-entered .timeline__item:nth-child(5) { transition-delay: 0.28s; }

.section--reviews-home {
  overflow: hidden;
}

.reviews-home__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.reviews-home__summary {
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.reviews-home__summary-badge {
  min-width: 15rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(252, 250, 247, 0.9);
  box-shadow: var(--shadow-card);
}

.reviews-home__summary-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.reviews-home__summary-badge strong {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: var(--burgundy-800);
}

.reviews-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.4rem 0.8rem;
}

.reviews-marquee::before,
.reviews-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 6vw, 5rem);
  z-index: 1;
  pointer-events: none;
}

.reviews-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--background), rgba(248, 244, 238, 0));
}

.reviews-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--background), rgba(248, 244, 238, 0));
}

.reviews-marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: reviews-marquee 36s linear infinite;
}

.reviews-marquee:hover .reviews-marquee__track,
.reviews-marquee:focus-within .reviews-marquee__track {
  animation-play-state: paused;
}

.review-card {
  width: min(24rem, calc(100vw - 4.5rem));
  min-height: 15rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 241, 234, 0.95)),
    radial-gradient(circle at top right, rgba(204, 177, 139, 0.16), transparent 40%);
  box-shadow: var(--shadow-card);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-card__name {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.review-card__date {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.82rem;
  color: var(--foreground-muted);
}

.review-card__stars {
  display: inline-flex;
  gap: 0.14rem;
  white-space: nowrap;
}

.review-card__star {
  color: #d8d1c8;
  font-size: 1rem;
  line-height: 1;
}

.review-card__star--filled {
  color: #f2b01e;
}

.review-card__text {
  margin: 0;
  color: var(--foreground-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

@keyframes reviews-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

.trust-note {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.4rem;
  border: 1px dashed rgba(185, 153, 104, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(252, 250, 247, 0.86);
}

.cta-banner {
  padding: 2rem 2.5rem;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(43, 5, 8, 0.92), rgba(90, 10, 14, 0.92)),
    url("cta-generated.png") left center/cover no-repeat;
  color: #fff7f0;
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 28px 60px rgba(43, 5, 8, 0.18);
}

.cta-banner__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.site-footer {
  background:
    radial-gradient(circle at top right, rgba(185, 153, 104, 0.16), transparent 20%),
    linear-gradient(180deg, #651114 0%, #43070b 100%);
  color: #fff7f0;
  padding: 3rem 0 1.2rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand__lockup {
  display: inline-grid;
  justify-items: start;
  gap: 1rem;
  width: 208px;
  max-width: 100%;
}

.footer-brand__mark {
  width: 208px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand__label {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-title {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 247, 240, 0.72);
}

.footer-links,
.social-links {
  display: grid;
  gap: 0.65rem;
}

.footer-office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.footer-office {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-office__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff7f0;
  margin-bottom: 0.15rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 247, 240, 0.14);
  font-size: 0.94rem;
  color: rgba(255, 247, 240, 0.75);
}

.footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 0.45rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  color: rgba(255, 247, 240, 0.82);
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #fff7f0;
  line-height: 1;
}

.footer-credit img {
  display: block;
  width: auto;
  height: 1em;
  flex: 0 0 auto;
}

.page-hero {
  padding: 3rem 0 3.5rem;
}

.page-hero__panel {
  position: relative;
  padding: 4rem;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(252, 250, 247, 0.92), rgba(248, 244, 238, 0.72)),
    linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.1));
  border: 1px solid var(--border);
  overflow: hidden;
}

.page-hero__panel--dark {
  background: linear-gradient(135deg, rgba(43, 5, 8, 0.95), rgba(90, 10, 14, 0.95));
  color: #fff8f1;
}

.page-hero__panel--dark .page-hero__copy,
.page-hero__panel--dark .eyebrow,
.page-hero__panel--dark .page-hero__details {
  color: rgba(255, 247, 240, 0.8);
}

.page-hero__panel--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  max-width: none;
}

.page-hero__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.practice-hero {
  padding: 0 0 2rem;
}

.practice-hero--home {
  padding-top: 0;
  padding-bottom: 0;
}

.practice-hero__panel {
  min-height: 35rem;
  padding: 0;
  border-radius: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
    position: relative;
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("heroofpractisearea.png") center right / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

@keyframes heroBackgroundDrift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(1.5%, -1%, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.practice-hero__panel--services {
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("hero-generated.png") center right / cover no-repeat;
}

.practice-hero__panel--detail {
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    center right / cover no-repeat;
}

.practice-hero__panel--will {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("hero-will-consultation.png");
}

.practice-hero__panel--probate {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("hero-probate-consultation.png");
}

.practice-hero__panel--divorce {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("hero-divorce-consultation.png");
}

.practice-hero__panel--property {
  background-image:
    linear-gradient(90deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.84) 28%, rgba(255, 252, 248, 0.5) 52%, rgba(255, 252, 248, 0.1) 100%),
    url("hero-property-consultation.png");
}

.practice-hero__panel--about {
  position: relative;
  background:
    radial-gradient(circle at 78% 30%, rgba(185, 153, 104, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 252, 248, 0.88) 36%, rgba(251, 246, 239, 0.72) 58%, rgba(248, 241, 233, 0.54) 100%);
}

.practice-hero__panel--about::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(92, 9, 14, 0.04), transparent 34%),
    url("motif-corner.svg") top right / 16rem no-repeat;
  pointer-events: none;
  opacity: 0.9;
}

.practice-hero__inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 4rem 0;
}

.practice-hero__inner--about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 35.5rem);
  gap: 3rem;
  align-items: center;
}

.practice-hero__copy {
  max-width: 35rem;
}

.practice-hero__copy--about {
  max-width: 39rem;
}

.practice-hero__copy--home {
  max-width: 34rem;
}

.practice-hero__panel--home {
  width: 100%;
  background: transparent;
}

.practice-hero__panel--home::before {
  content: "";
  position: absolute;
  inset: -3%;
  background: url("home-hero-justice-montage.png") 72% center / cover no-repeat;
  transform-origin: center center;
  animation: heroBackgroundDrift 18s ease-in-out infinite;
  will-change: transform;
  z-index: 0;
}

.practice-hero__panel--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 240, 0.96) 0%, rgba(250, 246, 240, 0.88) 24%, rgba(247, 241, 233, 0.58) 50%, rgba(34, 27, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(27, 24, 22, 0.08) 0%, rgba(27, 24, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  pointer-events: none;
  z-index: 1;
}

.practice-hero__panel--home > * {
  position: relative;
  z-index: 2;
}

.hero-accent {
  color: #8b2f2f;
}

.home-hero__aside {
  margin-top: 1.1rem;
  max-width: 31rem;
}

.home-hero__note {
  margin: 0;
  padding-left: 1rem;
  border-left: 1px solid rgba(178, 154, 115, 0.65);
  color: rgba(68, 58, 52, 0.88);
  font-size: 0.98rem;
  line-height: 1.85;
}

.about-hero__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.55rem;
}

.about-hero__point {
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(98, 0, 0, 0.08);
  border-radius: 18px;
  background: rgba(255, 252, 248, 0.58);
  box-shadow: 0 12px 24px rgba(71, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.about-hero__point p,
.about-hero-montage__card p {
  margin: 0;
}

.about-hero__point-label,
.about-hero-montage__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--burgundy-700);
}

.about-hero-montage {
  position: relative;
  min-height: 34rem;
}

.about-hero-montage--home {
  min-height: 35rem;
}

.about-hero-montage__card,
.about-hero-montage__stamp {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(62, 8, 12, 0.14);
}

.about-hero-montage__card {
  border: 1px solid rgba(98, 0, 0, 0.12);
  background: rgba(255, 252, 248, 0.94);
}

.about-hero-montage__card img,
.about-hero-montage__stamp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-montage__card--portrait {
  inset: 1rem 4.4rem 4.2rem 0.4rem;
  transform: rotate(-2.4deg);
  background:
    linear-gradient(180deg, rgba(255, 249, 243, 0.28), rgba(255, 249, 243, 0)),
    linear-gradient(135deg, rgba(92, 9, 14, 0.06), rgba(92, 9, 14, 0));
}

.about-hero-montage__card--portrait img {
  object-position: center top;
}

.about-hero-montage__card--brand {
  top: 0;
  right: 0;
  width: 15rem;
  padding: 1.2rem 1.15rem 1rem;
  display: grid;
  gap: 0.8rem;
  transform: rotate(2.4deg);
}

.about-hero-montage__card--brand img {
  width: 9.75rem;
  height: auto;
  object-fit: contain;
}

.about-hero-montage__card--brand p {
  color: var(--foreground-soft);
  line-height: 1.55;
}

.about-hero-montage__card--quote {
  left: 1.4rem;
  bottom: 0.9rem;
  width: 18.4rem;
  padding: 1.05rem 1.15rem;
  background:
    linear-gradient(135deg, rgba(86, 18, 24, 0.92), rgba(124, 48, 48, 0.86));
  color: #fff7f0;
  transform: rotate(1.2deg);
}

.home-hero__actions {
  margin-top: 1.55rem;
}

.home-hero__actions .btn {
  min-height: 46px;
  padding-inline: 1.3rem;
}

.home-hero__actions .btn--primary {
  background: linear-gradient(135deg, #6f1116, #8a2f2f);
}

.home-hero__actions .btn--secondary {
  background: rgba(255, 253, 249, 0.96);
}

body[data-page="home"] .practice-hero__inner {
  padding: clamp(2.4rem, 5.4vh, 3.5rem) 0;
}

body[data-page="home"] .practice-hero__copy--home .eyebrow {
  margin-bottom: 0.8rem;
}

body[data-page="home"] .home-hero__eyebrow {
  display: inline-grid;
  gap: 0.18rem;
  margin-bottom: 1.15rem;
  line-height: 1.2;
}

body[data-page="home"] .home-hero__eyebrow-en,
body[data-page="home"] .home-hero__eyebrow-zh {
  display: block;
}

body[data-page="home"] .home-hero__eyebrow-en {
  font-size: 1.55rem;
  letter-spacing: 0.22em;
}

body[data-page="home"] .home-hero__eyebrow-zh {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--foreground);
}

body[data-page="home"] .eyebrow,
body[data-page="home"] .page-hero__copy,
body[data-page="home"] .home-hero__note,
body[data-page="home"] .practice-matrix__item h3 span,
body[data-page="home"] .practice-showcase__lead,
body[data-page="home"] .office-contact-item,
body[data-page="home"] .team-directory__entry,
body[data-page="home"] .timeline__item p,
body[data-page="home"] .reviews-home__intro .lead,
body[data-page="home"] .contact-form,
body[data-page="home"] label,
body[data-page="home"] input,
body[data-page="home"] select,
body[data-page="home"] textarea,
body[data-page="home"] .checkbox-row label,
body[data-page="home"] .form-note,
body[data-page="home"] .turnstile-note,
body[data-page="home"] .btn {
  font-family: var(--font-body);
}

body[data-page="home"] .page-hero__title,
body[data-page="home"] .section-title,
body[data-page="home"] .practice-matrix__item h3,
body[data-page="home"] .timeline__title,
body[data-page="home"] .timeline__index,
body[data-page="home"] .team-directory__label,
body[data-page="home"] .reviews-home__summary,
body[data-page="home"] .office-group__content strong {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body[data-page="home"] .home-hero__eyebrow-en,
body[data-page="home"] .home-hero__eyebrow-zh,
body[data-page="home"] .page-hero__title,
body[data-page="home"] .home-hero__services,
body[data-page="home"] .home-hero__tagline {
  font-family: var(--font-display);
}

body[data-page="home"] .page-hero__title {
  font-size: clamp(1.05rem, 1.45vw, 1.55rem);
  line-height: 1.12;
}

body[data-page="home"] .page-hero__copy {
  margin: 1rem 0 0;
  max-width: 33rem;
  font-size: 0.98rem;
  line-height: 1.72;
}

body[data-page="home"] .home-hero__services {
  margin-top: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--foreground);
  max-width: none;
  white-space: nowrap;
}

body[data-page="home"] .home-hero__services-en,
body[data-page="home"] .home-hero__services-zh {
  display: block;
  font-family: var(--font-display);
  color: inherit;
}

body[data-page="home"] .home-hero__services-en {
  font-weight: 600;
}

body[data-page="home"] .home-hero__services-zh {
  margin-top: 0.18em;
  font-size: 0.5em;
  color: var(--burgundy-700);
}

body[data-page="home"] .home-hero__tagline {
  margin-top: 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.6vw, 1.32rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

body[data-page="home"] .home-hero__aside {
  margin-top: 0.85rem;
  max-width: 28rem;
}

body[data-page="home"] .home-hero__note {
  font-size: 0.92rem;
  line-height: 1.7;
}

body[data-page="home"] .home-hero__actions {
  margin-top: 1.2rem;
  gap: 0.75rem;
}

body[data-page="home"] .home-hero__actions .btn {
  min-height: 42px;
  padding: 0.78rem 1.1rem;
  font-size: 0.84rem;
}

body[data-page="home"] .section--practice-showcase .container,
body[data-page="home"] .section--stone .container,
body[data-page="home"] .section .container {
  width: min(var(--container), calc(100% - 56px));
}

body[data-page="home"] .practice-showcase__intro .eyebrow {
  justify-content: center;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

body[data-page="home"] .reviews-home__intro .eyebrow {
  font-size: 1.1rem;
}

body[data-page="home"] .practice-showcase__intro .eyebrow::before {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: rgba(185, 153, 104, 0.8);
}

body[data-page="home"] .section--about-home > .container > div:first-child .eyebrow,
body[data-page="home"] .section--enquiry-home > .container > div:first-child .eyebrow {
  justify-content: center;
  font-size: 1.1rem;
}

body[data-page="contact"] .contact-enquiry > .container > div:first-child .eyebrow {
  justify-content: center;
  font-size: 1.1rem;
}

body[data-page="home"] .section--about-home > .container > div:first-child .eyebrow::before,
body[data-page="home"] .section--enquiry-home > .container > div:first-child .eyebrow::before {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: rgba(185, 153, 104, 0.8);
}

body[data-page="contact"] .contact-enquiry > .container > div:first-child .eyebrow::before {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: rgba(185, 153, 104, 0.8);
}

body[data-page="home"] .practice-showcase__lead {
  margin-top: 0.6rem;
  max-width: 33rem;
  font-size: 0.97rem;
  line-height: 1.68;
}

body[data-page="home"] .practice-matrix {
  margin-top: 1.8rem;
}

body[data-page="home"] .practice-matrix__item {
  min-height: 11.5rem;
  padding: 1.35rem 1rem 1.2rem;
  gap: 0.65rem;
}

body[data-page="home"] .practice-matrix__item .icon-circle {
  width: 4.2rem;
  height: 4.2rem;
}

body[data-page="home"] .practice-matrix__item .icon-circle .mdi {
  font-size: 2.35rem;
}

body[data-page="home"] .practice-matrix__item h3 {
  max-width: 9rem;
  font-size: 1.2rem;
  line-height: 1.12;
  font-weight: 400;
}

body[data-page="home"] .practice-matrix__item h3 span {
  font-weight: 400;
}

body[data-page="home"] .section--stone .section-title,
body[data-page="home"] .section--practice-showcase .section-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
}

body[data-page="home"] .section--about-home .section-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--burgundy-950);
}

body[data-page="home"] .section--reviews-home .section-title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--burgundy-950);
}

body[data-page="home"] .section--about-home .team-directory__label {
  color: var(--burgundy-800);
  font-size: 1.32rem;
}

body[data-page="home"] .section--about-home .office-group__content strong {
  font-size: 1.47rem;
}

body[data-page="home"] .info-card {
  padding: 1.2rem !important;
}

body[data-page="home"] .office-groups {
  gap: 0.7rem;
  margin-top: 1rem !important;
}

body[data-page="home"] .office-group {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 0.85rem;
}

body[data-page="home"] .office-group__media {
  min-height: 9.1rem;
}

body[data-page="home"] .office-group__content {
  gap: 0.3rem;
}

body[data-page="home"] .office-contact-list {
  gap: 0.32rem;
}

body[data-page="home"] .office-contact-item,
body[data-page="home"] .team-directory__entry {
  font-size: 1.18rem;
  line-height: 1.5;
}

body[data-page="home"] .office-action-row {
  gap: 0.5rem;
}

body[data-page="home"] .office-action-icon {
  width: 2.1rem;
  height: 2.1rem;
}

body[data-page="home"] .team-directory {
  gap: 0.85rem;
  margin-top: 0.15rem;
}

body[data-page="home"] .timeline {
  margin-top: 1.8rem;
  gap: 0.8rem;
}

body[data-page="home"] .timeline__item {
  padding-right: 0.75rem;
}

body[data-page="home"] .timeline__index {
  margin-top: 0.8rem;
  font-size: 1.5rem;
}

body[data-page="home"] .timeline__title {
  margin: 0.35rem 0;
  font-size: 0.96rem;
  line-height: 1.22;
}

body[data-page="home"] .timeline__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
}

body[data-page="home"] .contact-form {
  padding: 1.35rem;
}

body[data-page="contact"] .contact-enquiry .contact-form {
  padding: 1.35rem;
}

body[data-page="home"] .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body[data-page="contact"] .contact-enquiry .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

body[data-page="home"] .field {
  gap: 0.35rem;
}

body[data-page="contact"] .contact-enquiry .field {
  gap: 0.35rem;
}

body[data-page="home"] label {
  font-size: 0.98rem;
}

body[data-page="contact"] .contact-enquiry label {
  font-size: 0.98rem;
}

body[data-page="home"] .contact-form .field > label,
body[data-page="contact"] .contact-enquiry .field > label {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

body[data-page="home"] .form-label-text,
body[data-page="contact"] .contact-enquiry .form-label-text {
  min-width: 0;
  flex: 0 1 auto;
}

body[data-page="home"] .form-label-zh,
body[data-page="contact"] .contact-enquiry .form-label-zh {
  display: inline;
  margin-left: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.92em;
  font-weight: 500;
  color: var(--muted);
}

body[data-page="home"] .form-required,
body[data-page="contact"] .contact-enquiry .form-required {
  flex: 0 0 auto;
  display: none;
  color: #c62828;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body[data-page="home"] .field.is-invalid .form-required,
body[data-page="contact"] .contact-enquiry .field.is-invalid .form-required {
  display: inline;
}

body[data-page="home"] .field.is-invalid input,
body[data-page="home"] .field.is-invalid select,
body[data-page="contact"] .contact-enquiry .field.is-invalid input,
body[data-page="contact"] .contact-enquiry .field.is-invalid select {
  border-color: #c62828;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.18);
}

body[data-page="home"] input,
body[data-page="home"] select,
body[data-page="home"] textarea {
  min-height: 42px;
  padding: 0.72rem 0.82rem;
}

body[data-page="contact"] .contact-enquiry input,
body[data-page="contact"] .contact-enquiry select,
body[data-page="contact"] .contact-enquiry textarea {
  min-height: 42px;
  padding: 0.72rem 0.82rem;
}

body[data-page="home"] textarea {
  min-height: 102px;
}

body[data-page="contact"] .contact-enquiry textarea {
  min-height: 102px;
}

body[data-page="home"] .checkbox-row {
  gap: 0.6rem;
}

body[data-page="home"] .checkbox-row label,
body[data-page="home"] .form-note,
body[data-page="home"] .turnstile-note {
  font-size: 0.86rem;
  line-height: 1.55;
}

body[data-page="home"] .btn-row .btn {
  min-height: 44px;
  padding: 0.8rem 1.2rem;
}

.about-hero-montage__card--quote .about-hero-montage__kicker {
  color: rgba(255, 247, 240, 0.72);
}

.about-hero-montage__card--document {
  right: 2.2rem;
  bottom: 2.2rem;
  width: 12.8rem;
  height: 8.5rem;
  transform: rotate(-9deg);
  background: #f7f2eb;
}

.about-hero-montage__card--document img {
  object-fit: cover;
}

.about-hero-montage__stamp {
  top: 12rem;
  right: 12.5rem;
  width: 5.4rem;
  height: 5.4rem;
  padding: 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 245, 0.95);
  border: 1px solid rgba(98, 0, 0, 0.1);
  transform: rotate(-7deg);
}

.practice-section {
  padding-top: 2rem;
}

.practice-stack {
  display: grid;
  gap: 1.4rem;
}

.practice-area-panel {
  display: grid;
  grid-template-columns: 190px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding: 2rem 2rem 2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 252, 248, 0.92);
  box-shadow: var(--shadow-card);
}

.practice-area-panel__label,
.practice-area-panel__content,
.practice-area-panel__list {
  min-width: 0;
}

.practice-area-panel__content,
.practice-area-panel__list {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(92, 9, 14, 0.12);
}

.practice-area-panel__label {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.practice-area-panel__icon {
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy-700);
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.96), rgba(247, 240, 232, 0.9));
  border: 1px solid rgba(92, 9, 14, 0.14);
}

.practice-area-panel__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.practice-area-panel__kicker {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--burgundy-800);
  font-family: var(--font-display);
  font-weight: 600;
}

.practice-area-panel__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--burgundy-800);
}

.practice-area-panel__title a,
.practice-area-panel__link {
  color: inherit;
}

.practice-area-panel__title a:hover,
.practice-area-panel__title a:focus-visible,
.practice-area-panel__link:hover,
.practice-area-panel__link:focus-visible {
  color: var(--burgundy-700);
}

.practice-area-panel__content p {
  margin: 0;
  color: var(--foreground-soft);
}

.practice-area-panel__link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.practice-area-panel__list ul {
  margin: 0;
  padding-left: 1.2rem;
}

.practice-area-panel__list li {
  color: var(--foreground);
}

.practice-area-panel__list li + li {
  margin-top: 0.5rem;
}

.practice-area-panel__list li::marker {
  color: var(--burgundy-700);
}

.practice-cta-section {
  padding-top: 1.75rem;
}

.practice-cta-banner {
  background:
    linear-gradient(90deg, rgba(43, 5, 8, 0.94), rgba(90, 10, 14, 0.9)),
    url("cta-generated.png") center/cover no-repeat;
}

.stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(252, 250, 247, 0.72);
  border: 1px solid var(--border);
}

.stat-card__title {
  font-size: 1.4rem;
}

.content-grid,
.services-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

body[data-page="contact"] .contact-layout {
  gap: 1.6rem;
}

body[data-page="contact"] .contact-form {
  width: 100%;
}

.service-stack,
.faq-stack,
.value-grid,
.contact-card-grid,
.contact-hub {
  display: grid;
  gap: 1.3rem;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-overview {
  padding-top: 2.25rem;
}

.services-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

body[data-page="service"] .practice-hero__panel,
body[data-page="services"] .practice-hero__panel {
  min-height: 29rem;
}

body[data-page="service"] .practice-hero__copy,
body[data-page="services"] .practice-hero__copy {
  max-width: 34rem;
}

body[data-page="service"] .page-hero__title,
body[data-page="services"] .page-hero__title {
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
}

body[data-page="service"] .page-hero__copy,
body[data-page="services"] .page-hero__copy {
  font-size: 2.33rem;
  line-height: 1.35;
  max-width: 34rem;
}

body[data-page="service"] .services-overview,
body[data-page="services"] .services-overview {
  padding-top: 1.5rem;
}

body[data-page="service"] .services-jump-nav,
body[data-page="services"] .services-jump-nav {
  gap: 0.7rem;
  margin-bottom: 1.35rem;
}

.services-jump-nav__link,
.services-index__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 9, 14, 0.14);
  background: rgba(255, 252, 248, 0.88);
  color: var(--foreground);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.services-jump-nav__link:hover,
.services-jump-nav__link:focus-visible,
.services-index__link:hover,
.services-index__link:focus-visible,
.services-jump-nav__link.is-active,
.services-index__link.is-active {
  transform: translateY(-2px);
  border-color: rgba(115, 0, 0, 0.26);
  background: var(--burgundy-800);
  color: #fff7f0;
  box-shadow: 0 12px 28px rgba(59, 6, 9, 0.14);
}

.services-index {
  position: fixed;
  top: 50%;
  left: 1.5rem;
  z-index: 35;
  display: grid;
  gap: 0.7rem;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.services-index.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.services-index__link {
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 40px;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.8);
  box-shadow: 0 10px 28px rgba(71, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.services-index__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(115, 0, 0, 0.08);
  color: var(--burgundy-700);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  flex: 0 0 auto;
}

.services-index__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="service"] .services-jump-nav__link,
body[data-page="service"] .services-index__link,
body[data-page="services"] .services-jump-nav__link,
body[data-page="services"] .services-index__link {
  min-height: 40px;
  padding: 0.68rem 0.95rem;
  font-size: 0.76rem;
}

body[data-page="service"] .service-stack,
body[data-page="services"] .service-stack {
  gap: 1rem;
  padding-block: clamp(4rem, 14vh, 8rem);
}

.services-index__link.is-active .services-index__number,
.services-index__link:hover .services-index__number,
.services-index__link:focus-visible .services-index__number {
  background: rgba(255, 247, 240, 0.16);
  color: #fff7f0;
}

.value-card,
.service-panel,
.faq-card,
.info-card {
  padding: 1.6rem;
}

.service-panel ul,
.info-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.table-responsive {
  overflow-x: auto;
}

.distribution-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
  font-size: 0.94rem;
}

.distribution-table th,
.distribution-table td {
  padding: 0.75rem 0.8rem;
  border: 1px solid rgba(92, 9, 14, 0.12);
  text-align: left;
  vertical-align: top;
}

.distribution-table th {
  background: rgba(92, 9, 14, 0.06);
  color: var(--burgundy-800);
  font-weight: 700;
}

.service-panel li + li,
.info-card li + li {
  margin-top: 0.45rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.listing-grid--dialog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.listing-card {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 253, 250, 0.86);
}

.listing-card__location,
.listing-card__price {
  margin: 0;
}

.listing-card__location {
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--foreground-soft);
  font-weight: 700;
}

.listing-card__price {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  color: var(--burgundy-800);
}

.listing-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.listing-card li + li {
  margin-top: 0.4rem;
}

body[data-page="property"] [data-property-listings-inline] {
  display: none;
}

.property-dialog[hidden] {
  display: none;
}

.property-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.property-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 18, 16, 0.56);
  backdrop-filter: blur(6px);
}

.property-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 40px));
  height: 90vh;
  max-height: 90vh;
  margin: 20px auto;
  padding: 1.35rem 1.35rem 1.4rem;
  border: 1px solid rgba(98, 0, 0, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 243, 236, 0.96));
  box-shadow: 0 28px 80px rgba(34, 11, 11, 0.24);
  overflow: auto;
}

.property-dialog__header {
  display: grid;
  gap: 0.45rem;
  padding-right: 16rem;
  margin-bottom: 1rem;
}

.property-dialog__contact {
  position: absolute;
  top: 1rem;
  right: 4.4rem;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.property-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(92, 9, 14, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--burgundy-800);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.property-dialog__close:hover,
.property-dialog__close:focus-visible {
  transform: translateY(-1px);
  background: rgba(92, 9, 14, 0.06);
  border-color: rgba(92, 9, 14, 0.2);
}

.property-dialog .section-title,
.property-dialog .eyebrow,
.property-dialog .listing-card,
.property-dialog .listing-card__location,
.property-dialog .listing-card__price,
.property-dialog .listing-card li {
  font-family: var(--font-body);
}

.property-dialog .section-title {
  font-size: clamp(2rem, 2.7vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.news-index {
  position: sticky;
  top: calc(var(--header-offset) + 1.2rem);
}

.news-index__panel {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-index__eyebrow {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--foreground-soft);
  font-weight: 700;
}

.news-index__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.9rem 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(92, 9, 14, 0.1);
  background: transparent;
  text-align: left;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.news-index__link:hover,
.news-index__link:focus-visible,
.news-index__link.is-active {
  transform: translateY(-1px);
  background: transparent;
  border-color: rgba(92, 9, 14, 0.16);
}

.news-index__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(92, 9, 14, 0.05);
  color: var(--burgundy-800);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-index__link.is-active .news-index__number,
.news-index__link:hover .news-index__number,
.news-index__link:focus-visible .news-index__number {
  background: rgba(92, 9, 14, 0.1);
}

.news-index__text {
  display: grid;
  gap: 0.26rem;
}

.news-index__title {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.news-index__meta {
  font-family: var(--font-body);
  color: var(--foreground-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.news-content {
  min-width: 0;
}

.news-article {
  padding: 0 0 0 0.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.news-article__header {
  display: grid;
  gap: 0.6rem;
}

.news-article__header .section-title {
  font-family: var(--font-body);
  font-size: clamp(2.15rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 600;
}

.news-article__date {
  margin: 0;
  color: var(--burgundy-700);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
}

.news-article__body {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.news-article__body h3 {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.news-article__body .news-article__title-zh {
  font-size: clamp(2.15rem, 3.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  font-weight: 600;
}

.news-article__body p,
.news-article__body li {
  font-family: var(--font-body);
  line-height: 1.68;
}

.news-article .eyebrow {
  font-family: var(--font-body);
}

.news-article .distribution-table th,
.news-article .distribution-table td {
  font-family: var(--font-body);
}

.news-article__body ul {
  margin: 0;
  padding-left: 1.2rem;
}

.news-article__divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(92, 9, 14, 0.18), rgba(92, 9, 14, 0.02));
  margin: 0.35rem 0;
}

body[data-page="news"] .distribution-table {
  margin-top: 0.4rem;
  border: 1px solid rgba(92, 9, 14, 0.18);
}

body[data-page="news"] .distribution-table th,
body[data-page="news"] .distribution-table td {
  border: 1px solid rgba(92, 9, 14, 0.18);
  background: transparent;
}

body[data-page="will"] .page-hero,
body[data-page="divorce"] .page-hero,
body[data-page="property"] .page-hero,
body[data-page="probate"] .page-hero {
  padding: 0;
}

body[data-page="will"] .page-hero .container,
body[data-page="divorce"] .page-hero .container,
body[data-page="property"] .page-hero .container,
body[data-page="probate"] .page-hero .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

body[data-page="will"] .page-hero__panel,
body[data-page="divorce"] .page-hero__panel,
body[data-page="property"] .page-hero__panel,
body[data-page="probate"] .page-hero__panel {
  padding: 2.35rem 2.5rem;
  border-radius: 8px;
  max-width: 62rem;
  box-shadow: 0 14px 34px rgba(48, 0, 0, 0.05);
}

body[data-page="will"] .page-hero__title,
body[data-page="divorce"] .page-hero__title,
body[data-page="property"] .page-hero__title,
body[data-page="probate"] .page-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.35rem, 3.3vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: none;
}

body[data-page="will"] .page-hero__copy,
body[data-page="divorce"] .page-hero__copy,
body[data-page="property"] .page-hero__copy,
body[data-page="probate"] .page-hero__copy {
  max-width: 48rem;
  font-size: 1rem;
  line-height: 1.62;
  margin-top: 0.3rem;
}

body[data-page="will"] .page-hero__panel--plain,
body[data-page="divorce"] .page-hero__panel--plain,
body[data-page="property"] .page-hero__panel--plain,
body[data-page="probate"] .page-hero__panel--plain {
  position: relative;
  padding: 3.2rem clamp(1.4rem, 5vw, 5.5rem);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  max-width: none;
  min-height: 31rem;
  display: grid;
  align-content: center;
}

body[data-page="will"] .page-hero__panel--plain::before,
body[data-page="divorce"] .page-hero__panel--plain::before,
body[data-page="property"] .page-hero__panel--plain::before,
body[data-page="probate"] .page-hero__panel--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

body[data-page="will"] .page-hero__panel--plain::after,
body[data-page="divorce"] .page-hero__panel--plain::after,
body[data-page="property"] .page-hero__panel--plain::after,
body[data-page="probate"] .page-hero__panel--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 244, 238, 0.98) 0%, rgba(248, 244, 238, 0.94) 36%, rgba(248, 244, 238, 0.56) 58%, rgba(248, 244, 238, 0.14) 100%);
  z-index: 1;
}

body[data-page="will"] .page-hero__panel--plain > *,
body[data-page="divorce"] .page-hero__panel--plain > *,
body[data-page="property"] .page-hero__panel--plain > *,
body[data-page="probate"] .page-hero__panel--plain > * {
  position: relative;
  z-index: 2;
  max-width: min(42rem, 56%);
  margin-left: clamp(2.5rem, 6vw, 9rem);
}

body[data-page="will"] .page-hero__panel--plain::before {
  background-image: url("hero-will-consultation.png");
}

body[data-page="probate"] .page-hero__panel--plain::before {
  background-image: url("hero-probate-consultation.png");
}

body[data-page="divorce"] .page-hero__panel--plain::before {
  background-image: url("hero-divorce-consultation.png");
}

body[data-page="property"] .page-hero__panel--plain::before {
  background-image: url("hero-property-consultation.png");
}

body[data-page="will"] .page-hero__panel--plain .page-hero__copy:not(.page-hero__copy--zh),
body[data-page="probate"] .page-hero__panel--plain .page-hero__copy:not(.page-hero__copy--zh) {
  display: none;
}

body[data-page="will"] .page-hero .eyebrow {
  font-size: 1.44rem;
}

body[data-page="will"] .page-hero__eyebrow-bilingual {
  display: inline-grid;
  gap: 0.18rem;
  line-height: 1.2;
}

body[data-page="will"] .page-hero__eyebrow-en,
body[data-page="will"] .page-hero__eyebrow-zh {
  display: block;
}

body[data-page="will"] .page-hero__eyebrow-zh {
  color: var(--burgundy-700);
}

body[data-page="probate"] .page-hero .eyebrow {
  font-size: 1.44rem;
}

body[data-page="probate"] .page-hero__eyebrow-bilingual {
  display: inline-grid;
  gap: 0.18rem;
  line-height: 1.2;
}

body[data-page="probate"] .page-hero__eyebrow-en,
body[data-page="probate"] .page-hero__eyebrow-zh {
  display: block;
}

body[data-page="probate"] .page-hero__eyebrow-zh {
  color: var(--burgundy-700);
}

body[data-page="property"] .page-hero .eyebrow {
  font-size: 1.44rem;
}

body[data-page="property"] .page-hero__eyebrow-bilingual {
  display: inline-grid;
  gap: 0.18rem;
  line-height: 1.2;
}

body[data-page="property"] .page-hero__eyebrow-en,
body[data-page="property"] .page-hero__eyebrow-zh {
  display: block;
}

body[data-page="property"] .page-hero__eyebrow-zh {
  color: var(--burgundy-700);
}

body[data-page="divorce"] .page-hero .eyebrow {
  font-size: 1.44rem;
}

body[data-page="divorce"] .page-hero__eyebrow-bilingual {
  display: inline-grid;
  gap: 0.18rem;
  line-height: 1.2;
}

body[data-page="divorce"] .page-hero__eyebrow-en,
body[data-page="divorce"] .page-hero__eyebrow-zh {
  display: block;
}

body[data-page="divorce"] .page-hero__eyebrow-zh {
  color: var(--burgundy-700);
}

body[data-page="will"] .page-hero__copy--zh,
body[data-page="divorce"] .page-hero__copy--zh,
body[data-page="property"] .page-hero__copy--zh,
body[data-page="probate"] .page-hero__copy--zh {
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--foreground-soft);
}

body[data-page="will"] .practice-hero--detail,
body[data-page="divorce"] .practice-hero--detail,
body[data-page="property"] .practice-hero--detail,
body[data-page="probate"] .practice-hero--detail {
  padding: 0 0 2rem;
}

body[data-page="will"] .practice-hero__copy,
body[data-page="divorce"] .practice-hero__copy,
body[data-page="property"] .practice-hero__copy,
body[data-page="probate"] .practice-hero__copy {
  margin-left: 0;
  max-width: min(35rem, 100%);
  padding-left: clamp(0.25rem, 1.8vw, 1rem);
}

@media (min-width: 1280px) {
  body[data-page="will"] .practice-hero__copy,
  body[data-page="divorce"] .practice-hero__copy,
  body[data-page="property"] .practice-hero__copy,
  body[data-page="probate"] .practice-hero__copy {
    margin-left: -2.5rem;
  }
}

body[data-page="will"] .practice-hero--detail .eyebrow,
body[data-page="divorce"] .practice-hero--detail .eyebrow,
body[data-page="property"] .practice-hero--detail .eyebrow,
body[data-page="probate"] .practice-hero--detail .eyebrow {
  font-size: 1.87rem;
}

body[data-page="will"] .practice-hero--detail .page-hero__eyebrow-en,
body[data-page="divorce"] .practice-hero--detail .page-hero__eyebrow-en,
body[data-page="property"] .practice-hero--detail .page-hero__eyebrow-en,
body[data-page="probate"] .practice-hero--detail .page-hero__eyebrow-en {
  white-space: nowrap;
}

body[data-page="will"] .section,
body[data-page="divorce"] .section,
body[data-page="property"] .section,
body[data-page="probate"] .section {
  padding: 3.1rem 0;
}

body[data-page="will"] .section--tight,
body[data-page="divorce"] .section--tight,
body[data-page="property"] .section--tight,
body[data-page="probate"] .section--tight {
  padding: 2.5rem 0;
}

body[data-page="will"] .section .eyebrow,
body[data-page="divorce"] .section .eyebrow,
body[data-page="property"] .section .eyebrow,
body[data-page="probate"] .section .eyebrow {
  margin-bottom: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

body[data-page="will"] .section .section-title,
body[data-page="divorce"] .section .section-title,
body[data-page="property"] .section .section-title,
body[data-page="probate"] .section .section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 2.6vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
}

body[data-page="will"] .value-grid,
body[data-page="divorce"] .value-grid,
body[data-page="property"] .value-grid,
body[data-page="probate"] .value-grid,
body[data-page="will"] .services-layout,
body[data-page="divorce"] .services-layout,
body[data-page="property"] .services-layout,
body[data-page="probate"] .services-layout {
  gap: 1rem;
}

body[data-page="will"] .service-panel,
body[data-page="will"] .faq-card,
body[data-page="will"] .info-card,
body[data-page="divorce"] .service-panel,
body[data-page="divorce"] .faq-card,
body[data-page="divorce"] .info-card,
body[data-page="property"] .service-panel,
body[data-page="property"] .faq-card,
body[data-page="property"] .info-card,
body[data-page="probate"] .service-panel,
body[data-page="probate"] .faq-card,
body[data-page="probate"] .info-card {
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(98, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: none;
}

body[data-page="will"] .prep-card,
body[data-page="divorce"] .prep-card,
body[data-page="property"] .prep-card,
body[data-page="probate"] .prep-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-inline: 0;
}

body[data-page="property"] .property-next-step {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

body[data-page="property"] .property-next-step__copy {
  max-width: 72rem;
}

body[data-page="property"] .property-next-step__button {
  flex: 0 0 auto;
  min-width: 9.5rem;
}

body[data-page="contact"] #get-in-touch {
  scroll-margin-top: var(--header-offset);
}

body[data-page="will"] .service-panel h2,
body[data-page="will"] .faq-card h2,
body[data-page="will"] .info-card h2,
body[data-page="divorce"] .service-panel h2,
body[data-page="divorce"] .faq-card h2,
body[data-page="divorce"] .info-card h2,
body[data-page="property"] .service-panel h2,
body[data-page="property"] .faq-card h2,
body[data-page="property"] .info-card h2,
body[data-page="probate"] .service-panel h2,
body[data-page="probate"] .faq-card h2,
body[data-page="probate"] .info-card h2 {
  font-family: var(--font-body);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.16;
  margin-bottom: 0.15rem;
}

body[data-page="will"] .service-panel p,
body[data-page="will"] .faq-card p,
body[data-page="will"] .info-card p,
body[data-page="will"] .service-panel li,
body[data-page="will"] .info-card li,
body[data-page="divorce"] .service-panel p,
body[data-page="divorce"] .faq-card p,
body[data-page="divorce"] .info-card p,
body[data-page="divorce"] .service-panel li,
body[data-page="divorce"] .info-card li,
body[data-page="property"] .service-panel p,
body[data-page="property"] .faq-card p,
body[data-page="property"] .info-card p,
body[data-page="property"] .service-panel li,
body[data-page="property"] .info-card li,
body[data-page="probate"] .service-panel p,
body[data-page="probate"] .faq-card p,
body[data-page="probate"] .info-card p,
body[data-page="probate"] .service-panel li,
body[data-page="probate"] .info-card li {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.62;
}

body[data-page="will"] .section-subtitle-zh {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--burgundy-700);
}

body[data-page="divorce"] .section-subtitle-zh {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--burgundy-700);
}

body[data-page="probate"] .section-subtitle-zh {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--burgundy-700);
}

body[data-page="property"] .section-subtitle-zh {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--font-body);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--burgundy-700);
}

body[data-page="divorce"] .section-subtitle-zh--large {
  font-size: 1.1rem;
}

body[data-page="probate"] .section-subtitle-zh--large {
  font-size: 1.1rem;
}

body[data-page="property"] .section-subtitle-zh--large {
  font-size: 1.1rem;
}

body[data-page="divorce"] .service-panel--centered,
body[data-page="property"] .service-panel--centered {
  text-align: center;
}

body[data-page="divorce"] .divorce-decision,
body[data-page="property"] .property-decision {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

body[data-page="divorce"] .divorce-decision__stack,
body[data-page="property"] .property-decision__stack {
  display: grid;
  gap: 1.35rem;
}

body[data-page="divorce"] .divorce-decision__lead,
body[data-page="divorce"] .divorce-decision__card,
body[data-page="property"] .property-decision__lead,
body[data-page="property"] .property-decision__card,
body[data-page="probate"] .probate-decision__lead,
body[data-page="probate"] .probate-decision__card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="divorce"] .divorce-decision__lead,
body[data-page="property"] .property-decision__lead,
body[data-page="probate"] .probate-decision__lead {
  padding: 1.4rem 1.25rem 1.5rem;
}

body[data-page="divorce"] .divorce-decision__lead .eyebrow,
body[data-page="property"] .property-decision__lead .eyebrow,
body[data-page="probate"] .probate-decision__lead .eyebrow {
  justify-content: center;
  margin-bottom: 0.85rem;
}

body[data-page="divorce"] .divorce-decision__lead .section-title,
body[data-page="property"] .property-decision__lead .section-title,
body[data-page="probate"] .probate-decision__lead .section-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
}

body[data-page="divorce"] .divorce-decision__grid,
body[data-page="property"] .property-decision__grid,
body[data-page="probate"] .divorce-decision__grid {
  gap: 1rem;
  position: relative;
}

body[data-page="property"] .property-decision__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="divorce"] .divorce-decision__card,
body[data-page="property"] .property-decision__card,
body[data-page="probate"] .probate-decision__card {
  padding: 1.35rem 1.25rem 1.45rem;
  position: relative;
}

body[data-page="divorce"] .divorce-decision__card + .divorce-decision__card::before,
body[data-page="property"] .property-decision__card + .property-decision__card::before,
body[data-page="probate"] .probate-decision__card + .probate-decision__card::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(92, 9, 14, 0.15), rgba(92, 9, 14, 0.85), rgba(92, 9, 14, 0.15));
}

body[data-page="divorce"] .divorce-decision__card .eyebrow,
body[data-page="property"] .property-decision__card .eyebrow,
body[data-page="probate"] .probate-decision__card .eyebrow {
  margin-bottom: 0.9rem;
}

body[data-page="divorce"] .divorce-decision__card .section-title,
body[data-page="property"] .property-decision__card .section-title,
body[data-page="probate"] .probate-decision__card .section-title {
  margin-bottom: 0.95rem;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  line-height: 1.12;
}

body[data-page="divorce"] .divorce-decision__card p,
body[data-page="property"] .property-decision__card p,
body[data-page="probate"] .probate-decision__card p {
  max-width: 34rem;
}

@media (max-width: 900px) {
  body[data-page="property"] .property-decision__grid {
    grid-template-columns: 1fr;
  }

  body[data-page="divorce"] .divorce-decision__card + .divorce-decision__card::before,
  body[data-page="property"] .property-decision__card + .property-decision__card::before,
  body[data-page="probate"] .probate-decision__card + .probate-decision__card::before {
    left: 1.25rem;
    right: 1.25rem;
    top: -0.5rem;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}


body[data-page="probate"] .service-panel--centered {
  text-align: center;
}

body[data-page="property"] .service-panel--centered {
  text-align: center;
}

body[data-page="divorce"] .service-panel--centered h2,
body[data-page="divorce"] .section--stone .section-title,
body[data-page="divorce"] .info-card h2 {
  margin-bottom: 0;
}

body[data-page="probate"] .service-panel--centered h2,
body[data-page="probate"] .section--stone .section-title,
body[data-page="probate"] .info-card h2 {
  margin-bottom: 0;
}

body[data-page="property"] .section--stone .section-title,
body[data-page="property"] .info-card h2 {
  margin-bottom: 0;
}


body[data-page="will"] .timeline,
body[data-page="divorce"] .timeline,
body[data-page="property"] .timeline,
body[data-page="probate"] .timeline {
  margin-top: 1.5rem;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: stretch;
}

body[data-page="will"] .timeline__item,
body[data-page="divorce"] .timeline__item,
body[data-page="property"] .timeline__item,
body[data-page="probate"] .timeline__item {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(98, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.78);
}

body[data-page="will"] .timeline__item::after,
body[data-page="divorce"] .timeline__item::after,
body[data-page="property"] .timeline__item::after,
body[data-page="probate"] .timeline__item::after {
  display: none;
}

body[data-page="will"] .timeline__index,
body[data-page="divorce"] .timeline__index,
body[data-page="property"] .timeline__index,
body[data-page="probate"] .timeline__index {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body[data-page="will"] .timeline__title,
body[data-page="divorce"] .timeline__title,
body[data-page="property"] .timeline__title,
body[data-page="probate"] .timeline__title {
  margin: 0.45rem 0 0.3rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.28;
}

body[data-page="will"] .timeline__item p,
body[data-page="divorce"] .timeline__item p,
body[data-page="property"] .timeline__item p,
body[data-page="probate"] .timeline__item p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.55;
}

body[data-page="will"] .timeline__item .icon-circle,
body[data-page="divorce"] .timeline__item .icon-circle,
body[data-page="property"] .timeline__item .icon-circle,
body[data-page="probate"] .timeline__item .icon-circle {
  display: none;
}

.timeline__line {
  display: block;
}

.timeline__line--en {
  line-height: 1.4;
}

.timeline__line--zh {
  margin-top: 0.18rem;
  font-size: 0.92em;
  line-height: 1.5;
  color: var(--foreground-soft);
}

body[data-page="property"] .listing-grid {
  gap: 0.9rem;
}

body[data-page="property"] .listing-card {
  padding: 1.1rem 1.05rem;
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: none;
  font-family: var(--font-body);
}

body[data-page="property"] .listing-card__location {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body[data-page="property"] .listing-card__price {
  font-size: 1.65rem;
}

body[data-page="property"] .listing-card li {
  font-family: var(--font-body);
}

body[data-page="will"] .faq-stack,
body[data-page="divorce"] .faq-stack,
body[data-page="property"] .faq-stack,
body[data-page="probate"] .faq-stack {
  gap: 0.6rem;
}

body[data-page="will"] .faq-item summary,
body[data-page="divorce"] .faq-item summary,
body[data-page="property"] .faq-item summary,
body[data-page="probate"] .faq-item summary {
  display: block;
  line-height: 1.45;
}

body[data-page="will"] .faq-item summary .faq-line,
body[data-page="will"] .faq-item p .faq-line,
body[data-page="divorce"] .faq-item summary .faq-line,
body[data-page="divorce"] .faq-item p .faq-line,
body[data-page="property"] .faq-item summary .faq-line,
body[data-page="property"] .faq-item p .faq-line,
body[data-page="probate"] .faq-item summary .faq-line,
body[data-page="probate"] .faq-item p .faq-line {
  display: block;
  width: 100%;
}

body[data-page="will"] .faq-item summary .faq-line--en,
body[data-page="will"] .faq-item p .faq-line--en,
body[data-page="divorce"] .faq-item summary .faq-line--en,
body[data-page="divorce"] .faq-item p .faq-line--en,
body[data-page="property"] .faq-item summary .faq-line--en,
body[data-page="property"] .faq-item p .faq-line--en,
body[data-page="probate"] .faq-item summary .faq-line--en,
body[data-page="probate"] .faq-item p .faq-line--en {
  line-height: 1.45;
}

body[data-page="will"] .faq-item summary .faq-line--zh,
body[data-page="will"] .faq-item p .faq-line--zh,
body[data-page="divorce"] .faq-item summary .faq-line--zh,
body[data-page="divorce"] .faq-item p .faq-line--zh,
body[data-page="property"] .faq-item summary .faq-line--zh,
body[data-page="property"] .faq-item p .faq-line--zh,
body[data-page="probate"] .faq-item summary .faq-line--zh,
body[data-page="probate"] .faq-item p .faq-line--zh {
  margin-top: 0.18rem;
  font-size: 0.94em;
  line-height: 1.5;
  color: var(--foreground-soft);
}

body[data-page="will"] .page-hero__title,
body[data-page="divorce"] .page-hero__title,
body[data-page="property"] .page-hero__title,
body[data-page="probate"] .page-hero__title,
body[data-page="will"] .service-panel h2,
body[data-page="will"] .faq-card h2,
body[data-page="will"] .info-card h2,
body[data-page="will"] .distribution-table th,
body[data-page="divorce"] .service-panel h2,
body[data-page="divorce"] .faq-card h2,
body[data-page="divorce"] .info-card h2,
body[data-page="property"] .service-panel h2,
body[data-page="property"] .faq-card h2,
body[data-page="property"] .info-card h2,
body[data-page="probate"] .service-panel h2,
body[data-page="probate"] .faq-card h2,
body[data-page="probate"] .info-card h2 {
  font-family: var(--font-body);
}

body[data-page="will"] .page-hero__copy,
body[data-page="divorce"] .page-hero__copy,
body[data-page="property"] .page-hero__copy,
body[data-page="probate"] .page-hero__copy,
body[data-page="will"] .service-panel p,
body[data-page="will"] .service-panel li,
body[data-page="will"] .info-card p,
body[data-page="will"] .info-card li,
body[data-page="will"] .faq-item summary,
body[data-page="will"] .faq-item p,
body[data-page="will"] .distribution-table td,
body[data-page="divorce"] .service-panel p,
body[data-page="divorce"] .service-panel li,
body[data-page="divorce"] .info-card p,
body[data-page="divorce"] .info-card li,
body[data-page="divorce"] .faq-item summary,
body[data-page="divorce"] .faq-item p,
body[data-page="property"] .service-panel p,
body[data-page="property"] .service-panel li,
body[data-page="property"] .info-card p,
body[data-page="property"] .info-card li,
body[data-page="property"] .faq-item summary,
body[data-page="property"] .faq-item p,
body[data-page="property"] .listing-card,
body[data-page="probate"] .service-panel p,
body[data-page="probate"] .service-panel li,
body[data-page="probate"] .info-card p,
body[data-page="probate"] .info-card li,
body[data-page="probate"] .faq-item summary,
body[data-page="probate"] .faq-item p {
  font-family: var(--font-body);
}

body[data-page="will"] .distribution-table th .faq-line {
  display: block;
  width: 100%;
}

body[data-page="will"] .distribution-table th:first-child {
  vertical-align: middle;
}

body[data-page="will"] .distribution-table th:not(:first-child),
body[data-page="will"] .distribution-table td:not(:first-child) {
  text-align: center;
}

body[data-page="will"] .distribution-table th .faq-line--en {
  line-height: 1.38;
}

body[data-page="will"] .distribution-table th .faq-line--zh {
  margin-top: 0.14rem;
  font-size: 0.92em;
  line-height: 1.42;
  color: var(--foreground-soft);
}

body[data-page="will"] .service-panel--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.service-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  min-height: 41rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(252, 250, 247, 0.8);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 7.5rem;
}

.service-feature--reverse {
  grid-template-columns: 1fr;
}

.service-feature--reverse .service-feature__visual {
  order: 0;
}

.service-feature--reverse .service-feature__content {
  order: 0;
}

.service-feature__visual {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  min-height: 100%;
  border: 0;
  box-shadow: none;
  background: #eadfd2;
}

.service-feature__visual-link {
  display: block;
  height: 100%;
}

.service-feature__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(33, 27, 24, 0.02) 0%, rgba(33, 27, 24, 0.02) 48%, rgba(252, 250, 247, 0.38) 62%, rgba(252, 250, 247, 0.96) 78%, rgba(252, 250, 247, 1) 100%);
  pointer-events: none;
}

.service-feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-feature__image--divorce {
  object-position: 60% center;
}

.service-feature__image--estate {
  object-position: center center;
}

.service-feature__image--labour {
  object-position: 64% center;
}

.service-feature__image--debt {
  object-position: center center;
}

.service-feature__image--property {
  object-position: 58% center;
}

.service-feature__image--contracts {
  object-position: center center;
}

.service-feature__heading-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
}

.service-feature__heading-link:hover,
.service-feature__heading-link:focus-visible {
  color: var(--burgundy-700);
}

.service-feature__title {
  min-height: 4.9rem;
  margin: 0;
}

.service-feature__title-en,
.service-feature__title-zh {
  display: block;
}

.service-feature__title-en {
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.08;
}

.service-feature__title-zh {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--burgundy-700);
}

.service-feature__content {
  width: min(42%, 36rem);
  max-width: 100%;
  min-width: 0;
  min-height: calc(100% - 1rem);
  margin-left: auto;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
  padding: 2.8rem 2.3rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.9) 0%, rgba(253, 250, 246, 0.96) 100%);
  box-shadow: 0 18px 44px rgba(71, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.service-feature__content p {
  margin: 0;
}

.service-feature__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--foreground-soft);
}

.service-feature__list li + li {
  margin-top: 0.45rem;
}

.service-intro {
  max-width: 44rem;
}

body[data-page="service"] .service-feature,
body[data-page="services"] .service-feature {
  min-height: 34rem;
  padding: 1.35rem;
  border-radius: 16px;
  scroll-margin-top: calc(50vh - 17rem);
  transform-origin: center center;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature,
body[data-page="services"] .service-stack:has(.service-feature.is-active) .service-feature {
  opacity: 0.42;
  filter: blur(7px) saturate(0.82);
  transform: scale(0.985);
  box-shadow: none;
}

body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-prev,
body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-next,
body[data-page="services"] .service-stack:has(.service-feature.is-active) .service-feature.is-prev,
body[data-page="services"] .service-stack:has(.service-feature.is-active) .service-feature.is-next {
  opacity: 0.62;
  filter: blur(4px) saturate(0.9);
  transform: scale(0.992);
}

body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-active,
body[data-page="services"] .service-stack:has(.service-feature.is-active) .service-feature.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
  box-shadow: var(--shadow-soft);
}

body[data-page="service"] .service-feature__visual::after,
body[data-page="services"] .service-feature__visual::after {
  background:
    linear-gradient(90deg, rgba(33, 27, 24, 0.01) 0%, rgba(33, 27, 24, 0.01) 50%, rgba(252, 250, 247, 0.42) 64%, rgba(252, 250, 247, 0.97) 79%, rgba(252, 250, 247, 1) 100%);
}

body[data-page="service"] .service-feature__content,
body[data-page="services"] .service-feature__content {
  width: min(39%, 31rem);
  min-height: auto;
  gap: 0.75rem;
  padding: 2rem 1.7rem;
  border-radius: 14px;
}

body[data-page="service"] .service-feature__content .section-title,
body[data-page="services"] .service-feature__content .section-title {
  font-size: clamp(1.7rem, 2.3vw, 2.6rem);
}

body[data-page="service"] .service-feature__content p,
body[data-page="service"] .service-feature__content li,
body[data-page="services"] .service-feature__content p,
body[data-page="services"] .service-feature__content li {
  font-size: 0.94rem;
  line-height: 1.55;
}

body[data-page="service"] .service-feature__list,
body[data-page="services"] .service-feature__list {
  padding-left: 1rem;
}

body[data-page="service"] .service-feature__list li + li,
body[data-page="services"] .service-feature__list li + li {
  margin-top: 0.35rem;
}

body[data-page="service"] .btn-row,
body[data-page="services"] .btn-row {
  gap: 0.7rem;
}

body[data-page="service"] .btn-row .btn,
body[data-page="services"] .btn-row .btn {
  min-height: 42px;
  padding: 0.72rem 1.1rem;
  font-size: 0.88rem;
}

body[data-page="service"] .eyebrow,
body[data-page="service"] .services-jump-nav__link,
body[data-page="service"] .services-index__label,
body[data-page="service"] .services-index__number,
body[data-page="service"] .page-hero__copy,
body[data-page="service"] .service-feature__title-en,
body[data-page="service"] .service-feature__title-zh,
body[data-page="service"] .service-feature__content p,
body[data-page="service"] .service-feature__content li,
body[data-page="service"] .service-feature__list,
body[data-page="service"] .cta-banner p {
  font-family: var(--font-body);
}

body[data-page="service"] .page-hero__title,
body[data-page="service"] .service-feature__content .section-title,
body[data-page="service"] .cta-banner__title {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body[data-page="service"] .page-hero__title {
  font-size: clamp(2.2rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

body[data-page="service"] .service-intro {
  font-size: 1.3rem;
  line-height: 1.35;
}

body[data-page="service"] .page-hero__copy {
  font-size: 1.05rem;
  line-height: 1.58;
}

body[data-page="service"] .practice-hero--services .eyebrow {
  font-size: 1.87rem;
}

body[data-page="service"] .practice-hero__copy {
  margin-left: 0;
  max-width: min(44rem, 100%);
  padding-left: clamp(0.25rem, 1.8vw, 1rem);
}

@media (min-width: 1280px) {
  body[data-page="service"] .practice-hero__copy {
    margin-left: -2.5rem;
  }
}

body[data-page="service"] .page-hero__eyebrow-bilingual {
  display: inline-grid;
  gap: 0.18rem;
  line-height: 1.2;
}

body[data-page="service"] .page-hero__copy {
  width: max-content;
  max-width: 100%;
  text-wrap: normal;
}

body[data-page="service"] .page-hero__eyebrow-en,
body[data-page="service"] .page-hero__eyebrow-zh {
  display: block;
}

body[data-page="service"] .page-hero__eyebrow-zh {
  color: var(--burgundy-700);
}

body[data-page="service"] .services-jump-nav__link,
body[data-page="service"] .services-index__link {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

body[data-page="service"] .service-feature__title-en {
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

body[data-page="service"] .service-feature__title-zh {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.28;
  color: var(--burgundy-700);
}

body[data-page="service"] .service-feature__content p,
body[data-page="service"] .service-feature__content li {
  font-size: 1.05rem;
  line-height: 1.58;
}

body[data-page="service"] .cta-banner__title {
  line-height: 1.1;
}

body[data-page="service"] .cta-banner__title--compact {
  font-size: clamp(1.2rem, 2.05vw, 2.2rem);
}

body[data-page="service"] .cta-banner p,
body[data-page="service"] .btn-row .btn {
  font-family: var(--font-body);
}

.editorial-band__visual {
  border-radius: var(--radius-xl);
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(92, 9, 14, 0.18), rgba(92, 9, 14, 0.18)),
    url("hero-generated.png") center/cover;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.faq-item:first-child {
  border-top: none;
  padding-top: 0;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

.contact-hub {
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  align-content: start;
}

.contact-hub__intro {
  display: grid;
  gap: 0.8rem;
}

.contact-hub__intro h1,
.contact-hub__intro h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-family: var(--font-body);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.contact-hub__intro p {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground-soft);
  max-width: 34rem;
}

.contact-section-heading .eyebrow {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
}

.contact-section-heading .eyebrow::before {
  content: "";
  width: 3.4rem;
  height: 1px;
  background: rgba(185, 153, 104, 0.8);
}

.contact-why,
.contact-offices {
  display: grid;
  gap: 1rem;
}

.contact-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-why__card {
  display: grid;
  gap: 0.7rem;
  min-height: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-why__index {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy-700);
}

.contact-why__card h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.contact-why__card p {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground-soft);
  line-height: 1.65;
}

.contact-office-stack {
  display: grid;
  gap: 1rem;
}

.contact-office-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1.02fr) minmax(0, 0.98fr);
  gap: 1rem;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-office-panel__map {
  min-height: 18rem;
}

.contact-office-panel__details {
  display: grid;
  align-content: center;
  gap: 0.3rem;
}

.contact-office-panel__details h2 {
  margin: 0;
  font-size: 1.47rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body[data-page="contact"] .office-contact-item {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.5;
}

body[data-page="contact"] .office-contact-list {
  gap: 0.32rem;
}

.contact-hub__grid,
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.2rem 1.25rem;
  min-height: 0;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  background: rgba(255, 253, 250, 0.72);
}

.contact-card__label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.contact-card a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy-700);
  overflow-wrap: anywhere;
}

.contact-card p {
  margin: 0;
}

.contact-card--office {
  grid-column: 1 / -1;
}

.contact-form {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(92, 9, 14, 0.14);
  background: rgba(252, 250, 247, 0.92);
  box-shadow: var(--shadow-card);
  font-family: var(--font-body);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
}

input,
select,
textarea {
  font-family: var(--font-body);
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(92, 9, 14, 0.18);
  background: #fffdfa;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(92, 9, 14, 0.42);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-row input {
  width: 20px;
  min-height: 20px;
  margin-top: 0.18rem;
}

.form-note,
.turnstile-note,
.map-note,
.legal-note {
  font-family: var(--font-body);
  color: var(--foreground-muted);
  font-size: 0.94rem;
}

body[data-page="privacy"],
body[data-page="terms"] {
  background: linear-gradient(180deg, #f6efe6 0%, #efe4d7 100%);
  color: #111111;
}

.legal-plain-section {
  padding: 2.25rem 0 5rem;
}

.legal-plain {
  max-width: 880px;
  color: #111111;
}

.legal-plain h1,
.legal-plain h2,
.legal-plain h3,
.legal-plain p,
.legal-plain li {
  color: #111111;
}

.legal-plain h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
}

.legal-plain h2 {
  margin: 2.2rem 0 0.8rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.legal-plain h3 {
  margin: 1.4rem 0 0.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.legal-plain p,
.legal-plain li {
  font-size: 1rem;
  line-height: 1.9;
}

.legal-plain p {
  margin: 0 0 1rem;
}

.legal-plain ul {
  margin: 0 0 1.2rem 1.25rem;
  padding: 0;
}

.legal-plain li + li {
  margin-top: 0.25rem;
}

.contact-form .btn-row {
  margin-top: 1rem;
}

body[data-page="contact"] .branch-stack__label,
body[data-page="contact"] .checkbox-row label,
body[data-page="contact"] .office-action-row,
body[data-page="contact"] .contact-hub,
body[data-page="contact"] .contact-offices {
  font-family: var(--font-body);
}

.form-alert {
  display: none;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
}

.form-alert.is-visible {
  display: block;
}

.form-alert--error {
  background: #fff0ef;
  color: #7f2228;
  border: 1px solid rgba(127, 34, 40, 0.16);
}

.form-alert--success {
  background: #f4f7ed;
  color: #44522b;
  border: 1px solid rgba(68, 82, 43, 0.16);
}

.map-frame {
  border-radius: 8px;
  overflow: hidden;
  height: 360px;
  background: #efe5db;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.mobile-contact-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  gap: 0.75rem;
}

.mobile-contact-bar .btn {
  flex: 1;
  min-height: 52px;
}

.floating-cta {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 0.9rem;
}

.floating-cta a,
.floating-cta button {
  box-shadow: 0 18px 40px rgba(59, 6, 9, 0.18);
}

.floating-cta__quote,
.floating-cta__whatsapp,
.floating-cta__properties {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.floating-cta__quote:hover,
.floating-cta__quote:focus-visible,
.floating-cta__properties:hover,
.floating-cta__properties:focus-visible,
.floating-cta__whatsapp:hover,
.floating-cta__whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(59, 6, 9, 0.24);
}

.floating-cta__quote {
  gap: 0.7rem;
  min-height: 62px;
  padding: 0 1.35rem 0 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 240, 0.1);
  background:
    linear-gradient(135deg, rgba(115, 0, 0, 0.96), rgba(48, 0, 0, 0.98)),
    linear-gradient(135deg, rgba(209, 181, 139, 0.16), rgba(209, 181, 139, 0));
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.floating-cta__quote svg {
  width: 1rem;
  height: 1rem;
}

.floating-cta__properties {
  gap: 0.65rem;
  min-height: 54px;
  padding: 0 1.2rem;
  border: 1px solid rgba(98, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.95);
  color: var(--burgundy-800);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.floating-cta__properties svg {
  width: 1rem;
  height: 1rem;
}

.floating-cta__whatsapp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 0;
  border: 4px solid rgba(255, 253, 250, 0.9);
  background: linear-gradient(135deg, #2ddd67, #14b84f);
  color: #fff;
}

.floating-cta__whatsapp svg {
  width: 1.8rem;
  height: 1.8rem;
}

.whatsapp-dialog[hidden] {
  display: none;
}

.whatsapp-dialog {
  position: fixed;
  inset: 0;
  z-index: 125;
}

.whatsapp-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 18, 16, 0.56);
  backdrop-filter: blur(6px);
}

.whatsapp-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 40px));
  margin: min(12vh, 84px) auto 0;
  padding: 1.4rem 1.4rem 1.45rem;
  border: 1px solid rgba(98, 0, 0, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 243, 236, 0.96));
  box-shadow: 0 28px 80px rgba(34, 11, 11, 0.24);
}

.whatsapp-dialog__header {
  display: grid;
  gap: 0.45rem;
  padding-right: 3.4rem;
}

.whatsapp-dialog__copy {
  margin: 0;
  color: var(--foreground-soft);
}

.whatsapp-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(92, 9, 14, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--burgundy-800);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.whatsapp-dialog__close:hover,
.whatsapp-dialog__close:focus-visible {
  transform: translateY(-1px);
  background: rgba(92, 9, 14, 0.06);
  border-color: rgba(92, 9, 14, 0.2);
}

.whatsapp-dialog__branches {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.whatsapp-dialog__branch {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(98, 0, 0, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-dialog__branch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid rgba(255, 253, 250, 0.9);
  background: linear-gradient(135deg, #2ddd67, #14b84f);
  color: #ffffff;
  flex: 0 0 auto;
}

.whatsapp-dialog__branch-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.whatsapp-dialog__branch-content {
  display: grid;
  gap: 0.2rem;
}

.whatsapp-dialog__branch:hover,
.whatsapp-dialog__branch:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(98, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(48, 0, 0, 0.08);
}

.whatsapp-dialog__branch-name {
  color: var(--burgundy-800);
  font-size: 1.08rem;
  font-weight: 700;
}

.whatsapp-dialog__branch-lawyer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--foreground);
  font-size: 0.95rem;
  font-weight: 600;
}

.whatsapp-dialog__branch-lawyer-zh {
  font-family: Arial, sans-serif;
}

.whatsapp-dialog__branch-meta {
  color: var(--foreground-soft);
  font-size: 0.95rem;
}

@media (min-width: 1181px) {
  .floating-cta {
    bottom: 4.75rem;
  }
}

body.has-property-dialog-open,
body.has-whatsapp-dialog-open {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .cards-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practice-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline__item:nth-child(3)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-row: auto;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-offset: 5.9rem;
  }

  body[data-page="home"] main#main > .hero,
  body[data-page="home"] main#main > .section {
    padding-block: clamp(2rem, 4.5vh, 3rem);
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .site-nav .nav-links,
  .site-nav .btn {
    display: none;
  }

  .service-menu {
    display: none;
  }

  .site-header__topbar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero__grid,
  .split-feature,
  .content-grid,
  .services-layout,
  .contact-layout,
  .editorial-band,
  .service-feature,
  .service-feature--reverse,
  .cta-banner,
  .practice-area-panel,
  .office-panel {
    grid-template-columns: 1fr;
  }

  .service-feature--reverse .service-feature__visual,
  .service-feature--reverse .service-feature__content {
    order: initial;
  }

  .service-feature {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    scroll-margin-top: calc(var(--header-offset) + 1rem);
    overflow: visible;
    background: transparent;
    box-shadow: none;
    transition: none;
    transform: none;
    filter: none;
    opacity: 1;
  }

  .service-feature__visual {
    position: static;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    background: rgba(252, 250, 247, 0.72);
  }

  .service-feature__visual::after {
    display: none;
  }

  .service-feature__content {
    width: auto;
    min-height: 0;
    margin-left: 0;
    align-self: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-prev,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-next,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-active {
    opacity: 1;
    filter: none;
    transform: none;
    box-shadow: none;
  }

  body[data-page="service"] .practice-hero__panel,
  body[data-page="services"] .practice-hero__panel {
    min-height: 23rem;
  }

  body[data-page="service"] .practice-hero__copy,
  body[data-page="services"] .practice-hero__copy {
    margin-left: 0;
    max-width: min(44rem, 100%);
    padding-right: clamp(0.5rem, 2vw, 1.5rem);
  }

  body[data-page="service"] .practice-hero--services .eyebrow,
  body[data-page="services"] .practice-hero--services .eyebrow {
    font-size: clamp(1.45rem, 4.4vw, 1.72rem);
    letter-spacing: 0.2em;
  }

  body[data-page="service"] .page-hero__copy,
  body[data-page="services"] .page-hero__copy {
    max-width: 100%;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  body[data-page="service"] .services-jump-nav__link,
  body[data-page="services"] .services-jump-nav__link {
    min-height: 38px;
    padding: 0.62rem 0.88rem;
    font-size: 0.72rem;
  }

  body[data-page="service"] .service-feature,
  body[data-page="services"] .service-feature {
    gap: 0.9rem;
  }

  body[data-page="service"] .service-feature__visual,
  body[data-page="services"] .service-feature__visual {
    aspect-ratio: 16 / 9;
  }

  body[data-page="service"] .service-feature__image--divorce,
  body[data-page="services"] .service-feature__image--divorce {
    object-position: 66% center;
  }

  body[data-page="service"] .service-feature__image--labour,
  body[data-page="services"] .service-feature__image--labour {
    object-position: 70% center;
  }

  body[data-page="service"] .service-feature__image--property,
  body[data-page="services"] .service-feature__image--property {
    object-position: 62% center;
  }

  body[data-page="service"] .service-feature__content .section-title,
  body[data-page="services"] .service-feature__content .section-title {
    font-size: clamp(1.55rem, 6vw, 2.1rem);
  }

  body[data-page="service"] .page-hero__copy,
  body[data-page="service"] .service-intro,
  body[data-page="service"] .service-feature__content p,
  body[data-page="service"] .service-feature__content li,
  body[data-page="services"] .service-feature__content p,
  body[data-page="services"] .service-feature__content li {
    font-size: 0.92rem;
  }

  body[data-page="service"] .btn-row .btn,
  body[data-page="services"] .btn-row .btn {
    width: auto;
    flex: 1 1 11rem;
  }

  .hero__copy-wrap {
    padding: 2rem 0 2rem 0.5rem;
  }

  .hero__copy-wrap::after {
    display: none;
  }

  .hero__image {
    min-height: 28rem;
  }

  .value-panel,
  .partner-card {
    border-radius: var(--radius-xl);
  }

  .partner-card {
    grid-template-columns: 280px 1fr;
  }

  .cta-banner__actions {
    justify-content: flex-start;
  }

  .practice-hero__panel {
    min-height: 30rem;
    background:
      linear-gradient(180deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.82) 42%, rgba(255, 252, 248, 0.28) 100%),
      url("heroofpractisearea.png") center / cover no-repeat;
  }

  .practice-hero__panel--services {
    background:
      linear-gradient(180deg, rgba(255, 252, 248, 0.94) 0%, rgba(255, 252, 248, 0.82) 42%, rgba(255, 252, 248, 0.28) 100%),
      url("hero-generated.png") center / cover no-repeat;
  }

  .practice-hero__panel--home {
    background: transparent;
  }

  .practice-hero__panel--home::before {
    background-position: 64% center;
  }

  .practice-hero__panel--home::after {
    background:
      linear-gradient(180deg, rgba(250, 246, 240, 0.96) 0%, rgba(250, 246, 240, 0.86) 42%, rgba(247, 241, 233, 0.34) 100%),
      linear-gradient(180deg, rgba(27, 24, 22, 0.06) 0%, rgba(27, 24, 22, 0.14) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  }

  .practice-hero__panel--about {
    background:
      radial-gradient(circle at 76% 24%, rgba(185, 153, 104, 0.18), transparent 22%),
      linear-gradient(180deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 249, 243, 0.9) 42%, rgba(248, 241, 233, 0.78) 100%);
  }

  .practice-hero__inner {
    width: min(var(--container), calc(100% - 40px));
    padding: 2.5rem 0;
  }

  .practice-hero__inner--about {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .practice-hero__copy--about {
    max-width: 100%;
  }

  .practice-hero__copy--home {
    max-width: 100%;
  }

  body[data-page="home"] .page-hero__title {
    font-size: clamp(2.15rem, 5vw, 3.15rem);
  }

  body[data-page="home"] .practice-matrix__item {
    min-height: 9.6rem;
  }

  body[data-page="home"] .practice-matrix__item .icon-circle {
    width: 3.4rem;
    height: 3.4rem;
  }

  body[data-page="home"] .practice-matrix__item .icon-circle svg {
    width: 1.9rem;
    height: 1.9rem;
  }

  body[data-page="home"] .office-group {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .office-group__media {
    min-height: 11rem;
  }

  body[data-page="home"] .timeline {
    gap: 0.65rem;
  }

  body[data-page="home"] .contact-form {
    padding: 1.2rem;
  }

  body[data-page="home"] .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more-about-layout,
  .office-group {
    grid-template-columns: 1fr;
  }

  .office-group__media {
    min-height: 14rem;
  }

  .about-hero__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lawyer-grid {
    grid-template-columns: 1fr;
  }

  .lawyer-profile {
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  }

  .lawyer-profile__portrait {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .about-hero-montage {
    min-height: 30rem;
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
  }

  .practice-area-panel__content,
  .practice-area-panel__list {
    padding-left: 0;
    border-left: none;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-index {
    position: static;
  }

  .services-index {
    left: 1rem;
  }

  .services-index__link {
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  :root {
    --header-offset: 5.2rem;
  }

  .brand img {
    width: 58px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .brand__mark {
    width: 56px;
  }

  .brand__text {
    min-width: 0;
    justify-content: center;
  }

  .brand__label {
    width: min(34vw, 164px);
    inline-size: min(34vw, 164px);
    max-inline-size: 100%;
    min-width: 0;
  }

  .brand__sub {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .cards-6,
  .timeline,
  .value-grid,
  .contact-why__grid,
  .contact-card-grid,
  .contact-hub__grid,
  .page-hero__details,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .practice-matrix {
    grid-template-columns: 1fr;
  }

  .contact-office-panel {
    grid-template-columns: 1fr;
  }

  .contact-office-panel__map {
    min-height: 14rem;
  }

  body[data-page="property"] .property-next-step {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="property"] .property-next-step__button {
    width: 100%;
  }

  .practice-matrix__item {
    min-height: 7.4rem;
    padding: 1.1rem 1rem;
    gap: 0.65rem;
  }

  .practice-matrix__item .icon-circle {
    width: 2.25rem;
    height: 2.25rem;
  }

  .practice-matrix__item .icon-circle svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .practice-matrix__item h3 {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.18;
  }

  .more-about-layout {
    padding: 1rem;
  }

  .office-group__media {
    min-height: 11.5rem;
  }

  .partner-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .partner-card__content {
    padding: 0.5rem;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero__copy-wrap {
    padding-left: 0;
  }

  .hero__image {
    min-height: 21rem;
    border-radius: 22px;
  }

  .page-hero__panel {
    padding: 2rem 1.2rem;
  }

  .property-dialog__panel {
    width: min(100vw - 20px, 100%);
    height: 90vh;
    max-height: 90vh;
    margin: 10px auto;
    padding: 1rem 0.95rem 1.05rem;
    border-radius: 12px;
  }

  .listing-grid--dialog {
    grid-template-columns: 1fr;
  }

  .property-dialog__header {
    padding-right: 0;
    margin-top: 3rem;
  }

  .practice-hero {
    padding-top: 0.75rem;
  }

  .practice-hero__panel {
    min-height: 24rem;
    align-items: flex-end;
  }

  .practice-hero__inner {
    width: min(var(--container), calc(100% - 28px));
    padding: 1.5rem 0;
  }

  body[data-page="service"] .practice-hero__inner,
  body[data-page="services"] .practice-hero__inner {
    display: flex;
    align-items: flex-start;
  }

  body[data-page="service"] .practice-hero__copy,
  body[data-page="services"] .practice-hero__copy {
    max-width: min(44rem, 100%);
    padding-right: 0;
  }

  .practice-hero__panel--about {
    background:
      radial-gradient(circle at 72% 20%, rgba(185, 153, 104, 0.15), transparent 20%),
      linear-gradient(180deg, rgba(255, 252, 248, 0.98) 0%, rgba(251, 246, 239, 0.92) 48%, rgba(246, 238, 229, 0.82) 100%);
  }

  .practice-hero__panel--home {
    background: transparent;
  }

  .practice-hero__panel--home::before {
    background-position: 68% center;
  }

  .practice-hero__panel--home::after {
    background:
      linear-gradient(180deg, rgba(250, 246, 240, 0.97) 0%, rgba(250, 246, 240, 0.92) 48%, rgba(247, 241, 233, 0.44) 100%),
      linear-gradient(180deg, rgba(27, 24, 22, 0.06) 0%, rgba(27, 24, 22, 0.12) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  }

  body[data-page="home"] .practice-hero__panel {
    align-items: flex-start;
  }

  body[data-page="home"] .practice-hero__inner {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .practice-hero__inner--about {
    gap: 1.5rem;
  }

  .practice-hero__copy--home {
    max-width: 100%;
  }

  body[data-page="service"] .practice-hero--services .eyebrow,
  body[data-page="services"] .practice-hero--services .eyebrow {
    gap: 0.4rem;
    font-size: clamp(1.2rem, 6.2vw, 1.5rem);
    letter-spacing: 0.15em;
  }

  body[data-page="service"] .practice-hero--services .eyebrow::after,
  body[data-page="services"] .practice-hero--services .eyebrow::after {
    width: 2.2rem;
  }

  body[data-page="service"] .page-hero__copy,
  body[data-page="services"] .page-hero__copy {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body[data-page="home"] .page-hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .about-hero__points {
    grid-template-columns: 1fr;
  }

  .home-hero__note {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  body[data-page="home"] .practice-showcase__lead,
  body[data-page="home"] .timeline__item p,
  body[data-page="home"] .office-contact-item,
  body[data-page="home"] .team-directory__entry {
    font-size: 0.92rem;
  }

  body[data-page="home"] .practice-matrix {
    margin-top: 1.35rem;
  }

  body[data-page="home"] .practice-matrix__item {
    min-height: 4.9rem;
    padding: 0.85rem 0.95rem;
    grid-template-columns: 2.2rem minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    align-content: center;
    gap: 0.8rem;
    text-align: left;
  }

  body[data-page="home"] .practice-matrix__item .icon-circle {
    width: 2.2rem;
    height: 2.2rem;
  }

  body[data-page="home"] .practice-matrix__item .icon-circle svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  body[data-page="home"] .practice-matrix__item h3 {
    max-width: none;
    font-size: 1.08rem;
    line-height: 1.22;
  }

  body[data-page="home"] .info-card {
    padding: 1rem !important;
  }

  body[data-page="home"] .office-group__media {
    min-height: 10.2rem;
  }

  body[data-page="home"] .team-directory {
    margin-top: 0.85rem;
  }

  body[data-page="home"] .timeline {
    margin-top: 1.35rem;
    gap: 0.45rem;
    padding-inline: 1rem;
  }

  body[data-page="home"] .timeline__item {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 0.75rem;
    row-gap: 0.18rem;
    align-items: start;
    padding: 0.15rem 0 0.55rem;
  }

  body[data-page="home"] .timeline__item .icon-circle {
    grid-row: 1 / span 3;
    width: 2.75rem;
    height: 2.75rem;
    align-self: start;
  }

  body[data-page="home"] .timeline__index {
    margin-top: 0;
    font-size: 1.1rem;
    line-height: 1;
  }

  body[data-page="home"] .timeline__title {
    margin: 0.08rem 0 0;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  body[data-page="home"] .timeline__item p {
    margin: 0.08rem 0 0;
    font-size: 0.88rem;
    line-height: 1.5;
  }

body[data-page="home"] .timeline__item .icon-circle svg {
  width: 1.25rem;
  height: 1.25rem;
}

body[data-page="home"] .timeline__item::after {
  top: 1.38rem;
  right: 0;
  left: 3.4rem;
  width: auto;
}

body[data-page="home"] .section--enquiry-home > .container > div:first-child,
body[data-page="home"] .section--enquiry-home .contact-form {
  opacity: 0;
  transition: opacity 0.48s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: opacity;
}

body[data-page="home"] .section--enquiry-home.is-entered > .container > div:first-child,
body[data-page="home"] .section--enquiry-home.is-entered .contact-form {
  opacity: 1;
}

body[data-page="home"] .section--enquiry-home.is-entered .contact-form {
  transition-delay: 0.08s;
}

body[data-page="home"] .reviews-home__intro {
  grid-template-columns: 1fr;
  align-items: start;
}

body[data-page="home"] .reviews-home__summary {
  justify-items: start;
}

body[data-page="home"] .reviews-home__summary-badge {
  min-width: 0;
}

body[data-page="home"] .reviews-marquee__track {
  animation-duration: 42s;
}

body[data-page="home"] .review-card {
  width: min(20rem, calc(100vw - 4rem));
  min-height: 13.5rem;
}

body[data-page="home"] .contact-form {
  padding: 1rem;
}

  body[data-page="home"] .form-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-page="home"] textarea {
    min-height: 92px;
  }

  .lawyer-profile {
    grid-template-columns: 1fr;
  }

  .lawyer-profile__portrait {
    aspect-ratio: 4 / 3.6;
  }

  .lawyer-profile__body {
    padding: 1.2rem;
  }

  .about-hero-montage {
    min-height: 25rem;
  }

  .about-hero-montage__card,
  .about-hero-montage__stamp {
    border-radius: 18px;
  }

  .about-hero-montage__card--portrait {
    inset: 0 2rem 2.8rem 0;
  }

  .about-hero-montage__card--brand {
    width: 11.5rem;
    padding: 0.95rem;
  }

  .about-hero-montage__card--quote {
    left: 0.8rem;
    width: min(16.5rem, calc(100% - 5.2rem));
    padding: 1rem;
  }

  .about-hero-montage__card--document {
    right: 1rem;
    bottom: 1.2rem;
    width: 9.5rem;
    height: 6.3rem;
  }

  .about-hero-montage__stamp {
    top: 8.6rem;
    right: 8rem;
    width: 4.3rem;
    height: 4.3rem;
    padding: 0.8rem;
  }

  .practice-area-panel {
    padding: 1.4rem 1.1rem;
    gap: 1.1rem;
  }

  .practice-area-panel__label {
    justify-items: start;
    text-align: left;
  }

  .practice-area-panel__kicker {
    font-size: 1.12rem;
  }

  .services-overview {
    padding-top: 1.5rem;
  }

  .service-feature__visual {
    aspect-ratio: 4 / 3;
  }

  body[data-page="service"] .service-feature__image--divorce,
  body[data-page="services"] .service-feature__image--divorce {
    object-position: 68% center;
  }

  body[data-page="service"] .service-feature__image--estate,
  body[data-page="services"] .service-feature__image--estate {
    object-position: 52% center;
  }

  body[data-page="service"] .service-feature__image--labour,
  body[data-page="services"] .service-feature__image--labour {
    object-position: 73% center;
  }

  body[data-page="service"] .service-feature__image--debt,
  body[data-page="services"] .service-feature__image--debt {
    object-position: 52% center;
  }

  body[data-page="service"] .service-feature__image--property,
  body[data-page="services"] .service-feature__image--property {
    object-position: 64% center;
  }

  body[data-page="service"] .service-feature__image--contracts,
  body[data-page="services"] .service-feature__image--contracts {
    object-position: 56% center;
  }

  .news-index__link {
    grid-template-columns: 1fr;
  }

  .services-jump-nav {
    display: none;
  }

  .contact-hub,
  .contact-form {
    padding: 1.4rem;
  }

  .mobile-drawer__panel {
    padding-top: 0.9rem;
    gap: 0.8rem;
  }

  .mobile-drawer__panel > .brand {
    margin-top: 0;
    padding-right: 3.3rem;
  }

  .mobile-drawer__panel > .brand .brand__mark {
    width: 54px;
  }

  .mobile-drawer__panel > .brand .brand__label {
    width: 138px;
    inline-size: 138px;
    min-width: 138px;
  }

  .mobile-nav a {
    font-size: 1.55rem;
  }

  .map-frame {
    height: 300px;
  }

  .motif {
    opacity: 0.45;
    transform: scale(0.8);
  }

  .cta-banner {
    padding: 1.5rem;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-office-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
    width: 100%;
  }

  .footer-inline,
  .footer-credit {
    justify-content: flex-start;
  }

  .footer-credit {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .footer-credit img {
    width: auto;
    max-width: 100%;
    height: 1em;
  }

  .mobile-contact-bar {
    display: flex;
  }

  .floating-cta {
    display: none;
  }

  .services-index {
    display: none;
  }

  body {
    padding-bottom: 5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-offset: 5.2rem;
  }

  .site-header__inner {
    gap: 0.85rem;
    min-height: 5.6rem;
    justify-content: center;
  }

  .brand {
    gap: 0.65rem;
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__inner > .brand {
    flex: 0 0 auto;
    width: auto;
  }

  .brand__mark {
    width: 50px;
  }

  .brand__label {
    width: min(42vw, 156px);
    inline-size: min(42vw, 156px);
    min-width: 0;
  }

  .brand__sub {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }

  .floating-cta {
    right: 0.9rem;
    bottom: 0.9rem;
    gap: 0.7rem;
  }

  .floating-cta__properties,
  .floating-cta__quote {
    min-height: 50px;
    padding-inline: 1rem;
    font-size: 0.92rem;
  }

  .property-dialog__close {
    top: 0.8rem;
    right: 0.8rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .property-dialog__contact {
    top: 0.8rem;
    left: 0.8rem;
    right: auto;
    min-height: 40px;
    padding-inline: 0.85rem;
    font-size: 0.82rem;
  }

  .mobile-drawer__close {
    top: 0.85rem;
    right: 0.85rem;
    width: 42px;
    height: 42px;
  }

  .mobile-drawer__panel > .brand {
    padding-right: 3rem;
  }

  .mobile-drawer__panel > .brand .brand__mark {
    width: 50px;
  }

  .mobile-drawer__panel > .brand .brand__label {
    width: 128px;
    inline-size: 128px;
    min-width: 128px;
  }

  .mobile-nav a {
    font-size: 1.45rem;
  }

  .practice-matrix__item {
    min-height: 6.6rem;
    padding: 0.95rem 0.85rem;
    gap: 0.5rem;
  }

  .practice-matrix__item .icon-circle {
    width: 2rem;
    height: 2rem;
  }

  .practice-matrix__item .icon-circle svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .practice-matrix__item h3 {
    font-size: 0.98rem;
  }
}

@media (max-width: 1024px) {
  html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body[data-page="home"] main#main > .practice-hero,
  body[data-page="home"] main#main > .section {
    min-height: auto;
    display: block;
  }

  body[data-page="home"] .practice-hero__panel {
    min-height: min(42rem, calc(100svh - var(--header-offset)));
  }

  .section,
  .section--tight,
  body[data-page="will"] .section,
  body[data-page="divorce"] .section,
  body[data-page="property"] .section,
  body[data-page="probate"] .section {
    padding-block: clamp(3rem, 6vw, 4.75rem);
  }

  .eyebrow,
  .section-title,
  .page-hero__title,
  .page-hero__copy,
  .lead,
  .service-feature__title,
  .service-feature__content,
  .contact-card,
  .office-contact-item,
  .team-directory__entry,
  .footer-links,
  .footer-inline {
    overflow-wrap: anywhere;
  }

  body[data-page="home"] .home-hero__services,
  body[data-page="home"] .reviews-home__intro .lead,
  body[data-page="service"] .page-hero__copy,
  body[data-page="will"] .practice-hero--detail .page-hero__eyebrow-en,
  body[data-page="divorce"] .practice-hero--detail .page-hero__eyebrow-en,
  body[data-page="property"] .practice-hero--detail .page-hero__eyebrow-en,
  body[data-page="probate"] .practice-hero--detail .page-hero__eyebrow-en {
    white-space: normal;
  }

  .btn,
  .menu-toggle,
  .icon-link,
  .office-action-icon,
  .mobile-drawer__close {
    min-width: 44px;
    min-height: 44px;
  }

  .btn {
    line-height: 1.2;
    text-align: center;
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    justify-items: center;
    justify-content: stretch;
    padding-inline: max(0px, env(safe-area-inset-left)) max(0px, env(safe-area-inset-right));
  }

  .site-header__inner > .brand {
    grid-column: 2;
    justify-content: center;
    min-width: 0;
  }

  .site-header__inner > .site-nav {
    grid-column: 3;
    display: flex;
    width: 48px;
    justify-content: flex-end;
  }

  .site-header__inner > .site-nav .menu-toggle {
    display: inline-flex;
  }

  .mobile-drawer__panel {
    width: min(26rem, calc(100vw - 1.25rem));
    height: 100svh;
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .practice-matrix__item,
  .value-card,
  .info-card,
  .contact-form,
  .service-panel,
  .faq-card,
  .listing-card {
    border-radius: 8px;
  }

  .service-feature__content {
    padding-top: 0.35rem;
  }

  .service-feature__list {
    padding-left: 1.15rem;
  }

  .contact-form {
    padding: clamp(1.1rem, 3vw, 1.6rem);
  }

  input,
  select,
  textarea {
    font-size: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .container,
  .practice-hero__inner {
    width: min(var(--container), calc(100% - 56px));
  }

  .practice-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-why__grid,
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-why__card:last-child {
    grid-column: 1 / -1;
  }

  .contact-office-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .contact-office-panel__map {
    min-height: 20rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .office-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .office-group {
    align-content: start;
  }

  .service-feature {
    gap: 1.25rem;
  }

  .service-feature__visual {
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
  }

  .section,
  .section--tight,
  body[data-page="will"] .section,
  body[data-page="divorce"] .section,
  body[data-page="property"] .section,
  body[data-page="probate"] .section {
    padding-block: clamp(2.5rem, 9vw, 4rem);
  }

  .section-title,
  .page-hero__title,
  .cta-banner__title {
    line-height: 1.08;
  }

  .lead,
  .page-hero__copy {
    font-size: 1rem;
    line-height: 1.62;
  }

  .eyebrow {
    max-width: 100%;
    gap: 0.5rem;
    letter-spacing: 0.16em;
    line-height: 1.35;
  }

  .eyebrow::after,
  .contact-section-heading .eyebrow::before {
    width: 2.2rem;
    flex: 0 0 auto;
  }

  .btn-row {
    gap: 0.75rem;
  }

  .btn-row .btn,
  .contact-form .btn-row .btn,
  .cta-banner__actions .btn {
    width: 100%;
  }

  body[data-page="home"] .form-grid,
  body[data-page="contact"] .contact-enquiry .form-grid,
  .contact-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  body[data-page="home"] .field,
  body[data-page="contact"] .contact-enquiry .field,
  .contact-form .field {
    grid-column: 1 / -1;
    min-width: 0;
  }

  body[data-page="home"] .contact-form .field > label,
  body[data-page="contact"] .contact-enquiry .field > label,
  .contact-form .field > label {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1.35;
  }

  .practice-hero {
    padding-bottom: 1.25rem;
  }

  .practice-hero__panel {
    min-height: auto;
  }

  body[data-page="home"] .practice-hero__panel {
    min-height: calc(100svh - var(--header-offset));
  }

  .practice-hero__inner {
    padding-block: clamp(2rem, 8vw, 3.25rem);
  }

  body[data-page="home"] .practice-hero__inner {
    padding-top: clamp(1.5rem, 8vw, 2.5rem);
    padding-bottom: clamp(2rem, 10vw, 3.5rem);
  }

  body[data-page="home"] .home-hero__services {
    font-size: clamp(1.55rem, 6vw, 2.6rem);
    line-height: 1.02;
    letter-spacing: 0;
    white-space: normal;
  }

  body[data-page="home"] .home-hero__eyebrow {
    display: grid;
    gap: 0.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  body[data-page="home"] .home-hero__eyebrow-en,
  body[data-page="home"] .home-hero__eyebrow-zh {
    display: block;
    max-width: 100%;
    font-size: clamp(1rem, 3.8vw, 1.32rem);
    letter-spacing: 0.04em;
  }

  body[data-page="home"] .home-hero__aside {
    margin-top: 0.9rem;
  }

  body[data-page="home"] .home-hero__note {
    padding-left: 0.85rem;
  }

  .practice-matrix__item {
    width: 100%;
  }

  .service-feature {
    gap: 0.95rem;
  }

  .service-feature__visual {
    aspect-ratio: 4 / 3;
  }

  .service-feature__content .section-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .service-feature__content p,
  .service-feature__content li,
  .service-panel p,
  .service-panel li,
  .info-card p,
  .info-card li,
  .faq-item summary,
  .faq-item p {
    line-height: 1.58;
  }

  .contact-office-panel__map,
  .map-frame {
    height: auto;
    min-height: 16rem;
    aspect-ratio: 4 / 3;
  }

  body[data-page="contact"] .office-contact-item {
    font-size: 1rem;
  }

  .office-action-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .office-action-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .reviews-marquee {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  body[data-page="home"] .review-card {
    width: min(19rem, calc(100vw - 3rem));
  }

  .mobile-contact-bar {
    left: max(0.85rem, env(safe-area-inset-left));
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .footer-bottom,
  .footer-links,
  .footer-inline,
  .footer-credit {
    width: 100%;
  }

  .footer-bottom {
    align-items: flex-start;
    text-align: left;
  }

  .footer-inline {
    gap: 0.85rem;
  }

  .footer-credit {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .footer-credit a {
    min-width: 0;
  }

  .footer-credit img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 1em;
  }
}

@media (max-width: 480px) {
  .container,
  .practice-hero__inner {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand__label {
    width: min(40vw, 148px);
    inline-size: min(40vw, 148px);
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  .mobile-nav {
    gap: 0.15rem;
  }

  .mobile-nav a {
    font-size: clamp(1.18rem, 6vw, 1.45rem);
  }

  body[data-page="home"] .practice-hero__panel {
    min-height: auto;
  }

  body[data-page="home"] .practice-hero__inner {
    padding-top: 1.25rem;
  }

  body[data-page="home"] .home-hero__services {
    font-size: clamp(1.35rem, 7.2vw, 1.58rem);
    max-width: 100%;
    letter-spacing: 0;
  }

  body[data-page="home"] .home-hero__eyebrow {
    display: grid;
    gap: 0.25rem;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  body[data-page="home"] .home-hero__eyebrow::after {
    width: 2rem;
  }

  body[data-page="home"] .home-hero__services-en,
  body[data-page="home"] .home-hero__services-zh {
    display: block;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="home"] .home-hero__eyebrow-en,
  body[data-page="home"] .home-hero__eyebrow-zh {
    display: block;
    max-width: 100%;
    font-size: clamp(0.95rem, 5vw, 1.14rem);
    letter-spacing: 0.02em;
  }

  .home-hero__actions .btn svg {
    width: 1rem;
    height: 1rem;
  }

  .practice-matrix__item h3,
  .service-feature__title-en,
  .service-feature__title-zh {
    overflow-wrap: anywhere;
  }

  .contact-form {
    padding: 1rem;
  }

  body[data-page="home"] .form-grid,
  body[data-page="contact"] .contact-enquiry .form-grid,
  .contact-form .form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  input,
  select,
  textarea {
    min-height: 50px;
    padding-inline: 0.9rem;
  }

  .mobile-contact-bar {
    gap: 0.55rem;
  }

  .mobile-contact-bar .btn {
    min-width: 0;
    min-height: 50px;
    padding-inline: 0.75rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 1024px) {
  body[data-page="service"] .practice-hero {
    padding-bottom: 0;
  }

  body[data-page="service"] .practice-hero__panel {
    min-height: auto;
  }

  body[data-page="service"] .practice-hero__inner {
    min-height: clamp(18rem, 42vw, 24rem);
    align-items: end;
    padding-block: clamp(2.4rem, 6vw, 4rem);
  }

  body[data-page="service"] .practice-hero__copy {
    max-width: 40rem;
    padding-inline: 0;
  }

  body[data-page="service"] .practice-hero--services .eyebrow {
    font-size: clamp(1.18rem, 3.4vw, 1.62rem);
    letter-spacing: 0.12em;
  }

  body[data-page="service"] .page-hero__copy {
    width: min(30rem, calc(100vw - 32px));
    inline-size: min(30rem, calc(100vw - 32px));
    max-width: min(30rem, calc(100vw - 32px));
    max-inline-size: min(30rem, calc(100vw - 32px));
    margin-top: 0.85rem;
    font-size: clamp(0.98rem, 1.8vw, 1.08rem);
    line-height: 1.55;
    white-space: normal;
  }

  body[data-page="service"] .services-overview {
    padding-top: clamp(1.4rem, 4vw, 2.5rem);
  }

  body[data-page="service"] .service-stack {
    gap: clamp(1.1rem, 3vw, 1.6rem);
    padding-block: clamp(1rem, 4vw, 2rem);
  }

  body[data-page="service"] .service-feature,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-prev,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-next,
  body[data-page="service"] .service-stack:has(.service-feature.is-active) .service-feature.is-active {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background-soft);
    box-shadow: 0 14px 34px rgba(71, 0, 0, 0.08);
    opacity: 1;
    filter: none;
    transform: none;
  }

  body[data-page="service"] .service-feature__visual {
    position: relative;
    inset: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-page="service"] .service-feature__visual::after {
    display: none;
  }

  body[data-page="service"] .service-feature__content {
    width: 100%;
    margin: 0;
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body[data-page="service"] .service-feature__title {
    min-height: 0;
  }

  body[data-page="service"] .service-feature__title-en {
    font-size: clamp(1.35rem, 3.4vw, 1.9rem);
    line-height: 1.12;
  }

  body[data-page="service"] .service-feature__title-zh {
    font-size: clamp(0.98rem, 2.2vw, 1.12rem);
    line-height: 1.32;
  }

  body[data-page="service"] .service-feature__content li {
    font-size: clamp(0.95rem, 1.7vw, 1.02rem);
    line-height: 1.58;
    overflow-wrap: anywhere;
  }

  body[data-page="service"] .btn-row .btn {
    width: auto;
    flex: 0 1 auto;
  }

  body[data-page="service"] .services-index {
    display: none;
  }

  body[data-page="service"] .service-feature__image--divorce {
    object-position: 22% center;
  }
}

@media (min-width: 700px) and (max-width: 1024px) {
  body[data-page="service"] .service-feature {
    display: block;
    position: relative;
    min-height: clamp(24rem, 40vw, 30rem);
    padding: 1rem;
    isolation: isolate;
    background: transparent;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  body[data-page="service"] #divorce-service {
    background-image: url("service-divorce-left-focus.png");
    background-size: 135% auto;
    background-position: 30% center;
  }

  body[data-page="service"] #will-service {
    background-image: url("service-will-left-focus.png");
    background-size: 135% auto;
    background-position: 28% center;
  }

  body[data-page="service"] #probate-service {
    background-image: url("service-probate-left-focus.png");
    background-size: 135% auto;
    background-position: 30% center;
  }

  body[data-page="service"] #real-estate-service {
    background-image: url("service-property-left-focus.png");
    background-size: 135% auto;
    background-position: 30% center;
  }

  body[data-page="service"] #agreement-service {
    background-image: url("service-agreement-left-focus.png");
    background-size: 135% auto;
    background-position: 30% center;
  }

  body[data-page="service"] #litigation-service {
    background-image: url("service-litigation-left-focus.png");
    background-size: 135% auto;
    background-position: 32% center;
  }

  body[data-page="service"] .service-feature--reverse {
    display: block;
  }

  body[data-page="service"] .service-feature--reverse .service-feature__visual {
    order: 0;
  }

  body[data-page="service"] .service-feature--reverse .service-feature__content {
    order: 0;
  }

  body[data-page="service"] .service-feature__visual {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
  }

  body[data-page="service"] .service-feature__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.32) translateX(14%);
    transform-origin: center center;
  }

  body[data-page="service"] .service-feature__image--divorce {
    transform: scale(1.42) translateX(18%);
  }

  body[data-page="service"] .service-feature__image--estate {
    transform: scale(1.32) translateX(14%);
  }

  body[data-page="service"] #will-service .service-feature__visual img {
    transform: scale(1.38) translateX(18%);
  }

  body[data-page="service"] .service-feature__visual::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 250, 247, 0.02) 0%, rgba(252, 250, 247, 0.08) 38%, rgba(252, 250, 247, 0.22) 64%, rgba(252, 250, 247, 0.36) 100%);
    pointer-events: none;
  }

  body[data-page="service"] .service-feature__content {
    width: min(54%, 30rem);
    margin-left: auto;
    min-height: calc(clamp(24rem, 40vw, 30rem) - 2rem);
    align-content: center;
    padding: clamp(1.5rem, 3vw, 2.1rem);
    border-left: 1px solid rgba(98, 0, 0, 0.1);
    background:
      linear-gradient(90deg, rgba(255, 253, 250, 0.42) 0%, rgba(252, 250, 247, 0.68) 100%);
    box-shadow: -18px 0 46px rgba(71, 0, 0, 0.06);
    backdrop-filter: blur(1.5px);
  }
}

@media (max-width: 768px) {
  body[data-page="service"] .service-feature__visual {
    aspect-ratio: 16 / 9;
  }

  body[data-page="service"] .service-feature__content {
    gap: 0.85rem;
  }

  body[data-page="service"] .service-feature__list {
    padding-left: 1.1rem;
  }

  body[data-page="service"] .btn-row .btn {
    width: 100%;
  }
}

@media (min-width: 700px) and (max-width: 768px) {
  body[data-page="service"] .service-feature__visual {
    height: 100%;
    aspect-ratio: auto;
  }

  body[data-page="service"] .service-feature__content {
    width: min(58%, 28rem);
    margin-left: auto;
    min-height: calc(clamp(24rem, 40vw, 30rem) - 2rem);
    align-content: center;
  }

  body[data-page="service"] .btn-row .btn {
    width: auto;
    flex: 0 1 auto;
  }
}

@media (max-width: 480px) {
  body[data-page="service"] .container,
  body[data-page="service"] .practice-hero__inner {
    width: min(var(--container), calc(100% - 32px));
  }

  body[data-page="service"] .practice-hero__inner {
    min-height: 17rem;
  }

  body[data-page="service"] .practice-hero--services .eyebrow {
    font-size: clamp(1.05rem, 6vw, 1.32rem);
    letter-spacing: 0.08em;
  }

  body[data-page="service"] .service-stack {
    gap: 1rem;
  }

  body[data-page="service"] .service-feature__content {
    padding: 1.1rem;
  }

  body[data-page="service"] .page-hero__copy {
    width: min(16.5rem, 72vw) !important;
    inline-size: min(16.5rem, 72vw) !important;
    max-width: min(16.5rem, 72vw) !important;
    max-inline-size: min(16.5rem, 72vw) !important;
    overflow-wrap: break-word;
    white-space: normal !important;
  }

  body[data-page="service"] .service-feature__visual {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  body[data-page="service"] .page-hero__copy {
    width: min(15rem, 68vw) !important;
    inline-size: min(15rem, 68vw) !important;
    max-width: min(15rem, 68vw) !important;
    max-inline-size: min(15rem, 68vw) !important;
    white-space: normal !important;
  }

  body[data-page="service"] .service-feature__content,
  body[data-page="service"] .service-feature__list,
  body[data-page="service"] .service-feature__content li {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="service"] .service-feature__content li {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 1024px) {
  .site-header__inner > .brand .brand__text {
    max-height: calc(100% - 0.75rem);
  }

  .site-header__inner > .brand .brand__label {
    width: min(46vw, 230px);
    inline-size: min(46vw, 230px);
    min-width: 0;
    max-width: calc(100vw - 140px);
    max-height: 3.2rem;
  }

  .site-header__inner > .brand .brand__sub {
    font-size: clamp(0.58rem, 1.2vw, 0.72rem);
    letter-spacing: 0.2em;
  }
}

@media (max-width: 480px) {
  .site-header__inner > .brand .brand__label {
    width: min(50vw, 190px);
    inline-size: min(50vw, 190px);
    max-width: calc(100vw - 128px);
    max-height: 2.8rem;
  }

  .site-header__inner > .brand .brand__sub {
    font-size: clamp(0.54rem, 1.65vw, 0.62rem);
    letter-spacing: 0.16em;
  }
}

@media (max-width: 699px) {
  body[data-page="service"] .service-feature__visual img {
    object-position: left center;
  }
}

@media (max-width: 1024px) {
  body[data-page="will"] main > .section > .container,
  body[data-page="divorce"] main > .section > .container,
  body[data-page="property"] main > .section > .container,
  body[data-page="probate"] main > .section > .container {
    width: min(var(--container), calc(100% - clamp(44px, 8vw, 72px)));
  }

  body[data-page="will"] .service-panel,
  body[data-page="will"] .faq-card,
  body[data-page="will"] .info-card,
  body[data-page="divorce"] .service-panel,
  body[data-page="divorce"] .faq-card,
  body[data-page="divorce"] .info-card,
  body[data-page="property"] .service-panel,
  body[data-page="property"] .faq-card,
  body[data-page="property"] .info-card,
  body[data-page="probate"] .service-panel,
  body[data-page="probate"] .faq-card,
  body[data-page="probate"] .info-card {
    padding-inline: clamp(1.6rem, 4.5vw, 2.4rem);
  }

  body[data-page="will"] .prep-card,
  body[data-page="divorce"] .prep-card,
  body[data-page="property"] .prep-card,
  body[data-page="probate"] .prep-card {
    padding-inline: clamp(1.6rem, 4.5vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  body[data-page="will"] main > .section > .container,
  body[data-page="divorce"] main > .section > .container,
  body[data-page="property"] main > .section > .container,
  body[data-page="probate"] main > .section > .container {
    width: min(var(--container), calc(100% - 40px));
  }

  body[data-page="will"] .service-panel,
  body[data-page="will"] .faq-card,
  body[data-page="will"] .info-card,
  body[data-page="divorce"] .service-panel,
  body[data-page="divorce"] .faq-card,
  body[data-page="divorce"] .info-card,
  body[data-page="property"] .service-panel,
  body[data-page="property"] .faq-card,
  body[data-page="property"] .info-card,
  body[data-page="probate"] .service-panel,
  body[data-page="probate"] .faq-card,
  body[data-page="probate"] .info-card,
  body[data-page="will"] .prep-card,
  body[data-page="divorce"] .prep-card,
  body[data-page="property"] .prep-card,
  body[data-page="probate"] .prep-card {
    padding-inline: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
