/* 88i4 · 窗下 — 登高望远，看一眼就释怀 */

:root {
  --sky-top: #dfeaeb;
  --sky-mid: #eef2ec;
  --sky-low: #f8f4ea;
  --paper: #fbf9f4;
  --ink: #2d3938;
  --ink-dim: #5f6e6b;
  --ink-faint: #889591;
  --sun: #b88950;
  --sun-soft: rgba(184, 137, 80, .14);
  --line: rgba(45, 57, 56, .1);
  --serif: "Noto Serif SC Local", "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", "SimSun", serif;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--sky-low); }

body {
  margin: 0;
  min-width: 320px;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 天光：从雾蓝到晨光米，右上角一束日光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 52% 44% at 88% 4%, rgba(255, 246, 216, .96) 0%, rgba(255, 246, 216, .34) 42%, transparent 76%),
    radial-gradient(ellipse 70% 45% at 12% 60%, rgba(220, 235, 230, .5) 0%, transparent 72%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-low) 100%);
}

/* 薄雾 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 18% at 50% 72%, rgba(255, 255, 255, .62) 0%, transparent 78%),
    radial-gradient(ellipse 60% 14% at 20% 88%, rgba(255, 255, 255, .45) 0%, transparent 80%);
  animation: mistDrift 26s ease-in-out infinite alternate;
}
@keyframes mistDrift { to { transform: translate3d(3%, -1%, 0); } }

a { color: inherit; text-decoration: none; }

::selection { background: var(--sun); color: #fffdf8; }

/* ---------- 环境层 ---------- */

#sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .9;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 252, 236, .7) 0%, rgba(255, 248, 222, .28) 38%, transparent 70%);
  transition: opacity .6s ease;
}
body.has-pointer .cursor-glow { opacity: 1; }

.veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), #fffaf0 0%, #f3e8d2 26%, #dce7e0 62%, #c8d8d1 100%);
  clip-path: circle(0% at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path .7s cubic-bezier(.68, 0, .2, 1);
}
.veil.is-active { clip-path: circle(155% at var(--cx, 50%) var(--cy, 50%)); pointer-events: all; }
.veil span {
  font-size: clamp(3rem, 9vw, 8rem);
  letter-spacing: .22em;
  color: rgba(45, 57, 56, .5);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease .12s, transform .7s var(--ease) .12s;
}
.veil.is-active span { opacity: .8; transform: translateY(0); }

/* ---------- 页头 ---------- */

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 32px 0 0;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-glyph {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(184, 137, 80, .55);
  color: var(--sun);
  font-size: 15px;
  line-height: 1;
  transition: background .35s ease, box-shadow .35s ease;
}
.brand:hover .brand-glyph {
  background: var(--sun-soft);
  box-shadow: 0 0 20px rgba(184, 137, 80, .16);
}
.brand-word { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .2em; }

.header-note {
  margin: 0;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .28em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.header-rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(45, 57, 56, .14), transparent); }

/* ---------- 主视觉 ---------- */

.hero {
  position: relative;
  z-index: 1;
  min-height: min(86vh, 820px);
  display: grid;
  place-items: center;
  padding: 80px 24px 120px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  top: 30%;
  left: 58%;
  width: min(1000px, 96vw);
  height: min(660px, 72vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 248, 220, .8) 0%, rgba(255, 243, 210, .26) 36%, transparent 70%);
  filter: blur(16px);
  animation: breathe 10s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.07); }
}

/* 远山 */
.horizon {
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: -1px;
  height: min(33vh, 300px);
  background: url("./assets/horizon.svg") bottom center / 100% 100% no-repeat;
  animation: horizonDrift 38s ease-in-out infinite alternate;
  pointer-events: none;
  opacity: .92;
}
@keyframes horizonDrift { to { transform: translateX(-2.5%); } }

/* 飞鸟 */
.birds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.birds i {
  position: absolute;
  width: 12px;
  height: 6px;
  opacity: 0;
  border-top: 1px solid rgba(45, 57, 56, .42);
  border-radius: 50% 50% 0 0;
  transform: rotate(-6deg);
  animation: birdFly 28s linear infinite;
}
.birds i:nth-child(1) { top: 30%; left: -4%; animation-delay: 2s; }
.birds i:nth-child(2) { top: 37%; left: -4%; animation-delay: 9s; transform: scale(.7) rotate(-4deg); }
.birds i:nth-child(3) { top: 25%; left: -4%; animation-delay: 17s; transform: scale(.85) rotate(-8deg); }
@keyframes birdFly {
  0% { opacity: 0; transform: translate(0, 0) rotate(-6deg) scale(1); }
  8% { opacity: .7; }
  70% { opacity: .5; }
  100% { opacity: 0; transform: translate(110vw, -34px) rotate(-6deg) scale(1); }
}

