/* ========== 颜色与基础 ========== */
:root {
  --red: #830908;          /* 取自 logo（assets/img/new.png）背景色 */
  --red-deep: #4a0403;
  --cream: #fbf3ec;        /* LOGO 文字/圆圈的米白色 */
  --navy: #0b1729;         /* 第二屏深蓝背景 */
  --gold: #cfae62;
  --paper: #f9f6f1;        /* 第三屏米白背景 */
  --ink: #1a1a1a;
  /* 新配色（先用在首页）：红 + 米白为主，深色统一用深酒红 */
  --wine: #3d0807;         /* 深色区块，取代深蓝 / 近黑 */
  --wine-deep: #2a0605;    /* 更深的酒红：页脚、深色卡片 */
  --ivory: #faf6f0;        /* 浅色区块主背景（暖米白，不是纯白） */
  --sand: #f1e7da;         /* 第二种浅色，相邻两个浅色区块交替 */
  --ink-warm: #2a1816;     /* 浅色背景上的正文（暖深棕） */
  --deep: #4a0606;         /* 首页统一的深红背景（开场之后的所有区块） */
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body { height: 100%; }

/* 点链接跳转时平滑滚动 */
html { scroll-behavior: smooth; }

body {
  background: var(--red);
  color: var(--cream);
  font-family: "EB Garamond", Georgia, serif;
  overflow-x: hidden;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--red);
  overflow: hidden;
}

/* 四周渐暗 */
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 50%,
              rgba(0, 0, 0, 0) 35%,
              rgba(30, 0, 0, 0.45) 75%,
              rgba(20, 0, 0, 0.75) 100%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 6vw 40px; /* 顶部留出导航栏高度，保证一屏放得下 */
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 4vw;
}

/* ========== 文字 ========== */
.hero__eyebrow {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  letter-spacing: 0.25em;
  margin-bottom: 18px;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 57.6px);
  line-height: 1.08;
  margin-bottom: 28px;
}

.hero__tagline {
  font-style: italic;
  font-size: 17.6px;
  margin-bottom: 36px;
}

.hero__desc {
  font-size: 14.4px;
  line-height: 1.7;
  max-width: 640px;
  opacity: 0.92;
  margin-bottom: 32px;
}

.hero__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__tags li {
  padding: 8px 16px;
  border: 1px solid rgba(251, 243, 236, 0.45);
  border-radius: 999px;
  font-size: 11.2px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========== 按钮 ========== */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: 1px solid var(--cream);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.btn--solid {
  background: var(--cream);
  color: var(--red);
}
.btn--solid:hover { background: transparent; color: var(--cream); }

.btn--outline {
  background: transparent;
  color: var(--cream);
}
.btn--outline:hover { background: var(--cream); color: var(--red); }

/* ========== Logo 与影子 ========== */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: min(32vw, 500px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

/* 裁成圆形，并把图片放大，减少圆圈外的红色边 */
.hero__logo-clip {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
}

.hero__logo img {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1.03); /* new.png 的圆圈占图片约 82%，稍微放大一点即可 */
}

/* logo 阴影：用伪元素控制透明度，方便渐显 */
.hero__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55),
              0 10px 25px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

/* 后面的大影子（放大的淡 logo） */
.hero__ghost {
  position: absolute;
  z-index: 1;
  width: min(46vw, 680px);
  aspect-ratio: 1 / 1;
  left: 58%;
  top: 50%;
  transform: translate(-30%, -50%);
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero__ghost img {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.03); /* 与主 logo 一样放大 */
  filter: brightness(0.55) saturate(0.9);
  opacity: 0.35;
}

/* ========== 开场动画状态 ========== */

/* 1. logo 初始：隐藏，位置由 JS 设置到屏幕正中，放大倍数 --s 也由 JS 根据屏幕高度计算 */
.hero__logo {
  opacity: 0;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-360deg) scale(calc(var(--s, 1.4) * 0.9));
  transition: opacity 0.5s ease,
              transform 0.75s var(--ease-move);
}

/* 2. 在正中放大渐显 */
.intro-visible .hero__logo {
  opacity: 1;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(-360deg) scale(var(--s, 1.4));
}

/* 3. 向右滚动到最终位置（同时顺时针转一圈 360°，并缩回原大小） */
.intro-placed .hero__logo {
  transform: translate(0, 0) rotate(0deg) scale(1);
}

/* 4. 阴影与后面影子同时渐显 */
.intro-shadow .hero__logo::after,
.intro-shadow .hero__ghost {
  opacity: 1;
}

/* 5. 文字渐显 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s var(--ease-out);
}
.intro-text .reveal { opacity: 1; transform: none; }
.intro-text .reveal:nth-child(2) { transition-delay: 0.06s; }
.intro-text .reveal:nth-child(3) { transition-delay: 0.12s; }
.intro-text .reveal:nth-child(4) { transition-delay: 0.18s; }
.intro-text .reveal:nth-child(5) { transition-delay: 0.24s; }

/* 6. 按钮从屏幕下方移上来 */
.hero__actions .btn {
  opacity: 0;
  transform: translateY(100vh);
  transition: transform 0.65s var(--ease-out), opacity 0.4s ease,
              background-color 0.3s, color 0.3s;
}
.intro-buttons .hero__actions .btn { opacity: 1; transform: none; }
.intro-buttons .hero__actions .btn + .btn { transition-delay: 0.08s, 0.08s, 0s, 0s; }

/* ========== 导航栏 ========== */
/* --nav-p：0 = 页面在顶部（透明背景），1 = 往下滑动后（白色背景），由 JS 根据滚动距离设置
   白色背景超过一半时加 .nav--light，文字切换成红色 */
.nav {
  --nav-p: 0;
  --nav-fg: var(--cream);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, var(--nav-p));
  box-shadow: 0 2px 18px rgba(0, 0, 0, calc(var(--nav-p) * 0.12));
  /* 7. 全部动画结束后从最上方降下来 */
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-out), opacity 0.7s ease;
}
.intro-nav .nav { opacity: 1; transform: none; }
.nav--light { --nav-fg: var(--red); }

/* 左：社团名称｜中：链接（居中）｜右：头像 */
.nav__inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 4vw;
  height: 76px;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  grid-template-areas: "brand menu account";
  align-items: center;
  column-gap: 32px;
}
.nav__brand   { grid-area: brand; justify-self: start; }
.nav__menu    { grid-area: menu; }
.nav__account { grid-area: account; justify-self: end; }

/* 左侧社团名称：印章 + 文字（都从 assets/img/new2.png 抠出）
   文字图 brand-text.png 只用来当遮罩，颜色跟着 --nav-fg 变（顶部米白，往下滑后红色） */
.nav__brand {
  position: relative;
  z-index: 2; /* 手机菜单打开时仍显示在最上层 */
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nav-fg);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav__brand-seal {
  display: block;
  height: 48px;
  width: auto;
  flex: none;
}
.nav__brand-text {
  display: block;
  height: 38px;
  aspect-ratio: 1052 / 246;
  flex: none;
  background: currentColor;
  /* brand-name.png：new2 的中文 + 英文全称（不含 ECEA 缩写） */
  -webkit-mask: url("../img/brand-name.png") center / contain no-repeat;
  mask: url("../img/brand-name.png") center / contain no-repeat;
}

.nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 40px);
}

.nav__menu a {
  position: relative;
  color: var(--nav-fg);
  text-decoration: none;
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 0;
  transition: color 0.3s ease;
}

/* 悬停与当前页的下划线 */
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }

/* 导航栏里需要突出的链接（Join Community Hub）：加粗金色，顶部透明 / 白色背景 / 手机菜单都一样 */
.nav__menu a.nav__hl { color: var(--gold); font-weight: 700; font-size: 12.8px; }   /* 比其他链接（11.2px）大一号 */
.nav--light .nav__menu a.nav__hl { color: #b08a3a; }   /* 白底上金色稍深一点，看得清 */

/* 汉堡按钮：只在窄屏显示 */
.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--nav-fg);
  transition: transform 0.35s var(--ease-out), opacity 0.2s, background-color 0.2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

/* 减少动画偏好：直接显示最终状态 */
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__logo::after, .hero__ghost, .reveal, .hero__actions .btn, .nav {
    transition: none !important;
  }
}

/* 手机：社团名称缩小，给汉堡按钮留位置 */
@media (max-width: 480px) {
  .nav__brand { gap: 8px; }
  .nav__brand-seal { height: 38px; }
  .nav__brand-text { height: 30px; }
}

/* ========== 窄屏导航：汉堡菜单（左侧社团名称 + 7 个链接一行放不下时） ========== */
@media (max-width: 1360px) {
  /* 窄屏改为一行：社团名称 … 头像 菜单按钮 */
  .nav__inner { height: 64px; padding: 0 16px; display: flex; gap: 8px; }
  .nav__toggle { display: block; margin-left: 0; order: 3; }
  .nav__account { margin-left: auto; order: 2; }

  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: var(--red);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
  }
  .nav__menu a {
    color: var(--cream);
    font-size: 14.4px;
  }

  /* 菜单打开 */
  .nav-open .nav__menu { opacity: 1; visibility: visible; }
  .nav-open .nav__toggle span { background: var(--cream); }
  .nav-open .nav__brand { color: var(--cream); }
  .nav-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-open body { overflow: hidden; }
}

/* ========== 窄屏 ========== */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 88px 16px 48px; /* 顶部留出导航栏高度 */
  }
  .hero__visual { order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
  .hero__logo { width: 62vw; max-width: 300px; }
  .hero__ghost { width: 90vw; max-width: 440px; }
  .btn { padding: 16px 28px; font-size: 12px; }
}

/* ========== 第二屏：ECEA In Motion ========== */
.motion {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.motion__inner {
  width: 100%;
  padding: 96px 6vw 56px; /* 顶部留出导航栏高度 */
  text-align: center;
}

.motion__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.motion__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(27.2px, 3.4vw, 51.2px);
  line-height: 1.1;
  margin-bottom: clamp(28px, 5vh, 52px);
}
.motion__title em {
  font-style: italic;
  color: var(--gold);
}

/* 滚动到这一屏时渐显 */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
.is-inview .fade-up { opacity: 1; transform: none; }
.is-inview .fade-up:nth-child(2) { transition-delay: 0.15s; }
.is-inview .fade-up:nth-child(3) { transition-delay: 0.3s; }

/* ========== 横向切换的卡片 ========== */
/* --per：一次显示几张；卡片宽度同时受屏幕宽和屏幕高限制，保证整屏放得下 */
.carousel {
  --per: 3;
  --gap: 24px;
  --card-w: min(
    calc((min(88vw, 1400px) - (var(--per) - 1) * var(--gap)) / var(--per)),
    calc((100vh - 330px) * 0.8)
  );
  position: relative;
  width: calc(var(--card-w) * var(--per) + (var(--per) - 1) * var(--gap));
  margin: 0 auto;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 14px;
  touch-action: pan-y;
}

.carousel__track {
  --i: 0;
  list-style: none;
  display: flex;
  gap: var(--gap);
  transform: translateX(calc(var(--i) * -1 * (var(--card-w) + var(--gap))));
  transition: transform 0.6s var(--ease-move);
}

.motion-card {
  position: relative;
  flex: 0 0 var(--card-w);
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2740, #0f1b2e);
  border: 1px solid rgba(251, 243, 236, 0.08);
}

.motion-card video,
.motion-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 加载中 / 加载失败：占满整个卡片区域 */
.motion-status {
  flex: 0 0 100%;
  height: calc(var(--card-w) * 1.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(251, 243, 236, 0.18);
  color: rgba(251, 243, 236, 0.7);
  font-size: 13.6px;
  letter-spacing: 0.08em;
}
.motion-status__spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(251, 243, 236, 0.2);
  border-top-color: var(--gold);
  animation: motion-spin 0.9s linear infinite;
}
@keyframes motion-spin { to { transform: rotate(360deg); } }

.motion-status--error p { color: var(--cream); }
.motion-status__retry {
  font-family: inherit;
  font-size: 11.2px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 26px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.motion-status__retry:hover { background: var(--gold); color: var(--navy); }

/* 右下角来源标签 */
.motion-card__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 23, 41, 0.7);
  color: var(--cream);
  font-size: 12px;
  text-decoration: none;
}
.motion-card__badge svg { width: 15px; height: 15px; }

/* 左右箭头 */
.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 56px;
  height: 56px;
  margin-top: -28px;
  border-radius: 50%;
  border: 0;
  background: rgba(20, 28, 44, 0.85);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  padding-bottom: 4px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s, background-color 0.3s;
}
.carousel__arrow:hover { background: rgba(40, 52, 76, 0.95); }
.carousel__arrow--prev { left: -28px; }
.carousel__arrow--next { right: -28px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .carousel__track { transition: none !important; }
}

