@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap");

:root {
    --ink: #07111b;
    --ink-soft: #101a26;
    --paper: #fef9f1;
    --paper-low: #f8f3eb;
    --paper-mid: #f2ede5;
    --text: #1d1c17;
    --muted: #44474b;
    --outline: #c5c6cc;
    --gold: #c9a56f;
    --gold-deep: #76592b;
    --red: #8b1416;
    --container: 1440px;
    --gutter: 32px;
    --page-x: 64px;
    --section: 120px;
    --serif: "Noto Serif SC", "Songti SC", serif;
    --sans: "Work Sans", "Noto Sans SC", system-ui, sans-serif;
}

body.dark-theme {
    --paper: #07111b;
    --paper-low: #0c1724;
    --paper-mid: #121e2d;
    --text: #f5f0e8;
    --muted: #a0a6ad;
    --ink: #fef9f1;
    --ink-soft: #f8f3eb;
    --outline: #2c3a4a;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    text-rendering: optimizeLegibility;
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: rgba(201, 165, 111, 0.28);
    color: var(--ink);
}

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

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

p {
    margin: 0;
    line-height: 1.8;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1000;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    overflow: visible;
    background: var(--gold);
    color: var(--ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background:
        linear-gradient(180deg, rgba(8, 19, 30, 0.98) 0%, rgba(5, 13, 22, 0.96) 100%);
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    box-sizing: border-box;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
}

.site-header.is-scrolled {
    background: linear-gradient(180deg, #07111b 0%, #081522 100%);
    border-bottom-color: rgba(201, 165, 111, 0.22);
    backdrop-filter: none;
}

.site-nav {
    width: 100%;
    margin: 0;
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    box-sizing: border-box;
    padding: 0 var(--page-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.redirect-main {
    min-height: 100vh;
    padding: 72px var(--page-x);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 18px;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
}

.redirect-main img {
    width: 48px;
    height: 80px;
    object-fit: contain;
}

.redirect-main h1 {
    font-size: clamp(30px, 4vw, 56px);
}

.redirect-main p {
    max-width: 520px;
    color: rgba(245, 240, 232, 0.72);
}

.site-header.is-scrolled .site-nav {
    padding-block: 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
    color: #ead2a8;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-mark {
    width: 28px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(139, 20, 22, 0.32));
}

.brand-text {
    display: block;
    line-height: 1.08;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.site-brand small {
    display: block;
    margin-top: 9px;
    color: rgba(245, 240, 232, 0.62);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.main-nav a {
    position: relative;
    color: rgba(232, 238, 244, 0.82);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 10px 0 13px;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--gold);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 18px;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 36px;
}

.nav-item > a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    line-height: 1;
    padding: 10px 0 13px;
}

.main-nav > a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    line-height: 1;
    padding: 10px 0 13px;
}

.nav-item > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 18px;
    height: 1px;
    background: var(--gold);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-item:hover > a::after,
.nav-item > a[aria-current="page"]::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 16px;
}

.btn,
.nav-cta,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 1px solid var(--gold);
    border-radius: 0;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.nav-cta:hover {
    background: #fff;
    color: var(--ink);
}

.btn:disabled,
button.btn:disabled {
    background: rgba(201, 165, 111, 0.24) !important;
    border-color: rgba(201, 165, 111, 0.18) !important;
    color: rgba(7, 17, 27, 0.38) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.8;
}

body.dark-theme .btn:disabled,
body.dark-theme button.btn:disabled {
    color: rgba(255, 255, 255, 0.32) !important;
}

.nav-cta {
    min-height: 52px;
    padding: 0 30px;
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.nav-cta:hover {
    background: rgba(201, 165, 111, 0.1);
    color: var(--gold);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(201, 165, 111, 0.35);
    border-radius: 3px;
    overflow: hidden;
}

.lang-switch span {
    padding: 5px 10px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.lang-switch span.active {
    background: var(--gold);
    color: var(--ink);
}

.lang-switch span:hover:not(.active) {
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: rgba(201, 165, 111, 0.12);
    color: var(--gold);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 165, 111, 0.4);
    background: transparent;
    color: var(--gold);
    font-size: 0;
}

.menu-toggle::before {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
    transform: translateY(-7px);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    visibility: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 18%, rgba(201, 165, 111, 0.16), transparent 26rem),
        linear-gradient(180deg, #07111b 0%, #0a1724 100%);
    padding: 88px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.35s ease, visibility 0.35s ease;
}

.mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-menu a {
    display: block;
    border-bottom: 1px solid rgba(201, 165, 111, 0.18);
    padding: 18px 0;
    color: #f2f4f8;
    font-family: var(--serif);
    font-size: 23px;
    text-align: center;
    letter-spacing: 0.1em;
}

.mobile-menu a[aria-current="page"] {
    color: var(--gold);
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 165, 111, 0.42);
    background: transparent;
    color: var(--gold);
    font-size: 28px;
}

.container {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding-left: var(--page-x);
    padding-right: var(--page-x);
}

.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
}

.label {
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.divider {
    width: 100%;
    height: 1px;
    background: rgba(201, 165, 111, 0.3);
}

.page-main {
    min-height: 60vh;
}

.hero {
    position: relative;
    min-height: 870px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    opacity: 0.78;
    transform: translateY(var(--parallax-y, 0px));
    will-change: transform;
}

@supports (transform: translateY(1px)) {
    .hero-media {
        height: 125%;
        top: -12.5%;
    }
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 17, 27, 0.96) 0%, rgba(7, 17, 27, 0.82) 46%, rgba(7, 17, 27, 0.42) 100%),
        linear-gradient(180deg, rgba(7, 17, 27, 0.18), rgba(7, 17, 27, 0.68)),
        radial-gradient(circle at 70% 24%, rgba(201, 165, 111, 0.2), transparent 32rem);
}

@keyframes heroBreath {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.055) translate3d(-10px, -4px, 0);
    }
}

body > main:not(.page-main) > .hero {
    min-height: 500px;
    display: block;
    padding: 112px 24px 64px;
}

body > main:not(.page-main) > .hero .hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 28px;
}

body > main:not(.page-main) > .hero h1 {
    max-width: 900px;
    margin-top: 24px;
    font-size: clamp(48px, 4.6vw, 60px);
    line-height: 1.12;
}

body > main:not(.page-main) > .hero p {
    max-width: 720px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.85;
}

.hero .container,
.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-copy {
    grid-column: span 8;
}

.hero-copy > h1:first-child {
    margin-top: 0;
}

.hero h1 {
    margin-top: 24px;
    color: #fff;
    font-size: clamp(52px, 5vw, 72px);
    line-height: 1.12;
}

.hero p {
    max-width: 760px;
    margin-top: 32px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
}

.home-film-slot {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    margin-top: 64px;
    border: 1px solid rgba(201, 165, 111, 0.34);
    background: #07111b;
}

.home-film-slot img,
.home-film-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-film-slot img {
    filter: saturate(0.82) contrast(1.06) brightness(0.68);
}

.home-film-video {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #07111b;
}

.home-film-video[hidden] {
    display: none;
}

.home-film-slot::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 17, 27, 0.76), rgba(7, 17, 27, 0.18)),
        radial-gradient(circle at 86% 12%, rgba(201, 165, 111, 0.18), transparent 18rem);
}

.home-film-overlay {
    position: absolute;
    inset: auto 28px 26px;
    z-index: 1;
    color: #fff;
}

.home-film-overlay[hidden] {
    display: none;
}

.home-film-overlay span {
    display: block;
    color: rgba(234, 217, 189, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.home-film-overlay strong {
    display: block;
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.02em;
}

.home-film-overlay small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.facts {
    border-bottom: 1px solid rgba(197, 198, 204, 0.42);
    background: var(--paper);
    padding: 88px 0;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 48px;
}

.facts strong {
    display: block;
    margin-top: 10px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
}

.home-insights {
    background: var(--paper);
    border-top: 1px solid rgba(201, 165, 111, 0.22);
}

.insights-heading {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.2fr) auto;
    gap: 48px;
    align-items: end;
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    padding-bottom: 40px;
}

.insights-heading .section-title {
    margin-top: 14px;
}

.insights-heading p {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.section-link,
.read-more {
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.section-link::after,
.read-more::after {
    content: " ->";
    letter-spacing: 0.08em;
}

.category-entry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid rgba(201, 165, 111, 0.34);
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    counter-reset: category-entry;
}

.grid-12 > .category-entry-grid {
    grid-column: 1 / -1;
}

.category-entry-grid a {
    display: grid;
    grid-template-columns: 72px minmax(140px, 0.34fr) minmax(0, 1fr) 28px;
    gap: 24px;
    align-items: center;
    min-height: 76px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    padding: 18px 0;
    transition: color 0.22s ease, padding-left 0.22s ease;
}

.category-entry-grid a:hover {
    padding-left: 10px;
}

.category-entry-grid a:last-child {
    border-bottom: 0;
}

.category-entry-grid a::before {
    counter-increment: category-entry;
    content: counter(category-entry, decimal-leading-zero);
    color: rgba(118, 89, 43, 0.42);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
}

.category-entry-grid a::after {
    content: "->";
    justify-self: end;
    color: rgba(118, 89, 43, 0.58);
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 0.08em;
}

.category-entry-grid strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.28;
}

.category-entry-grid small {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.page-head .category-entry-grid a {
    background: transparent;
}

.page-head .category-entry-grid a:hover {
    background: transparent;
}

.home-insights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
    gap: 56px;
    margin-top: 52px;
}

.insight-feature-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1fr);
    gap: 38px;
    align-items: stretch;
}

.insight-visual {
    min-height: 320px;
    overflow: hidden;
    background: var(--ink);
}

.insight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.insight-feature-card:hover .insight-visual img {
    transform: scale(1.035);
}

.insight-feature-copy {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(201, 165, 111, 0.34);
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    padding: 32px 0;
}

.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.insight-meta time {
    color: rgba(68, 71, 75, 0.78);
}

.insight-feature-copy h3,
.insight-side-item h3 {
    color: var(--text);
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.42;
    transition: color 0.25s ease;
}

.insight-feature-copy h3 {
    margin-top: 24px;
    font-size: 28px;
}

.insight-feature-copy p,
.insight-side-item p {
    color: var(--muted);
    line-height: 1.8;
}

.insight-feature-copy p {
    margin-top: 20px;
    font-size: 16px;
}

.read-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 28px;
}

.insight-side-list {
    border-top: 1px solid rgba(201, 165, 111, 0.34);
}

.insight-side-item {
    display: block;
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    padding: 32px 0;
}

.insight-side-item h3 {
    margin-top: 18px;
    font-size: 24px;
}

.insight-side-item p {
    margin-top: 14px;
    font-size: 15px;
}

.insight-feature-card:hover h3,
.insight-side-item:hover h3 {
    color: var(--gold-deep);
}

.stitch-export-news {
    background: #fcf9f5;
    padding-top: 76px;
}

.stitch-news-head {
    margin-bottom: 64px;
}

.stitch-news-title-row {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 18px;
}

.stitch-news-title-row h2 {
    color: #1a1a1b;
    font-size: 48px;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.stitch-news-title-row span {
    padding-bottom: 8px;
    color: #76592b;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    line-height: 1;
}

.stitch-title-line {
    width: 96px;
    height: 1px;
    background: #c9a56f;
}

.stitch-news-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
}

.stitch-news-feature {
    grid-column: span 7;
}

.stitch-feature-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink);
}

.stitch-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) saturate(0.45) contrast(1.12) brightness(0.78);
    transition: transform 0.7s ease;
}

.stitch-news-feature:hover .stitch-feature-media img {
    transform: scale(1.045);
}

.stitch-feature-copy {
    max-width: 760px;
    padding-top: 32px;
    padding-right: 48px;
}

.stitch-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    color: #76592b;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.stitch-news-meta span {
    border: 1px solid rgba(201, 165, 111, 0.32);
    padding: 6px 10px;
}

.stitch-news-meta time {
    color: rgba(68, 71, 75, 0.62);
}

.stitch-feature-copy h3,
.stitch-side-news h3 {
    color: #1a1a1b;
    font-family: var(--serif);
    font-weight: 600;
    transition: color 0.25s ease;
}

.stitch-feature-copy h3 {
    margin-top: 22px;
    font-size: 32px;
    line-height: 1.34;
}

.stitch-feature-copy p,
.stitch-side-news p {
    color: rgba(68, 71, 75, 0.9);
    line-height: 1.8;
}

.stitch-feature-copy p {
    margin-top: 18px;
    font-size: 16px;
}

.stitch-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    color: #76592b;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: gap 0.25s ease;
}

.stitch-read-link::after {
    content: "->";
}

.stitch-read-link:hover {
    gap: 16px;
}

.stitch-news-aside {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stitch-side-news {
    border-top: 1px solid rgba(201, 165, 111, 0.36);
    padding-top: 32px;
}

.stitch-side-news + .stitch-side-news {
    margin-top: 48px;
}

.stitch-side-news h3 {
    margin-top: 18px;
    font-size: 24px;
    line-height: 1.42;
}

.stitch-side-news p {
    margin-top: 14px;
    font-size: 15px;
}

.stitch-news-feature:hover h3,
.stitch-side-news:hover h3 {
    color: #76592b;
}

.stitch-view-all {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 52px;
    color: #1a1a1b;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.stitch-view-all span {
    position: relative;
    width: 52px;
    height: 1px;
    overflow: hidden;
    background: #c9a56f;
}

.stitch-view-all span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #1a1a1b;
    transform: translateX(-100%);
    transition: transform 0.45s ease;
}

.stitch-view-all:hover span::after {
    transform: translateX(0);
}

.section {
    padding: var(--section) 0;
}

.section-low {
    background: var(--paper-low);
}

.dark-section {
    background: var(--ink);
    color: #fff;
}

.section-title {
    font-size: 48px;
    line-height: 1.12;
}

.section-kicker {
    margin-bottom: 18px;
}

