:root {
  /* 品牌主色统一为领善金，保留旧变量名以兼容现有组件。 */
  --brand-blue: #bb9a35;
  --brand-blue-deep: #7a6120;
  --brand-gold: #bb9a35;
  --ink: #20252c;
  --muted: #69717b;
  --line: #dfe2e6;
  --soft-bg: #f4f5f6;
  --white: #fff;
  --header-height: 108px;
  --container-width: 1460px;
  --transition: 260ms ease;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 400;
  line-height: 1.75;
}

body,
button,
input {
  font-size: 16px;
}

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

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

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

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(187, 154, 53, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: var(--white);
  background: var(--brand-blue);
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

.site-container {
  width: 100%;
  max-width: var(--container-width);
  padding-right: clamp(20px, 4vw, 72px);
  padding-left: clamp(20px, 4vw, 72px);
}

.site-header {
  z-index: 1050;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  transition: height var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.site-header .navbar {
  height: 100%;
  padding: 0;
}

.site-header.is-scrolled {
  height: 78px;
  border-bottom-color: rgba(187, 154, 53, 0.16);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 35px rgba(14, 25, 43, 0.08);
}

.navbar-brand {
  position: relative;
  width: clamp(224px, 20vw, 310px);
  height: 72px;
  margin-right: 26px;
  flex: 0 0 auto;
}

.brand-logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  transition: opacity var(--transition);
}

.brand-logo-dark {
  opacity: 0;
}

.is-scrolled .brand-logo-light {
  opacity: 0;
}

.is-scrolled .brand-logo-dark {
  opacity: 1;
}

.navbar-nav {
  gap: clamp(4px, 0.7vw, 13px);
}

.navbar-nav .nav-link {
  position: relative;
  padding: 39px 8px 35px;
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition: color var(--transition);
}

.navbar-nav .nav-link::after {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  width: auto;
  height: 3px;
  margin: 0;
  border: 0;
  background: var(--brand-gold);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity var(--transition), transform var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link.active {
  color: var(--brand-gold);
}

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

.is-scrolled .navbar-nav .nav-link,
.is-scrolled .header-search-button {
  color: var(--ink);
}

.is-scrolled .navbar-nav .nav-link {
  padding-top: 25px;
  padding-bottom: 24px;
}

.dropdown-menu {
  min-width: 176px;
  margin-top: 0 !important;
  padding: 10px 0;
  border: 0;
  border-top: 3px solid var(--brand-gold);
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(58, 46, 20, 0.16);
}

.dropdown-item {
  padding: 9px 20px;
  color: #444b54;
  font-size: 14px;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--brand-blue);
  background: #f2f4f7;
}

.icon-button,
.navbar-toggler {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  box-shadow: none !important;
}

.icon-button svg,
.navbar-toggler svg {
  width: 22px;
  height: 22px;
}

.header-search-button {
  flex: 0 0 44px;
  color: var(--white);
}

.mobile-nav {
  width: min(88vw, 420px) !important;
  border: 0;
  backface-visibility: hidden;
  contain: layout paint;
  transform: translate3d(100%, 0, 0);
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.mobile-nav.showing,
.mobile-nav.show:not(.hiding) {
  transform: translate3d(0, 0, 0);
}

/* 关闭菜单时立即复位，避免移动端收回过程出现拖沓或闪动。 */
.mobile-nav.hiding {
  transform: translate3d(100%, 0, 0) !important;
  transition: none !important;
}

body:has(.mobile-nav.hiding) .offcanvas-backdrop {
  opacity: 0 !important;
  transition: none !important;
}

.offcanvas-backdrop.fade {
  transition: opacity 180ms linear;
  will-change: opacity;
}

/* 菜单进出期间暂停底页的持续动画，避免移动设备同时合成多个大图层。 */
body:has(.mobile-nav.showing, .mobile-nav.show, .mobile-nav.hiding) .hero-section .carousel-item.active img,
body:has(.mobile-nav.showing, .mobile-nav.show, .mobile-nav.hiding) .hero-scroll svg {
  animation-play-state: paused;
}

.mobile-nav .offcanvas-header {
  min-height: 82px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .offcanvas-header img {
  width: 238px;
}

.mobile-nav .offcanvas-body {
  display: flex;
  padding: 8px 24px 28px;
  flex-direction: column;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-list,
.mobile-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav-row {
  display: flex;
  min-height: 58px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list > li:not(.mobile-nav-group) {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-link {
  display: flex;
  min-height: 58px;
  flex: 1;
  align-items: center;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 600;
}

.mobile-submenu-toggle {
  width: 54px;
  border: 0;
  color: var(--muted);
  background: transparent;
}

.mobile-submenu-toggle svg {
  width: 18px;
  transition: transform var(--transition);
}

.mobile-submenu-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  padding: 8px 0 14px 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-submenu a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.mobile-nav-contact {
  display: grid;
  margin-top: auto;
  padding-top: 28px;
  gap: 12px;
}

.mobile-nav-contact a {
  display: flex;
  align-items: center;
  color: var(--brand-blue);
  font-size: 14px;
  gap: 10px;
}

.mobile-nav-contact svg {
  width: 18px;
}

.hero-section {
  position: relative;
  height: 92svh;
  min-height: 680px;
  overflow: hidden;
  background: #c9c8c3;
}

.hero-section .carousel,
.hero-video-stage,
.hero-section .carousel-inner,
.hero-section .carousel-item,
.hero-section picture,
.hero-section img,
.hero-section video,
.hero-media-empty {
  width: 100%;
  height: 100%;
}

.hero-section img,
.hero-section video {
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-section img {
  transform: scale(1.01);
}

.hero-media-empty {
  background: #c9c8c3;
}

.hero-section .carousel-item.active img {
  animation: heroScale 7s ease-out both;
}

@keyframes heroScale {
  from { transform: scale(1.08); }
  to { transform: scale(1.01); }
}

.hero-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: rgba(19, 27, 38, 0.22);
}

.hero-indicators {
  z-index: 3;
  right: auto;
  bottom: 54px;
  left: clamp(24px, 5vw, 80px);
  width: 24px;
  margin: 0;
  flex-direction: column;
  gap: 12px;
}

.hero-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  opacity: 0.8;
}

.hero-indicators .active {
  border-color: var(--brand-gold);
  background: var(--brand-gold);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 64px);
  bottom: 38px;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 11px;
  gap: 12px;
}

.hero-scroll svg {
  width: 18px;
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

.section-shell {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image: var(--section-bg);
  background-position: center;
  background-size: cover;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(69, 53, 19, 0.73);
}

.section-padding {
  padding: clamp(82px, 9vw, 142px) 0;
}

.section-heading {
  margin-bottom: clamp(38px, 5vw, 68px);
}

.section-heading.centered {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.section-eyebrow {
  margin: 0 0 13px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 600;
}

.section-eyebrow.light {
  color: var(--brand-gold);
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 600;
  line-height: 1.22;
}

.section-title.light {
  color: var(--white);
}

.about-section .section-overlay {
  background: rgba(92, 71, 23, 0.69);
}

.about-copy {
  max-width: 800px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.81);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 2.05;
}

.home-more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 13px;
  gap: 9px;
}

.home-more-link svg {
  width: 16px;
}

.stats-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.stat-item {
  display: flex;
  min-height: 154px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  flex-direction: column;
  justify-content: center;
}

.stat-item strong {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: clamp(31px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.stat-item strong small {
  margin-left: 4px;
  color: var(--brand-gold);
  font-size: 18px;
}

.stat-item > span {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.services-section .section-overlay {
  background: rgba(34, 34, 34, 0.78);
}

.service-card {
  position: relative;
  min-height: 370px;
  padding: 42px 31px 34px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  background: rgba(23, 25, 27, 0.32);
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--brand-gold);
  background: rgba(187, 154, 53, 0.52);
  transform: translateY(-8px);
}

.service-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.3);
  font-family: Georgia, serif;
  font-size: 15px;
}

.service-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 42px;
  color: var(--brand-gold);
  border: 1px solid rgba(209, 168, 50, 0.55);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  margin: 0 0 19px;
  color: var(--white);
  font-family: "Noto Serif SC", serif;
  font-size: 21px;
  line-height: 1.5;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.9;
}

.news-section {
  background: var(--white);
}

.news-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 22px;
}

.news-tabs .nav-link {
  position: relative;
  padding: 10px 3px 15px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: transparent;
  font-size: 15px;
}

.news-tabs .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--brand-blue);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: var(--transition);
}

