@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --ink: #0E1B2C;
  --ink-2: #13253a;
  --accent: #E4572E;
  --paper: #F4F1EC;
  --line: rgba(244, 241, 236, .16);
  --dim: rgba(244, 241, 236, .66);
  --soft: rgba(244, 241, 236, .92);
  --f-head: "Lexend", "Source Sans 3", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --f-body: "Source Sans 3", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
  --edge: clamp(16px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: .01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(244, 241, 236, .16) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .3;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- 顶部：品牌行 → 菜单行 ---------- */

.site-top {
  position: relative;
  z-index: 30;
  background: rgba(14, 27, 44, .93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.top-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--edge);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--paper);
}

.mark {
  width: 12px;
  height: 12px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: none;
}

.mark-img { width: 16px; height: 16px; flex: none; }

.menu-nav { border-bottom: 0; }

.menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 12px;
  color: var(--dim);
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: color .22s, border-color .22s, background .22s;
}

.menu a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--accent);
  opacity: .55;
  transition: transform .22s, opacity .22s;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--paper);
  border-color: var(--line);
  background: rgba(244, 241, 236, .06);
}

.menu a:hover::before { opacity: 1; transform: scale(1.7); }

@media (min-width: 900px) {
  .site-top { position: sticky; top: 0; }
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: min(70vh, 620px);
  padding: clamp(34px, 8vw, 80px) var(--edge);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(228, 87, 46, .55) 1.4px, transparent 1.4px);
  background-size: 34px 34px;
  opacity: .42;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 18%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 48%, #000 18%, transparent 76%);
}

.hero-media { position: absolute; inset: 0; pointer-events: none; }

.hero-img {
  position: absolute;
  width: min(26vw, 250px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  opacity: .78;
  filter: saturate(.85) contrast(1.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero-img:first-child {
  left: -2%;
  top: 9%;
  transform: rotate(-5deg);
}

.hero-img:nth-child(2) {
  right: -2%;
  bottom: 7%;
  transform: rotate(4deg);
  animation-duration: 21s;
  animation-direction: alternate-reverse;
}

@keyframes drift { to { translate: 0 -16px; } }

.hero-copy {
  position: relative;
  max-width: 880px;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(2rem, 6.6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  text-shadow: 0 0 60px rgba(228, 87, 46, .35);
}

.hero-title .ch {
  display: inline-block;
  white-space: pre;
  animation: rise .68s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 34ms);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(.42em) rotate(4deg); }
  to { opacity: 1; transform: none; }
}

.hero-hint {
  margin: 1.6em 0 0;
  font-family: var(--f-head);
  font-size: .8rem;
  letter-spacing: .34em;
  color: var(--accent);
  text-indent: .34em;
}

/* ---------- 正文骨架 ---------- */

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 84px) var(--edge) clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 900px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr) 288px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }
}

.content { min-width: 0; }

.content > div {
  padding: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.content > div:first-child { border-top: 0; padding-top: 0; }

.content p { margin: 0 0 1.1em; color: var(--soft); }

.content small {
  display: block;
  font-family: var(--f-head);
  font-size: .76rem;
  letter-spacing: .24em;
  color: var(--accent);
}

.content small + h2,
.content small + h3 { margin-top: .5em; }

.content h2 {
  font-family: var(--f-head);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin: .2em 0 .6em;
}

.content h3 {
  font-family: var(--f-head);
  font-size: 1.14rem;
  line-height: 1.35;
  margin: 1.7em 0 .5em;
  color: var(--accent);
}

.content ul,
.content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.content li { margin: .38em 0; color: var(--soft); }

.content a { color: var(--accent); text-underline-offset: 3px; }

.content strong { color: #fff; }

.content blockquote {
  margin: 1.4em 0;
  padding: .5em 0 .5em 1em;
  border-left: 2px solid var(--accent);
  color: var(--dim);
}

.content img { margin: 1.3em 0; border: 1px solid var(--line); }

.content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------- 侧栏 ---------- */

.side {
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .side {
    position: sticky;
    top: 148px;
    padding: 0 0 0 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

.side small {
  display: block;
  font-family: var(--f-head);
  font-size: .76rem;
  letter-spacing: .26em;
  color: var(--accent);
}

.side h2 {
  margin: .4em 0 1.1em;
  font-family: var(--f-head);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.side-list { list-style: none; margin: 0; padding: 0; }

.side-list a {
  display: block;
  min-height: 40px;
  padding: 9px 0;
  font-size: .93rem;
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px dashed rgba(244, 241, 236, .12);
  transition: color .2s, padding-left .2s;
}

.side-list a:hover,
.side-list a:focus-visible { color: var(--accent); padding-left: 6px; }

/* ---------- 页脚 ---------- */

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(28px, 5vw, 60px);
  border-top: 1px solid var(--line);
  background: rgba(6, 13, 22, .62);
}

.foot-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px) var(--edge) 24px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 760px) {
  .foot-cols { grid-template-columns: 1.05fr 1.05fr 1fr; gap: 32px; }
}

.foot-col { min-width: 0; }

address {
  font-style: normal;
  font-family: var(--f-head);
  font-size: 1.08rem;
  letter-spacing: .1em;
}

.sub-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }

.sub-form input {
  flex: 1 1 150px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(244, 241, 236, .05);
  color: var(--paper);
  font: inherit;
  font-size: .95rem;
}

.sub-form input::placeholder { color: rgba(244, 241, 236, .45); }

.sub-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.sub-form button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: filter .18s, transform .18s;
}

.sub-form button:hover { filter: brightness(1.1); transform: translateY(-1px); }

.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.foot-links a {
  display: block;
  min-height: 40px;
  padding: 9px 0;
  font-size: .92rem;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}

.foot-links a:hover,
.foot-links a:focus-visible { color: var(--accent); }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: rgba(244, 241, 236, .55);
}

.foot-base p { margin: 0; }

.foot-base ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(244, 241, 236, .72);
  text-decoration: none;
}

.foot-base a:hover { color: var(--accent); }

/* ---------- 滚动显现 ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 小屏 ---------- */

@media (max-width: 760px) {
  .menu { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; }
  .hero { min-height: 62vh; }
  .hero-img { width: min(34vw, 170px); opacity: .6; }
  .hero-img:nth-child(2) { bottom: auto; top: 12%; }
  .hero-title { font-size: clamp(1.85rem, 8.4vw, 2.6rem); }
}

@media (min-width: 900px) {
  .content > div { scroll-margin-top: 150px; }
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

button[aria-expanded]{min-width:44px;min-height:44px}
