/* 友局官网首页样式
   品牌色板与语义遵循 DESIGN.md：雾灰底 / 卡片纸 / 墨 / 柿子橙（仅主按钮与强调）/ 深林绿（重色锚点）
   手写体 .kai 仅作点缀，每屏至多一处 */

:root {
  --paper: #F5F6F7;
  --card: #FFFDF7;
  --ink: #2E2A24;
  --ink-sub: #736A5A;
  --orange: #E8590C;
  --orange-btn: #C24A07;
  --orange-btn-hover: #A93E06;
  --orange-text: #B24708;
  --orange-soft: #FDEADD;
  --green: #3F5B3F;
  --sand: #E7DCC7;
  --line: #E4DAC5;

  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-kai: "Kaiti SC", "KaiTi", "STKaiti", serif;

  --pad-section: clamp(88px, 9vw, 136px);
  --content-width: 1120px;
  --radius-card: 24px;
  --radius-pill: 999px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 0 0 10px 0;
}

.skip-link:focus { left: 0; }

.kai { font-family: var(--font-kai); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.btn-lg { padding: 15px 34px; font-size: 17px; }

.btn-primary {
  background: var(--orange-btn);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(194, 74, 7, 0.28);
}

.btn-primary:hover { background: var(--orange-btn-hover); transform: translateY(-2px); }

.btn-hint { cursor: default; }

.btn-hint:hover { transform: none; }

.btn:focus-visible,
.head-nav a:focus-visible,
.brand:focus-visible,
.foot-nav a:focus-visible,
.foot-icp a:focus-visible,
.ticket-toplink:focus-visible {
  outline: 2px solid var(--orange-text);
  outline-offset: 3px;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.75);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }

/* ---------- 顶栏 ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #FFFFFF;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.site-head.is-solid {
  background: rgba(245, 246, 247, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}

.head-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.72);
}

.site-head.is-solid .brand-text em { color: var(--ink-sub); }

.head-nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.head-nav a { position: relative; padding: 4px 0; color: inherit; }

.head-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.head-nav a:hover::after { transform: scaleX(1); }

.head-cta { padding: 9px 20px; font-size: 14px; }

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

.hero {
  position: relative;
  min-height: clamp(640px, 88vh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-stage { position: absolute; inset: 0; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 60%;
  transform: scale(1.18);
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(30, 27, 22, 0.62) 0%, rgba(30, 27, 22, 0.34) 42%, rgba(30, 27, 22, 0.06) 72%),
    linear-gradient(0deg, rgba(30, 27, 22, 0.35) 0%, rgba(30, 27, 22, 0) 30%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  width: 100%;
  margin: 0 auto;
  padding: 150px 24px 110px;
  color: #FFFFFF;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(58px, 8.6vw, 118px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.05em;
  text-shadow: 0 6px 32px rgba(20, 16, 10, 0.35);
}

.hero-sub {
  margin-top: 30px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 2.05;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

.hero-note {
  margin-top: 14px;
  font-size: 21px;
  color: var(--sand);
  letter-spacing: 0.14em;
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.scroll-hint {
  font-size: 12px;
  letter-spacing: 0.5em;
  color: rgba(255, 255, 255, 0.75);
  padding-left: 0.5em;
  animation: hint-float 2.4s ease-in-out infinite;
}

@keyframes hint-float {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------- 区块公共 ---------- */

.section-head {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.section-kicker {
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--orange-text);
  margin-bottom: 18px;
}

.kicker-light { color: var(--sand); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.section-desc {
  margin: 26px auto 0;
  max-width: 560px;
  color: var(--ink-sub);
  font-size: 16px;
}

