@charset "UTF-8";
/* =============================================================================
   风羽缘霄航空社 · 全站样式表  css/style.css
   纯 HTML + CSS，无任何 JavaScript；9 个页面共用这一份样式表
   分区索引：
     1  设计令牌（颜色/字号/间距/圆角）
     2  基础重置与全局排版
     3  布局容器与工具类
     4  顶部导航（sticky + 移动端汉堡菜单）
     5  Hero 首屏（深空蓝渐变 + 云层/航线装饰）
     6  区块通用（标题、面包屑、页面头、返回主页）
     7  卡片网格 / 数据统计 / 缩略图
     8  时间线（发展历程 / 活动回顾）
     9  资源中心（分类筛选 + 资源卡片 + 空态）
     10 图片灯箱（works.html）
     11 表单（contact.html mailto 表单）
     12 页脚 / 返回顶部按钮
     13 滚动入场动画
     14 响应式（断点 768px）/ 无障碍 / 打印
   ============================================================================= */

/* ---------------------------------------------------------------- 1. 设计令牌 */
:root {
  /* 主辅色系：深空蓝 / 天空蓝 / 云白 */
  --c-deep: #0B1B2B;
  --c-deep-2: #102537;
  --c-deep-3: #16324a;
  --c-sky: #4FC3F7;
  --c-cloud: #F5F7FA;
  --c-white: #ffffff;

  /* 点缀色：荧光青 / 樱花粉 */
  --c-cyan: #00E5FF;
  --c-sakura: #FF6B9D;

  /* 文字 */
  --c-text: #17232f;
  --c-text-soft: #5c6d80;
  --c-text-invert: #EAF4FF;
  --c-text-invert-soft: #A8C1D8;

  /* 线条与阴影 */
  --c-line: rgba(11, 27, 43, .12);
  --c-line-soft: rgba(11, 27, 43, .07);
  --c-line-invert: rgba(255, 255, 255, .16);
  --shadow-sm: 0 4px 14px rgba(11, 27, 43, .07);
  --shadow-md: 0 8px 24px rgba(11, 27, 43, .10);
  --shadow-lg: 0 18px 40px rgba(11, 27, 43, .18);

  /* 渐变 */
  --grad-hero: linear-gradient(160deg, #0B1B2B 0%, #102537 45%, #16324a 100%);
  --grad-sky: linear-gradient(135deg, var(--c-sky) 0%, var(--c-cyan) 100%);
  --grad-accent: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-sakura) 100%);
  --grad-soft: linear-gradient(180deg, rgba(79, 195, 247, .12), rgba(0, 229, 255, .04));

  /* 尺寸 */
  --nav-h: 68px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --gutter: 20px;
  --maxw: 1160px;
  --sec-gap: 72px;

  /* 字体 */
  --font-body: system-ui, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-num: ui-monospace, "SFMono-Regular", Consolas, "Noto Sans SC", monospace;

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;
}

/* ------------------------------------------------------------ 2. 基础重置 */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;               /* 平滑滚动 */
  scroll-padding-top: calc(var(--nav-h) + 16px); /* 锚点定位避开 sticky 导航 */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-cloud);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: .2px;
}

h1 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.08rem, 2vw, 1.25rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: #1573a8;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--c-cyan); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }

code, kbd { font-family: var(--font-num); font-size: .92em; }

/* 统一占位符样式：[待补充] 之类 */
.ph {
  display: inline-block;
  padding: 0 .35em;
  border-radius: 6px;
  background: rgba(255, 107, 157, .12);
  color: #b83b6a;
  font-size: .92em;
  line-height: 1.5;
  white-space: nowrap;
}

/* ------------------------------------------------------- 3. 布局与工具类 */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-gap); }
.section--tight { padding-block: calc(var(--sec-gap) / 2); }
.section--cloud { background: var(--c-cloud); }
.section--white { background: var(--c-white); }
.section--deep {
  background: var(--grad-hero);
  color: var(--c-text-invert);
}
.section--deep h2,
.section--deep h3 { color: var(--c-white); }
.section--deep .section__desc { color: var(--c-text-invert-soft); }