/* 平板：一次 2 张 */
@media (max-width: 1024px) {
  .carousel { --per: 2; --gap: 18px; }
}

/* 手机：一次 1 张，箭头收进卡片内侧 */
@media (max-width: 640px) {
  .motion__inner { padding: 84px 16px 40px; }
  .carousel {
    --per: 1;
    --card-w: min(calc(100vw - 32px), calc((100svh - 280px) * 0.8));
  }
  .carousel__arrow { width: 44px; height: 44px; margin-top: -22px; font-size: 20.8px; }
  .carousel__arrow--prev { left: 8px; }
  .carousel__arrow--next { right: 8px; }
}

/* ========== 第三屏：LinkedIn Latest Updates ========== */
.linkedin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--paper);
  color: var(--ink);
}

.linkedin__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 110px 3vw 56px; /* 顶部留出导航栏高度 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.linkedin__eyebrow {
  color: var(--red);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.linkedin__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(27.2px, 3.4vw, 51.2px);
  line-height: 1.1;
  margin-bottom: clamp(28px, 5vh, 52px);
}
.linkedin__title em {
  font-style: italic;
  color: var(--red);
}

/* 领英帖子：4 列 × 2 行，每个框固定高度，内容在框内滚动 */
.linkedin__feed {
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.linkedin-post {
  height: 420px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  overscroll-behavior: contain;
}
.linkedin-post iframe {
  display: block;
  width: 100%;
  height: 876px;
  border: 0;
}

/* 链接卡片：和 embed 同样大小，点击打开原帖 */
.linkedin-post--card { overflow: hidden; }
.linkedin-post--card a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
}
.linkedin-card__img {
  width: 100%;
  height: 46%;
  object-fit: cover;
  display: block;
  flex: none;
}
.linkedin-card__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
}
.linkedin-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.2px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a66c2;
}
.linkedin-card__label svg { width: 16px; height: 16px; }
.linkedin-card__text {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  font-size: 13.6px;
  line-height: 1.6;
  color: #3d3833;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
}
.linkedin-post--card:has(.linkedin-card__img) .linkedin-card__text { -webkit-line-clamp: 4; }
.linkedin-card__more {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--red);
}
.linkedin-post--card a:hover .linkedin-card__more { text-decoration: underline; }
.linkedin-post--card a:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

/* 加载中 / 失败 / 还没有帖子 */
.linkedin-status {
  grid-column: 1 / -1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px dashed #d6cdc1;
  border-radius: 6px;
  color: #7a736b;
  font-size: 13.6px;
}
.linkedin-status__spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #e6dfd5;
  border-top-color: var(--red);
  animation: motion-spin 0.9s linear infinite;
}
.linkedin-status__retry {
  font-family: inherit;
  font-size: 11.2px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 24px;
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  cursor: pointer;
}
.linkedin-status__retry:hover { background: var(--red); color: var(--cream); }

.linkedin__follow {
  display: inline-block;
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 18px 46px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.linkedin__follow:hover { background: transparent; color: var(--ink); }

@media (max-width: 1199px) {
  .linkedin__feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .linkedin__inner { padding: 96px 16px 40px; }
  .linkedin__feed { grid-template-columns: 1fr; gap: 18px; }
  .linkedin__follow { width: 100%; padding: 16px 20px; }
}

/* ========== 第四屏：The Platform ========== */
.platform {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  --card-bg: #16203a;
}

.platform__inner {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 96px 4vw 48px; /* 顶部留出导航栏高度 */
  text-align: center;
}

.platform__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.platform__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(25.6px, 3.2vw, 49.6px);
  line-height: 1.1;
  margin-bottom: clamp(24px, 4.5vh, 48px);
}
.platform__title em {
  font-style: italic;
  color: var(--gold);
}

.platform__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: clamp(28px, 5vh, 48px);
}

.platform-card {
  background: var(--card-bg);
  border: 1px solid rgba(251, 243, 236, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

/* 照片：三张同一尺寸，下方 1/3 虚化并渐变到卡片底色 */
.platform-card__media {
  position: relative;
  height: clamp(150px, 26vh, 260px);
}
.platform-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.platform-card__media::before,
.platform-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
}
.platform-card__media::before {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 70%);
  mask-image: linear-gradient(to bottom, transparent, #000 70%);
}
.platform-card__media::after {
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--card-bg) 100%);
}

.platform-card__body {
  padding: 8px 40px 36px;
}
.platform-card__body h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  color: var(--gold);
  margin-bottom: 14px;
}
.platform-card__body p {
  font-size: 14.4px;
  line-height: 1.75;
  color: rgba(251, 243, 236, 0.78);
}

.platform__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

/* 动画：三个部分缓慢显示并上升，按钮只渐显 */
.rise {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.4s ease, transform 1.4s var(--ease-out);
}
/* 每张卡片进入画面时各自触发（电脑上三张同时进入，按顺序错开） */
.rise.is-inview { opacity: 1; transform: none; }
.rise.is-inview:nth-child(1) { transition-delay: 0.3s; }
.rise.is-inview:nth-child(2) { transition-delay: 0.5s; }
.rise.is-inview:nth-child(3) { transition-delay: 0.7s; }

.fade-in {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.fade-in.is-inview { opacity: 1; transition-delay: 1.4s; }

@media (prefers-reduced-motion: reduce) {
  .rise, .fade-in { transition: none !important; }
}

/* 窄屏：卡片竖排 */
@media (max-width: 900px) {
  .platform__inner { padding: 88px 16px 48px; }
  .platform__cards { grid-template-columns: 1fr; gap: 20px; }
  .platform-card__media { height: 200px; }
  .platform-card__body { padding: 4px 24px 28px; }
  .platform-card__body p { font-size: 13.6px; }
  .platform__actions .btn { width: 100%; max-width: 360px; }
}

/* ========== 第五屏：Our Community（卡片结构与第四屏相同） ========== */
.community {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
}

.community__eyebrow {
  color: var(--red);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.community__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(25.6px, 3.2vw, 49.6px);
  line-height: 1.1;
  margin-bottom: clamp(24px, 4.5vh, 48px);
}
.community__title em {
  font-style: italic;
  color: var(--red);
}

.community__cards { margin-bottom: 0; }

/* 三张卡片各自的底色，照片下方会渐变到这个颜色 */
.community-card { border: 0; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12); }
.community-card--red  { --card-bg: #6b0202; }
.community-card--navy { --card-bg: #0b1729; }
.community-card--dark { --card-bg: #1c1c1c; border-top: 3px solid var(--gold); }

.community-card .platform-card__body { position: relative; }
.community-card .platform-card__body h3 { color: #fff; }
.community-card .platform-card__body p { color: rgba(251, 243, 236, 0.85); }

/* 右上角大号序号，压在照片渐变处 */
.community-card__num {
  position: absolute;
  right: 28px;
  top: -78px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 76.8px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

@media (max-width: 900px) {
  .community-card__num { font-size: 57.6px; top: -60px; right: 20px; }
}

/* ========== 第六屏：Why Join ECEA ========== */
.why {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
  --why-card: rgba(20, 30, 48, 0.86); /* 卡片底色，取自参考图文字框颜色 */
}

/* 背景照片：铺满整屏，下方 1/3 虚化并过渡到深蓝底色 */
.why__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.why__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.why__bg::before,
.why__bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  pointer-events: none;
}
.why__bg::before {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 60%);
  mask-image: linear-gradient(to bottom, transparent, #000 60%);
}
.why__bg::after {
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--navy));
}

.why__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 96px 4vw 48px; /* 顶部留出导航栏高度 */
  text-align: center;
}

.why__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 48px);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.why__title em {
  font-style: italic;
  color: var(--gold);
}

.why__lead {
  max-width: 880px;
  margin: 0 auto clamp(24px, 4.5vh, 48px);
  font-size: 15.2px;
  line-height: 1.65;
  color: rgba(251, 243, 236, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

/* 六个部分：宽屏 3 列 × 2 行，保证一屏放得下 */
.why__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.why-card {
  background: var(--why-card);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(251, 243, 236, 0.08);
  border-radius: 4px;
  padding: 30px 34px;
}
.why-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17.6px;
  line-height: 1.25;
  color: var(--gold);
  margin-bottom: 12px;
}
.why-card p {
  font-size: 13.6px;
  line-height: 1.65;
  color: rgba(251, 243, 236, 0.8);
}

/* 六张卡片依次错开出现 */
.why .rise.is-inview:nth-child(4) { transition-delay: 0.9s; }
.why .rise.is-inview:nth-child(5) { transition-delay: 1.1s; }
.why .rise.is-inview:nth-child(6) { transition-delay: 1.3s; }

/* 中等宽度：2 列 */
@media (max-width: 1199px) {
  .why__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 手机：1 列 */
@media (max-width: 700px) {
  .why__inner { padding: 88px 16px 48px; }
  .why__lead { font-size: 13.6px; }
  .why__cards { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 22px; }
  .why .rise.is-inview:nth-child(n) { transition-delay: 0.2s; } /* 手机上逐张触发，不再错开 */
}

/* ========== 第七屏：Mailing List + Find Us Online ========== */
.connect {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column; /* 上面两栏占满剩余高度，金色行动条贴在最下面 */
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(110, 6, 6, 0.55), transparent 70%),
    #550101;
  color: var(--cream);
}

.connect__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1;
  padding: 96px 6vw 48px; /* 顶部留出导航栏高度 */
  display: grid;
  align-content: center;
  grid-template-columns: minmax(0, 760px); /* 只有 Find Us Online 一栏，居中 */
  justify-content: center;
  gap: 4vw;
  align-items: center;
  text-align: center;
}


.connect__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.connect__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(25.6px, 2.7vw, 41.6px);
  line-height: 1.1;
  margin-bottom: 22px;
}
.connect__title em {
  font-style: italic;
  color: var(--gold);
}

.connect__lead {
  font-size: 15.2px;
  line-height: 1.6;
  color: rgba(251, 243, 236, 0.85);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* 订阅表单 */


.connect__note {
  font-size: 13.6px;
  color: rgba(251, 243, 236, 0.75);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 社交按钮 */
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  padding: 20px 22px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 14.4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.social__btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35); }
.social__btn svg { width: 22px; height: 22px; flex: none; }