.news-tabs .nav-link.active {
  color: var(--brand-blue);
  background: transparent;
}

.news-tabs .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 42px);
}

.news-card {
  min-width: 0;
}

.news-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e6e7e8;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.news-card:hover .news-image img {
  transform: scale(1.045);
}

.news-body {
  padding-top: 24px;
}

.news-body time {
  color: var(--brand-gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.news-body h3 {
  min-height: 66px;
  margin: 11px 0 13px;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}

.news-body h3 a:hover {
  color: var(--brand-blue);
}

.news-body p {
  display: -webkit-box;
  min-height: 54px;
  margin: 0 0 20px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--brand-blue);
  font-size: 13px;
  gap: 7px;
}

.text-link svg {
  width: 16px;
  transition: transform var(--transition);
}

.text-link:hover svg {
  transform: translate(3px, -2px);
}

.practice-section {
  min-height: 820px;
}

.practice-section .section-overlay {
  background: rgba(72, 55, 18, 0.86);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-all-link {
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.home-all-link:hover {
  color: var(--brand-gold);
}

.outline-light {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.outline-light:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.practice-track {
  display: grid;
  grid-auto-columns: minmax(270px, 24%);
  grid-auto-flow: column;
  padding-bottom: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--brand-gold) rgba(255, 255, 255, 0.18);
  scrollbar-width: thin;
}

.practice-card {
  position: relative;
  min-height: 410px;
  padding: 42px 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 0;
  color: var(--white);
  scroll-snap-align: start;
  transition: background-color var(--transition), color var(--transition);
}

.practice-card:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.practice-card:hover {
  color: var(--ink);
  background: var(--white);
}

.practice-index {
  color: rgba(255, 255, 255, 0.46);
  font-family: Georgia, serif;
  font-size: 13px;
}

.practice-card:hover .practice-index {
  color: var(--brand-gold);
}

.practice-icon {
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  margin: 47px 0 30px;
  color: var(--brand-gold);
  border: 1px solid rgba(209, 168, 50, 0.65);
}

.practice-icon svg {
  width: 32px;
  height: 32px;
}

.practice-card h3 {
  margin: 0 0 16px;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 1.5;
}

.practice-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.practice-card:hover p {
  color: var(--muted);
}

.practice-arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  color: var(--brand-gold);
}

.team-section {
  background: var(--soft-bg);
}

.team-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #dfe1e4;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: filter var(--transition), transform 700ms ease;
}

.team-card:hover .team-photo img {
  filter: saturate(1);
  transform: scale(1.035);
}

.team-meta {
  padding: 21px 2px 0;
}

.team-meta h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
}