/* 跳转到主内容（无障碍） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 18px;
  background: var(--c-cyan);
  color: var(--c-deep);
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* 屏幕阅读器专用文本 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 28px; }
.soft { color: var(--c-text-soft); }

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--grad-sky);
  color: #062133;
  box-shadow: 0 8px 22px rgba(79, 195, 247, .35);
}
.btn--primary:hover { color: #062133; box-shadow: 0 14px 30px rgba(0, 229, 255, .45); }

.btn--accent {
  background: var(--grad-accent);
  color: #3d0d20;
  box-shadow: 0 8px 22px rgba(255, 107, 157, .32);
}
.btn--accent:hover { color: #3d0d20; }

.btn--ghost {
  background: rgba(255, 255, 255, .08);
  border-color: var(--c-line-invert);
  color: var(--c-white);
}
.btn--ghost:hover { color: var(--c-white); background: rgba(255, 255, 255, .16); }

.btn--outline {
  background: transparent;
  border-color: var(--c-sky);
  color: #1573a8;
}
.btn--outline:hover { background: rgba(79, 195, 247, .12); color: #0d5d8c; }

.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

/* 「查看全部 →」链接 */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1573a8;
}
.more-link::after {
  content: "→";
  transition: transform var(--dur) var(--ease);
}
.more-link:hover::after { transform: translateX(4px); }
.section--deep .more-link { color: var(--c-cyan); }

/* ------------------------------------------------------------ 4. 顶部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* 浅色导航：云白底 + 轻微毛玻璃（左端品牌区是横幅图，按导航高度铺满） */
  background: rgba(245, 247, 250, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
}

/* 品牌区（导航左端）：横幅图按导航高度铺满，宽度按比例自动，其余留白给菜单 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--c-deep);
  font-weight: 800;
  letter-spacing: .5px;
}
.brand:hover { color: var(--c-deep); }
.brand__logo {
  height: var(--nav-h);      /* 铺满导航条高度（桌面 68px / 移动 62px） */
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
/* 下面两条是「文字版品牌名」的样式：横幅图里已经含有社团名，所以 HTML 里暂时没有文字。
   如果哪天想同时显示「横幅 + 文字」，把 <span class="brand__name">…</span> 加回页面即可复用。 */
.brand__name { font-size: 1.02rem; white-space: nowrap; }
.brand__slogan {
  display: block;
  font-size: .68rem;
  font-weight: 400;
  color: #2f7fa8;            /* 浅色导航下用偏深的天空蓝，保证可读 */
  letter-spacing: 1.4px;
}
/* 首页把 Logo 视为「当前页」，给文字版品牌名点一下强调色 */
.brand[aria-current="page"] .brand__name { color: #1573a8; }

/* 菜单 */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto 0 8px;
  padding: 0;
  list-style: none;
}
.nav__menu li + li { margin-top: 0; }
.nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--c-text);          /* 浅色导航：改用深色文字 */
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--c-deep);
  background: rgba(79, 195, 247, .18);
}

/* 当前页高亮 */
.nav__link.is-active {
  color: var(--c-deep);
  background: var(--grad-sky);
}
.nav__link.is-active:hover { color: var(--c-deep); }

.nav__cta { flex-shrink: 0; }

/* 汉堡菜单（纯 CSS，无需 JavaScript）：
   一个视觉隐藏但可聚焦的 checkbox 控制菜单展开，label 作为可点击的「汉堡」图标。
   桌面端隐藏 checkbox 与 label，菜单始终横向展开（见第 15 节媒体查询）。 */
.nav__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: rgba(11, 27, 43, .05);   /* 浅色导航：改为深色半透明描边 */
  border: 1px solid var(--c-line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--c-deep);            /* 汉堡条改成深色 */
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
/* checkbox 获得键盘焦点时，给 label 画出可见轮廓（浅底用深色描边更清楚） */
.nav__checkbox:focus-visible + .nav__toggle {
  outline: 2px solid #1573a8;
  outline-offset: 2px;
}
/* 展开状态：汉堡图标变为关闭图标（✕） */
.nav__checkbox:checked + .nav__toggle .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__checkbox:checked + .nav__toggle .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__checkbox:checked + .nav__toggle .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- 5. Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-hero);
  color: var(--c-text-invert);
  padding-block: clamp(64px, 10vw, 116px);
}

