/* 樱桃视频 · 人文影像专题站 | 清晰分区与响应式样式 */

:root {
  --paper: #f4f0e8;
  --paper-deep: #eae5d9;
  --ink: #20352e;
  --ink-soft: #526056;
  --forest: #244c40;
  --accent: #a64836;
  --line: #d6d1c5;
  --white: #fffdf8;
  --max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", "Microsoft YaHei", serif;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  line-height: 1.32;
  font-weight: 700;
}

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: white;
  padding: 10px;
  z-index: 30;
}

.skip:focus {
  left: 10px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: .06em;
}

.brand-symbol {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--accent);
  border-radius: 50% 50% 42% 42%;
  font-size: 25px;
}

.brand small {
  display: block;
  margin-top: 0;
  font: 9px/1.3 Arial, sans-serif;
  letter-spacing: .17em;
  color: var(--ink-soft);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(12px,2vw,28px);
  font-size: 14px;
  font-weight: 700;
}

.primary-nav a {
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--accent);
  font: 700 12px/1.6 Arial, "Microsoft YaHei", sans-serif;
  letter-spacing: .15em;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 5%;
  min-height: 650px;
  padding-block: 70px 90px;
}

.hero-copy {
  padding-left: 3%;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(58px,6.9vw,102px);
  letter-spacing: -.065em;
  line-height: 1.17;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-dot, .page-dot {
  color: var(--accent);
}

.lead {
  max-width: 520px;
  font-size: 18px;
  line-height: 2.05;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 42px;
}

.hero-actions > span {
  color: var(--ink-soft);
  font-size: 12px;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 15px 23px;
  color: var(--white);
  background: var(--forest);
  border-radius: 2px;
  font-size: 14px;
}

.button:hover {
  background: var(--accent);
  color: var(--white);
}

.hero-visual {
  position: relative;
  padding-bottom: 44px;
}

.hero-visual > img {
  width: 100%;
  height: 505px;
  object-fit: cover;
  object-position: center;
  border-radius: 210px 210px 4px 4px;
  box-shadow: 24px 26px 0 var(--paper-deep);
}

.hero-note {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 5px;
  bottom: 10px;
  left: -55px;
  max-width: 280px;
  padding: 19px 25px;
  color: white;
  background: var(--forest);
  box-shadow: 5px 6px 0 rgba(30,40,33,.07);
}

.hero-note b {
  font-size: 14px;
}

.hero-note span {
  font-size: 12px;
}

.vertical-note {
  position: absolute;
  bottom: 80px;
  left: 0;
  font: 10px Arial;
  letter-spacing: .26em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #8d968c;
}

.manifesto {
  background: var(--forest);
  color: var(--white);
}

.manifesto-grid {
  display: grid;
  align-items: center;
  grid-template-columns: .7fr 2fr 1.15fr;
  gap: 32px;
  padding-block: 58px;
}

.manifesto-grid .eyebrow {
  color: #d8b69a;
}

.manifesto-grid h2 {
  font-size: clamp(25px,3vw,42px);
}

.manifesto-grid p {
  color: #d3dfd7;
  font-size: 14px;
}

.section {
  padding-block: 105px 80px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(29px,3.5vw,46px);
}

.section-heading > p {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 330px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 58px 25px;
  align-items: start;
}

.story-card {
  min-width: 0;
}

.story-card:nth-child(3n+2) {
  transform: translateY(28px);
}

.photo-link {
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.photo-link img {
  aspect-ratio: 1.35;
  width: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.photo-link:hover img {
  transform: scale(1.05);
}

.story-card:nth-child(3n+1) .photo-link img {
  aspect-ratio: 1.18;
}

.story-card:nth-child(3n+2) .photo-link img {
  aspect-ratio: 1.58;
}

.story-text {
  padding: 19px 3px 0;
}

.story-text h3 {
  font-size: clamp(19px,1.75vw,25px);
  margin: 8px 0 12px;
}

.story-text p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

.story-link {
  display: inline-block;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  padding: 5px 0;
  font-weight: 700;
  font-size: 13px;
  margin-top: 17px;
}

.quote-band {
  background: #dfd7c9;
  margin-top: 62px;
}

.quote-inner {
  padding-block: 80px;
  text-align: center;
}

.quote-inner h2 {
  font-size: clamp(36px,5vw,67px);
  font-weight: 500;
  margin: 20px auto 23px;
}

.quote-inner h2 strong {
  color: var(--accent);
}

.quote-inner > a {
  font-size: 14px;
  border-bottom: 1px solid currentColor;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}

.category-tile {
  min-height: 300px;
  padding: 30px 24px;
  background: #e6e0d3;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  transition: transform .25s,background .25s;
}

.category-tile:hover {
  transform: translateY(-6px);
  color: var(--ink);
  background: #e2d6c7;
}

.cat-people {
  background: #e9dcd4;
}

.cat-craft {
  background: #dce4d8;
}

.cat-light {
  background: #e4dfd4;
}

.category-number {
  color: var(--accent);
  font: 700 13px Arial;
}

.category-tile h3 {
  font-size: 30px;
  margin: 32px 0 17px;
}

.category-tile p {
  font-size: 13px;
  color: var(--ink-soft);
}

.category-arrow {
  font-size: 12px;
  margin-top: auto;
  padding-top: 27px;
  color: var(--accent);
  font-weight: 700;
}

.last-note {
  display: grid;
  grid-template-columns: .65fr 1fr;
  gap: 60px;
  border-top: 1px solid var(--line);
  padding-block: 65px;
}

.last-note h2 {
  margin-top: 9px;
  font-size: 30px;
}

.last-note p {
  color: var(--ink-soft);
  font-size: 14px;
}

.site-footer {
  background: #1b322b;
  color: #f3f0e7;
  padding: 63px 0 55px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.foot-brand {
  font-size: 30px;
  font-weight: 800;
}

.foot-grid strong {
  display: block;
  margin: 7px 0 14px;
}

.foot-grid p {
  font-size: 13px;
  line-height: 2;
  color: #d1d9d2;
  margin-top: 12px;
}

.foot-grid .micro {
  font-size: 11px;
  color: #9db1a6;
}

.foot-links {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  margin: 24px 0 46px;
}

.crumb a {
  color: var(--accent);
}

.page-intro {
  padding-bottom: 32px;
}

.page-intro h1 {
  margin: 12px 0 21px;
  font-size: clamp(50px,7vw,90px);
}

.page-lead {
  max-width: 720px;
  font-size: 18px;
  line-height: 2;
  color: var(--ink-soft);
}

.category-content {
  padding-top: 35px;
}

.category-stories {
  padding-bottom: 25px;
}

.category-stories .story-card:nth-child(3n+2) {
  transform: none;
}

.category-bottom {
  margin-bottom: 85px;
  padding: 35px 45px;
  background: var(--paper-deep);
}

.category-bottom h2 {
  font-size: 27px;
  margin-bottom: 15px;
}

.category-bottom p {
  color: var(--ink-soft);
}

.article-intro {
  max-width: 980px;
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.article-kicker time {
  color: var(--ink-soft);
  font-size: 12px;
}

.article-intro h1 {
  font-size: clamp(33px,4.2vw,58px);
  margin: 20px 0;
}

.article-deck {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 850px;
  line-height: 1.95;
}

.article-cover {
  margin-block: 42px 15px;
}

.article-cover img {
  width: 100%;
  height: clamp(280px,45vw,590px);
  object-fit: cover;
}

.article-cover figcaption {
  padding-top: 11px;
  font-size: 12px;
  color: var(--ink-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,2fr) minmax(260px,.84fr);
  gap: 8%;
  padding-block: 50px 110px;
}

.article-body {
  font-size: 17px;
  line-height: 2.15;
}

.opening {
  font-size: 20px;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  color: var(--forest);
}

.article-section {
  margin-top: 42px;
}

.article-section h2 {
  font-size: 28px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-section p {
  color: #35453c;
}

.article-end {
  border-top: 1px solid var(--line);
  margin-top: 55px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}

.article-end a {
  color: var(--accent);
}

.aside-panel {
  background: var(--paper-deep);
  padding: 25px;
  margin-bottom: 25px;
}

.aside-panel h2 {
  font-size: 21px;
  margin: 9px 0 20px;
}

.aside-panel p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 8px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  padding-block: 11px;
  border-top: 1px solid #cac5b9;
}

.related-item img {
  width: 75px;
  height: 67px;
  object-fit: cover;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: start;
  padding-block: 50px 100px;
}

.about-layout h2 {
  margin: 25px 0 12px;
  font-size: 27px;
}

.about-layout p {
  color: var(--ink-soft);
  margin-bottom: 25px;
}

.about-layout img {
  aspect-ratio: .85;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 1050px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding-block: 16px;
  }
  .primary-nav {
    justify-content: flex-start;
  }
  .hero {
    min-height: 560px;
  }
  .hero-note {
    left: -18px;
  }
  .hero-visual > img {
    height: 430px;
  }
  .category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .category-tile {
    min-height: 250px;
  }
  .manifesto-grid {
    grid-template-columns: 1fr 2fr;
  }
  .manifesto-grid p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(var(--max),calc(100% - 36px));
  }
  .header-inner {
    min-height: auto;
  }
  .brand {
    font-size: 23px;
  }
  .brand-symbol {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .primary-nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 21px;
    scrollbar-width: thin;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 45px 55px;
    gap: 35px;
  }
  .hero-copy {
    padding-left: 0;
  }
  .hero h1 {
    font-size: clamp(52px,12vw,77px);
  }
  .lead {
    font-size: 15px;
  }
  .hero-visual {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-visual > img {
    height: 400px;
  }
  .hero-note {
    left: 0;
    bottom: 7px;
  }
  .vertical-note {
    display: none;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 40px;
  }
  .manifesto-grid p {
    grid-column: auto;
  }
  .section {
    padding-block: 60px 50px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .editor-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 42px 14px;
  }
  .story-card:nth-child(3n+2) {
    transform: none;
  }
  .story-text h3 {
    font-size: 18px;
  }
  .story-text p {
    font-size: 12px;
  }
  .story-text {
    padding-top: 12px;
  }
  .story-link {
    margin-top: 12px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-tile {
    padding: 21px;
  }
  .category-tile h3 {
    font-size: 24px;
  }
  .last-note {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 45px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .foot-grid > div:first-child {
    grid-column: 1/-1;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .article-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .aside-panel {
    margin: 0;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-layout img {
    aspect-ratio: 1.6;
  }
}

@media (max-width: 460px) {
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .story-card .photo-link img, .story-card:nth-child(3n+1) .photo-link img, .story-card:nth-child(3n+2) .photo-link img {
    aspect-ratio: 1.45;
  }
  .story-text h3 {
    font-size: 21px;
  }
  .story-text p {
    font-size: 14px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-tile {
    min-height: 185px;
  }
  .category-tile h3 {
    margin-top: 17px;
  }
  .article-aside {
    grid-template-columns: 1fr;
  }
  .article-deck {
    font-size: 17px;
  }
  .article-body {
    font-size: 15px;
  }
  .article-section h2 {
    font-size: 24px;
  }
  .hero-visual > img {
    height: 340px;
  }
  .hero-note {
    max-width: 235px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .photo-link img, .category-tile {
    transition: none;
  }
}

/* 边界与可访问性：防止窄屏内容横向撑开 */
html, body { max-width: 100%; overflow-x: clip; }
.primary-nav { min-width: 0; }
.hero-copy, .hero-visual, .story-card, .article-body, .article-aside { min-width: 0; }
.story-text h3, .article-intro h1, .page-intro h1 { overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 700px) {
  .hero-note { max-width: min(280px, calc(100% - 16px)); }
  .hero-visual > img { box-shadow: 12px 12px 0 var(--paper-deep); }
  .primary-nav { -webkit-overflow-scrolling: touch; }
}
