/* ==========================================================================
   Taitang Hotel Supplies - Homepage redesign (tt-home)
   Scope: .tt-home only. Loaded after the legacy theme CSS so it wins.
   Palette: brand maroon #541c1e + brass + ivory (matches header/footer).
   ========================================================================== */

.tt-home {
    --tt-maroon: #541c1e;
    --tt-maroon-deep: #3d1315;
    --tt-maroon-ink: #24090b;
    --tt-brass: #b1854a;
    --tt-brass-soft: #d3a96f;
    --tt-brass-pale: #f2e6d2;
    /* brass applied to *text* on ivory/white (AA-safe) and the primary CTA fill */
    --tt-brass-ink: #8a5f24;
    --tt-brass-deep: #96662d;
    --tt-brass-deeper: #8a5c26;
    --tt-ivory: #faf7f2;
    --tt-warm: #f4eee5;
    --tt-surface: #ffffff;
    --tt-ink: #231a17;
    --tt-body: #5c4d46;
    --tt-muted: #75655c;
    --tt-line: #e6ded4;
    --tt-line-strong: #d5c9ba;
    --tt-ok: #2f6b4f;
    --tt-radius: 3px;
    --tt-shell: 75%;
    --tt-header-h: 110px;
    --tt-pad-y: clamp(16px, 3.4vh, 48px);
    --tt-ease: cubic-bezier(.22, .61, .36, 1);
    --tt-shadow-sm: 0 1px 2px rgba(36, 9, 11, .05);
    --tt-shadow-md: 0 18px 42px -28px rgba(36, 9, 11, .38);
    position: relative;
    width: 100%;
    color: var(--tt-body);
    background: var(--tt-ivory);
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.index-index-index { background-color: #faf7f2; }

.tt-home *,
.tt-home *::before,
.tt-home *::after { box-sizing: border-box; }

.tt-home h1, .tt-home h2, .tt-home h3, .tt-home h4, .tt-home p, .tt-home ul, .tt-home ol, .tt-home li, .tt-home figure {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tt-home a { color: inherit; text-decoration: none; }
.tt-home img { display: block; max-width: 100%; }
.tt-home button { font-family: inherit; }

/* ---------------------------------------------------------------- shell -- */
.tt-shell {
    width: var(--tt-shell);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------- panels -- */
.tt-home .tt-panel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--tt-header-h) + var(--tt-pad-y)) 0 var(--tt-pad-y);
    overflow: hidden;
}

.tt-panel--warm { background: var(--tt-warm); }
.tt-panel--ivory { background: var(--tt-ivory); }
.tt-panel--surface { background: var(--tt-surface); }

/* Panel head ------------------------------------------------------------- */
.tt-head { margin-bottom: clamp(14px, 2.5vh, 36px); }
.tt-head--center { text-align: center; }

.tt-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tt-brass-ink);
    font-weight: 600;
    margin-bottom: 12px;
}
.tt-head__eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--tt-brass-ink);
    opacity: .8;
}
.tt-head--center .tt-head__eyebrow::after {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--tt-brass-ink);
    opacity: .8;
}

.tt-head__title {
    font-size: clamp(24px, 2.5vw, 38px);
    line-height: 1.28;
    font-weight: 700;
    color: var(--tt-ink);
    letter-spacing: .01em;
    text-wrap: balance;
}
.tt-head__title em {
    font-style: normal;
    color: var(--tt-maroon);
}
.tt-head__sub {
    margin-top: 12px;
    font-size: 15px;
    color: var(--tt-muted);
    max-width: 68ch;
}
.tt-head--center .tt-head__sub { margin-left: auto; margin-right: auto; }
.tt-head__en {
    display: block;
    margin-top: 6px;
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: var(--tt-brass-ink);
    letter-spacing: .02em;
}

/* --------------------------------------------------------------- button -- */
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--tt-radius);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .32s var(--tt-ease), color .32s var(--tt-ease),
                border-color .32s var(--tt-ease), transform .32s var(--tt-ease);
}
.tt-btn--primary {
    background: var(--tt-brass-deep);
    border-color: rgba(255, 255, 255, .24);
    color: #fff;
    box-shadow: 0 12px 26px -18px rgba(36, 9, 11, .75);
}
.tt-btn--primary:hover {
    background: var(--tt-brass-deeper);
    border-color: rgba(255, 255, 255, .42);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -20px rgba(36, 9, 11, .85);
}
/* the hero photo runs bright in places, so the ghost buttons carry their own
   translucent plate instead of relying on the picture behind the label */
.tt-btn--ghost-light {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(16, 6, 6, .45);
    color: #fff;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.tt-btn--ghost-light:hover {
    background: rgba(16, 6, 6, .62);
    border-color: #fff;
    transform: translateY(-2px);
}
.tt-btn--outline { border-color: var(--tt-line-strong); color: var(--tt-ink); background: #fff; }
.tt-btn--outline:hover { border-color: var(--tt-maroon); color: var(--tt-maroon); transform: translateY(-2px); }
.tt-btn:active { transform: translateY(0) scale(.985); }
.tt-btn__arrow { transition: transform .32s var(--tt-ease); }
.tt-btn:hover .tt-btn__arrow { transform: translateX(4px); }

/* `.tt-home a { color: inherit }` outranks the single-class button rules, so the
   anchor variants restate their own colour — otherwise CTA labels inherit the
   body brown and vanish over the hero photo. */
.tt-home a.tt-btn--primary { color: #fff; }
.tt-home a.tt-btn--ghost-light { color: #fff; }
.tt-home a.tt-btn--outline { color: var(--tt-ink); }
.tt-home a.tt-quicklink { color: var(--tt-ink); }

.tt-home { overflow-x: clip; }
.tt-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.tt-home a:focus-visible,
.tt-home button:focus-visible,
.tt-home input:focus-visible,
.tt-home textarea:focus-visible {
    outline: 2px solid var(--tt-brass);
    outline-offset: 3px;
}

/* --------------------------------------------------------- reveal anim -- */
/* Pre-hidden state is scoped to html.tt-js (set by an inline script in the head),
   so a blocked or broken script leaves every section fully visible. */
.tt-js .tt-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .78s var(--tt-ease), transform .78s var(--tt-ease);
    transition-delay: var(--tt-delay, 0ms);
}
.tt-js .tt-reveal.tt-in { opacity: 1; transform: none; }
.tt-js .tt-reveal--left { transform: translateX(-20px); }
.tt-js .tt-reveal--left.tt-in { transform: none; }
.tt-js .tt-reveal--right { transform: translateX(20px); }
.tt-js .tt-reveal--right.tt-in { transform: none; }
.tt-js .tt-reveal--scale { transform: scale(.965); }
.tt-js .tt-reveal--scale.tt-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .tt-js .tt-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .tt-home *, .tt-hero__bg img { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------------------ progress -- */
.tt-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--tt-maroon), var(--tt-brass-soft));
    z-index: 1000;
    transition: width .18s linear;
    pointer-events: none;
}