.team-meta p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.highlight-panel {
  position: relative;
  display: flex;
  min-height: 590px;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-image: var(--panel-bg);
  background-position: center;
  background-size: cover;
}

.highlight-overlay {
  position: absolute;
  inset: 0;
  background: rgba(66, 50, 19, 0.6);
  transition: background-color var(--transition);
}

.highlight-panel-alt .highlight-overlay {
  background: rgba(78, 56, 31, 0.58);
}

.highlight-panel:hover .highlight-overlay {
  background: rgba(187, 154, 53, 0.76);
}

.highlight-content {
  position: relative;
  max-width: 670px;
  padding: clamp(42px, 7vw, 92px);
}

.highlight-content h2 {
  margin: 0 0 22px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 4vw, 52px);
}

.highlight-content > p:not(.section-eyebrow) {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.95;
}

.light-link {
  color: var(--white);
}

.story-section {
  background: var(--white);
}

.story-carousel {
  position: relative;
  background: var(--brand-blue-deep);
}

.story-carousel .carousel-item img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.story-copy {
  display: flex;
  min-height: 560px;
  padding: clamp(48px, 6vw, 88px);
  color: var(--white);
  flex-direction: column;
  justify-content: center;
}

.story-copy > span {
  color: var(--brand-gold);
  font-family: Georgia, serif;
  font-size: 14px;
}

.story-copy h3 {
  margin: 28px 0 22px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.45;
}