.social__btn--ig  { background: #1a1a1a; }
.social__btn--xhs { background: #6b0202; border: 1.5px solid var(--gold); } /* 和背景太接近，加金色边框 */
.social__btn--li  { background: #0a66c2; }

/* 两栏错开出现 */
.connect .rise.is-inview:nth-child(3) { transition-delay: 0.5s; }

/* 窄屏：上下排列 */
@media (max-width: 900px) {
  .connect__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 96px 16px 56px;
  }
  .connect .rise.is-inview:nth-child(n) { transition-delay: 0.2s; }
}

@media (max-width: 480px) {
  .social__btn { width: 100%; }
}

/* ========== 最后一屏底部：金色行动条 ========== */
.cta-band {
  background: #c9a74e;
  color: #1a1a1a;
  text-align: center;
  padding: 34px 16px 40px;
}
.cta-band__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(19.2px, 2.1vw, 32px);
  line-height: 1.2;
  margin-bottom: 24px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.cta-band__btn {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 13.6px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 3px;
  padding: 18px 46px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.cta-band__btn:hover { background: transparent; color: #1a1a1a; }

@media (max-width: 480px) {
  .cta-band__btn { width: 100%; padding: 16px 20px; font-size: 12px; }
}

/* ========== 页脚 ========== */
.site-footer {
  background: #1c1c1c;
  color: rgba(251, 243, 236, 0.75);
}

.site-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 6vw 40px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(251, 243, 236, 0.1);
}

/* 页脚名称：印章 + 文字（同导航栏，文字用遮罩上色） */
.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.site-footer__seal {
  display: block;
  height: 76px;
  width: auto;
  flex: none;
}
.site-footer__name {
  display: block;
  height: 72px;
  max-width: 100%;
  aspect-ratio: 1052 / 319;
  background: #fff;
  -webkit-mask: url("../img/brand-text.png") left center / contain no-repeat;
  mask: url("../img/brand-text.png") left center / contain no-repeat;
}
.site-footer__tagline {
  font-style: italic;
  font-size: 14.4px;
  margin-bottom: 20px;
}
.site-footer__support {
  font-size: 12px;
  color: rgba(251, 243, 236, 0.6);
}
.site-footer__support a {
  color: #8f7a45;
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer__support a:hover { color: var(--gold); }

.site-footer__col h3 {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.site-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-footer__col a {
  color: rgba(251, 243, 236, 0.75);
  text-decoration: none;
  font-size: 13.6px;
  transition: color 0.3s;
  word-break: break-word;
}
.site-footer__col a:hover { color: #fff; }

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__social svg { width: 18px; height: 18px; flex: none; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 40px;
  font-size: 12px;
  color: rgba(251, 243, 236, 0.55);
}

/* 平板：名称占一整行，三栏在下 */
@media (max-width: 1024px) {
  .site-footer__top { grid-template-columns: repeat(3, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}

/* 手机：两栏，Connect 占一整行 */
@media (max-width: 600px) {
  .site-footer__inner { padding: 48px 16px 32px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 40px; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__seal { height: 60px; }
  .site-footer__name { height: 56px; }
  .site-footer__bottom { flex-direction: column; padding-top: 28px; }
}

/* ========== 导航栏右侧：头像 + 登录小窗口 ========== */
.nav__account {
  position: relative;
  z-index: 2;
}

.nav__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--nav-fg);
  background: transparent;
  color: var(--nav-fg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.nav__avatar svg { width: 22px; height: 22px; }
.nav__avatar:hover,
.account-open .nav__avatar { background: rgba(255, 255, 255, 0.12); }
.nav--light .nav__avatar:hover,
.nav--light.account-open .nav__avatar { background: rgba(131, 9, 8, 0.08); }

/* 登录小窗口：从右上角展开 */
.account-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 320px;
  padding: 28px 26px 26px;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  text-align: left;
  transform-origin: top right;
  transform: scale(0.92) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.28s var(--ease-out), opacity 0.2s ease, visibility 0.28s;
}
.account-open .account-panel {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.account-panel__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  color: var(--red);
  margin-bottom: 18px;
}

.account-form label {
  display: block;
  font-size: 10.4px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 6px;
}
.account-form input {
  width: 100%;
  font-family: inherit;
  font-size: 13.6px;
  color: var(--ink);
  background: #faf8f5;
  border: 1px solid #ddd6cc;
  border-radius: 3px;
  padding: 11px 13px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.25s, background-color 0.25s;
}
.account-form input:focus { border-color: var(--red); background: #fff; }

.account-form__msg {
  min-height: 0;
  font-size: 12px;
  color: #b3261e;
  margin: -6px 0 10px;
}
.account-form__msg:empty { display: none; }

.account-form button {
  width: 100%;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 13px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.account-form button:hover { background: transparent; color: var(--red); }
.account-form button:disabled { opacity: 0.6; cursor: wait; }

/* 手机：小窗口贴着屏幕右边，宽度不超过屏幕 */
@media (max-width: 480px) {
  .account-panel {
    position: fixed;
    top: 72px;
    right: 16px;
    width: calc(100vw - 32px);
  }
}

/* ========== 子页面（careers / events / about / join / community / contact） ========== */
/* 子页面导航栏直接显示（html 上有 class="subpage intro-nav"） */

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background: var(--red);
  color: var(--cream);
  overflow: hidden;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 6vw 64px; /* 顶部留出导航栏高度 */
}
.page-hero__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(30.4px, 4vw, 57.6px);
  line-height: 1.1;
}

.page-body {
  background: var(--paper);
  color: var(--ink);
  min-height: 34vh;
  max-width: none;
  padding: 72px 6vw;
  text-align: center;
}
.page-body__note {
  font-size: 17.6px;
  font-style: italic;
  color: #6b645d;
  margin-bottom: 24px;
}
.page-body__back {
  color: var(--red);
  font-size: 13.6px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.page-body__back:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .page-hero__inner { padding: 110px 16px 44px; }
  .page-body { padding: 56px 16px; }
}

/* ---------- 子页面通用区块 ---------- */
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__lead {
  max-width: 720px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(251, 243, 236, 0.88);
}
/* 子页面标题区的渐显不用等滚动 */
.page-hero .fade-up { transition-duration: 1s; }

.page-section {
  background: var(--paper);
  color: var(--ink);
}
.page-section__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 6vw 96px;
  text-align: center;
}
.section-eyebrow {
  color: var(--red);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 43.2px);
  line-height: 1.15;
  margin-bottom: clamp(32px, 5vh, 56px);
}
.section-title em { font-style: italic; color: var(--red); }

/* 特色卡片：一行 3 个，最后一行居中 */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  text-align: left;
}
.feature-card {
  flex: 0 1 calc((100% - 52px) / 3);
  background: #fff;
  border: 1px solid #e6dfd5;
  border-top: 3px solid var(--red);
  border-radius: 4px;
  padding: 34px 32px 36px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}
.feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(131, 9, 8, 0.08);
  color: var(--red);
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17.6px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14.4px;
  line-height: 1.7;
  color: #5c5650;
}
.feature-grid .rise.is-inview:nth-child(4) { transition-delay: 0.4s; }
.feature-grid .rise.is-inview:nth-child(5) { transition-delay: 0.6s; }

@media (max-width: 1024px) {
  .feature-card { flex-basis: calc((100% - 26px) / 2); }
}
@media (max-width: 640px) {
  .page-hero__lead { font-size: 14.4px; }
  .page-section__inner { padding: 64px 16px 72px; }
  .feature-grid { gap: 18px; }
  .feature-card { flex-basis: 100%; padding: 28px 24px; }
  .feature-grid .rise.is-inview:nth-child(n) { transition-delay: 0.15s; }
}

/* 深色区块（深蓝底） */
.page-section--dark { background: var(--navy); color: var(--cream); }
.page-section--dark .section-eyebrow,
.page-section--dark .section-title em { color: var(--gold); }
.page-section--dark .feature-card {
  background: #16203a;
  border-color: rgba(251, 243, 236, 0.08);
  border-top-color: var(--gold);
  box-shadow: none;
}
.page-section--dark .feature-card__icon { background: rgba(207, 174, 98, 0.12); color: var(--gold); }
.page-section--dark .feature-card h3 { color: var(--gold); }
.page-section--dark .feature-card p { color: rgba(251, 243, 236, 0.78); }

/* 区块底部按钮 */
.section-actions { margin-top: 48px; }
.section-actions .btn { display: inline-block; text-decoration: none; }

/* 子页面里的领英区块：不需要占满一屏 */
.linkedin--page { min-height: 0; }

/* ---------- 浮在屏幕底部的金色提示条 ---------- */
.cta-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: #c9a74e;
  color: #1a1a1a;
  text-align: center;
  padding: 22px 64px 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  animation: cta-float-in 0.6s var(--ease-out) 0.8s both;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}
@keyframes cta-float-in {
  from { transform: translateY(100%); }
  to   { transform: none; }
}
.cta-float.is-closed {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cta-float__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(17.6px, 1.9vw, 27.2px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-float__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cta-float .cta-band__btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 38px;
  font-size: 12.8px;
}
.cta-float__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1a1a1a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}
.cta-float__close:hover { background: rgba(0, 0, 0, 0.1); }
/* 提示条打开时，页面底部留出和提示条一样高的空间，不挡住页脚（高度由 assets/js/careers.js 设置） */
html.has-cta-float body { padding-bottom: var(--cta-float-h, 150px); }

@media (max-width: 640px) {
  .section-actions { margin-top: 36px; }
  .section-actions .btn { width: 100%; }
  .cta-float { padding: 16px 48px 18px 16px; text-align: left; }
  .cta-float__title { font-size: 16px; margin-bottom: 10px; }
  .cta-float__actions { flex-wrap: nowrap; gap: 8px; }
  .cta-float .cta-band__btn { flex: 1 1 0; width: auto; padding: 11px 6px; font-size: 9.6px; letter-spacing: 0.08em; text-align: center; }
  .cta-float__close { top: 6px; right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-float { animation: none; transition: none; }
}

/* ---------- 左右两栏：左边标题固定，右边无框列表（Events 页面） ---------- */
.split {
  max-width: 1300px;
  margin: 0 auto;
  padding: 96px 6vw 110px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 6vw;
  align-items: start;
  text-align: left;
}
.split__aside {
  position: sticky;
  top: 120px; /* 导航栏下方 */
}
.split__aside .section-title { margin-bottom: 32px; }

/* 深色按钮（米白底区块用） */
.page-btn {
  display: inline-block;
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 17px 40px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.page-btn:hover { background: transparent; color: var(--ink); }

.split-list {
  list-style: none;
  border-top: 1px solid #ddd3c6;
}
.split-list__item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 40px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 38px 0 40px;
  border-bottom: 1px solid #ddd3c6;
}
/* 鼠标移上去：分隔线从左到右变红 */
.split-list__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.split-list__item:hover::after { transform: scaleX(1); }

.split-list__num {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 41.6px;
  line-height: 0.9;
  color: rgba(131, 9, 8, 0.16);
  transition: color 0.4s;
}
.split-list__item:hover .split-list__num { color: rgba(131, 9, 8, 0.55); }

.split-list__icon {
  color: var(--red);
  padding-top: 4px;
}
.split-list__icon svg { width: 30px; height: 30px; display: block; }

.split-list__text h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 20.8px;
  line-height: 1.25;
  margin-bottom: 10px;
}
.split-list__text p {
  font-size: 15.2px;
  line-height: 1.7;
  color: #5c5650;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 16px 80px;
  }
  .split__aside { position: static; }
  .split-list__item { grid-template-columns: 52px 32px minmax(0, 1fr); gap: 12px; padding: 28px 0 30px; }
  .split-list__num { font-size: 30.4px; }
  .split-list__icon svg { width: 26px; height: 26px; }
  .split-list__text h3 { font-size: 17.6px; }
  .split-list__text p { font-size: 13.6px; }
  .split-list .rise.is-inview:nth-child(n) { transition-delay: 0.15s; }
}

/* ---------- Events：Relive The Moments（深色底，左文字右视频） ---------- */
.moments {
  background: #1c1c1c;
  color: var(--cream);
}
.moments__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 110px 6vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 5vw;
  align-items: center;
}
.moments__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.moments__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(27.2px, 3.2vw, 49.6px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.moments__title em { font-style: italic; color: var(--red); }
.moments__lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(251, 243, 236, 0.72);
}

/* 两个视频横向排列 */
.moments__videos {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.moment-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--red);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}
.moment-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.moments__videos.fade-up { transition-delay: 0.3s; }

@media (max-width: 900px) {
  .moments__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 72px 16px;
  }
  .moments__lead { font-size: 14.4px; }
  .moments__videos { gap: 12px; }
  .moment-card { border-radius: 10px; }
  .moment-card .motion-card__badge { right: 8px; bottom: 8px; padding: 4px 10px; font-size: 10.4px; }
}

/* ---------- Events：Past Initiatives（左，轮播）+ Upcoming（右，最多 3 张） ---------- */
.initiatives {
  background: var(--navy);
  color: var(--cream);
  --ev-gap: 28px;
  --ev-bg: #16203a;            /* 卡片底色，图片渐变到这个颜色 */
}
.initiatives__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 100px 5vw 110px;
  display: grid;
  /* 4 等分：左 Past 占 1 份，右 Upcoming 占 3 份，间距相同，所以所有卡片一样宽 */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--ev-gap);
  align-items: start;
}
.initiatives__col--upcoming { grid-column: span 3; }
.initiatives .section-eyebrow { color: var(--gold); text-align: left; }
.initiatives .section-title { color: var(--cream); text-align: left; margin-bottom: 36px; font-size: clamp(22.4px, 2.2vw, 35.2px); }
.initiatives .section-title em { color: var(--gold); }

/* 卡片 */
.event-card {
  position: relative;
  height: 440px;
  display: flex;
  flex-direction: column;
  background: var(--ev-bg);
  border: 1px solid rgba(251, 243, 236, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
/* 上方 1/3：图片，下边缘渐变到卡片底色 */
.event-card__media {
  position: relative;
  flex: none;
  height: 34%;
  background: #4a5163;         /* 没有图片时的灰色 */
}
.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--ev-bg));
}
/* 左上角日期 */
.event-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 3px;
  background: var(--red);
  color: var(--cream);
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.event-card__body {
  flex: 1;
  min-height: 0;
  padding: 18px 24px 24px;
  overflow: hidden;
}
.event-card__body h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 17.6px;
  line-height: 1.25;
  color: var(--gold);
  margin-bottom: 12px;
}
.event-card__body p {
  font-size: 13.6px;
  line-height: 1.6;
  color: rgba(251, 243, 236, 0.8);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

/* Past：轮播，一次 1 张，从右往左切换 */
.event-carousel__viewport { overflow: hidden; border-radius: 10px; touch-action: pan-y; }
.event-carousel__track {
  --i: 0;
  list-style: none;
  display: flex;
  transform: translateX(calc(var(--i) * -100%));
  transition: transform 0.8s var(--ease-move);
}
.event-carousel__track > li { flex: 0 0 100%; }
.event-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.event-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 243, 236, 0.3);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.event-carousel__dots button[aria-selected="true"] { background: var(--gold); transform: scale(1.25); }