/* 云层 + 航线 装饰（用 CSS 渐变与伪元素绘制，不依赖外部图片） */
.hero__deco {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__clouds {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 60% at 12% 18%, rgba(79, 195, 247, .28), transparent 62%),
    radial-gradient(70% 50% at 88% 12%, rgba(0, 229, 255, .20), transparent 60%),
    radial-gradient(120% 70% at 50% 118%, rgba(255, 107, 157, .16), transparent 62%);
}
.hero__route {
  position: absolute;
  inset: auto -6% -12% -6%;
  height: 62%;
  opacity: .55;
}
/* 航线虚线缓慢流动 */
.hero__route path {
  stroke-dasharray: 10 12;
  animation: route-flow 18s linear infinite;
}
@keyframes route-flow {
  to { stroke-dashoffset: -220; }
}
/* 缓慢漂浮的云团 */
.hero__cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  filter: blur(14px);
  animation: cloud-drift 26s var(--ease) infinite alternate;
}
.hero__cloud--a { width: 320px; height: 120px; top: 14%; left: -60px; }
.hero__cloud--b { width: 420px; height: 140px; top: 52%; right: -80px; animation-duration: 34s; }
.hero__cloud--c { width: 240px; height: 90px; bottom: 8%; left: 34%; animation-duration: 30s; }
@keyframes cloud-drift {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(70px) translateY(-18px); }
}

/* 飞行的小光点（沿航线飞过） */
.hero__plane {
  position: absolute;
  top: 22%;
  left: -8%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 18px 6px rgba(0, 229, 255, .55);
  animation: plane-fly 14s linear infinite;
}
.hero__plane--2 {
  top: 68%;
  background: var(--c-sakura);
  box-shadow: 0 0 18px 6px rgba(255, 107, 157, .45);
  animation-duration: 20s;
  animation-delay: 5s;
}
@keyframes plane-fly {
  from { transform: translateX(0) translateY(0) scale(.7); opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  to   { transform: translateX(112vw) translateY(-70px) scale(1.1); opacity: 0; }
}

.hero__inner { position: relative; max-width: 860px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 229, 255, .45);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 255, .08);
  color: var(--c-cyan);
  font-size: .82rem;
  letter-spacing: 1.2px;
}

.hero__title {
  margin: 0 0 .25em;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: 2px;
  background: linear-gradient(100deg, #ffffff 12%, var(--c-sky) 58%, var(--c-cyan) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__slogan {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--c-sakura);
}

.hero__lead {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 1.02rem;
  color: var(--c-text-invert-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero 底部小信息条（QQ 群 / 基地） */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 16px 20px;
  list-style: none;
  border: 1px solid var(--c-line-invert);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .05);
  font-size: .92rem;
  color: var(--c-text-invert-soft);
}
.hero__meta li { margin-top: 0; }
.hero__meta strong { color: var(--c-white); font-weight: 700; }
/* Hero 信息条里的外链（B 站直达）：深空蓝底上换成亮青色，保证可读 */
.hero__meta a { color: var(--c-cyan); font-weight: 700; }
.hero__meta a:hover { color: var(--c-sky); }

/* --------------------------------------------------- 6. 区块通用与页面头 */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 30px;
}
.section__head-text { max-width: 720px; }
.section__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--c-sky);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.section__title { margin: 0 0 8px; }
.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 3px;
  background: var(--grad-accent);
}
.section__desc {
  margin: 0;
  color: var(--c-text-soft);
  font-size: .98rem;
}

