/* ==================== 基础设置 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: #000;
  color: #111;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

/* ==================== 封面 ==================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background:
    linear-gradient(rgba(38, 39, 44, 0.55), rgba(38, 39, 44, 0.55)),
    url(https://res.cloudinary.com/cpz7s2g7/image/upload/v1790151034/cover.webp) center / cover no-repeat;
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  padding: 44px 72px;
}

.top-nav ul {
  display: flex;
  gap: 64px;
}

/* 手机端菜单开关，桌面端整体隐藏 */
#nav-toggle,
.nav-toggle-label {
  display: none;
}

.top-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 4px;
}

.top-nav a:hover {
  color: #ccc;
}

.hero-title {
  width: 78%;
  margin-left: auto;
  padding-top: 30vh;
  text-align: center;
  color: #fff;
}

.hero-title h1 {
  font-size: 92px;
  line-height: 1.15;
}

.hero-sub {
  margin-top: 26px;
  font-size: 20px;
  letter-spacing: 5px;
}

.hero-meta {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==================== 目录 ==================== */
.contents {
  display: flex;
  gap: 70px;
  background: #000;
  color: #fff;
  padding: 120px 72px 130px;
}

.contents-intro {
  width: 24%;
}

.contents-intro h2 {
  font-size: 34px;
  margin-bottom: 26px;
}

.contents-intro p {
  font-size: 15px;
  line-height: 1.75;
  color: #e8e8e8;
}

.contents-list {
  flex: 1;
}

.contents-list h2 {
  font-size: 34px;
  margin-bottom: 40px;
}

.contents-list a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1.85;
  color: #fff;
  text-decoration: none;
}

.contents-list a:hover {
  color: #b5b5b5;
}

/* ==================== 章节公共 ==================== */
.chapter-head {
  position: relative;
  color: #fff;
  padding: 130px 72px;
  background-size: cover;
  background-position: center;
}

.chapter-num {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 300px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.16);
}

.chapter-head h2 {
  font-size: 84px;
}

.chapter-time {
  font-size: 22px;
  margin-top: 18px;
}