/* ---------------------------------------------------------------- rail -- */
.tt-rail {
    position: fixed;
    right: clamp(14px, 2vw, 30px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: none;
    flex-direction: column;
    gap: 2px;
}
.tt-rail__item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 30px;
    padding: 8px 0;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--tt-muted);
}
.tt-rail__label {
    font-size: 12px;
    letter-spacing: .04em;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .3s var(--tt-ease), transform .3s var(--tt-ease), color .3s var(--tt-ease);
    white-space: nowrap;
}
.tt-rail__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(84, 28, 30, .22);
    transition: background-color .3s var(--tt-ease), transform .3s var(--tt-ease);
    flex: none;
}
.tt-rail__item:hover .tt-rail__label,
.tt-rail__item:focus-visible .tt-rail__label { opacity: 1; transform: none; }
.tt-rail__item:hover .tt-rail__dot { background: var(--tt-maroon); }
.tt-rail__item.is-active .tt-rail__dot {
    background: var(--tt-maroon);
    transform: scale(1.5);
}
.tt-rail__item.is-active .tt-rail__label { opacity: 1; transform: none; color: var(--tt-maroon); font-weight: 600; }

.tt-rail--on-dark .tt-rail__dot { background: rgba(255, 255, 255, .3); }
.tt-rail--on-dark .tt-rail__label { color: rgba(255, 255, 255, .8); }
.tt-rail--on-dark .tt-rail__item.is-active .tt-rail__dot { background: var(--tt-brass-soft); }
.tt-rail--on-dark .tt-rail__item.is-active .tt-rail__label { color: #fff; }

@media (min-width: 1100px) and (min-height: 640px) {
    .tt-rail { display: flex; }
}

/* ----------------------------------------------------------- hero base -- */
.tt-home .tt-hero {
    position: relative;
    padding: 0;
    justify-content: flex-start;
    overflow: hidden;
    background: var(--tt-maroon-ink);
}
.tt-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.tt-hero__bg .swiper,
.tt-hero__bg .swiper-wrapper,
.tt-hero__bg .swiper-slide { width: 100%; height: 100%; }
.tt-hero__bg .swiper-slide { overflow: hidden; }
.tt-hero__bg .tt-hero__scene {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 9s var(--tt-ease);
}
.tt-hero__bg .swiper-slide-active .tt-hero__scene { transform: scale(1.0); }

/* generated product lineup: transparent WebP, anchored right and vertically centred */
.tt-hero__products {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: min(38vw, 560px);
    display: grid;
    place-items: center;
    pointer-events: none;
}
.tt-hero__product {
    grid-area: 1 / 1;
    width: 100%;
    height: auto;
    align-self: flex-start;
    opacity: 0;
    transition: opacity 1.1s var(--tt-ease);
}
.tt-hero__product--1 { opacity: 1; }
.tt-hero[data-slide="0"] .tt-hero__product--1,
.tt-hero[data-slide="1"] .tt-hero__product--2,
.tt-hero[data-slide="2"] .tt-hero__product--3 { opacity: 1; }
.tt-hero[data-slide="1"] .tt-hero__product--1,
.tt-hero[data-slide="2"] .tt-hero__product--1,
.tt-hero[data-slide="0"] .tt-hero__product--2,
.tt-hero[data-slide="2"] .tt-hero__product--2,
.tt-hero[data-slide="0"] .tt-hero__product--3,
.tt-hero[data-slide="1"] .tt-hero__product--3 { opacity: 0; }

.tt-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* grand hotel photo underneath: dark enough at top/bottom for text and controls,
       lighter across the middle so the product display reads clearly */
    background:
        linear-gradient(to bottom, rgba(12, 6, 5, .74) 0%, rgba(12, 6, 5, .46) 30%, rgba(12, 6, 5, .30) 50%, rgba(12, 6, 5, .46) 72%, rgba(8, 4, 3, .82) 100%),
        radial-gradient(130% 80% at 50% 44%, rgba(8, 4, 3, .06) 0%, rgba(8, 4, 3, .46) 100%);
}
.tt-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .5;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .034) 0 1px, transparent 1px 3px);
}

.tt-hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding-top: calc(var(--tt-header-h) + 12px);
    /* keep clear of the slider controls pinned to the panel bottom */
    padding-bottom: clamp(84px, 11vh, 118px);
}
.tt-hero__top { display: flex; flex-direction: column; align-items: flex-start; }

.tt-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    padding: 8px 16px;
    border: 1px solid rgba(211, 169, 111, .45);
    border-radius: 100px;
    background: rgba(20, 6, 7, .55);
    color: var(--tt-brass-pale);
    font-size: 12.5px;
    letter-spacing: .14em;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}
.tt-hero__eyebrow b { color: #fff; font-weight: 600; letter-spacing: .06em; }

.tt-hero__title {
    margin-top: 22px;
    max-width: 760px;
    font-size: clamp(32px, 4.4vw, 62px);
    line-height: 1.12;
    text-wrap: balance;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    text-shadow: 0 2px 26px rgba(0, 0, 0, .45);
}
.tt-hero__title span {
    position: relative;
    color: var(--tt-brass-soft);
    white-space: nowrap;
}
.tt-hero__title span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, rgba(211, 169, 111, .1), var(--tt-brass-soft) 40%, rgba(211, 169, 111, .1));
    transform-origin: left center;
    animation: tt-underline 3.6s var(--tt-ease) infinite;
}
@keyframes tt-underline {
    0%, 100% { transform: scaleX(.55); opacity: .55; }
    50%      { transform: scaleX(1); opacity: 1; }
}

.tt-hero__en {
    margin-top: 14px;
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: clamp(14px, 1.4vw, 19px);
    color: rgba(242, 230, 210, .9);
    letter-spacing: .06em;
}
.tt-hero__lead {
    margin-top: 18px;
    max-width: 560px;
    font-size: clamp(14px, 1.1vw, 16.5px);
    line-height: 1.9;
    color: rgba(255, 255, 255, .94);
}
.tt-hero__lead b { color: #fff; font-weight: 600; }

.tt-hero__actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
}
.tt-hero__note {
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, .86);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.tt-hero__note i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ec08a;
    box-shadow: 0 0 0 4px rgba(110, 192, 138, .18);
    flex: none;
}

