:root {
    --xunde-bg: #131313;
    --xunde-surface: #1b1b1b;
    --xunde-surface-soft: #242424;
    --xunde-surface-strong: #2e2e2e;
    --xunde-text: #e5e2e1;
    --xunde-text-muted: rgba(229, 226, 225, 0.68);
    --xunde-text-faint: rgba(229, 226, 225, 0.42);
    --xunde-gold: #e9c349;
    --xunde-gold-deep: #c5a12a;
    --xunde-outline: rgba(221, 195, 147, 0.16);
    --xunde-outline-strong: rgba(233, 195, 73, 0.28);
    --xunde-radius: 1.25rem;
    --xunde-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    --xunde-serif: "Newsreader", "Noto Serif SC", "Songti SC", serif;
    --xunde-body: "Manrope", "PingFang SC", "Helvetica Neue", sans-serif;
}

html,
body {
    margin: 0;
    background: var(--xunde-bg);
    color: var(--xunde-text);
    font-family: var(--xunde-body);
}

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

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

.xunde-page-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(233, 195, 73, 0.09), transparent 28rem),
        radial-gradient(circle at top right, rgba(233, 195, 73, 0.05), transparent 20rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 18rem),
        var(--xunde-bg);
}

.xunde-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.xunde-main {
    min-height: calc(100vh - 80px);
    padding-top: 96px;
    padding-bottom: 96px;
}

.xunde-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    backdrop-filter: blur(24px);
    background: linear-gradient(180deg, rgba(19, 19, 19, 0.92), rgba(19, 19, 19, 0.58));
    box-shadow: 0 48px 48px rgba(233, 195, 73, 0.06);
}

.xunde-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.xunde-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xunde-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(233, 195, 73, 0.12);
}

.xunde-brand-title {
    font-family: var(--xunde-serif);
    font-size: 1.35rem;
    color: var(--xunde-gold);
    letter-spacing: -0.02em;
}

.xunde-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.xunde-nav-link {
    color: var(--xunde-text-muted);
    font-size: 1rem;
    font-family: var(--xunde-serif);
    padding-bottom: 6px;
    border-bottom: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease;
}

.xunde-nav-link:hover,
.xunde-nav-link[data-nav-active="1"] {
    color: var(--xunde-gold);
    border-color: var(--xunde-gold);
}

