:root {
  --bg: #08080a;
  --surface: #111114;
  --text: #f5f5f7;
  --muted: #86868b;
  --accent: #0a84ff;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1120px;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.links {
  display: flex;
  gap: 26px;
}

.links a {
  font-size: 12.5px;
  color: rgba(245, 245, 247, 0.66);
  transition: color 0.2s;
}

.links a:hover { color: var(--text); }

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

.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero:hover .hero-img { transform: scale(1.03); }

.enter {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(245, 245, 247, 0.32);
  color: var(--text);
  font-size: 12px;
  transition: border-color 0.2s, color 0.2s;
}

.hero:hover .enter {
  color: #fff;
  border-color: #fff;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0.12) 32%, rgba(8, 8, 10, 0.55) 68%, rgba(8, 8, 10, 0.96) 100%);
}

.hero-copy {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 88px;
}

.hero-copy .mono { margin: 0 0 20px; color: rgba(245, 245, 247, 0.62); }

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.lede {
  margin: 22px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(245, 245, 247, 0.72);
}

.cta {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 980px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 14px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover { background: #2b9bff; border-color: #2b9bff; }

.btn.ghost {
  background: transparent;
  border-color: rgba(245, 245, 247, 0.3);
  color: var(--text);
}

.btn.ghost:hover {
  border-color: var(--text);
  background: rgba(245, 245, 247, 0.08);
}

/* ---------- 顶部标题 ---------- */

.masthead { padding: 168px 0 96px; }

.masthead .mono { margin: 0 0 22px; }

.masthead h1 {
  margin: 0;
  font-size: clamp(36px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.masthead .lede {
  margin: 26px 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.label { margin: 0 0 16px; }

h2 {
  margin: 0 0 56px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.body {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.72;
  color: rgba(245, 245, 247, 0.8);
}

/* ---------- 照片 ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 28px;
}

.frame { margin: 0; }

.shot {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
}

.shot img {
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.frame:hover .shot img { transform: scale(1.035); }

figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 4px 0;
}

.idx { color: rgba(245, 245, 247, 0.32); }

.title { font-size: 15px; }

.meta {
  margin-left: auto;
  color: rgba(245, 245, 247, 0.42);
  letter-spacing: 0.06em;
}

/* ---------- 设备 ---------- */

.gear {
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
}

.spec {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 14px;
  color: var(--muted);
  flex: 0 0 auto;
}

.spec dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--text);
  text-align: right;
}

/* ---------- 联系 ---------- */

.mail {
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(22px, 3.4vw, 34px);
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(245, 245, 247, 0.24);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.mail:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot .mono { font-size: 10.5px; color: rgba(245, 245, 247, 0.36); }

/* ---------- 入场 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* ---------- 响应式 ---------- */

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  h2 { margin-bottom: 40px; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding-bottom: 64px; }
  .masthead { padding: 120px 0 64px; }
  .meta { margin-left: 0; flex-basis: 100%; }
  .spec > div { flex-direction: column; gap: 6px; }
  .spec dd { text-align: left; }
}

@media (max-width: 520px) {
  .links { gap: 18px; }
  .links a { font-size: 12px; }
  .cta { gap: 10px; }
  .btn { padding: 11px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot img, .btn, .mail { transition: none; }
}

/* ---------- 游记页 ---------- */

.article-cover {
  position: relative;
  min-height: 76vh;
  min-height: 76svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.article-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.5) 0%, rgba(8, 8, 10, 0.08) 30%, rgba(8, 8, 10, 0.6) 72%, rgba(8, 8, 10, 0.97) 100%);
}

.article-cover-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 76px;
}

.article-cover-copy h1 {
  margin: 16px 0 20px;
  font-size: clamp(28px, 4.8vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.article-body {
  max-width: 720px;
  padding-top: 84px;
  padding-bottom: 110px;
}

.article-body p {
  margin: 0 0 1.5em;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(245, 245, 247, 0.82);
}

.article-body .lead {
  font-size: clamp(19px, 2.1vw, 22px);
  line-height: 1.75;
  color: var(--text);
}

.article-body h2 {
  margin: 68px 0 24px;
  font-size: clamp(22px, 3vw, 30px);
}

.article-body figure { margin: 52px 0; }

.article-body figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.article-body figcaption {
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: none;
}

.note {
  margin: 56px 0;
  padding: 20px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.back {
  display: inline-block;
  font-size: 12.5px;
  color: rgba(245, 245, 247, 0.66);
  transition: color 0.2s;
}

.back:hover { color: var(--text); }

@media (max-width: 860px) {
  .article-cover-copy { padding-bottom: 56px; }
  .article-body { padding-top: 56px; padding-bottom: 72px; }
  .article-body p { font-size: 17px; }
}

/* ---------- 栏目入口 ---------- */

.entry {
  display: block;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}

.entry img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.entry:hover img { transform: scale(1.035); }

.entry-copy {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 52px 36px 30px;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0) 0%, rgba(8, 8, 10, 0.55) 45%, rgba(8, 8, 10, 0.92) 100%);
}

.entry-copy .mono { color: rgba(245, 245, 247, 0.68); }

.entry-title {
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.entry-go { transition: color 0.2s; }

.entry:hover .entry-go { color: #fff; }

.entry-blank {
  aspect-ratio: 1400 / 803;
  border: 1px solid var(--line);
  background-color: var(--surface);
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
}

.entry-blank .entry-copy {
  background: none;
  padding: 0 32px 32px;
}

.entry-blank .entry-title {
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--muted);
  font-weight: 500;
}

.entry-list {
  display: grid;
  gap: 28px;
  padding-bottom: 120px;
}

.empty {
  margin: 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 散片 ---------- */

.sheet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sheet figure { margin: 0; }

.sheet img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--surface);
}

.sheet figcaption {
  display: block;
  padding: 10px 2px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 860px) {
  .sheet { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .entry-copy { padding: 40px 22px 22px; }
}

@media (max-width: 520px) {
  .sheet { grid-template-columns: 1fr; }
}