/* hero metrics ----------------------------------------------------------- */
.tt-hero__metrics {
    padding-top: clamp(14px, 2.2vh, 24px);
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    max-width: 560px;
}
.tt-metric__num {
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}
.tt-metric__num small { font-size: .48em; font-weight: 600; margin-left: 3px; color: var(--tt-brass-soft); }
.tt-metric__label {
    margin-top: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .88);
    letter-spacing: .04em;
}

.tt-hero__controls-inner { display: flex; align-items: center; gap: 18px; }

/* hero controls ---------------------------------------------------------- */
.tt-hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(20px, 4vh, 40px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
}
.tt-hero__bullets { display: flex; align-items: center; gap: 10px; }
.tt-hero__bullets .swiper-pagination-bullet {
    width: 30px;
    height: 2px;
    border-radius: 0;
    background: rgba(255, 255, 255, .42);
    opacity: 1;
    transition: background-color .4s var(--tt-ease), width .4s var(--tt-ease);
    margin: 0 !important;
}
.tt-hero__bullets .swiper-pagination-bullet-active { background: var(--tt-brass-soft); width: 52px; }
.tt-hero__nav { display: flex; gap: 8px; }
.tt-hero__nav button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: rgba(18, 5, 6, .3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: border-color .3s var(--tt-ease), background-color .3s var(--tt-ease);
}
.tt-hero__nav button:hover { border-color: var(--tt-brass-soft); background: rgba(211, 169, 111, .22); }
.tt-hero__nav svg { width: 16px; height: 16px; }

/* ================================================================ scope == */
.tt-scope__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.tt-scope-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 176px;
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    transition: border-color .4s var(--tt-ease), box-shadow .4s var(--tt-ease), transform .4s var(--tt-ease);
}
.tt-scope-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--tt-maroon);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .45s var(--tt-ease);
}
.tt-scope-card:hover {
    transform: translateY(-4px);
    border-color: var(--tt-line-strong);
    box-shadow: var(--tt-shadow-md);
}
.tt-scope-card:hover::before { transform: scaleY(1); }

.tt-scope-card__media {
    flex: 0 0 45%;
    overflow: hidden;
    background: var(--tt-warm);
}
.tt-scope-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--tt-ease), filter .6s var(--tt-ease);
}
.tt-scope-card:hover .tt-scope-card__media img { transform: scale(1.07); }

.tt-scope-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 20px 20px 18px 20px;
    display: flex;
    flex-direction: column;
}
.tt-scope-card__index {
    font-family: Cotta_Free, Georgia, serif;
    font-size: 13px;
    color: var(--tt-brass-ink);
    letter-spacing: .1em;
    margin-bottom: 8px;
}
.tt-scope-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tt-ink);
    line-height: 1.35;
}
.tt-scope-card__en {
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: 12.5px;
    color: var(--tt-muted);
    margin-top: 3px;
}
.tt-scope-card__desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--tt-body);
}
.tt-scope-card__more {
    margin-top: auto;
    padding-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tt-maroon);
    letter-spacing: .04em;
}
.tt-scope-card__more i {
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: width .4s var(--tt-ease);
}
.tt-scope-card:hover .tt-scope-card__more i { width: 30px; }

/* =============================================================== scenes == */
.tt-scenes__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.tt-scene {
    position: relative;
    display: block;
    min-height: clamp(300px, 42vh, 420px);
    border-radius: var(--tt-radius);
    overflow: hidden;
    background: var(--tt-maroon-ink);
    isolation: isolate;
}
.tt-scene img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.3s var(--tt-ease), opacity .6s var(--tt-ease);
    opacity: .8;
}
.tt-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 5, 6, .92) 6%, rgba(18, 5, 6, .42) 48%, rgba(18, 5, 6, .16) 100%);
    transition: opacity .5s var(--tt-ease);
    z-index: 1;
}
.tt-scene:hover img { transform: scale(1.08); opacity: .92; }
.tt-scene__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px;
}
.tt-scene__tag {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid rgba(211, 169, 111, .55);
    border-radius: 100px;
    background: rgba(16, 6, 6, .5);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    font-size: 12px;
    letter-spacing: .12em;
    color: #f7ece0;
    margin-bottom: 10px;
}
.tt-scene__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.tt-scene__en {
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-top: 4px;
}
.tt-scene__desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .55s var(--tt-ease), opacity .45s var(--tt-ease), margin-top .45s var(--tt-ease);
}
.tt-scene:hover .tt-scene__desc,
.tt-scene:focus-visible .tt-scene__desc { max-height: 120px; opacity: 1; }
.tt-scene__line {
    margin-top: 14px;
    height: 1px;
    background: rgba(255, 255, 255, .18);
    position: relative;
    overflow: hidden;
}
.tt-scene__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--tt-brass-soft);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .55s var(--tt-ease);
}
.tt-scene:hover .tt-scene__line::after { transform: scaleX(1); }

.tt-quicklinks {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.tt-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--tt-line-strong);
    border-radius: 100px;
    background: #fff;
    font-size: 13px;
    color: var(--tt-ink);
    transition: border-color .3s var(--tt-ease), color .3s var(--tt-ease), transform .3s var(--tt-ease);
}
.tt-quicklink:hover { border-color: var(--tt-maroon); color: var(--tt-maroon); transform: translateY(-2px); }
.tt-quicklink svg { width: 13px; height: 13px; }

/* =============================================================== matrix == */
/* 采购参数面板已从首页移除（2026-10）：以下 .tt-matrix* / .tt-stat* 规则暂时保留，
   需要恢复该面板时把模板里对应的 <section> 加回第 4 个位置即可。 */
.tt-matrix {
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
}
.tt-matrix table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.tt-matrix thead th {
    background: var(--tt-maroon);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-align: left;
    padding: 14px 20px;
    white-space: nowrap;
}
.tt-matrix tbody td {
    padding: 13px 20px;
    border-top: 1px solid var(--tt-line);
    color: var(--tt-body);
    vertical-align: middle;
}
.tt-matrix tbody tr { transition: background-color .3s var(--tt-ease); }
.tt-matrix tbody tr:hover { background: #fbf7f1; }
.tt-matrix tbody tr:nth-child(even) { background: #fdfbf8; }
.tt-matrix tbody tr:nth-child(even):hover { background: #fbf7f1; }
.tt-matrix tbody th {
    padding: 13px 20px;
    border-top: 1px solid var(--tt-line);
    text-align: left;
    font-weight: 700;
    color: var(--tt-ink);
    white-space: nowrap;
}
.tt-matrix tbody th span {
    display: block;
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
    color: var(--tt-muted);
    letter-spacing: .02em;
}
.tt-matrix__badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: var(--tt-brass-pale);
    color: #6b4d1d;
    white-space: nowrap;
}
.tt-matrix__note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--tt-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.7;
}
.tt-matrix__note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--tt-brass-ink); }

