:root {
  color-scheme: light;
  --brand: #941f2b;
  --brand-dark: #781822;
  --ink: #24282d;
  --muted: #656a72;
  --line: #e2e4e7;
  --surface: #f5f6f7;
  --content-width: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}

button,
summary {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #c07e24;
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

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

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

h1,
h2,
h3 {
  font-weight: 600;
}

.container {
  width: min(var(--content-width), calc(100% - 64px));
  margin-inline: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: absolute;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  color: var(--brand);
  background: #fff;
}

.brand-bar {
  color: #fff;
  background: var(--brand);
}

.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 112px;
  padding-block: 24px;
}

.brand {
  display: block;
  flex-shrink: 0;
}

.brand img {
  width: 307px;
  height: auto;
}

.header-phone {
  display: grid;
  gap: 1px;
  text-align: right;
}

.header-phone span {
  font-size: 0.875rem;
  color: #f1dce0;
  letter-spacing: 0.12em;
}

.header-phone strong {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.header-phone:hover strong {
  text-decoration: underline;
}

.nav-bar {
  border-bottom: 1px solid var(--line);
}

.nav-inner,
.primary-nav {
  display: flex;
  align-items: center;
}

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

.primary-nav {
  gap: 48px;
}

.nav-link {
  display: block;
  position: relative;
  padding-block: 17px;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 150ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.nav-signature {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d7a4ac;
  color: #fff;
  background: transparent;
  font-size: 0.875rem;
  line-height: 1.5;
}

.menu-icon {
  position: relative;
  width: 17px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}

.menu-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid currentColor;
}

.hero {
  padding-top: 28px;
}

.slides {
  background: #191b1d;
}

.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 342;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-inline: 24px;
  background: var(--surface);
}

.slide-buttons {
  display: flex;
  align-items: stretch;
  gap: 32px;
}

.slide-button {
  position: relative;
  padding: 16px 0;
  border: 0;
  color: var(--muted);
  background: none;
  font-size: 0.875rem;
}

.slide-button[aria-pressed="true"] {
  color: var(--brand);
}

.slide-button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
}

.slide-button:hover {
  color: var(--brand);
}

.slide-counter {
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.hero-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 46px 52px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.hero-intro .eyebrow {
  font-size: 0.875rem;
}

h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  letter-spacing: 0.055em;
  line-height: 1.5;
}

.hero-message {
  padding-left: 30px;
  border-left: 2px solid var(--brand);
}

.hero-message p {
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  color: var(--brand);
  font-size: 0.9375rem;
  font-weight: 500;
}

.link-line {
  width: 32px;
  height: 1px;
  background: currentColor;
  transition: width 150ms ease;
}

.text-link:hover .link-line {
  width: 48px;
}

.section {
  padding-block: 76px;
}

h2 {
  margin-bottom: 26px;
  font-size: 1.875rem;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 90px;
}

.about-copy > p:not(.eyebrow) {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.95;
}

