/* ==========================================================
   TIFO KIT — 米兰APP 全站共享外壳样式
   文件: /assets/site.css
   ========================================================== */

/* ---------- 变量 ---------- */
:root {
  --font-head: "DIN Compact", "Industry", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: -apple-system, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ink: #1A1B1C;
  --ink-soft: #232527;
  --red: #D40000;
  --red-dark: #990000;
  --gold: #C9A063;
  --gold-light: #E5C886;
  --paper: #F4EFE6;
  --white: #FFFFFF;
  --graphite: #333333;
  --steel: #6B6B6B;
  --soft: #F8F8F8;

  --header-h: 4.5rem;
  --container: 74rem;
  --radius: .5rem;
}

/* ---------- Reset 与基础排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 .75em;
  color: inherit;
}

p { margin: 0 0 1.25em; }

a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--red-dark); }

ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }

img, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--red); color: var(--white); }

[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }

[hidden] { display: none !important; }

/* ---------- 基础容器与通用布局 ---------- */
.tif-container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.tif-section {
  position: relative;
  padding-block: clamp(4rem, 10vw, 7.5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.tif-section--paper {
  background: var(--paper);
  color: var(--graphite);
}

.tif-section--dark {
  background: var(--ink);
  color: var(--white);
}

.tif-section--lined {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
}

.tif-section-head {
  display: grid;
  gap: .5rem;
  margin-bottom: 3rem;
  max-width: 52rem;
}

.tif-index {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,0,0,.55);
  display: block;
}

.tif-section--dark .tif-index {
  -webkit-text-stroke: 1px rgba(229,200,134,.5);
}

.tif-kicker {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  margin: 0;
}
.tif-kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--red);
  flex: none;
}

.tif-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--graphite);
  margin: 0;
  line-height: 1.15;
}

.tif-section--dark .tif-title,
.tif-section--lined .tif-title {
  color: var(--white);
}

.tif-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--steel);
  max-width: 44rem;
  margin: 0;
}

.tif-section--dark .tif-lead,
.tif-section--lined .tif-lead {
  color: rgba(255,255,255,.72);
}

/* ---------- 首屏框景 ---------- */
.tif-hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.tif-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 3rem 3rem;
  pointer-events: none;
}

.tif-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8%;
  width: 44%;
  background: linear-gradient(100deg, rgba(212,0,0,.16), transparent 72%);
  transform: skewX(-12deg);
  pointer-events: none;
}

.tif-hero-frame {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(201,160,99,.3);
  padding: clamp(2rem, 6vw, 4.5rem);
  max-width: 58rem;
}

.tif-hero-frame::before,
.tif-hero-frame::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 0 solid var(--red);
  pointer-events: none;
}

.tif-hero-frame::before {
  top: -1px;
  left: -1px;
  border-top-width: 3px;
  border-left-width: 3px;
}

.tif-hero-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom-width: 3px;
  border-right-width: 3px;
}

.tif-page-head {
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3rem, 8vw, 6rem) 0;
}

.tif-page-head .tif-title { color: var(--white); }

/* ---------- 内页组件 ---------- */
.tif-panel {
  position: relative;
  background: var(--paper);
  color: var(--graphite);
  border: 1px solid rgba(26,27,28,.06);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.tif-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--red);
}

.tif-panel--dark {
  background: rgba(26,27,28,.96);
  color: var(--white);
  border-color: rgba(201,160,99,.18);
}

.tif-panel--dark .tif-card-text,
.tif-panel--dark p { color: rgba(255,255,255,.68); }

.tif-card {
  position: relative;
  background: var(--paper);
  color: var(--graphite);
  border: 1px solid rgba(26,27,28,.06);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  transition: transform .3s ease, border-color .3s ease;
}

.tif-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,160,99,.5);
}

.tif-card--dark {
  background: rgba(26,27,28,.94);
  color: var(--white);
  border-color: rgba(201,160,99,.15);
}

.tif-card--dark .tif-card-text { color: rgba(255,255,255,.68); }

.tif-card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0;
}

.tif-card-text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--steel);
  margin: 0;
}

.tif-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.tif-grid--aside { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }

/* ---------- 按钮 ---------- */
.tif-btn {
  --btn-bg: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .875rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, transparent .5rem, var(--btn-bg) .5rem);
  transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}

