/* ============================================================
   四川拓泰律师事务所 · 2026 改版基线
   方案 A「静奢编辑风」—— 首页与四类详情页共用
   仅包含首页 / 服务 / 律师 / 案例 / 资讯 需要的样式
   ============================================================ */

:root {
    --ink: #14110D;
    --ink-2: #2B261E;
    --paper: #F7F4EC;
    --paper-2: #EFEAE0;
    --card: #FCFAF5;
    --sand: #E8E1D2;
    --line: rgba(20, 17, 13, .16);
    --line-2: rgba(20, 17, 13, .08);
    --gold: #9A7B2F;
    --gold-l: #C3A76B;
    --muted: #6E6656;
    --red: #8A2E26;
    --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", Georgia, serif;
    --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --max: 1200px;
    --body: 720px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--gold-l); color: var(--ink); }

/* 纸张颗粒：只做气氛，不干扰阅读 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: .16;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

.tt-wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }

.tt-skip {
    position: fixed;
    left: -9999px;
    top: 12px;
    z-index: 9999;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
    letter-spacing: .1em;
}
.tt-skip:focus { left: 16px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tt-eyebrow {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    line-height: 1.6;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
}

.tt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    font-size: 12px;
    letter-spacing: .14em;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tt-btn:hover { background: transparent; color: var(--ink); }

.tt-btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.tt-btn-ghost:hover { border-color: var(--ink); }

.tt-btn-gold {
    background: transparent;
    color: var(--gold-l);
    border-color: var(--gold-l);
}
.tt-btn-gold:hover { background: var(--gold-l); color: #17140F; }

/* 图片占位：没有可用图时使用，避免出现假照片 */
.tt-ph {
    position: relative;
    background:
        repeating-linear-gradient(135deg, rgba(20, 17, 13, .09) 0 1px, transparent 1px 9px),
        linear-gradient(160deg, #E9E3D6, #D8D1C2);
}
.tt-ph::before {
    content: "";
    position: absolute;
    top: 10px; right: 10px;
    width: 12px; height: 12px;
    border-top: 1px solid rgba(20, 17, 13, .28);
    border-right: 1px solid rgba(20, 17, 13, .28);
}
.tt-ph::after {
    content: attr(data-label);
    position: absolute;
    left: 14px; right: 14px; bottom: 12px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .08em;
    color: rgba(20, 17, 13, .45);
}

/* ============================================================
   导航
   ============================================================ */
.tt-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 244, 236, .6);
    -webkit-backdrop-filter: blur(9px) saturate(1.08);
    backdrop-filter: blur(9px) saturate(1.08);
    border-bottom: 1px solid var(--line-2);
}
.tt-nav-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 64px;
}
.tt-logo { display: flex; align-items: center; flex-shrink: 0; }
.tt-logo img { height: 40px; width: auto; }
.tt-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    font-size: 12.5px;
    letter-spacing: .08em;
    white-space: nowrap;
}
.tt-nav-links a {
    position: relative;
    padding: 3px 0;
    color: var(--ink-2);
    transition: color .2s ease;
}
.tt-nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.tt-nav-links a:hover { color: var(--gold); }
.tt-nav-links a:hover::after,
.tt-nav-links a.is-active::after { transform: scaleX(1); }
.tt-nav-links a.is-active { color: var(--ink); }

.tt-nav-cta {
    flex-shrink: 0;
    padding: 3px 0;
    color: var(--ink-2);
    font-size: 12.5px;
    letter-spacing: .08em;
    white-space: nowrap;
    transition: color .2s ease;
}
.tt-nav-cta:hover { color: var(--gold); }

.tt-nav-toggle {
    display: none;
    position: relative;
    width: 40px; height: 40px;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 0;
}
.tt-nav-toggle span {
    position: absolute;
    left: 9px;
    width: 22px; height: 1px;
    background: var(--ink);
    transition: transform .25s ease, top .25s ease;
}
.tt-nav-toggle span:nth-child(1) { top: 16px; }
.tt-nav-toggle span:nth-child(2) { top: 23px; }
.tt-nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.tt-nav-toggle.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.tt-nav-mobile {
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: var(--paper);
    transition: max-height .3s ease;
}
.tt-nav-mobile a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
    letter-spacing: .08em;
}
.tt-nav-mobile .tt-nav-mobile-cta {
    margin-top: 10px;
    text-align: left;
    color: var(--gold);
    border-bottom: 0;
    font-size: 13px;
    letter-spacing: .1em;
}
.tt-nav-mobile.is-open { max-height: 78vh; }

/* ============================================================
   首页 · 首屏（斜切双屏）
   ============================================================ */
.tt-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(88vh, 820px);
    padding: 130px 0 90px;
    overflow: hidden;
    background: var(--paper);
}
/* 斜切底衬：图片后方的沙色斜带，增加层次 */
.tt-hero-media-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 68%;
    background: var(--sand);
    clip-path: polygon(37% 0, 100% 0, 100% 100%, 4% 100%);
}
/* 斜切图片：右上出血到屏幕边缘 */
.tt-hero-media {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 64%;
    clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
}
.tt-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: left 46%;
    filter: grayscale(.12) saturate(.94);
}
.tt-hero-inner { position: relative; z-index: 2; width: 100%; }
.tt-hero-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(56px, 7.2vw, 104px);
    line-height: 1.06;
    letter-spacing: .02em;
    margin: 18px 0 26px;
}
.tt-hero-title em {
    display: block;
    font-style: normal;
    color: var(--gold);
}
/* 四组关键词：衬线大字 + 金点分隔 */
.tt-hero-words {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 0 0 36px;
    padding: 0 0 0 2px;
    list-style: none;
}
.tt-hero-words li {
    position: relative;
    padding: 0 26px;
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .3em;
    color: var(--ink);
}
.tt-hero-words li:first-child { padding-left: 0; }
.tt-hero-words li:last-child { padding-right: 0; }
.tt-hero-words li + li::before {
    content: "";
    position: absolute;
    left: -2px; top: 55%;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
}
.tt-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .05em;
    color: var(--muted);
    line-height: 1.7;
    max-width: 470px;
}
/* 首屏地址可点击，跳百度地图 */
.tt-hero-meta a { color: inherit; transition: color .2s ease; }
.tt-hero-meta a:hover { color: var(--gold); }
.tt-hero-caption {
    position: absolute;
    right: 40px; bottom: 26px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .22em;
    color: rgba(247, 244, 236, .8);
    text-shadow: 0 1px 4px rgba(20, 17, 13, .45);
}