/* 二级页顶部标题区 */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(38px, 6vw, 62px);
  background: var(--grad-hero);
  color: var(--c-text-invert);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 420px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 229, 255, .22), transparent);
  pointer-events: none;
}
.page-hero__title {
  margin: 0 0 10px;
  color: var(--c-white);
  letter-spacing: 1.4px;
}
.page-hero__desc {
  max-width: 780px;
  margin: 0;
  color: var(--c-text-invert-soft);
}

/* 面包屑 */
.breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--c-text-invert-soft);
}
.breadcrumb li { margin-top: 0; }
.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--c-line-invert);
}
.breadcrumb a { color: var(--c-sky); }
.breadcrumb [aria-current="page"] { color: var(--c-white); }

/* 底部返回主页 */
.back-home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px dashed var(--c-line);
  border-radius: var(--radius-card);
  background: var(--c-white);
}
.back-home__text { color: var(--c-text-soft); font-size: .95rem; }

/* --------------------------------------------------------- 7. 卡片与网格 */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 195, 247, .45);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--c-deep-2);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* 统一裁切，避免变形 */
  transition: transform .5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(11, 27, 43, .78);
  color: var(--c-cyan);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .6px;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}
.card__title { margin: 0; font-size: 1.08rem; }
.card__desc {
  margin: 0;
  color: var(--c-text-soft);
  font-size: .93rem;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-text-soft);
  font-size: .84rem;
}
.card__meta li { margin-top: 0; }
.card__foot { margin-top: auto; padding-top: 4px; }

/* 深色区块里的卡片 */
.section--deep .card {
  background: rgba(255, 255, 255, .06);
  border-color: var(--c-line-invert);
}
.section--deep .card:hover { border-color: rgba(0, 229, 255, .55); }
.section--deep .card__desc,
.section--deep .card__meta { color: var(--c-text-invert-soft); }

/* 数据统计 */
.stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.stats li { margin-top: 0; }
.stat {
  padding: 20px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat__value {
  display: block;
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-deep);
}
.stat__label {
  display: block;
  margin-top: 6px;
  color: var(--c-text-soft);
  font-size: .88rem;
}

/* 缩略图与图注 */
.thumb {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.thumb figcaption {
  padding: 12px 16px;
  color: var(--c-text-soft);
  font-size: .86rem;
}

/* ------------------------- 社团活动场景：纯 CSS 照片走马灯（about.html） -------------------------
   原理：轨道里放两份相同内容，动画从 translateX(0) 滚到 translateX(-50%)（正好一份的宽度），
        所以循环处无缝衔接；鼠标悬停或键盘聚焦时暂停。
   细节：间距用 li 的 padding-right 而不是 gap，保证「一份内容」的宽度刚好是轨道的一半。 */
.marquee {
  margin: 0;
  min-width: 0;                /* 保险：宽内容不会把 .split 的两列布局撑开 */
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.marquee__viewport {
  overflow: hidden;
  padding: 12px;
}
.marquee__track {
  display: flex;
  width: max-content;          /* 轨道宽度 = 内容总宽，-50% 才能精确对齐 */
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marquee-scroll 34s linear infinite;
}
.marquee__track > li {
  flex: 0 0 auto;
  margin: 0;                   /* 覆盖全站的 li + li 上边距 */
  padding-right: 12px;         /* 用内边距代替 gap，保证循环无缝 */
}
.marquee__track img {
  display: block;
  width: 260px;
  height: 180px;
  object-fit: cover;           /* 统一裁成同样大小，一排看起来更整齐 */
  border-radius: 10px;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__caption {
  padding: 10px 16px 14px;
  color: var(--c-text-soft);
  font-size: .86rem;
}
@media (max-width: 768px) {
  /* 手机上把照片缩小一点，一屏也能看到两张多一点 */
  .marquee__track img { width: 200px; height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  /* 尊重「减少动效」偏好：不滚动，静态显示第一份内容 */
  .marquee__track { animation: none !important; }
}

/* 图文并排（科普 / 飞行体验） */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 简洁列表（要求 / 流程 / 常见问题） */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  margin-top: 0;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--c-line-soft);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-sky);
}

/* ------------------------------------------------------------- 8. 时间线 */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 28px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-sky), var(--c-cyan) 55%, rgba(255, 107, 157, .7));
  border-radius: 2px;
}
.timeline > li {
  position: relative;
  margin-top: 0;
  padding-bottom: 26px;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-sky);
  box-shadow: 0 0 0 2px rgba(79, 195, 247, .5);
}
.timeline__time {
  display: block;
  color: var(--c-sakura);
  font-family: var(--font-num);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .6px;
}
.timeline__title { margin: 4px 0 6px; font-size: 1.05rem; }
.timeline__desc { margin: 0; color: var(--c-text-soft); font-size: .93rem; }
.section--deep .timeline > li::before { border-color: var(--c-deep-2); }
.section--deep .timeline__desc { color: var(--c-text-invert-soft); }

