:root {
  color-scheme: light;
  --navy: #0a2034;
  --navy-light: #112f47;
  --ink: #142b3c;
  --dim: #435967;
  --paper: #fff;
  --pale: #f0f5f4;
  --edge: #cbdad9;
  --mint: #b5e9d6;
  --green: #176553;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--site-header-height, 5.65rem) + 1rem); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #2f9b81; outline-offset: 4px; }
.wrap { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; inset: .7rem auto auto 1rem; padding: .55rem 1rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.top, .dark { background: var(--navy); color: var(--paper); }
.top { border-bottom: 1px solid #30475b; }
#site-header { position: sticky; top: 0; z-index: 4; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.nav { min-height: 5.6rem; }
.brand { display: inline-flex; align-items: center; flex: none; gap: .65em; color: #fff; text-decoration: none; font-size: 1.26rem; font-weight: 500; line-height: 1; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; }
nav a { font-size: .94rem; text-decoration: none; }
nav a:hover, .practice-links a:hover { text-decoration: underline; }
.nav-contact { border: 1px solid #8da6a9; padding: .35rem .8rem; }
.hero { background: var(--navy); color: white; overflow: hidden; }
.hero-inner { min-height: 34rem; position: relative; display: flex; flex-direction: column; justify-content: center; padding-top: 5.75rem; }
.hero-copy { position: relative; z-index: 1; max-width: 47rem; padding-bottom: 4.5rem; }
.eyebrow { color: var(--green); font-size: .875rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero .eyebrow, .dark .eyebrow { color: var(--mint); }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 400; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 6.2vw, 5.65rem); }
h1 em { color: var(--mint); font-style: normal; }
h2 { font-size: clamp(2.25rem, 4.25vw, 3.8rem); }
h3 { margin: 0 0 .5rem; font-size: 1.23rem; line-height: 1.25; }
.intro { max-width: 36rem; color: #dbe7ec; font-size: 1.15rem; margin: 1.45rem 0 1.65rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; min-height: 2.9rem; border: 1px solid transparent; border-radius: .25rem; padding: .65rem 1rem; font: inherit; font-weight: 700; background: var(--mint); color: var(--navy); text-decoration: none; cursor: pointer; }
.button:hover { background: #dbf8ed; }
.button.secondary { background: transparent; border-color: #91aaa9; color: white; }
.button.secondary:hover { background: var(--navy-light); }
.geometry { position: absolute; pointer-events: none; width: 36%; height: 72%; right: -5%; top: 2%; opacity: .74; }
.geometry span { position: absolute; inset: var(--inset); border: 1px solid #577c83; border-top-color: #9fc9c0; transform: rotate(-36deg) skew(10deg); background: linear-gradient(135deg,#254f6677,#142c4211); }
.geometry span:nth-child(1) { --inset: 13% -5% -1% 25%; }
.geometry span:nth-child(2) { --inset: 21% 0% 6% 20%; }
.geometry span:nth-child(3) { --inset: 29% 5% 13% 15%; }
.geometry span:nth-child(4) { --inset: 37% 10% 20% 10%; }
.geometry span:nth-child(5) { --inset: 45% 15% 27% 5%; }
.practice-links { position: relative; z-index: 1; list-style: none; margin: 0; padding: 1rem 0 1.4rem; border-top: 1px solid #436070; display: flex; flex-wrap: wrap; gap: .45rem 2rem; color: #e2efee; }
.practice-links a { text-decoration: none; }
.section { padding-block: clamp(3.3rem, 7.4vw, 6.5rem); }
.split { display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.07fr); gap: clamp(1.25rem, 6vw, 5.75rem); }
.prose p, .section-intro, article p, dd, .insight-list p { color: var(--dim); }
.prose p:first-child, article p, dd { margin: 0; }
.prose p:last-child { margin-bottom: 0; }
.tinted { background: var(--pale); }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2.05rem; }
.service-grid article { background: white; border-top: 2px solid #77a99d; padding: 1.45rem; min-height: 11rem; }
.service-grid .featured { background: var(--navy); color: white; }
.featured p { color: #dce8ed; }
.featured a { color: var(--mint); display: inline-block; margin-top: .65rem; font-weight: 650; }
.reasons { margin: 0; }
.reasons div { padding: .72rem 0; border-bottom: 1px solid var(--edge); }
.reasons div:first-child { padding-top: 0; }
.reasons dt { font-weight: 750; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; gap: 1.4rem; padding: 0; margin: 2.2rem 0 0; }
.steps li { border-top: 1px solid #64868d; padding-top: .9rem; }
.steps span { display: block; margin-bottom: .65rem; color: var(--mint); font-variant-numeric: tabular-nums; }
.steps p { margin: 0; color: #dbe7ec; }
.section-intro { max-width: 44rem; margin: 1rem 0 1.6rem; }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--edge); text-align: left; padding: .85rem .8rem; vertical-align: top; }
thead { background: var(--pale); }
tbody th { width: 35%; }
td { color: var(--dim); }
.insight-list details { border-bottom: 1px solid #b9cdca; padding: .85rem 0; }
.insight-list details:first-child { padding-top: 0; }
summary { cursor: pointer; font-weight: 700; }
.insight-list p { margin: .55rem 0 .15rem; }
address { font-style: normal; }
.contact-email { margin-top: 1rem; background: var(--navy); color: white; overflow-wrap: anywhere; }
.contact-email:hover { background: var(--navy-light); }
footer { padding: 2.25rem 0 1.3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #3a5365; color: #dce8ed; }
.copyright { margin: 0; font-size: .88rem; }
.policy-page h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.policy-page p { max-width: 65ch; margin-block: 1.25rem 1.75rem; }
.policy-page a { color: var(--green); }
@media (max-width: 820px) {
  .nav { flex-wrap: wrap; padding-block: .9rem; }
  .hero-inner { min-height: auto; padding-top: 4rem; }
  .hero-copy { padding-bottom: 3rem; }
  .geometry { opacity: .35; right: -13%; }
  .service-grid, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 2rem); }
  nav { gap: .5rem .8rem; }
  .split, .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .practice-links { gap: .45rem 1rem; }
  th, td { padding-inline: .4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.why > div { text-align: center; }
.why h2 { max-width: 22ch; margin-inline: auto; }
.why .reasons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.why .reasons > div { flex: 0 1 calc((100% - 2rem) / 3); padding: 1.25rem; background: var(--pale); border: 1px solid var(--edge); border-top: 2px solid #77a99d; }
.why dt { margin-bottom: .35rem; }










@media (max-width: 760px) {
  .why .reasons > div { flex-basis: calc((100% - 1rem) / 2); }
}
@media (max-width: 500px) {
  .why .reasons > div { flex-basis: 100%; }

}

@media (min-width: 571px) {
  #about .prose { padding-top: 1lh; }
  #insights .insight-list { padding-top: .25rem; }
}

.menu-toggle { display: none; }

@media (max-width: 570px) {
  #site-header .nav { position: relative; flex-wrap: nowrap; min-height: 4.25rem; padding-block: .55rem; gap: .65rem; }
  #site-header .nav:has(.menu-toggle[hidden]) { flex-wrap: wrap; }
  .menu-toggle:not([hidden]) {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem;
    padding-inline: .65rem; background: transparent; color: white;
    border: 1px solid #64868d; border-radius: .25rem; font: inherit; cursor: pointer;
  }
  .menu-toggle span {
    display: block; width: .9rem; height: .65rem;
    border-block: 2px solid currentColor;
  }
  .menu-toggle:not([hidden]) + nav {
    position: absolute; inset: 100% -1rem auto; display: none;
    max-height: calc(100vh - 4.25rem); max-height: calc(100dvh - 4.25rem);
    overflow-y: auto; padding: .3rem 1rem .8rem; background: var(--navy);
    border-bottom: 1px solid #64868d;
  }
  .menu-toggle[aria-expanded="true"] + nav { display: grid; gap: 0; }
  #main-nav a { display: flex; align-items: center; min-height: 2.75rem; padding: .45rem .5rem; }
  #main-nav .nav-contact { border: 0; color: var(--mint); }
  .hero-inner { padding-top: 2.65rem; }
  .hero-copy { padding-bottom: 1.6rem; }
  #home h1 { font-size: clamp(2.25rem, 9.3vw, 3.25rem); }
  .intro { font-size: 1rem; margin-block: 1rem 1.25rem; }
  .actions { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .actions .button { justify-content: center; min-height: 2.75rem; }
  .practice-links { gap: 0 .85rem; padding-block: .35rem; }
  .practice-links a, .footer-bottom nav a { display: flex; align-items: center; min-height: 2.75rem; }
  .section { padding-block: 2.75rem; }
  .steps { grid-template-columns: 1fr; }
  .why .reasons > div { flex-basis: 100%; }

  .insight-list details { padding: 0; }
  .insight-list summary { min-height: 2.75rem; padding-block: .6rem; }
  .footer-bottom nav { row-gap: 0; }
}

/* Brand palette */
:root { --pale: #eff8f4; --edge: #c7ded5; }
.hero { background: radial-gradient(ellipse at 86% 15%, #153b49 0%, var(--navy) 66%); }
.geometry span { border-color: #b5e9d65e; }
#services .service-grid article { border-top-color: #8ebfaf; }
#services .service-grid .featured { border-top-color: var(--mint); }
.why .reasons > div { background: #f7fbf9; border-top-color: #8ebfaf; }
#approach .steps li { border-top-color: #b5e9d67a; }
#insights { background: var(--navy-light); }
#insights .insight-list details { border-bottom-color: #b5e9d65c; }
#insights .insight-list summary::marker { color: var(--mint); }
#insights .insight-list p { color: #dce8ed; }
#contact { border-top: 1px solid var(--edge); }
#contact .section-intro { max-width: 39rem; }

.language-switch { flex: none; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--mint); font-size: .875rem; font-weight: 700; text-decoration: none; }
.language-switch:hover { text-decoration: underline; }
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; letter-spacing: 0; }
@media (max-width: 570px) {
  #site-header .language-switch { margin-left: auto; }
  #site-header .menu-toggle { order: 1; }
  #site-header #main-nav { order: 2; }
  #site-header .brand { gap: .6rem; }
}

.brand-zh {
  padding-inline-start: .65rem;
  border-inline-start: 1px solid #426657;
  color: var(--mint);
  font-size: .95rem;
  letter-spacing: .06em;
  white-space: nowrap;
}
@media (max-width: 570px) {
  .brand-zh { padding-inline-start: .4rem; font-size: .75rem; }
}
.policy-page section { max-width: 65ch; margin-block: 1.65rem; }
.policy-page section h2 { font-size: 1.45rem; line-height: 1.3; }
.policy-page section p { margin-block: .4rem 0; }
.policy-page section a { overflow-wrap: anywhere; }

.brand-image { display: block; width: 13.5rem; height: auto; }
@media (max-width: 570px) {
  .brand-image { width: clamp(8rem, 38vw, 12rem); }
  html[lang="zh-CN"] .brand-image { width: clamp(7rem, 30vw, 10rem); }
  html[lang="zh-CN"] #site-header .nav { gap: .4rem; }
  html[lang="zh-CN"] #site-header .brand { gap: .35rem; }
}