/* 荣誉条 */
.tt-honors-band {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.tt-honors {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 15px 0;
    overflow: hidden;
}
.tt-honors-label {
    flex-shrink: 0;
    padding-right: 24px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--gold);
    border-right: 1px solid var(--line);
    white-space: nowrap;
}
.tt-honors-viewport { flex: 1; overflow: hidden; }
.tt-honors-track {
    display: flex;
    width: max-content;
    animation: ttMarquee 48s linear infinite;
}
.tt-honors:hover .tt-honors-track { animation-play-state: paused; }
.tt-honors-set { display: flex; align-items: center; }
.tt-honors-item {
    font-size: 12px;
    color: var(--ink-2);
    letter-spacing: .02em;
    white-space: nowrap;
    padding: 0 26px;
    position: relative;
}
.tt-honors-item::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--gold-l);
}
@keyframes ttMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 所训释义：沙色底双栏，标题与释义共用同一垂直中线 */
.tt-motto {
    padding: 64px 0 68px;
    background: var(--sand);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.tt-motto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.tt-motto-item { text-align: center; }
.tt-motto-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 34px);
    letter-spacing: .1em;
    margin: 0 0 16px;
}
.tt-motto-text {
    font-size: 15px;
    line-height: 2;
    color: var(--ink-2);
    max-width: 32em;
    margin: 0 auto;
}

/* 通用区块 */
.tt-section { padding: 92px 0; }
.tt-section-line {
    border-top: 1px solid var(--line-2);
    /* 板块交接：分界线下柔和内影 + 顶部一线高光，像纸层叠压 */
    box-shadow: inset 0 22px 28px -28px rgba(20, 17, 13, .12);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 1px);
    background-repeat: no-repeat;
}
.tt-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}
.tt-sec-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.25;
    letter-spacing: .03em;
    margin: 10px 0 0;
}
.tt-sec-aside {
    max-width: 22em;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    text-align: right;
}
.tt-sec-link {
    flex-shrink: 0;
    font-size: 11.5px;
    letter-spacing: .12em;
    color: var(--gold);
    border-bottom: 1px solid rgba(154, 123, 47, .4);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}
.tt-sec-link:hover { color: var(--ink); border-color: var(--ink); }

/* 关于我们 */
.tt-about-grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 56px;
    align-items: stretch;
}
.tt-about-media {
    height: 100%;
    overflow: hidden;
    background: var(--sand);
    box-shadow:
        0 1px 2px rgba(20, 17, 13, .08),
        0 12px 28px -8px rgba(20, 17, 13, .16),
        0 32px 64px -24px rgba(20, 17, 13, .22);
    transition: transform .45s ease, box-shadow .45s ease;
}
.tt-about-media:hover {
    transform: translateY(-6px);
    box-shadow:
        0 2px 4px rgba(20, 17, 13, .08),
        0 18px 36px -8px rgba(20, 17, 13, .18),
        0 44px 80px -24px rgba(20, 17, 13, .26);
}
.tt-about-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.2) saturate(.9);
}
.tt-about-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.3;
    letter-spacing: .03em;
    margin: 12px 0 22px;
}
.tt-about-copy p {
    font-size: 16px;
    line-height: 1.95;
    color: var(--ink-2);
    margin: 0 0 18px;
    max-width: 40em;
    text-indent: 2em;
}
.tt-about-sig {
    margin-top: 26px;
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .12em;
    color: var(--gold);
}

/* 专业领域索引 */
/* 专业领域：与上一板块的轻区分——顶部暖调渐变 + 分界线下柔和内影 */
.tt-section-svc {
    background: linear-gradient(180deg, #FAF8F1 0%, var(--paper) 320px);
    box-shadow: inset 0 30px 38px -34px rgba(20, 17, 13, .14);
}
.tt-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
}
.tt-svc-row {
    position: relative;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: baseline;
    gap: 14px;
    padding: 19px 0 19px 20px;
    margin-left: -20px;
    border-bottom: 1px solid var(--line);
    transition: background .25s ease, border-color .25s ease;
}
/* 左侧金色刻度线：悬停时生长 */
.tt-svc-row::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--gold);
    transform: scaleY(0);
    transition: transform .3s cubic-bezier(.22, .8, .3, 1);
}
.tt-svc-row:hover {
    background: linear-gradient(90deg, rgba(154, 123, 47, .06), rgba(154, 123, 47, 0) 62%);
    border-color: var(--gold);
}
.tt-svc-row:hover::before { transform: scaleY(1); }

/* 滚动入场：逐行浮现（无 JS 时保持原样可见） */
.tt-services.js-svc .tt-svc-row { opacity: 0; translate: 0 18px; }
.tt-services.js-svc .tt-svc-row.is-in {
    opacity: 1;
    translate: 0 0;
    transition:
        opacity .55s ease,
        translate .55s cubic-bezier(.22, .8, .3, 1),
        background .25s ease,
        border-color .25s ease;
}
.tt-svc-idx {
    font-family: var(--mono);
    font-size: 10.5px;
    color: var(--gold);
    letter-spacing: .04em;
}
.tt-svc-name {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: .03em;
    transition: transform .25s ease, letter-spacing .25s ease;
}
.tt-svc-row:hover .tt-svc-name { transform: translateX(8px); letter-spacing: .06em; }
.tt-svc-arrow {
    font-size: 13px;
    color: var(--muted);
    transition: transform .2s ease, color .2s ease;
}
.tt-svc-row:hover .tt-svc-arrow { transform: translateX(4px); color: var(--gold-l); }