.story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 2;
}

.story-control {
  top: auto;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.story-control svg {
  width: 20px;
}

.story-carousel .carousel-control-prev {
  right: 91px;
  left: auto;
}

.story-carousel .carousel-control-next {
  right: 32px;
}

.site-footer {
  padding: 92px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #1f2329;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(520px, 1.2fr);
  padding-bottom: 58px;
  gap: 8vw;
}

.footer-brand img {
  width: min(100%, 340px);
}

.footer-brand p {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-family: "Noto Serif SC", serif;
}

.footer-contact h2 {
  margin: 0 0 27px;
  color: var(--white);
  font-family: "Noto Serif SC", serif;
  font-size: 27px;
}

.footer-contact dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
}

.footer-contact dl div {
  min-width: 0;
}

.footer-contact dt {
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 400;
}

.footer-contact dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.footer-nav {
  display: flex;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  flex-wrap: wrap;
  gap: 13px 34px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  display: flex;
  min-height: 74px;
  align-items: center;
  font-size: 12px;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
}

.footer-socials {
  display: flex;
  margin-left: auto;
  gap: 21px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-socials svg {
  width: 16px;
}

.floating-tools {
  position: fixed;
  z-index: 1030;
  right: 18px;
  bottom: 25px;
  display: grid;
  box-shadow: 0 10px 35px rgba(53, 42, 21, 0.18);
}

.floating-tools a,
.floating-tools button {
  position: relative;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--brand-blue);
}

.floating-tools button {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.floating-tools button.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-tools svg {
  width: 19px;
}

.floating-tools span {
  position: absolute;
  right: 58px;
  width: max-content;
  padding: 6px 10px;
  color: var(--white);
  background: #252a31;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
}

.floating-tools a:hover span,
.floating-tools button:hover span {
  opacity: 1;
  transform: translateX(0);
}

.search-modal .modal-content {
  color: var(--white);
  background: rgba(122, 97, 32, 0.98);
}

.search-modal .modal-header {
  padding: 28px clamp(24px, 5vw, 78px);
}

.search-modal .modal-title {
  font-family: "Noto Serif SC", serif;
  font-size: 25px;
}

.search-panel {
  width: min(900px, 90vw);
  margin: clamp(10vh, 14vh, 160px) auto 0;
}

.search-panel > label {
  display: block;
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.44);
  gap: 16px;
}

.search-input-wrap svg {
  flex: 0 0 26px;
}

.search-input-wrap input {
  width: 100%;
  padding: 15px 0 20px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 4vw, 43px);
}

.search-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.search-results {
  display: grid;
  margin-top: 32px;
}

.search-results a {
  display: grid;
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 100px 1fr 24px;
  gap: 16px;
}

.search-results a span {
  color: var(--brand-gold);
  font-size: 12px;
}

.search-results a strong {
  font-weight: 400;
}

.search-results a svg {
  width: 18px;
}

