/* ==========================================================================
   81192.cn — 海空卫士 王伟 纪念网页
   素白 / 暗红 / 宋体 / 留白
   ========================================================================== */

:root {
  --paper: #f6f3ee;
  --paper-2: #fffdfa;
  --ink: #232019;
  --ink-soft: #423d36;
  --muted: #8b8177;
  --accent: #8c1c13;
  --accent-soft: #a8433a;
  --line: #e2dad0;
  --line-strong: #cfc5b8;
  --gold: #a98a55;
  --shadow: 0 18px 50px -28px rgba(60, 40, 30, .45);
  --serif: "Songti SC", "STSong", "SimSun", "宋体", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .75), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, .55), transparent 46%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: rgba(140, 28, 19, .14); }

.wrap { width: min(100% - 2.5rem, 940px); margin-inline: auto; }

section[id], footer[id] { scroll-margin-top: 4rem; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

/* ---------- 顶部标识 ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem max(1.25rem, calc((100vw - 1080px) / 2));
  background: rgba(246, 243, 238, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transform: translateY(-102%);
  transition: transform .5s var(--ease), border-color .4s;
}
.topbar.is-on { transform: translateY(0); border-bottom-color: var(--line); }
.topbar__brand {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  font-size: .82rem;
  letter-spacing: .22em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.topbar__brand b { color: var(--accent); font-weight: 700; letter-spacing: .12em; }
.topbar__nav { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.topbar__nav::-webkit-scrollbar { display: none; }
.topbar__nav a {
  padding: .28rem .6rem;
  font-size: .8rem;
  letter-spacing: .14em;
  color: var(--ink-soft);
  border-radius: 2px;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.topbar__nav a:hover,
.topbar__nav a.is-active { color: var(--accent); background: rgba(140, 28, 19, .06); text-decoration: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 980px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #17140f;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: -4%;
  /* 优先 WebP，不支持时回落到原 JPG */
  background-image: url("../images/81192.jpg");
  background-image: image-set(
    url("../images/81192.webp") type("image/webp"),
    url("../images/81192.jpg") type("image/jpeg")
  );
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.04) brightness(.92);
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(0, -1.2%, 0); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(23, 20, 15, .46) 0%, rgba(23, 20, 15, .80) 56%, rgba(23, 20, 15, .95) 100%),
    linear-gradient(180deg, rgba(23, 20, 15, .62) 0%, rgba(23, 20, 15, .40) 36%, rgba(23, 20, 15, .90) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7.5rem 1.25rem 6rem;
  color: #f3ece2;
  max-width: 46rem;
}
.hero__kicker {
  font-size: .76rem;
  letter-spacing: .52em;
  text-indent: .52em;
  color: rgba(243, 236, 226, .62);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.1rem, 6.4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: .16em;
  text-indent: .16em;
  line-height: 1.45;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .7), 0 0 46px rgba(0, 0, 0, .45);
}
.hero__title em {
  font-style: normal;
  color: #e8c9a6;
}
.hero__rule {
  width: 3.5rem;
  height: 1px;
  margin: 1.9rem auto 1.7rem;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
  position: relative;
}
.hero__rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--accent-soft);
  transform: rotate(45deg);
}
.hero__verse {
  font-size: clamp(.95rem, 2.3vw, 1.12rem);
  letter-spacing: .1em;
  line-height: 2.35;
  color: rgba(243, 236, 226, .9);
}
.hero__dates {
  margin-top: 1.9rem;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .3em;
  color: rgba(243, 236, 226, .55);
}
.hero__seal {
  position: absolute;
  right: max(1.5rem, calc((100vw - 1180px) / 2));
  top: 5.5rem;
  z-index: 3;
  writing-mode: vertical-rl;
  padding: .95rem .5rem;
  border: 1px solid rgba(200, 88, 76, .42);
  color: rgba(226, 148, 136, .9);
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .46em;
  opacity: .85;
}
@media (max-width: 900px) { .hero__seal { display: none; } }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.7rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: .68rem;
  letter-spacing: .34em;
  text-indent: .34em;
  color: rgba(243, 236, 226, .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(rgba(243, 236, 226, .55), transparent);
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: .25; transform: scaleY(.6); transform-origin: top; }
  50% { opacity: .85; transform: scaleY(1); transform-origin: top; }
}