/* 资讯 */
.tt-news-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 56px;
    align-items: start;
}
.tt-feature { display: block; }
.tt-feature-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sand);
    margin-bottom: 18px;
}
.tt-feature-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.22) saturate(.9);
    transition: filter .4s ease, transform .6s ease;
}
.tt-feature:hover .tt-feature-media img { filter: grayscale(0); transform: scale(1.03); }
.tt-feature-cat {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--gold);
}
.tt-feature-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(22px, 2.4vw, 29px);
    line-height: 1.45;
    letter-spacing: .02em;
    margin: 10px 0 12px;
    display: flex;
    align-items: baseline;
    gap: 0;
}
/* 头条标题里的标签，与列表共用同一套固定宽度 */
.tt-feature-title .tt-news-tag-inline { color: var(--gold); }
.tt-feature-excerpt {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tt-feature-date, .tt-news-date {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--muted);
}
.tt-news-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.tt-news-item {
    display: grid;
    grid-template-columns: 78px 1fr 16px;
    gap: 18px;
    align-items: baseline;
    padding: 17px 0;
    border-top: 1px solid var(--line-2);
    transition: transform .2s ease;
}
.tt-news-item:hover { transform: translateX(4px); }
.tt-news-item:last-child { border-bottom: 1px solid var(--line-2); }
.tt-news-title { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
/* 标签与正文分离：标签固定宽度、正文块级占剩余，换行时第二行与正文首行左缘对齐 */
.tt-news-title { display: flex; align-items: baseline; gap: 0; }
.tt-news-tag-inline {
    flex-shrink: 0;
    width: 6.2em;            /* 足够放下【拓泰党建动态】之类最长标签 */
    color: var(--gold-l);
    letter-spacing: .02em;
}
.tt-news-title-body {
    flex: 1 1 auto;          /* 占满剩余空间，换行时从当前左缘折下 */
    min-width: 0;            /* 允许在 flex 容器里正常换行 */
}
.tt-news-arrow { font-size: 12px; color: var(--gold); }
.tt-news-all .tt-news-title { color: var(--gold); }
.tt-news-all .tt-news-date { color: var(--gold); }

/* 律师 */
.tt-law-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 律师双行交错滑动（首页） */
.tt-law-marquee {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 10px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tt-law-row { overflow: visible; }
.tt-law-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: tt-law-scroll 72s linear infinite;
}
.tt-law-row-rev .tt-law-track { animation-direction: reverse; }
.tt-law-row:hover .tt-law-track { animation-play-state: paused; }
.tt-law-marquee .tt-law-card { width: 208px; flex-shrink: 0; }
.tt-law-marquee .tt-law-card:hover { position: relative; z-index: 2; }
.tt-law-marquee .tt-law-card:hover .tt-law-media img {
    transform: scale(1.18);
    filter: saturate(1.22) contrast(1.05);
}
@keyframes tt-law-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .tt-law-track { animation: none; }
}

.tt-law-card { display: block; transform-origin: center center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.tt-law-card:hover { transform: scale(1.05); }
.tt-law-media {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--sand);
    margin-bottom: 14px;
    border: 1px solid transparent;
    transition: border-color .35s ease, box-shadow .35s ease;
}
.tt-law-card:hover .tt-law-media {
    border-color: rgba(154, 123, 47, .55);
    box-shadow: 0 20px 40px rgba(20, 17, 13, .22);
}
.tt-law-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(1.22) contrast(1.05);
    transition: filter .4s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.tt-law-card:hover .tt-law-media img { filter: saturate(1.22) contrast(1.05); transform: scale(1.12); }