/* Upcoming：最多 3 张一行 */
.event-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ev-gap);
}

/* 加载中 / 没有活动 */
.event-status {
  grid-column: 1 / -1;
  flex: 0 0 100%;
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(251, 243, 236, 0.2);
  border-radius: 10px;
  color: rgba(251, 243, 236, 0.6);
  font-size: 13.6px;
  text-align: center;
  padding: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .event-carousel__track { transition: none; }
}

/* 窄屏：上下排列；Past 卡片和 Upcoming 卡片保持一样宽 */
@media (max-width: 1100px) {
  .initiatives__inner { grid-template-columns: 1fr; row-gap: 64px; }
  .initiatives__col--upcoming { grid-column: auto; }
  .initiatives__col--past .event-carousel { width: calc((100% - var(--ev-gap) * 2) / 3); min-width: 300px; }
}
@media (max-width: 760px) {
  .initiatives__inner { padding: 72px 16px 80px; row-gap: 56px; }
  .initiatives__col--past .event-carousel { width: 100%; min-width: 0; }
  .event-grid { grid-template-columns: 1fr; gap: 18px; }
  .event-card { height: 400px; }
}

/* ---------- About：Who We Are + Our Vision 左右并排 ---------- */
.about-intro {
  background: var(--paper);
  color: var(--ink);
}
.about-intro__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 6vw 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 0 56px;
  text-align: left;
}
.about-intro__col--vision {
  padding-left: 56px;
  border-left: 1px solid #ddd3c6;
}
/* 右栏没有小标题，往下对齐左栏的大标题 */
.about-intro__col--vision .about-intro__title { margin-top: 34px; }
.about-intro .section-eyebrow { margin-bottom: 10px; }
.about-intro__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(20.8px, 1.9vw, 28.8px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.about-intro__title em { font-style: italic; color: var(--red); }
.about-intro p {
  font-size: 14.4px;
  line-height: 1.7;
  color: #4a443e;
  margin-bottom: 14px;
}
.about-intro p.about-intro__quote {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  font-style: italic;
  color: var(--red);
}
.about-intro p.about-intro__partner {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ddd3c6;
  font-size: 12.8px;
  color: #6b645d;
}
.about-intro__partner a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(131, 9, 8, 0.35);
}
.about-intro__partner a:hover { border-bottom-color: var(--red); }

@media (max-width: 900px) {
  .about-intro__inner { grid-template-columns: 1fr; padding: 48px 16px 56px; }
  .about-intro__col--vision {
    padding: 28px 0 0;
    margin-top: 28px;
    border-left: 0;
    border-top: 1px solid #ddd3c6;
  }
  .about-intro__col--vision .about-intro__title { margin-top: 0; }
  .about-intro p { font-size: 13.6px; }
}

/* ---------- About：Meet the Team（深色底，左边卡片右边视频） ---------- */
.team {
  background: #1c1c1c;
  color: var(--cream);
  padding: 90px 5vw 100px;
}
.team__head { text-align: center; }
.team .section-eyebrow { color: var(--gold); }
.team .section-title { color: #fff; margin-bottom: 56px; }
.team .section-title em { color: var(--gold); }

.team__inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}

/* 成员卡片：排成一行，从右往左滚动（assets/js/about.js 的 loadTeam） */
.team__people { align-self: center; min-width: 0; }
.team-marquee {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  /* 左右两端淡出 */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.team-marquee.is-dragging { cursor: grabbing; }
.team-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.team-marquee__set {
  list-style: none;
  display: flex;
  gap: 28px;
  padding-right: 28px;   /* 和卡片之间的间距一样，两份接起来没有缝 */
}
.team-card {
  flex: 0 0 300px;
  background: #232323;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 44px 26px 40px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.team-card:hover { border-color: rgba(207, 174, 98, 0.45); transform: translateY(-4px); }
.team-card__avatar {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: #6b0202;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
}
.team-card__name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--gold);
  margin-bottom: 14px;
}
.team-card__role {
  font-size: 14.4px;
  line-height: 1.65;
  color: rgba(251, 243, 236, 0.7);
  margin-bottom: 12px;
}
.team-card__aff {
  font-style: italic;
  font-size: 14.4px;
  line-height: 1.6;
  color: #c9a74e;
}
/* 头像照片 */
.team-card__avatar { overflow: hidden; }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }

.team-status {
  min-height: 200px;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: min(600px, 80vw);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: rgba(251, 243, 236, 0.6);
  font-size: 13.6px;
}

/* 右边：The Team in Action 视频 */
.team__video { position: sticky; top: 110px; }
.team__video-label {
  text-align: center;
  color: var(--gold);
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.team-video {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.team-video video,
.team-video__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-video.is-fallback { background: var(--red); }


/* 窗口不够宽时视频移到成员下面 */
@media (max-width: 1280px) {
  .team__inner { grid-template-columns: 1fr; }
  .team__video { position: static; max-width: 320px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .team { padding: 64px 16px 72px; }
  .team .section-title { margin-bottom: 36px; }
  .team-marquee__set { gap: 14px; padding-right: 14px; }
  .team-card { flex-basis: 220px; padding: 30px 16px 28px; }
  .team-card__avatar { width: 90px; height: 90px; font-size: 22px; margin-bottom: 18px; }
  .team-card__name { font-size: 16px; margin-bottom: 8px; }
  .team-card__role,
  .team-card__aff { font-size: 12.8px; }
}

/* ========== 首页第二屏：Instagram + LinkedIn 合并模块 ========== */
.feeds {
  background: var(--navy);
  color: var(--cream);
}
.feeds__inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 110px 2vw 90px; /* 顶部留出导航栏高度；两边留白比其他区块少，内容更大 */
  text-align: center;
}
.feeds__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.feeds__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(27.2px, 3.4vw, 51.2px);
  line-height: 1.1;
  margin-bottom: 44px;
}
.feeds__title em { font-style: italic; color: var(--gold); }
/* 切换 Instagram / LinkedIn 时标题快速淡出，换文字后按原来的渐显效果淡入 */
.feeds__eyebrow.is-swapping,
.feeds__title.is-swapping {
  opacity: 0 !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* 两块并排：展开 2/3、收起 1/3，切换时宽度平滑变化 */
.feeds__stage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  text-align: left;
  transition: grid-template-columns 0.6s var(--ease-move);
}
.feeds__stage[data-active="li"] { grid-template-columns: 1fr 2fr; }

.feed-panel {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(251, 243, 236, 0.08);
  transition: background-color 0.4s, border-color 0.4s;
}
.feeds__stage[data-active="ig"] .feed-panel--ig,
.feeds__stage[data-active="li"] .feed-panel--li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(207, 174, 98, 0.35);
}

.feed-panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 40px;
  margin-bottom: 16px;
}
.feed-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-panel__label svg { width: 18px; height: 18px; flex: none; }
.feed-panel__follow {
  font-size: 11.2px;
  letter-spacing: 0.08em;
  color: rgba(251, 243, 236, 0.7);
  text-decoration: none;
  white-space: nowrap;
}
.feed-panel__follow:hover { color: #fff; text-decoration: underline; }

.feed-panel__body {
  position: relative;
  height: var(--feed-h);
  display: flex;
  align-items: center;
}
.feed-panel__viewport { width: 100%; }

/* 左右箭头：和原来首页 Instagram 轮播一样的深色圆形按钮，在内容两侧中间 */
.feed-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 0;
  background: rgba(20, 28, 44, 0.9);
  color: var(--cream);
  font-size: 24px;
  line-height: 1;
  padding-bottom: 4px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: opacity 0.3s, background-color 0.3s;
}
.feed-arrow:hover { background: rgba(40, 52, 76, 0.98); }
.feed-arrow--prev { left: -18px; }
.feed-arrow--next { right: -18px; }
.feed-arrow:disabled { opacity: 0; pointer-events: none; }
.feed-panel__items {
  list-style: none;
  width: 100%;
  display: grid;
  gap: 16px;
  transition: opacity 0.2s ease;
}
.feed-panel__items.is-fading { opacity: 0; }
.feed-panel__items > [hidden] { display: none; }

/* Instagram：展开 4 个、收起 1 个，竖版 9:16 */
.feed-panel--ig .feed-panel__items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feeds__stage[data-active="li"] .feed-panel--ig .feed-panel__items {
  grid-template-columns: minmax(0, calc(var(--feed-h) * 9 / 16));
  justify-content: center;
}
.feed-ig {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: var(--feed-h);
  border-radius: 10px;
  overflow: hidden;
  background: #16203a;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.feed-ig video,
.feed-ig img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* LinkedIn：展开一排 2 个、收起 1 个，帖子占满整块高度；多出来的在右边，箭头横向滑动
   --rows / --cols / --i 由 assets/js/feeds.js 设置；嵌入内容按格子宽度排版，格子窄于 300px 时才缩小 */
.feed-panel--li .feed-panel__viewport { overflow: hidden; border-radius: 8px; }
.feed-panel--li .feed-panel__items {
  --rows: 2;
  --cols: 4;
  --i: 0;
  --col-w: calc((100% - (var(--cols) - 1) * 16px) / var(--cols));
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rows), calc((var(--feed-h) - (var(--rows) - 1) * 16px) / var(--rows)));
  grid-auto-columns: var(--col-w);
  transform: translateX(calc(var(--i) * -1 * (var(--col-w) + 16px)));
  transition: transform 0.55s var(--ease-move), opacity 0.2s ease;
}
/* 加载中 / 失败 / 没有帖子时，提示占满整块，不滑动 */
.feed-panel--li .feed-panel__items:has(> .feed-status) { display: block; transform: none; }
.feed-li {
  --s: 0.55;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}
.feed-li iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--base, 300px);
  height: calc(100% / var(--s));
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
}
/* 链接卡片 */
.feed-li--card a {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}
.feed-li--card .linkedin-card__img { height: 40%; width: 100%; object-fit: cover; flex: none; }
.feed-li--card .linkedin-card__body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; }
.feed-li--card .linkedin-card__text { font-size: 12.8px; -webkit-line-clamp: 12; }

/* 收起的那块：变暗，鼠标移上去提示可以切换 */
.feed-panel__hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 23, 41, 0.85);
  color: var(--gold);
  font-size: 10.4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.feeds__stage[data-active="ig"] .feed-panel--li,
.feeds__stage[data-active="li"] .feed-panel--ig { cursor: pointer; }
.feeds__stage[data-active="ig"] .feed-panel--li .feed-panel__hint,
.feeds__stage[data-active="li"] .feed-panel--ig .feed-panel__hint { display: block; }
/* 收起时里面的嵌入框不接收鼠标，避免挡住切换 */
.feeds__stage[data-active="ig"] .feed-panel--li .feed-li,
.feeds__stage[data-active="li"] .feed-panel--ig .feed-ig { pointer-events: none; }
/* 收起的那块：只让内容变暗，箭头不变暗 */
.feeds__stage[data-active="ig"] .feed-panel--li .feed-panel__viewport,
.feeds__stage[data-active="li"] .feed-panel--ig .feed-panel__viewport { opacity: 0.55; transition: opacity 0.3s; }
.feeds__stage[data-active="ig"] .feed-panel--li:hover .feed-panel__viewport,
.feeds__stage[data-active="li"] .feed-panel--ig:hover .feed-panel__viewport { opacity: 0.85; }

/* 加载中 / 失败 */
.feed-status {
  grid-column: 1 / -1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px dashed rgba(251, 243, 236, 0.18);
  border-radius: 10px;
  color: rgba(251, 243, 236, 0.7);
  font-size: 12.8px;
  text-align: center;
  padding: 16px;
}
.feed-status__retry {
  font-family: inherit;
  font-size: 10.4px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
}
.feed-status__retry:hover { background: var(--gold); color: var(--navy); }

/* 切换开关：只在窄屏显示 */
.feeds__tabs { display: none; }

@media (prefers-reduced-motion: reduce) {
  .feeds__stage, .feed-panel__items, .feed-panel--li .feed-panel__items { transition: none; }
}