.tt-matrix__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}
.tt-stat {
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    background: linear-gradient(180deg, #fdfaf5 0%, #ffffff 72%);
    padding: 14px 16px;
}
.tt-stat__num { font-size: 22px; font-weight: 700; color: var(--tt-maroon); line-height: 1.2; font-variant-numeric: tabular-nums; }
.tt-stat__label { margin-top: 4px; font-size: 12.5px; color: var(--tt-muted); }

/* ============================================================== concept == */
.tt-concept {
    background:
        radial-gradient(120% 90% at 12% 0%, rgba(211, 169, 111, .16) 0%, transparent 58%),
        linear-gradient(160deg, #4a191b 0%, #2c0e10 58%, #1d0709 100%);
    color: rgba(255, 255, 255, .82);
}
.tt-concept .tt-head__title { color: #fff; }
.tt-concept .tt-head__sub { color: rgba(255, 255, 255, .62); }
.tt-concept .tt-head__eyebrow { color: var(--tt-brass-soft); }
.tt-concept .tt-head__eyebrow::before { background: var(--tt-brass-soft); }

.tt-concept__body {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
}
.tt-concept__quote {
    position: relative;
    padding-left: 26px;
    border-left: 2px solid var(--tt-brass);
}
.tt-concept__quote p {
    font-size: clamp(15px, 1.25vw, 17px);
    line-height: 2.05;
    color: rgba(255, 255, 255, .86);
    margin-bottom: 14px;
}
.tt-concept__quote p:last-child { margin-bottom: 0; }
.tt-concept__mark {
    font-family: Georgia, serif;
    font-size: 74px;
    line-height: .6;
    color: rgba(211, 169, 111, .4);
    margin-bottom: 6px;
}
.tt-concept__slogan {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .18em;
    color: var(--tt-brass-soft);
}

.tt-pillars { display: grid; gap: 14px; }
.tt-pillar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--tt-radius);
    background: rgba(255, 255, 255, .04);
    transition: border-color .4s var(--tt-ease), background-color .4s var(--tt-ease), transform .4s var(--tt-ease);
}
.tt-pillar:hover {
    border-color: rgba(211, 169, 111, .55);
    background: rgba(211, 169, 111, .09);
    transform: translateX(4px);
}
.tt-pillar__icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(211, 169, 111, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--tt-brass-soft);
    background: rgba(211, 169, 111, .10);
}
.tt-pillar__icon svg { width: 21px; height: 21px; }
.tt-pillar__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.tt-pillar__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    min-width: 0;
}
.tt-pillar__label { display: block; flex: none; margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--tt-brass-soft); }
.tt-pillar__title { display: block; min-width: 0; margin: 0; font-size: 17px; line-height: 1.4; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.tt-pillar__desc { display: block; margin: 0; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .66); }

/* ================================================= about + history ====== */
.tt-about__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: clamp(26px, 3.4vw, 56px);
    align-items: start;
}
.tt-about__lead {
    font-size: 15.5px;
    line-height: 2.02;
    color: var(--tt-body);
}
.tt-about__lead strong { color: var(--tt-maroon); font-weight: 700; }
.tt-about__facts {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}
.tt-fact {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--tt-body);
}
.tt-fact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--tt-ok); }

.tt-history { position: relative; }

.tt-history .swiper { overflow: visible; padding: 4px 0 0; }
.tt-history .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    transform: none !important;
}
.tt-history .swiper-slide {
    width: auto !important;
    height: auto;
    margin-right: 0 !important;
}
.tt-tl-card {
    position: relative;
    height: 100%;
    min-width: 0;
    padding: 17px 15px 19px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-top: 3px solid var(--tt-maroon);
    border-radius: var(--tt-radius);
    transition: border-color .4s var(--tt-ease), box-shadow .4s var(--tt-ease), transform .4s var(--tt-ease);
}
.tt-tl-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tt-shadow-md);
    border-color: var(--tt-line-strong);
    border-top-color: var(--tt-brass);
}
.tt-tl-card__year {
    font-family: Cotta_Free, Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--tt-maroon);
    letter-spacing: .02em;
    line-height: 1;
}
.tt-tl-card__en {
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--tt-muted);
    margin-top: 4px;
}
.tt-tl-card__rule { width: 24px; height: 2px; background: var(--tt-line-strong); margin: 11px 0 10px; }
.tt-tl-card__text { font-size: 12.5px; line-height: 1.75; color: var(--tt-body); overflow-wrap: anywhere; }
.tt-tl-card__text em { font-style: normal; color: var(--tt-maroon); font-weight: 600; }

@media (max-width: 680px) {
    .tt-history .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
    .tt-history .swiper-wrapper { grid-template-columns: minmax(0, 1fr); }
}

/* ================================================================ cases == */
.tt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.tt-tab {
    padding: 9px 20px;
    border: 1px solid var(--tt-line-strong);
    border-radius: 100px;
    background: #fff;
    font-size: 13.5px;
    color: var(--tt-body);
    cursor: pointer;
    transition: border-color .3s var(--tt-ease), color .3s var(--tt-ease), background-color .3s var(--tt-ease);
}
.tt-tab:hover { border-color: var(--tt-maroon); color: var(--tt-maroon); }
.tt-tab.is-active {
    background: var(--tt-maroon);
    border-color: var(--tt-maroon);
    color: #fff;
    font-weight: 600;
}