.tif-btn::after {
  content: "";
  width: .5rem;
  height: .5rem;
  background: currentColor;
  opacity: .5;
  transform: rotate(45deg);
  flex: none;
  transition: transform .25s ease;
}

.tif-btn:hover::after { transform: rotate(45deg) translate(.125rem, -.125rem); }

.tif-btn--red { --btn-bg: var(--red); }
.tif-btn--red:hover { --btn-bg: var(--red-dark); }

.tif-btn--gold { --btn-bg: var(--gold); color: var(--ink); }
.tif-btn--gold:hover { --btn-bg: #b5a04f; }

.tif-btn--ghost {
  --btn-bg: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.tif-btn--ghost:hover {
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ---------- 图片框 / 网格 / 标签 / 数据条 ---------- */
.tif-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(212,0,0,.35), transparent 45%),
    rgba(26,27,28,.92);
  overflow: hidden;
}

.tif-frame::before {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid rgba(201,160,99,.4);
  z-index: 1;
  pointer-events: none;
}

.tif-frame::after {
  content: "";
  position: absolute;
  top: 1.125rem;
  left: 1.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}

.tif-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tif-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  background: rgba(201,160,99,.08);
  border: 1px solid rgba(201,160,99,.32);
}

.tif-chip::before {
  content: "";
  width: .375rem;
  height: .375rem;
  background: var(--red);
  transform: rotate(45deg);
}

.tif-rule {
  height: 1px;
  border: none;
  margin-block: 2rem;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 28%, rgba(201,160,99,.25) 70%, transparent 100%);
}

.tif-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  margin: 0;
}

.tif-big small {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--steel);
  margin-top: .5rem;
}

.tif-section--dark .tif-big small { color: rgba(255,255,255,.55); }

/* ---------- 时间轴 ---------- */
.tif-timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2rem;
}

.tif-timeline::before {
  content: "";
  position: absolute;
  left: .5rem;
  top: .25rem;
  bottom: .25rem;
  width: 1px;
  background: rgba(201,160,99,.35);
}

.tif-timeline-item { position: relative; }

.tif-timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: .375rem;
  width: .625rem;
  height: .625rem;
  background: var(--red);
  transform: rotate(45deg);
}

.tif-timeline-item::after {
  content: "";
  position: absolute;
  left: calc(-2rem + 4px);
  top: calc(.375rem + 4px);
  width: .375rem;
  height: .375rem;
  background: var(--gold-light);
  transform: rotate(45deg);
}

.tif-timeline-date {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--gold);
}

.tif-timeline-text {
  font-size: .9375rem;
  color: rgba(255,255,255,.7);
  margin: .375rem 0 0;
}

/* ---------- 面包屑 ---------- */
.tif-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin: 0 0 2rem;
  font-size: .8125rem;
  color: var(--steel);
}

.tif-breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.tif-breadcrumb li + li::before { content: "/"; color: rgba(201,160,99,.55); }

.tif-breadcrumb a { color: var(--steel); text-decoration: none; }
.tif-breadcrumb a:hover { color: var(--red); }
.tif-breadcrumb [aria-current] { color: var(--graphite); font-weight: 600; }

.tif-section--dark .tif-breadcrumb,
.tif-section--dark .tif-breadcrumb a { color: rgba(255,255,255,.6); }
.tif-section--dark .tif-breadcrumb [aria-current] { color: var(--gold-light); }

/* ---------- 筛选按钮 ---------- */
.tif-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: transparent;
  border: 1px solid rgba(201,160,99,.35);
  color: rgba(255,255,255,.72);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.tif-filter-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.tif-filter-btn[aria-pressed="true"]::before {
  content: "";
  width: .375rem;
  height: .375rem;
  background: var(--gold-light);
  transform: rotate(45deg);
}

/* ---------- 章节跟随目录 ---------- */
.tif-spy {
  display: grid;
  gap: .25rem;
  border-left: 2px solid rgba(255,255,255,.12);
  padding-left: 0;
}

.tif-spy-link {
  display: block;
  padding: .5rem .875rem;
  border-left: 2px solid transparent;
  margin-left: -2px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .875rem;
  transition: color .25s ease, border-color .25s ease;
}