/* 窄屏：切换开关，一次显示一种 */
@media (max-width: 1099px) {
  .feeds__inner { padding: 96px 16px 64px; }
  .feeds__title { margin-bottom: 28px; }
  .feeds__tabs {
    display: inline-flex;
    margin-bottom: 20px;
    border: 1px solid rgba(207, 174, 98, 0.5);
    border-radius: 999px;
    padding: 4px;
  }
  .feeds__tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 9px 20px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(251, 243, 236, 0.75);
    cursor: pointer;
  }
  .feeds__tabs button svg { width: 16px; height: 16px; }
  .feeds__tabs button[aria-selected="true"] { background: var(--gold); color: var(--navy); }

  .feeds__stage,
  .feeds__stage[data-active="li"] { grid-template-columns: 1fr; transition: none; }
  .feeds__stage[data-active="ig"] .feed-panel--li,
  .feeds__stage[data-active="li"] .feed-panel--ig { display: none; }
  .feed-panel { padding: 16px; }
  .feed-panel__body { height: auto; }
  .feed-panel--ig .feed-panel__items,
  .feeds__stage[data-active="li"] .feed-panel--ig .feed-panel__items { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .feed-panel--li .feed-panel__items { grid-template-rows: 480px; }
  .feed-arrow { width: 42px; height: 42px; margin-top: -21px; font-size: 19.2px; }
  .feed-arrow--prev { left: -6px; }
  .feed-arrow--next { right: -6px; }
  .feed-panel__label { font-size: 10.4px; letter-spacing: 0.12em; }
  .feed-panel__follow { display: none; }
}

/* =====================================================================
   首页新配色 + 区块过渡（之后其他页面按这个规格调整）
   主红 --red ｜ 深酒红 --wine / --wine-deep ｜ 米白 --ivory ｜ 浅沙 --sand ｜ 金 --gold（少量点缀）
   首页顺序：开场(红) → Instagram/领英(深酒红) → Platform(米白) → Community(浅沙) → Why(照片+深酒红) → Connect(红) → 页脚(更深酒红)
   ===================================================================== */

/* ---------- Instagram + LinkedIn：深酒红 ---------- */
.feeds { background: var(--wine); }
.feed-ig { background: var(--wine-deep); }
.feed-arrow { background: rgba(42, 6, 5, 0.92); }
.feed-arrow:hover { background: rgba(110, 16, 14, 0.98); }
.feed-panel__hint { background: rgba(42, 6, 5, 0.88); }
.feed-status__retry:hover { color: var(--wine); }
.feeds__tabs button[aria-selected="true"] { color: var(--wine); }

/* LinkedIn 预览：鼠标移上去显示 "Read post"，点击弹出阅读窗口 */
.feed-li__open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  border: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(42, 6, 5, 0.55));
  opacity: 0;
  cursor: zoom-in;
  transition: opacity 0.25s;
}
.feed-li__open span {
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: inherit;
  font-size: 11.2px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feed-li:hover .feed-li__open,
.feed-li__open:focus-visible { opacity: 1; }

/* 阅读窗口 */
.li-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
}
.li-modal[hidden] { display: none; }
.li-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 4, 3, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.li-modal__box {
  position: relative;
  width: min(540px, 100%);
  height: min(86vh, 860px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: li-modal-in 0.3s var(--ease-out);
}
@keyframes li-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.li-modal__box iframe { width: 100%; height: 100%; border: 0; display: block; }
.li-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(42, 6, 5, 0.85);
  color: var(--cream);
  font-size: 20.8px;
  line-height: 1;
  cursor: pointer;
}
.li-modal .feed-arrow { position: relative; top: auto; margin: 0; left: auto; right: auto; flex: none; }
/* 阅读窗口打开时不锁整页滚动（锁住会让页面跳回顶部），背后的滚动由 JS 拦住 */
.li-modal { overscroll-behavior: contain; }

/* ---------- Platform：米白，白色卡片 + 红色顶线 ---------- */
.platform { background: var(--ivory); color: var(--ink-warm); --card-bg: #fff; }
.platform__eyebrow,
.platform__title em { color: var(--red); }
.platform-card {
  background: #fff;
  border: 1px solid #e9ded2;
  border-top: 3px solid var(--red);
  box-shadow: 0 14px 34px rgba(80, 20, 10, 0.08);
}
.platform-card__body h3 { color: var(--red); }
.platform-card__body p { color: #5c4a45; }
.platform .btn--solid { background: var(--red); color: var(--cream); border-color: var(--red); }
.platform .btn--solid:hover { background: transparent; color: var(--red); }
.platform .btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.platform .btn--outline:hover { background: var(--red); color: var(--cream); }

/* ---------- Community：浅沙，卡片都在红色系 ---------- */
.community { background: var(--sand); color: var(--ink-warm); }
.community-card--red  { --card-bg: var(--red); }
.community-card--navy { --card-bg: var(--wine); }
.community-card--dark { --card-bg: var(--wine-deep); }

/* ---------- Why Join：照片 + 深酒红；照片上边缘渐隐，和上一块过渡 ---------- */
.why { background: var(--wine); --why-card: rgba(61, 8, 7, 0.84); }
.why__bg {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 170px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 170px);
}
.why__bg::after { background: linear-gradient(to bottom, transparent, var(--wine)); }
.why-card { border-color: rgba(251, 243, 236, 0.1); }

/* ---------- Connect：主红 ---------- */
.connect {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(160, 24, 20, 0.45), transparent 70%),
    var(--red);
}

/* ---------- 页脚：更深的酒红（所有页面共用） ---------- */
.site-footer { background: var(--wine-deep); }

/* ---------- 页脚文字也在滚动到时渐显 ---------- */
.site-footer__top > *,
.site-footer__bottom {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
}
.site-footer.is-inview .site-footer__top > *,
.site-footer.is-inview .site-footer__bottom { opacity: 1; transform: none; }
.site-footer.is-inview .site-footer__top > :nth-child(2) { transition-delay: 0.1s; }
.site-footer.is-inview .site-footer__top > :nth-child(3) { transition-delay: 0.2s; }
.site-footer.is-inview .site-footer__top > :nth-child(4) { transition-delay: 0.3s; }
.site-footer.is-inview .site-footer__bottom { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-footer__top > *, .site-footer__bottom { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1099px) {
  .li-modal { padding: 12px; gap: 0; }
  .li-modal .feed-arrow { position: absolute; top: 50%; margin-top: -21px; z-index: 2; }
  .li-modal__prev { left: 6px !important; }
  .li-modal__next { right: 6px !important; }
  .feed-li__open { opacity: 1; background: linear-gradient(to bottom, transparent 70%, rgba(42, 6, 5, 0.5)); }
}

/* =====================================================================
   首页规格 v2：背景统一深红、开场底部渐变、Platform + Community 合并转盘、
   文字动画跟随滚动、页面吸附
   ===================================================================== */

/* ---------- 背景统一深红（开场保持 logo 红，页脚稍深） ---------- */
.feeds, .story, .why, .connect { background-color: var(--deep); }
.why { --why-card: rgba(36, 4, 4, 0.78); }
.why__bg::after { background: linear-gradient(to bottom, transparent, var(--deep)); }
.connect {
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(140, 18, 16, 0.4), transparent 70%),
    var(--deep);
}
.feed-ig { background: #350505; }

/* ---------- 开场底部渐变到深红，和第二屏无缝衔接 ---------- */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(to bottom,
    rgba(74, 6, 6, 0) 0%,
    rgba(74, 6, 6, 0.35) 40%,
    rgba(74, 6, 6, 0.8) 75%,
    var(--deep) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- LinkedIn：展开 2 行 × 3 列 ---------- */

/* ---------- Platform + Community 合并：左 1/3 卡片转盘，右 2/3 照片 ---------- */
.story { position: relative; color: var(--cream); }
.story__track {
  position: relative;
  height: calc(6 * 100vh);   /* 6 张卡片，每滚一屏换一张 */
}
/* 吸附点：每张卡片一个 */
.story__step {
  position: absolute;
  left: 0;
  top: calc(var(--n) * 100vh);
  width: 1px;
  height: 100vh;
  pointer-events: none;
}
.story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

/* 右 2/3：当前卡片的照片（跟着滚动交叉淡入），左边缘渐变到深红 */
.story__media {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
}
.story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
}
.story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--deep) 0%, rgba(74, 6, 6, 0.55) 18%, rgba(74, 6, 6, 0) 45%),
    linear-gradient(to bottom, rgba(40, 4, 4, 0.75) 0%, rgba(40, 4, 4, 0) 38%, rgba(40, 4, 4, 0) 62%, rgba(40, 4, 4, 0.8) 100%);
}