.tt-cases__panel { display: none; }
.tt-cases__panel.is-active { display: block; animation: tt-fade .5s var(--tt-ease) both; }
@keyframes tt-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.tt-cases__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 16px;
}
.tt-cases__side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tt-cases__side--two { grid-template-columns: minmax(0, 1fr); }
.tt-cases__side--three .tt-case--small:last-child { grid-column: 1 / -1; }
.tt-case {
    position: relative;
    display: block;
    border-radius: var(--tt-radius);
    overflow: hidden;
    background: var(--tt-maroon-ink);
    isolation: isolate;
}
.tt-case--feature { min-height: clamp(300px, 44vh, 420px); }
.tt-case--small { min-height: clamp(142px, 21vh, 200px); }
.tt-case img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.25s var(--tt-ease), opacity .5s var(--tt-ease);
    opacity: .86;
}
.tt-case::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(18, 5, 6, .88) 0%, rgba(18, 5, 6, .30) 55%, rgba(18, 5, 6, .06) 100%);
    transition: opacity .45s var(--tt-ease);
}
.tt-case:hover img { transform: scale(1.06); opacity: .96; }
.tt-case__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 20px;
}
.tt-case--feature .tt-case__body { padding: 24px 26px; }
.tt-case__meta {
    font-size: 12px;
    letter-spacing: .12em;
    color: #e8cba1;
    margin-bottom: 6px;
}
.tt-case__name {
    font-size: 15.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
}
.tt-case--feature .tt-case__name { font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; }
.tt-case__desc {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .5s var(--tt-ease), opacity .4s var(--tt-ease);
}
.tt-case:hover .tt-case__desc { max-height: 90px; opacity: 1; }
.tt-case__go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tt-brass-soft);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s var(--tt-ease), transform .4s var(--tt-ease);
}
.tt-case:hover .tt-case__go { opacity: 1; transform: none; }
.tt-cases__more { display: flex; justify-content: center; margin-top: clamp(18px, 2.8vh, 32px); }
.tt-cases__empty { padding: 32px 0 12px; text-align: center; font-size: 14px; color: var(--tt-muted); }

/* ============================================================= partners == */
.tt-marquee {
    position: relative;
    overflow: hidden;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.tt-marquee + .tt-marquee { margin-top: 14px; }
.tt-marquee__track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    animation: tt-marquee 46s linear infinite;
}
.tt-marquee--reverse .tt-marquee__track { animation-direction: reverse; animation-duration: 56s; }
.tt-marquee:hover .tt-marquee__track { animation-play-state: paused; }
@keyframes tt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tt-logo {
    flex: none;
    width: 178px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    transition: border-color .35s var(--tt-ease), box-shadow .35s var(--tt-ease);
}
.tt-logo:hover { border-color: var(--tt-line-strong); box-shadow: var(--tt-shadow-sm); }
.tt-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .35s var(--tt-ease), opacity .35s var(--tt-ease);
}
.tt-logo:hover img { filter: none; opacity: 1; }

