/* ============================================================
   卡塞尔学院官网 · CASSELL COLLEGE
   设计语言:青铜与火 —— 玄墨夜色 × 羊皮纸厅堂
   字体:思源宋体(中文)· Cinzel(拉丁铭刻)· EB Garamond(档案小字)
   ============================================================ */

:root {
  --ink: #0B0D0E;
  --ink-2: #111417;
  --bronze: #A5793F;
  --bronze-bright: #CE9D57;
  --ember: #E8B25C;
  --blood: #C4525E;
  --paper: #E7DFCB;

  --f-cn: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --f-lat: 'Cinzel', 'Times New Roman', serif;
  --f-latb: 'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-cn);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(206, 157, 87, .38); color: #fff; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 99;
  background: var(--ember); color: #1A1408; padding: 10px 18px;
  font-size: .9rem; letter-spacing: .1em; text-decoration: none;
}
.skip:focus { left: 12px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* ============ 导航 ============ */

.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 12, 13, .84);
  -webkit-backdrop-filter: blur(14px) saturate(.85);
  backdrop-filter: blur(14px) saturate(.85);
  border-bottom-color: rgba(206, 157, 87, .16);
}
.nav-inner {
  max-width: 1240px; margin-inline: auto;
  height: 72px; padding-inline: clamp(18px, 4vw, 42px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 13px;
  color: var(--paper); text-decoration: none;
}
.crest { width: 31px; height: 31px; color: var(--bronze-bright); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: .34em; }
.brand-lat {
  font-family: var(--f-lat); font-size: .58rem; font-weight: 600;
  letter-spacing: .4em; color: #8E8163;
}
.nav-links { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 18px); }
.nav-links a {
  color: rgba(231, 223, 203, .78); text-decoration: none;
  font-size: .93rem; letter-spacing: .18em; padding: .45em .8em;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--ember); }
.nav-links .nav-cta {
  border: 1px solid rgba(206, 157, 87, .55); color: var(--bronze-bright);
  padding: .5em 1.35em; transition: background .25s ease, color .25s ease;
}
.nav-links .nav-cta:hover { background: var(--bronze-bright); color: #17110A; }
.menu-btn {
  display: none; background: none; cursor: pointer;
  border: 1px solid rgba(206, 157, 87, .55); color: var(--bronze-bright);
  font: inherit; font-size: .88rem; letter-spacing: .3em; text-indent: .3em;
  padding: .5em 1em .5em 1.3em;
}

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 49;
  background: #090B0C;
  border-bottom: 1px solid rgba(206, 157, 87, .2);
  padding: 10px 0 22px;
  display: flex; flex-direction: column;
}
.mobile-menu a {
  color: rgba(231, 223, 203, .85); text-decoration: none;
  font-size: 1rem; letter-spacing: .3em; text-indent: .3em;
  padding: 13px clamp(24px, 8vw, 60px);
}
.mobile-menu a:hover { color: var(--ember); }

/* ============ 主题:夜 / 厅堂 ============ */

.sec {
  position: relative;
  padding: clamp(88px, 12vw, 152px) 0;
  --_bg: var(--ink);
  --_fg: var(--paper);
  --_mut: #A2967B;
  --_ln: rgba(206, 157, 87, .22);
  --_sur: #12161A;
  --_sur2: #171C21;
  --_accent: var(--bronze-bright);
  --_accent-deep: var(--bronze);
  background: var(--_bg);
  color: var(--_fg);
}
.sec--light {
  --_bg: #EAE1CC;
  --_fg: #251F15;
  --_mut: #6E6450;
  --_ln: rgba(122, 92, 50, .32);
  --_sur: #F3EBD9;
  --_sur2: #E2D7BE;
  --_accent: #8A6A38;
  --_accent-deep: #6F5326;
}
.sec--light::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: .055; mix-blend-mode: multiply;
}

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid var(--_ln);
  padding-bottom: 20px; margin-bottom: clamp(38px, 6vw, 66px);
}
.sec-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  font-weight: 900; letter-spacing: .14em; line-height: 1.2;
}
.sec-sub {
  font-family: var(--f-latb); font-style: italic;
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  color: var(--_accent-deep); letter-spacing: .05em; white-space: nowrap;
}
.sec-lead {
  max-width: 40em; color: var(--_mut);
  line-height: 2.15; margin-bottom: clamp(44px, 6.5vw, 78px);
  font-size: 1.02rem;
}
.sec-lead + .sec-lead { margin-top: -1.2em; }