/* 大标题：右 2/3 上方 */
.story__head {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  align-self: start;
  padding: 120px 5vw 0 4vw;   /* 顶部留出导航栏高度 */
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.story__eyebrow {
  color: var(--gold);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.story__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(25.6px, 2.9vw, 46.4px);
  line-height: 1.1;
  max-width: 820px;
}
.story__title em { font-style: italic; color: var(--gold); }
.story__eyebrow.is-swapping,
.story__title.is-swapping {
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* 按钮：右 2/3 中下方 */
.story__actions {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12vh;
}

/* 左 1/3：卡片转盘。--d = 卡片位置 - 当前滚动位置（由 JS 设置），0 是正中间 */
.story__wheel {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  list-style: none;
  perspective: 1100px;
  background: var(--deep);
}
.story-card {
  --d: 0;
  --ad: 0;               /* |d|，最大 2 */
  position: absolute;
  left: 9%;
  right: 7%;
  top: 50%;
  padding: 34px 34px 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(207, 174, 98, calc(0.55 - var(--ad) * 0.25));
  box-shadow: 0 20px 50px rgba(0, 0, 0, calc(0.35 - var(--ad) * 0.12));
  transform:
    translateY(calc(-50% + var(--d) * 88%))
    rotateX(calc(var(--d) * -24deg))
    scale(calc(1 - var(--ad) * 0.1));
  opacity: calc(1 - var(--ad) * 0.45);
  cursor: pointer;
  will-change: transform, opacity;
}
.story-card.is-far { visibility: hidden; }
.story-card__img { display: none; }
.story-card__num {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: rgba(207, 174, 98, 0.45);
  margin-bottom: 10px;
}
.story-card h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(17.6px, 1.5vw, 24px);
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 14px;
}
.story-card p {
  font-size: clamp(12.8px, 1vw, 15.2px);
  line-height: 1.7;
  color: rgba(251, 243, 236, 0.88);
}
.story-group { display: none; }

/* 手机 / 窄屏：不转盘，卡片带照片按顺序竖排 */
@media (max-width: 900px) {
  .story__track { height: auto; }
  .story__step { display: none; }
  .story__sticky { position: static; height: auto; overflow: visible; display: block; padding: 88px 16px 56px; }
  .story__media, .story__head { display: none; }
  .story__wheel { perspective: none; display: flex; flex-direction: column; gap: 18px; background: none; }
  .story-card {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(207, 174, 98, 0.3);
    cursor: default;
  }
  .story-card__img { display: block; width: 100%; height: 190px; object-fit: cover; }
  .story-card__body { padding: 22px 22px 26px; }
  .story-group { display: block; text-align: center; margin: 22px 0 4px; }
  .story-group:first-child { margin-top: 0; }
  .story-group__eyebrow { color: var(--gold); font-size: 11.2px; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 8px; }
  .story-group__title { font-family: "Playfair Display", serif; font-weight: 700; font-size: 24px; line-height: 1.15; }
  .story-group__title em { font-style: italic; color: var(--gold); }
  .story__actions { margin: 32px 0 0; }
  .story__actions .btn { width: 100%; max-width: 360px; }
}

/* ---------- 文字动画跟随滚动：--rv 是 0（还没出现）到 1（完全出现），由 assets/js/site.js 按滚动位置设置 ---------- */
.fade-up,
.rise,
.fade-in,
.site-footer__top > *,
.site-footer__bottom {
  opacity: var(--rv, 0) !important;
  transition: none !important;
}
.fade-up,
.site-footer__top > *,
.site-footer__bottom { transform: translateY(calc((1 - var(--rv, 0)) * 30px)) !important; }
.rise { transform: translateY(calc((1 - var(--rv, 0)) * 70px)) !important; }
.fade-in { transform: none !important; }
html.no-scroll-reveal .fade-up,
html.no-scroll-reveal .rise,
html.no-scroll-reveal .fade-in,
html.no-scroll-reveal .site-footer__top > *,
html.no-scroll-reveal .site-footer__bottom { opacity: 1 !important; transform: none !important; }

/* ---------- 页面吸附（首页）：每屏和转盘的每张卡片都是吸附点 ---------- */
html:has(body[data-snap]) { scroll-snap-type: y mandatory; }
.snap { scroll-snap-align: start; }
.snap-end { scroll-snap-align: end; }
@media (max-width: 900px) {
  html:has(body[data-snap]) { scroll-snap-type: y proximity; }
}

/* =====================================================================
   首页规格 v3
   ===================================================================== */

/* ---------- Instagram / LinkedIn：恢复切换时的宽度动画；滚动到这一屏时两块从左右两边合并 ---------- */
.feeds__stage { transition: grid-template-columns 0.6s var(--ease-move) !important; }
.feeds { overflow-x: clip; }   /* 两块从屏幕外滑进来时不出现横向滚动条 */
@media (min-width: 1100px) {
  .feeds__stage .feed-panel--ig { transform: translateX(calc((1 - var(--merge, 1)) * -62vw)); }
  .feeds__stage .feed-panel--li { transform: translateX(calc((1 - var(--merge, 1)) * 62vw)); }
  .feeds__stage .feed-panel { opacity: calc(0.15 + var(--merge, 1) * 0.85); will-change: transform; }
}

/* ---------- 合并屏：照片铺满整屏 + 淡淡的蒙版，文字叠在照片上 ---------- */
.story__media { grid-column: 1 / -1; }
.story__media::after {
  background:
    linear-gradient(to right, rgba(50, 5, 5, 0.55) 0%, rgba(50, 5, 5, 0.3) 38%, rgba(50, 5, 5, 0.18) 100%),
    linear-gradient(to bottom, rgba(40, 4, 4, 0.45) 0%, rgba(40, 4, 4, 0) 35%, rgba(40, 4, 4, 0) 65%, rgba(40, 4, 4, 0.5) 100%);
}
.story__wheel { background: transparent; }
.story-card {
  background: rgba(40, 4, 4, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.story-card p { color: rgba(251, 243, 236, 0.92); }

/* 转到 Our Community 时按钮淡出 */
.story__actions { transition: opacity 0.4s ease, transform 0.4s var(--ease-out); }
.story.is-community .story__actions { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (max-width: 900px) {
  .story.is-community .story__actions { opacity: 1; transform: none; pointer-events: auto; }
}

/* =====================================================================
   首页规格 v4
   ===================================================================== */

/* ---------- 合并屏：左边转盘只放标题，正文在右边照片中间 ---------- */
.story-card p { display: none; }
.story-card { padding: 26px 30px 28px; }
.story-card h3 { margin-bottom: 0; font-size: clamp(19.2px, 1.7vw, 27.2px); }
.story-card {
  transform:
    translateY(calc(-50% + var(--d) * 125%))
    rotateX(calc(var(--d) * -26deg))
    scale(calc(1 - var(--ad) * 0.1));
}
.story__texts {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.story__text {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(640px, 80%);
  margin-left: calc(min(640px, 80%) / -2);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 1.4vw, 22.4px);
  line-height: 1.55;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
  opacity: 0;
  will-change: opacity, transform;
}

@media (max-width: 900px) {
  .story__texts { display: none; }
  .story-card p { display: block; }
  .story-card h3 { margin-bottom: 14px; font-size: 17.6px; }
}

/* ---------- 滚动停下后补完动画（见 assets/js/site.js） ---------- */
.rv-done { --rv: 1 !important; }
.fade-up.rv-done,
.rise.rv-done,
.fade-in.rv-done,
.site-footer__top > .rv-done,
.site-footer__bottom.rv-done {
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out) !important;
}

/* =====================================================================
   首页规格 v5
   ===================================================================== */

/* ---------- 合并屏和前后两屏的过渡：照片上下边缘渐隐到深红；滚进 / 滚出时整体渐显渐隐 ---------- */
.story__media {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
@media (min-width: 901px) {
  .story__media,
  .story__wheel,
  .story__texts,
  .story__head,
  .story__actions { opacity: var(--story-vis, 1); }
  .story.is-community .story__actions { opacity: 0; }
  .story__wheel { transform: translateX(calc((1 - var(--story-vis, 1)) * -40px)); }
}

/* ---------- 正文段落：20% 白色透明背景 + 金色边框 ---------- */
.story__text {
  padding: 26px 34px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* ---------- Why Join：可展开 / 收起的卡片 ---------- */
.why-card { padding: 0; }
.why-card h3 { margin: 0; }
.why-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.why-card__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
/* ＋ / － 图标 */
.why-card__icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(207, 174, 98, 0.6);
  border-radius: 50%;
}
.why-card__icon::before,
.why-card__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: var(--gold);
  transition: transform 0.35s var(--ease-out);
}
.why-card__icon::after { transform: rotate(90deg); }
.why-card.is-open .why-card__icon::after { transform: rotate(0deg); }
/* 展开动画：高度从 0 平滑变化 */
.why-card__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.why-card.is-open .why-card__body { grid-template-rows: 1fr; }
.why-card__body > div { overflow: hidden; }
.why-card__body p {
  padding: 0 28px 26px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.why-card.is-open .why-card__body p { opacity: 1; transition-delay: 0.1s; }
.why__cards { align-items: start; }

@media (max-width: 700px) {
  .why-card__toggle { padding: 20px 20px; }
  .why-card__body p { padding: 0 20px 22px; }
}

/* =====================================================================
   首页规格 v6：Instagram / LinkedIn 整屏放进一个窗口
   --feed-h：两块面板内容区的高度 = 窗口高度 - 标题和上下留白（最小 360px，最大 600px）
   ===================================================================== */
.feeds { --feed-h: clamp(360px, calc(100vh - 350px), 600px); }
.feeds__inner { padding: 92px 2vw 36px; }      /* 顶部留出导航栏高度 */
.feeds__eyebrow { font-size: 11.2px; margin-bottom: 10px; }
.feeds__title { font-size: clamp(24px, 2.6vw, 40px); margin-bottom: 22px; }
.feed-panel { padding: 14px 20px 18px; }
.feed-panel__head { min-height: 32px; margin-bottom: 10px; }
@media (max-width: 1099px) {
  .feeds { --feed-h: 480px; }
}

/* =====================================================================
   首页规格 v7：合并屏文字阴影加重
   ===================================================================== */
.story-card h3,
.story-card__num { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75), 0 4px 22px rgba(0, 0, 0, 0.65); }
.story__text { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 3px 18px rgba(0, 0, 0, 0.75); }
.story__head { text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 4px 28px rgba(0, 0, 0, 0.6); }

/* =====================================================================
   页面切换过场动画（全站，assets/js/site.js 的 pageTransition）
   ===================================================================== */
/* logo 大小和首页开场时 logo 在屏幕正中的大小一样 */
:root { --pt-size: min(44.8vw, 700px, 75vh); }
@media (max-width: 900px) { :root { --pt-size: min(85vw, 420px, 75vh); } }
/* 新页面刚开始加载、脚本还没运行时，先用深红 + logo 盖住，避免闪一下原页面 */
html.pt-incoming::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #4a0606 url("../img/logo-round.png") center / var(--pt-size) no-repeat;
}

.pt {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}
.pt.is-active { visibility: visible; pointer-events: auto; }

/* 油漆：从顶部往下流，下边缘有滴痕 */
.pt__paint {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  background: var(--deep);
  color: var(--deep);
  transform: translateY(-140%);
}
.pt__paint svg {
  position: absolute;
  left: 0;
  top: calc(100% - 1px);
  width: 100%;
  height: 35vh;
  display: block;
}

/* 圆形 logo */
.pt__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pt-size);
  height: var(--pt-size);
  margin: calc(var(--pt-size) / -2) 0 0 calc(var(--pt-size) / -2);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(-85vh) rotate(-30deg);
}
.pt__logo img { width: 100%; height: 100%; border-radius: 50%; display: block; }

/* 离开：油漆快速流下来，logo 掉到中间（带一点弹跳） */
.pt.is-in .pt__paint {
  transform: translateY(0);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.25, 1);
}
.pt.is-in .pt__logo {
  transform: translateY(0) rotate(0deg);
  transition: transform 0.75s cubic-bezier(0.34, 1.4, 0.55, 1) 0.05s;
}

/* 进入：先盖住（不动画） */
.pt.is-covered .pt__paint { transform: translateY(0); transition: none; }
.pt.is-covered .pt__logo { transform: translateY(0) rotate(0deg); transition: none; }

/* 进入：logo 往下掉出屏幕消失，油漆往下流走 */
.pt.is-out .pt__paint {
  transform: translateY(120%);
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.3, 1) 0.2s;
}
.pt.is-out .pt__logo {
  transform: translateY(85vh) rotate(25deg);
  opacity: 0;
  transition: transform 0.65s cubic-bezier(0.55, 0, 0.9, 0.4), opacity 0.35s ease 0.35s;
}



/* =====================================================================
   Careers & Growth 改版：不用成排的卡片
   ===================================================================== */

/* ① 左边标题，右边 2 列文字列表 */
.clist {
  max-width: 1400px;
  margin: 0 auto;
  padding: 96px 6vw 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 6vw;
  align-items: start;
}
.clist__head .section-title { margin-bottom: 0; }
.clist__head { text-align: left; }
.clist__items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid #ddd3c6;
}
.clist__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px solid #ddd3c6;
  text-align: left;
}
.clist__icon { color: var(--red); padding-top: 3px; }
.clist__icon svg { width: 28px; height: 28px; display: block; }
.clist__item h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 16.8px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.clist__item p { font-size: 13.6px; line-height: 1.65; color: #5c5650; }

/* ② 整屏会议照片 + 蒙版，3 项文字在照片上 */
.cphoto {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--navy);
  overflow: hidden;
}
.cphoto__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cphoto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 23, 41, 0.85) 0%, rgba(11, 23, 41, 0.45) 35%, rgba(11, 23, 41, 0.55) 65%, rgba(11, 23, 41, 0.9) 100%);
}
.cphoto__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 110px 6vw 90px;
  text-align: center;
}
.cphoto .section-eyebrow { color: var(--gold); }
.cphoto .section-title { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.cphoto .section-title em { color: var(--gold); }
.cphoto__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: left;
}
.cphoto__item {
  padding-top: 22px;
  border-top: 2px solid var(--gold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 3px 16px rgba(0, 0, 0, 0.55);
}
.cphoto__num {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.cphoto__item h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  margin-bottom: 10px;
}
.cphoto__item p { font-size: 14.4px; line-height: 1.7; color: rgba(251, 243, 236, 0.9); }

/* ③ 展开 / 收起（米白底） */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  align-items: start;
  text-align: left;
}
.acc {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-left: 3px solid var(--red);
  border-radius: 4px;
}
.acc h3 { margin: 0; }
.acc__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.acc__toggle:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }
.acc__icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(131, 9, 8, 0.45);
  border-radius: 50%;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: var(--red);
  transition: transform 0.35s var(--ease-out);
}
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-out); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p {
  padding: 0 24px 22px;
  font-size: 13.6px;
  line-height: 1.7;
  color: #5c5650;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.acc.is-open .acc__body p { opacity: 1; transition-delay: 0.1s; }

/* ④ 3 段横排，像引言 */
.cquotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}
.cquote { padding: 8px 40px; border-left: 1px solid rgba(207, 174, 98, 0.4); }
.cquote:first-child { border-left: 0; padding-left: 0; }
.cquote h3 {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(19.2px, 1.8vw, 25.6px);
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 16px;
}
.cquote p { font-size: 14.4px; line-height: 1.75; color: rgba(251, 243, 236, 0.85); }

@media (max-width: 1000px) {
  .clist { grid-template-columns: 1fr; gap: 32px; }
  .cphoto__items, .cquotes { grid-template-columns: 1fr; gap: 32px; }
  .cquote, .cquote:first-child { border-left: 0; border-top: 1px solid rgba(207, 174, 98, 0.4); padding: 24px 0 0; }
  .cquote:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 640px) {
  .clist { padding: 64px 16px 72px; }
  .clist__items { grid-template-columns: 1fr; }
  .cphoto__inner { padding: 96px 16px 72px; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc__toggle { padding: 18px 18px; font-size: 14.4px; }
  .acc__body p { padding: 0 18px 18px; }
}

/* =====================================================================
   子页面区块过渡（标题区和第一个内容区之间不过渡，见各页面 data-blend-next="none"）
   有整张照片背景的区块：照片会盖住背景上的渐变，所以在照片上面再叠一层同样的渐变
   ===================================================================== */
.cphoto.has-blend::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    var(--blend-from) 0px,
    color-mix(in srgb, var(--blend-from) 55%, transparent) 45px,
    color-mix(in srgb, var(--blend-from) 15%, transparent) 105px,
    transparent 150px);
}

