/* 首页独立场景：窗边的纸上书房。只影响首屏。 */
.home-intro {
  position: relative;
  display: flex;
  min-height: min(100svh, 1120px);
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 14% 76%, #d8d9c7 0, transparent 53%), linear-gradient(115deg, #e5e4d6 0%, #f6f1e3 50%, #faf5e9 100%);
}
.home-intro::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23726548' opacity='.13' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  content: '';
  pointer-events: none;
}
.window-light {
  position: absolute;
  inset: -22% 32% -25% -15%;
  z-index: -1;
  transform: rotate(26deg);
  background: linear-gradient(90deg, transparent 0 22%, #fffcdf7a 22% 43%, #958d7410 43% 45%, #fffde570 45% 73%, transparent 73%);
  filter: blur(7px);
  pointer-events: none;
}
.window-leaves {
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -170px;
  width: min(660px, 55vw);
  height: 700px;
  background: url('../images/window-leaves.svg') center / contain no-repeat;
  opacity: .27;
  filter: blur(10px);
  transform: rotate(-12deg);
  transform-origin: 90% 0;
  pointer-events: none;
}
.home-intro .site-header { min-height: 94px; border-bottom-color: #8e886522; }
.home-intro .hero {
  flex: 1;
  width: min(1220px, calc(100% - 6rem));
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 6.5rem);
  padding-block: clamp(2rem, 5vh, 4.5rem);
}
.home-intro .hero-cover { position: relative; }
.home-intro .cover-stage {
  min-height: 520px;
  padding: 2rem 2.5rem 3rem;
  background: transparent;
  isolation: auto;
}
.home-intro .cover-stage::before {
  inset: auto 1% 0 8%;
  height: 17%;
  z-index: -1;
  border-radius: 50%;
  background: #635b3629;
  filter: blur(27px);
  transform: rotate(-9deg);
}
.home-intro .cover-stage::after { display: none; }
.home-intro [data-feature-cover] { width: clamp(270px, 25vw, 350px); }
.home-intro [data-feature-cover] .issue-cover {
  transform: perspective(1400px) rotateY(-10deg) rotateZ(-7deg);
  box-shadow: 3px 1px 0 #e6e1d4, 5px 2px 0 #f4eee0, 7px 3px 0 #c9c1ae, 18px 22px 22px #65573920, 42px 48px 50px #53462d22;
}
.home-intro [data-feature-cover]:hover .issue-cover,
.home-intro [data-feature-cover]:focus-visible .issue-cover { transform: perspective(1400px) rotateY(-5deg) rotateZ(-5deg) translateY(-5px); }
.home-intro [data-feature-cover] .issue-cover__content { padding: 8cqw 8cqw 6cqw 9cqw; }
.home-intro [data-feature-cover] .cover-meta { font-size: 2.4cqw; }
.home-intro [data-feature-cover] .cover-title { margin-top: 6cqw; }
.home-intro [data-feature-cover] .cover-title h2 { font-size: 14cqw; white-space: nowrap; }
.home-intro [data-feature-cover] .cover-footer { padding-top: 3cqw; }
.home-intro [data-feature-cover] .cover-footer p { font-size: 5cqw; }
.home-intro .stage-season { top: 22%; right: 0; font-size: .65rem; color: #7d7b61; }
.home-intro .stage-caption { bottom: -.1rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .58rem; letter-spacing: .22em; color: #78745b; }
.home-intro .hero-copy { padding-right: 1.5rem; }
.home-intro .issue-kicker { font-size: .68rem; letter-spacing: .15em; }
.home-intro .hero-copy h1 { font-size: clamp(3.6rem, 5.1vw, 5.1rem); line-height: 1.22; margin-top: 1.8rem; }
.home-intro .hero-deck { font-size: 1.22rem; margin-top: 1.6rem; }
.home-intro .hero-summary { max-width: 26rem; color: #756b57; font-size: .83rem; }
.home-intro .hero-actions { margin-top: 2.2rem; }
.home-intro .hero-actions .button-primary { min-height: 3.15rem; background: #b78d36; color: #fffdf6; font-weight: 500; }
.home-intro .hero-actions .button-primary:hover { background: #987329; }
.home-intro .hero-colophon { max-width: 27rem; border-top-color: #978d6c35; margin-top: 2rem; font-size: .62rem; }
.intro-foot { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #8e886522; color: #807962; font-size: .62rem; letter-spacing: .08em; }
.intro-foot a { display: flex; min-height: 44px; align-items: center; gap: 1rem; }
.intro-foot a:hover { color: var(--ink); }
.intro-foot .icon { width: .85rem; height: .85rem; }
@media (min-width: 768px) and (max-width: 1023px) {
  .home-intro .hero { width: calc(100% - 5rem); grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .home-intro .hero-copy { padding-right: 0; }
  .home-intro .hero-copy h1 { font-size: 3.6rem; }
  .home-intro .cover-stage { padding-inline: 1rem; min-height: 470px; }
  .home-intro [data-feature-cover] { width: min(250px, 90%); }
  .home-intro .stage-season { right: -1rem; }
  .home-intro .hero-colophon > span:last-child { display: none; }
}
@media (min-width: 768px) and (max-height: 800px) {
  .home-intro .site-header { min-height: 78px; }
  .home-intro .hero { padding-block: 1.5rem 2rem; }
  .home-intro .cover-stage { min-height: 440px; }
  .home-intro [data-feature-cover] { width: min(29vw, 280px); }
  .home-intro .hero-copy h1 { font-size: clamp(3.4rem, 4.6vw, 4.1rem); margin-top: 1rem; }
  .home-intro .hero-deck { margin-top: 1rem; }
  .home-intro .hero-actions, .home-intro .hero-colophon { margin-top: 1.3rem; }
  .intro-foot { min-height: 55px; }
}
@media (max-width: 767px) {
  .home-intro { min-height: 100svh; background: radial-gradient(ellipse at 12% 25%, #dbdcc7 0, transparent 58%), #f6f1e4; }
  .home-intro .site-header { min-height: 76px; }
  .home-intro .hero { width: calc(100% - 3rem); grid-template-columns: 1fr; gap: 1.75rem; padding-block: 1.3rem 1.8rem; }
  .home-intro .hero-cover { grid-row: 1; }
  .home-intro .hero-copy { grid-row: 2; padding-right: 0; text-align: center; }
  .home-intro .cover-stage { min-height: 0; padding: .7rem 2.5rem 1rem; }
  .home-intro [data-feature-cover] { width: clamp(160px, 44vw, 215px); }
  .home-intro .stage-caption { bottom: -.6rem; font-size: .5rem; }
  .home-intro .stage-season { right: 1rem; top: 25%; font-size: .58rem; }
  .home-intro .issue-kicker { justify-content: center; font-size: .57rem; gap: .45rem; letter-spacing: .08em; }
  .home-intro .hero-copy h1 { margin-top: .7rem; font-size: clamp(1.75rem, 7.8vw, 2.5rem); line-height: 1.3; white-space: nowrap; }
  .home-intro .hero-copy h1 > span:not(.title-period) { display: inline; }
  .home-intro .hero-deck { margin-top: .6rem; font-size: .96rem; }
  .home-intro .hero-summary { max-width: 25rem; margin: .85rem auto 0; font-size: .73rem; line-height: 1.9; text-align: left; }
  .home-intro .hero-actions { justify-content: center; margin-top: 1.2rem; gap: 1.4rem; }
  .home-intro .hero-actions .button-primary { min-width: 9rem; min-height: 2.8rem; font-size: .83rem; }
  .home-intro .hero-colophon { justify-content: center; border: 0; margin: 1rem auto 0; padding: 0; }
  .home-intro .hero-colophon > span:last-child { display: none; }
  .intro-foot { min-height: 50px; font-size: .52rem; letter-spacing: 0; }
  .window-light { inset: -15% -10% 30% -45%; }
  .window-leaves { width: 370px; height: 470px; top: -65px; right: -145px; opacity: .25; filter: blur(8px); }
}
@media (prefers-reduced-motion: no-preference) {
  .home-intro .hero-cover { animation: book-arrive 1.1s ease-out both; }
  .home-intro .hero-copy { animation: words-arrive .9s .12s ease-out both; }
  @keyframes book-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes words-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* 晴窗书房：把质感放在光线、纸面和留白上。 */
.home-intro {
  background:
    radial-gradient(ellipse at 18% 70%, rgba(186, 198, 178, .58) 0, rgba(186, 198, 178, 0) 46%),
    linear-gradient(116deg, #e9ebe3 0%, #f5f3ea 44%, #fcfaf3 100%);
}
.home-intro::before { opacity: .18; }
.window-light {
  inset: -24% 18% -30% -18%;
  background: linear-gradient(90deg, transparent 0 20%, rgba(255,255,249,.72) 20% 39%, rgba(139,150,132,.08) 39% 41%, rgba(255,255,250,.62) 41% 72%, transparent 72%);
  filter: blur(12px);
  transform: rotate(24deg);
}
.window-leaves { opacity: .14; filter: blur(13px); }
.home-intro .site-header { border-bottom-color: rgba(112, 129, 106, .2); }
.home-intro .brand-symbol { border-color: #879884; color: #71826f; }
.home-intro .brand-symbol .brand-sun { color: #b8944a; }
.home-intro .home-nav a:hover, .home-intro .editor-entry:hover { color: #5e765f; }
.home-intro .cover-stage::before {
  inset: 8% 12% 7% 12%;
  height: auto;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,244,.84) 0%, rgba(255,255,244,.36) 43%, rgba(255,255,244,0) 72%);
  filter: blur(4px);
  transform: none;
}
.home-intro .cover-stage::after {
  display: none;
}
.home-intro [data-feature-cover] .issue-cover {
  border-color: #cecdbd;
  box-shadow: 3px 1px 0 #e6e6da, 5px 2px 0 #f7f5eb, 7px 3px 0 #c6c9b7, 18px 22px 24px rgba(67, 74, 57, .14), 42px 48px 50px rgba(83, 85, 62, .14);
}
.home-intro .stage-season, .home-intro .stage-caption { color: #70806b; }
.home-intro .issue-kicker > span:first-child { color: #657966; }
.home-intro .issue-kicker i { background: #9cab97; }
.home-intro .hero-copy h1 { color: #39443b; letter-spacing: .055em; }
.home-intro .title-period { color: #b7934d; }
.home-intro .hero-deck { color: #637460; }
.home-intro .hero-summary { color: #6b7269; }
.home-intro .hero-actions .button-primary {
  border: 1px solid #ad8c4c;
  background: #bd9a51;
  box-shadow: 0 8px 18px rgba(137, 118, 70, .16);
}
.home-intro .hero-actions .button-primary:hover { background: #a9863d; }
.home-intro .hero-shelf-link { color: #607461; }
.home-intro .hero-shelf-link:hover { color: #3f5e47; }
.home-intro .hero-colophon { border-top-color: rgba(112, 129, 106, .22); color: #7b8676; }
.intro-foot { border-top-color: rgba(112, 129, 106, .2); color: #72806c; }
.intro-foot a:hover { color: #4d674f; }
.intro-foot { justify-content: flex-end; }
.home-intro .issue-kicker { gap: 1rem; }

@media (max-width: 767px) {
  .home-intro { background: radial-gradient(ellipse at 8% 27%, rgba(190, 202, 183, .7) 0, rgba(190, 202, 183, 0) 56%), #f5f3ea; }
  .home-intro .cover-stage::before { inset: 3% 3% 4% 3%; }
  .home-intro .hero-copy h1 { color: #3d493f; }
  .intro-foot { justify-content: flex-end; }
}