/* ------------------------------------------------- 9. 资源中心与分类筛选 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
/* 纯 CSS 分类筛选：原生 radio 视觉隐藏但仍可聚焦、可用方向键切换，
   配对的 label 就是界面上的筛选按钮（选中的 radio 高亮对应 label）。 */
.filter-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.filter-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-text-soft);
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--c-sky); color: #1573a8; }
.filter-radio:checked + .filter-btn {
  border-color: transparent;
  background: var(--grad-sky);
  color: #062133;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(79, 195, 247, .32);
}
.filter-radio:focus-visible + .filter-btn {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}
.filter-hint {
  margin: 0 0 22px;
  color: var(--c-text-soft);
  font-size: .9rem;
}
/* 筛选规则：选中某个分类后隐藏其他分类的资源卡片。
   依赖 :has()（Chrome 105+ / Safari 15.4+ / Firefox 121+）。
   浏览器不支持时只是「全部显示」，不影响阅读与下载。 */
#list:has(#f-promo:checked) .res-card:not([data-category="promo"]),
#list:has(#f-cockpit:checked) .res-card:not([data-category="cockpit"]),
#list:has(#f-scenery:checked) .res-card:not([data-category="scenery"]),
#list:has(#f-flight:checked) .res-card:not([data-category="flight"]),
#list:has(#f-event:checked) .res-card:not([data-category="event"]),
#list:has(#f-other:checked) .res-card:not([data-category="other"]) { display: none; }

/* 资源卡片 */
.res-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--c-line-soft);
  border-left: 4px solid var(--c-sky);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.res-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.res-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.res-card__title { margin: 0; font-size: 1.05rem; }
.res-card__cat {
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(79, 195, 247, .16);
  color: #12658f;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.res-card__desc { margin: 0; color: var(--c-text-soft); font-size: .92rem; }
.res-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-text-soft);
  font-size: .84rem;
}
.res-card__meta li { margin-top: 0; }
.res-card__meta strong { color: var(--c-text); font-weight: 600; }
.res-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.res-card__hint { color: var(--c-text-soft); font-size: .8rem; }

/* 提示块（资源中心使用说明） */
.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--c-sakura);
  border-radius: 10px;
  background: rgba(255, 107, 157, .08);
  color: #8a3355;
  font-size: .92rem;
}
.notice code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(11, 27, 43, .07);
  color: var(--c-deep);
}

/* ---------------------------------------------------- 10. 图片灯箱（纯 CSS）
   原理：每个灯箱都是一个固定定位容器，用 :target 判断是否显示：
   点击缩略图 → 地址栏 hash 指向该灯箱 id → .lightbox:target 显示；
   点背景或 ✕（都是指回缩略图的链接）→ hash 变化 → 灯箱隐藏；
   ‹ / › 也是 hash 链接，所以上一张、下一张无需 JavaScript。 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox:target { display: flex; }
/* 背景遮罩：铺满屏幕，点击即关闭 */
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 24, .92);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lightbox__figure {
  position: relative;      /* 让图片盖在遮罩之上 */
  z-index: 1;
  max-width: min(1000px, 92vw);
  max-height: 88vh;
  margin: 0;
  text-align: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: 12px;
  object-fit: contain;          /* 灯箱内完整显示，不裁切 */
  background: var(--c-deep-2);
}
.lightbox__caption {
  margin-top: 14px;
  color: var(--c-text-invert);
  font-size: .95rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;               /* 盖在遮罩之上 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line-invert);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--c-white);
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;    /* 这两个按钮是 <a> 链接 */
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(0, 229, 255, .28); transform: scale(1.06); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.06); }