.tt-law-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 52px;
    color: rgba(20, 17, 13, .32);
}
.tt-law-name {
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: .06em;
    line-height: 1.4;
    transition: color .3s ease;
}
.tt-law-card:hover .tt-law-name { color: var(--red); }
.tt-law-role {
    margin: 4px 0 6px;
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--gold);
}
.tt-law-specs { font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* 案例 */
.tt-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.tt-case-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line-2);
    transition: border-color .2s ease, transform .2s ease;
}
.tt-case-card:hover { border-color: rgba(154, 123, 47, .45); transform: translateY(-2px); }
.tt-case-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.tt-case-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.22) saturate(.9);
    transition: filter .4s ease;
}
.tt-case-card:hover .tt-case-media img { filter: grayscale(0); }
.tt-case-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tt-case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .06em;
    color: var(--gold);
    margin-bottom: 10px;
}
.tt-case-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.55;
    letter-spacing: .02em;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tt-case-excerpt {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tt-case-more { margin-top: auto; font-size: 11px; letter-spacing: .1em; color: var(--muted); }

/* 党建 */
.tt-party-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 56px;
    align-items: start;
}
.tt-party-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tt-party-collage > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tt-party-collage > :nth-child(2),
.tt-party-collage > :nth-child(3) { aspect-ratio: 1 / 1; }
.tt-party-collage .tt-ph { height: 100%; }
.tt-party-shot { overflow: hidden; background: var(--sand); }
.tt-party-shot img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.22) saturate(.9);
    transition: filter .4s ease, transform .6s ease;
}
.tt-party-shot:hover img { filter: grayscale(0); transform: scale(1.03); }
.tt-party-more { display: inline-block; margin-top: 20px; }
.tt-party-eyebrow { color: var(--red); }
.tt-party-rule { width: 36px; height: 1px; background: var(--red); margin: 16px 0 18px; }
.tt-party-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.3;
    letter-spacing: .04em;
    margin: 0 0 14px;
}
.tt-party-copy p { font-size: 15.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 16px; }
.tt-party-list { margin-top: 20px; }
.tt-party-item {
    display: grid;
    grid-template-columns: 84px 1fr 16px;
    gap: 14px;
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid var(--line-2);
    font-size: 14px;
}
.tt-party-item .d { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.tt-party-item .ar { font-size: 12px; color: var(--red); }
.tt-party-item:last-child { border-bottom: 1px solid var(--line-2); }

/* 联系 */
.tt-contact {
    position: relative;
    background:
        radial-gradient(90% 120% at 14% -10%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(80% 110% at 92% 108%, rgba(195, 167, 107, .18) 0%, rgba(195, 167, 107, 0) 62%),
        linear-gradient(158deg, #FAF6EC 0%, #F3EBDC 52%, #ECE0CC 100%);
    color: var(--ink);
    padding: 88px 0;
    overflow: hidden;
}
.tt-contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(154, 123, 47, .5) 32%, rgba(154, 123, 47, .5) 68%, transparent);
}
.tt-contact .tt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold);
}
.tt-contact .tt-eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: .65;
}
.tt-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: stretch;
}
.tt-contact-copy h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.25;
    letter-spacing: .04em;
    margin: 12px 0 26px;
}
.tt-contact-rows { border-top: 1px solid rgba(20, 17, 13, .16); }
.tt-contact-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(20, 17, 13, .16);
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(20, 17, 13, .76);
}
.tt-contact-row .k {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    color: var(--gold);
    padding-top: 2px;
}
.tt-contact-row a { color: inherit; transition: color .2s ease; }
.tt-contact-row a:hover { color: var(--red); }
.tt-contact-qr { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.tt-contact-qr img {
    width: 78px; height: 78px;
    object-fit: cover;
    border: 1px solid rgba(20, 17, 13, .18);
    background: #fff;
    padding: 3px;
}
.tt-contact-qr span { font-size: 10.5px; letter-spacing: .1em; color: rgba(20, 17, 13, .52); }
/* 二维码可点击弹出大图浮层 */
.tt-contact-qr a { display: block; flex-shrink: 0; transition: opacity .2s ease; }
.tt-contact-qr a:hover { opacity: .8; }

/* 公众号二维码浮层（纯 CSS :target，无 JS 依赖；不区分电脑/手机端，统一弹大图） */
.tt-qr-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(20, 17, 13, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}
.tt-qr-modal {
    position: fixed;
    top: 50%; left: 50%;
    z-index: 200;
    transform: translate(-50%, -48%) scale(.92);
    background: var(--paper);
    padding: 40px 48px 36px;
    box-shadow: 0 30px 80px rgba(20, 17, 13, .28);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease;
    text-align: center;
    max-width: calc(100vw - 32px);
}
.tt-qr-modal img {
    width: 320px; height: 320px;
    object-fit: contain;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line-2);
    margin: 0 auto 18px;
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 260px);
}
.tt-qr-modal-title {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: .08em;
    margin: 0 0 8px;
    color: var(--ink);
}
.tt-qr-modal-hint {
    margin: 0;
    font-size: 12.5px;
    letter-spacing: .04em;
    color: var(--muted);
    line-height: 1.8;
}
.tt-qr-modal-close {
    position: absolute;
    top: 10px; right: 14px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    color: var(--muted);
    border: 1px solid var(--line-2);
    transition: color .2s ease, border-color .2s ease;
}
.tt-qr-modal-close:hover { color: var(--ink); border-color: var(--ink); }
/* 锚点激活时显示 */
#wechat-modal:target.tt-qr-modal-overlay { opacity: 1; visibility: visible; }
#wechat-modal:target + .tt-qr-modal { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.tt-map {
    position: relative;
    min-height: 360px;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    transform: translateY(-6px);
    background:
        linear-gradient(#F4EDDD, #F4EDDD) padding-box,
        linear-gradient(135deg, rgba(195, 167, 107, .7) 0%, rgba(255, 255, 255, .95) 45%, rgba(154, 123, 47, .5) 100%) border-box;
    box-shadow:
        0 28px 56px -16px rgba(20, 17, 13, .25),
        0 10px 22px -8px rgba(20, 17, 13, .12),
        0 1px 0 rgba(255, 255, 255, .8) inset;
    transition: transform .35s ease, box-shadow .35s ease;
}
.tt-map:hover {
    transform: translateY(-9px);
    box-shadow:
        0 34px 64px -16px rgba(20, 17, 13, .28),
        0 12px 26px -8px rgba(20, 17, 13, .14),
        0 1px 0 rgba(255, 255, 255, .85) inset;
}
.tt-map::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%, rgba(195, 167, 107, .08) 100%);
    pointer-events: none;
}
.tt-map img {
    width: 100%; height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: 11px;
    filter: saturate(1.02) brightness(.98);
    transition: filter .4s ease;
}
.tt-map:hover img { filter: saturate(1.05) brightness(1.02); }
.tt-map-pin {
    position: absolute;
    left: 50%; top: 46%;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--gold-l);
    box-shadow: 0 0 0 7px rgba(195, 167, 107, .22);
    pointer-events: none;
}
.tt-map-label {
    position: absolute;
    left: 50%; top: 51%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .12em;
    color: rgba(20, 17, 13, .72);
    text-shadow: 0 1px 2px rgba(255, 255, 255, .85);
    white-space: nowrap;
    pointer-events: none;
}
.tt-map-link {
    position: absolute;
    z-index: 2;
    right: 12px; bottom: 12px;
    padding: 7px 13px;
    font-size: 10.5px;
    letter-spacing: .12em;
    border: 1px solid rgba(20, 17, 13, .35);
    color: #F5EDDD;
    background: rgba(20, 17, 13, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tt-map-link:hover { background: var(--gold); color: #FFF9EE; border-color: var(--gold); }

/* ---------- 党建板块：若隐若现的红旗背景 ---------- */
.tt-party-bg { position: relative; }
.tt-party-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("images/party-flag.jpg") center 32% / cover no-repeat;
    opacity: .08;
    pointer-events: none;
}
.tt-party-bg .tt-wrap { position: relative; z-index: 1; }

/* ---------- 案例聚焦（首页单案例轮播） ---------- */
.tt-case-spot-stage { display: grid; }
.tt-case-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    translate: 0 16px;
    transition: opacity .55s ease, translate .55s cubic-bezier(.22, .8, .3, 1), visibility 0s linear .55s;
}
.tt-case-slide.is-on {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity .55s ease, translate .55s cubic-bezier(.22, .8, .3, 1);
}
.tt-case-spot-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 2px;
    box-shadow:
        0 1px 2px rgba(20, 17, 13, .10),
        0 16px 32px -12px rgba(20, 17, 13, .24),
        0 44px 88px -28px rgba(20, 17, 13, .30);
}
.tt-case-spot-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.22) saturate(.92);
    transform: scale(1.05);
    transition: transform 1.1s cubic-bezier(.22, .8, .3, 1), filter .5s ease;
}
.tt-case-slide.is-on .tt-case-spot-media img { transform: scale(1); }
.tt-case-spot-media:hover img { filter: grayscale(0); }
.tt-case-spot-no {
    position: absolute;
    right: 18px;
    bottom: -6px;
    font-family: var(--mono);
    font-size: 88px;
    line-height: 1;
    color: var(--gold-l);
    opacity: .85;
    text-shadow: 0 2px 12px rgba(20, 17, 13, .35);
    pointer-events: none;
}
.tt-case-spot-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.45;
    letter-spacing: .02em;
    margin: 16px 0 14px;
}
.tt-case-spot-excerpt {
    font-size: 14px;
    line-height: 1.95;
    color: var(--muted);
    margin: 0 0 22px;
}
.tt-case-spot-ctl {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}
.tt-case-btn {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line-2);
    border-radius: 2px;
    color: var(--ink);
    font-size: 15px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tt-case-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(154, 123, 47, .05); }
