/* ============ 邓果行的网站 · 邓府美学 ============ */
:root {
  --paper: #f1e8d7;
  --paper-2: #e9ddc6;
  --card: #f7efdf;
  --ink: #1c1a14;
  --ink-2: #2e2b22;
  --muted: #6f6757;
  --red: #b5362a;
  --red-deep: #8c2b22;
  --jade: #2f5b50;
  --jade-deep: #24463d;
  --gold: #c39b56;
  --line: rgba(28, 26, 20, 0.16);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shell: 1240px;
  --radius: 10px;
  --shadow: 0 18px 40px -18px rgba(28, 26, 20, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(181, 54, 42, 0.10), transparent 60%),
    radial-gradient(900px 520px at -10% 25%, rgba(47, 91, 80, 0.10), transparent 55%),
    var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 99;
}
.skip-link:focus { left: 12px; top: 12px; }

.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell { width: min(var(--shell), 92vw); margin-inline: auto; }

/* ============ 页头 ============ */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 232, 215, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-head.scrolled { box-shadow: 0 10px 30px -18px rgba(28, 26, 20, 0.4); }

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-seal {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--red); color: var(--paper);
  font-family: var(--serif); font-weight: 700; font-size: 24px;
  border-radius: 8px; transform: rotate(-4deg);
  box-shadow: inset 0 0 0 2px rgba(241, 232, 215, 0.55), 0 4px 10px -4px rgba(140, 43, 34, 0.7);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 17px; letter-spacing: 0.06em; }
.brand-copy small { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; color: var(--muted); }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  text-decoration: none; font-size: 14px; letter-spacing: 0.12em;
  color: var(--ink-2); position: relative; padding-block: 4px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.admin-entry {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.14em; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px; padding: 7px 16px;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.admin-entry:hover { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.admin-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); animation: pulse 2.4s infinite;
}

/* ============ 英雄区 ============ */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 8vw, 110px) clamp(40px, 6vw, 90px);
  position: relative; z-index: 1;
}

.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.28em; color: var(--muted);
}
.kicker-sep { width: 46px; height: 1px; background: var(--gold); }

.hero-title { margin: 0; font-family: var(--serif); font-weight: 700; }
.hero-name {
  display: block; font-size: clamp(4.2rem, 9.5vw, 8.4rem);
  line-height: 0.98; letter-spacing: 0.02em;
}
.hero-tagline {
  display: block; margin-top: 18px; font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  letter-spacing: 0.08em; color: var(--ink-2);
}
.hero-tagline em {
  font-style: normal; color: var(--red); position: relative; white-space: nowrap;
}
.hero-tagline em::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 0.06em; height: 0.14em;
  background: rgba(181, 54, 42, 0.28); border-radius: 2px; transform: skewX(-12deg);
}

.hero-lede { max-width: 46ch; color: var(--ink-2); font-size: 16.5px; margin: 26px 0 30px; }
.hero-lede strong { color: var(--red-deep); font-weight: 700; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 6px; padding: 13px 26px;
  font-size: 15px; letter-spacing: 0.1em; border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-solid { background: var(--red); color: var(--paper); box-shadow: 0 12px 24px -12px rgba(140, 43, 34, 0.8); }
.btn-solid:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.hero-status {
  display: flex; align-items: center; gap: 10px; margin-top: 34px;
  font-size: 13px; letter-spacing: 0.16em; color: var(--muted);
}
.hero-status strong {
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em; color: var(--jade);
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--jade);
  box-shadow: 0 0 0 0 rgba(47, 91, 80, 0.45); animation: pulse-jade 2.2s infinite;
}