/* ============ 首屏 ============ */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--ink);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 30%;
}
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 10, 11, .96) 4%, rgba(8, 10, 11, .55) 34%, rgba(8, 10, 11, .08) 62%, rgba(8, 10, 11, .38) 100%),
    linear-gradient(100deg, rgba(8, 10, 11, .72) 0%, rgba(8, 10, 11, .18) 46%, rgba(8, 10, 11, 0) 70%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-body { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(120px, 17vh, 190px); }
.hero-title {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  font-weight: 900; line-height: 1.18; letter-spacing: .1em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}
.hero-motto {
  display: flex; align-items: center; gap: 16px;
  margin-top: clamp(18px, 3vh, 30px);
  color: var(--bronze-bright);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  letter-spacing: .3em; font-weight: 500;
}
.hero-motto::before { content: ""; width: 44px; height: 1px; background: var(--bronze); }
.hero-sub {
  margin-top: 20px; max-width: 36em;
  color: rgba(216, 206, 182, .88);
  line-height: 2.15; font-size: clamp(.98rem, 1.35vw, 1.12rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.hero-cta { margin-top: clamp(28px, 4.5vh, 44px); display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }

.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font: inherit; font-size: .95rem; font-weight: 500;
  color: #F2E8D0; background: linear-gradient(160deg, rgba(165, 121, 63, .28), rgba(165, 121, 63, .1));
  border: 1px solid var(--bronze-bright);
  padding: .95em 2.1em; letter-spacing: .28em; text-indent: .28em;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--bronze-bright); color: #17110A; }

.quiet-link {
  color: rgba(216, 206, 182, .72); text-decoration: none;
  font-size: .95rem; letter-spacing: .14em;
  border-bottom: 1px solid rgba(206, 157, 87, .45);
  padding-bottom: 4px; transition: color .25s ease, border-color .25s ease;
}
.quiet-link:hover { color: var(--ember); border-color: var(--ember); }

.hero-vert {
  position: absolute; z-index: 2;
  right: clamp(20px, 5vw, 72px); top: 50%; transform: translateY(-58%);
  writing-mode: vertical-rl; letter-spacing: .62em;
  color: rgba(231, 223, 203, .5); font-size: .95rem; font-weight: 500;
}
.hero-vert::after {
  content: ""; display: block; width: 1px; height: 72px;
  background: linear-gradient(rgba(206, 157, 87, .7), transparent);
  margin: 22px auto 0;
}
.hero-scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(231, 223, 203, .55); font-size: .74rem; letter-spacing: .4em; text-indent: .4em;
}
.hero-scroll i {
  width: 1px; height: 44px; position: relative; overflow: hidden;
  background: rgba(206, 157, 87, .25); display: block;
}
.hero-scroll i::after {
  content: ""; position: absolute; left: 0; top: -14px; width: 1px; height: 14px;
  background: var(--ember); animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0% { top: -14px; } 70%, 100% { top: 44px; } }

/* 首屏入场:唯一一次编排动画 */
.hero-title, .hero-motto, .hero-sub, .hero-cta, .hero-vert, .hero-scroll {
  opacity: 0; transform: translateY(20px);
  animation: rise 1s cubic-bezier(.22, .8, .3, 1) forwards;
}
.hero-motto { animation-delay: .5s; }
.hero-sub { animation-delay: .68s; }
.hero-cta { animation-delay: .86s; }
.hero-vert { animation-delay: 1.05s; }
.hero-scroll { animation-delay: 1.5s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============ 学院概况 ============ */

.about-grid {
  display: grid; grid-template-columns: 1.22fr .88fr;
  gap: clamp(44px, 7vw, 100px); align-items: start;
}
.about-lead .lead {
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  font-weight: 500; line-height: 2; margin-bottom: 1.1em; color: var(--_fg);
}
.about-lead p:not(.lead) { color: var(--_mut); line-height: 2.15; margin-bottom: 1em; text-align: justify; }
.about-lead strong { color: var(--_accent-deep); font-weight: 700; }
.dept-strip {
  margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--_ln);
  color: var(--_mut); font-size: .92rem; line-height: 2.1;
}
.dept-strip p + p { margin-top: 8px; }
.dept-strip b { color: var(--_accent-deep); font-weight: 700; letter-spacing: .2em; margin-right: .8em; }

.about-quote { margin-top: 30px; padding: 4px 0 4px 24px; border-left: 2px solid var(--_accent); }
.about-quote p { font-size: 1.04rem; line-height: 2.15; color: var(--_fg); }
.about-quote cite {
  display: block; margin-top: 10px; font-style: normal;
  font-size: .85rem; letter-spacing: .16em; color: var(--_mut);
}

.rule-memo { margin-top: 36px; border: 1px solid var(--_ln); background: var(--_sur); padding: 24px 28px; }
.rule-memo h3 {
  font-size: .85rem; font-weight: 700; letter-spacing: .34em;
  color: var(--_accent-deep); margin-bottom: 12px;
}
.rule-memo ul { list-style: none; }
.rule-memo li {
  position: relative; padding-left: 1.4em;
  color: var(--_mut); font-size: .93rem; line-height: 2.05;
}
.rule-memo li::before { content: "§"; position: absolute; left: 0; color: var(--_accent-deep); }

.dossier-table { border-top: 2px solid var(--_ln); }
.dossier-table > div {
  display: grid; grid-template-columns: 104px 1fr; gap: 18px;
  padding: 15px 2px; border-bottom: 1px solid var(--_ln); align-items: baseline;
}
.dossier-table dt { font-size: .8rem; letter-spacing: .3em; color: var(--_mut); }
.dossier-table dd { font-size: .98rem; letter-spacing: .04em; }
.redacted {
  color: var(--_mut); background: var(--_sur2);
  padding: 2px 12px; letter-spacing: .35em;
}

/* ============ 校园横幅 ============ */

.band { position: relative; margin: 0; background: var(--ink); }
.band img { width: 100%; height: clamp(340px, 52vw, 620px); object-fit: cover; }
.band figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 56px clamp(20px, 5vw, 48px) 22px;
  background: linear-gradient(transparent, rgba(8, 10, 11, .82));
  color: #C9BC9C; font-size: .92rem; letter-spacing: .1em;
}