.tt-case-spot-count {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .14em;
    color: var(--muted);
}
.tt-case-spot-count b { color: var(--gold); font-weight: 400; font-size: 15px; }
.tt-case-spot-count i { font-style: normal; margin: 0 8px; opacity: .5; }

/* 页脚 */
.tt-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 54px 0 30px; }
.tt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr 1.1fr;
    gap: 56px;
}
.tt-footer-brand b {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: .18em;
}
.tt-footer-brand span { display: block; margin: 6px 0 14px; font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.tt-footer-brand p { margin: 0; font-family: var(--serif); font-size: 15px; letter-spacing: .08em; color: var(--gold); }
.tt-footer-col h4 {
    margin: 0 0 16px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .16em;
    color: var(--gold);
}
.tt-footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--ink-2); }
.tt-footer-col ul a { transition: color .2s ease; }
.tt-footer-col ul a:hover { color: var(--gold); }
.tt-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 40px;
    padding-top: 18px;
    border-top: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .04em;
    color: var(--muted);
}

/* ============================================================
   详情页 · 共用壳
   ============================================================ */
.tt-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 26px 0 0;
    font-size: 11px;
    letter-spacing: .05em;
    color: var(--muted);
}
.tt-crumb a { transition: color .2s ease; }
.tt-crumb a:hover { color: var(--gold); }
.tt-crumb .sep { color: rgba(20, 17, 13, .3); }
.tt-crumb .cur { color: var(--gold); }

.tt-detail-hero { padding: 30px 0 42px; border-bottom: 1px solid var(--line-2); }
.tt-detail-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(34px, 4.4vw, 54px);
    line-height: 1.2;
    letter-spacing: .03em;
    margin: 14px 0 18px;
    max-width: 22em;
    display: flex;
    align-items: baseline;
    gap: 0;
}
/* 详情页标题里的标签，与首页共用同一套固定宽度；详情页字号大，标签用深金更稳 */
.tt-detail-title .tt-news-tag-inline { color: var(--gold); }
/* 所有详情页标题保持左对齐（标签与上方眉标、下方 meta 左缘对齐） */
.tt-detail-sub {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 36em;
    margin: 0 0 22px;
}
.tt-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--muted);
}

.tt-detail-body {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 90px;
    padding: 54px 0 76px;
    align-items: start;
}
.tt-side { position: sticky; top: 96px; align-self: start; }
.tt-side-card {
    border: 1px solid var(--line-2);
    background: var(--card);
    padding: 18px;
    margin-bottom: 14px;
}
.tt-side-cap {
    margin-bottom: 12px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    color: var(--gold);
}
.tt-side-toc { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tt-side-toc li a {
    display: block;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--ink-2);
    transition: color .2s ease, transform .2s ease;
}
.tt-side-toc li a:hover { color: var(--gold); transform: translateX(3px); }
.tt-side-tel {
    display: block;
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: .02em;
    margin-bottom: 4px;
}
.tt-side-hours { font-size: 11px; line-height: 1.7; color: var(--muted); }
.tt-side-cta {
    display: block;
    margin-top: 14px;
    padding: 11px 0;
    text-align: center;
    background: var(--ink);
    color: var(--paper);
    font-size: 10.5px;
    letter-spacing: .16em;
    transition: background .2s ease, color .2s ease;
}
.tt-side-cta:hover { background: var(--gold); color: var(--paper); }

.tt-article { max-width: none; width: 100%; }
.tt-article .tt-news-cover,
.tt-article .tt-news-content,
.tt-article .tt-article-foot { width: 100%; margin-left: 0; margin-right: 0; }
.tt-article section { margin-bottom: 40px; }
.tt-article section:last-child { margin-bottom: 0; }
.tt-article-foot { margin-top: 38px; }
.tt-sec-no {
    margin-bottom: 5px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    color: var(--gold);
}
.tt-article h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 25px;
    line-height: 1.45;
    letter-spacing: .03em;
    margin: 0 0 14px;
}
/* 仅服务详情页：section 内 h2 更醒目（微增字重/字号，加上边距）；段落取消首行缩进，与标题左缘对齐 */
body.single-service .tt-article h2 {
    font-weight: 500;
    font-size: 28px;
    margin-top: 10px;
}
body.single-service .tt-article p { text-indent: 0; }
/* 服务优势单列列表不显示序号（红框内的 01） */
body.single-service .tt-list-single .tt-list-item i { display: none; }
body.single-service .tt-list-single .tt-list-item { gap: 0; }
.tt-article p { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 15px; text-indent: 2em; }
/* 列表项、引用、小标题不做首行缩进 */
.tt-article ul, .tt-article ol { padding-left: 1.6em; }
.tt-article li { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); margin: 0 0 8px; text-indent: 0; }
.tt-article h2, .tt-article h3, .tt-article h4, .tt-article blockquote { text-indent: 0; }
.tt-article p:last-child { margin-bottom: 0; }
.tt-quote {
    margin: 26px 0;
    padding: 10px 0;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.8;
    color: var(--gold);
}
.tt-list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.tt-list-single { display: flex; flex-direction: column; }
.tt-list-item {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--ink-2);
}
.tt-list-item i {
    flex-shrink: 0;
    font-style: normal;
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--gold);
    letter-spacing: .04em;
}
.tt-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tt-related-card {
    display: block;
    padding: 16px;
    border: 1px solid var(--line-2);
    background: var(--card);
    transition: border-color .2s ease, transform .2s ease;
}
.tt-related-card:hover { border-color: rgba(154, 123, 47, .45); transform: translateY(-2px); }
.tt-related-name {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: .03em;
    margin-bottom: 5px;
    color: var(--ink);
}
.tt-related-name .tt-news-tag-inline { color: var(--gold-l); font-size: 15px; }
.tt-related-desc { font-size: 11.5px; line-height: 1.7; color: var(--muted); }