/* ============ 海报 ============ */
.poster { position: relative; }
.poster-inner {
  position: relative; aspect-ratio: 5 / 6.2; border-radius: var(--radius);
  background:
    radial-gradient(60% 42% at 50% 18%, rgba(195, 155, 86, 0.16), transparent 70%),
    linear-gradient(160deg, #211e16 0%, #171510 60%, #1d1a13 100%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(241, 232, 215, 0.12);
  overflow: hidden; color: var(--paper);
}
.poster-inner::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(241, 232, 215, 0.18);
  border-radius: 6px; pointer-events: none;
}
.poster-sun {
  position: absolute; top: 4%; left: 50%; transform: translateX(-50%);
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #c8482f 0%, #a2352a 55%, #8c2b22 100%);
  opacity: 0.9; box-shadow: 0 0 90px 10px rgba(200, 72, 47, 0.28);
}
.poster-sun::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  border: 1px dashed rgba(241, 232, 215, 0.35);
}
.poster-top {
  position: absolute; top: 30px; left: 34px; right: 34px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  color: rgba(241, 232, 215, 0.72);
}
.poster-vtext {
  position: absolute; top: 84px; right: 34px; writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.55em;
  color: rgba(241, 232, 215, 0.85);
  border-right: 1px solid rgba(195, 155, 86, 0.5); padding-right: 10px;
}
.poster-stamp {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%) rotate(-8deg);
  font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 8vw, 6.4rem);
  color: rgba(241, 232, 215, 0.14);
  border: 3px solid rgba(241, 232, 215, 0.14); border-radius: 12px;
  padding: 4px 22px; line-height: 1.2;
}
.poster-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.poster-lines path {
  fill: none; stroke: rgba(241, 232, 215, 0.4); stroke-width: 1.2;
  stroke-dasharray: 4 7; stroke-linecap: round;
}
.poster-lines path.soft { stroke: rgba(195, 155, 86, 0.45); }

.person {
  position: absolute; transform: translate(-50%, -50%);
  background: var(--card); color: var(--ink); text-align: center;
  border-radius: 8px; padding: 10px 18px 12px; min-width: 132px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(28, 26, 20, 0.14);
}
.person small {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.24em; color: var(--muted); margin-bottom: 4px;
}
.person strong { font-family: var(--serif); font-size: 21px; letter-spacing: 0.08em; }
.person-father { top: 43.5%; left: 50%; }
.person-father strong { font-size: 26px; color: var(--red-deep); }
.person-badge {
  display: inline-block; margin-top: 7px; background: var(--red); color: var(--paper);
  font-size: 11px; letter-spacing: 0.18em; border-radius: 3px; padding: 2px 10px;
}
.son-a { top: 76%; left: 25%; }
.son-b { top: 76%; left: 75%; }
.person-son strong { color: var(--jade-deep); }

.poster-bottom {
  position: absolute; bottom: 30px; left: 34px; right: 34px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.26em;
  color: rgba(241, 232, 215, 0.7);
}
.poster-bottom-rule { flex: 1; height: 1px; background: rgba(241, 232, 215, 0.28); }

/* ============ 跑马灯 ============ */
.marquee {
  background: var(--ink); color: var(--paper);
  border-block: 1px solid rgba(241, 232, 215, 0.15);
  overflow: hidden; position: relative; z-index: 1;
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; white-space: nowrap;
  padding-block: 13px; width: max-content;
  animation: marquee 34s linear infinite;
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.3em;
}
.marquee-track i { font-style: normal; color: var(--gold); font-size: 11px; }

/* ============ 通用小节 ============ */
.section { padding-block: clamp(56px, 9vw, 110px); position: relative; z-index: 1; }
.section-head { margin-bottom: clamp(30px, 5vw, 52px); max-width: 720px; }
.section-index {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  color: var(--red); margin: 0 0 12px;
}
.section-head h2 {
  margin: 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: 0.02em; line-height: 1.25;
}
.section-lead { color: var(--muted); margin: 12px 0 0; font-size: 15.5px; }

/* ============ 家庭卡 ============ */
.family-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 18px; align-items: stretch; }