/* 作品 / 照片墙缩略图（可点击打开灯箱） */
.gallery {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery > li { margin-top: 0; }
.gallery__item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* 缩略图是 <a> 链接（点击打开 :target 灯箱），统一去掉链接默认样式 */
.gallery__item,
.gallery__item:visited,
.gallery__item:hover,
.gallery__item:active { color: inherit; text-decoration: none; }
.gallery__item:hover,
.gallery__item:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.gallery__caption {
  display: block;
  padding: 12px 16px;
  color: var(--c-text-soft);
  font-size: .88rem;
}

/* -------------------------------------------- 11. 表单 / 联系方式 / 常见问题 */
.form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: .92rem; font-weight: 700; }
.form__label .req { color: var(--c-sakura); }
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-cloud);
  color: var(--c-text);
  font: inherit;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--c-sky);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, .28);
  background: var(--c-white);
}
.form__textarea { min-height: 130px; resize: vertical; }
.form__help { color: var(--c-text-soft); font-size: .82rem; }
.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* 联系方式列表 */
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list > li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 0;
  padding: 14px 0;
  border-bottom: 1px dashed var(--c-line-soft);
}
.contact-list > li:last-child { border-bottom: 0; }
.contact-list__label {
  min-width: 96px;
  color: var(--c-text-soft);
  font-size: .9rem;
}
.contact-list__value { font-weight: 700; }

/* QQ 群 / 二维码盒子 */
.qq-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--c-line-soft);
  border-left: 4px solid var(--c-sky);
  border-radius: var(--radius-card);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.qq-box__qr {
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: var(--c-cloud);
  object-fit: contain;
}
.qq-box__body { flex: 1 1 240px; }
.qq-box__num {
  display: inline-block;
  margin: 6px 0 10px;
  font-family: var(--font-num);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--c-deep);
}

/* 常见问题（原生 details，无需脚本） */
.faq { display: grid; gap: 14px; }
.faq__item {
  border: 1px solid var(--c-line-soft);
  border-radius: 14px;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__item[open] { border-color: rgba(79, 195, 247, .5); }
.faq__q {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  float: right;
  color: var(--c-sky);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding: 0 20px 18px;
  color: var(--c-text-soft);
  font-size: .94rem;
}

/* --------------------------------------------------------------- 12. 页脚 */
.site-footer {
  padding-top: 52px;
  background: var(--c-deep);
  color: var(--c-text-invert-soft);
  font-size: .92rem;
}
.site-footer a { color: var(--c-sky); }
.site-footer a:hover { color: var(--c-cyan); }

.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.footer__title {
  margin: 0 0 14px;
  color: var(--c-white);
  font-size: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer__logo {
  height: 46px;              /* 同样按高度适配，横向 logo 不会被裁切 */
  width: auto;
  object-fit: contain;
}
.footer__name { color: var(--c-white); font-size: 1.06rem; font-weight: 800; }
.footer__slogan { margin: 0; color: var(--c-sakura); letter-spacing: 2px; font-size: .86rem; }
.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__list li { margin-top: 0; padding: 5px 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 40px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--c-line-invert);
  font-size: .84rem;
}
.footer__bottom p { margin: 0; }

/* ------------------------------------- 13. 返回顶部（纯 CSS，锚点链接 #top） */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 229, 255, .5);
  border-radius: 50%;
  background: var(--c-deep);
  color: var(--c-cyan);
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.to-top,
.to-top:visited { color: var(--c-cyan); text-decoration: none; }
.to-top:hover { background: var(--c-deep-3); color: var(--c-cyan); transform: translateY(-3px); }