.tif-spy-link:hover { color: var(--white); }

.tif-spy-link[aria-current="true"] {
  color: var(--gold-light);
  border-left-color: var(--red);
}

/* ---------- 手风琴 ---------- */
.tif-accordion {
  background: var(--ink);
  border: 1px solid rgba(201,160,99,.22);
}

.tif-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.tif-accordion-head::after {
  content: "+";
  font-size: 1.25rem;
  line-height: 1;
  color: var(--gold);
  transition: transform .3s ease;
}

.tif-accordion-head[aria-expanded="true"]::after { transform: rotate(45deg); }

.tif-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}

.tif-accordion-body[data-open] { grid-template-rows: 1fr; }

.tif-accordion-body-inner {
  overflow: hidden;
  min-height: 0;
  padding-inline: 1.25rem;
}

.tif-accordion-content {
  padding-bottom: 1.25rem;
  color: rgba(255,255,255,.68);
  font-size: .9375rem;
  margin: 0;
}

/* ---------- 可复用渐显 ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .7s ease, transform .7s ease;
}

.js-reveal [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 滚动进度条 ---------- */
.tif-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(201,160,99,.16);
  transform-origin: 0 50%;
  z-index: 400;
  pointer-events: none;
}

.tif-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 62%, var(--gold-light) 100%);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: .625rem;
  left: .625rem;
  z-index: 600;
  background: var(--red);
  color: var(--white);
  padding: .625rem 1.125rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  transform: translateY(-200%);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}

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

/* ---------- 页头 ---------- */
.tif-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(26,27,28,.96), rgba(26,27,28,.88));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,160,99,.28);
}

.tif-header::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: -1px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 18px);
  opacity: .5;
  pointer-events: none;
}

.tif-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.tif-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
  flex: none;
}

.tif-brand:hover { color: var(--white); }

.tif-brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, #e02424, var(--red));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .5rem), calc(100% - .5rem) 100%, 0 100%);
}

.tif-brand-mark::before {
  content: "";
  position: absolute;
  top: .25rem;
  right: .25rem;
  width: .375rem;
  height: .375rem;
  background: var(--gold-light);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.tif-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.tif-brand-text strong {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--white);
}

.tif-brand-text small {
  font-family: var(--font-head);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .125rem;
}

.tif-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.tif-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.tif-menu li { margin: 0; }

.tif-link {
  display: inline-block;
  position: relative;
  padding: .5rem .75rem;
  color: rgba(255,255,255,.78);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}

.tif-link::after {
  content: "";
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .125rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .3s ease;
}

.tif-link:hover { color: var(--white); }
.tif-link:hover::after { transform: scaleX(1); }

.tif-link[aria-current="page"] {
  color: var(--white);
}

.tif-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -.125rem;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--gold-light);
  transform: translateY(-50%);
  border-radius: 50%;
}

.tif-link[aria-current="page"]::after { transform: scaleX(1); }

.tif-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.125rem .625rem 1rem;
  background: linear-gradient(135deg, transparent .5rem, var(--red) .5rem);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .25s ease;
}

.tif-cta::after {
  content: "";
  width: .4375rem;
  height: .4375rem;
  background: var(--gold-light);
  transform: rotate(45deg);
}

.tif-cta:hover {
  color: var(--white);
  filter: brightness(1.12);
}

.tif-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 2.75rem;
  height: 2.75rem;
  padding: .625rem;
  background: transparent;
  border: 1px solid rgba(201,160,99,.4);
  cursor: pointer;
}

.tif-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  margin-block: 5px;
  transition: transform .3s ease, opacity .3s ease;
}

.tif-toggle[aria-expanded="true"] .tif-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tif-toggle[aria-expanded="true"] .tif-toggle-line:nth-child(2) { opacity: 0; }
.tif-toggle[aria-expanded="true"] .tif-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 页脚 ---------- */
.tif-footer {
  position: relative;
  background: linear-gradient(180deg, #141516 0%, var(--ink) 42%);
  color: rgba(255,255,255,.72);
  overflow: hidden;
}

.tif-footer::before {
  content: "米兰APP";
  position: absolute;
  right: -1.5rem;
  bottom: -2.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.045);
  letter-spacing: .04em;
  white-space: nowrap;
  pointer-events: none;
}