.father-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(165deg, #24211a 0%, #191712 100%);
  color: var(--paper); padding: 34px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 30px; min-height: 520px;
  box-shadow: var(--shadow);
}
.father-watermark {
  position: absolute; right: -0.12em; bottom: -0.22em;
  font-family: var(--serif); font-weight: 700; font-size: 21rem; line-height: 1;
  color: rgba(241, 232, 215, 0.05); pointer-events: none;
}
.father-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; }
.role-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em;
  border: 1px solid rgba(241, 232, 215, 0.35); border-radius: 999px; padding: 4px 12px;
  color: rgba(241, 232, 215, 0.85);
}
.father-seal {
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em; color: var(--paper);
  background: var(--red); border-radius: 6px; padding: 8px 10px; transform: rotate(6deg);
  box-shadow: inset 0 0 0 1px rgba(241, 232, 215, 0.4), 0 6px 14px -6px rgba(140, 43, 34, 0.8);
}
.father-main { position: relative; }
.father-main h3 {
  margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5.4vw, 4.2rem);
  letter-spacing: 0.08em; line-height: 1.1;
}
.father-alias { margin: 12px 0 16px; color: var(--gold); font-family: var(--serif); font-size: 18px; letter-spacing: 0.14em; }
.father-desc { margin: 0; color: rgba(241, 232, 215, 0.78); max-width: 34ch; font-size: 15px; }
.father-foot {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(241, 232, 215, 0.2); padding-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em;
  color: rgba(241, 232, 215, 0.65);
}
.father-foot strong { font-family: var(--serif); font-size: 17px; letter-spacing: 0.1em; color: var(--paper); }

.sons-col { display: grid; gap: 18px; grid-template-rows: 1fr 1fr; }