.tt-promises {
    margin-top: clamp(22px, 3.4vh, 40px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.tt-promise {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 15px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    transition: border-color .38s var(--tt-ease), transform .38s var(--tt-ease), box-shadow .38s var(--tt-ease);
}
.tt-promise:hover { border-color: var(--tt-line-strong); transform: translateY(-3px); box-shadow: var(--tt-shadow-md); }
.tt-promise__icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: var(--tt-radius);
    border: 1px solid rgba(122, 90, 36, .14);
    background: var(--tt-brass-pale);
    color: #7a5a24;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
.tt-promise__icon svg { width: 20px; height: 20px; display: block; }
.tt-promise__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.tt-promise__title { display: block; font-size: 15px; line-height: 1.4; font-weight: 700; color: var(--tt-ink); }
.tt-promise__desc { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.7; color: var(--tt-muted); }

/* ============================================================== inquiry == */
.tt-inquiry {
    background:
        radial-gradient(110% 90% at 88% 8%, rgba(211, 169, 111, .18) 0%, transparent 55%),
        linear-gradient(150deg, #3f1416 0%, #2a0d0f 55%, #1b0708 100%);
    color: rgba(255, 255, 255, .78);
}
.tt-inquiry .tt-head__title { color: #fff; }
.tt-inquiry .tt-head__sub { color: rgba(255, 255, 255, .62); }
.tt-inquiry .tt-head__eyebrow { color: var(--tt-brass-soft); }
.tt-inquiry .tt-head__eyebrow::before { background: var(--tt-brass-soft); }

.tt-inquiry__body {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 3.6vw, 56px);
    align-items: start;
}
.tt-inquiry__points { display: grid; gap: 12px; margin-top: 22px; }
.tt-inquiry__point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .8);
}
.tt-inquiry__point svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--tt-brass-soft); }
.tt-inquiry__contact {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: grid;
    gap: 12px;
}
.tt-inquiry__contact dl { display: flex; gap: 12px; font-size: 13.5px; }
.tt-inquiry__contact dt { flex: none; width: 62px; color: rgba(255, 255, 255, .72); }
.tt-inquiry__contact dd { color: #fff; line-height: 1.7; }
/* keep the phone / QQ links at a comfortable hit height inside the dl rows */
.tt-inquiry__contact dd a { display: inline-flex; align-items: center; min-height: 26px; }
.tt-inquiry__contact a:hover { color: var(--tt-brass-soft); }

.tt-form {
    background: var(--tt-surface);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--tt-radius);
    padding: clamp(22px, 2.4vw, 32px);
    box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .8);
}
.tt-form__title { font-size: 17px; font-weight: 700; color: var(--tt-ink); }
.tt-form__note { margin-top: 6px; font-size: 12.5px; color: var(--tt-muted); line-height: 1.7; }
.tt-form__grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tt-field--full { grid-column: 1 / -1; }
.tt-field label { font-size: 12.5px; font-weight: 600; color: var(--tt-body); letter-spacing: .02em; }
.tt-field input,
.tt-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--tt-line-strong);
    border-radius: var(--tt-radius);
    background: #fff;
    font-size: 14px;
    color: var(--tt-ink);
    font-family: inherit;
    transition: border-color .3s var(--tt-ease), box-shadow .3s var(--tt-ease);
}
.tt-field textarea { min-height: 92px; resize: vertical; line-height: 1.7; }
.tt-field input::placeholder,
.tt-field textarea::placeholder { color: #a89b92; }
.tt-field input:focus,
.tt-field textarea:focus { border-color: var(--tt-maroon); box-shadow: 0 0 0 3px rgba(84, 28, 30, .10); outline: none; }
.tt-form__submit { margin-top: 16px; width: 100%; }
.tt-form__foot {
    margin-top: 12px;
    font-size: 12px;
    color: var(--tt-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.65;
}
.tt-form__foot svg { width: 14px; height: 14px; flex: none; color: var(--tt-ok); }

/* scroll affordance for the horizontally scrolling matrix on phones */
.tt-matrix__hint { display: none; }

/* ============================================================ responsive = */
@media (min-width: 1600px) {
    .tt-home { --tt-shell: 1500px; }
}
@media (min-width: 1260px) and (max-width: 1599px) {
    .tt-home { --tt-shell: 1200px; }
}
@media (max-width: 1259px) {
    .tt-home { --tt-shell: 1000px; }
}
@media (max-width: 1100px) {
    .tt-home { --tt-header-h: 76px; }
    .tt-home .tt-panel { min-height: auto; padding: 82px 0 56px; }
    .tt-hero__inner { min-height: auto; padding-top: 118px; padding-bottom: 16px; }
    /* panels below 1101px scroll natively, so the slider controls join the
       normal flow instead of being pinned over the product band */
    .tt-hero__controls { position: static; order: 3; padding-bottom: 24px; }
    .tt-hero__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
    .tt-scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-scenes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-scene { min-height: 260px; }
    .tt-concept__body,
    .tt-about__body,
    .tt-inquiry__body { grid-template-columns: minmax(0, 1fr); }
    .tt-cases__grid { grid-template-columns: minmax(0, 1fr); }
    .tt-case--feature { min-height: 300px; }
    .tt-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-matrix__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
    .tt-home { --tt-shell: 92%; --tt-pad-y: 18px; font-size: 14.5px; }
    .tt-home .tt-panel { padding: 68px 0 46px; }
    .tt-hero__inner { padding-top: 104px; }
    .tt-hero__title { font-size: clamp(30px, 8.4vw, 42px); }
    .tt-scope__grid,
    .tt-scenes__grid { grid-template-columns: minmax(0, 1fr); }
    .tt-scope-card { min-height: 0; }
    .tt-scope-card__media { flex: 0 0 38%; }
    .tt-cases__side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-promises { grid-template-columns: minmax(0, 1fr); }
    .tt-matrix { overflow-x: auto; }
    .tt-matrix table { min-width: 720px; }
    .tt-matrix__hint {
        display: block;
        margin-top: 10px;
        font-size: 12px;
        letter-spacing: .06em;
        color: var(--tt-muted);
        text-align: center;
    }
    .tt-matrix__stats { grid-template-columns: minmax(0, 1fr); }
    .tt-form__grid { grid-template-columns: minmax(0, 1fr); }
    .tt-about__facts { grid-template-columns: minmax(0, 1fr); }
    .tt-hero__metrics { gap: 14px; }
    .tt-concept__mark { font-size: 56px; }
    .tt-logo { width: 138px; height: 68px; }
}
@media (max-width: 480px) {
    .tt-scope-card { flex-direction: column; }
    .tt-scope-card__media { flex: 0 0 auto; height: 150px; }
    .tt-cases__side { grid-template-columns: minmax(0, 1fr); }
    .tt-hero__actions .tt-btn { width: 100%; }
}

/* keep panels inside the viewport on shorter desktops */
@media (min-width: 1101px) and (max-height: 820px) {
    .tt-home { --tt-pad-y: 22px; }
    .tt-head { margin-bottom: 18px; }
    .tt-head__title { font-size: clamp(22px, 2.1vw, 30px); }
    .tt-scope-card { min-height: 150px; }
    .tt-scope-card__body { padding: 16px; }
    .tt-scope-card__desc { font-size: 12.5px; }
    .tt-scene { min-height: clamp(240px, 36vh, 330px); }
    .tt-matrix tbody td,
    .tt-matrix tbody th { padding: 10px 16px; }
    .tt-matrix thead th { padding: 11px 16px; }
    .tt-tl-card { padding: 18px 16px; }
    .tt-case--feature { min-height: clamp(240px, 36vh, 320px); }
    .tt-promise { padding: 15px; }
    .tt-logo { height: 72px; }
}

/* --------------------------------------------------- fullpage (JS set) -- */
html.tt-fullpage { scroll-behavior: auto; }
html.tt-fullpage.tt-animating { cursor: progress; }
.tt-home .tt-panel { scroll-margin-top: 0; }
/* ------------------------------------------------- scope "all products" -- */
.tt-scope-card--cta {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 24px;
    background: linear-gradient(152deg, #fdfaf5 0%, #f3ece1 100%);
    border: 1px dashed var(--tt-line-strong);
    color: var(--tt-ink);
}
.tt-scope-card--cta::before { display: none; }
.tt-scope-card--cta:hover {
    border-style: solid;
    border-color: var(--tt-maroon);
    transform: translateY(-4px);
}
.tt-scope-card__cta-eyebrow {
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tt-brass-ink);
    font-weight: 600;
}
.tt-scope-card__cta-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--tt-ink);
    margin-top: 6px;
}
.tt-scope-card__cta-desc {
    font-size: 13px;
    line-height: 1.72;
    color: var(--tt-muted);
    margin-top: 6px;
}
.tt-scope-card__cta-arrow {
    margin-top: 16px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--tt-maroon);
    color: var(--tt-maroon);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background-color .36s var(--tt-ease), color .36s var(--tt-ease), transform .36s var(--tt-ease);
}
.tt-scope-card__cta-arrow svg { width: 18px; height: 18px; }
.tt-scope-card--cta:hover .tt-scope-card__cta-arrow {
    background: var(--tt-maroon);
    color: #fff;
    transform: translateX(5px);
}