/* =====================================================================
   折叠收纳（Careers 的 Where Members Get Started、Events 的 Conferences & Career Events）
   ===================================================================== */
.fold h3 { margin: 0; }
.fold__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.fold__toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
/* ＋ / － */
.fold__icon {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(131, 9, 8, 0.45);
  border-radius: 50%;
  transition: background-color 0.25s;
}
.fold__toggle:hover .fold__icon { background: rgba(131, 9, 8, 0.08); }
.fold__icon::before,
.fold__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  background: var(--red);
  transition: transform 0.35s var(--ease-out);
}
.fold__icon::after { transform: rotate(90deg); }
.fold.is-open .fold__icon::after { transform: rotate(0deg); }
/* 展开动画 */
.fold__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease-out); }
.fold.is-open .fold__body { grid-template-rows: 1fr; }
.fold__body > div { overflow: hidden; }
.fold__body p { opacity: 0; transition: opacity 0.3s ease; }
.fold.is-open .fold__body p { opacity: 1; transition-delay: 0.1s; }

/* Careers：列表变矮，留白减少 */
.clist { padding: 80px 6vw 84px; align-items: center; }
.clist__item { display: block; padding: 22px 0; }
.clist__toggle .clist__icon { padding-top: 0; }
.clist__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}
.clist__item .fold__body p { padding: 12px 42px 0 52px; }

/* Events：列表变矮，左栏不再跟着滚动停住 */
.split { padding: 80px 6vw 84px; align-items: center; }
.split__aside { position: static; }
.split-list__item { display: block; padding: 26px 0; }
.split-list__toggle { gap: 18px; }
.split-list__toggle .split-list__num { flex: none; width: 64px; font-size: 35.2px; }
.split-list__toggle .split-list__icon { padding-top: 0; }
.split-list__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  line-height: 1.25;
}
.split-list__item .fold__body p {
  padding: 14px 42px 0 130px;
  font-size: 14.4px;
  line-height: 1.7;
  color: #5c5650;
}
.split-list__item:hover .split-list__num { color: rgba(131, 9, 8, 0.55); }

@media (max-width: 900px) {
  .split-list__toggle .split-list__num { width: 44px; font-size: 25.6px; }
  .split-list__title { font-size: 16px; }
  .split-list__item .fold__body p { padding: 12px 0 0 0; font-size: 13.6px; }
  .clist__item .fold__body p { padding: 12px 0 0 0; }
}

/* =====================================================================
   Join Us：左边成员参与内容，右边 Express Interest 表单
   ===================================================================== */
.join {
  max-width: 1300px;
  margin: 0 auto;
  padding: 88px 6vw 100px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 6vw;
  align-items: start;
  text-align: left;
}
.join__aside .section-title { margin-bottom: 28px; }
.join__list {
  list-style: none;
  border-top: 1px solid #ddd3c6;
}
.join__item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ddd3c6;
}
.join__icon { color: var(--red); padding-top: 2px; }
.join__icon svg { width: 26px; height: 26px; display: block; }
.join__item h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.join__item p { font-size: 13.6px; line-height: 1.65; color: #5c5650; }
.join__note {
  margin-top: 28px;
  font-size: 14.4px;
  font-style: italic;
  color: var(--red);
}

/* 表单卡片：白底 + 红色顶线 */
.join__card {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-top: 3px solid var(--red);
  border-radius: 4px;
  padding: 44px 44px 46px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}
.join__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(22.4px, 2.1vw, 28.8px);
  line-height: 1.15;
  margin-bottom: 8px;
}
.join__subtitle { font-size: 14.4px; color: #5c5650; margin-bottom: 30px; }

.join-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  align-items: end; /* 标签折行时输入框仍然对齐 */
}
.join-form__field { margin-bottom: 22px; }
.join-form__field > label {
  display: block;
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a423c;
  margin-bottom: 8px;
}
.join-form__req { color: var(--red); }
.join-form__opt { text-transform: none; letter-spacing: 0; color: #8a8178; font-weight: 400; }

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.4px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #ddd3c6;
  border-radius: 3px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.join-form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.join-form input::placeholder,
.join-form textarea::placeholder { color: #a39a90; }
.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(131, 9, 8, 0.08);
}
.join-form .is-invalid { border-color: #c0392b; background: #fff6f4; }

/* 电话：区号 + 号码 */
.join-form__phone {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
}
.join-form select {
  appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23830908' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px 8px;
}

.join-form__msg {
  min-height: 24px;
  margin: 4px 0 14px;
  font-size: 12.8px;
  color: #2f6b3a;
}
.join-form__msg.is-error { color: #b0291c; }
.join-form__submit {
  width: 100%;
  font-family: inherit;
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 2px;
  padding: 18px 40px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.join-form__submit:hover { background: transparent; color: var(--red); }
.join-form__submit:disabled { opacity: 0.6; cursor: wait; }

@media (max-width: 900px) {
  .join {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 64px 16px 80px;
  }
  .join__card { padding: 32px 22px 34px; }
}
@media (max-width: 560px) {
  .join-form__row { grid-template-columns: 1fr; }
  .join-form__phone { grid-template-columns: 118px minmax(0, 1fr); }
}
/* 防机器人字段：移出屏幕 */
.join-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =====================================================================
   Contact：布局和表单用 Join Us 的 .join / .join__card / .join-form，这里只加左栏的链接和社交按钮
   ===================================================================== */
.contact__link {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(131, 9, 8, 0.3);
  transition: border-color 0.25s;
}
.contact__link:hover { border-color: var(--red); }
.contact__follow {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a423c;
}
.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.8px;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid #ddd3c6;
  border-radius: 999px;
  padding: 9px 18px 9px 14px;
  transition: border-color 0.25s, color 0.25s;
}
.contact__social a:hover { border-color: var(--red); color: var(--red); }
.contact__social svg { width: 18px; height: 18px; flex: none; }

/* =====================================================================
   Community Hub
   折叠列表用 Careers 的 .clist + .fold；左右排版和表单用 Join Us 的 .join / .join__card / .join-form
   ===================================================================== */

/* 折叠列表左边用编号代替图标 */
.hub-num {
  flex: none;
  width: 36px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  line-height: 1;
  color: rgba(131, 9, 8, 0.35);
  transition: color 0.3s;
}
.clist__toggle:hover .hub-num,
.fold.is-open .hub-num { color: var(--red); }

/* 第二种浅色底，和上面的米白区块分开 */
.page-section--sand { background: var(--sand); }
.page-section--sand .join__list,
.page-section--sand .join__item { border-color: #d8c9b6; }

/* 表单卡片上方的小标题 */
.hub-card__eyebrow {
  color: var(--red);
  font-size: 10.4px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* =====================================================================
   Join Community Hub（community.html）：左边两组内容 + 订阅提示，右边合并后的表单
   ===================================================================== */
.join__group {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #d8c9b6;
}
/* 左下角浮窗：Want to Join Us?（assets/js/join.js 的 joinFloat） */
.join-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;            /* 在导航栏（100）下面 */
  width: 340px;
  max-width: calc(100vw - 32px);
  padding: 24px 26px 22px;
  border-left: 3px solid var(--red);
  border-radius: 4px 8px 8px 4px;
  background: var(--ivory);
  color: var(--ink-warm);
  box-shadow: 0 16px 44px rgba(42, 6, 5, 0.22), 0 2px 8px rgba(42, 6, 5, 0.08);
  animation: join-float-in 0.6s var(--ease-out) 1.2s both;
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out), visibility 0.35s;
}
@keyframes join-float-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.join-float.is-closed {
  animation: none;
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
  pointer-events: none;
}
.join-float__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #8a7a72;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.join-float__close svg { width: 16px; height: 16px; }
.join-float__close:hover { background: rgba(131, 9, 8, 0.08); color: var(--red); }
.join-float__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.join-float h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 19.2px;
  margin: 0 28px 10px 0;
}
.join-float p {
  font-size: 14.4px;
  line-height: 1.65;
  color: #5a4a44;
}
@media (max-width: 640px) {
  .join-float { left: 16px; right: 80px;   /* 右边留给右下角 Join Us 图标 */ bottom: 16px; width: auto; padding: 20px 20px 18px; }
  .join-float p { font-size: 13.6px; }
}
@media (prefers-reduced-motion: reduce) {
  .join-float { animation: none; transition: none; }
}
/* 从别的页面链接到 community.html#join 时，表单区块顶部不被导航栏挡住 */
.join-hub { scroll-margin-top: 40px; }

/* 手机菜单是红色背景：Join Community Hub 用亮金色（不管页面有没有往下滑） */
@media (max-width: 1360px) {
  .nav__menu a.nav__hl,
  .nav--light .nav__menu a.nav__hl { color: var(--gold); }
  .nav__menu a.nav__hl { font-size: 16px; }   /* 手机菜单里其他链接是 14.4px */
}

/* =====================================================================
   右下角 Join Us 悬浮窗（所有页面，assets/js/site.js 的 joinWidget）
   展开：红色卡片 + 按钮；收起：右下角圆形聊天图标
   ===================================================================== */
.join-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;            /* 在导航栏（100）和页面切换过场下面 */
  pointer-events: none;   /* 只有卡片 / 图标本身能点 */
}
.join-widget__panel {
  position: relative;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 22px 24px 24px;
  border-radius: 10px;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 18px 48px rgba(42, 6, 5, 0.35), 0 2px 8px rgba(42, 6, 5, 0.2);
  transform-origin: bottom right;
  pointer-events: auto;
  animation: join-widget-in 0.6s var(--ease-out) 1s both;
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out), visibility 0.4s;
}
@keyframes join-widget-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.join-widget__min {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: rgba(251, 243, 236, 0.75);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.join-widget__min svg { width: 16px; height: 16px; }
.join-widget__min:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.join-widget__eyebrow {
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.join-widget__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  margin: 0 26px 10px 0;
}
.join-widget__text {
  font-size: 14.4px;
  line-height: 1.6;
  color: rgba(251, 243, 236, 0.85);
  margin-bottom: 18px;
}
.join-widget__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--red);
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, gap 0.3s var(--ease-out);
}
.join-widget__btn:hover { background: var(--gold); color: #2a1816; gap: 12px; }

/* 收起后的聊天图标 */
.join-widget__bubble {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(207, 174, 98, 0.85);
  border-radius: 50%;
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(42, 6, 5, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.6);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.35s, background-color 0.3s;
}
.join-widget__bubble svg { width: 26px; height: 26px; }
.join-widget__bubble:hover { background: #9b0c0a; }
.join-widget__bubble:focus-visible,
.join-widget__btn:focus-visible,
.join-widget__min:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.join-widget.is-toggled .join-widget__panel { animation: none; }
.join-widget.is-collapsed .join-widget__panel {
  animation: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.85) translateY(12px);
  pointer-events: none;
}
.join-widget.is-collapsed .join-widget__bubble {
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 640px) {
  .join-widget { right: 16px; bottom: 16px; }
  .join-widget__panel { width: min(300px, calc(100vw - 32px)); padding: 20px 20px 20px; }
  .join-widget__bubble { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .join-widget__panel, .join-widget__bubble { animation: none; transition: none; }
}

/* ---------- 首页 Find Us Online：订阅那一栏删掉后不再占满一屏，高度按内容，下面的页脚可以露出来 ---------- */
.connect { min-height: 0; }
.connect__inner { flex: none; padding: 128px 6vw 80px; }   /* 顶部 128px：导航栏高度 + 留白 */
@media (max-width: 900px) {
  .connect__inner { padding: 104px 16px 56px; }
}

/* ---------- 首页合并屏（A High-End Platform for Opportunity / What We Do Together）：蒙版和毛玻璃背景调深 ---------- */
.story__media::after {
  background:
    linear-gradient(to right, rgba(40, 4, 4, 0.72) 0%, rgba(40, 4, 4, 0.5) 38%, rgba(40, 4, 4, 0.36) 100%),
    linear-gradient(to bottom, rgba(30, 3, 3, 0.6) 0%, rgba(30, 3, 3, 0.15) 35%, rgba(30, 3, 3, 0.15) 65%, rgba(30, 3, 3, 0.65) 100%);
}
.story-card { background: rgba(28, 3, 3, 0.62); }   /* 左边卡片：原来 0.42 */
.story__text { background: rgba(28, 3, 3, 0.5); }   /* 右边正文框：原来是 20% 白色，偏亮 */

/* ---------- Why Join ECEA 背景照片：整张加一层淡淡的深色蒙版（35%），下方照旧渐变到深红 ---------- */
.why__bg::after {
  top: 0;
  height: auto;
  background:
    linear-gradient(to bottom, transparent 60%, var(--deep) 100%),
    rgba(20, 2, 2, 0.35);
}

/* ---------- Events：Professional Events 列表全部展开（不折叠），标题行和原来折叠按钮一样排版 ---------- */
.split-list__head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.split-list__head .split-list__num { flex: none; width: 64px; font-size: 35.2px; }
.split-list__head .split-list__icon { padding-top: 0; }
.split-list__body p {
  padding: 14px 42px 0 130px;
  font-size: 14.4px;
  line-height: 1.7;
  color: #5c5650;
}
@media (max-width: 900px) {
  .split-list__head .split-list__num { width: 44px; font-size: 25.6px; }
  .split-list__body p { padding: 12px 0 0 0; font-size: 13.6px; }
}

/* ---------- Events 第一部分：一段统一的介绍文字（不再分 01 / 02 / 03） ---------- */
.events-intro p {
  font-size: 17.6px;
  line-height: 1.8;
  color: #4a443f;
}
.events-intro p + p { margin-top: 18px; }
@media (max-width: 900px) {
  .events-intro p { font-size: 15.2px; }
}

/* =====================================================================
   Events：What's Coming（左 1/3，只有 1 个）+ Where We've Been（右 2/3，2 行 × 4 列）
   卡片高度：过去的每张 300px；即将举行那张和两行一样高
   ===================================================================== */
.initiatives { --past-h: 300px; }
.initiatives__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.initiatives__col--upcoming { grid-column: auto; }
.initiatives__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.initiatives__head .section-title { margin-bottom: 0; }
.initiatives__more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid rgba(207, 174, 98, 0.6);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, gap 0.3s var(--ease-out);
}
.initiatives__more:hover { background: var(--gold); color: #1c1c1c; gap: 12px; }

.event-grid--one { grid-template-columns: 1fr; }
.event-grid--one .event-card { height: calc(var(--past-h) * 2 + var(--ev-gap)); }
.event-grid--one .event-card__media { height: 45%; }
.event-grid--past { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.event-grid--past .event-card { height: var(--past-h); }
.event-grid--past .event-card__media { height: 38%; }
.event-grid--past .event-card__body { padding: 14px 16px 18px; }
.event-grid--past .event-card__body h3 { font-size: 15.2px; margin-bottom: 8px; }
.event-grid--past .event-card__body p { font-size: 12.8px; -webkit-line-clamp: 4; }

@media (max-width: 1100px) {
  .initiatives__inner { grid-template-columns: 1fr; row-gap: 64px; }
  .initiatives__col--upcoming .event-grid--one { max-width: 420px; }
  .event-grid--one .event-card { height: 440px; }
}
@media (max-width: 760px) {
  .event-grid--past { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .initiatives__head { flex-wrap: wrap; }
  .event-grid--one .event-card { height: 400px; }
}

/* =====================================================================
   Past Initiatives 页面（past.html）：深红底，大标题，6 列卡片，最后一行不满 6 个时居中
   ===================================================================== */
.past-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(140, 18, 16, 0.45), transparent 70%),
    var(--deep);
  color: var(--cream);
  --ev-gap: 22px;
  --ev-bg: #2a0605;          /* 卡片底色（深酒红），图片渐变到这个颜色 */
}
.past-page__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 140px 4vw 110px;
  text-align: center;
}
.past-page__back {
  display: inline-flex;
  gap: 8px;
  color: rgba(251, 243, 236, 0.7);
  font-size: 12.8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.3s;
}
.past-page__back:hover { color: var(--gold); }
.past-page__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(38.4px, 5.6vw, 86.4px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 64px;
}
/* flex 换行 + 居中：每行 6 张，最后一行不满时自动居中 */
.past-page__grid {
  --cols: 6;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ev-gap);
  text-align: left;
}
.past-page__grid > .event-card {
  flex: 0 0 calc((100% - var(--ev-gap) * (var(--cols) - 1)) / var(--cols));
  height: 330px;
}
.past-page__grid .event-card__media { height: 40%; }
.past-page__grid .event-card__body { padding: 14px 16px 18px; }
.past-page__grid .event-card__body h3 { font-size: 15.2px; margin-bottom: 8px; }
.past-page__grid .event-card__body p { font-size: 12.8px; -webkit-line-clamp: 4; }
.past-page__grid > .event-status { flex: 1 1 100%; }
@media (max-width: 1300px) { .past-page__grid { --cols: 4; } }
@media (max-width: 960px)  { .past-page__grid { --cols: 3; } }
@media (max-width: 700px)  {
  .past-page__grid { --cols: 2; --ev-gap: 14px; }
  .past-page__inner { padding: 110px 16px 80px; }
  .past-page__title { margin-bottom: 40px; }
}
@media (max-width: 420px)  { .past-page__grid { --cols: 1; } }