.section-intro {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.practice-list {
    grid-column: 6 / span 7;
}

.practice-intro {
    grid-column: span 4;
}

.practice-row {
    display: grid;
    grid-template-columns: 84px minmax(180px, 4fr) minmax(0, 6fr);
    gap: 32px;
    align-items: start;
    border-top: 1px solid rgba(201, 165, 111, 0.32);
    padding: 56px 32px;
    margin: 0 -32px;
    transition: background 0.35s ease;
}

.practice-row:hover {
    background: rgba(201, 165, 111, 0.06);
}

.practice-no {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1;
    opacity: 0.52;
}

.practice-row h3 {
    font-size: 24px;
    line-height: 1.3;
}

.practice-row small {
    display: block;
    margin-top: 10px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.practice-row p {
    color: var(--muted);
    font-size: 16px;
}

.practice-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(7, 17, 27, 0.98), rgba(8, 21, 34, 0.95)),
        radial-gradient(circle at 86% 18%, rgba(201, 165, 111, 0.2), transparent 28rem);
    color: #fff;
    padding: 104px 0 96px;
}

.practice-hero::after {
    content: "PRACTICES";
    position: absolute;
    right: -18px;
    bottom: -16px;
    color: rgba(255, 255, 255, 0.035);
    font-family: var(--serif);
    font-size: clamp(80px, 12vw, 180px);
    letter-spacing: 0.12em;
    pointer-events: none;
}

.practice-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
    gap: 72px;
    align-items: center;
}

.practice-hero-copy h1 {
    margin-top: 18px;
    color: #fff;
    font-size: clamp(44px, 4.4vw, 68px);
    line-height: 1.08;
}

.practice-hero-copy p {
    max-width: 720px;
    margin-top: 28px;
    color: rgba(226, 232, 240, 0.82);
    font-size: 18px;
    line-height: 1.9;
}

.practice-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    margin-top: 42px;
}

.practice-hero .contact-link {
    color: var(--gold);
}

.practice-quick-nav {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(201, 165, 111, 0.36);
    border-bottom: 1px solid rgba(201, 165, 111, 0.36);
}

.practice-quick-nav a,
.practice-quick-nav article {
    display: grid;
    grid-template-columns: 58px minmax(150px, 0.42fr) minmax(0, 1fr) 24px;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    padding: 15px 0;
    transition: padding-left 0.25s ease, color 0.25s ease;
}

.practice-quick-nav a:hover,
.practice-quick-nav article:hover {
    padding-left: 10px;
}

.practice-quick-nav a:last-child,
.practice-quick-nav article:last-child {
    border-bottom: 0;
}

.practice-quick-nav a::after,
.practice-quick-nav article::after {
    content: "->";
    justify-self: end;
    color: rgba(201, 165, 111, 0.64);
    font-family: var(--serif);
    font-size: 14px;
    letter-spacing: 0.08em;
}

.practice-quick-nav span {
    color: rgba(201, 165, 111, 0.54);
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1;
}

.practice-quick-nav strong {
    color: #fff;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.25;
}

.practice-quick-nav small {
    color: rgba(226, 232, 240, 0.62);
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.practice-overview {
    background:
        linear-gradient(180deg, rgba(252, 249, 245, 0.98), rgba(248, 243, 235, 0.96)),
        radial-gradient(circle at 8% 12%, rgba(201, 165, 111, 0.14), transparent 26rem);
}

.practice-section-head {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
    gap: 72px;
    align-items: end;
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    padding-bottom: 36px;
    margin-bottom: 44px;
}

.practice-section-head h2 {
    margin-top: 12px;
    color: var(--ink);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.08;
}

.practice-section-head p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.85;
}

.practice-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.practice-service-card {
    position: relative;
    min-height: 390px;
    border: 1px solid rgba(201, 165, 111, 0.32);
    background: rgba(255, 255, 255, 0.58);
    padding: 34px;
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.practice-service-card:hover {
    border-color: rgba(118, 89, 43, 0.55);
    background: rgba(255, 255, 255, 0.78);
    transform: translateY(-4px);
}

.practice-card-no {
    color: rgba(118, 89, 43, 0.42);
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
}

.practice-service-card h3 {
    margin-top: 24px;
    color: var(--ink);
    font-size: 27px;
    line-height: 1.24;
}

.practice-service-card p {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.practice-service-card ul {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.practice-service-card li {
    position: relative;
    color: rgba(29, 28, 23, 0.82);
    font-size: 14px;
    line-height: 1.65;
    padding-left: 18px;
}

.practice-service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    background: var(--gold);
}

.practice-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
}

.practice-service-card a::after {
    content: "->";
    transition: transform 0.2s ease;
}

.practice-service-card:hover a::after {
    transform: translateX(5px);
}

.practice-method-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1fr);
    gap: 80px;
    align-items: start;
}

.practice-method-copy {
    position: sticky;
    top: 140px;
}

.practice-method-copy h2 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(36px, 3.4vw, 54px);
    line-height: 1.1;
}

.practice-method-copy p {
    margin-top: 24px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.practice-method-steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(201, 165, 111, 0.34);
}

.practice-method-steps article {
    display: grid;
    grid-template-columns: 84px minmax(140px, 0.35fr) minmax(0, 0.65fr);
    gap: 28px;
    align-items: start;
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    padding: 34px 0;
}

.practice-method-steps span {
    color: rgba(118, 89, 43, 0.46);
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1;
}

.practice-method-steps h3 {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
}

.practice-method-steps p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.practice-scenario {
    background: var(--ink);
    color: #fff;
}

.practice-scenario-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.68fr) minmax(440px, 1fr);
    gap: 80px;
    align-items: center;
}

.practice-scenario h2 {
    margin-top: 14px;
    color: #fff;
    font-size: clamp(36px, 3.6vw, 56px);
    line-height: 1.1;
}

.practice-scenario p {
    color: rgba(226, 232, 240, 0.82);
    font-size: 18px;
    line-height: 1.9;
}

.practice-scenario-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    margin-top: 36px;
}

.practice-scenario .contact-link {
    color: var(--gold);
}

.stitch-practices {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(252, 249, 245, 0.94), rgba(248, 243, 235, 0.98)),
        radial-gradient(circle at 14% 18%, rgba(201, 165, 111, 0.13), transparent 28rem);
    border-top: 1px solid rgba(201, 165, 111, 0.2);
}

.stitch-practices::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(201, 165, 111, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 165, 111, 0.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.stitch-practices .container {
    position: relative;
    z-index: 1;
}

.practice-showcase-head {
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(420px, 0.9fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 56px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.36);
}

.practice-showcase-head h2 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.05;
}

.practice-showcase-head p {
    color: rgba(68, 71, 75, 0.86);
    font-size: 18px;
    line-height: 1.9;
}

.practice-showcase-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.32fr);
    gap: 32px;
    align-items: stretch;
}

.practice-spotlight {
    position: relative;
    display: flex;
    min-height: 480px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 17, 27, 0.08), rgba(7, 17, 27, 0.86)),
        radial-gradient(circle at 16% 18%, rgba(201, 165, 111, 0.3), transparent 24rem),
        var(--ink);
    color: #fff;
    padding: 52px;
    isolation: isolate;
}

.practice-spotlight::before {
    content: "";
    position: absolute;
    inset: 28px;
    z-index: -1;
    border: 1px solid rgba(201, 165, 111, 0.26);
    transition: inset 0.35s ease, border-color 0.35s ease;
}

.practice-spotlight::after {
    content: "ZEHENG";
    position: absolute;
    right: -18px;
    top: 64px;
    z-index: -1;
    color: rgba(255, 255, 255, 0.045);
    font-family: var(--serif);
    font-size: 104px;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
}

.practice-spotlight:hover::before {
    inset: 20px;
    border-color: rgba(201, 165, 111, 0.5);
}

.practice-tag {
    position: absolute;
    left: 52px;
    top: 52px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.practice-index {
    color: rgba(201, 165, 111, 0.38);
    font-family: var(--serif);
    font-size: 80px;
    line-height: 1;
}

.practice-spotlight h3 {
    margin-top: 20px;
    color: #fff;
    font-size: 42px;
    line-height: 1.12;
}

.practice-spotlight p {
    max-width: 500px;
    margin-top: 24px;
    color: rgba(241, 245, 249, 0.82);
    font-size: 17px;
    line-height: 1.85;
}

.practice-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    margin-top: 42px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition: gap 0.25s ease;
}

.practice-link::after {
    content: "->";
}

.practice-spotlight:hover .practice-link {
    gap: 18px;
}

.practice-compact-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(201, 165, 111, 0.34);
    border-left: 1px solid rgba(201, 165, 111, 0.34);
}

.practice-compact {
    position: relative;
    display: grid;
    min-height: 164px;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 24px;
    align-content: start;
    border-right: 1px solid rgba(201, 165, 111, 0.34);
    border-bottom: 1px solid rgba(201, 165, 111, 0.34);
    background: rgba(255, 255, 255, 0.42);
    padding: 30px 34px;
    transition: background 0.28s ease, transform 0.28s ease;
}

.practice-compact:nth-child(5) {
    grid-column: span 2;
    min-height: 138px;
}

.practice-compact:hover {
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-3px);
}

.practice-compact > span {
    color: rgba(118, 89, 43, 0.5);
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1;
}

.practice-compact h3 {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
}

.practice-compact p {
    margin-top: 16px;
    color: rgba(68, 71, 75, 0.84);
    font-size: 15px;
    line-height: 1.75;
}

.practice-showcase-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 44px;
}

.practice-minimal {
    min-height: 620px;
    display: flex;
    align-items: center;
}

.practice-minimal-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1fr);
    gap: clamp(72px, 9vw, 160px);
    align-items: start;
}

.practice-minimal-copy {
    max-width: 430px;
}

.practice-minimal-copy h2 {
    color: var(--ink);
    font-size: clamp(36px, 3.4vw, 52px);
    line-height: 1.08;
}

.practice-minimal-copy p {
    margin-top: 34px;
    color: rgba(29, 28, 23, 0.74);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.02em;
}

.practice-minimal-list {
    border-top: 1px solid rgba(201, 165, 111, 0.18);
}

.practice-minimal-list a,
.practice-minimal-list article {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    min-height: 82px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.2);
    color: var(--ink);
    transition: padding-left 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.practice-minimal-list a:hover,
.practice-minimal-list article:hover {
    padding-left: 12px;
    border-bottom-color: rgba(118, 89, 43, 0.46);
    color: var(--gold-deep);
}

.practice-minimal-list span {
    color: rgba(118, 89, 43, 0.72);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.practice-minimal-list h3 {
    font-size: 19px;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.case-feature {
    background: var(--paper-low);
}

.case-card-dark {
    position: relative;
    grid-column: span 6;
    background: var(--ink);
    color: #fff;
    padding: 64px;
}

.case-card-dark::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--gold);
}

.case-card-dark h2 {
    margin-top: 24px;
    color: #fff;
    font-size: 42px;
    line-height: 1.18;
}

.case-card-dark p,
.case-card-dark li {
    color: #cbd5e1;
}

.case-copy {
    grid-column: 8 / span 5;
    align-self: center;
}

.case-copy p {
    color: var(--muted);
    font-size: 18px;
}

.case-minimal {
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #fcf9f5;
    border-top: 1px solid rgba(201, 165, 111, 0.16);
}

.case-minimal-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1fr);
    gap: clamp(72px, 9vw, 160px);
    align-items: start;
}

.case-minimal-copy {
    max-width: 430px;
}

.case-minimal-copy h2 {
    color: var(--ink);
    font-size: clamp(36px, 3.4vw, 52px);
    line-height: 1.08;
}

.case-minimal-copy p {
    margin-top: 34px;
    color: rgba(29, 28, 23, 0.74);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.02em;
}

.case-atmosphere,
.contact-atmosphere {
    margin: 42px 0 0;
    overflow: hidden;
}

.case-atmosphere {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(201, 165, 111, 0.22);
    background: var(--paper-low);
}

.case-atmosphere img,
.contact-atmosphere img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.case-atmosphere img {
    filter: grayscale(0.28) saturate(0.72) contrast(1.02) brightness(0.86);
    object-position: center;
}

.contact-atmosphere img {
    filter: grayscale(1) contrast(1.12) brightness(0.72);
    object-position: center;
}

.case-atmosphere:hover img,
.contact-atmosphere:hover img {
    transform: scale(1.035);
}

.case-minimal-list {
    border-top: 1px solid rgba(201, 165, 111, 0.2);
}

.case-minimal-list a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    padding: 28px 0 30px;
    color: var(--ink);
    transition: padding-left 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.case-minimal-list a:hover {
    padding-left: 12px;
    border-bottom-color: rgba(118, 89, 43, 0.46);
    color: var(--gold-deep);
}

.case-minimal-list span {
    padding-top: 4px;
    color: rgba(118, 89, 43, 0.72);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.case-minimal-list h3 {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.case-minimal-list p {
    margin-top: 12px;
    color: rgba(68, 71, 75, 0.84);
    font-size: 15px;
    line-height: 1.8;
}

.home-contact {
    background: var(--paper);
    border-top: 1px solid rgba(201, 165, 111, 0.18);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1fr);
    gap: clamp(72px, 9vw, 160px);
    align-items: start;
}

.home-contact-copy {
    max-width: 430px;
}

.home-contact-copy h2 {
    margin-top: 16px;
    color: var(--ink);
    font-size: clamp(36px, 3.4vw, 52px);
    line-height: 1.08;
}

.home-contact-copy p {
    margin-top: 30px;
    color: rgba(29, 28, 23, 0.74);
    font-family: var(--serif);
    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.02em;
}

.contact-atmosphere {
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(201, 165, 111, 0.22);
    background: var(--ink);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    transition: gap 0.25s ease;
}

.contact-link::after {
    content: "->";
}

.contact-link:hover {
    gap: 20px;
}

.home-contact-list {
    border-top: 1px solid rgba(201, 165, 111, 0.2);
}

.home-contact-list div {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    padding: 28px 0;
}

.home-contact-list span {
    color: rgba(118, 89, 43, 0.72);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.home-contact-list strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.55;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.split-page-head {
    padding: 96px 0 var(--section);
}

.split-page-head .copy {
    grid-column: span 7;
}

.split-page-head .media {
    grid-column: 8 / span 5;
    height: 500px;
    background: var(--paper-mid);
    overflow: hidden;
}

.split-page-head .media img,
.visual-block img,
.news-thumb img,
.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-page-head .media img,
.visual-block img,
.contact-map img {
    filter: saturate(0.68) contrast(1.08) brightness(0.86);
}

.split-page-head h1 {
    margin-top: 24px;
    font-size: 48px;
    line-height: 1.12;
}

.split-page-head p {
    margin-top: 40px;
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.value-list {
    grid-column: 6 / span 7;
    display: grid;
    gap: 88px;
}

.sticky-title {
    grid-column: span 4;
    position: sticky;
    top: 136px;
    align-self: start;
}

.value-item .value-head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
}

.value-item .num {
    color: rgba(121, 92, 45, 0.22);
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 700;
}

.value-item h3 {
    font-size: 24px;
}

.value-item p {
    color: var(--muted);
    font-size: 18px;
}

.visual-block {
    grid-column: span 6;
    height: 560px;
    overflow: hidden;
}

.side-copy {
    grid-column: 8 / span 5;
    align-self: center;
    border-left: 4px solid var(--gold);
    padding-left: 32px;
}

.side-copy h2 {
    font-size: 32px;
    line-height: 1.28;
}

.side-copy p {
    margin-top: 28px;
    color: var(--muted);
}

.page-head {
    padding: 96px 0 72px;
}

.page-head h1 {
    margin-top: 16px;
    border-left: 4px solid var(--gold);
    padding-left: 32px;
    font-size: 48px;
    line-height: 1.12;
}

.page-head p {
    margin-top: 28px;
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}

.page-head .right-note {
    grid-column: 9 / span 4;
    align-self: end;
    color: var(--outline);
    font-family: var(--serif);
    font-size: 16px;
    font-style: italic;
    text-align: right;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 64px;
    border-bottom: 1px solid rgba(117, 119, 124, 0.32);
}

.tabs a,
.tabs button {
    position: relative;
    border: 0;
    background: transparent;
    padding: 0 0 22px;
    color: #75777c;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}

.tabs a.active,
.tabs button.active,
.tabs a:hover,
.tabs button:hover {
    color: #000;
}

.tabs .active::after,
.tabs button.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #000;
}

/* ── Team Filter Bar ── */
.team-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 24px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.18);
}