.tt-cta-band { background: #17140F; color: #EFE9DB; }
.tt-cta-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.tt-cta-text {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: .04em;
    margin: 0;
}
.tt-cta-band .tt-btn { border-color: var(--gold-l); color: var(--gold-l); background: transparent; }
.tt-cta-band .tt-btn:hover { background: var(--gold-l); color: #17140F; }

/* ============================================================
   律师详情
   ============================================================ */
.tt-law-hero {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 96px;
    padding: 34px 0 46px;
    border-bottom: 1px solid var(--line-2);
    align-items: start;
}
.tt-law-portrait { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.tt-law-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) saturate(.9); }
.tt-law-portrait .tt-law-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--serif); font-size: 64px; color: rgba(20, 17, 13, .3); }
.tt-law-info .tt-detail-title { margin-top: 10px; margin-bottom: 6px; }
.tt-law-info .tt-law-role-lg {
    font-size: 12px;
    letter-spacing: .18em;
    color: var(--gold);
    margin-bottom: 18px;
}
.tt-law-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tt-law-tags span {
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--ink-2);
    border: 1px solid var(--line);
    padding: 4px 10px;
}
.tt-law-bio { max-width: 640px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.tt-law-bio p { margin: 0 0 13px; }
.tt-law-bio p:last-child { margin-bottom: 0; }

/* 律师详情：下方两栏与首屏肖像区共用同一栅格（280px 栏 + 96px 间距），
   侧卡在栏内居中——肖像与卡片垂直中线对齐，上下文字左缘对齐 */
.tt-lawyer-detail .tt-detail-body { grid-template-columns: 280px minmax(0, 1fr); gap: 96px; }
.tt-lawyer-detail .tt-side { width: 210px; margin: 0 auto; }

.tt-kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--line-2);
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--ink-2);
}
.tt-kv .k { color: var(--muted); flex-shrink: 0; }
.tt-kv .v { text-align: right; }

.tt-law-sec { margin-bottom: 36px; }
.tt-law-sec:last-child { margin-bottom: 0; }
.tt-law-sec h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 23px;
    line-height: 1.45;
    letter-spacing: .03em;
    margin: 0 0 14px;
}
.tt-timeline { border-left: 1px solid var(--line); padding-left: 22px; margin: 6px 0 0; }
.tt-timeline-item { position: relative; padding-bottom: 22px; }
.tt-timeline-item::before {
    content: "";
    position: absolute;
    left: -26px; top: 6px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
}
.tt-timeline-item:last-child { padding-bottom: 0; }
.tt-tl-year { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--gold); margin-bottom: 3px; }
.tt-tl-text { font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.tt-law-li {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
    line-height: 1.8;
    color: var(--ink-2);
}
.tt-law-li i { font-style: normal; color: var(--gold); font-size: 10px; }
.tt-law-cases { display: flex; flex-direction: column; }
.tt-law-case-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
    line-height: 1.8;
}
.tt-law-case-row span { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }

/* ============================================================
   案例详情
   ============================================================ */
.tt-case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 26px;
}
.tt-case-stat { padding: 20px 0 18px; border-right: 1px solid var(--line-2); }
.tt-case-stat:last-child { border-right: 0; }
.tt-case-stat small {
    display: block;
    margin-bottom: 5px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    color: var(--muted);
}
.tt-case-stat b {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: .02em;
}
/* 文末相关推荐：四类详情页共用 */
.tt-related {
    border-top: 1px solid var(--line-2);
    padding: 32px 0 76px;
}
.tt-related .tt-sec-head { margin-bottom: 28px; }
.tt-related .tt-sec-head h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(24px, 2.8vw, 32px);
    line-height: 1.3;
    letter-spacing: .03em;
    margin: 10px 0 0;
}
.tt-related-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 132px; }

/* ============================================================
   资讯详情
   ============================================================ */
.tt-news-progress {
    position: sticky;
    top: 64px;
    z-index: 95;
    height: 2px;
    background: var(--line-2);
}
.tt-news-progress i { display: block; width: 0; height: 2px; background: var(--gold); }

.tt-news-cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); margin: 0 0 34px; }
.tt-news-cover img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.18) saturate(.9); }
.tt-news-content { font-size: 16.5px; line-height: 1.95; color: var(--ink-2); }
.tt-news-content p { margin: 0 0 1.1em; text-indent: 2em; }
/* 图片、小标题、列表不做首行缩进 */
.tt-news-content img,
.tt-news-content h2, .tt-news-content h3, .tt-news-content h4,
.tt-news-content ul, .tt-news-content ol, .tt-news-content blockquote { text-indent: 0; }
.tt-news-content h2, .tt-news-content h3, .tt-news-content h4 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--ink);
    margin: 1.7em 0 .6em;
    line-height: 1.5;
}
.tt-news-content h2 { font-size: 26px; }
.tt-news-content h3 { font-size: 22px; }
.tt-news-content h4 { font-size: 19px; }
.tt-news-content img { width: 100%; height: auto; margin: 26px 0; }
.tt-news-content blockquote {
    margin: 26px 0;
    padding: 10px 0;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.8;
    color: var(--gold);
}
.tt-news-content ul, .tt-news-content ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.tt-news-content a { color: var(--gold); border-bottom: 1px solid rgba(154, 123, 47, .35); }