.tif-footer-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--red) 0 5rem, transparent 5rem 6rem, var(--gold) 6rem 6.5rem, transparent 6.5rem 7.5rem);
}

.tif-footer-inner {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5rem);
}

.tif-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.tif-footer-brand .tif-brand { margin-bottom: 1.25rem; }

.tif-footer-about {
  font-size: .9375rem;
  line-height: 1.8;
  color: rgba(255,255,255,.58);
  margin: 0 0 1.5rem;
  max-width: 26rem;
}

.tif-trust {
  border-left: 3px solid var(--red);
  background: linear-gradient(135deg, rgba(212,0,0,.12), rgba(201,160,99,.06));
  padding: .875rem 1.125rem;
  color: var(--gold-light);
  font-size: .875rem;
  line-height: 1.7;
  margin: 0;
  max-width: 28rem;
}

.tif-footer-col {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.tif-footer-title {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(201,160,99,.22);
  position: relative;
}

.tif-footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.5rem;
  height: 1px;
  background: var(--red);
}

.tif-footer-list {
  display: grid;
  gap: .625rem;
  font-size: .875rem;
}

.tif-footer-list a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
  transition: color .25s ease, padding-left .25s ease;
}

.tif-footer-list a:hover {
  color: var(--gold-light);
  padding-left: .375rem;
}

.tif-footer-contact li {
  display: grid;
  gap: .125rem;
  line-height: 1.55;
  color: rgba(255,255,255,.6);
  word-break: break-all;
}

.tif-footer-contact span {
  font-family: var(--font-head);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold);
}

.tif-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.375rem;
  border-top: 1px solid rgba(201,160,99,.15);
  font-size: .8125rem;
  color: rgba(255,255,255,.42);
}

.tif-copy, .tif-icp { margin: 0; }

/* ---------- 返回顶部 ---------- */
.tif-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: var(--red);
  border: none;
  color: var(--white);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - .625rem), calc(100% - .625rem) 100%, 0 100%);
  opacity: 0;
  transform: translateY(.5rem);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
}

.tif-top::after {
  content: "";
  position: absolute;
  top: .375rem;
  right: .375rem;
  width: .375rem;
  height: .375rem;
  background: var(--gold-light);
}

.tif-top[data-visible] {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.tif-top:hover { background: var(--red-dark); }

.tif-top-arrow {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .tif-container { width: min(var(--container), 100% - 2rem); }

  .tif-toggle { display: block; }

  .tif-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: min(84vw, 24rem);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    background: rgba(20,21,22,.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(201,160,99,.28);
    box-shadow: -1rem 0 3rem rgba(0,0,0,.5);
    transform: translateX(105%);
    transition: transform .35s ease;
    overflow-y: auto;
  }

  .tif-nav[data-open] { transform: translateX(0); }

  .tif-menu {
    flex-direction: column;
    align-items: stretch;
    gap: .125rem;
  }

  .tif-menu li { width: 100%; }

  .tif-link {
    display: block;
    padding: .9375rem 1rem;
    border-bottom: 1px solid rgba(244,239,230,.08);
    font-size: 1.0625rem;
  }

  .tif-link::before,
  .tif-link::after { display: none; }

  .tif-link[aria-current="page"] {
    color: var(--gold-light);
    border-left: 3px solid var(--red);
    padding-left: calc(1rem - 3px);
  }

  .tif-cta {
    align-self: stretch;
    justify-content: center;
    margin-top: 1.75rem;
    padding-block: .875rem;
    background: linear-gradient(135deg, transparent .875rem, var(--red) .875rem);
  }

  .tif-footer-grid { grid-template-columns: 1fr 1fr; }

  .tif-grid--3 { grid-template-columns: 1fr 1fr; }

  .tif-grid--aside { grid-template-columns: 1fr; }

  .tif-hero-frame { padding: 2rem 1.5rem; }
}

@media (max-width: 640px) {
  .tif-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .tif-footer-bottom { flex-direction: column; align-items: flex-start; }

  .tif-grid--2, .tif-grid--3 { grid-template-columns: 1fr; }

  .tif-top { right: 1rem; bottom: 1rem; }

  .tif-header-inner { gap: .75rem; }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tif-nav { transition: none; }
}
