/* 快乐看片指南 —— 黑白超大字版式 */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  padding-bottom: 7.25rem;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
a { color: #000; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

/* ---------- 底部固定条 ---------- */
.bar {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem;
  padding: .45rem .4rem .55rem;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid #000;
}

.bar__brand {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.035em;
  text-decoration: none;
  padding: .35rem .5rem;
}

.bar__menu {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 .25rem;
}
.bar__menu::-webkit-scrollbar { display: none; }

.bar__nav p {
  display: flex;
  margin: 0;
  gap: .1rem;
}

.bar__nav a {
  display: block;
  padding: .625rem .5rem;
  font-size: 1rem;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.bar__nav a:hover,
.bar__nav a.is-current {
  border-bottom-color: #000;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(4.5rem, 12vw, 9rem) clamp(1.15rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem);
  text-align: right;
  border-bottom: 1px solid #000;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .16;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  margin: 0 0 clamp(1.75rem, 5vw, 3.5rem) auto;
  max-width: 22ch;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 800;
  line-height: .94;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.hero__media {
  position: relative;
  margin: 0;
  width: 100%;
}

.hero__media img,
.hero__img {
  width: 100%;
  height: clamp(140px, 26vh, 300px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  border: 1px solid #000;
}

/* ---------- 主体栅格 ---------- */
main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 5vw, 4rem);
}

article { min-width: 0; }

article > section {
  padding-block: clamp(2.75rem, 7vw, 6rem);
  border-top: 1px solid rgba(0, 0, 0, .14);
  scroll-margin-block: 5rem;
}
article > section:first-child { border-top: 0; }

article p {
  max-width: 66ch;
  margin: 0 0 1.15rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

article h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.7rem, 4.6vw, 3rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  max-width: 22ch;
}

article h3 {
  margin: 2.25rem 0 .5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}

hr {
  border: 0;
  height: 2px;
  width: 100%;
  background: #000;
  margin: 0 0 2rem;
}

article ul,
article ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}
article li { margin-bottom: .45rem; }

article figure { margin: 2rem 0; }
article figcaption { font-size: 1rem; margin-top: .6rem; }

blockquote {
  margin: 2rem 0;
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 4px solid #000;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
}
blockquote p { margin: 0; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
}
th, td {
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  padding: .75rem .6rem;
  text-align: left;
  vertical-align: top;
}
th { font-weight: 700; }

strong { font-weight: 700; }

/* ---------- 侧栏 ---------- */
.side {
  padding: 0 0 clamp(2rem, 6vw, 4rem);
  border-top: 1px solid rgba(0, 0, 0, .14);
  padding-top: clamp(2.5rem, 6vw, 3.5rem);
}

.side__box {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid #000;
  border-radius: 0;
  padding: 1.25rem 1.25rem 1.5rem;
}

.side__box h2 {
  margin: 0 0 .55rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.side__box hr {
  height: 1px;
  margin: 0 0 1rem;
}

.side__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side__list li + li { border-top: 1px solid rgba(0, 0, 0, .12); }

.side__list a {
  display: block;
  padding: .6rem 0;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.side__list a:hover,
.side__list a.is-current { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- 页脚 ---------- */
.foot {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.15rem, 5vw, 4rem) 2rem;
  border-top: 1px solid #000;
}

.foot__cta { margin-bottom: clamp(2.5rem, 7vw, 4.5rem); }

.foot__big {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 9vw, 7rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.foot__btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 0;
  transition: background-color .18s ease, color .18s ease;
}
.foot__btn:hover { background: #fff; color: #000; }

.foot__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, .15);
}

.foot__brand {
  font-style: normal;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
}

.foot__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .1rem;
}

.foot__links a {
  display: block;
  padding: .55rem 0;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}
.foot__links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.foot__copy {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .15);
  text-align: center;
  font-size: 1rem;
}

/* ---------- 动效 ---------- */
@media (prefers-reduced-motion: no-preference) {
  .side__list li {
    animation: rise .45s cubic-bezier(.2, .7, .3, 1) backwards;
  }
  .side__list li:nth-child(1) { animation-delay: .02s; }
  .side__list li:nth-child(2) { animation-delay: .06s; }
  .side__list li:nth-child(3) { animation-delay: .1s; }
  .side__list li:nth-child(4) { animation-delay: .14s; }
  .side__list li:nth-child(5) { animation-delay: .18s; }
  .side__list li:nth-child(6) { animation-delay: .22s; }
  .side__list li:nth-child(7) { animation-delay: .26s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: 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;
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (min-width: 880px) {
  body { padding-bottom: 5.25rem; }

  .bar {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "l brand r";
    align-items: center;
    gap: 1rem;
    padding: .4rem clamp(1rem, 4vw, 2.5rem);
  }
  .bar__brand {
    grid-area: brand;
    font-size: 1.0625rem;
    padding: .55rem 1rem;
  }
  .bar__menu { display: contents; }
  .bar__nav { grid-area: auto; }
  .bar__nav--l { grid-area: l; }
  .bar__nav--r { grid-area: r; }
  .bar__nav--l p { justify-content: flex-end; }
  .bar__nav--r p { justify-content: flex-start; }
  .bar__nav a { padding: .7rem .6rem; }
}

@media (min-width: 960px) {
  main {
    grid-template-columns: minmax(0, 1fr) 18rem;
    gap: clamp(2rem, 5vw, 4rem);
    padding-top: 0;
  }
  .side {
    position: sticky;
    top: 1.5rem;
    align-self: start;
    border-top: 0;
    padding-top: clamp(2.75rem, 7vw, 6rem);
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