.son-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  padding: 30px 32px; display: flex; flex-direction: column; justify-content: center;
  min-height: 250px; box-shadow: 0 12px 28px -20px rgba(28, 26, 20, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.son-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.son-watermark {
  position: absolute; right: -0.08em; bottom: -0.3em;
  font-family: var(--serif); font-weight: 700; font-size: 12rem; line-height: 1;
  color: rgba(28, 26, 20, 0.06); pointer-events: none;
}
.son-card:nth-child(1) .son-watermark { color: rgba(181, 54, 42, 0.10); }
.son-card:nth-child(2) .son-watermark { color: rgba(47, 91, 80, 0.12); }
.son-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.son-card .role-tag { color: var(--muted); border-color: var(--line); }
.son-no { font-family: var(--serif); font-size: 26px; color: var(--gold); line-height: 1; }
.son-card h3 {
  margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  letter-spacing: 0.06em; position: relative;
}
.son-card p { margin: 0 0 16px; color: var(--ink-2); font-size: 14.5px; max-width: 40ch; position: relative; }
.son-tags { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.son-tags span {
  font-size: 12px; letter-spacing: 0.14em; color: var(--red-deep);
  background: rgba(181, 54, 42, 0.09); border: 1px solid rgba(181, 54, 42, 0.28);
  border-radius: 999px; padding: 3px 12px;
}
.son-card:nth-child(2) .son-tags span {
  color: var(--jade-deep); background: rgba(47, 91, 80, 0.09); border-color: rgba(47, 91, 80, 0.3);
}

/* ============ 回来了 ============ */
.homecoming-grid { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 18px; }

.homecoming-card {
  border-radius: var(--radius); padding: 34px; color: var(--paper);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(195, 155, 86, 0.18), transparent 55%),
    linear-gradient(150deg, var(--jade) 0%, var(--jade-deep) 100%);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 26px;
}
.homecoming-top {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  color: rgba(241, 232, 215, 0.8);
}
.homecoming-top time { margin-left: auto; letter-spacing: 0.12em; }
.homecoming-main { display: flex; align-items: center; gap: 28px; }
.round-stamp {
  flex: 0 0 auto; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 54px; font-weight: 700; color: var(--paper);
  background: radial-gradient(circle at 38% 32%, #c8482f, var(--red-deep));
  box-shadow: inset 0 0 0 2px rgba(241, 232, 215, 0.5), 0 14px 26px -12px rgba(0, 0, 0, 0.5);
  transform: rotate(-6deg);
}
.homecoming-main .label {
  margin: 0 0 6px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.3em; color: rgba(241, 232, 215, 0.66);
}
.homecoming-main h3 {
  margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: 0.05em; line-height: 1.25;
}
.homecoming-main p:last-child { margin: 0; color: rgba(241, 232, 215, 0.85); }
.announcement {
  display: flex; gap: 16px; align-items: baseline;
  border-top: 1px dashed rgba(241, 232, 215, 0.3); padding-top: 22px;
}
.announcement-tag {
  flex: 0 0 auto; background: var(--gold); color: var(--ink);
  font-size: 12px; letter-spacing: 0.2em; border-radius: 4px; padding: 3px 10px;
}
.announcement p { margin: 0; font-family: var(--serif); font-size: 17px; letter-spacing: 0.04em; }

.homecoming-quote {
  border-radius: var(--radius); padding: 34px; color: var(--paper);
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden;
}
.homecoming-quote::before {
  content: "邓"; position: absolute; right: -0.1em; top: -0.25em;
  font-family: var(--serif); font-size: 16rem; color: rgba(241, 232, 215, 0.08);
}
.homecoming-quote blockquote { margin: 0; position: relative; }
.homecoming-quote blockquote p {
  margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.5; letter-spacing: 0.08em;
}
.homecoming-quote blockquote footer {
  margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em;
  color: rgba(241, 232, 215, 0.75);
}
.quote-foot { display: flex; flex-direction: column; gap: 8px; position: relative; }
.quote-foot span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em; color: rgba(241, 232, 215, 0.7); }
.quote-admin {
  color: var(--paper); font-family: var(--serif); font-size: 17px;
  letter-spacing: 0.1em; text-decoration: none; border-bottom: 1px solid rgba(241, 232, 215, 0.5);
  align-self: flex-start; padding-bottom: 3px; transition: border-color 0.2s ease;
}
.quote-admin:hover { border-color: var(--paper); }

/* ============ 大肥鱼 ============ */
.fish-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center;
  background: linear-gradient(150deg, #2c544a 0%, #24463d 100%);
  border-radius: var(--radius); padding: 38px 42px; color: var(--paper);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.fish-card::before {
  content: "肥"; position: absolute; right: -0.08em; bottom: -0.3em;
  font-family: var(--serif); font-size: 16rem; color: rgba(241, 232, 215, 0.05);
  pointer-events: none;
}
.fish-avatar {
  background: rgba(241, 232, 215, 0.08); border-radius: 50%;
  display: grid; place-items: center; padding: 22px;
  border: 2px dashed rgba(241, 232, 215, 0.25);
}
.fish-avatar svg { width: 100%; height: auto; }
.fish-info { position: relative; }
.fish-label {
  margin: 0 0 6px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.3em; color: var(--gold);
}
.fish-info h3 {
  margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
}
.fish-desc { margin: 0 0 16px; color: rgba(241, 232, 215, 0.8); max-width: 48ch; }
.fish-status {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-size: 13.5px; letter-spacing: 0.14em; color: rgba(241, 232, 215, 0.7);
}
.fish-status .live-dot { background: var(--gold); box-shadow: 0 0 0 0 rgba(195, 155, 86, 0.4); }

@media (max-width: 720px) {
  .fish-card { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .fish-avatar { margin-inline: auto; max-width: 180px; }
  .fish-status { justify-content: center; }
}

/* ============ 留言板 ============ */
.notes-grid { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 26px; align-items: start; }

.guest-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 20px; box-shadow: 0 12px 28px -20px rgba(28, 26, 20, 0.45);
  position: sticky; top: 92px;
}
.field label {
  display: block; font-size: 13px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 8px;
}
.field label small { letter-spacing: 0.1em; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--line);
  border-radius: 0; padding: 9px 2px; outline: none; transition: border-color 0.2s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--red); }