.team-filter-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.team-filter-label {
    flex-shrink: 0;
    min-width: 80px;
    padding-top: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.team-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(201, 165, 111, 0.24);
    background: rgba(255, 255, 255, 0.52);
    padding: 8px 16px;
    color: var(--muted);
    font: 700 13px / 1.4 var(--sans);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    border-radius: 24px;
}

.team-filter-chip em {
    font-style: normal;
    font-size: 11px;
    color: rgba(118, 89, 43, 0.65);
    font-weight: 600;
}

.team-filter-chip:hover {
    border-color: rgba(201, 165, 111, 0.52);
    transform: translateY(-1px);
}

.team-filter-chip.is-active {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(201, 165, 111, 0.16), rgba(201, 165, 111, 0.06));
    color: var(--ink);
}

.team-filter-chip.is-active em {
    color: var(--gold-deep);
}

/* ── Team Search ── */
.team-search-row {
    margin-top: 28px;
    margin-bottom: 12px;
}

.team-search {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    border: 1px solid rgba(201, 165, 111, 0.28);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.62);
    padding: 0 18px;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.team-search:focus-within {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 165, 111, 0.12);
}

.team-search-icon {
    flex-shrink: 0;
    color: rgba(118, 89, 43, 0.48);
}

.team-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 14px 0;
    color: var(--ink);
    font: 600 14px / 1 var(--sans);
    outline: none;
}

.team-search input::placeholder {
    color: rgba(118, 89, 43, 0.44);
    font-weight: 400;
}

.team-search-hint {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.team-empty {
    padding: 80px 0;
    text-align: center;
    color: var(--muted);
    font-size: 16px;
}

/* ── Keep old refs for backward compat ── */
.lawyer-search-empty { display: none; }
.lawyer-search-empty.is-visible { display: block; }
.is-filter-hidden { display: none !important; }

/* ── Team Groups ── */
.team-groups {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 20px 0 clamp(88px, 9vw, 128px);
}

.team-group {
    scroll-margin-top: 100px;
}

.team-group-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
}

.team-group-head .label {
    margin-bottom: 0;
}

.team-group-head h2 {
    font-size: 28px;
    color: var(--ink);
}

.team-group-count {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-left: auto;
}

/* ── Team Card Grid ── */
.team-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.team-card-grid--mini {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* ── Team Card ── */
.team-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(201, 165, 111, 0.2);
    background: rgba(255, 255, 255, 0.52);
    position: relative;
    overflow: hidden;
    transition: border-color 0.28s ease, transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
    text-decoration: none;
    color: inherit;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 165, 111, 0.54);
    background: #fffaf2;
    box-shadow: 0 12px 32px rgba(7, 17, 27, 0.08), 0 4px 12px rgba(201, 165, 111, 0.12);
}

.team-card-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.9), transparent 34%),
        linear-gradient(180deg, #dce5ee 0%, #c5d0dc 58%, #aeb9c7 100%);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(0.96) contrast(1.02);
    opacity: 0.92;
    transition: filter 0.5s ease, opacity 0.5s ease, transform 0.7s ease;
}

.team-card:hover .team-card-photo img {
    filter: grayscale(0) saturate(0.98) contrast(1.03);
    opacity: 1;
    transform: scale(1.045);
}

.team-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    flex: 1;
}

.team-card-body h3 {
    color: var(--ink);
    font-size: 24px;
    line-height: 1.25;
    margin: 0;
}

.team-card-role {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0;
}

.team-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.team-card-tags span {
    border: 1px solid rgba(201, 165, 111, 0.22);
    background: rgba(201, 165, 111, 0.06);
    padding: 3px 10px;
    color: var(--gold-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.team-card-summary {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-card-arrow {
    position: absolute;
    bottom: 22px;
    right: 22px;
    color: var(--gold);
    font-size: 18px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.team-card:hover .team-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Team Related Section ── */
.lawyer-related-section {
    padding: 64px 0 clamp(88px, 9vw, 128px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(249, 244, 235, 0.72)),
        var(--paper);
}

.lawyer-related-section h2 {
    margin-top: 10px;
}

/* ── Backward compat: keep old directory class stubs (hidden) ── */
.team-feature {
    padding: 64px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 32px;
}

.section-heading .line {
    flex: 1;
    height: 1px;
    background: var(--paper-mid);
}

.partner-lead {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--gutter);
}

.lead-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--paper-mid);
}

.lead-photo img,
.portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s ease;
}

.lead-photo:hover img,
.portrait-card:hover img {
    transform: scale(1.045);
}

.photo-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 32px 28px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
    color: #fff;
}

.photo-caption .label {
    color: var(--gold);
}

.lead-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 2px solid var(--gold);
    padding-left: 32px;
}

.lead-profile h3 {
    font-size: 28px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
}

.tag {
    border: 1px solid var(--outline);
    padding: 6px 12px;
    color: var(--muted);
    font-size: 12px;
}

.lead-profile p {
    color: var(--muted);
    font-size: 17px;
}

.profile-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    border: 1px solid rgba(201, 165, 111, 0.18);
    background: var(--paper);
    padding: 32px;
}

.profile-card .portrait {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--paper-mid);
}

.profile-card h3 {
    margin-top: 18px;
    font-size: 26px;
}

.profile-card .role {
    margin-top: 8px;
    color: var(--gold-deep);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-card .bio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.bio-block {
    border-top: 1px solid rgba(7, 17, 27, 0.1);
    padding-top: 18px;
}

.bio-block.wide {
    grid-column: 1 / -1;
}

.bio-block p,
.bio-block li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.bio-block ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.portrait-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.portrait-card {
    border: 1px solid rgba(201, 165, 111, 0.16);
    background: var(--paper);
    padding: 20px;
}

.portrait-card .portrait {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--paper-mid);
}

.portrait-card h4 {
    margin-top: 20px;
    font-size: 22px;
}

.portrait-card .role {
    margin-top: 8px;
    color: var(--gold-deep);
    font-size: 12px;
}

.portrait-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

/* Team page refinement: keep founders unchanged, distinguish partner tier and normalize photos. */
.partner-tier-section {
    background:
        linear-gradient(180deg, rgba(252, 250, 247, 0.98) 0%, rgba(247, 244, 240, 0.9) 100%);
}

.partner-tier-grid {
    display: grid;
    gap: 28px;
}

.partner-tier-card {
    position: relative;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    overflow: hidden;
    border-color: rgba(201, 165, 111, 0.34);
    background:
        linear-gradient(90deg, rgba(7, 17, 27, 0.035), transparent 38%),
        var(--paper);
}

.partner-tier-card::before {
    content: "PARTNER";
    position: absolute;
    top: 28px;
    right: 28px;
    color: rgba(201, 165, 111, 0.38);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.partner-tier-card .portrait,
.lawyer-directory .portrait-card .portrait {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(201, 165, 111, 0.18);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.86), transparent 34%),
        linear-gradient(180deg, #dfe7ee 0%, #c9d3de 56%, #b8c2cf 100%);
}

.partner-tier-card .portrait::before,
.lawyer-directory .portrait-card .portrait::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.22) 48% 52%, transparent 52%),
        radial-gradient(circle at 50% 108%, rgba(7, 17, 27, 0.2), transparent 30%);
}

.partner-tier-card .portrait img,
.lawyer-directory .portrait-card .portrait img {
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(0.94) contrast(1.02);
}

.partner-tier-card h3 {
    font-size: 30px;
}

.partner-tier-card .role {
    display: inline-flex;
    width: fit-content;
    border-left: 3px solid var(--gold);
    background: rgba(201, 165, 111, 0.1);
    padding: 6px 10px;
    color: var(--ink);
    letter-spacing: 0.06em;
}

.partner-tier-card .bio-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
}

.lawyer-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.lawyer-directory .portrait-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    min-height: 190px;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent),
        var(--paper);
    transition: border-color 0.22s ease, transform 0.22s ease;
}

.lawyer-directory .portrait-card:hover {
    border-color: rgba(201, 165, 111, 0.42);
    transform: translateY(-3px);
}

.lawyer-directory .portrait-card .portrait {
    width: 112px;
    aspect-ratio: 4 / 5;
}

.lawyer-directory .portrait-card h4 {
    margin-top: 0;
    font-size: 22px;
}

.lawyer-directory .portrait-card .role {
    width: fit-content;
    border: 1px solid rgba(201, 165, 111, 0.22);
    padding: 3px 8px;
    color: var(--gold-deep);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.lawyer-directory .portrait-card p:not(.role) {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.75;
}

.lawyer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 16px;
    color: var(--gold-deep);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.lawyer-tags span {
    display: inline;
}

.lawyer-tags span + span::before {
    content: " / ";
    color: rgba(118, 89, 43, 0.52);
    padding: 0 8px;
}

.team-index-page .page-head {
    padding-bottom: 56px;
}

.team-index-section {
    padding: clamp(64px, 7vw, 104px) 0;
}
/* Keep lawyer-detail-photo for detail page */
.lawyer-detail-photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(201, 165, 111, 0.2);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.92), transparent 32%),
        linear-gradient(180deg, #dce5ee 0%, #c5d0dc 58%, #aeb9c7 100%);
}
.lawyer-detail-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.24) 48% 52%, transparent 52%),
        radial-gradient(circle at 50% 110%, rgba(7, 17, 27, 0.22), transparent 30%);
}
.lawyer-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(0.96) contrast(1.02);
    transition: transform 0.7s ease;
}
.lawyer-detail-photo:hover img {
    transform: scale(1.035);
}

.section-intro {
    max-width: 860px;
    margin: -24px 0 44px;
    color: var(--muted);
    font-size: 16px;
}

.detail-topline {
    padding: 38px 0 0;
    background:
        radial-gradient(circle at 84% 10%, rgba(201, 165, 111, 0.12), transparent 30rem),
        var(--paper);
}

.detail-topline .container {
    display: flex;
    justify-content: flex-start;
}

.lawyer-detail-hero {
    padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 120px);
    background:
        radial-gradient(circle at 84% 10%, rgba(201, 165, 111, 0.12), transparent 30rem),
        var(--paper);
}

.lawyer-detail-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.55fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.lawyer-detail-photo {
    aspect-ratio: 3 / 4;
}

.detail-back {
    display: inline-flex;
    width: fit-content;
    border-bottom: 1px solid rgba(7, 17, 27, 0.36);
    padding-bottom: 6px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.lawyer-detail-copy h1 {
    margin-top: 18px;
    color: var(--ink);
    font-size: clamp(54px, 6vw, 88px);
    line-height: 1;
}

.detail-role {
    margin-top: 20px;
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 24px;
}

.detail-summary {
    margin-top: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.95;
}

.lawyer-detail-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.lawyer-detail-body .side-panel h2 {
    margin-top: 14px;
    font-size: 28px;
}

.lawyer-detail-body .side-panel ul {
    margin: 24px 0 0;
    padding-left: 18px;
}

.lawyer-detail-body .side-panel li {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.about-service-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.about-service-notes span {
    border: 1px solid rgba(201, 165, 111, 0.24);
    background: rgba(255, 255, 255, 0.46);
    padding: 8px 12px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.about-method-image {
    background: var(--ink);
}

.about-method-image img {
    filter: saturate(0.74) contrast(1.08) brightness(0.9);
}

.about-capability-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
    gap: clamp(36px, 6vw, 96px);
    border-top: 1px solid rgba(201, 165, 111, 0.28);
    border-bottom: 1px solid rgba(201, 165, 111, 0.28);
    padding-top: clamp(44px, 6vw, 72px);
    padding-bottom: clamp(44px, 6vw, 72px);
}

.about-capability-panel h2 {
    margin-top: 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.18;
}

.about-capability-panel p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.95;
}

.team-closing-section {
    padding-top: 0;
}

.team-closing {
    border-left: 4px solid var(--gold);
    background:
        radial-gradient(circle at 90% 0%, rgba(201, 165, 111, 0.12), transparent 28rem),
        rgba(255, 255, 255, 0.5);
    padding: clamp(30px, 4vw, 56px);
}

.team-closing p {
    max-width: 980px;
    margin-top: 18px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(22px, 2.2vw, 32px);
    line-height: 1.75;
}

.team-lead-section {
    padding-top: clamp(56px, 6vw, 82px);
}

.team-section-title {
    display: grid;
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
    align-items: end;
    gap: clamp(28px, 5vw, 84px);
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22);
    padding-bottom: 18px;
}