/* ------------------------------------------------------- form feedback -- */
.tt-form__status {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.7;
    color: #8a1f24;
}
.tt-form__status.is-ok { color: #1f6b46; }
.tt-form__status.is-error { color: #8a1f24; }
.tt-form button[disabled] { opacity: .62; cursor: progress; }
/* touch / no-hover devices: the hover-revealed copy must stay readable */
@media (hover: none), (max-width: 1100px) {
    .tt-scene__desc,
    .tt-case__desc { max-height: none; opacity: 1; }
    .tt-case__go { opacity: 1; transform: none; }
    /* the copy is permanently visible here, so the photo scrims get deeper */
    .tt-scene::after { background: linear-gradient(to top, rgba(18, 5, 6, .95) 4%, rgba(18, 5, 6, .68) 46%, rgba(18, 5, 6, .24) 100%); }
    .tt-case::after { background: linear-gradient(to top, rgba(18, 5, 6, .93) 0%, rgba(18, 5, 6, .52) 58%, rgba(18, 5, 6, .12) 100%); }
    .tt-scene:hover .tt-scene__desc,
    .tt-case:hover .tt-case__desc { max-height: none; opacity: 1; }
}

/* extra density for short laptop viewports so every panel still fits one screen */
@media (min-width: 1101px) and (max-height: 800px) {
    .tt-head__eyebrow { margin-bottom: 7px; }
    .tt-head__sub { margin-top: 8px; font-size: 13.5px; }
    .tt-head__title { font-size: clamp(21px, 1.95vw, 29px); }
    .tt-matrix thead th { padding: 9px 14px; }
    .tt-matrix tbody td,
    .tt-matrix tbody th { padding: 7px 14px; }
    .tt-matrix tbody th span { font-size: 12px; }
    .tt-matrix__note { margin-top: 10px; font-size: 12px; }
    .tt-matrix__stats { margin-top: 10px; gap: 12px; }
    .tt-stat { padding: 11px 14px; }
    .tt-stat__num { font-size: 18px; }
    .tt-stat__label { font-size: 12px; }
    .tt-scope-card { min-height: 138px; }
    .tt-scope-card__body { padding: 14px 16px; }
    .tt-scope-card__desc { font-size: 12.5px; line-height: 1.62; }
    .tt-scene { min-height: clamp(220px, 34vh, 300px); }
    .tt-scene__body { padding: 18px; }
    .tt-tl-card { padding: 16px 16px 18px; }
    .tt-tl-card__year { font-size: 22px; }
    .tt-promise { padding: 14px; }
    .tt-logo { height: 68px; }
    .tt-inquiry__point { font-size: 13.5px; }
    .tt-form__grid { gap: 10px; }
    .tt-field textarea { min-height: 78px; }
}
/* hero: tighter type + a shorter product band on short desktops so one screen still fits */
@media (min-width: 1101px) and (max-height: 820px) {
    .tt-hero__title { font-size: clamp(32px, 4.1vw, 56px); }
    .tt-hero__en { font-size: 15px; margin-top: 10px; }
    .tt-hero__lead { font-size: 13.5px; line-height: 1.8; margin-top: 14px; max-width: 470px; }
    .tt-hero__actions { margin-top: 22px; }
    .tt-hero__note { margin-top: 12px; font-size: 12.5px; }
    .tt-hero__metrics { padding-top: 14px; gap: 9px 20px; }
    .tt-hero__actions .tt-btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
    .tt-metric__num { font-size: clamp(20px, 2.1vw, 26px); }
    .tt-metric__label { font-size: 12px; }
    .tt-hero__eyebrow { padding: 6px 14px; font-size: 12px; }
}

/* mid-width desktops: keep the centred text column readable */
@media (min-width: 1101px) and (max-width: 1259px) {
    .tt-hero__lead { max-width: 460px; }
    .tt-hero__metrics { max-width: 460px; gap: 12px 18px; }
}
/* hero product band sizing across viewports (centred, bottom-flush) */
@media (min-width: 1101px) and (max-height: 820px) {
    .tt-hero__products { width: min(33vw, 470px); }
}
@media (max-width: 1100px) {
    .tt-hero__inner { order: 1; }
    .tt-hero__products { position: static; order: 2; transform: none; width: min(76vw, 470px); margin: 10px auto 0; }
    .tt-hero__title { font-size: clamp(28px, 6.4vw, 44px); max-width: 100%; }
}
@media (max-width: 780px) {
    .tt-hero__products { width: 86vw; margin: 8px auto 0; }
}

/* ============================================================ 最受欢迎 == */
/* 05 面板：热门产品网格（数据来自 $b2b_top_sellers，最多 6 条）
   布局沿用 .tt-scope-card 的语言：左图右文、序号角标、hover 抬升。 */
.tt-hot__grid {
    counter-reset: tt-hot;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.tt-hot__grid > :nth-child(1) { --tt-delay: 0ms; }
.tt-hot__grid > :nth-child(2) { --tt-delay: 60ms; }
.tt-hot__grid > :nth-child(3) { --tt-delay: 120ms; }
.tt-hot__grid > :nth-child(4) { --tt-delay: 0ms; }
.tt-hot__grid > :nth-child(5) { --tt-delay: 60ms; }
.tt-hot__grid > :nth-child(6) { --tt-delay: 120ms; }

.tt-hot-card {
    counter-increment: tt-hot;
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 146px;
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    transition: border-color .4s var(--tt-ease), box-shadow .4s var(--tt-ease), transform .4s var(--tt-ease);
}

.tt-hot-card:hover {
    transform: translateY(-4px);
    border-color: var(--tt-line-strong);
    box-shadow: var(--tt-shadow-md);
}

.tt-hot-card__rank {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    padding: 4px 9px 5px 10px;
    background: var(--tt-maroon);
    color: #fff;
    font-family: Cotta_Free, Georgia, serif;
    font-size: 11px;
    letter-spacing: .12em;
    border-bottom-right-radius: var(--tt-radius);
}

.tt-hot-card__rank::before { content: "TOP " counter(tt-hot, decimal-leading-zero); }

.tt-hot-card__media {
    position: relative;
    flex: 0 0 40%;
    overflow: hidden;
    background: var(--tt-warm);
}

/* the photo fills the media column so single-column layouts keep a compact card
   instead of letting the square product shot drive the row height */
.tt-hot-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--tt-ease);
}

.tt-hot-card:hover .tt-hot-card__media img { transform: scale(1.06); }

.tt-hot-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 16px 13px;
    display: flex;
    flex-direction: column;
}

.tt-hot-card__tag {
    align-self: flex-start;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--tt-brass-pale);
    color: #6f4f1c;
    font-size: 11.5px;
    letter-spacing: .02em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-hot-card__name {
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--tt-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tt-hot-card__foot {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.tt-hot-card__price b {
    font-size: 16px;
    font-weight: 700;
    color: var(--tt-maroon);
    font-variant-numeric: tabular-nums;
}

.tt-hot-card__price small { font-size: 11.5px; color: var(--tt-muted); }

.tt-hot-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tt-maroon);
    white-space: nowrap;
}

.tt-hot-card__more i {
    width: 14px;
    height: 1px;
    background: currentColor;
    transition: width .4s var(--tt-ease);
}

.tt-hot-card:hover .tt-hot-card__more i { width: 24px; }

/* ============================================================ 我们的服务 == */
/* 05 面板：六项服务 + 交付保障（纯静态文案，无后端依赖）
   节奏与 01 供给范围 / 03 最受欢迎 对齐：居中标题 + 三列卡片网格 + 快捷入口；
   卡片沿用 .tt-scope-card / .tt-hot-card 的材质（白卡 + 细边 + 左侧 maroon 竖条 + hover 抬升），
    六张卡片各配一张火山方舟生成的实拍图（images/services/0X-*.webp），串成「从选样到交付」的流程；
   网格下方用一条细线带承载交付保障要点，不用独立盒子，避免与 09 合作伙伴的服务保障卡撞车。
   序号方块（.tt-svc-card__no）已随本次改版下线，识别改由配图 + 压在图上的右上角图标承担；
   注：面板基础样式里的 `margin: 0` 重置（.tt-home p / h3）权重高于单类选择器，
   卡片的行间距一律写成相邻兄弟选择器，避免间距被重置吃掉。 */