.xunde-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xunde-search-link,
.xunde-cta-link {
    border-radius: 999px;
    padding: 10px 18px;
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.xunde-search-link {
    border: 1px solid var(--xunde-outline);
    color: var(--xunde-text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.xunde-search-link:hover {
    transform: translateY(-1px);
    color: var(--xunde-gold);
    border-color: var(--xunde-outline-strong);
}

.xunde-cta-link {
    background: linear-gradient(135deg, var(--xunde-gold), var(--xunde-gold-deep));
    color: #2c2100;
    font-weight: 700;
}

.xunde-cta-link:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.xunde-floating-contact {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    width: 112px;
    padding: 16px 12px;
    border-radius: 24px;
    background: rgba(28, 28, 28, 0.82);
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--xunde-shadow);
}

.xunde-floating-toggle {
    display: none;
}

.xunde-floating-label {
    color: rgba(221, 195, 147, 0.7);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 14px;
}

.xunde-floating-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xunde-floating-item {
    display: block;
    padding: 10px 8px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid transparent;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.xunde-floating-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(233, 195, 73, 0.18);
    color: var(--xunde-gold);
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.xunde-floating-item:hover {
    transform: translateX(-3px);
    border-color: rgba(233, 195, 73, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

.xunde-floating-title {
    display: block;
    font-size: 0.8rem;
    color: var(--xunde-text);
}

.xunde-floating-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    color: var(--xunde-text-faint);
}

.xunde-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 32px;
}

.xunde-hero-copy,
.xunde-hero-visual,
.xunde-panel,
.xunde-card,
.xunde-list-card {
    border-radius: var(--xunde-radius);
    overflow: hidden;
    border: 1px solid var(--xunde-outline);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: var(--xunde-shadow);
}

.xunde-hero-copy {
    padding: 48px;
}

.xunde-eyebrow {
    color: var(--xunde-gold);
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.xunde-title {
    margin: 18px 0;
    font-family: var(--xunde-serif);
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.xunde-lead {
    color: var(--xunde-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 60ch;
}

.xunde-display-title {
    margin: 0 0 18px;
    font-family: var(--xunde-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.xunde-display-sub {
    color: var(--xunde-gold);
    font-style: italic;
    font-weight: 300;
}

.xunde-page-intro {
    margin-bottom: 28px;
}

.xunde-page-intro-copy {
    max-width: 72rem;
}

.xunde-page-intro-lead {
    max-width: 46rem;
    color: var(--xunde-text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.xunde-inline-rule {
    width: 6rem;
    height: 1px;
    background: rgba(233, 195, 73, 0.35);
    margin: 1rem 0 1.5rem;
}

.xunde-inline-link {
    display: inline-flex;
    margin-top: 1.25rem;
    color: var(--xunde-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.xunde-hero-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.xunde-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--xunde-outline);
    color: var(--xunde-text);
}

.xunde-secondary-link:hover {
    border-color: var(--xunde-outline-strong);
    color: var(--xunde-gold);
}

.xunde-hero-visual {
    min-height: 420px;
    position: relative;
}

.xunde-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
}

.xunde-hero-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(19, 19, 19, 0.86);
    border: 1px solid rgba(233, 195, 73, 0.18);
}

.xunde-hero-badge strong {
    display: block;
    color: var(--xunde-gold);
    font-size: 1.35rem;
    font-family: var(--xunde-serif);
}

.xunde-section {
    margin-top: 28px;
}

.xunde-section-title {
    margin: 0 0 18px;
    font-family: var(--xunde-serif);
    font-size: clamp(1.7rem, 2.8vw, 2.8rem);
    letter-spacing: -0.03em;
}

.xunde-section-copy {
    color: var(--xunde-text-muted);
    line-height: 1.85;
}

.xunde-grid {
    display: grid;
    gap: 20px;
}

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

.xunde-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xunde-card,
.xunde-list-card,
.xunde-panel {
    padding: 28px;
}

.xunde-editorial-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
    border-color: rgba(233, 195, 73, 0.18);
}

.xunde-home-clients {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.xunde-home-clients span {
    display: block;
    text-align: center;
    border: 1px solid var(--xunde-outline);
    border-radius: 18px;
    padding: 16px 10px;
    color: var(--xunde-text-faint);
    letter-spacing: 0.18em;
    font-size: 0.78rem;
}

.xunde-team-card {
    min-height: 220px;
}

.xunde-card h3,
.xunde-list-card h3 {
    margin: 0 0 12px;
    font-family: var(--xunde-serif);
    font-size: 1.5rem;
}

.xunde-card p,
.xunde-list-card p {
    margin: 0;
    color: var(--xunde-text-muted);
    line-height: 1.75;
}

.xunde-kicker {
    color: var(--xunde-gold);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.xunde-image-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.xunde-image-card {
    overflow: hidden;
    border-radius: var(--xunde-radius);
    border: 1px solid var(--xunde-outline);
    min-height: 360px;
    background: var(--xunde-surface);
}

.xunde-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xunde-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
}

.xunde-contact-list {
    display: grid;
    gap: 18px;
}

.xunde-form-placeholder {
    display: grid;
    gap: 14px;
}

.xunde-form-row {
    display: grid;
    gap: 8px;
}

.xunde-form-row label {
    color: var(--xunde-text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.xunde-form-row input,
.xunde-form-row textarea,
.xunde-form-row select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--xunde-outline);
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--xunde-text);
    font: inherit;
}

.xunde-form-row textarea {
    min-height: 128px;
    resize: vertical;
}

.xunde-search-shell {
    display: grid;
    gap: 18px;
}

.xunde-search-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.xunde-search-bar input {
    border-radius: 999px;
    border: 1px solid var(--xunde-outline);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--xunde-text);
    font: inherit;
}

.xunde-search-result {
    padding: 22px 24px;
    border-radius: 18px;
    border: 1px solid var(--xunde-outline);
    background: rgba(255, 255, 255, 0.02);
}

.xunde-practice-featured {
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

.xunde-practice-card {
    min-height: 220px;
}

.xunde-practice-cta {
    align-items: center;
}

.xunde-practice-featured-visual {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(19, 19, 19, 0.1), rgba(19, 19, 19, 0.88)),
        radial-gradient(circle at top left, rgba(233, 195, 73, 0.18), transparent 22rem),
        rgba(255, 255, 255, 0.02);
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.xunde-practice-featured-copy {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.xunde-practice-stats .xunde-grid.four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.xunde-stat-card {
    text-align: center;
}

.xunde-stat-card h3 {
    font-size: 2.6rem;
    color: var(--xunde-gold);
}

.xunde-contact-info-card {
    min-height: 140px;
}

.xunde-mini-note {
    display: block;
    margin-top: 10px;
    color: var(--xunde-text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.xunde-search-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.36fr) minmax(0, 0.64fr);
    gap: 24px;
}

.xunde-search-sidebar {
    position: sticky;
    top: 128px;
    align-self: start;
}

.xunde-search-sidebar-cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.xunde-search-results {
    display: grid;
    gap: 20px;
}

.xunde-search-result-card h3 {
    font-family: var(--xunde-serif);
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 16px;
}

.xunde-contact-form-panel,
.xunde-contact-map-panel,
.xunde-search-keywords,
.xunde-search-cta,
.xunde-system-content {
    min-height: 100%;
}

.xunde-system-grid {
    align-items: start;
}

.xunde-legal {
    max-width: 920px;
    margin: 0 auto;
}

.xunde-legal p {
    color: var(--xunde-text-muted);
    line-height: 1.9;
}

.xunde-search-editorial {
    margin-bottom: 0;
}

.xunde-search-editorial-header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-end;
}

.xunde-search-editorial-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    margin-top: 26px;
    border-bottom: 1px solid rgba(221, 195, 147, 0.22);
}

.xunde-search-editorial-form input {
    padding: 18px 72px 18px 0;
    border: 0;
    background: transparent;
    color: var(--xunde-text);
    font-family: var(--xunde-serif);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.xunde-search-editorial-form input:focus {
    outline: none;
}

.xunde-search-submit {
    border: 0;
    background: transparent;
    color: var(--xunde-gold);
    font-size: 0.84rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 0 18px;
}

.xunde-search-summary {
    margin-top: 22px;
    color: var(--xunde-text-muted);
    letter-spacing: 0.04em;
}

.xunde-search-summary span {
    color: var(--xunde-gold);
    font-weight: 700;
}

.xunde-search-filter-strip {
    margin-top: 8px;
}

.xunde-search-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 8px;
}

.xunde-search-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--xunde-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    border: 1px solid transparent;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.xunde-search-filter strong {
    color: var(--xunde-text);
    font-size: 0.82rem;
    letter-spacing: normal;
}

.xunde-search-filter:hover,
.xunde-search-filter.is-active {
    color: #2c2100;
    background: var(--xunde-gold);
    border-color: rgba(233, 195, 73, 0.32);
    transform: translateY(-1px);
}

.xunde-search-filter:hover strong,
.xunde-search-filter.is-active strong {
    color: #2c2100;
}

.xunde-search-editorial-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.27fr) minmax(0, 0.73fr);
    gap: 48px;
    align-items: start;
}

.xunde-search-sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 24px;
}

.xunde-search-sidebar-block,
.xunde-search-sidebar-cta {
    padding: 30px;
    border: 1px solid var(--xunde-outline);
    background: rgba(255, 255, 255, 0.025);
}

.xunde-search-sidebar-title {
    margin: 0 0 18px;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--xunde-text-faint);
}

.xunde-search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.xunde-search-suggestion {
    color: var(--xunde-text-muted);
    text-decoration: underline;
    text-decoration-color: rgba(221, 195, 147, 0.24);
    text-underline-offset: 0.3rem;
    transition: color 160ms ease, text-decoration-color 160ms ease;
}

.xunde-search-suggestion:hover {
    color: var(--xunde-gold);
    text-decoration-color: rgba(233, 195, 73, 0.4);
}

.xunde-search-sidebar-cta {
    position: relative;
    overflow: hidden;
    border-color: rgba(233, 195, 73, 0.16);
    background:
        radial-gradient(circle at top right, rgba(233, 195, 73, 0.1), transparent 10rem),
        rgba(255, 255, 255, 0.02);
}

.xunde-search-sidebar-cta h4 {
    margin: 0 0 12px;
    color: var(--xunde-gold);
    font-family: var(--xunde-serif);
    font-size: 1.5rem;
}

.xunde-search-sidebar-cta p {
    margin: 0 0 18px;
    color: var(--xunde-text-muted);
    line-height: 1.8;
}

.xunde-search-results-column {
    display: grid;
    gap: 24px;
}

.xunde-search-media-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 36px 38px;
    background: rgba(255, 255, 255, 0.035);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.xunde-search-media-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(233, 195, 73, 0.22);
}

.xunde-search-media-card-case,
.xunde-search-media-card-lawyer {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
}

.xunde-search-media-card-lawyer {
    grid-template-columns: 128px minmax(0, 1fr);
}

.xunde-search-media-copy h2 {
    margin: 0 0 18px;
    font-family: var(--xunde-serif);
    font-size: clamp(2.1rem, 3.5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.xunde-search-media-copy h2 a:hover {
    color: var(--xunde-gold);
}

.xunde-search-media-copy p {
    margin: 0;
    color: var(--xunde-text-muted);
    line-height: 1.85;
}

.xunde-search-media-visual {
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(19, 19, 19, 0.18), rgba(19, 19, 19, 0.82)),
        radial-gradient(circle at top right, rgba(233, 195, 73, 0.12), transparent 10rem),
        var(--xunde-surface-soft);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.xunde-search-media-visual-portrait {
    min-height: 188px;
}

.xunde-search-media-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.72;
    transition: opacity 220ms ease, transform 400ms ease;
}

.xunde-search-media-card:hover .xunde-search-media-visual img {
    opacity: 1;
    transform: scale(1.03);
}

.xunde-search-media-visual.is-placeholder span {
    padding: 0 24px;
    color: var(--xunde-gold);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    text-align: center;
}

.xunde-search-card-meta,
.xunde-search-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.xunde-search-card-meta {
    margin-bottom: 18px;
}

.xunde-search-card-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.xunde-search-card-badge {
    display: inline-flex;
    padding: 8px 12px;
    background: rgba(233, 195, 73, 0.08);
    border: 1px solid rgba(233, 195, 73, 0.18);
    color: var(--xunde-gold);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xunde-search-card-badge-insight {
    color: #9bc4ff;
    border-color: rgba(155, 196, 255, 0.22);
    background: rgba(155, 196, 255, 0.08);
}

.xunde-search-card-badge-case {
    color: #b7d38f;
    border-color: rgba(183, 211, 143, 0.24);
    background: rgba(183, 211, 143, 0.08);
}

.xunde-search-card-badge-career {
    color: #f0b66f;
    border-color: rgba(240, 182, 111, 0.22);
    background: rgba(240, 182, 111, 0.08);
}

.xunde-search-card-badge-social {
    color: #d0a7ef;
    border-color: rgba(208, 167, 239, 0.22);
    background: rgba(208, 167, 239, 0.08);
}

.xunde-search-card-badge-practice {
    color: #7fd0c6;
    border-color: rgba(127, 208, 198, 0.22);
    background: rgba(127, 208, 198, 0.08);
}

.xunde-search-card-note {
    color: var(--xunde-text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.xunde-search-card-link {
    color: var(--xunde-gold);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xunde-search-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--xunde-text-faint);
    font-style: italic;
}

.xunde-search-pagination {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.xunde-search-pagination-link,
.xunde-search-pagination-arrow {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--xunde-text-faint);
    border-bottom: 1px solid transparent;
}

.xunde-search-pagination-link.is-active {
    color: var(--xunde-gold);
    border-color: var(--xunde-gold);
}

.xunde-search-pagination-arrow:hover,
.xunde-search-pagination-link:hover {
    color: var(--xunde-gold);
}

.xunde-search-pagination-arrow.is-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.xunde-formal-header {
    margin-bottom: 24px;
    max-width: 76rem;
}

.xunde-formal-label {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(233, 195, 73, 0.08);
    border: 1px solid rgba(233, 195, 73, 0.2);
    color: var(--xunde-gold);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.xunde-formal-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.27fr) minmax(0, 0.73fr);
    gap: 48px;
    align-items: start;
}

.xunde-formal-sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 22px;
}

.xunde-formal-sidebar-block h4 {
    margin: 0 0 12px;
    color: var(--xunde-text-faint);
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.xunde-formal-sidebar-block p {
    margin: 0;
    color: var(--xunde-gold);
    font-family: var(--xunde-serif);
    font-size: 1.4rem;
    line-height: 1.4;
}

.xunde-formal-nav {
    display: grid;
    gap: 14px;
}

.xunde-formal-nav a {
    color: var(--xunde-text-muted);
    font-size: 0.92rem;
    transition: color 160ms ease, transform 160ms ease;
}

.xunde-formal-nav a:hover,
.xunde-formal-nav a.is-active {
    color: var(--xunde-gold);
    transform: translateX(4px);
}

.xunde-formal-article {
    padding: 36px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--xunde-shadow);
}

.xunde-formal-prose {
    display: grid;
    gap: 26px;
}

.xunde-formal-prose section {
    display: grid;
    gap: 12px;
}

.xunde-formal-prose h2 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(221, 195, 147, 0.18);
    color: var(--xunde-gold);
    font-family: var(--xunde-serif);
    font-size: 2rem;
}

.xunde-formal-prose p,
.xunde-formal-prose li {
    color: var(--xunde-text-muted);
    line-height: 1.92;
}

.xunde-formal-prose ul,
.xunde-formal-prose ol {
    margin: 0;
    padding-left: 1.4rem;
    display: grid;
    gap: 12px;
}

.xunde-formal-lead {
    color: var(--xunde-text);
    font-size: 1.18rem;
}

.xunde-formal-state {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(233, 195, 73, 0.18);
    background: rgba(233, 195, 73, 0.05);
    text-align: center;
}

.xunde-formal-state h2 {
    margin: 0 0 16px;
    font-family: var(--xunde-serif);
    font-size: clamp(2.2rem, 4vw, 3rem);
}

.xunde-formal-state p {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--xunde-text-muted);
    line-height: 1.85;
}