.search-empty {
  color: rgba(255, 255, 255, 0.58);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease var(--delay, 0ms), transform 650ms ease var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fatal-error,
.noscript-message {
  display: grid;
  min-height: 100vh;
  place-content: center;
  padding: 30px;
  text-align: center;
}

@media (hover: hover) and (min-width: 1200px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1399.98px) {
  :root {
    --header-height: 92px;
  }

  .navbar-brand {
    width: 238px;
    margin-right: 14px;
  }

  .navbar-nav {
    gap: 2px;
  }

  .navbar-nav .nav-link {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 14px;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --header-height: 78px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    border-bottom-color: rgba(187, 154, 53, 0.16);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 28px rgba(14, 25, 43, 0.07);
  }

  .navbar-brand {
    width: min(250px, 62vw);
    height: 60px;
  }

  .brand-logo-light {
    opacity: 0;
  }

  .brand-logo-dark {
    opacity: 1;
  }

  .header-search-button,
  .navbar-toggler {
    color: var(--brand-blue);
  }

  .hero-section {
    height: 83svh;
    min-height: 620px;
    margin-top: var(--header-height);
  }

  .section-shell {
    min-height: 720px;
    padding: 100px 0;
  }

  .service-card {
    min-height: 320px;
  }

  .practice-track {
    grid-auto-columns: minmax(270px, 34%);
  }
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: clamp(32px, 6vw, 48px);
  }

  .stats-grid {
    max-width: 650px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-card:last-child {
    display: none;
  }

  .practice-track {
    grid-auto-columns: minmax(270px, 46%);
  }

  .story-carousel .carousel-item img {
    height: 410px;
  }

  .story-copy {
    min-height: 400px;
    padding-bottom: 95px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .footer-brand img {
    width: 300px;
  }

  .footer-socials span {
    display: none;
  }
}

@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 15px;
  }

  .site-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: 72px;
  }

  .navbar-brand {
    width: min(220px, 60vw);
    height: 52px;
  }

  .hero-section {
    height: 73svh;
    min-height: 510px;
    margin-top: 72px;
  }

  .hero-section img {
    object-position: center center;
  }

  .hero-indicators {
    bottom: 24px;
    left: 20px;
    flex-direction: row;
  }

  .hero-scroll {
    right: 20px;
    bottom: 18px;
  }

  .hero-scroll span {
    display: none;
  }

  .section-padding {
    padding: 76px 0;
  }

  .section-shell {
    min-height: 0;
    padding: 82px 0;
  }

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

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title {
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .about-copy {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.9;
  }

  .stats-grid {
    margin-top: 8px;
  }

  .stat-item {
    min-height: 120px;
    padding: 20px 16px;
  }

  .stat-item strong {
    font-size: clamp(27px, 8vw, 37px);
  }

  .service-card {
    min-height: 0;
    padding: 32px 26px;
  }

  .service-icon {
    margin-bottom: 26px;
  }

  .news-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .news-tabs .nav-link {
    white-space: nowrap;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .news-card:last-child {
    display: block;
  }

  .news-body h3,
  .news-body p {
    min-height: 0;
  }

  .practice-section {
    padding-right: 0;
    padding-left: 0;
  }

  .light-heading {
    padding-right: 20px;
  }

  .practice-track {
    margin-right: -20px;
    grid-auto-columns: minmax(265px, 82vw);
  }

  .practice-card {
    min-height: 380px;
  }

  .team-meta h3 {
    font-size: 18px;
  }

  .highlight-panel {
    min-height: 500px;
  }

  .highlight-content {
    padding: 44px 24px;
  }

  .story-carousel .carousel-item img {
    height: 290px;
  }

  .story-copy {
    min-height: 370px;
    padding: 42px 24px 88px;
  }

  .story-copy h3 {
    font-size: 28px;
  }

  .story-carousel .carousel-control-prev {
    right: 79px;
  }

  .story-carousel .carousel-control-next {
    right: 22px;
  }

  .story-control {
    bottom: 22px;
    width: 44px;
    height: 44px;
  }

  .site-footer {
    padding-top: 66px;
  }

  .footer-main {
    padding-bottom: 42px;
  }

  .footer-contact dl {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .footer-nav {
    gap: 11px 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    padding: 24px 0;
    flex-direction: column;
    gap: 7px;
  }

  .footer-socials {
    margin: 14px 0 0;
  }

  .footer-socials span {
    display: inline;
  }

  .floating-tools {
    right: 12px;
    bottom: 14px;
  }

  .floating-tools a {
    display: none;
  }

  .search-modal .modal-header {
    padding: 18px 20px;
  }

  .search-panel {
    width: 100%;
    margin-top: 8vh;
  }

  .search-input-wrap input {
    font-size: 25px;
  }

  .search-results a {
    grid-template-columns: 78px 1fr 20px;
  }
}

@media (max-width: 389.98px) {
  .navbar-brand {
    width: 190px;
  }

  .stat-item {
    padding-right: 10px;
    padding-left: 10px;
  }

  .stat-item strong {
    font-size: 26px;
  }

  .team-meta h3 {
    font-size: 16px;
  }
}

.language-toggle {
  min-width: 44px;
  height: 34px;
  margin-left: 10px;
  padding: 0 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  font: 600 12px/1 "Montserrat", sans-serif;
  letter-spacing: 0.06em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--tx-gold, #bb9a35);
  color: #fff;
  background: var(--tx-gold, #bb9a35);
  outline: none;
}

.language-toggle--mobile {
  margin-left: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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