.values {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.value + .value {
  margin-top: 26px;
}

.value h3 {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.value p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.practice {
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-note {
  padding-bottom: 3px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.practice-item {
  border: 1px solid var(--line);
  border-top: 2px solid #c9ccd1;
  background: #fff;
}

.practice-item:hover,
.practice-item[open] {
  border-top-color: var(--brand);
}

.practice-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 5px 12px;
  padding: 24px;
  list-style: none;
}

.practice-item summary::-webkit-details-marker {
  display: none;
}

.practice-name {
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.practice-subtitle {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.875rem;
}

.expand-mark {
  display: block;
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  width: 24px;
  height: 24px;
  color: var(--brand);
}

.expand-mark::before,
.expand-mark::after {
  content: "";
  position: absolute;
  inset: 11px 5px auto;
  height: 1px;
  background: currentColor;
}

.expand-mark::after {
  transform: rotate(90deg);
}

.practice-item[open] .expand-mark::after {
  transform: rotate(0);
}

.practice-content {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.practice-content p {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--brand);
  font-size: 0.875rem;
}

.practice-content ul {
  margin: 10px 0 0;
  padding-left: 1.15em;
}

.practice-content li + li {
  margin-top: 6px;
}

.contact {
  color: #fff;
  background: var(--brand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 64px;
}

.contact .eyebrow,
.contact-label,
.contact-office dt {
  color: #f1dce0;
}

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

.contact-label {
  font-size: 0.875rem;
}

.contact-number {
  display: block;
  width: fit-content;
  margin-block: 3px 22px;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

.contact-number:hover {
  text-decoration: underline;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 25px;
  border: 1px solid #fff;
  color: var(--brand);
  background: #fff;
  font-size: 0.9375rem;
}

.call-button:hover {
  color: #fff;
  background: var(--brand-dark);
}

.contact-office {
  padding: 8px 0 8px 50px;
  border-left: 1px solid #bc6c76;
}

.contact-office h3 {
  margin-bottom: 26px;
  font-size: 1.25rem;
  font-weight: 500;
}

.contact-office dl > div + div {
  margin-top: 20px;
}

.contact-office dt {
  margin-bottom: 6px;
  font-size: 0.875rem;
}

address {
  font-style: normal;
  line-height: 1.95;
}

.site-footer {
  padding-block: 25px;
}

.footer-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.site-footer a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.back-top {
  margin-left: auto;
}

@media (min-width: 1600px) {
  :root {
    --content-width: 1240px;
  }
}

@media (max-width: 1024px) {
  .primary-nav {
    gap: 36px;
  }

  .hero-intro {
    gap: 28px;
  }

  .hero-message {
    padding-left: 24px;
  }

  .about-grid {
    gap: 48px;
  }

  .practice-item summary {
    padding: 20px;
  }

  .practice-content {
    padding: 0 20px 20px;
  }

  .practice-name {
    font-size: 1.125rem;
  }

  .contact-grid {
    gap: 40px;
  }

  .contact-office {
    padding-left: 32px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .brand-inner {
    min-height: 92px;
    gap: 16px;
    padding-block: 20px;
  }

  .brand img {
    width: 246px;
  }

  .header-phone,
  .nav-signature {
    display: none;
  }

  .menu-toggle:not([hidden]) {
    display: inline-flex;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-link {
    padding-block: 14px;
    font-size: 0.875rem;
  }

  .site-header.menu-ready .primary-nav {
    display: none;
  }

  .site-header.menu-ready.menu-open .primary-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    padding-block: 8px;
  }

  .site-header.menu-ready .nav-link {
    padding: 13px 0;
  }

  .hero {
    padding-top: 20px;
  }

  .carousel-controls {
    min-height: 52px;
    padding-inline: 16px;
  }

  .slide-buttons {
    gap: 24px;
  }

  .slide-button {
    padding-block: 14px;
  }

  .hero-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 32px 38px;
  }

  .hero-intro .eyebrow {
    margin-bottom: 12px;
  }

  .hero-message {
    padding-left: 18px;
  }

  .hero-message p {
    margin-bottom: 4px;
  }

  .desktop-break {
    display: none;
  }

  .section {
    padding-block: 48px;
  }

  h2 {
    margin-bottom: 22px;
    font-size: 1.625rem;
  }

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

  .values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value + .value {
    margin-top: 0;
  }

  .value h3 {
    font-size: 1rem;
  }

  .value p {
    font-size: 0.875rem;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .practice-item summary {
    gap: 5px 8px;
    padding: 20px 18px;
  }

  .practice-content {
    padding-inline: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact h2 {
    margin-bottom: 24px;
  }

  .contact-office {
    padding: 30px 0 0;
    border-top: 1px solid #bc6c76;
    border-left: 0;
  }

  .contact-office h3 {
    margin-bottom: 22px;
    font-size: 1.125rem;
  }

  .footer-inner {
    gap: 8px 24px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 213px;
  }

  .brand-inner {
    gap: 10px;
    min-height: 88px;
  }

  .menu-toggle {
    gap: 7px;
    padding-inline: 8px;
  }

  .slide-buttons {
    gap: 18px;
  }

  .carousel-controls {
    gap: 8px;
    padding-inline: 12px;
  }

  .slide-counter {
    font-size: 0.8125rem;
    letter-spacing: 0;
  }

  h1 {
    font-size: 1.8125rem;
    letter-spacing: 0.02em;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .practice-item summary {
    padding: 21px;
  }

  .practice-content {
    padding-inline: 21px;
  }

  .contact-number {
    font-size: 2rem;
  }

  .footer-inner p {
    flex-basis: 100%;
  }
}

@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand img {
    width: 198px;
  }

  .menu-toggle {
    gap: 0;
  }

  .menu-icon {
    display: none;
  }

  .slide-buttons {
    gap: 15px;
  }

  h1 {
    font-size: 1.625rem;
  }

  .contact-number {
    font-size: 1.8125rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