.chapter-intro {
  max-width: 820px;
  margin: 30px auto 0;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

/* ---- 01 Morning Mist ---- */
.chapter-morning {
  background: #fff;
  padding: 0 0 130px;
}

.chapter-morning .chapter-head {
  background-image: url(https://res.cloudinary.com/cpz7s2g7/image/upload/v1790150947/bg-morning.webp);
  text-align: center;
  padding-bottom: 240px;
}

.chapter-morning .chapter-num {
  text-align: left;
  margin-bottom: -110px;
}

.chapter-morning .chapter-head h2 {
  margin-top: 60px;
}

.moment-card {
  display: flex;
  background: #060606;
  border-radius: 28px;
  overflow: hidden;
  max-width: 1200px;
  margin: 110px auto 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.moment-narrow {
  max-width: 960px;
}

.moment-card img {
  width: 62%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.moment-narrow img {
  width: 49%;
  aspect-ratio: 2 / 3;
}

.moment-text {
  flex: 1;
  display: flex;
  padding: 25px;
}

.moment-frame {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 44px 42px;
  color: #fff;
}

.moment-frame h3 {
  font-size: 30px;
  letter-spacing: 6px;
}

.moment-frame h4 {
  font-size: 18px;
  margin: 16px 0 10px;
}

.moment-frame p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #dedede;
}

/* ---- 02 Daylight ---- */
.chapter-daylight {
  background: #000;
  color: #fff;
  padding-bottom: 40px;
}

.chapter-head-daylight {
  background-image: url(https://res.cloudinary.com/cpz7s2g7/image/upload/v1790151001/bg-daylight.webp);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  padding-top: 110px;
  padding-bottom: 150px;
}

.head-left {
  width: 52%;
}

.chapter-head-daylight .chapter-num {
  margin-bottom: -80px;
}

.chapter-lead {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.7;
  margin-top: 30px;
}

.chapter-side {
  width: 36%;
}

.chapter-side p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.polaroid-strip {
  display: flex;
  gap: 100px;
  overflow-x: hidden;
  padding: 200px 0 60px 100px;
}

.polaroid {
  position: relative;
  flex-shrink: 0;
  width: 310px;
  background: #fff;
  padding: 20px 20px 26px;
}

.polaroid::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: 2px;
  height: 200px;
  background: #fff;
}

.polaroid img {
  width: 100%;
  aspect-ratio: 27 / 40;
  object-fit: cover;
  display: block;
}

.polaroid figcaption {
  padding-top: 14px;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.polaroid figcaption strong {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.daylight-summary {
  display: flex;
  align-items: flex-start;
  gap: 90px;
  max-width: 1300px;
  margin: 90px auto 0;
  padding: 0 72px 110px;
}

.daylight-summary h2 {
  font-size: 56px;
}

.daylight-summary p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 780px;
  margin-top: 14px;
}

/* ---- 03 Dusk ---- */
.chapter-dusk {
  background: #f7f5f0;
  color: #111;
  padding-bottom: 130px;
}

.chapter-head-dusk {
  background: #000 url(https://res.cloudinary.com/cpz7s2g7/image/upload/v1790150985/bg-dusk.webp) no-repeat right center;
  background-size: 55% 100%;
  padding-top: 130px;
  padding-bottom: 150px;
}

.chapter-head-dusk .chapter-num {
  color: #3a3a3a;
  margin-top: 90px;
}

.chapter-head-dusk h2,
.chapter-head-dusk .chapter-time,
.chapter-head-dusk .chapter-lead {
  max-width: 620px;
}

.dusk-feature {
  max-width: 1220px;
  margin: 110px auto 0;
}

.dusk-feature img {
  width: 100%;
  display: block;
}

.dusk-feature figcaption {
  margin-top: 24px;
}

.dusk-feature h3 {
  font-size: 34px;
  letter-spacing: 4px;
}

.dusk-item h3 {
  font-size: 30px;
  letter-spacing: 4px;
  margin-top: 24px;
}

figcaption h4 {
  font-size: 19px;
  margin: 8px 0 10px;
}

figcaption p {
  font-size: 15px;
  line-height: 1.75;
  color: #222;
}

.dusk-row {
  display: flex;
  gap: 56px;
  max-width: 1220px;
  margin: 100px auto 0;
}

.dusk-row .dusk-item {
  flex: 1;
}

.dusk-item img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

/* ---- 04 Nightfall ---- */
.chapter-night {
  background: #000;
  color: #fff;
  padding-bottom: 140px;
}

.chapter-head-night {
  background-image: url(https://res.cloudinary.com/cpz7s2g7/image/upload/v1790151003/bg-nightfall.webp);
  text-align: center;
  padding-top: 170px;
  padding-bottom: 180px;
}

.chapter-head-night .chapter-num {
  color: rgba(255, 255, 255, 0.12);
}

.chapter-head-night .chapter-intro {
  margin-top: 40px;
}

.night-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1440px;
  margin: 0 auto;
}

.night-item {
  width: 50%;
}

.night-item img {
  width: 100%;
  display: block;
}

.night-item figcaption {
  text-align: center;
  padding: 34px 40px 70px;
}

.night-item h3 {
  font-size: 30px;
  letter-spacing: 5px;
}

.night-item h4 {
  font-size: 17px;
  margin: 10px 0 12px;
}

.night-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #c9c9c9;
  max-width: 640px;
  margin: 0 auto;
}

/* ==================== 总览 ==================== */
.overview {
  background: #fff;
  color: #111;
  padding: 120px 72px 150px;
}

.overview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 2px solid #111;
  padding-top: 70px;
  max-width: 1300px;
  margin: 0 auto 90px;
}

.overview-time {
  font-size: 26px;
  margin-top: 10px;
}

.overview-head h2 {
  font-size: 66px;
  letter-spacing: 8px;
}

.overview-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.4;
  text-align: right;
}

.thumb-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* 每张缩略图包在一个 <a> 里，链接成为网格的弹性项目，宽度平分一行 6 张 */
.thumb-grid a {
  display: block;
  width: calc((100% - 100px) / 6);
  text-decoration: none;
}

.thumb-grid figure {
  position: relative;
  width: 100%;
}

.thumb-grid a:hover img {
  opacity: 0.7;
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}

.thumb-grid span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

/* ==================== 页脚 ==================== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  background: #161616;
  color: #fff;
  padding: 130px 72px;
}

.site-footer h2 {
  font-size: 44px;
  line-height: 1.35;
  letter-spacing: 2px;
}

.footer-info {
  max-width: 640px;
}

.footer-info p {
  font-size: 16px;
  line-height: 1.75;
  color: #e2e2e2;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}

.back-top img {
  width: 26px;
  height: 26px;
}

.back-top:hover {
  color: #bbb;
}

/* ==================== 手机端适配 ==================== */
/* 屏幕宽度不超过 768px 时，下面的规则会覆盖上面的桌面端规则 */

@media (max-width: 768px) {

  /* ---- 导航：汉堡图标 + 竖排链接 ---- */
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 24px;
  }

  /* ---- 导航：点汉堡图标展开/收起菜单 ---- */
  .nav-toggle-label {
    display: inline-block;
    cursor: pointer;
    margin-bottom: 18px;
  }

  .nav-icon {
    display: block;
    width: 30px;
    height: 30px;
  }

  /* 菜单默认收起 */
  .top-nav ul {
    display: none;
    flex-direction: column;
    gap: 16px;
  }

  /* checkbox 被勾选（点了一次图标）时，显示它后面的菜单 */
  #nav-toggle:checked ~ ul {
    display: flex;
  }

  .top-nav a {
    font-size: 13px;
  }

  /* ---- 封面 ---- */
  .hero-title {
    width: 100%;
    padding: 0 24px;
    padding-top: 36vh;
  }

  .hero-title h1 {
    font-size: 46px;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 14px;
    letter-spacing: 3px;
  }

  .hero-meta {
    font-size: 11px;
  }

  /* ---- 目录：单列 ---- */
  .contents {
    flex-direction: column;
    gap: 44px;
    padding: 90px 24px 100px;
  }

  .contents-intro {
    width: 100%;
  }

  .contents-intro h2,
  .contents-list h2 {
    font-size: 30px;
  }

  .contents-list a {
    font-size: 40px;
    line-height: 2;
  }

  /* ---- 章节头 ---- */
  .chapter-head {
    padding: 80px 24px 90px;
  }

  .chapter-num {
    font-size: 150px;
  }

  .chapter-head h2 {
    font-size: 44px;
  }

  .chapter-time {
    font-size: 16px;
  }

  .chapter-intro {
    font-size: 14px;
  }

  /* ---- 01 卡片：变成图片横幅，只显示时间 ---- */
  .chapter-morning {
    padding: 0 0 90px;
  }

  .moment-card {
    display: block;
    position: relative;
    height: 180px;
    margin: 24px 16px 0;
    border-radius: 20px;
  }

  .moment-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .moment-text {
    padding: 0;
  }

  .moment-frame {
    position: relative;
    height: 180px;
    border: none;
    border-radius: 20px;
    padding: 0 24px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
  }

  .moment-frame h3 {
    font-size: 26px;
    letter-spacing: 5px;
    text-align: center;
  }

  .moment-frame h4,
  .moment-frame p {
    display: none;
  }

  /* ---- 02 Daylight ---- */
  .chapter-head-daylight {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding-bottom: 110px;
  }

  .head-left,
  .chapter-side {
    width: 100%;
  }

  .chapter-head-daylight .chapter-num {
    margin-bottom: -40px;
  }

  .chapter-lead {
    font-size: 16px;
  }

  .chapter-side p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .polaroid-strip {
    gap: 30px;
    padding: 120px 0 50px 16px;
  }

  .polaroid {
    width: 162px;
    padding: 10px 10px 14px;
  }

  .polaroid::before {
    top: -120px;
    height: 120px;
  }

  .polaroid figcaption {
    font-size: 11px;
  }

  .polaroid figcaption strong {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .daylight-summary {
    flex-direction: column;
    gap: 24px;
    margin-top: 90px;
    padding: 0 24px 100px;
  }

  .daylight-summary h2 {
    font-size: 38px;
  }

  .daylight-summary p {
    font-size: 15px;
  }

  /* ---- 03 黄昏：全部单列 ---- */
  .chapter-head-dusk {
    background-size: cover;
    padding: 90px 24px 100px;
  }

  .chapter-head-dusk .chapter-num {
    margin-top: 30px;
  }

  .chapter-head-dusk h2,
  .chapter-head-dusk .chapter-time,
  .chapter-head-dusk .chapter-lead {
    max-width: 100%;
  }

  .dusk-feature {
    margin: 70px 16px 0;
  }

  .dusk-row {
    flex-direction: column;
    gap: 44px;
    margin: 70px 16px 0;
  }

  .dusk-feature h3 {
    font-size: 26px;
  }

  .dusk-item h3 {
    font-size: 24px;
    margin-top: 18px;
  }

  figcaption h4 {
    font-size: 16px;
  }

  figcaption p {
    font-size: 14px;
  }

  /* ---- 04 夜幕：单列 ---- */
  .chapter-head-night {
    padding: 100px 24px 110px;
  }

  .night-item {
    width: 100%;
  }

  .night-item figcaption {
    padding: 26px 24px 50px;
  }

  .night-item h3 {
    font-size: 24px;
  }

  /* ---- 总览：一行三张 ---- */
  .overview {
    padding: 90px 24px 110px;
  }

  .overview-head {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding-top: 46px;
    margin-bottom: 56px;
  }

  .overview-time {
    font-size: 16px;
  }

  .overview-head h2 {
    font-size: 40px;
    letter-spacing: 5px;
  }

  .overview-name {
    font-size: 18px;
    text-align: center;
  }

  .thumb-grid {
    gap: 12px;
  }

  .thumb-grid a {
    width: calc((100% - 24px) / 3);
  }

  .thumb-grid span {
    font-size: 10px;
    right: 6px;
    bottom: 6px;
  }

  /* ---- 页脚 ---- */
  .site-footer {
    flex-direction: column;
    gap: 34px;
    padding: 80px 24px 90px;
  }

  .site-footer h2 {
    font-size: 32px;
  }

  .footer-info p {
    font-size: 14px;
  }
}