.xunde-formal-state-icon,
.xunde-formal-state-code {
    margin: 0 auto 20px;
    color: var(--xunde-gold);
    font-family: var(--xunde-serif);
}

.xunde-formal-state-icon {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(233, 195, 73, 0.28);
    font-size: 2.4rem;
}

.xunde-formal-state-code {
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 0.9;
    font-style: italic;
    opacity: 0.35;
}

.xunde-formal-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.xunde-formal-wave {
    height: 160px;
    margin-top: 24px;
    opacity: 0.08;
    background:
        radial-gradient(circle at 15% 40%, rgba(233, 195, 73, 0.9), transparent 18%),
        radial-gradient(circle at 34% 62%, rgba(233, 195, 73, 0.42), transparent 18%),
        radial-gradient(circle at 56% 42%, rgba(233, 195, 73, 0.78), transparent 22%),
        radial-gradient(circle at 74% 58%, rgba(233, 195, 73, 0.5), transparent 18%),
        radial-gradient(circle at 92% 38%, rgba(233, 195, 73, 0.78), transparent 18%);
    mask-image: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, 0.8) 35%, rgba(0, 0, 0, 0.8) 100%);
}

.xunde-footer {
    border-top: 1px solid rgba(221, 195, 147, 0.15);
    padding-top: 28px;
    padding-bottom: 28px;
    background: rgba(0, 0, 0, 0.12);
}