/* ============ 血统评估 ============ */

.ladder { list-style: none; max-width: 920px; display: grid; gap: 16px; }
.ladder li {
  display: grid; grid-template-columns: 84px 1fr; gap: 22px; align-items: center;
  background: var(--_sur); border: 1px solid var(--_ln);
  border-left: 3px solid var(--lv, var(--bronze));
  padding: 24px 30px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease, background .3s ease;
}
.ladder.in li { opacity: 1; transform: none; }
.ladder.in li:nth-child(2) { transition-delay: .12s; }
.ladder.in li:nth-child(3) { transition-delay: .24s; }
.ladder.in li:nth-child(4) { transition-delay: .36s; }
.lv-mark {
  font-family: var(--f-lat); font-weight: 700; font-size: 2.15rem;
  color: var(--lv, var(--bronze-bright)); text-align: center; line-height: 1;
}
.lv-c { --lv: #77694F; } .lv-b { --lv: #9A7B48; } .lv-a { --lv: #C39652; }
.lv-s {
  --lv: var(--blood);
  background: linear-gradient(90deg, rgba(143, 44, 53, .12), var(--_sur) 55%);
  border-color: rgba(196, 82, 94, .4); border-left-color: var(--blood);
}
.ladder h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 4px; }
.ladder p { color: var(--_mut); font-size: .95rem; line-height: 1.95; }

/* ============ 言灵学 · 文件夹 ============ */

.folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.folder {
  position: relative; margin-top: 16px;
  background: var(--_sur); border: 1px solid var(--_ln);
  padding: 34px 26px 26px;
  transform: rotate(var(--r, 0deg));
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.folder.f1 { --r: -.7deg; } .folder.f2 { --r: .5deg; }
.folder.f3 { --r: -.45deg; } .folder.f4 { --r: .7deg; }
.folder:hover {
  transform: rotate(0deg) translateY(-7px);
  box-shadow: 0 30px 46px -26px rgba(10, 8, 4, .55);
  border-color: rgba(165, 121, 63, .55);
}
.folder-tab {
  position: absolute; top: -15px; left: 18px;
  background: var(--_sur2); border: 1px solid var(--_ln);
  color: var(--_accent-deep);
  font-size: .72rem; letter-spacing: .22em; padding: 3px 12px;
  white-space: nowrap;
}
.folder h3 { font-size: 1.62rem; font-weight: 900; letter-spacing: .2em; margin-bottom: 2px; }
.folder-lat {
  font-family: var(--f-lat); font-size: .64rem; font-weight: 600;
  letter-spacing: .34em; color: var(--_accent-deep); margin-bottom: 16px;
}
.folder-desc { font-size: .93rem; line-height: 2; color: var(--_fg); opacity: .88; text-align: justify; }
.folder-meta {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--_ln);
  color: var(--_mut); font-size: .8rem; letter-spacing: .12em; line-height: 1.8;
}

.stamp {
  display: inline-block; border: 2px solid currentColor;
  padding: .3em .55em; font-weight: 900; font-size: .92rem;
  letter-spacing: .3em; text-indent: .3em;
  transform: rotate(-7deg); opacity: .95;
  color: var(--blood); text-align: center; line-height: 1.5;
}
.stamp span {
  display: block; font-family: var(--f-lat); font-weight: 600;
  font-size: .52rem; letter-spacing: .3em; text-indent: .3em;
  border-top: 1px solid currentColor; margin-top: 4px; padding-top: 3px;
}
.stamp-corner { position: absolute; top: 18px; right: 16px; transform: rotate(7deg); }
.folder .stamp { position: absolute; right: 20px; bottom: 74px; font-size: .8rem; }

/* ============ 龙类研究 ============ */