.tt-news-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 38px 0 0; }
.tt-news-tag {
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 4px 10px;
}

/* ============================================================
   归档页 · 共用壳
   ============================================================ */
.tt-archive-head {
    padding: 20px 0 34px;
    border-bottom: 1px solid var(--line);
}
.tt-archive-head-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
}
.tt-archive-head-main { min-width: 0; }
.tt-archive-title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: .05em;
    margin: 14px 0 16px;
}
.tt-archive-sub {
    max-width: 34em;
    margin: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--muted);
}
.tt-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--muted);
}
.tt-archive-tools {
    flex-shrink: 0;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.tt-archive-count {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--gold);
}

/* 归档页检索 */
.tt-search { position: relative; width: 100%; }
.tt-search-box { position: relative; }
.tt-search-input {
    width: 100%;
    padding: 9px 26px 9px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: .03em;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease;
}
.tt-search-input::placeholder { color: rgba(20, 17, 13, .38); }
.tt-search-input:focus { border-color: var(--gold); }
.tt-search-input::-webkit-search-cancel-button { display: none; }
.tt-search-mark {
    position: absolute;
    right: 2px;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}
.tt-search-mark::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 9px; height: 9px;
    border: 1px solid var(--muted);
    border-radius: 50%;
}
.tt-search-mark::after {
    content: "";
    position: absolute;
    right: 0; bottom: 1px;
    width: 6px; height: 1px;
    background: var(--muted);
    transform: rotate(45deg);
    transform-origin: right center;
}
.tt-search-drop {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 1px);
    z-index: 80;
    max-height: 320px;
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 20px 44px rgba(20, 17, 13, .14);
    display: none;
}
.tt-search-drop.is-open { display: block; }
.tt-search-item {
    display: block;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line-2);
    cursor: pointer;
}
.tt-search-item:last-child { border-bottom: 0; }
.tt-search-item.is-active { background: rgba(154, 123, 47, .08); }
.tt-search-item b {
    display: block;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .02em;
}
.tt-search-item small {
    display: block;
    margin-top: 3px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .06em;
    color: var(--gold);
}
.tt-search-item p {
    margin: 3px 0 0;
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tt-search-empty { padding: 18px 16px; font-size: 12px; color: var(--muted); text-align: center; }
mark { background: rgba(154, 123, 47, .22); color: var(--ink); padding: 0 1px; }

.tt-archive-body { padding: 36px 0 84px; }
.tt-empty {
    padding: 46px 0;
    border-top: 1px solid var(--line-2);
    border-bottom: 1px solid var(--line-2);
    font-size: 14px;
    color: var(--muted);
}

/* 归档 · 专业领域 */
.tt-arch-svc-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.tt-arch-svc {
    display: block;
    padding: 26px 0 28px;
    border-top: 1px solid var(--line);
    transition: transform .2s ease, border-color .2s ease;
}
.tt-arch-svc:hover { transform: translateX(5px); border-color: var(--gold); }
.tt-arch-svc-head { display: flex; align-items: baseline; gap: 14px; }
.tt-arch-svc-no {
    flex-shrink: 0;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    color: var(--gold);
}
.tt-arch-svc-title {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 23px;
    line-height: 1.45;
    letter-spacing: .04em;
}
.tt-arch-svc-desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.tt-arch-svc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 20px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.tt-arch-svc-list li { display: flex; gap: 7px; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); }
.tt-arch-svc-list li::before { content: "·"; color: var(--gold-l); }
.tt-arch-svc-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--gold);
    transition: color .2s ease;
}
.tt-arch-svc:hover .tt-arch-svc-more { color: var(--ink); }

/* 归档 · 专业律师 */
.tt-arch-law-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; }

/* 归档 · 党建 */
.tt-arch-party { display: flex; flex-direction: column; }
.tt-arch-party-main { min-width: 0; }
.tt-arch-party-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    transition: transform .2s ease;
}
.tt-arch-party-item:hover { transform: translateX(4px); }
.tt-arch-party-item:last-child { border-bottom: 1px solid var(--line); }
.tt-arch-party-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.tt-arch-party-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.25) saturate(.9);
    transition: filter .4s ease;
}
.tt-arch-party-item:hover .tt-arch-party-media img { filter: grayscale(0); }
.tt-arch-party-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .1em;
    color: var(--muted);
}
.tt-arch-party-cat {
    padding: 2px 8px;
    border: 1px solid rgba(138, 46, 38, .35);
    color: var(--red);
    letter-spacing: .08em;
}
.tt-arch-party-title {
    margin: 12px 0 10px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.45;
    letter-spacing: .03em;
}
.tt-arch-party-excerpt {
    max-width: 46em;
    margin: 0;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tt-arch-party-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 10.5px;
    letter-spacing: .12em;
    color: var(--red);
}

/* 详情 · 党建：沿用统一详情壳，仅把眉标与编号换成赤色，呼应党建板块 */
.tt-party-detail .tt-sec-no,
.tt-party-detail .tt-side-cap { color: var(--red); }
.tt-party-detail .tt-crumb .cur { color: var(--red); }
.tt-party-detail .tt-news-content blockquote { border-left-color: var(--red); }

/* 归档 · 资讯 */
.tt-arch-news { display: flex; flex-direction: column; }
.tt-arch-news-main { min-width: 0; }
.tt-arch-news-sec:first-child { margin-top: 0; }
.tt-arch-news-sec { margin-top: 46px; }
.tt-arch-news-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
}
.tt-arch-news-sec-head h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: .04em;
}
.tt-arch-news-sec-count {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--muted);
    white-space: nowrap;
}
.tt-arch-news-sec-count a { color: var(--gold); }
.tt-arch-news-sec-count a:hover { color: var(--ink); }
.tt-arch-news-item {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding: 26px 0;
    border-top: 1px solid var(--line);
    transition: transform .2s ease;
}
.tt-arch-news-item:hover { transform: translateX(4px); }
.tt-arch-news-item:last-child { border-bottom: 1px solid var(--line); }
.tt-arch-news-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.tt-arch-news-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.22) saturate(.9);
    transition: filter .4s ease;
}
.tt-arch-news-item:hover .tt-arch-news-media img { filter: grayscale(0); }
.tt-arch-news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .06em;
    color: var(--muted);
}
.tt-arch-news-wx { color: var(--gold); }
.tt-arch-news-title {
    margin: 10px 0 8px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.5;
    letter-spacing: .02em;
}
.tt-arch-news-excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页 */
.tt-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--line-2);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .04em;
}
.tt-pager a,
.tt-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line-2);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.tt-pager a:hover { border-color: var(--gold); color: var(--gold); }
.tt-pager .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tt-pager .dots { border: 0; }