.team-section-title h2 {
    margin-top: 12px;
    color: var(--ink);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

.team-section-title p {
    max-width: 760px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ── Team responsive stubs (replaced by new card system) ── */
.lawyer-detail-section {
    padding-top: clamp(58px, 6vw, 92px);
}

.lawyer-detail-body {
    max-width: 960px;
    margin: 0 auto;
}

.lawyer-detail-aside { display: none; } {
    position: sticky;
    top: 132px;
    border-left: 4px solid var(--gold);
    padding-left: 28px;
}

.lawyer-detail-aside h2,
.detail-block h2 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.2;
}

.lawyer-detail-section .label,
.lawyer-detail-aside h2,
.detail-block h2,
.focus-list span {
    color: var(--ink);
}

.lawyer-detail-section .detail-list li,
.lawyer-detail-aside p {
    color: #394550;
}

.lawyer-detail-aside p {
    margin-top: 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 2;
}

.lawyer-detail-main {
    display: grid;
    gap: 24px;
}

.detail-block {
    border-top: 1px solid rgba(201, 165, 111, 0.28);
    padding: 30px 0 4px;
}

.detail-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.focus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 22px;
    border-top: 1px solid rgba(201, 165, 111, 0.2);
}

.focus-list span {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(201, 165, 111, 0.18);
    padding: 16px 0;
    color: var(--ink);
    font-weight: 700;
}

.focus-list em {
    color: var(--gold-deep);
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.detail-list {
    display: grid;
    gap: 14px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: detail-item;
}

.detail-list li {
    position: relative;
    border-bottom: 1px solid rgba(201, 165, 111, 0.16);
    padding: 0 0 14px 42px;
    color: var(--muted);
    line-height: 1.85;
    counter-increment: detail-item;
}

.detail-list li::before {
    content: counter(detail-item, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.honor-block {
    border: 1px solid rgba(201, 165, 111, 0.26);
    background:
        linear-gradient(135deg, rgba(201, 165, 111, 0.12), transparent 46%),
        rgba(255, 255, 255, 0.48);
    padding: 32px;
}

/* Stitch-directed page replacements: business matrix and team directory. */
.page-main .practice-hero {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(92px, 10vw, 144px) 0 clamp(88px, 9vw, 136px);
    border-bottom: 1px solid rgba(7, 17, 27, 0.14);
}

.page-main .practice-hero::after {
    content: none;
}

.practice-hero-grid {
    display: block;
}

.practice-hero-copy h1 {
    max-width: 1080px;
    color: #050505;
    font-size: clamp(52px, 6vw, 86px);
    line-height: 1.14;
    letter-spacing: -0.055em;
}

.practice-hero-copy p {
    max-width: 780px;
    color: #3f454b;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.9;
}

.practice-hero-actions,
.practice-quick-nav {
    display: none;
}

.practice-overview {
    background: var(--paper);
    padding-top: clamp(84px, 8vw, 128px);
}

.practice-section-head {
    display: block;
    max-width: 520px;
    margin-bottom: 64px;
    border-bottom: 0;
    padding-bottom: 0;
}

.practice-section-head .section-eyebrow {
    display: inline-block;
    border-bottom: 1px solid var(--gold-deep);
    padding-bottom: 10px;
    color: var(--gold-deep);
}

.practice-section-head h2 {
    margin-top: 24px;
    font-size: clamp(32px, 3.2vw, 46px);
    letter-spacing: -0.04em;
}

.practice-section-head p {
    display: none;
}

.practice-card-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
}

.practice-service-card {
    grid-column: span 4;
    min-height: 400px;
    border-color: rgba(118, 118, 126, 0.42);
    background: rgba(255, 255, 255, 0.42);
    padding: clamp(28px, 3vw, 40px);
    transition: border-color 0.24s ease, transform 0.24s ease, background 0.24s ease;
}

.practice-service-card:hover {
    border-color: rgba(7, 17, 27, 0.7);
    background: rgba(255, 255, 255, 0.72);
    transform: translateY(-3px);
}

.practice-strategy-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-column: span 4;
    background: #050505;
    color: #fff;
}

.practice-strategy-card:hover {
    background: #050505;
}

.practice-card-tag {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.practice-card-no {
    color: rgba(15, 23, 42, 0.24);
    font-family: var(--serif);
    font-size: clamp(44px, 4.4vw, 62px);
    font-weight: 500;
}

.practice-service-card h3 {
    margin-top: 56px;
    font-size: clamp(24px, 2.4vw, 32px);
    letter-spacing: -0.045em;
}

.practice-strategy-card h3 {
    margin-top: 0;
    color: #fff;
}

.practice-service-card p {
    color: #41474d;
    font-size: 16px;
    line-height: 1.85;
}

.practice-strategy-card p {
    color: rgba(226, 232, 240, 0.72);
}

.practice-service-card ul,
.practice-service-card .contact-link,
.practice-service-card a {
    display: none;
}

.practice-service-card::after {
    content: attr(data-label);
    position: absolute;
    right: 32px;
    top: 34px;
    border: 1px solid rgba(118, 89, 43, 0.52);
    padding: 6px 12px;
    color: var(--gold-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.practice-strategy-card::after {
    content: none;
}

.practice-method {
    background: var(--paper-low);
    border-top: 1px solid rgba(7, 17, 27, 0.12);
}

.practice-method-grid {
    grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
}

.practice-method-copy h2 {
    font-size: clamp(34px, 3.6vw, 54px);
}

.practice-method-steps {
    border-top-color: rgba(7, 17, 27, 0.14);
}

.practice-method-steps article {
    border-bottom-color: rgba(7, 17, 27, 0.14);
}

.practice-method-steps span {
    color: rgba(118, 89, 43, 0.36);
}

.practice-scenario {
    background: #050505;
}

.team-index-page .page-head {
    background: var(--paper);
    padding: clamp(92px, 10vw, 136px) 0 clamp(68px, 7vw, 92px);
}

.team-index-page .page-head .grid-12 {
    display: block;
}

.team-index-page .page-head .reveal {
    max-width: 860px;
}

.team-index-page .page-head .label {
    display: none;
}

.team-index-page .page-head h1 {
    max-width: 880px;
    color: #050505;
    font-size: clamp(52px, 6vw, 86px);
    line-height: 1.14;
    letter-spacing: -0.055em;
}

.team-index-page .page-head p {
    max-width: 780px;
    color: #3f454b;
    font-size: clamp(17px, 1.35vw, 20px);
    line-height: 1.9;
}

.team-index-page .divider {
    border-color: rgba(7, 17, 27, 0.14);
}
.news-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 64px;
}

.news-list {
    display: grid;
    gap: 64px;
}

.news-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 32px;
}

.news-cover-link {
    display: block;
    margin-bottom: 22px;
}

.news-cover-thumb {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(201, 165, 111, 0.14);
}

.news-date {
    width: 96px;
    text-align: center;
}

.news-date strong {
    display: block;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 40px;
    line-height: 1;
}

.news-date span {
    display: block;
    margin-top: 8px;
    color: #75777c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.news-badge {
    background: var(--ink);
    color: #cbd5e1;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.news-item h2 {
    font-size: 32px;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.news-item:hover h2 {
    color: var(--gold-deep);
}

.news-item p {
    margin-top: 18px;
    color: var(--muted);
}

.journal-divider {
    height: 1px;
    margin-top: 32px;
    background: linear-gradient(to right, var(--gold) 0%, rgba(201, 165, 111, 0.2) 100%);
}

.sidebar {
    display: grid;
    align-content: start;
    gap: 48px;
}

.side-panel {
    border: 1px solid var(--outline);
    padding: 32px;
}

.side-panel.dark {
    border-color: transparent;
    background: var(--ink);
    color: #fff;
}

.side-panel.dark p {
    color: #cbd5e1;
}

.side-panel h3 {
    margin-bottom: 24px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.side-link {
    display: block;
    border-top: 1px solid rgba(7, 17, 27, 0.1);
    padding: 18px 0;
}

.side-link:first-of-type {
    border-top: 0;
}

.side-link small {
    display: block;
    color: #75777c;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.side-link span {
    display: block;
    margin-top: 8px;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.3;
}

.contact-main {
    padding: var(--section) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 96px;
}

.contact-spotlight-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    max-width: none !important;
    background: #f7f1e8;
    border-bottom: 1px solid rgba(201, 165, 111, 0.18);
}

.contact-spotlight-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: url("assets/contact-office-photo.webp") center 58% / cover no-repeat;
    filter: saturate(0.96) contrast(1.04);
    opacity: 1;
    z-index: -2;
}

.contact-spotlight-hero::after {
    display: none;
}

.contact-spotlight-hero > .grid {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    z-index: 1;
}

/* Unified top-level navigation pages: about, practice, team, news, contact. */
.page-main > .split-page-head,
.page-main > .page-head,
.page-main > .dark-section:first-child,
.page-main > .contact-main {
    background:
        radial-gradient(circle at 90% 0%, rgba(201, 165, 111, 0.08), transparent 28rem),
        var(--paper) !important;
    border-bottom: 1px solid rgba(201, 165, 111, 0.18);
    color: var(--ink) !important;
}

.page-main > .split-page-head,
.page-main > .page-head,
.page-main > .dark-section:first-child {
    padding: 104px 0 78px !important;
}

.page-main > .contact-main {
    padding: 104px 0 var(--section) !important;
}

.page-main > .split-page-head .container,
.page-main > .page-head .container:first-child,
.page-main > .dark-section:first-child .container,
.contact-main > .container > .grid-12:first-child {
    display: block;
}

.page-main > .split-page-head .copy,
.page-main > .page-head .reveal:first-child,
.page-main > .dark-section:first-child .reveal,
.contact-main > .container > .grid-12:first-child > div {
    max-width: 900px;
}

.page-main > .split-page-head .media {
    display: none;
}

.page-main > .split-page-head .label,
.page-main > .page-head .label,
.page-main > .dark-section:first-child .label,
.contact-main > .container > .grid-12:first-child .label {
    color: var(--gold-deep);
    font-size: 12px;
    letter-spacing: 0.28em;
}

.page-main > .split-page-head h1,
.page-main > .page-head h1,
.page-main > .dark-section:first-child h1,
.contact-main > .container > .grid-12:first-child h1 {
    max-width: 980px;
    margin-top: 24px !important;
    border-left: 4px solid var(--gold);
    padding-left: 32px;
    color: var(--ink) !important;
    font-size: clamp(44px, 4vw, 58px) !important;
    line-height: 1.14 !important;
}

.page-main > .split-page-head h1 span {
    color: var(--gold-deep) !important;
}

.page-main > .split-page-head p,
.page-main > .page-head p,
.page-main > .dark-section:first-child p,
.contact-main > .container > .grid-12:first-child + .contact-grid::before {
    color: var(--muted) !important;
}

.page-main > .split-page-head p,
.page-main > .page-head p,
.page-main > .dark-section:first-child p {
    max-width: 820px !important;
    margin-top: 28px !important;
    font-size: 18px !important;
    line-height: 1.85;
}

.page-head .right-note {
    display: none;
}

.page-head .divider,
.contact-main > .container > .grid-12:first-child h1 + div {
    width: 96px !important;
    height: 1px !important;
    margin-top: 34px !important;
    background: rgba(121, 92, 45, 0.32) !important;
}

.page-head .tabs {
    margin-top: 56px;
}

.contact-main > .container > .grid-12:first-child {
    margin-bottom: 72px !important;
}

.contact-detail {
    display: grid;
    gap: 40px;
}

.contact-line {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    color: var(--gold-deep);
    font-size: 22px;
}

.contact-line strong {
    display: block;
    color: #75777c;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-line span {
    display: block;
    margin-top: 6px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.45;
}

.contact-line a {
    color: inherit;
    text-decoration: none;
}

.contact-line a:hover {
    color: var(--gold-deep);
}

.contact-direct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.contact-direct-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    border-bottom: 1px solid rgba(121, 92, 45, 0.36);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.contact-direct-actions a:hover {
    color: var(--gold-deep);
    border-color: var(--gold-deep);
}

.contact-map {
    border: 1px solid rgba(201, 165, 111, 0.16);
    background: var(--paper-mid);
    padding: 32px;
}

.contact-map .image {
    height: 220px;
    overflow: hidden;
    background: var(--paper-low);
}

/* Keep Tailwind-exported case/resource pages aligned with the main site chrome. */
#site-header.nav-scrolled {
    background: linear-gradient(180deg, #07111b 0%, #081522 100%) !important;
    border-bottom: 1px solid rgba(201, 165, 111, 0.22) !important;
    min-height: 104px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#site-header.nav-scrolled > div {
    width: min(100%, var(--container));
    max-width: none !important;
    margin: 0 auto;
    min-height: 104px !important;
    padding: 0 var(--page-x) !important;
    display: grid !important;
    grid-template-columns: minmax(270px, 1fr) auto minmax(170px, 1fr);
    align-items: center !important;
    gap: 32px;
}

#site-header.nav-scrolled a[href="index.html"] {
    color: var(--gold);
    font-family: var(--serif);
    letter-spacing: -0.04em;
}

#site-header.nav-scrolled a[href="index.html"] img {
    width: 28px !important;
    height: 46px !important;
    object-fit: contain;
}

#site-header.nav-scrolled a[href="index.html"] > div > div:first-child {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
}

#site-header.nav-scrolled a[href="index.html"] > div > div:last-child {
    margin-top: 9px;
    color: rgba(245, 240, 232, 0.62);
    font-family: var(--sans);
    font-size: 10px !important;
    font-weight: 400;
    line-height: 1 !important;
    letter-spacing: 0.3em !important;
}

#site-header.nav-scrolled nav {
    justify-self: center;
    gap: 44px !important;
    font-family: var(--serif);
}

#site-header.nav-scrolled nav a {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    letter-spacing: 0.1em !important;
}

#site-header.nav-scrolled nav a:hover {
    color: var(--gold) !important;
}

#site-header.nav-scrolled a[href="contact.html"].hidden {
    justify-self: end;
    width: 122px !important;
    min-height: 52px;
    padding: 0 30px !important;
    background: var(--gold) !important;
    color: var(--ink) !important;
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

/* Normalize submenu-template headers to the main navigation dimensions. */
.site-header .header-inner {
    width: min(100%, var(--container));
    max-width: none;
    min-height: 104px;
    margin: 0 auto;
    padding: 0 var(--page-x);
    display: grid;
    grid-template-columns: minmax(270px, 1fr) auto minmax(170px, 1fr);
    align-items: center;
    gap: 32px;
}

.site-header .brand {
    min-width: max-content;
    gap: 14px;
    color: var(--gold);
}

.site-header .brand img {
    width: 28px !important;
    height: 46px !important;
    object-fit: contain;
}