.tt-svc__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tt-svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    --tt-svc-media-h: 148px;   /* 卡片配图带高度：短屏下逐级收窄 */
    min-height: 172px;
    padding: 0;
    background: var(--tt-surface);
    border: 1px solid var(--tt-line);
    border-radius: var(--tt-radius);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    transition: border-color .4s var(--tt-ease), box-shadow .4s var(--tt-ease), transform .4s var(--tt-ease);
}

.tt-svc-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--tt-maroon);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform .45s var(--tt-ease);
}

.tt-svc-card:hover {
    transform: translateY(-4px);
    border-color: var(--tt-line-strong);
    box-shadow: var(--tt-shadow-md);
}

.tt-svc-card:hover::before { transform: scaleY(1); }

/* 卡片配图带：通栏实拍图（images/services/0X-*.webp，火山方舟生成），
   高度收在 --tt-svc-media-h，object-fit: cover 居中裁切，hover 轻微推近；
   图标压在图右上角做 chip，承接旧版序号方块「细边 + 象牙底 + hover 填 maroon 白字」的语言。 */
.tt-svc-card__media {
    position: relative;
    flex: none;
    height: var(--tt-svc-media-h, 148px);
    overflow: hidden;
    background: var(--tt-warm);
}

.tt-svc-card__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--tt-line);
}

.tt-svc-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--tt-ease);
}

.tt-svc-card:hover .tt-svc-card__media img { transform: scale(1.06); }

.tt-svc-card__icon {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--tt-radius);
    background: rgba(255, 255, 255, .9);
    color: var(--tt-brass-ink);
    box-shadow: 0 2px 8px rgba(43, 26, 20, .16);
    transition: background-color .34s var(--tt-ease), border-color .34s var(--tt-ease), color .34s var(--tt-ease);
}

.tt-svc-card__icon svg { width: 20px; height: 20px; }

.tt-svc-card:hover .tt-svc-card__icon {
    background: var(--tt-maroon);
    border-color: var(--tt-maroon);
    color: #fff;
}

.tt-svc-card__body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
}

.tt-svc-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .01em;
    color: var(--tt-ink);
    transition: color .3s var(--tt-ease);
}

.tt-svc-card:hover .tt-svc-card__title { color: var(--tt-maroon); }

.tt-svc-card__title + .tt-svc-card__en { margin-top: 4px; }

.tt-svc-card__en {
    font-family: Cotta_Free, Georgia, serif;
    font-style: italic;
    font-size: 12.5px;
    color: var(--tt-brass-ink);
}

.tt-svc-card__en + .tt-svc-card__desc { margin-top: 9px; }

.tt-svc-card__desc {
    font-size: 13px;
    line-height: 1.72;
    color: var(--tt-muted);
}

/* 交付保障：细线带（左侧小标签 + 右侧三栏要点），比独立卡片更轻 */
.tt-svc__band {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--tt-line);
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 12px 28px;
    align-items: start;
}

.tt-svc__band-title {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tt-brass-ink);
    line-height: 1.9;
}

.tt-svc__assure {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 28px;
}

.tt-svc__assure-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.72;
    color: var(--tt-body);
}

.tt-svc__assure-item svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 4px;
    color: var(--tt-ok);
}

.tt-svc__assure-item b { color: var(--tt-ink); font-weight: 700; }

.tt-svc__band + .tt-quicklinks { margin-top: 18px; }

/* 窄屏 / 矮屏收敛，与既有面板保持一致 */
@media (max-width: 1259px) {
    .tt-hot__grid { gap: 14px; }
    .tt-svc__grid { gap: 14px; }
}

@media (max-width: 1100px) {
    .tt-hot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* 折成两列后在原生滚动下展开，卡片随内容自然增高 */
    .tt-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tt-svc-card { min-height: 0; }
    .tt-svc__band { grid-template-columns: minmax(0, 1fr); gap: 8px 0; }
    .tt-svc__assure { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
}

@media (max-width: 780px) {
    .tt-hot__grid { grid-template-columns: 1fr; }
    .tt-hot-card { min-height: 132px; }
    .tt-svc__grid { grid-template-columns: minmax(0, 1fr); }
    .tt-svc-card { --tt-svc-media-h: 132px; }
    .tt-svc-card__body { padding: 15px 18px 16px; }
    .tt-svc__assure { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 480px) {
    .tt-hot-card__media { flex: 0 0 36%; }
    .tt-hot-card__body { padding: 13px 13px 11px; }
    .tt-svc-card { --tt-svc-media-h: 124px; }
    .tt-svc-card__en { display: none; }
    .tt-svc-card__en + .tt-svc-card__desc { margin-top: 7px; font-size: 12.5px; }
    .tt-svc__band { margin-top: 22px; padding-top: 16px; }
}

/* 桌面端矮屏（fullpage 模式仍开启时）压紧网格与保障带 */
@media (min-width: 1101px) and (max-height: 820px) {
    .tt-hot-card { min-height: 122px; }
    .tt-hot-card__body { padding: 12px 13px 10px; }
    .tt-hot-card__name { margin-top: 6px; font-size: 12.5px; }
    .tt-hot-card__foot { padding-top: 7px; }
    .tt-hot-card__price b { font-size: 15px; }
    .tt-svc-card { min-height: 0; --tt-svc-media-h: 116px; }
    .tt-svc-card__body { padding: 13px 18px 14px; }
    .tt-svc-card__icon { width: 32px; height: 32px; top: 10px; right: 10px; }
    .tt-svc-card__icon svg { width: 18px; height: 18px; }
    .tt-svc-card__title { font-size: 15.5px; }
    .tt-svc-card__title + .tt-svc-card__en { margin-top: 3px; line-height: 1.5; }
    .tt-svc-card__en + .tt-svc-card__desc { margin-top: 7px; font-size: 12.5px; }
    .tt-svc__band { margin-top: 18px; padding-top: 14px; }
}

@media (min-width: 1101px) and (max-height: 700px) {
    .tt-hot-card { min-height: 106px; }
    .tt-hot-card__tag { display: none; }
    .tt-hot-card__name { margin-top: 0; }
    .tt-svc-card { min-height: 0; --tt-svc-media-h: 96px; }
    .tt-svc-card__body { padding: 11px 15px 12px; }
    .tt-svc-card__title { font-size: 15px; }
    .tt-svc-card__en { display: none; }
    .tt-svc-card__en + .tt-svc-card__desc {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .tt-svc__band { margin-top: 15px; padding-top: 12px; }
    .tt-svc__band-title { font-size: 11px; }
    .tt-svc__assure-item { font-size: 12.5px; }
}