/* ============================================================
   归档页 · 响应式
   ============================================================ */
@media (max-width: 960px) {
    .tt-archive-head-grid { flex-direction: column; align-items: flex-start; gap: 22px; }
    .tt-archive-tools { width: 100%; align-items: stretch; }
    .tt-archive-count { order: 2; }
    .tt-arch-svc-grid { grid-template-columns: 1fr; column-gap: 0; }
    .tt-arch-law-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
    .tt-arch-party-item { grid-template-columns: 1fr; gap: 18px; }
    .tt-arch-party-media { max-width: 420px; }
    .tt-arch-news-item { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; }
}

@media (max-width: 640px) {
    .tt-archive-title { font-size: 38px; }
    .tt-arch-svc-grid { grid-template-columns: 1fr; }
    .tt-arch-svc-list { grid-template-columns: 1fr; }
    .tt-arch-law-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .tt-arch-party-item { padding: 22px 0; }
    .tt-arch-news-item { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
    .tt-arch-news-media { max-width: 100%; aspect-ratio: 16 / 9; }
    .tt-pager { margin-top: 36px; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .tt-nav-links { gap: 18px; font-size: 12px; }
    .tt-law-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .tt-wrap { padding: 0 22px; }
    .tt-nav-links, .tt-nav-cta { display: none; }
    .tt-nav-toggle { display: block; }
    .tt-nav-mobile { display: flex; }
    .tt-stats-inner { padding: 0 22px; }

    .tt-about-grid, .tt-news-grid, .tt-party-grid, .tt-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .tt-about-media { height: auto; aspect-ratio: 4 / 3; }
    .tt-motto-grid { grid-template-columns: 1fr; gap: 36px; }
    /* 斜切收窄：图片改为底部横带，文字在上 */
    .tt-hero { display: block; min-height: 0; padding: 96px 0 340px; }
    .tt-hero-media-bg { display: none; }
    .tt-hero-media {
        top: auto; left: 0; right: 0; bottom: 0;
        width: 100%; height: 300px;
        clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%);
    }
    .tt-hero-title { font-size: clamp(48px, 9vw, 80px); }
    .tt-honors-label { padding-right: 18px; }
    .tt-section { padding: 68px 0; }
    .tt-sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .tt-sec-aside { text-align: left; max-width: 34em; }

    .tt-services { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; column-gap: 0; }
    .tt-law-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .tt-case-grid, .tt-related-grid { grid-template-columns: 1fr; }
    .tt-contact { padding: 64px 0; }
    .tt-map { min-height: 280px; }
    .tt-map img { min-height: 280px; }
    .tt-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .tt-footer-brand { grid-column: 1 / -1; }

    .tt-detail-body { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 60px; }
    .tt-side { position: static; }
    .tt-side-card { margin-bottom: 12px; }
    .tt-article { max-width: 100%; }
    .tt-related { padding: 36px 0 60px; }
    .tt-law-hero { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
    .tt-lawyer-detail .tt-detail-body { grid-template-columns: 1fr; gap: 36px; }
    .tt-lawyer-detail .tt-side { width: auto; margin: 0; }
    .tt-news-progress { top: 64px; }
}

@media (max-width: 640px) {
    .tt-hero { padding: 84px 0 260px; }
    .tt-hero-media { height: 220px; }
    .tt-hero-title { font-size: clamp(40px, 12vw, 56px); }
    .tt-hero-caption { right: 22px; bottom: 16px; }
    .tt-hero-words li { font-size: 17px; padding: 0 18px; letter-spacing: .22em; }
    .tt-hero-meta { font-size: 10px; }
    .tt-motto-title { font-size: 24px; }
    .tt-svc-name { font-size: 17px; }
    .tt-law-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .tt-law-marquee { gap: 18px; }
    .tt-law-marquee .tt-law-card { width: 150px; }
    .tt-law-track { gap: 16px; animation-duration: 48s; }
    .tt-law-name { font-size: 17px; }
    .tt-news-item { grid-template-columns: 64px 1fr 14px; gap: 12px; }
    .tt-news-title { font-size: 13.5px; }
    .tt-party-item { grid-template-columns: 72px 1fr 14px; }
    .tt-footer-grid { grid-template-columns: 1fr; }
    .tt-footer-brand { grid-column: auto; }

    .tt-detail-title { font-size: 32px; }
    .tt-list-2 { grid-template-columns: 1fr; }
    .tt-case-stats { grid-template-columns: 1fr 1fr 1fr; }
    .tt-case-stat b { font-size: 18px; }
    .tt-law-hero { grid-template-columns: 1fr; }
    .tt-law-portrait { max-width: 240px; }
    .tt-law-info .tt-detail-title { margin-top: 0; }
    .tt-timeline { margin-left: 2px; }
    .tt-cta-inner { padding: 28px 22px; }
    .tt-cta-text { font-size: 19px; }
}

/* 案例聚焦响应式 */
@media (max-width: 960px) {
    .tt-case-slide { grid-template-columns: 1fr; gap: 30px; }
    .tt-case-spot-media { aspect-ratio: 16 / 10; }
    .tt-case-spot-no { font-size: 64px; right: 14px; }
    .tt-case-spot-ctl { margin-top: 34px; }
}
@media (max-width: 640px) {
    .tt-case-spot-title { font-size: 22px; margin: 12px 0 10px; }
    .tt-case-spot-excerpt { font-size: 13px; margin-bottom: 16px; }
    .tt-case-spot-no { font-size: 52px; }
    .tt-case-btn { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tt-honors-track { animation: none; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