.site-header .brand-title {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.site-header .brand-sub {
    margin-top: 9px;
    color: rgba(245, 240, 232, 0.62);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.3em;
}

.site-header .header-inner .main-nav {
    justify-self: center;
    margin-left: 0;
    gap: 44px;
}

.site-header .header-inner .main-nav a {
    color: #cbd5e1;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.site-header .header-cta {
    justify-self: end;
    width: 122px;
    min-height: 52px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.editorial-tailwind-page section.bg-paper,
.editorial-tailwind-page section.bg-mist {
    background: var(--paper) !important;
}

.editorial-tailwind-page section.bg-paper > div,
.editorial-tailwind-page section.bg-mist > div,
.editorial-tailwind-page footer > div {
    width: min(100%, var(--container));
    max-width: none !important;
    padding-left: var(--page-x) !important;
    padding-right: var(--page-x) !important;
}

.editorial-tailwind-page section.bg-paper.py-20,
.editorial-tailwind-page section.bg-mist.py-16,
.editorial-tailwind-page section.bg-paper.py-16 {
    padding-top: 96px !important;
    padding-bottom: 104px !important;
}

.editorial-tailwind-page .filter-btn {
    border: 1px solid rgba(201, 165, 111, 0.24) !important;
    background: transparent !important;
    color: var(--slate) !important;
    font-family: var(--serif);
    font-size: 14px !important;
    letter-spacing: 0.08em !important;
    padding: 12px 22px !important;
}

.editorial-tailwind-page .filter-btn.active,
.editorial-tailwind-page .filter-btn:hover {
    border-color: var(--gold) !important;
    background: rgba(201, 165, 111, 0.14) !important;
    color: var(--ink) !important;
}

.cases-page .case-card {
    display: grid;
    align-content: start;
    min-height: 0;
    border: none !important;
    border-top: 0.5px solid rgba(201, 165, 111, 0.18) !important;
    background: transparent !important;
    padding: 32px 0 16px 0 !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cases-page .case-card:hover {
    transform: translateX(6px) !important;
    border-top-color: var(--gold) !important;
    box-shadow: none !important;
}

.resources-page article:hover,
.resources-page .fade-up.bg-mist:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 165, 111, 0.38) !important;
    box-shadow: none !important;
}

.cases-page .case-card h3 {
    margin-top: 22px !important;
    font-size: 24px !important;
    line-height: 1.55 !important;
}

.cases-page .case-card p {
    max-width: none;
}

.cases-page .case-card span.bg-white {
    border: 1px solid rgba(201, 165, 111, 0.18);
    background: rgba(255, 255, 255, 0.58) !important;
    color: var(--slate) !important;
    letter-spacing: 0.08em !important;
}

.cases-page .bg-coal {
    border-top: 1px solid rgba(201, 165, 111, 0.36);
    background:
        radial-gradient(circle at 82% 18%, rgba(201, 165, 111, 0.12), transparent 22rem),
        #07111b !important;
    box-shadow: none;
}

.editorial-tailwind-page a.bg-brass,
.editorial-tailwind-page a[class*="border-b"] {
    font-family: var(--serif);
    letter-spacing: 0.14em !important;
}

.resources-page .grid.lg\:grid-cols-3 > .fade-up,
.resources-page .grid.lg\:grid-cols-2 > .fade-up {
    border: 1px solid rgba(201, 165, 111, 0.16) !important;
    border-top: 3px solid var(--gold) !important;
    background: rgba(252, 250, 247, 0.72) !important;
    padding: 30px 32px !important;
}

.resources-page .divide-y {
    border-color: rgba(201, 165, 111, 0.18) !important;
    background: rgba(252, 250, 247, 0.72) !important;
}

.resources-page .divide-y > article {
    padding: 30px 32px !important;
}

.resources-page .divide-y h3,
.resources-page .grid h3 {
    line-height: 1.55 !important;
}

.resources-page p.inline-flex {
    display: block !important;
    max-width: 760px;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.contact-form {
    border: 1px solid rgba(201, 165, 111, 0.24);
    background: #fff;
    padding: 48px;
}

.contact-form h2 {
    font-size: 28px;
}

.contact-form .form-intro {
    margin-top: 10px;
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.field {
    display: grid;
    gap: 10px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #75777c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(7, 17, 27, 0.22);
    border-radius: 0;
    background: transparent;
    padding: 12px 0;
    color: var(--text);
    font: inherit;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    border-bottom-color: var(--gold-deep);
}

.form-note {
    border-left: 4px solid rgba(118, 89, 43, 0.42);
    background: var(--paper-low);
    padding: 16px 18px;
    color: rgba(118, 89, 43, 0.86);
    font-size: 13px;
}

.site-footer {
    background: var(--ink);
    color: #cbd5e1;
}

.footer-grid {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 64px var(--page-x);
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: 32px;
}

.footer-brand {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
}

.site-footer p,
.site-footer li {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
}

.site-footer h4 {
    margin-bottom: 22px;
    color: var(--gold);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-footer h4 span {
    display: block;
    margin-bottom: 9px;
    color: rgba(201, 165, 111, 0.72);
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1;
    text-transform: uppercase;
}

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

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(201, 165, 111, 0.12);
    padding-top: 32px;
    color: #64748b;
    font-size: 12px;
}

/* ── Map link ── */
.map-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--gold-deep);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.map-link:hover { color: var(--gold); }

/* ── Form validation ── */
.required { color: #b91c1c; }
.field-error {
    display: none;
    margin-top: 6px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.4;
}
.field-error.is-visible { display: block; }
.field.is-invalid input,
.field.is-invalid textarea,
.field.full.is-invalid input,
.field.full.is-invalid textarea {
    border-color: #b91c1c;
}
.form-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.form-status {
    font-size: 14px;
    line-height: 1.5;
}
.form-status.is-success { color: #16a34a; }
.form-status.is-error { color: #dc2626; }

body.dark-theme .form-status.is-success { color: #4ade80; }
body.dark-theme .form-status.is-error { color: #f87171; }
.form-status .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--gold);
    border-top-color: transparent;
    border-radius: 50%;
    animation: form-spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes form-spin { to { transform: rotate(360deg); } }
/* ── Breadcrumb nav ── */
.bc-nav {
    padding: 20px var(--page-x) 0;
    max-width: var(--container);
    margin: 0 auto;
    font-size: 13px;
    color: var(--muted);
    line-height: 1;
}
.bc-nav a {
    color: var(--gold-deep);
    text-decoration: none;
    transition: color 0.2s ease;
}
.bc-nav a:hover { color: var(--gold); }
.bc-sep {
    display: inline-block;
    margin: 0 10px;
    color: rgba(117, 119, 124, 0.5);
    font-size: 16px;
}

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 80;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--ink);
    font-size: 26px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.28s ease;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-media img {
        animation: none;
        transform: none;
    }
}

@media (max-width: 1180px) {
    :root {
        --page-x: 40px;
    }

    .main-nav {
        gap: 24px;
    }

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

@media (max-width: 900px) {
    :root {
        --page-x: 24px;
        --section: 80px;
    }

    .site-nav {
        padding-block: 20px;
        grid-template-columns: 1fr auto;
    }

    .main-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
    }

    .grid-12,
    .partner-lead,
    .profile-card,
    .insights-heading,
    .home-insights-grid,
    .insight-feature-card,
    .stitch-news-grid,
    .news-layout,
    .contact-grid,
    .footer-grid,
    .practice-row {
        display: block;
    }

    .hero {
        min-height: 720px;
    }

    .hero-copy,
    .practice-list,
    .practice-intro,
    .case-card-dark,
    .case-copy,
    .split-page-head .copy,
    .split-page-head .media,
    .sticky-title,
    .value-list,
    .visual-block,
    .side-copy,
    .page-head .right-note {
        grid-column: auto;
    }

    .hero h1 {
        font-size: 44px;
    }

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

    .practice-row {
        padding: 36px 0;
        margin: 0;
    }

    .practice-row h3,
    .practice-row p {
        margin-top: 16px;
    }

    .insights-heading p,
    .section-link,
    .home-insights-grid,
    .insight-feature-copy,
    .insight-side-list {
        margin-top: 28px;
    }

    .insight-visual {
        min-height: 260px;
    }

    .insight-feature-copy {
        padding: 28px 0;
    }

    .insight-feature-copy h3 {
        font-size: 26px;
    }

    .stitch-news-head {
        margin-bottom: 48px;
    }

    .stitch-news-title-row {
        display: block;
    }

    .stitch-news-title-row span {
        display: block;
        margin-top: 16px;
        padding-bottom: 0;
    }

    .stitch-feature-copy {
        padding-right: 0;
    }

    .stitch-news-aside {
        margin-top: 54px;
    }

    .stitch-side-news + .stitch-side-news {
        margin-top: 36px;
    }

    .stitch-view-all {
        align-self: flex-start;
    }

    .practice-showcase-head,
    .practice-showcase-grid,
    .practice-compact-list,
    .practice-minimal-grid,
    .case-minimal-grid,
    .home-contact-grid {
        display: block;
    }

    .practice-showcase-head {
        margin-bottom: 42px;
    }

    .practice-spotlight {
        min-height: 460px;
        padding: 40px;
    }

    .practice-tag {
        left: 40px;
        top: 40px;
    }

    .practice-compact-list {
        margin-top: 24px;
        border-left: 0;
    }

    .practice-compact {
        min-height: auto;
        border-left: 1px solid rgba(201, 165, 111, 0.34);
    }

    .practice-showcase-foot {
        justify-content: flex-start;
    }

    .practice-minimal {
        min-height: auto;
    }

    .practice-minimal-copy {
        max-width: none;
    }

    .practice-minimal-copy p {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.9;
    }

    .practice-minimal-list {
        margin-top: 46px;
    }

    .practice-minimal-list a,
    .practice-minimal-list article {
        min-height: 76px;
    }

    .case-minimal {
        min-height: auto;
    }

    .case-minimal-copy {
        max-width: none;
    }

    .case-minimal-copy p {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.9;
    }

    .case-minimal-list {
        margin-top: 46px;
    }

    .home-contact-copy {
        max-width: none;
    }

    .home-contact-copy p {
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.9;
    }

    .home-contact-list {
        margin-top: 46px;
    }

    .case-card-dark,
    .contact-form {
        padding: 36px 24px;
    }

    .case-copy,
    .side-copy,
    .value-list {
        margin-top: 48px;
    }

    .split-page-head .media {
        margin-top: 48px;
        height: 360px;
    }

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

    .profile-card .bio-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .profile-card .bio-grid {
        display: block;
    }

    .team-search {
        grid-template-columns: 1fr;
    }


    .lawyer-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .lawyer-detail-photo {
        max-width: 520px;
    }

    .partner-tier-card {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .partner-tier-card .bio-grid {
        grid-template-columns: 1fr;
    }

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

    .lawyer-directory .portrait-card {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .lawyer-directory .portrait-card .portrait {
        width: 104px;
    }

    .bio-block {
        margin-top: 24px;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-date {
        text-align: left;
    }

    .sidebar {
        margin-top: 64px;
    }

    .footer-grid {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .footer-grid > * + * {
        margin-top: 32px;
    }

    .practice-hero {
        padding: 80px 0 76px;
    }

    .practice-hero-grid,
    .practice-section-head,
    .practice-method-grid,
    .practice-scenario-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .practice-method-copy {
        position: static;
    }

    .practice-method-steps article {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .practice-method-steps article p {
        grid-column: 2;
    }

    .footer-bottom {
        display: block;
    }

    /* Team cards responsive */
    .team-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .team-card-grid--mini {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .team-filter-bar {
        gap: 12px;
    }
    .team-filter-row {
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .site-brand {
        font-size: 18px;
    }

    .hero h1,
    .section-title,
    .stitch-news-title-row h2,
    .split-page-head h1,
    .page-head h1 {
        font-size: 38px;
    }

    .facts-grid,
    .portrait-grid,
    .lawyer-directory,
    .lawyer-detail-copy h1 {
        font-size: 44px;
    }

    .lawyer-detail-body .side-panel {
        padding: 28px 22px;
    }

    .partner-tier-card {
        display: block;
    }

    .partner-tier-card::before {
        top: 20px;
        right: 20px;
    }

    .partner-tier-card .portrait {
        width: min(100%, 240px);
    }

    .team-search span {
        letter-spacing: 0.1em;
    }

    .lawyer-directory .portrait-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: auto;
    }

    .lawyer-directory .portrait-card .portrait {
        width: 96px;
    }

    .tabs {
        gap: 20px;
    }

    .tabs a,
    .tabs button {
        font-size: 18px;
    }

    .practice-showcase-head h2 {
        font-size: 38px;
    }

    .practice-spotlight {
        min-height: 420px;
        padding: 32px;
    }

    .practice-spotlight::before {
        inset: 18px;
    }

    .practice-tag {
        left: 32px;
        top: 32px;
    }

    .practice-index {
        font-size: 62px;
    }

    .practice-spotlight h3 {
        font-size: 34px;
    }

    .practice-compact {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 18px;
        padding: 28px 22px;
    }

    .practice-compact h3 {
        font-size: 21px;
    }

    .practice-minimal-list a,
    .practice-minimal-list article {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 18px;
        min-height: 68px;
    }

    .practice-minimal-list h3 {
        font-size: 18px;
    }

    .case-minimal-list a {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 18px;
        padding: 24px 0 26px;
    }

    .case-minimal-list h3 {
        font-size: 18px;
    }

    .case-minimal-list p {
        font-size: 14px;
    }

    .home-contact-list div {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 18px;
        padding: 24px 0;
    }

    .home-contact-list strong {
        font-size: 17px;
    }

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

    .practice-quick-nav a,
    .practice-quick-nav article,
    .category-entry-grid a {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 14px 18px;
        min-height: auto;
        padding: 22px;
    }

    .practice-quick-nav a::after,
    .practice-quick-nav article::after,
    .category-entry-grid a::after {
        display: none;
    }

    .practice-quick-nav small,
    .category-entry-grid small {
        grid-column: 2;
    }

    .practice-service-card {
        min-height: auto;
        padding: 28px;
    }

    .practice-method-steps article {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .practice-method-steps article p {
        grid-column: auto;
    }

    .team-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .team-card-grid--mini {
        grid-template-columns: 1fr;
    }
    .team-filter-bar {
        gap: 10px;
    }
    .team-filter-row {
        flex-direction: column;
        gap: 8px;
    }
    .team-filter-chips {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .team-search {
        max-width: 100%;
    }
    .team-group-head h2 {
        font-size: 24px;
    }
}

/* Sitewide responsive polish: keep every page using the same adaptive rhythm. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.site-brand,
.brand-text,
.main-nav,
.nav-actions,
.footer-brand,
.site-footer a,
.site-footer p,
.site-footer li {
    min-width: 0;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 165, 111, 0.12), transparent 30rem),
        linear-gradient(180deg, #07111b 0%, #050b12 100%);
    color: rgba(226, 232, 240, 0.76);
    border-top: 1px solid rgba(201, 165, 111, 0.24);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-grid {
    padding: clamp(28px, 3vw, 40px) var(--page-x) 16px;
    grid-template-columns: minmax(250px, 1.12fr) minmax(140px, 0.68fr) minmax(150px, 0.72fr) minmax(240px, 0.92fr);
    column-gap: clamp(22px, 3vw, 44px);
    row-gap: 16px;
    align-items: start;
}

.footer-grid > div:first-child {
    max-width: 460px;
    border-left: 3px solid rgba(201, 165, 111, 0.72);
    padding-left: 22px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ead4ac;
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.25;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-brand .brand-title {
    color: #ead4ac;
    font-family: var(--serif);
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 700;
}

.footer-brand .brand-sub {
    margin-top: 6px;
    color: rgba(226, 232, 240, 0.55);
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.18em;
}

.footer-copy,
.site-footer .footer-grid > div:first-child p {
    max-width: 30em;
    margin-top: 14px !important;
    color: rgba(226, 232, 240, 0.68);
    font-size: 13px;
    line-height: 1.8;
}

.site-footer h2,
.site-footer h4,
.site-footer h5 {
    margin: 0 0 14px;
    color: #ead4ac;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.site-footer h2 span,
.site-footer h4 span,
.site-footer h5 span {
    display: block;
    margin-bottom: 5px;
    color: rgba(201, 165, 111, 0.7);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.site-footer ul,
.site-footer .footer-grid > div:not(:first-child):not(.footer-bottom) {
    display: grid;
    gap: 8px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a,
.site-footer li,
.site-footer .footer-grid > div:not(:first-child):not(.footer-bottom) > p {
    color: rgba(226, 232, 240, 0.68);
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.site-footer a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom,
.site-footer > .footer-bottom {
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 14px var(--page-x) 18px;
    border-top: 1px solid rgba(201, 165, 111, 0.16);
    color: rgba(148, 163, 184, 0.74);
    font-size: 11px;
    line-height: 1.6;
}

.footer-grid .footer-bottom {
    width: auto;
    margin: 4px 0 0;
    padding-right: 0;
    padding-left: 0;
}

.editorial-tailwind-page footer.bg-ink {
    background:
        radial-gradient(circle at 12% 0%, rgba(201, 165, 111, 0.12), transparent 30rem),
        linear-gradient(180deg, #07111b 0%, #050b12 100%) !important;
    border-top: 1px solid rgba(201, 165, 111, 0.24);
}

.editorial-tailwind-page footer.bg-ink > div {
    width: min(100%, var(--container));
    padding-right: var(--page-x) !important;
    padding-left: var(--page-x) !important;
}

@media (max-width: 1180px) {
    .footer-grid {
        grid-template-columns: minmax(280px, 1.1fr) repeat(3, minmax(150px, 1fr));
    }
}

@media (max-width: 980px) {
    .site-header,
    .site-nav {
        height: 72px;
        min-height: 72px;
        max-height: 72px;
        box-sizing: border-box;
    }

    .site-nav {
        grid-template-columns: minmax(0, 1fr) auto;
        padding-block: 0;
    }

    .brand-mark {
        width: 28px;
        height: 46px;
    }

    .brand-text {
        font-size: 20px;
    }

    .brand-text small {
        font-size: 10px;
        letter-spacing: 0.18em;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    }

    .footer-grid > * + * {
        margin-top: 0;
    }

    .footer-grid .footer-bottom {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    :root {
        --page-x: 20px;
    }

    .site-header,
    .site-nav {
        height: 72px;
        min-height: 72px;
        max-height: 72px;
        box-sizing: border-box;
    }

    .brand-mark {
        width: 24px;
        height: 40px;
    }

    .brand-text {
        font-size: 18px;
    }

    .brand-text small {
        max-width: 12em;
        font-size: 9px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .hero h1,
    .section-title,
    .stitch-news-title-row h2,
    .split-page-head h1,
    .page-head h1,
    .contact-main > .container > .grid-12:first-child h1 {
        font-size: clamp(32px, 10vw, 40px) !important;
        line-height: 1.18 !important;
    }

    .page-main > .split-page-head,
    .page-main > .page-head,
    .page-main > .dark-section:first-child,
    .page-main > .contact-main {
        padding-top: 72px !important;
        padding-bottom: 56px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 22px;
        padding-top: 30px;
        padding-bottom: 16px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
        padding-left: 16px;
    }

    .footer-grid > div:last-child:not(.footer-bottom) {
        grid-column: 1 / -1;
    }

    .site-footer h2,
    .site-footer h4,
    .site-footer h5 {
        margin-bottom: 10px;
    }

    .site-footer ul,
    .site-footer .footer-grid > div:not(:first-child):not(.footer-bottom) {
        gap: 6px;
    }

    .footer-copy,
    .site-footer .footer-grid > div:first-child p {
        margin-top: 10px !important;
        line-height: 1.65;
    }

    .footer-bottom,
    .site-footer > .footer-bottom {
        grid-column: 1 / -1;
        display: grid;
        gap: 6px;
        padding-top: 14px;
        padding-bottom: 16px;
    }

    .editorial-tailwind-page footer.bg-ink {
        padding-top: 44px !important;
        padding-bottom: 32px !important;
    }

    .editorial-tailwind-page footer.bg-ink .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 22px !important;
        margin-bottom: 32px !important;
    }

    .editorial-tailwind-page footer.bg-ink .grid > div:first-child,
    .editorial-tailwind-page footer.bg-ink .grid > div:last-child {
        grid-column: 1 / -1;
    }

    .editorial-tailwind-page footer.bg-ink h5 {
        margin-bottom: 14px !important;
    }

    .editorial-tailwind-page footer.bg-ink ul {
        gap: 8px !important;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 420px) {
    :root {
        --page-x: 16px;
    }

    .site-brand {
        gap: 10px;
    }

    .brand-text {
        font-size: 16px;
        letter-spacing: 0.02em;
    }

    .brand-text small {
        display: none;
    }

    .mobile-menu {
        width: min(88vw, 340px);
        padding: 28px;
    }

    .footer-grid,
    .editorial-tailwind-page footer.bg-ink .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 18px;
        padding-top: 28px;
        padding-bottom: 14px;
    }

    .footer-grid > div:first-child,
    .footer-grid > div:last-child:not(.footer-bottom),
    .footer-bottom,
    .site-footer > .footer-bottom,
    .editorial-tailwind-page footer.bg-ink .grid > div:first-child,
    .editorial-tailwind-page footer.bg-ink .grid > div:last-child {
        grid-column: auto;
    }

    .footer-grid > div:first-child,
    .footer-grid > div:last-child:not(.footer-bottom),
    .footer-grid .footer-bottom {
        grid-column: 1 / -1;
    }

    .footer-brand,
    .footer-brand .brand-title {
        font-size: 18px;
    }

    .site-footer a,
    .site-footer li,
    .site-footer .footer-grid > div:not(:first-child):not(.footer-bottom) > p {
        font-size: 11px;
        line-height: 1.55;
    }

    .footer-copy,
    .site-footer .footer-grid > div:first-child p {
        font-size: 12px;
    }

    .footer-bottom,
    .site-footer > .footer-bottom {
        font-size: 10px;
        line-height: 1.5;
    }
}

@media (max-width: 900px) {
    .team-section-title {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 26px;
    }

    .team-section-title p {
        max-width: none;
    }

    .lawyer-detail-aside {
        position: static;
    }

    .focus-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .team-section-title h2 {
        font-size: 32px;
    }

    .team-section-title p {
        font-size: 14px;
        line-height: 1.8;
    }

    .team-index-section {
        padding: 42px 0;
    }

    .honor-block {
        padding: 24px 20px;
    }

    .team-groups {
        gap: 40px;
    }
}

@media (max-width: 680px) {
    html,
    body {
        overflow-x: hidden;
    }

    .practice-hero-copy,
    .team-index-page .page-head .reveal {
        min-width: 0;
        max-width: 100%;
    }

    .practice-hero-copy h1,
    .team-index-page .page-head h1 {
        display: block;
        width: 100%;
        max-width: calc(100vw - (var(--page-x) * 2));
        font-size: clamp(26px, 7.5vw, 30px) !important;
        line-height: 1.18;
        letter-spacing: -0.06em;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
    }

    .practice-hero-copy p,
    .team-index-page .page-head p {
        max-width: min(100%, 320px);
        font-size: 15px;
        line-height: 1.9;
        letter-spacing: -0.02em;
        word-break: break-word;
    }

    .practice-service-card p,

    .practice-card-grid,

    .practice-service-card,
    .practice-strategy-card {
        grid-column: 1 / -1;
        width: 100%;
        max-width: calc(100vw - (var(--page-x) * 2));
        overflow: hidden;
        min-height: 300px;
    }

    .practice-service-card h3 {
        margin-top: 40px;
    }

    .practice-service-card::after {
        display: none;
    }
}

/* Current-page visual refinements. */
.hero-media img {
    object-position: center;
}

.team-index-page > .team-page-head,
.page-main > .news-page-head {
    position: relative;
    overflow: hidden;
    background: #07111b !important;
    color: #f8efe3 !important;
}

.team-index-page > .team-page-head::before,
.page-main > .news-page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 22, 0.94) 0%, rgba(5, 13, 22, 0.78) 48%, rgba(5, 13, 22, 0.48) 100%),
        var(--page-head-image) center / cover no-repeat;
    transform: scale(1.02);
}

.team-index-page > .team-page-head {
    --page-head-image: url("assets/library-desk-photo.webp");
}

.page-main > .news-page-head {
    --page-head-image: url("assets/case-books-table-photo.webp");
}

.team-index-page > .team-page-head .container,
.page-main > .news-page-head .container {
    position: relative;
    z-index: 1;
}

.team-index-page > .team-page-head h1,
.page-main > .news-page-head h1 {
    color: #f8efe3 !important;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.team-index-page > .team-page-head p,
.page-main > .news-page-head p {
    color: rgba(248, 239, 227, 0.78) !important;
}

.page-main > .news-page-head .tabs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: auto;
    margin-top: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
}

.page-main > .news-page-head .tab-btn {
    min-width: max-content;
    border: 0;
    padding: 10px 0 12px;
    color: rgba(248, 239, 227, 0.58);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.page-main > .news-page-head .tab-btn.active,
.page-main > .news-page-head .tab-btn:hover {
    color: #f8efe3;
    background: transparent;
}

.page-main > .news-page-head .tab-btn.active::after {
    display: block;
    bottom: 0;
    height: 1px;
    background: var(--gold);
}

.contact-location-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #07111b;
    border: 1px solid rgba(201, 165, 111, 0.24);
    box-shadow: 0 24px 54px rgba(7, 17, 27, 0.12);
}

.contact-location-media {
    min-height: 260px;
    background: #081522;
}

.contact-location-media img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    opacity: 0.72;
    filter: saturate(0.9) contrast(1.05);
}

.contact-location-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 38px;
    color: #f8efe3;
}

.contact-location-copy .section-eyebrow {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.26em;
}

.contact-location-copy h3 {
    margin-top: 18px;
    font-size: 30px;
    line-height: 1.2;
}

.contact-location-copy p {
    margin-top: 18px;
    color: #f8efe3;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
}

.contact-location-copy small {
    display: block;
    margin-top: 14px;
    color: rgba(248, 239, 227, 0.64);
    font-size: 14px;
    line-height: 1.8;
}

.contact-location-copy .map-link {
    width: max-content;
    margin-top: 28px;
    color: var(--gold);
    border-bottom: 1px solid rgba(201, 165, 111, 0.48);
}

@media (min-width: 901px) {
    .main-nav {
        gap: 36px;
    }
}

@media (max-width: 760px) {
    .contact-location-panel {
        grid-template-columns: 1fr;
    }

    .contact-location-copy {
        padding: 32px 24px;
    }
}

/* Stitch-informed practice page redesign. */
.practice-stitch-page {
    background: var(--paper);
}

.practice-stitch-head {
    padding: 110px 0 74px;
    border-bottom: 1px solid rgba(121, 92, 45, 0.16);
    background:
        radial-gradient(circle at 82% 0%, rgba(201, 165, 111, 0.08), transparent 32rem),
        var(--paper);
}

.practice-stitch-title {
    max-width: 820px;
}

.practice-stitch-title .label {
    color: var(--gold-deep);
}

.practice-stitch-title h1 {
    margin-top: 24px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(58px, 7vw, 92px);
    line-height: 0.96;
    letter-spacing: -0.08em;
}

.practice-stitch-title p {
    max-width: 760px;
    margin-top: 32px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.9;
}

.practice-stitch-section {
    padding: 86px 0 var(--section);
}

.practice-stitch-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
}

.practice-stitch-card {
    position: relative;
    grid-column: span 4;
    min-height: 370px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(121, 92, 45, 0.22);
    background: rgba(255, 255, 255, 0.5);
    padding: 42px;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.practice-stitch-card-large {
    grid-column: span 8;
}

.practice-stitch-card:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 92, 45, 0.42);
}

.practice-stitch-bg {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.86)),
        url("assets/case-law-books-photo.webp") center / cover no-repeat;
    filter: saturate(0.4);
}

.practice-stitch-card-dark {
    background: #07111b;
    color: #f8efe3;
}

.practice-stitch-card-dark .practice-stitch-bg {
    opacity: 0.28;
    background:
        linear-gradient(90deg, rgba(5, 13, 22, 0.95), rgba(5, 13, 22, 0.72)),
        url("assets/library-desk-photo.webp") center / cover no-repeat;
}

.practice-stitch-card-body,
.practice-stitch-foot {
    position: relative;
    z-index: 1;
}

.practice-stitch-icon {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--gold-deep);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
}

.practice-stitch-card-dark .practice-stitch-icon {
    color: var(--gold);
}

.practice-stitch-card h2 {
    max-width: 12em;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.05em;
}

.practice-stitch-card-dark h2 {
    color: #f8efe3;
}

.practice-stitch-card p {
    max-width: 560px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.practice-stitch-card-dark p {
    color: rgba(248, 239, 227, 0.72);
}

.practice-stitch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.practice-stitch-tags span {
    border: 1px solid rgba(121, 92, 45, 0.24);
    padding: 7px 12px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.practice-stitch-card-dark .practice-stitch-tags span {
    border-color: rgba(201, 165, 111, 0.32);
    color: #f8efe3;
}

.practice-stitch-foot {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(121, 92, 45, 0.18);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.practice-stitch-card-dark .practice-stitch-foot {
    border-top-color: rgba(201, 165, 111, 0.22);
    color: rgba(248, 239, 227, 0.68);
}

.practice-stitch-foot strong {
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.18em;
}

.practice-stitch-card-dark .practice-stitch-foot strong {
    color: var(--gold);
}

.practice-stitch-method {
    padding: var(--section) 0;
    border-top: 1px solid rgba(121, 92, 45, 0.16);
    background: var(--paper-low);
}

.practice-stitch-method-grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 96px;
}

.practice-stitch-method-copy {
    position: sticky;
    top: 120px;
    align-self: start;
}

.practice-stitch-method-copy h2 {
    margin-top: 22px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(36px, 3vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.practice-stitch-method-copy p {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.9;
}

.practice-stitch-steps {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(121, 92, 45, 0.16);
}

.practice-stitch-steps article {
    display: grid;
    grid-template-columns: 86px 1.1fr 1.8fr;
    gap: 28px;
    padding: 34px 0;
    border-bottom: 1px solid rgba(121, 92, 45, 0.16);
}

.practice-stitch-steps span {
    color: rgba(121, 92, 45, 0.32);
    font-family: var(--serif);
    font-size: 42px;
    line-height: 1;
}

.practice-stitch-steps h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.25;
}

.practice-stitch-steps p {
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 980px) {
    .practice-stitch-grid,
    .practice-stitch-method-grid {
        grid-template-columns: 1fr;
    }

    .practice-stitch-card,
    .practice-stitch-card-large {
        grid-column: 1 / -1;
    }

    .practice-stitch-method-copy {
        position: static;
    }

    .practice-stitch-steps article {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .practice-stitch-steps p {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .practice-stitch-head {
        padding: 72px 0 52px;
    }

    .practice-stitch-section,
    .practice-stitch-method {
        padding: 64px 0;
    }

    .practice-stitch-card {
        min-height: 320px;
        padding: 28px 24px;
    }

    .practice-stitch-foot {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .practice-stitch-steps article {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .practice-stitch-steps p {
        grid-column: auto;
    }
}

/* Revised practice page: restrained editorial service index. */
.practice-editorial-page {
    background: var(--paper);
}

.practice-editorial-hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    padding: 86px 0;
    background: #07111b;
    color: #f8efe3;
}

.practice-editorial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 22, 0.97), rgba(5, 13, 22, 0.82) 58%, rgba(5, 13, 22, 0.54)),
        url("assets/case-law-books-photo.webp") center / cover no-repeat;
    opacity: 0.9;
}

.practice-editorial-hero-grid {
    position: relative;
    z-index: 1;
    display: block;
}

.practice-editorial-copy .label {
    color: var(--gold);
}

.practice-editorial-copy h1 {
    max-width: 920px;
    margin-top: 28px;
    color: #f8efe3;
    font-family: var(--serif);
    font-size: clamp(44px, 4.6vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.07em;
}

.practice-editorial-copy p {
    max-width: 820px;
    margin-top: 34px;
    color: rgba(248, 239, 227, 0.76);
    font-size: 18px;
    line-height: 1.9;
}

.practice-editorial-services {
    padding: 92px 0 var(--section);
}

.practice-editorial-section-head {
    display: grid;
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 52px;
}

.practice-editorial-section-head h2 {
    margin-top: 18px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.14;
    letter-spacing: -0.06em;
}

.practice-editorial-section-head p {
    max-width: 640px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.practice-editorial-list {
    border-top: 1px solid rgba(121, 92, 45, 0.2);
}

.practice-editorial-list article {
    display: grid;
    grid-template-columns: 96px minmax(260px, 0.9fr) minmax(320px, 1fr);
    gap: 42px;
    padding: 42px 0;
    border-bottom: 1px solid rgba(121, 92, 45, 0.16);
}

.practice-editorial-list article:first-child {
    background: linear-gradient(90deg, rgba(201, 165, 111, 0.08), transparent 64%);
    padding-right: 28px;
}

.practice-editorial-no {
    color: rgba(121, 92, 45, 0.38);
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1;
}

.practice-editorial-list h3 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.05em;
}
.practice-editorial-list h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.practice-editorial-list h3 a:hover {
    color: var(--gold-deep);
}

.practice-editorial-list p {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.85;
}

.practice-editorial-list ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-self: center;
}

.practice-editorial-list li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
}

.practice-editorial-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 1px;
    background: var(--gold-deep);
}

.practice-editorial-method {
    padding: 96px 0;
    background: #07111b;
    color: #f8efe3;
    position: relative;
    overflow: hidden;
}

.practice-editorial-method-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
    gap: 86px;
    align-items: start;
}

.practice-editorial-method h2 {
    margin-top: 18px;
    color: #f8efe3;
    font-family: var(--serif);
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.practice-editorial-method-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 48px;
    border: none;
}

.practice-editorial-method-list article {
    min-height: auto;
    padding: 32px 0 0 0;
    border: none !important;
    border-top: 1px solid rgba(201, 165, 111, 0.15) !important;
    background: transparent;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 681px) {
    .practice-editorial-method-list article:nth-child(even) {
        transform: translateY(32px);
    }
}

.practice-editorial-method-list article:hover {
    border-top-color: var(--gold) !important;
    transform: translate(6px, 0);
}

@media (min-width: 681px) {
    .practice-editorial-method-list article:nth-child(even):hover {
        transform: translate(6px, 32px) !important;
    }
}

.practice-editorial-method-list span {
    position: absolute;
    font-size: 54px;
    font-family: var(--serif);
    font-weight: 300;
    font-style: italic;
    color: rgba(201, 165, 111, 0.18);
    top: -38px;
    left: 0;
    z-index: 1;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-editorial-method-list article:hover span {
    color: var(--gold);
    transform: translateY(-6px) scale(1.05);
}

.practice-editorial-method-list strong {
    display: block;
    margin-top: 12px;
    font-family: var(--serif);
    font-size: 22px;
    color: #f8efe3;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.practice-editorial-method-list article:hover strong {
    color: var(--gold);
}

.practice-editorial-method-list p {
    margin-top: 12px;
    color: rgba(248, 239, 227, 0.6);
    font-size: 14.5px;
    line-height: 1.85;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.practice-editorial-method-list article:hover p {
    color: rgba(248, 239, 227, 0.88);
}

.article-gallery,
.lawyer-gallery-block {
    margin-top: 42px;
    padding-top: 32px;
    border-top: 1px solid rgba(201, 165, 111, 0.22);
}

.article-gallery h2 {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.25;
}

.article-gallery-grid,
.lawyer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.article-gallery-grid img,
.lawyer-gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

@media (max-width: 980px) {
    .practice-editorial-hero-grid,
    .practice-editorial-section-head,
    .practice-editorial-method-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .practice-editorial-list article {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .practice-editorial-list ul {
        grid-column: 2;
    }
}

@media (max-width: 680px) {
    .practice-editorial-hero {
        padding: 74px 0 62px;
    }

    .practice-editorial-index a,
    .practice-editorial-list article {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .practice-editorial-list ul {
        grid-column: auto;
    }

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

    .article-gallery-grid,
    .lawyer-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ── 业务领域详情页 ── */

.practice-detail-breadcrumb {
    padding: 108px 0 22px;
    background: #07111b;
    color: rgba(248, 239, 227, 0.54);
    font-size: 13px;
}
.practice-detail-breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.practice-detail-breadcrumb a {
    color: rgba(248, 239, 227, 0.66);
    transition: color 0.2s;
}
.practice-detail-breadcrumb a:hover {
    color: var(--gold);
}
.practice-detail-breadcrumb .bc-sep {
    color: rgba(248, 239, 227, 0.28);
}

.practice-detail-section {
    padding: 92px 0;
}
.practice-detail-section-alt {
    padding: 92px 0;
    background: var(--paper-low);
    border-top: 1px solid rgba(121, 92, 45, 0.12);
    border-bottom: 1px solid rgba(121, 92, 45, 0.12);
}
.practice-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 72px;
    align-items: start;
}
.practice-detail-grid h2 {
    margin-top: 14px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}
.practice-detail-grid .copy-stack {
    margin-top: 28px;
    display: grid;
    gap: 16px;
}
.practice-detail-grid .copy-stack p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
    max-width: 680px;
}
.practice-detail-panel {
    border: 1px solid rgba(121, 92, 45, 0.18);
    background: rgba(254, 249, 241, 0.7);
    padding: 32px;
}
.practice-detail-section-alt .practice-detail-panel {
    background: rgba(254, 249, 241, 0.85);
}
.practice-detail-panel h4 {
    margin-bottom: 20px;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.practice-detail-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}
.practice-detail-panel li {
    padding-top: 14px;
    border-top: 1px solid rgba(121, 92, 45, 0.14);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.7;
}

/* ── 详情页案例展示 ── */
.practice-detail-cases {
    padding: 92px 0;
}
.practice-detail-cases .section-eyebrow {
    margin-bottom: 8px;
}
.practice-detail-cases h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(28px, 2.4vw, 38px);
    letter-spacing: -0.04em;
}
.practice-detail-cases-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.case-card {
    border: none;
    border-top: 0.5px solid rgba(201, 165, 111, 0.18);
    padding: 28px 0 16px 0;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.case-card:hover {
    border-top-color: var(--gold);
    transform: translateX(6px);
    box-shadow: none;
}
.case-card .case-tag {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--gold-deep);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.case-card h4 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.4;
}
.case-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ── 详情页关联律师 ── */
.practice-detail-lawyers {
    padding: 92px 0;
    background: var(--paper-low);
    border-top: 1px solid rgba(121, 92, 45, 0.12);
}
.practice-detail-lawyers .section-eyebrow {
    margin-bottom: 8px;
}
.practice-detail-lawyers h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(28px, 2.4vw, 38px);
    letter-spacing: -0.04em;
}
.lawyer-mini-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.lawyer-mini-card {
    background: transparent;
    border: none;
    border-top: 0.5px solid rgba(201, 165, 111, 0.18);
    text-align: center;
    padding: 28px 12px 12px 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lawyer-mini-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: none;
}
.lawyer-mini-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
}
.lawyer-mini-card .lm-name {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
}
.lawyer-mini-card .lm-role {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}
.lawyer-mini-card .lm-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.lawyer-mini-card .lm-tags span {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(201, 165, 111, 0.12);
    color: var(--gold-deep);
    font-size: 11px;
    border-radius: 2px;
}

/* ── 详情页 CTA ── */
.practice-detail-cta {
    padding: 86px 0;
    background: #07111b;
    color: #f8efe3;
    text-align: center;
}
.practice-detail-cta h2 {
    color: #f8efe3;
    font-family: var(--serif);
    font-size: clamp(30px, 2.8vw, 42px);
    letter-spacing: -0.04em;
}
.practice-detail-cta p {
    max-width: 580px;
    margin: 22px auto 0;
    color: rgba(248, 239, 227, 0.66);
    font-size: 16px;
    line-height: 1.85;
}
.practice-detail-cta .cta-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 15px;
    font-weight: 600;
    transition: background 0.25s, color 0.25s;
}
.cta-btn:hover {
    background: var(--gold);
    color: #07111b;
}
.cta-btn-primary {
    background: var(--gold);
    color: #07111b;
}
.cta-btn-primary:hover {
    background: #d4b47a;
    border-color: #d4b47a;
}

/* ── 详情页响应式 ── */
@media (max-width: 1100px) {
    .practice-detail-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .lawyer-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .practice-detail-cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 680px) {
    .practice-detail-section,
    .practice-detail-section-alt,
    .practice-detail-cases,
    .practice-detail-lawyers {
        padding: 56px 0;
    }
    .lawyer-mini-grid {
        grid-template-columns: 1fr;
    }
    .practice-detail-cases-grid {
        grid-template-columns: 1fr;
    }
    .practice-detail-cta h2 {
        font-size: 26px;
    }
    .practice-detail-panel {
        padding: 24px;
    }
    .practice-detail-breadcrumb {
        padding-top: 94px;
        padding-bottom: 18px;
        font-size: 12px;
    }
}

/* ── Editorial team layout ported from lawyer detail mockups ── */
.team-index-page > .team-page-head {
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 20, 22, 0.08), transparent 34rem),
        var(--paper) !important;
    color: var(--ink) !important;
    padding: clamp(108px, 12vw, 156px) 0 clamp(64px, 7vw, 96px) !important;
    text-align: center;
}