/* ---------- 通用章节 ---------- */
.sec { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
/* 板块交替底色：A 近白、B 米黄，形成清晰的区块切分 */
.sec--a { --sec-bg: #fdfbf6; background-color: var(--sec-bg); }
.sec--b { --sec-bg: #ebe4d8; --line: #ddd3c3; --line-strong: #c4b7a2; background-color: var(--sec-bg); }
.sec--line { border-top: 1px solid var(--line); }

.sec__head { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.sec__no {
  display: inline-block;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .32em;
  color: var(--accent);
  margin-bottom: .9rem;
}
.sec__no::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: .7rem;
  opacity: .6;
}
.sec__title {
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.6;
}
.sec__sub {
  margin-top: .7rem;
  font-size: .92rem;
  color: var(--muted);
  letter-spacing: .06em;
}
.sec__head--center { text-align: center; }
.sec__head--center .sec__no::after {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-left: .7rem;
  opacity: .6;
}

.prose p { margin-bottom: 1.15rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose .hl { color: var(--accent); font-weight: 700; }

/* ---------- 云献花 ---------- */
.flowers {
  background-image: radial-gradient(ellipse at 50% 0%, rgba(140, 28, 19, .055), transparent 62%);
  overflow: hidden;
}
.flower-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0 .5rem;
}
.flower-stage::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 50%;
  width: min(82vw, 460px);
  height: min(82vw, 460px);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 28, 19, .06) 0%, rgba(140, 28, 19, .028) 46%, rgba(140, 28, 19, 0) 70%);
  pointer-events: none;
}
.flower-btn {
  position: relative;
  z-index: 1;
  width: clamp(168px, 20vw, 236px);
  height: clamp(168px, 20vw, 236px);
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  transition: transform .5s var(--ease), filter .4s;
  filter: drop-shadow(0 22px 28px rgba(90, 62, 40, .16));
  -webkit-tap-highlight-color: transparent;
}
.flower-btn:hover { transform: translateY(-4px) scale(1.035); filter: drop-shadow(0 28px 34px rgba(90, 62, 40, .22)); }
.flower-btn:active { transform: translateY(-1px) scale(.99); }
.flower-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.flower-btn img { width: 100%; height: 100%; }
.flower-btn::after {
  content: "";
  position: absolute;
  inset: -14%;
  border: 1px solid rgba(140, 28, 19, .16);
  border-radius: 50%;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .5s, transform .5s;
}
.flower-btn:hover::after { opacity: 1; transform: scale(1); }
.flower-btn.is-offered { cursor: default; }
.flower-btn.is-offered:hover { transform: none; }