/* ---------- 首页开场：最下面淡淡的向下箭头，开场动画全部结束后（.intro-nav）才出现，轻轻上下浮动 ---------- */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  display: grid;
  place-items: center;
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease 0.5s, visibility 1s 0.5s;   /* 导航栏降下来之后再出现 */
}
.hero__scroll svg { width: 30px; height: 30px; animation: hero-scroll-bob 2.4s ease-in-out infinite; }
.intro-nav .hero__scroll { opacity: 0.45; visibility: visible; }
.intro-nav .hero__scroll:hover { opacity: 0.85; transition-delay: 0s; }
@keyframes hero-scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll svg { animation: none; }
}

/* Join 表单：提示用英文填写（表单会做成英文 PDF） */
.join__lang-note {
  margin: -6px 0 22px;
  font-size: 12.8px;
  font-style: italic;
  color: var(--red);
}

/* =====================================================================
   语言切换（assets/js/site.js 的 langSwitch）：头像左边，一个长方形分成 3 个正方形 EN | ES | 中
   颜色跟着导航栏（--nav-fg）：顶部米白，往下滑后红色；当前语言实心
   ===================================================================== */
.nav__account { display: flex; align-items: center; gap: 14px; }
.nav { --nav-inv: var(--red); }            /* 当前语言格子里的文字颜色 = 导航栏背景色 */
.nav--light { --nav-inv: #fff; }
.lang-switch {
  display: flex;
  border: 1.5px solid var(--nav-fg);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.lang-switch__btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--nav-fg);
  font-family: "EB Garamond", "Noto Serif SC", Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.lang-switch__btn + .lang-switch__btn { border-left: 1.5px solid var(--nav-fg); }
.lang-switch__btn[lang="zh-Hans"] { font-family: "Noto Serif SC", serif; font-size: 13px; }
.lang-switch__btn:hover { background: rgba(255, 255, 255, 0.14); }
.nav--light .lang-switch__btn:hover { background: rgba(131, 9, 8, 0.08); }
.lang-switch__btn.is-active { background: var(--nav-fg); color: var(--nav-inv); cursor: default; }
.lang-switch__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
/* 手机菜单打开时（红色背景）也用米白 */
.nav-open .lang-switch { border-color: var(--cream); }
.nav-open .lang-switch__btn { color: var(--cream); border-color: var(--cream); }
.nav-open .lang-switch__btn.is-active { background: var(--cream); color: var(--red); }
@media (max-width: 480px) {
  .nav__account { gap: 8px; }
  .lang-switch__btn { width: 28px; height: 28px; font-size: 11px; }
}

/* =====================================================================
   中文页面（/zh/…，html lang="zh-Hans"）：用思源宋体，去掉英文才需要的斜体和加宽字距
   ===================================================================== */
html[lang^="zh"] body,
html[lang^="zh"] body :where(h1, h2, h3, h4, p, a, li, span, label, button, input, textarea, select, em, strong, small) {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
}
html[lang^="zh"] em { font-style: normal; }
html[lang^="zh"] :where([class*="eyebrow"], [class*="__label"], .nav__menu a, .btn, .site-footer__col h3, .join-form label, .hub-card__eyebrow, .page-btn, .cta-band__btn, .join-widget__btn, .initiatives__more) {
  letter-spacing: 0.08em;
}
html[lang^="zh"] :where(h1, h2, h3) { letter-spacing: 0.02em; }
/* 窄屏：语言切换、头像、菜单按钮都不被挤小；名字图片稍微缩小 */
.nav__toggle, .lang-switch, .nav__avatar { flex: none; }
.nav__brand { min-width: 0; }
@media (max-width: 400px) {
  .nav__brand-seal { height: 34px; }
  .nav__brand-text { height: 26px; }
}

/* 导航栏和页脚左边的标志：圆形 logo（assets/img/logo-round.png，原来是印章 brand-seal.png） */
.nav__brand-seal,
.site-footer__seal { aspect-ratio: 1 / 1; border-radius: 50%; }

/* =====================================================================
   首页 Instagram：从右往左不停滚动（assets/js/feeds.js 的 igLayout），整张卡片点了打开那条帖子
   卡片宽度 --ig-w 由 JS 按"一屏几个"算好
   ===================================================================== */
.feed-panel--ig .feed-panel__viewport { overflow: hidden; border-radius: 10px; }
.feed-panel--ig .feed-panel__items.is-marquee {
  display: flex;
  width: max-content;
  gap: 16px;                       /* 和 JS 的 IG_GAP 一样 */
  will-change: transform;
}
.feed-panel--ig .feed-panel__items.is-marquee.is-nudging { transition: transform 0.45s var(--ease-out); }
.feed-panel--ig .feed-panel__items.is-marquee > .feed-ig { flex: 0 0 var(--ig-w); }
.feed-ig__link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.feed-ig__link video,
.feed-ig__link img { transition: transform 0.5s var(--ease-out); }
.feed-ig__link:hover video,
.feed-ig__link:hover img { transform: scale(1.04); }
.feed-ig__link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* 右下角 Join Us 悬浮窗：首页等开场动画（约 2.3 秒）播完再弹出 */
.join-widget.is-late .join-widget__panel { animation-delay: 2.8s; }

/* =====================================================================
   活动卡片点开的详细窗口（assets/js/events.js 的 eventModal），风格和首页领英阅读窗口一样
   ===================================================================== */
.event-card[data-event-id] { cursor: pointer; transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s; }
.event-card[data-event-id]:hover,
.event-card[data-event-id]:focus-visible { transform: translateY(-4px); border-color: rgba(207, 174, 98, 0.5); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.4); }
.event-card[data-event-id]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.event-card__more {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold);
  font-size: 11.2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
  pointer-events: none;
}
.event-card[data-event-id]:hover .event-card__more,
.event-card[data-event-id]:focus-visible .event-card__more { opacity: 1; transform: none; }
@media (hover: none) { .event-card__more { opacity: 0.9; transform: none; } }

.ev-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  overscroll-behavior: contain;
}
.ev-modal[hidden] { display: none; }
.ev-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 4, 3, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.ev-modal__box {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--wine-deep, #2a0605);
  color: var(--cream);
  border: 1px solid rgba(207, 174, 98, 0.25);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: li-modal-in 0.3s var(--ease-out);
}
.ev-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: var(--cream);
  font-size: 20.8px;
  line-height: 1;
  cursor: pointer;
}
.ev-modal__close:hover { background: var(--red); }
.ev-modal__media { background: #140302; display: grid; place-items: center; }
.ev-modal__media img { display: block; width: 100%; max-height: 56vh; object-fit: contain; }
.ev-modal__media.is-empty { display: none; }
.ev-modal__body { padding: 28px 34px 34px; }
.ev-modal__date {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 3px;
  background: var(--red);
  color: var(--cream);
  font-size: 11.2px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ev-modal__title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(22.4px, 2.2vw, 30.4px);
  line-height: 1.2;
  color: var(--gold);
  margin-bottom: 16px;
  padding-right: 30px;
}
.ev-modal__desc {
  font-size: 15.2px;
  line-height: 1.75;
  color: rgba(251, 243, 236, 0.88);
  white-space: pre-line;           /* 保留后台填写时的换行 */
}
.ev-modal .feed-arrow { position: relative; top: auto; margin: 0; left: auto; right: auto; flex: none; background: rgba(42, 6, 5, 0.92); }
.ev-modal .feed-arrow[hidden] { display: none; }
@media (max-width: 760px) {
  .ev-modal { padding: 12px; gap: 0; }
  .ev-modal .feed-arrow { position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; }
  .ev-modal__prev { left: 4px !important; }
  .ev-modal__next { right: 4px !important; }
  .ev-modal__body { padding: 22px 20px 26px; }
}
html[lang^="zh"] .ev-modal__title { letter-spacing: 0.02em; }