.team-index-page > .team-page-head::before {
    display: none;
}

.team-index-page > .team-page-head .grid-12 {
    display: block;
}

.team-index-page > .team-page-head .reveal {
    max-width: 780px;
    margin: 0 auto;
}

.team-index-page > .team-page-head .label {
    display: none;
}

.team-index-page > .team-page-head h1 {
    margin-top: 0;
    color: var(--ink) !important;
    font-size: clamp(44px, 6vw, 76px) !important;
    line-height: 1.05;
    text-shadow: none;
}

.team-index-page > .team-page-head p {
    max-width: 720px !important;
    margin: 28px auto 0;
    color: rgba(26, 28, 27, 0.72) !important;
    font-size: 18px;
    line-height: 1.9;
}

.team-index-page > .team-page-head .divider {
    width: 48px !important;
    height: 1px !important;
    margin: 36px auto 0 !important;
    background: rgba(91, 0, 6, 0.38);
}

.team-editorial-index {
    padding: 0 0 clamp(92px, 10vw, 150px);
    background: var(--paper);
}

.team-editorial-intro {
    display: none;
}

.team-honor-strip {
    margin: 0 0 clamp(48px, 6vw, 76px);
    overflow: hidden;
    border-block: 1px solid rgba(121, 92, 45, 0.12);
    background: var(--paper-low);
}