.flower-cta {
  margin-top: 1.9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .72rem 1.9rem;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .24em;
  text-indent: .24em;
  color: var(--paper-2);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s, color .3s, letter-spacing .3s;
}
.flower-cta:hover { background: #7a1710; letter-spacing: .3em; }
.flower-cta:disabled { background: transparent; color: var(--muted); border-color: var(--line-strong); cursor: default; letter-spacing: .24em; }
.flower-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.flower-count {
  margin-top: 2.1rem;
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .08em;
}
.flower-count b {
  display: inline-block;
  margin: 0 .28em;
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  transition: transform .35s var(--ease);
}
.flower-count b.is-pop { transform: scale(1.18); }
.flower-note {
  margin-top: .55rem;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
}
.flower-msg {
  min-height: 1.9rem;
  margin-top: 1.15rem;
  font-size: .92rem;
  letter-spacing: .06em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .45s, transform .45s;
}
.flower-msg.is-on { opacity: 1; transform: translateY(0); }

.petal-layer { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.petal {
  position: absolute;
  top: -6vh;
  width: 14px;
  height: 20px;
  border-radius: 60% 60% 55% 55% / 78% 78% 22% 22%;
  background: linear-gradient(160deg, #ffffff, #f0e8d8);
  box-shadow: 0 0 1px rgba(160, 140, 110, .5);
  opacity: 0;
  animation: petalFall var(--dur, 7s) linear var(--delay, 0s) forwards;
  will-change: transform, opacity;
}
@keyframes petalFall {
  0%   { opacity: 0; transform: translate3d(0, -4vh, 0) rotate(0deg) scale(.9); }
  8%   { opacity: .95; }
  70%  { opacity: .9; }
  100% { opacity: 0; transform: translate3d(var(--drift, 40px), 108vh, 0) rotate(var(--spin, 320deg)) scale(.72); }
}

/* ---------- 时间线（生平） ---------- */
.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8.6rem;
  top: .4rem;
  bottom: .4rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 8%, var(--line-strong) 92%, transparent);
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  column-gap: 2.8rem;
  padding: .95rem 0;
}
.tl-item__year {
  text-align: right;
  font-family: var(--sans);
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--accent);
  padding-top: .28rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tl-item__year small { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .16em; margin-top: .1rem; }
.tl-item__body { position: relative; padding-left: .2rem; }
.tl-item__body::before {
  content: "";
  position: absolute;
  left: -1.4rem;
  margin-left: -3.5px;
  top: .72rem;
  width: 7px; height: 7px;
  background: var(--sec-bg, var(--paper));
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
.tl-item--key .tl-item__body::before { background: var(--accent); }
.tl-item__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: .35rem;
  color: var(--ink);
}
.tl-item__body p { font-size: .96rem; color: var(--ink-soft); line-height: 1.9; }
.tl-item__body p + p { margin-top: .3rem; }

/* ---------- 事件经过 ---------- */
.event-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.6rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step__time {
  font-family: var(--sans);
  font-size: .84rem;
  letter-spacing: .04em;
  color: var(--accent);
  padding-top: .22rem;
  font-variant-numeric: tabular-nums;
}
.step__body h3 { font-size: 1rem; font-weight: 700; letter-spacing: .05em; margin-bottom: .3rem; }
.step__body p { font-size: .95rem; color: var(--ink-soft); line-height: 1.9; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 2.6rem 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--paper-2);
  padding: 1.4rem .8rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.stat span { display: block; margin-top: .35rem; font-size: .76rem; color: var(--muted); letter-spacing: .1em; }

.after { margin-top: 3rem; }
.after__list { list-style: none; }
.after__list li {
  display: grid;
  grid-template-columns: 8.6rem 1fr;
  gap: 1.4rem;
  padding: .62rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.after__list li:last-child { border-bottom: 0; }
.after__list time {
  font-family: var(--sans);
  font-size: .84rem;
  color: var(--accent);
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 影像 ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.gallery picture { display: block; }
.gallery figure {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: .7rem;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform .45s var(--ease), box-shadow .45s;
}
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -30px rgba(60, 40, 30, .5); }
.gallery .ph { overflow: hidden; background: #e8e2d8; }
.gallery img {
  width: 100%;
  height: 258px;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .8s;
  filter: saturate(.92);
}
.gallery figure:hover img { transform: scale(1.045); filter: saturate(1); }
.gallery figcaption {
  padding: .8rem .35rem .35rem;
  font-size: .82rem;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: .03em;
}
.gallery figcaption b { display: block; color: var(--ink); font-weight: 700; font-size: .88rem; letter-spacing: .06em; margin-bottom: .1rem; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(20, 18, 15, .93);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 4vh; text-align: center; color: rgba(243, 236, 226, .75); font-size: .84rem; letter-spacing: .08em; padding: 0 6vw; }
.lightbox button {
  position: absolute;
  top: 3vh;
  right: 3vh;
  width: 2.6rem; height: 2.6rem;
  background: none;
  border: 1px solid rgba(243, 236, 226, .3);
  color: rgba(243, 236, 226, .8);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background .25s, color .25s;
}
.lightbox button:hover { background: rgba(243, 236, 226, .12); color: #fff; }

/* ---------- 呼号 ---------- */
.call-list { display: grid; gap: 0; }
.call {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 1.6rem;
}
.call:first-child { border-top: 0; }
.call__when {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--accent);
  padding-top: .4rem;
  font-variant-numeric: tabular-nums;
}
.call blockquote {
  font-size: clamp(1rem, 2.3vw, 1.14rem);
  line-height: 2;
  letter-spacing: .06em;
  color: var(--ink);
}
.call blockquote::before { content: "「"; color: var(--accent); opacity: .55; }
.call blockquote::after { content: "」"; color: var(--accent); opacity: .55; }
.call__src { margin-top: .6rem; font-size: .78rem; color: var(--muted); letter-spacing: .04em; font-style: normal; }

/* ---------- 梦想成真 ---------- */
.dream { margin-top: 1rem; }
.dream__list { list-style: none; }
.dream__list li {
  display: grid;
  grid-template-columns: 8.6rem 1fr;
  gap: 1.4rem;
  padding: .58rem 0;
  font-size: .95rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.dream__list li:last-child { border-bottom: 0; }
.dream__list time { font-family: var(--sans); font-size: .84rem; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- 页脚 ---------- */
.footer {
  background: #1b1813;
  color: rgba(243, 236, 226, .72);
  padding: clamp(3rem, 7vw, 5rem) 0 2.4rem;
  font-size: .84rem;
  line-height: 2;
}
.footer a { color: rgba(232, 201, 166, .85); }
.footer strong { color: #e8c9a6; font-weight: 700; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
.footer h4 {
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .24em;
  color: rgba(243, 236, 226, .45);
  margin-bottom: .7rem;
}
.footer p + h4 { margin-top: 1.5rem; }
.footer p { text-wrap: pretty; }
.footer__src { list-style: none; font-size: .78rem; }
.footer__src li { padding: .12rem 0; color: rgba(243, 236, 226, .55); }
.footer__bottom {
  margin-top: 2.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(243, 236, 226, .1);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .74rem;
  color: rgba(243, 236, 226, .38);
  letter-spacing: .05em;
}
.footer__back { color: rgba(243, 236, 226, .6); }
.footer__back:hover { color: #e8c9a6; text-decoration: none; }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery img { height: 210px; }
  .hero { min-height: 78vh; }
  .hero__veil {
    background:
      radial-gradient(ellipse at 50% 40%, rgba(23, 20, 15, .34) 0%, rgba(23, 20, 15, .62) 56%, rgba(23, 20, 15, .88) 100%),
      linear-gradient(180deg, rgba(23, 20, 15, .48) 0%, rgba(23, 20, 15, .30) 38%, rgba(23, 20, 15, .84) 100%);
  }
  .timeline { padding-left: 1.4rem; }
  .timeline::before { left: 0; }
  .tl-item { grid-template-columns: 1fr; column-gap: 0; row-gap: .1rem; padding-left: 0; }
  .tl-item__year { text-align: left; font-size: .8rem; letter-spacing: .04em; padding-top: 0; }
  .tl-item__year small { display: inline; margin-left: .45rem; letter-spacing: .1em; }
  .tl-item__body::before { left: -1.4rem; margin-left: -3.5px; top: .6rem; }
  .step { grid-template-columns: 3.6rem 1fr; gap: 1rem; }
  .after__list li, .dream__list li, .call { grid-template-columns: 1fr; gap: .25rem; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .topbar__brand span { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: min(100% - 1.8rem, 940px); }
  .hero__img { background-position: 68% 43%; }
  .hero__inner { padding: 6rem 1.1rem 5rem; }
  .hero__kicker { letter-spacing: .36em; font-size: .7rem; }
  .gallery img { height: 180px; }
  .flower-btn { width: clamp(160px, 46vw, 214px); height: clamp(160px, 46vw, 214px); }
  .flower-cta { padding: .68rem 1.4rem; font-size: .9rem; }
  .stat { padding: 1.1rem .5rem; }
  .hero__seal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__img { animation: none !important; transform: scale(1.06); }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 打印 ---------- */
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .topbar, .hero__scroll, .flower-cta, .flower-btn, .lightbox, .petal-layer, .footer__back { display: none !important; }
  .hero { min-height: auto; background: #fff; color: #000; page-break-after: always; }
  .hero__img, .hero__veil { display: none; }
  .hero__inner { color: #000; padding: 2rem 0; }
  .hero__title, .hero__verse, .hero__dates { color: #000; text-shadow: none; }
  .footer { background: #fff; color: #333; }
  a { color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