.hero-inner { max-width: 980px; }

.eyebrow {
  margin: 0 0 34px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .42em;
  color: var(--sun);
  opacity: 0;
  animation: rise .9s var(--ease) .1s forwards;
}
.eyebrow span { opacity: .45; }

.hero-title {
  margin: 0;
  font-weight: 400;
  font-size: clamp(3rem, 7.8vw, 7rem);
  line-height: 1.22;
  letter-spacing: .09em;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(255, 255, 255, .8);
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 1.1s var(--ease) forwards;
}
.title-line:nth-child(1) { animation-delay: .24s; }
.title-line:nth-child(2) { animation-delay: .38s; }
.title-em { color: var(--sun); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
  margin: 34px auto 0;
  font-size: clamp(.92rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 2.1;
  letter-spacing: .14em;
  color: var(--ink-dim);
  opacity: 0;
  animation: rise 1s var(--ease) .66s forwards;
}

.hero-hint {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ink-dim);
  opacity: 0;
  animation: rise 1s var(--ease) .9s forwards;
}
.hero-hint i { display: block; width: 34px; height: 1px; background: currentColor; opacity: .5; }

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  width: 1px;
  height: 54px;
  overflow: hidden;
  background: rgba(45, 57, 56, .12);
  transform: translateX(-50%);
}
.hero-scroll span {
  position: absolute;
  inset: 0;
  background: var(--sun);
  animation: scrollDown 2.6s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- 今日更新 ---------- */

.updates {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto 18px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.updates-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.updates-title { font-size: 10px; letter-spacing: .3em; color: var(--sun); white-space: nowrap; }
.updates-rule { flex: 1; height: 1px; background: var(--line); }
.updates-time { font-family: var(--sans); font-size: 9px; letter-spacing: .14em; color: var(--ink-faint); white-space: nowrap; }
.updates-list { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.updates-list::-webkit-scrollbar { display: none; }
.update-item {
  flex: 1 0 210px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .46);
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.update-item:hover {
  background: rgba(255, 255, 255, .85);
  border-color: color-mix(in srgb, var(--tone) 40%, transparent);
  transform: translateY(-2px);
}
.update-site { font-size: 10px; letter-spacing: .12em; color: var(--tone); white-space: nowrap; }
.update-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .82rem; color: var(--ink); }
.update-label { font-family: var(--sans); font-size: 8px; letter-spacing: .12em; color: var(--ink-faint); white-space: nowrap; }

/* ---------- 五扇窗 ---------- */

.portals {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 34px 28px;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0 0 120px;
}
.portal {
  grid-column: span 2;
  opacity: 0;
  transform: translateY(34px);
}
.portal:nth-child(4), .portal:nth-child(5) { grid-column: span 3; }
.portal.is-in { animation: cardIn .9s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }

.portal-card {
  height: 100%;
  padding: 12px 12px 26px;
  border: 1px solid rgba(45, 57, 56, .1);
  background: rgba(255, 255, 255, .74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 46px -28px rgba(40, 62, 58, .5);
  transition: transform .55s var(--ease), border-color .45s ease, box-shadow .55s var(--ease), background .45s ease;
}

.portal:hover .portal-card {
  transform: translateY(-10px);
  border-color: color-mix(in srgb, var(--tone) 46%, transparent);
  box-shadow: 0 28px 56px -26px rgba(40, 62, 58, .38), 0 0 42px -22px color-mix(in srgb, var(--tone) 40%, transparent);
  background: rgba(255, 255, 255, .78);
}

.window {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3ef;
  box-shadow: inset 0 0 0 1px rgba(45, 57, 56, .1), inset 0 0 30px rgba(90, 110, 104, .08);
}
.window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, transparent 38%, rgba(214, 226, 219, .14) 100%);
}

.scene { position: absolute; inset: 0; overflow: hidden; }
.scene > * { transition: filter .5s ease; }

.mullion { position: absolute; z-index: 6; background: rgba(250, 247, 238, .93); pointer-events: none; }
.mullion--v { top: 0; bottom: 0; left: 50%; width: 6px; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(45, 57, 56, .12), 2px 0 8px rgba(45, 57, 56, .06); }
.mullion--h { left: 0; right: 0; top: 50%; height: 6px; transform: translateY(-50%); box-shadow: 0 0 0 1px rgba(45, 57, 56, .12), 0 2px 8px rgba(45, 57, 56, .06); }

.glass-sheen {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(128deg, rgba(255, 255, 255, .38) 0%, transparent 28%, transparent 74%, rgba(255, 255, 255, .16) 100%);
  opacity: .7;
  transition: opacity .5s ease;
}
.portal:hover .glass-sheen { opacity: 1; }

/* 场景 1 · 雨过天晴 */
.scene--rain { background: linear-gradient(175deg, #c3dadd 0%, #dceae2 52%, #f2e9d6 100%); }
.scene--rain .sun {
  position: absolute;
  right: 18%;
  top: 16%;
  width: 44%;
  height: 54%;
  transform: translate(50%, -30%);
  background: radial-gradient(ellipse, rgba(255, 244, 198, 1) 0%, rgba(255, 234, 168, .55) 36%, transparent 72%);
  filter: blur(2px);
  animation: sunGlow 7s ease-in-out infinite;
}
@keyframes sunGlow { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.scene--rain .ridge {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2%;
  height: 46%;
  background: url("../assets/horizon.svg") bottom center / 100% 100% no-repeat;
  opacity: 1;
  filter: saturate(1.5) brightness(.9);
}
.scene--rain .drop {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: 1.5px;
  height: calc(24px * var(--s));
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 1));
  animation: rainfall calc(3s / var(--s)) linear var(--d) infinite;
}
@keyframes rainfall { to { transform: translateY(190px); opacity: .15; } }
.portal:hover .scene--rain .drop { animation-duration: 1.4s; }

/* 场景 2 · 宣纸远山 */
.scene--paper { background: linear-gradient(155deg, #f8f2e6 0%, #e8dfcd 100%); }
.scene--paper .paper-grain {
  position: absolute;
  inset: 0;
  opacity: .3;
  background: repeating-linear-gradient(92deg, transparent 0 7px, rgba(105, 88, 66, .03) 7px 8px);
}
.scene--paper .ink {
  position: absolute;
  left: 32%;
  top: 52%;
  width: 70%;
  height: 48%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(78, 100, 92, .4) 0%, rgba(110, 130, 120, .14) 44%, transparent 74%);
  filter: blur(4px);
  animation: inkBreath 8s ease-in-out infinite;
}
@keyframes inkBreath { 0%, 100% { opacity: .6; transform: translate(-50%, -50%) scale(.94); } 50% { opacity: .95; transform: translate(-50%, -50%) scale(1.05); } }
.scene--paper .vertical {
  position: absolute;
  left: 24%;
  top: 16%;
  writing-mode: vertical-rl;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem);
  letter-spacing: .18em;
  color: #4a443a;
}
.scene--paper .seal {
  position: absolute;
  right: 14%;
  bottom: 14%;
  padding: 4px 5px;
  border: 1px solid rgba(177, 74, 57, .65);
  color: rgba(177, 74, 57, .82);
  font-size: 9px;
  letter-spacing: .1em;
  writing-mode: vertical-rl;
}

/* 场景 3 · 纸边飞鸟 */
.scene--notes { background: linear-gradient(160deg, #f2eadb 0%, #e2d6c1 100%); }
.scene--notes .note-line {
  position: absolute;
  left: 16%;
  top: var(--y);
  width: var(--w);
  height: 2px;
  background: linear-gradient(90deg, rgba(88, 96, 88, .5), rgba(88, 96, 88, .03));
  animation: noteFloat 6s ease-in-out var(--d) infinite;
}
@keyframes noteFloat { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(12px); opacity: .9; } }
.scene--notes .bird {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 6px;
  border-top: 1px solid rgba(70, 86, 82, .55);
  border-radius: 50% 50% 0 0;
  animation: birdHop 7s ease-in-out var(--d) infinite;
}
@keyframes birdHop { 0%, 100% { transform: translate(0, 0); opacity: .45; } 50% { transform: translate(18px, -8px); opacity: .9; } }
.scene--notes .page-corner {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 42%;
  height: 48%;
  background: linear-gradient(135deg, transparent 49%, rgba(255, 253, 246, .9) 50%, rgba(232, 220, 201, .9) 100%);
  filter: drop-shadow(-5px -5px 10px rgba(70, 60, 45, .12));
  animation: cornerTurn 9s ease-in-out infinite;
  transform-origin: bottom right;
}
@keyframes cornerTurn { 0%, 100% { transform: scale(1); } 50% { transform: scale(.86); } }
.portal:hover .scene--notes .note-line { animation-duration: 2.8s; }

/* 场景 4 · 晨光星图 */
.scene--vault { background: radial-gradient(circle at 50% 42%, #dcebef 0%, #cbdfe1 58%, #bdd5d2 100%); }
.scene--vault .vault-grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image: linear-gradient(rgba(96, 138, 148, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(96, 138, 148, .28) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 78%);
}
.scene--vault .node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7fa9b0;
  box-shadow: 0 0 12px 3px rgba(127, 169, 176, .4);
  animation: nodePulse 3.4s ease-in-out var(--d) infinite;
}
@keyframes nodePulse { 0%, 100% { transform: scale(.7); opacity: .4; } 50% { transform: scale(1.4); opacity: 1; } }
.scene--vault .vault-mark {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: .1em;
  color: rgba(78, 120, 128, .78);
  text-shadow: 0 0 24px rgba(255, 255, 255, .9);
}
.portal:hover .scene--vault .node { animation-duration: 1.4s; }

/* 场景 5 · 云上短句 */
.scene--daily { background: radial-gradient(ellipse at 46% 34%, #fff2d2 0%, #dfe9ed 48%, #cddfdd 100%); }
.scene--daily .star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff9e4;
  box-shadow: 0 0 10px 3px rgba(255, 246, 214, .8);
  animation: twinkle 4s ease-in-out var(--d) infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.scene--daily .daily-quote {
  position: absolute;
  left: 12%;
  top: 46%;
  transform: translateY(-50%);
  font-size: clamp(.74rem, 1.25vw, 1rem);
  letter-spacing: .12em;
  color: rgba(45, 57, 56, .82);
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 1px solid rgba(45, 57, 56, .4);
  animation: typing 4.6s steps(14, end) 1.1s 3 alternate;
}
@keyframes typing { from { width: 0; } to { width: 78%; } }
.portal:hover .scene--daily .star { animation-duration: 1.2s; }

/* 卡片文字 */
.portal-body { padding: 22px 10px 4px; }
.portal-top { display: flex; align-items: center; justify-content: space-between; }
.portal-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--tone);
  opacity: .9;
}
.portal-tag {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.portal-name {
  margin: 14px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
  letter-spacing: .1em;
  transition: color .4s ease, letter-spacing .5s var(--ease);
}
.portal:hover .portal-name { color: var(--tone); letter-spacing: .14em; }
.portal-slogan {
  margin: 10px 0 0;
  min-height: 2.8em;
  font-size: .82rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: .05em;
  color: var(--ink-dim);
}
.portal-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .25em;
  color: var(--ink-faint);
  transition: color .4s ease;
}
.portal:hover .portal-enter { color: var(--tone); }
.arrow { display: inline-block; font-weight: 400; font-size: 13px; transform: translate(-5px, 3px); opacity: 0; transition: transform .4s var(--ease), opacity .4s ease; }
.portal:hover .arrow { transform: translate(0, 0); opacity: 1; }

/* ---------- 收束 ---------- */

.closing {
  position: relative;
  z-index: 2;
  padding: 20px 24px 140px;
  text-align: center;
}
.closing p {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.5rem);
  font-weight: 300;
  line-height: 2.1;
  letter-spacing: .16em;
  color: var(--ink-dim);
}
.closing-mark {
  display: block;
  margin-top: 40px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--sun);
  opacity: .6;
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 80px));
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid rgba(45, 57, 56, .1);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--ink-faint);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .site-header, .portals, .site-footer { width: min(100% - 56px, 900px); }
  .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
  .portal, .portal:nth-child(4), .portal:nth-child(5) { grid-column: span 1; }
  .portal:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 11px); margin: 0 auto; width: 100%; }
  .hero { min-height: 70vh; }
}

@media (max-width: 680px) {
  .site-header, .portals, .site-footer { width: calc(100% - 36px); }
  .site-header { padding-top: 24px; }
  .header-note { display: none; }
  .hero { min-height: 76vh; padding: 60px 20px 110px; }
  .hero-title { letter-spacing: .03em; }
  .hero-sub { letter-spacing: .06em; }
  .hero-hint { font-size: 8px; gap: 10px; }
  .hero-hint i { width: 18px; }
  .horizon { height: 26vh; }
  .birds { display: none; }
  .updates { width: calc(100% - 36px); }
  .update-item { flex: 0 0 78%; }
  .portals { grid-template-columns: 1fr; gap: 22px; padding-bottom: 80px; }
  .portal, .portal:nth-child(4), .portal:nth-child(5) { grid-column: span 1; max-width: none; margin: 0; }
  .portal-card { padding: 10px 10px 20px; }
  .portal-slogan { min-height: 0; }
  .closing { padding-bottom: 90px; }
  .site-footer { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .title-line, .eyebrow, .hero-sub, .hero-hint { opacity: 1; transform: none; }
  .portal { opacity: 1; transform: none; }
  .veil { display: none; }
}