.team-honor-track {
    display: flex;
    width: max-content;
    gap: clamp(48px, 7vw, 108px);
    padding: 28px 64px;
    color: rgba(26, 28, 27, 0.28);
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: nowrap;
    animation: zh-team-marquee 34s linear infinite;
}

.team-honor-strip:hover .team-honor-track {
    animation-play-state: paused;
}

@keyframes zh-team-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.team-editorial-index .team-filter-bar {
    align-items: center;
    gap: 18px;
    padding: 0 0 32px;
    border-bottom-color: rgba(121, 92, 45, 0.14);
}

.team-editorial-index .team-filter-row {
    justify-content: center;
}

.team-editorial-index .team-filter-label {
    color: rgba(26, 28, 27, 0.48);
}

.team-editorial-index .team-filter-chip {
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    padding: 8px 2px 10px;
    color: rgba(26, 28, 27, 0.58);
    letter-spacing: 0.14em;
}

.team-editorial-index .team-filter-chip:hover,
.team-editorial-index .team-filter-chip.is-active {
    transform: none;
    border-color: var(--red);
    background: transparent;
    color: var(--red);
}

.team-editorial-index .team-search-row {
    display: grid;
    justify-items: center;
}

.team-editorial-index .team-search {
    width: min(100%, 640px);
    max-width: none;
    border-color: rgba(121, 92, 45, 0.16);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.42);
}

