:root {
  --yellow: #ffe800;
  --yellow-deep: #f5d800;
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --grey: #8a8a8a;
  --grey-bg: #f4f4f4;
  --line: #2a2a2a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--black);
  color: #fff;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo .logo-img { height: 34px; display: block; }
.logo .mark {
  font-weight: 900; font-size: 26px; letter-spacing: 1px; color: var(--yellow);
}
.logo .mark i { font-style: normal; color: #fff; }
.logo .sub { font-size: 11px; color: var(--grey); letter-spacing: .5px; }

.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 14px; font-size: 14px; color: #ddd;
  border-radius: 4px; transition: .2s;
}
.main-nav a .no { color: var(--yellow); font-weight: 700; margin-right: 4px; font-size: 12px; }
.main-nav a:hover, .main-nav a.active { background: var(--yellow); color: #000; }
.main-nav a:hover .no, .main-nav a.active .no { color: #000; }

/* ---------- hero : honeycomb ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,232,0,.10), transparent 60%),
    var(--black);
  padding: 110px 0 130px;
  min-height: 620px;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: 56px; font-weight: 900; letter-spacing: 2px; line-height: 1.15;
}
.hero h1 span { color: var(--yellow); }
.hero .en {
  margin-top: 10px; font-size: 15px; color: #cfcfcf; letter-spacing: 3px;
}
.hero p.lead { margin-top: 26px; max-width: 560px; color: #bfbfbf; font-size: 16px; }
.hero .cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* 蜂窝右缘对齐 .wrap(1180) 内容边缘：
   基准 = (100% - 1180px)/2 + 24px；
   最右六边形溢出容器 90px，scale(.72) 后为 64.8px，一并补偿 */
.hexfield {
  position: absolute; top: 0; bottom: 0;
  right: max(88.8px, calc((100% - 1180px) / 2 + 88.8px));
  width: 660px; z-index: 1;
  transform: scale(.72); transform-origin: top right;
}
.hex {
  position: absolute;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.5));
}
.hex .in {
  width: 100%; height: 100%;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background-size: cover; background-position: center;
}
.hex.dark { filter: none; }
.hex.dark .in {
  background: linear-gradient(145deg, #232323 0%, #161616 55%, #101010 100%);
}
.hex.deep .in {
  background: linear-gradient(145deg, #191919 0%, #101010 60%, #0a0a0a 100%);
}

/* 金色描边：仅带照片的蜂窝（.hex 无 dark 类），深色蜂窝不加 */
.hex:not(.dark)::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: linear-gradient(145deg, #ffe800 0%, #f5d800 60%, #d9b900 100%);
}
.hex:not(.dark) .in { transform: scale(.98); }
/* 金边粗细错落：按各蜂窝位置微调图片层缩放，边宽约 2~6px 不等 */
.hexfield div:nth-child(6):not(.dark) .in { transform: scale(.982); }
.hexfield div:nth-child(7):not(.dark) .in { transform: scale(.970); }
.hexfield div:nth-child(9):not(.dark) .in { transform: scale(.988); }
.hexfield div:nth-child(10):not(.dark) .in { transform: scale(.974); }
.hexfield div:nth-child(12):not(.dark) .in { transform: scale(.966); }
.hexfield div:nth-child(13):not(.dark) .in { transform: scale(.976); }
.hexfield div:nth-child(14):not(.dark) .in { transform: scale(.984); }

/* ---------- page hero (subpages, FISTA style) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: #000 center/cover no-repeat;
  padding: 110px 0 90px;
}
.page-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.38) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumbs { font-size: 13px; color: #bbb; margin-bottom: 16px; letter-spacing: 1px; }
.page-hero .crumbs a { color: #bbb; transition: .2s; }
.page-hero .crumbs a:hover { color: var(--yellow); }
.page-hero .crumbs .sep { margin: 0 8px; color: #666; }
.page-hero h1 { font-size: 46px; font-weight: 900; letter-spacing: 2px; }
.page-hero .en { margin-top: 10px; font-size: 15px; color: #a8a8a8; letter-spacing: 2px; }
.btn {
  display: inline-block; padding: 13px 30px; font-size: 15px; font-weight: 700;
  border-radius: 4px; transition: .2s; border: 1px solid var(--yellow);
}
.btn.solid { background: var(--yellow); color: #000; }
.btn.solid:hover { background: #fff33f; }
.btn.ghost { color: var(--yellow); }
.btn.ghost:hover { background: var(--yellow); color: #000; }

/* ---------- index numbered sections (FISTA style) ---------- */
.index-list { padding: 90px 0 60px; }
.index-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center;
  padding: 38px 10px;
  border-bottom: 1px solid var(--line);
  transition: .25s;
}
.index-item:first-child { border-top: 1px solid var(--line); }
.index-item .num {
  font-size: 54px; font-weight: 900; color: transparent;
  -webkit-text-stroke: 1.5px #555; transition: .25s; line-height: 1;
}
.index-item h2 { font-size: 26px; font-weight: 800; }
.index-item h2 small {
  display: block; font-size: 13px; font-weight: 400; color: var(--grey);
  letter-spacing: 2px; margin-top: 2px;
}
.index-item p { margin-top: 8px; color: #9a9a9a; font-size: 14px; max-width: 640px; }
.index-item .arrow { font-size: 26px; color: #555; transition: .25s; }
.index-item:hover { background: #141414; padding-left: 22px; }
.index-item:hover .num { color: var(--yellow); -webkit-text-stroke: 0; }
.index-item:hover .arrow { color: var(--yellow); transform: translateX(8px); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.grey { background: var(--grey-bg); color: #222; }
.section.yellow { background: var(--yellow); color: #000; }
.sec-head { margin-bottom: 42px; }
.sec-head .tag {
  display: inline-block; background: var(--yellow); color: #000; font-weight: 800;
  font-size: 13px; padding: 4px 12px; border-radius: 3px; margin-bottom: 14px;
}
.section:not(.yellow) .sec-head .tag { border: 1px solid var(--yellow); }
.sec-head h2 { font-size: 34px; font-weight: 900; }
.sec-head .en { color: var(--grey); font-size: 14px; letter-spacing: 2px; margin-top: 4px; }
.section.yellow .sec-head .en { color: rgba(0,0,0,.55); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: #161616; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; transition: .25s;
}
.card img { width: 100%; height: 230px; object-fit: cover; }
.card .body { padding: 20px 22px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card h3 span { color: var(--yellow); margin-right: 8px; font-size: 13px; }
.card p { font-size: 13.5px; color: #9a9a9a; }
.card:hover { transform: translateY(-5px); border-color: var(--yellow); }

.section.grey .card { background: #fff; border-color: #e3e3e3; }
.section.grey .card p { color: #666; }

.facts { list-style: none; }
.facts li {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed #3a3a3a; font-size: 15px;
}
.facts li b { color: var(--yellow); font-weight: 700; }
.section.grey .facts li { border-color: #d9d9d9; }
.section.grey .facts li b { color: #b39b00; }

.checks { list-style: none; margin-top: 18px; }
.checks li { padding: 9px 0 9px 30px; position: relative; font-size: 15px; color: #cfcfcf; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 9px; border-left: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow); transform: rotate(-45deg);
}
.section.yellow .checks li { color: #111; }
.section.yellow .checks li::before { border-color: #000; }

.big-num { font-size: 15px; color: var(--yellow); font-weight: 800; letter-spacing: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { text-align: center; padding: 34px 10px; border: 1px solid var(--line); border-radius: 8px; background: #141414; }
.stat .v { font-size: 42px; font-weight: 900; color: var(--yellow); line-height: 1.1; }
.stat .v small { font-size: 16px; font-weight: 700; }
.stat .k { margin-top: 8px; color: #aaa; font-size: 14px; }
.section.yellow .stat { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.25); }
.section.yellow .stat .v { color: #000; }
.section.yellow .stat .k { color: rgba(0,0,0,.65); }

.photo-banner img { width: 100%; height: 460px; object-fit: cover; border-radius: 8px; }
.photo-grid img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }

.quote-strip {
  background: linear-gradient(90deg, var(--yellow) 55%, var(--yellow-deep));
  color: #000; padding: 46px 0;
}
.quote-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.quote-strip h3 { font-size: 24px; font-weight: 900; }
.quote-strip p { font-size: 14px; opacity: .75; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
  background: #fff; color: #000; border-radius: 10px; padding: 34px;
  display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: center;
}
.contact-card img { border-radius: 6px; }
.contact-card h3 { font-size: 22px; font-weight: 900; }
.contact-card .who { margin-top: 12px; font-size: 15px; }
.contact-card .who b { font-size: 20px; }
.contact-card .tip { margin-top: 10px; color: #777; font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { border-top: 4px solid var(--yellow); background: #080808; padding: 46px 0 40px; margin-top: 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .logo .logo-img { height: 26px; }
.site-footer p { color: #777; font-size: 13px; margin-top: 10px; }
.site-footer .links { display: flex; gap: 22px; font-size: 13px; color: #999; }
.site-footer .links a:hover { color: var(--yellow); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .hexfield { opacity: .3; right: max(88.8px, calc((100% - 1180px) / 2 + 88.8px)); }
  .index-item { grid-template-columns: 70px 1fr; }
  .index-item .num { font-size: 36px; }
  .index-item .arrow { display: none; }
  .grid-2, .grid-3, .grid-4, .stat-row, .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 80px 0 64px; }
  .site-header .wrap { height: auto; padding: 12px 24px; flex-direction: column; gap: 8px; }
}