.char-count { margin: 6px 0 0; text-align: right; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.btn-submit { justify-self: start; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.board-wrap { display: grid; gap: 16px; }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.board-empty {
  grid-column: 1 / -1; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 46px 20px;
  font-family: var(--serif); letter-spacing: 0.1em; margin: 0;
}
.note {
  background: #fbf5e8; border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 20px; box-shadow: 0 10px 20px -16px rgba(28, 26, 20, 0.5);
  position: relative;
}
.board .note:nth-child(odd) { transform: rotate(-0.4deg); }
.board .note:nth-child(even) { transform: rotate(0.35deg); }
.note.pinned { border-color: rgba(181, 54, 42, 0.45); background: #fdf3e4; }
.note-pin {
  position: absolute; top: -9px; right: 14px; background: var(--red); color: var(--paper);
  font-size: 10.5px; letter-spacing: 0.2em; border-radius: 3px; padding: 2px 8px;
}
.note-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.note-author { font-family: var(--serif); font-size: 15.5px; font-weight: 700; letter-spacing: 0.05em; }
.note-time { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }
.note-text { margin: 0; font-size: 14px; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.note-new { animation: note-in 0.5s ease both; }

.board-stats {
  margin: 4px 0 0; text-align: right; font-size: 13px; color: var(--muted); letter-spacing: 0.08em;
}
.board-stats strong { color: var(--red-deep); font-family: var(--serif); font-size: 16px; }

/* ============ 页脚 ============ */
.site-foot {
  background: var(--ink); color: var(--paper); position: relative; z-index: 1;
  padding-block: 44px 34px; margin-top: clamp(30px, 6vw, 70px);
}
.foot-inner { display: grid; gap: 22px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand p { margin: 2px 0 0; font-size: 13px; color: rgba(241, 232, 215, 0.65); letter-spacing: 0.12em; }
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-nav a {
  color: rgba(241, 232, 215, 0.8); text-decoration: none;
  font-size: 13.5px; letter-spacing: 0.16em;
}
.foot-nav a:hover { color: var(--paper); }
.foot-note { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: rgba(241, 232, 215, 0.45); }

/* ============ 提示条 ============ */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); border-radius: 8px;
  padding: 12px 22px; font-size: 14px; letter-spacing: 0.08em;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; z-index: 80;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 86vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--red-deep); }

/* ============ 动效 ============ */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 54, 42, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(181, 54, 42, 0); }
}
@keyframes pulse-jade {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 91, 80, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(47, 91, 80, 0); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes note-in {
  from { opacity: 0; transform: translateY(10px) rotate(0deg); }
  to { opacity: 1; }
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-copy .kicker, .hero-copy .hero-title, .hero-copy .hero-lede,
.hero-copy .hero-actions, .hero-copy .hero-status {
  opacity: 0; transform: translateY(18px); animation: rise 0.8s ease forwards;
}
.hero-copy .hero-title { animation-delay: 0.12s; }
.hero-copy .hero-lede { animation-delay: 0.24s; }
.hero-copy .hero-actions { animation-delay: 0.36s; }
.hero-copy .hero-status { animation-delay: 0.48s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; }
  .poster-inner { max-width: 520px; margin-inline: auto; }
  .family-grid, .homecoming-grid, .notes-grid { grid-template-columns: 1fr; }
  .father-card { min-height: 420px; }
  .guest-form { position: static; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .board { grid-template-columns: 1fr; }
  .homecoming-main { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-name { font-size: clamp(3.4rem, 15vw, 5rem); }
  .father-watermark { font-size: 14rem; }
}