.team-editorial-index .team-groups {
    gap: clamp(76px, 8vw, 112px);
    padding-top: clamp(56px, 7vw, 96px);
}

.team-editorial-index .team-group-head {
    align-items: end;
    margin-bottom: 36px;
    border-bottom-color: rgba(121, 92, 45, 0.16);
}

.team-editorial-index .team-group-head h2 {
    font-size: clamp(34px, 3vw, 44px);
}

.team-editorial-index .team-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(26px, 3vw, 40px);
}

.team-card--editorial {
    border: 0;
    background: transparent;
    overflow: visible;
}

.team-card--editorial:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-8px);
}

.team-card--editorial .team-card-photo {
    border: 1px solid rgba(121, 92, 45, 0.18);
    border-radius: 2px;
    box-shadow: 18px 18px 0 rgba(121, 92, 45, 0.06);
}

.team-card--editorial .team-card-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(91, 0, 6, 0.08);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.team-card--editorial:hover .team-card-photo::after {
    opacity: 1;
}

.team-card--editorial .team-card-body {
    padding: 24px 0 0;
}

.team-card--editorial .team-card-role {
    color: var(--red);
    letter-spacing: 0.18em;
}

.team-card--editorial .team-card-body h3 {
    font-size: clamp(24px, 2vw, 30px);
    transition: color 0.25s ease;
}

.team-card--editorial:hover .team-card-body h3 {
    color: var(--red);
}

.team-card--editorial .team-card-tags {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    transition: color 0.25s ease;
}

.team-card--editorial .team-card-tags span {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    transition: color 0.25s ease;
}

.team-card--editorial:hover .team-card-tags,
.team-card--editorial .team-card-tags span:hover {
    color: var(--red);
}

.team-card--editorial .team-card-tags span + span::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 1px;
    margin: 0 8px 3px 2px;
    background: rgba(121, 92, 45, 0.36);
}

.team-card--editorial .team-card-summary {
    display: none;
}

.team-card--editorial .team-card-arrow {
    right: 0;
    bottom: 0;
    color: var(--red);
}

@media (min-width: 1000px) {
    .team-card-offset-1 {
        margin-top: 16px;
    }

    .team-card-offset-2 {
        margin-top: 8px;
    }
}

.lawyer-detail-page {
    background: var(--paper);
}

.lawyer-detail-page .practice-detail-breadcrumb {
    background: var(--paper);
    color: rgba(26, 28, 27, 0.52);
}

.lawyer-detail-page .practice-detail-breadcrumb a {
    color: rgba(26, 28, 27, 0.64);
}

.lawyer-detail-page .practice-detail-breadcrumb a:hover {
    color: var(--red);
}

.lawyer-profile-hero {
    padding: clamp(34px, 5vw, 72px) 0 clamp(78px, 8vw, 116px);
    background:
        radial-gradient(circle at 78% 18%, rgba(139, 20, 22, 0.07), transparent 30rem),
        var(--paper) !important;
}

.lawyer-profile-hero .lawyer-detail-grid {
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(44px, 6vw, 86px);
    align-items: center;
}

.lawyer-profile-hero .lawyer-detail-photo {
    border-color: rgba(121, 92, 45, 0.18);
    box-shadow: 18px 18px 0 rgba(121, 92, 45, 0.07);
}

.lawyer-profile-hero .lawyer-detail-copy .label {
    color: var(--red);
    letter-spacing: 0.2em;
}

.lawyer-profile-hero .lawyer-detail-copy h1 {
    font-size: clamp(46px, 6vw, 82px);
}

.lawyer-profile-hero .detail-role {
    color: rgba(26, 28, 27, 0.58);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.lawyer-profile-hero blockquote {
    margin: 30px 0 28px;
    border-left: 2px solid rgba(139, 20, 22, 0.42);
    padding-left: 24px;
    color: rgba(26, 28, 27, 0.72);
    font-family: var(--serif);
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.85;
}

.lawyer-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.lawyer-profile-section {
    padding: clamp(72px, 8vw, 112px) 0;
}

.lawyer-profile-grid {
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
}

.lawyer-profile-grid .lawyer-info-panel {
    position: sticky;
    top: 112px;
    border-color: rgba(121, 92, 45, 0.16);
    background: rgba(255, 255, 255, 0.52);
}

.lawyer-info-note {
    margin-top: 30px;
    border-top: 1px solid rgba(121, 92, 45, 0.14);
    padding-top: 22px;
}

.lawyer-info-note span {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.lawyer-info-note p {
    margin-top: 10px;
    color: rgba(26, 28, 27, 0.66);
    font-size: 14px;
    line-height: 1.8;
}

.lawyer-profile-grid .detail-block {
    border-top-color: rgba(121, 92, 45, 0.18);
    padding: 0 0 54px;
}

.lawyer-profile-grid .detail-block + .detail-block {
    padding-top: 46px;
}

.lawyer-profile-grid .detail-block h2 {
    font-size: clamp(34px, 3.4vw, 46px);
}

.lawyer-profile-grid .detail-list {
    counter-reset: detail-item;
}

.lawyer-profile-grid .detail-list li {
    counter-increment: detail-item;
    position: relative;
    padding: 22px 0 22px 48px;
    border-bottom: 1px solid rgba(121, 92, 45, 0.14);
    color: rgba(26, 28, 27, 0.72);
}

.lawyer-profile-grid .detail-list li::before {
    content: counter(detail-item, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 24px;
    color: rgba(139, 20, 22, 0.74);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.lawyer-profile-grid .focus-list span {
    border-color: rgba(121, 92, 45, 0.14);
}

.lawyer-profile-grid .focus-list em {
    color: var(--red);
}

.lawyer-detail-page .practice-detail-lawyers {
    background: var(--paper-low);
}

.lawyer-detail-page .lawyer-mini-card {
    border-color: rgba(121, 92, 45, 0.14);
    background: rgba(255, 255, 255, 0.62);
}

.lawyer-detail-page .lawyer-mini-card:hover {
    border-color: rgba(139, 20, 22, 0.3);
}

.lawyer-detail-page .practice-detail-cta {
    background: #07111b;
}

@media (max-width: 1100px) {
    .team-editorial-index .team-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card-offset-1,
    .team-card-offset-2 {
        margin-top: 0;
    }

    .lawyer-profile-hero .lawyer-detail-grid,
    .lawyer-profile-grid {
        grid-template-columns: 1fr;
    }

    .lawyer-profile-grid .lawyer-info-panel {
        position: static;
    }
}

@media (max-width: 680px) {
    .team-index-page > .team-page-head {
        padding-top: 104px !important;
        text-align: left;
    }

    .team-index-page > .team-page-head .reveal,
    .team-index-page > .team-page-head p {
        margin-left: 0;
        margin-right: 0;
    }

    .team-index-page > .team-page-head .divider {
        margin-left: 0 !important;
    }

    .team-honor-strip {
        margin-inline: calc(var(--page-x) * -1);
    }

    .team-honor-track {
        font-size: 20px;
        animation-duration: 48s;
    }

    .team-editorial-index .team-filter-row {
        display: block;
        width: 100%;
    }

    .team-editorial-index .team-filter-label {
        display: block;
        margin-bottom: 12px;
    }

    .team-editorial-index .team-filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .team-editorial-index .team-card-grid {
        grid-template-columns: 1fr;
    }

    .team-card--editorial .team-card-photo {
        box-shadow: 10px 10px 0 rgba(121, 92, 45, 0.06);
    }

    .lawyer-profile-hero .lawyer-detail-photo {
        box-shadow: 10px 10px 0 rgba(121, 92, 45, 0.07);
    }

    .lawyer-profile-hero blockquote {
        padding-left: 18px;
    }
}

body.dark-theme .panel {
    background: transparent !important;
    border: none !important;
    border-top: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}
body.dark-theme .case-card {
    background: transparent !important;
    border: none !important;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}
body.dark-theme .case-card:hover {
    border-top-color: var(--gold) !important;
    box-shadow: none !important;
}
body.dark-theme .lawyer-mini-card {
    background: transparent !important;
    border: none !important;
    border-top: 0.5px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}
body.dark-theme .lawyer-mini-card:hover {
    border-top-color: var(--gold) !important;
    box-shadow: none !important;
}
body.dark-theme .team-card--editorial {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
body.dark-theme .team-card--editorial:hover {
    border-color: var(--gold) !important;
}
body.dark-theme .team-filter-chip {
    border-color: rgba(255, 255, 255, 0.16) !important;
    color: rgba(255, 255, 255, 0.6) !important;
}
body.dark-theme .team-filter-chip.is-active,
body.dark-theme .team-filter-chip:hover {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: rgba(201, 165, 111, 0.08) !important;
}
body.dark-theme .site-header {
    background: linear-gradient(180deg, #04090e 0%, #060e15 100%) !important;
}
body.dark-theme .site-footer {
    border-top: 1px solid rgba(201, 165, 111, 0.14) !important;
}
body.dark-theme .home-insights {
    border-top: 1px solid rgba(201, 165, 111, 0.12) !important;
}
body.dark-theme .team-editorial-index .team-search-bar input {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--text) !important;
}
body.dark-theme .bc-nav {
    color: rgba(255, 255, 255, 0.5) !important;
}
body.dark-theme .bc-nav a {
    color: var(--gold) !important;
}
@media (prefers-reduced-motion: reduce) {
    .team-honor-track {
        animation: none;
        transform: none;
    }
}

/* ── 📚 高定社论版式工具集 ── */

/* 非规则网格容器 */
.grid-editorial {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: clamp(32px, 5vw, 84px);
    align-items: start;
}
.grid-editorial-reverse {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 84px);
    align-items: start;
}

/* 错落偏移系统 (仅在宽屏上激活以确保移动端可用性) */
@media (min-width: 961px) {
    .offset-y-pos {
        transform: translateY(-16px);
    }
    .offset-y-pos-more {
        transform: translateY(-28px);
    }
    .offset-y-neg {
        transform: translateY(16px);
    }
    .offset-y-neg-more {
        transform: translateY(28px);
    }
    
    /* 核心价值观板块的阶梯排列 */
    .value-list.editorial-stagger article:nth-child(1) {
        transform: translateY(0);
    }
    .value-list.editorial-stagger article:nth-child(2) {
        transform: translateY(-16px);
    }
    .value-list.editorial-stagger article:nth-child(3) {
        transform: translateY(12px);
    }
    
    /* 典型案例板块的阶梯排列 */
    .practice-detail-cases-grid.editorial-stagger .case-card:nth-child(1) {
        transform: translateY(0);
    }
    .practice-detail-cases-grid.editorial-stagger .case-card:nth-child(2) {
        transform: translateY(-18px);
    }
    .practice-detail-cases-grid.editorial-stagger .case-card:nth-child(3) {
        transform: translateY(14px);
    }
    
    /* 迷你团队卡片微瀑布流 */
    .lawyer-mini-grid.editorial-stagger a:nth-child(2n) {
        transform: translateY(-12px);
    }
    .lawyer-mini-grid.editorial-stagger a:nth-child(2n+1) {
        transform: translateY(8px);
    }
}

/* 巨幅艺术背景底纹 */
.bg-giant-text {
    position: absolute;
    font-size: clamp(80px, 12vw, 156px);
    font-family: var(--serif);
    font-weight: 700;
    color: rgba(201, 165, 111, 0.016);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    letter-spacing: -0.04em;
}
body.dark-theme .bg-giant-text {
    color: rgba(255, 255, 255, 0.008);
}

/* 写意书法偏心金线 */
.poetic-line {
    position: relative;
    display: inline-block;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    width: 140px;
    margin-block: 20px;
}
.poetic-line.vertical {
    width: 1px;
    height: 90px;
    background: linear-gradient(180deg, var(--gold), transparent);
    display: block;
    margin: 0 auto;
}

/* ── 🏺 朱砂红传统泽亨印章 ── */
.zeheng-seal {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 52px;
    background: #c0392b;
    color: #fef9f1 !important;
    font-family: var(--serif);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: normal;
    text-align: center;
    border: 1px solid #fef9f1;
    box-shadow: 0 0 0 1px #c0392b;
    padding-block: 4px;
    user-select: none;
    pointer-events: none;
    writing-mode: vertical-rl;
    text-orientation: upright;
    transition: all 0.3s ease;
}
body.dark-theme .zeheng-seal {
    background: #a92a1e;
    box-shadow: 0 0 0 1px #a92a1e;
    color: #f5f0e8 !important;
    border-color: #f5f0e8;
}

/* 拼贴容器 */
.collage-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: center;
}

.collage-media {
    grid-column: span 7;
    position: relative;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(7, 17, 27, 0.12);
}
body.dark-theme .collage-media {
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4);
}

.collage-text-card {
    grid-column: 7 / span 6;
    background: var(--paper);
    border: 1px solid rgba(201, 165, 111, 0.22);
    padding: clamp(24px, 4vw, 56px);
    position: relative;
    z-index: 2;
    margin-left: -64px;
    box-shadow: 15px 15px 40px rgba(7, 17, 27, 0.06);
    transition: all 0.4s ease;
}
body.dark-theme .collage-text-card {
    background: var(--paper-low);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 960px) {
    .grid-editorial, .grid-editorial-reverse {
        grid-template-columns: 1fr;
    }
    .collage-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .collage-text-card {
        margin-left: 0;
        padding: 24px;
    }
}