.xunde-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 24px;
}

.xunde-footer-brand {
    font-family: var(--xunde-serif);
    color: var(--xunde-gold);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.xunde-footer h4 {
    margin: 0 0 14px;
    color: var(--xunde-gold);
    font-size: 0.86rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xunde-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.xunde-footer li,
.xunde-footer p {
    color: var(--xunde-text-muted);
    line-height: 1.7;
}

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

.xunde-footer-legal {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--xunde-text-faint);
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 1100px) {
    .xunde-page-hero,
    .xunde-contact-grid,
    .xunde-search-layout,
    .xunde-search-editorial-grid,
    .xunde-formal-grid,
    .xunde-footer-grid,
    .xunde-grid.three,
    .xunde-image-strip {
        grid-template-columns: 1fr;
    }

    .xunde-grid.two {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 960px) {
    .xunde-shell {
        padding: 0 20px;
    }

    .xunde-main {
        padding-top: 86px;
        padding-bottom: 72px;
    }

    .xunde-header-inner {
        min-height: 72px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .xunde-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 16px;
    }

    .xunde-floating-contact {
        position: fixed;
        right: 14px;
        bottom: 14px;
        top: auto;
        transform: none;
        width: auto;
        max-width: calc(100vw - 28px);
    }

    .xunde-floating-list {
        flex-direction: row;
    }

    .xunde-floating-item {
        min-width: 82px;
    }

    .xunde-hero-copy,
    .xunde-card,
    .xunde-list-card,
    .xunde-panel {
        padding: 22px;
    }

    .xunde-search-media-card,
    .xunde-search-media-card-case,
    .xunde-search-media-card-lawyer {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .xunde-search-editorial-form input {
        font-size: 1.3rem;
        padding-right: 20px;
    }

    .xunde-search-filter {
        width: 100%;
        justify-content: space-between;
    }

    .xunde-formal-article {
        padding: 28px 24px;
    }

    .xunde-formal-wave {
        height: 110px;
    }

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

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    [data-site-header] > div {
        gap: 0.75rem;
        padding: 0.875rem 1rem !important;
    }

    [data-site-header] a:first-child {
        min-width: 0;
        gap: 0.625rem;
    }

    [data-site-header] img {
        height: 2rem;
    }

    [data-site-header] a:first-child span {
        max-width: 11rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 1.05rem;
        line-height: 1.15;
        letter-spacing: 0;
    }

    [data-site-header] div.flex.items-center.gap-6 {
        flex-shrink: 0;
        gap: 0.75rem;
    }

    [data-site-header] .material-symbols-outlined {
        font-size: 1.35rem;
    }

    [data-site-header] a.rounded-md {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .xunde-shell {
        padding: 0 16px;
    }

    .xunde-main {
        padding-top: 80px;
        padding-bottom: 56px;
    }

    .xunde-page-hero {
        gap: 18px;
        margin-bottom: 24px;
    }

    .xunde-hero-copy,
    .xunde-card,
    .xunde-list-card,
    .xunde-panel {
        padding: 18px;
    }

    .xunde-title,
    .xunde-display-title,
    .xunde-section-title,
    .xunde-search-media-copy h2,
    .xunde-search-result-card h3,
    .xunde-formal-state h2 {
        text-wrap: balance;
        letter-spacing: 0;
    }

    .xunde-title {
        margin: 14px 0;
        font-size: clamp(2.15rem, 10vw, 3.1rem);
        line-height: 1.08;
    }

    .xunde-display-title {
        margin-bottom: 14px;
        font-size: clamp(2.25rem, 10vw, 3.25rem);
        line-height: 1.06;
    }

    .xunde-section-title,
    .xunde-search-media-copy h2,
    .xunde-search-result-card h3,
    .xunde-formal-prose h2 {
        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: 1.18;
    }

    .xunde-lead,
    .xunde-page-intro-lead,
    .xunde-section-copy,
    .xunde-formal-prose p,
    .xunde-formal-prose li {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .xunde-eyebrow,
    .xunde-kicker,
    .xunde-formal-label,
    .xunde-search-card-note,
    .xunde-search-card-link {
        letter-spacing: 0.14em;
    }

    .xunde-hero-actions,
    .xunde-formal-actions {
        gap: 10px;
    }

    .xunde-cta-link,
    .xunde-secondary-link,
    .xunde-search-submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 16px;
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .xunde-hero-actions .xunde-cta-link,
    .xunde-hero-actions .xunde-secondary-link,
    .xunde-formal-actions .xunde-cta-link,
    .xunde-formal-actions .xunde-secondary-link {
        width: 100%;
        box-sizing: border-box;
    }

    .xunde-hero-visual {
        min-height: 260px;
    }

    .xunde-hero-badge {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 14px 16px;
        border-radius: 14px;
    }

    .xunde-hero-badge strong {
        font-size: 1.08rem;
    }

    .xunde-section {
        margin-top: 22px;
    }

    .xunde-grid,
    .xunde-search-results-column,
    .xunde-search-results {
        gap: 16px;
    }

    .xunde-home-clients {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .xunde-home-clients span {
        padding: 12px 8px;
        border-radius: 12px;
        letter-spacing: 0.08em;
    }

    .xunde-search-editorial-header,
    .xunde-search-card-meta,
    .xunde-search-card-footer {
        align-items: flex-start;
        gap: 12px;
    }

    .xunde-search-editorial-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .xunde-search-editorial-form input {
        padding: 12px 0;
        font-size: 1.18rem;
    }

    .xunde-search-submit {
        justify-self: stretch;
        border: 1px solid var(--xunde-outline);
        border-radius: 999px;
        padding-bottom: 0;
    }

    .xunde-search-filter-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -16px;
        padding: 0 16px 8px;
        scroll-padding: 16px;
    }

    .xunde-search-filter {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 9px 14px;
        gap: 8px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .xunde-search-media-card,
    .xunde-search-media-card-case,
    .xunde-search-media-card-lawyer {
        padding: 20px 18px;
        gap: 18px;
    }

    .xunde-search-media-card-lawyer {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .xunde-search-media-visual {
        min-height: 170px;
    }

    .xunde-search-media-visual-portrait {
        min-height: 112px;
    }

    .xunde-search-tags {
        gap: 10px;
        font-size: 0.9rem;
    }

    .xunde-formal-header {
        margin-bottom: 18px;
    }

    .xunde-formal-grid,
    .xunde-search-editorial-grid {
        gap: 24px;
    }

    .xunde-formal-sidebar,
    .xunde-search-sidebar {
        position: static;
    }

    .xunde-formal-article,
    .xunde-formal-state,
    .xunde-search-sidebar-block,
    .xunde-search-sidebar-cta {
        padding: 20px 18px;
        border-radius: 16px;
    }

    .xunde-formal-state-icon {
        width: 64px;
        height: 64px;
        font-size: 1.8rem;
    }

    .xunde-formal-state-code {
        font-size: clamp(3.4rem, 18vw, 5rem);
    }

    .xunde-floating-contact {
        left: 12px;
        top: auto;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        transform: none;
        gap: 10px;
        padding: 8px;
        border-radius: 18px;
        background: rgba(28, 28, 28, 0.9);
    }

    .xunde-floating-toggle {
        display: none;
        width: 64px;
        height: 64px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
        border: 1px solid rgba(233, 195, 73, 0.26);
        border-radius: 999px;
        background: linear-gradient(135deg, var(--xunde-gold), var(--xunde-gold-deep));
        color: #2c2100;
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
        cursor: pointer;
        font: inherit;
        font-weight: 700;
    }

    .xunde-floating-toggle .material-symbols-outlined {
        font-size: 1.35rem;
        line-height: 1;
    }

    .xunde-floating-toggle span:last-child {
        font-size: 0.72rem;
        line-height: 1;
    }

    .xunde-floating-heading {
        display: none;
    }

    .xunde-floating-panel {
        display: block;
    }

    .xunde-floating-link-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .xunde-floating-item {
        min-width: 0;
        padding: 8px 6px;
        border-radius: 12px;
    }

    .xunde-floating-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 4px;
        font-size: 0.72rem;
    }

    .xunde-floating-title {
        font-size: 0.76rem;
    }

    .xunde-js-ready .xunde-floating-contact {
        left: auto;
        width: auto;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .xunde-js-ready .xunde-floating-toggle {
        display: inline-flex;
    }

    .xunde-js-ready .xunde-floating-panel {
        position: absolute;
        right: 0;
        bottom: 76px;
        width: min(18rem, calc(100vw - 24px));
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 18px;
        background: rgba(28, 28, 28, 0.94);
        box-shadow: var(--xunde-shadow);
        backdrop-filter: blur(22px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px) scale(0.98);
        transform-origin: right bottom;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    body.xunde-floating-open .xunde-floating-panel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    body.xunde-floating-open .xunde-floating-toggle {
        background: var(--xunde-surface);
        color: var(--xunde-gold);
    }

    .xunde-footer {
        padding-bottom: 96px;
    }
}

@media (max-width: 380px) {
    [data-site-header] a:first-child span {
        max-width: 8.5rem;
        font-size: 0.98rem;
    }

    [data-site-header] a.rounded-md {
        padding: 0.45rem 0.6rem;
        font-size: 0.82rem;
    }

    .xunde-title {
        font-size: clamp(2rem, 9.5vw, 2.7rem);
    }

    .xunde-display-title {
        font-size: clamp(2.05rem, 9.5vw, 2.9rem);
    }

    .xunde-hero-copy,
    .xunde-card,
    .xunde-list-card,
    .xunde-panel {
        padding: 16px;
    }

    .xunde-cta-link,
    .xunde-secondary-link,
    .xunde-search-submit {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.9rem;
    }
}