.dragon {
  display: grid; grid-template-columns: 1.04fr .96fr;
  background: #0E1214; border: 1px solid rgba(206, 157, 87, .2);
  margin-bottom: 54px;
}
.dragon:last-child { margin-bottom: 0; }
.dragon-alt { grid-template-columns: .96fr 1.04fr; }
.dragon-alt .dragon-fig { order: 2; }
.dragon-fig { position: relative; min-height: 460px; }
.dragon-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dragon-fig::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(11, 13, 14, .42), transparent 42%);
  pointer-events: none;
}
.dragon-alt .dragon-fig::after { background: linear-gradient(245deg, rgba(11, 13, 14, .42), transparent 42%); }
.dragon-body { padding: clamp(32px, 4.6vw, 66px); }
.dragon-no {
  font-family: var(--f-latb); font-size: .78rem;
  letter-spacing: .3em; color: #8E8163; margin-bottom: 14px;
}
.dragon-body h3 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); font-weight: 900; letter-spacing: .12em; line-height: 1.5; }
.dragon-lat {
  font-family: var(--f-lat); font-size: .68rem; font-weight: 600;
  letter-spacing: .34em; color: #8E8163; margin: 8px 0 22px;
}
.dragon-body > p { color: rgba(231, 223, 203, .8); line-height: 2.1; font-size: .98rem; text-align: justify; }
.dragon-body blockquote {
  margin: 1.5em 0; padding-left: 1.3em;
  border-left: 2px solid var(--blood);
  color: #E7D9B8; font-size: 1.14rem; font-weight: 500; line-height: 2;
}
.dragon-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(206, 157, 87, .22); border: 1px solid rgba(206, 157, 87, .22);
  margin-top: 2em;
}
.dragon-facts > div { background: #101519; padding: 15px 18px; }
.dragon-facts dt { font-size: .72rem; letter-spacing: .32em; color: #8E8163; margin-bottom: 7px; }
.dragon-facts dd { font-size: .95rem; letter-spacing: .05em; }
.dd-blood { color: #D06A74; font-weight: 700; }
.dragon-lock { margin-top: 1.5em; font-size: .84rem; color: #77705C; letter-spacing: .1em; }

/* ============ 组织 ============ */

.org-list { list-style: none; border-top: 1px solid var(--_ln); }
.org-list li {
  display: grid; grid-template-columns: 300px 1fr; gap: 30px;
  padding: 28px 10px; border-bottom: 1px solid var(--_ln);
  transition: background .3s ease;
}
.org-list li:hover { background: rgba(243, 235, 217, .55); }
.sec:not(.sec--light) .org-list li:hover { background: rgba(18, 22, 26, .8); }
.org-name h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: .2em; }
.org-name span {
  display: block; font-family: var(--f-lat); font-size: .6rem; font-weight: 600;
  letter-spacing: .32em; color: var(--_accent-deep); margin-top: 7px;
}
.org-list p { color: var(--_mut); line-height: 2.1; font-size: .97rem; align-self: center; }

/* ============ 招生 · 通知书 ============ */

.adm-grid {
  display: grid; grid-template-columns: .88fr 1.12fr;
  gap: clamp(44px, 6vw, 92px); align-items: start;
}
.adm-copy .lead {
  font-size: clamp(1.2rem, 2vw, 1.42rem); font-weight: 500;
  line-height: 2; margin-bottom: 1em;
}
.adm-copy p:not(.lead) { color: var(--_mut); line-height: 2.1; margin-bottom: 1em; }
.adm-form { margin-top: 36px; }
.adm-label { display: block; font-size: .82rem; letter-spacing: .34em; color: var(--_accent-deep); margin-bottom: 10px; }
.adm-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: stretch; }
.adm-input {
  flex: 1 1 200px; min-width: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--_ln);
  font: inherit; font-size: 1.18rem; letter-spacing: .12em;
  color: var(--_fg); padding: 10px 4px;
  transition: border-color .3s ease;
}
.adm-input::placeholder { color: var(--_mut); opacity: .7; }
.adm-input:focus { outline: none; border-bottom-color: var(--ember); }
.adm-input.shake { animation: shake .4s ease; border-bottom-color: var(--blood); }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.adm-row .btn { padding-block: .8em; }
.adm-hint { min-height: 1.6em; margin-top: 12px; font-size: .9rem; color: var(--_accent-deep); letter-spacing: .06em; }

.letter-stage { position: relative; }
.letter-blank {
  min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 20px;
  border: 1px dashed var(--_ln); color: var(--_mut);
  font-size: .95rem; letter-spacing: .26em; text-indent: .26em;
}
.crest-big { width: 58px; height: 58px; color: var(--bronze); opacity: .75; }

.letter {
  position: relative;
  background: #F6F0DE; color: #262012;
  padding: clamp(30px, 4vw, 54px) clamp(24px, 4vw, 56px) clamp(26px, 3vw, 40px);
  border: 1px solid #C9B78C;
  box-shadow:
    inset 0 0 0 1px #C9B78C, inset 0 0 0 6px #F6F0DE, inset 0 0 0 7px #CDBD97,
    0 34px 70px -34px rgba(0, 0, 0, .55);
  animation: letterIn .8s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes letterIn { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.letter-no {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--f-latb); font-size: .7rem;
  letter-spacing: .26em; color: #8A6A38;
}
.letter-head { text-align: center; padding-bottom: 20px; border-bottom: 1px solid #C9B78C; }
.letter-head h3 { font-size: 1.32rem; font-weight: 900; letter-spacing: .4em; text-indent: .4em; }
.letter-lat {
  font-family: var(--f-lat); font-size: .62rem; font-weight: 600;
  letter-spacing: .32em; color: #8A6A38; margin-top: 9px;
}
.letter-body {
  min-height: 240px; padding-top: 26px;
  font-size: 1.02rem; line-height: 2.2; letter-spacing: .05em;
  white-space: pre-wrap;
}
.letter-caret { display: inline-block; width: .55em; border-bottom: 2px solid #6F5326; animation: blink 1s steps(1) infinite; transform: translateY(-2px); }
@keyframes blink { 50% { opacity: 0; } }
.letter-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 18px; padding-top: 20px; border-top: 1px solid #C9B78C;
}
.letter-sign p:first-child { font-size: .84rem; letter-spacing: .3em; color: #6E6450; }
.letter-sign-name { font-size: 1.42rem; font-weight: 900; letter-spacing: .3em; margin-top: 2px; }
.seal-stamp {
  width: 98px; height: 98px; flex: none;
  color: #8E2C35; opacity: .9; mix-blend-mode: multiply;
  transform: rotate(-9deg);
}
.re-link {
  display: block; margin: 16px 0 0 auto; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .9rem; letter-spacing: .08em;
  color: var(--_accent-deep); text-decoration: underline; text-underline-offset: 5px;
}
.re-link:hover { color: var(--ember); }

/* ============ 页脚 ============ */

.foot {
  background: #080A0B; border-top: 1px solid rgba(206, 157, 87, .14);
  padding: 76px 0 58px; text-align: center;
}
.foot-motto { font-size: 1.18rem; color: #C9BC9C; letter-spacing: .26em; margin-bottom: 24px; }
.foot-line { font-size: .9rem; color: #6E6552; letter-spacing: .14em; margin-bottom: 10px; }
.foot-disclaimer { font-size: .78rem; color: #57503F; letter-spacing: .06em; }

/* ============ 响应式 ============ */

@media (max-width: 1100px) {
  .folders { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .about-grid, .adm-grid { grid-template-columns: 1fr; }
  .dragon, .dragon-alt { grid-template-columns: 1fr; }
  .dragon-alt .dragon-fig { order: 0; }
  .dragon-fig { min-height: 320px; }
  .hero-vert { display: none; }
}
@media (max-width: 640px) {
  .folders { grid-template-columns: 1fr; }
  .folder { margin-top: 18px; }
  .ladder li { grid-template-columns: 58px 1fr; padding: 20px 20px; }
  .lv-mark { font-size: 1.7rem; }
  .dragon-facts { grid-template-columns: 1fr; }
  .org-list li { grid-template-columns: 1fr; gap: 10px; padding: 24px 4px; }
  .hero-body { padding-bottom: 140px; }
  .seal-stamp { width: 76px; height: 76px; }
  .sec-head { flex-direction: column; gap: 6px; }
}

/* ============ 触屏:取消悬停残留 ============ */

@media (hover: none) {
  .folder:hover { transform: rotate(var(--r, 0deg)); box-shadow: none; }
  .org-list li:hover { background: transparent; }
}

/* ============ 小屏手机细化 ============ */

@media (max-width: 480px) {
  html { scroll-padding-top: 74px; }
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .brand-name { font-size: .95rem; letter-spacing: .26em; }
  .brand-lat { letter-spacing: .3em; }
  .menu-btn { padding: .45em .8em .45em 1.05em; font-size: .82rem; }

  .sec { padding: 66px 0; }
  .sec-head { padding-bottom: 14px; margin-bottom: 32px; }
  .sec-lead { font-size: .95rem; line-height: 2.05; margin-bottom: 34px; }

  .hero-body { padding-bottom: 104px; }
  .hero-title { font-size: clamp(2.05rem, 10.5vw, 2.6rem); }
  .hero-motto { letter-spacing: .2em; font-size: .9rem; }
  .hero-motto::before { width: 30px; }
  .hero-sub { font-size: .94rem; line-height: 2; }
  .hero-cta { gap: 20px; margin-top: 26px; }
  .btn { padding: .85em 1.5em; font-size: .88rem; letter-spacing: .2em; text-indent: .2em; }
  .quiet-link { font-size: .9rem; }
  .hero-scroll { bottom: 16px; }
  .hero-scroll span { letter-spacing: .3em; text-indent: .3em; }

  .band img { height: 300px; }
  .band figcaption { font-size: .8rem; line-height: 1.9; padding-bottom: 16px; }

  .about-grid { gap: 40px; }
  .about-lead .lead { font-size: 1.1rem; }
  .about-lead p:not(.lead) { font-size: .93rem; }
  .about-quote p { font-size: .96rem; }
  .about-quote cite { font-size: .78rem; }
  .dossier-table > div { grid-template-columns: 86px 1fr; gap: 12px; padding: 12px 2px; }
  .dossier-table dd { font-size: .9rem; }
  .rule-memo { padding: 18px 18px; margin-top: 26px; }
  .rule-memo li { font-size: .88rem; }
  .dept-strip { font-size: .87rem; }

  .folder { padding: 28px 20px 22px; }
  .folder h3 { font-size: 1.42rem; }
  .folder-desc { font-size: .9rem; }
  .folder-tab { font-size: .68rem; letter-spacing: .16em; }
  .folder .stamp { right: 16px; bottom: 66px; font-size: .74rem; }

  .dragon-fig { min-height: 250px; }
  .dragon-body { padding: 28px 20px; }
  .dragon-body > p { font-size: .92rem; }
  .dragon-body blockquote { font-size: 1.02rem; }
  .dragon-facts > div { padding: 12px 14px; }
  .dragon-facts dd { font-size: .9rem; }
  .dragon-lock { font-size: .78rem; }
  .stamp-corner { top: 10px; right: 10px; font-size: .78rem; }

  .org-list li { padding: 22px 2px; gap: 8px; }
  .org-list p { font-size: .9rem; }
  .org-name h3 { font-size: 1.15rem; }

  .ladder li { padding: 18px 16px; gap: 14px; }
  .ladder h3 { letter-spacing: .12em; font-size: 1rem; }
  .ladder p { font-size: .89rem; }
  .lv-mark { font-size: 1.6rem; }

  .adm-form { margin-top: 26px; }
  .adm-row .btn { width: 100%; }
  .letter-blank { min-height: 320px; }
  .letter { padding: 24px 18px 20px; }
  .letter-no { top: 12px; right: 14px; font-size: .62rem; }
  .letter-head h3 { font-size: 1.06rem; letter-spacing: .24em; text-indent: .24em; }
  .letter-lat { font-size: .56rem; }
  .letter-body { font-size: .94rem; line-height: 2.1; min-height: 200px; padding-top: 20px; }
  .letter-foot { margin-top: 14px; padding-top: 16px; }
  .letter-sign-name { font-size: 1.25rem; }
  .seal-stamp { width: 62px; height: 62px; }
  .re-link { font-size: .85rem; }

  .foot { padding: 56px 0 44px; }
  .foot-motto { font-size: 1rem; letter-spacing: .14em; line-height: 2; }
  .foot-line { font-size: .8rem; }
  .foot-disclaimer { font-size: .72rem; }
}

/* ============ 动效降级 ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .embers { display: none; }
  .hero-title, .hero-motto, .hero-sub, .hero-cta, .hero-vert, .hero-scroll { opacity: 1; transform: none; }
  .ladder li { opacity: 1; transform: none; }
}


/* ===== §v15 守夜人论坛互联 ===== */
.nav-forum {
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--accent, #b98a2e);
  text-decoration: none;
  border-bottom: 1px solid rgba(185, 138, 46, .35);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.nav-forum:hover {
  color: var(--gold-hi, #ffd97a);
  border-color: var(--gold-hi, #ffd97a);
}

.forum-guide {
  margin-top: 18px;
  text-align: center;
}
.forum-guide__hint {
  margin: 0 0 10px;
  font-size: .8rem;
  letter-spacing: .12em;
  color: rgba(214, 196, 158, .72);
}
.forum-guide__btn {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 30px;
  border: 1px solid rgba(185, 138, 46, .6);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(185, 138, 46, .14), rgba(185, 138, 46, .05));
  color: var(--accent, #b98a2e);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .18em;
  transition: color .2s, border-color .2s, background .2s;
}
.forum-guide__btn:hover {
  color: var(--gold-hi, #ffd97a);
  border-color: var(--gold-hi, #ffd97a);
  background: linear-gradient(180deg, rgba(185, 138, 46, .22), rgba(185, 138, 46, .08));
}
.forum-guide__sub {
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(214, 196, 158, .55);
}