/* 滚动驱动动画：页面下滚一段距离后按钮才淡入。
   不支持该特性的浏览器里按钮常显，功能完全不受影响。 */
@supports (animation-timeline: scroll()) {
  .to-top {
    animation: to-top-in linear both;
    animation-timeline: scroll(root block);
    animation-range: 240px 480px;
  }
}

@keyframes to-top-in {
  from { opacity: 0; transform: translateY(14px); pointer-events: none; }
  to   { opacity: 1; transform: translateY(0); pointer-events: auto; }
}

/* ------------------------------------------- 14. 滚动入场动画（纯 CSS）
   默认状态就是完全可见：即使浏览器不支持滚动驱动动画，内容也不会缺失。
   支持的浏览器（Chrome / Edge 115+）里，元素进入视口时自动播放淡入上浮。 */
.reveal { opacity: 1; transform: none; }

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 90%;
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------- 15. 响应式（断点 768px） */
@media (min-width: 769px) {
  /* 桌面端：隐藏汉堡 checkbox 与图标，菜单始终横向展开 */
  .nav__checkbox,
  .nav__toggle { display: none; }

  /* 成员风采（6 位）：固定 3 列 × 2 行，避免自适应列数出现 4+2 / 5+1 的孤行 */
  .grid--members { grid-template-columns: repeat(3, 1fr); }
}

/* 中屏（769px ~ 1120px）：导航项较多，收紧间距，避免 logo + 菜单挤在一起 */
@media (min-width: 769px) and (max-width: 1120px) {
  .nav { gap: 10px; }
  .nav__link { padding: 8px 8px; font-size: .88rem; }
  .brand__slogan { display: none; }   /* 中屏隐藏 slogan，给菜单让出空间 */
  .nav__cta { padding: 8px 14px; font-size: .86rem; }
}

@media (max-width: 768px) {
  :root { --sec-gap: 52px; --nav-h: 62px; }

  .nav { flex-wrap: wrap; }
  .nav__toggle { display: inline-flex; }

  /* 移动端菜单：默认收起的下拉面板，由汉堡 checkbox 控制展开 */
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 18px;
    background: rgba(255, 255, 255, .98);   /* 浅色导航：下拉面板也用浅色 */
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-lg);
  }
  /* 纯 CSS 交互核心：勾选汉堡 checkbox → 展开菜单 */
  .nav__checkbox:checked ~ .nav__menu { display: flex; }
  .nav__link { padding: 12px 14px; font-size: 1rem; }

  .nav__cta { display: none; }   /* 移动端「加入我们」在菜单里 */

  /* 单列布局 */
  .grid,
  .grid--2,
  .grid--3,
  .grid--4,
  .gallery,
  .stats,
  .form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { justify-content: flex-start; }

  .section__head { margin-bottom: 22px; }
  .section__head .more-link { align-self: flex-start; }

  .hero__meta { padding: 14px 16px; gap: 8px 20px; }
  .hero__actions .btn { flex: 1 1 100%; }

  .timeline { padding-left: 24px; }
  .timeline > li::before { left: -24px; }

  .back-home { flex-direction: column; align-items: flex-start; }
  .back-home .btn { width: 100%; }

  .to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; }

  .lightbox { padding: 14px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 10px; right: 10px; }

  .qq-box { flex-direction: column; align-items: flex-start; }
  .qq-box__qr { width: 180px; height: 180px; }
}

/* ------------------------------------------------ 16. 无障碍与动效偏好 */
:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* 关闭滚动驱动动画，并确保元素停留在「最终可见」状态 */
  .reveal,
  .to-top {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* --------------------------------------------------------------- 17. 打印 */
@media print {
  .site-header,
  .to-top,
  .lightbox,
  .hero__deco,
  .filter-bar { display: none !important; }
  body { background: #fff; color: #000; }
  /* 打印时强制所有滚动入场元素保持可见，避免出现空白区域 */
  .reveal { animation: none !important; opacity: 1 !important; transform: none !important; }
  .card,
  .res-card,
  .thumb { box-shadow: none; break-inside: avoid; }
}


