/* 樱桃视频 | Youth Film Notebook | responsive static site */

:root {
  --paper:#fffaf4;
  --cream:#fff0e6;
  --blush:#f5e0df;
  --rose:#e87b81;
  --rose-deep:#a94c59;
  --ink:#332e33;
  --muted:#766e72;
  --line:#e9d9d3;
  --shadow:0 22px 50px rgba(96,58,60,.12);
  --radius:22px;
  --content:1200px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.75;
}

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

a:hover {
  color:var(--rose-deep);
}

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

figure {
  margin:0;
}

h1,h2,h3,p {
  margin-top:0;
}

h1,h2,h3 {
  line-height:1.36;
}

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

.skip-link {
  position:absolute;
  top:-80px;
  left:12px;
  z-index:100;
  background:#fff;
  padding:10px 16px;
}

.skip-link:focus {
  top:12px;
}

.site-header {
  position:relative;
  z-index:2;
  border-bottom:1px solid var(--line);
  background:rgba(255,250,244,.96);
}

.header-inner {
  display:flex;
  align-items:center;
  min-height:88px;
  gap:28px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:24px;
  font-weight:850;
  letter-spacing:.035em;
  flex-shrink:0;
}

.brand-symbol {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50% 50% 45% 45%;
  background:var(--rose);
  color:white;
  font-size:28px;
  line-height:1;
}

.brand small {
  display:block;
  font-weight:700;
  font-size:9px;
  letter-spacing:.18em;
  color:var(--rose-deep);
  line-height:1.6;
}

.nav-links {
  display:flex;
  gap:25px;
  justify-content:center;
  align-items:center;
  flex:1;
}

.nav-links a {
  font-size:14px;
  white-space:nowrap;
  padding:7px 0;
  color:#554e52;
}

.nav-links a[aria-current="page"] {
  color:var(--rose-deep);
  font-weight:800;
  border-bottom:2px solid var(--rose);
}

.header-cta {
  border:1px solid var(--line);
  border-radius:30px;
  padding:8px 16px;
  font-size:13px;
  white-space:nowrap;
}

.hero {
  display:grid;
  grid-template-columns:1fr 1.02fr;
  min-height:660px;
  gap:72px;
  align-items:center;
  padding-block:70px 90px;
}

.kicker,.section-number,.eyebrow {
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  color:var(--rose-deep);
}

.kicker {
  display:flex;
  align-items:center;
  gap:12px;
}

.kicker-line {
  width:31px;
  height:1px;
  background:var(--rose);
}

.hero h1 {
  font-size:clamp(44px,5.3vw,84px);
  letter-spacing:-.07em;
  margin:28px 0 24px;
}

.hero-sub {
  display:block;
  margin-top:10px;
  font-size:clamp(29px,3.3vw,49px);
  letter-spacing:-.045em;
  font-weight:680;
}

.hero-intro {
  max-width:470px;
  color:#625c60;
  font-size:16px;
  line-height:2;
}

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

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:13px 22px;
  border-radius:999px;
  font-size:14px;
  font-weight:750;
}

.button.primary {
  background:var(--ink);
  color:white;
}

.button.primary:hover {
  background:var(--rose-deep);
}

.button.secondary {
  border:1px solid var(--line);
}

.hero-footnote {
  display:flex;
  gap:20px;
  margin-top:56px;
  color:#8e8082;
  font-size:12px;
}

.hero-footnote span:first-child {
  color:var(--rose-deep);
  font-weight:800;
}

.hero-visual {
  position:relative;
  padding:30px 30px 35px 0;
}

.hero-photo {
  overflow:hidden;
  border-radius:48% 48% 12px 12px;
  box-shadow:var(--shadow);
  aspect-ratio:4/4.8;
}

.hero-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-sticker {
  position:absolute;
  right:0;
  bottom:62px;
  width:190px;
  min-height:190px;
  border-radius:50%;
  background:#f1bbaf;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:rotate(8deg);
  box-shadow:0 14px 30px #91585927;
  text-align:center;
}

.hero-sticker span,.hero-sticker em {
  font-size:10px;
  font-style:normal;
  letter-spacing:.12em;
}

.hero-sticker strong {
  font-size:23px;
  line-height:1.45;
  margin:8px 0;
}

.hero-picture-caption {
  position:absolute;
  bottom:0;
  left:22px;
  color:#8e7779;
  font-size:11px;
  letter-spacing:.1em;
}

.intro-band {
  background:var(--cream);
  padding:68px 0;
}

.intro-grid {
  display:grid;
  grid-template-columns:120px 1.25fr 1fr;
  gap:45px;
  align-items:center;
}

.vertical-tag {
  color:var(--rose-deep);
  font-weight:800;
  letter-spacing:.1em;
  font-size:10px;
  writing-mode:vertical-rl;
}

.intro-grid h2 {
  margin:0;
  font-size:clamp(25px,2.6vw,38px);
}

.intro-grid h2 i,.ending h2 i {
  font-style:normal;
  color:var(--rose-deep);
}

.intro-grid p {
  margin:0;
  line-height:2;
  color:#71666a;
}

.section {
  padding-block:95px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:28px;
  margin-bottom:35px;
}

.section-heading h2 {
  font-size:clamp(27px,3vw,40px);
  margin:9px 0 0;
  letter-spacing:-.04em;
}

.section-heading > p {
  max-width:340px;
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.feature-layout {
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:24px;
}

.feature-large {
  position:relative;
  min-height:550px;
  overflow:hidden;
  border-radius:var(--radius);
  background:#b48a8e;
}

.feature-large > img {
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}

.feature-large:after {
  content:"";
  position:absolute;
  inset:35% 0 0;
  background:linear-gradient(transparent,rgba(34,22,24,.85));
}

.feature-overlay {
  position:absolute;
  inset:auto 38px 30px;
  color:white;
  z-index:1;
}

.feature-overlay span:first-child {
  font-size:12px;
  letter-spacing:.08em;
}

.feature-overlay h3 {
  font-size:clamp(29px,3vw,42px);
  margin:8px 0;
}

.feature-overlay p {
  font-size:14px;
  margin:0;
  color:#f5e5df;
}

.feature-arrow {
  position:absolute;
  right:0;
  bottom:0;
  font-size:26px;
}

.feature-aside {
  display:grid;
  grid-template-rows:1fr .85fr;
  gap:24px;
}

.note-card {
  background:#efddd4;
  border-radius:var(--radius);
  padding:32px;
}

.note-card > span {
  font-size:11px;
  color:var(--rose-deep);
  font-weight:700;
}

.note-card h3 {
  font-size:27px;
  margin:18px 0;
}

.note-card p {
  font-size:14px;
  color:#6c6165;
}

.note-card a {
  font-size:13px;
  border-bottom:1px solid currentColor;
  font-weight:700;
}

.feature-small {
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:230px;
  background:#d6b4b3;
}

.feature-small img {
  height:100%;
  width:100%;
  object-fit:cover;
  position:absolute;
  inset:0;
}

.feature-small span {
  position:absolute;
  bottom:18px;
  left:20px;
  background:rgba(255,250,244,.94);
  padding:7px 12px;
  border-radius:30px;
  font-size:12px;
}

.tone-section {
  background:#faede9;
}

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

.topic-tile {
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:390px;
  overflow:hidden;
  background:#f8ddd9;
  border-radius:18px;
  padding:16px;
  isolation:isolate;
  justify-content:end;
}

.topic-tile:before {
  position:absolute;
  content:"";
  inset:0;
  background:linear-gradient(transparent 25%,rgba(42,27,34,.81));
  z-index:-1;
}

.topic-tile img {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  inset:0;
  z-index:-2;
  transition:transform .4s;
}

.topic-tile:hover img {
  transform:scale(1.035);
}

.topic-tile .topic-no {
  color:#fff0ea;
  font-size:10px;
  letter-spacing:.1em;
}

.topic-tile strong {
  font-size:25px;
  color:white;
  margin:6px 0;
}

.topic-tile .topic-desc {
  color:#fff0ed;
  font-size:12px;
  line-height:1.7;
  min-height:62px;
}

.topic-tile .topic-go {
  position:absolute;
  right:20px;
  top:14px;
  color:white;
  font-size:22px;
}

.archive-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:36px 24px;
}

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

.story-image {
  display:block;
  overflow:hidden;
  border-radius:16px;
  background:var(--blush);
  aspect-ratio:1.5;
}

.story-image img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s;
}

.story-card:hover .story-image img {
  transform:scale(1.035);
}

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

.story-card h3 {
  font-size:21px;
  margin:10px 0;
}

.story-card p {
  font-size:13px;
  line-height:1.9;
  color:var(--muted);
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}

.text-link {
  font-size:13px;
  font-weight:800;
  color:var(--rose-deep);
}

.ending {
  margin-block:15px 105px;
  display:grid;
  grid-template-columns:1fr .75fr;
  gap:50px;
  background:#f5ded6;
  border-radius:28px;
  overflow:hidden;
  min-height:420px;
}

.ending > div {
  padding:70px 20px 60px 65px;
}

.ending span {
  font-size:11px;
  font-weight:700;
  letter-spacing:.11em;
  color:var(--rose-deep);
}

.ending h2 {
  font-size:clamp(29px,3.5vw,45px);
  margin:24px 0;
}

.ending p {
  color:#75696a;
  max-width:430px;
}

.ending img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.site-footer {
  background:#362f35;
  color:#fef1eb;
  padding:52px 0 20px;
}

.footer-inner {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:35px;
}

.footer-inner strong {
  font-size:18px;
}

.footer-inner p {
  font-size:12px;
  max-width:530px;
  color:#d2c2c7;
}

.footer-links {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  font-size:12px;
}

.footer-note {
  border-top:1px solid #665961;
  padding-top:16px;
  margin-top:25px;
  font-size:11px;
  color:#cdbdc4;
}

.inner-hero {
  padding-block:40px 55px;
}

.crumb {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  color:#8c7a7d;
  margin-bottom:48px;
}

.inner-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:60px;
  align-items:center;
}

.inner-grid h1,.about-intro h1 {
  font-size:clamp(38px,5vw,62px);
  margin:20px 0;
}

.inner-desc {
  font-size:20px;
  color:var(--rose-deep);
  font-weight:700;
}

.inner-lead {
  color:var(--muted);
  line-height:2;
}

.inner-grid > img {
  width:100%;
  aspect-ratio:1.45;
  object-fit:cover;
  border-radius:23px;
}

.crosslink {
  margin-bottom:90px;
  border-top:1px solid var(--line);
  padding-top:35px;
}

.crosslink h2 {
  font-size:23px;
}

.crosslink div {
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.crosslink a {
  padding:10px 18px;
  border:1px solid var(--line);
  border-radius:30px;
  font-size:13px;
}

.article-cover {
  max-width:1000px;
  padding-block:35px 10px;
}

.article-cover h1 {
  max-width:850px;
  font-size:clamp(33px,4vw,52px);
  margin:18px 0;
}

.article-lead {
  font-size:19px;
  color:#6d6167;
  max-width:750px;
}

.article-meta {
  color:#9a8a8b;
  font-size:12px;
  margin-block:28px;
}

.article-hero-image img {
  width:100%;
  max-height:530px;
  object-fit:cover;
  border-radius:20px;
}

.article-hero-image figcaption {
  color:#9b8e90;
  font-size:11px;
  padding-top:10px;
}

.article-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:72px;
  max-width:1000px;
  padding-block:55px 95px;
}

.article-prose {
  font-size:16px;
  line-height:2.2;
  min-width:0;
}

.article-prose p {
  color:#5c5459;
}

.article-summary {
  border-left:4px solid var(--rose);
  background:#f9ebe5;
  padding:22px 26px;
  margin-bottom:50px;
}

.article-summary p {
  margin-bottom:0;
}

.prose-section {
  padding-block:15px 24px;
  border-bottom:1px solid var(--line);
  scroll-margin-top:30px;
}

.prose-section h2,.article-conclusion h2 {
  font-size:25px;
  margin:10px 0 20px;
}

.article-conclusion {
  padding-top:40px;
}

.article-conclusion a {
  color:var(--rose-deep);
  text-decoration:underline;
}

.sidebar-box {
  position:sticky;
  top:25px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
}

.sidebar-box h2 {
  font-size:20px;
  margin:10px 0;
}

.sidebar-box ol {
  padding-left:18px;
  font-size:12px;
  color:#6c6165;
}

.sidebar-box li {
  margin-block:13px;
}

.sidebar-hint {
  background:var(--cream);
  border-radius:17px;
  padding:22px;
  margin-top:20px;
  font-size:12px;
}

.sidebar-hint p {
  margin-bottom:0;
  color:#71666a;
}

.related {
  padding-top:30px;
  border-top:1px solid var(--line);
}

.about-intro {
  max-width:720px;
}

.about-intro > p:last-child {
  color:var(--rose-deep);
  font-size:18px;
}

.about-layout {
  display:grid;
  grid-template-columns:1fr .75fr;
  gap:75px;
  margin-bottom:100px;
  line-height:2.1;
}

.about-layout h2 {
  font-size:26px;
  margin-top:32px;
}

.about-layout > img {
  width:100%;
  border-radius:24px;
  object-fit:cover;
  align-self:start;
}

@media (max-width:1050px) {

.nav-links {
  gap:14px;
}

.header-inner {
  gap:15px;
}

.hero {
  gap:35px;
  min-height:auto;
}

.hero-sticker {
  width:145px;
  min-height:145px;
}

.hero-sticker strong {
  font-size:19px;
}

.intro-grid {
  gap:25px;
}

.topic-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
}

@media (max-width:760px) {

.container {
  width:min(100% - 32px,var(--content));
}

.header-inner {
  min-height:75px;
  flex-wrap:wrap;
  padding-block:12px;
}

.brand {
  font-size:20px;
}

.brand-symbol {
  width:37px;
  height:37px;
}

.header-cta {
  margin-left:auto;
}

.nav-links {
  order:3;
  flex-basis:100%;
  justify-content:space-between;
  gap:8px;
  overflow-x:auto;
  padding-bottom:5px;
}

.nav-links a {
  font-size:12px;
}

.hero,.inner-grid,.feature-layout,.ending,.about-layout {
  grid-template-columns:1fr;
}

.hero {
  padding-block:42px 65px;
  gap:28px;
}

.hero h1 {
  margin:18px 0;
}

.hero-footnote {
  margin-top:26px;
}

.hero-visual {
  padding:0 25px 28px 0;
  max-width:580px;
  width:100%;
  margin-inline:auto;
}

.hero-photo {
  aspect-ratio:1.1;
  border-radius:40% 40% 14px 14px;
}

.hero-sticker {
  width:130px;
  min-height:130px;
  bottom:36px;
}

.hero-sticker strong {
  font-size:17px;
}

.intro-band {
  padding:40px 0;
}

.intro-grid {
  grid-template-columns:1fr;
  gap:10px;
}

.vertical-tag {
  writing-mode:initial;
}

.section {
  padding-block:58px;
}

.section-heading {
  align-items:start;
  flex-direction:column;
  gap:10px;
}

.feature-large {
  min-height:400px;
}

.feature-aside {
  grid-template-columns:1fr 1fr;
  grid-template-rows:auto;
  gap:12px;
}

.note-card {
  padding:19px;
}

.note-card h3 {
  font-size:21px;
}

.feature-small {
  min-height:260px;
}

.archive-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.ending {
  gap:0;
  margin-bottom:55px;
}

.ending > div {
  padding:45px 28px;
}

.ending img {
  height:300px;
}

.article-layout {
  grid-template-columns:1fr;
  gap:25px;
  padding-block:30px 60px;
}

.article-sidebar {
  display:none;
}

.about-layout {
  gap:20px;
}

.footer-inner {
  flex-direction:column;
}
}

@media (max-width:510px) {

.hero-sub {
  font-size:27px;
}

.hero-intro {
  font-size:14px;
}

.hero-actions {
  gap:8px;
}

.button {
  padding:11px 15px;
  font-size:12px;
}

.feature-aside {
  grid-template-columns:1fr;
}

.feature-small {
  min-height:230px;
}

.feature-overlay {
  inset:auto 22px 20px;
}

.topic-grid {
  gap:10px;
}

.topic-tile {
  min-height:315px;
  padding:12px;
}

.topic-tile strong {
  font-size:20px;
}

.topic-desc {
  font-size:11px;
}

.archive-grid {
  grid-template-columns:1fr;
}

.inner-hero {
  padding-top:25px;
}

.crumb {
  margin-bottom:27px;
}

.article-cover h1 {
  font-size:31px;
}

.article-lead {
  font-size:16px;
}

.article-prose {
  font-size:15px;
}

.article-summary {
  padding:15px 19px;
}
}

@media (prefers-reduced-motion:reduce) {

html {
  scroll-behavior:auto;
}

.story-image img,.topic-tile img {
  transition:none;
}
}

/* Quality and accessibility improvements */

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

body {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
}

.hero-copy, .hero-visual, .feature-aside, .story-card, .topic-tile {
  min-width: 0;
}

@media (max-width: 380px) {

.container {
  width: calc(100% - 24px);
}

.brand {
  font-size: 18px;
}

.header-cta {
  padding-inline: 10px;
  font-size: 12px;
}

.hero-sticker {
  width: 112px;
  min-height: 112px;
}

.hero-sticker strong {
  font-size: 15px;
}

.nav-links {
  gap: 16px;
  justify-content: flex-start;
}
}

/* Quality and accessibility improvements */
html {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-wrap: break-word;
}
:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
}
.hero-copy, .hero-visual, .feature-aside, .story-card, .topic-tile {
  min-width: 0;
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }
  .brand {
    font-size: 18px;
  }
  .header-cta {
    padding-inline: 10px;
    font-size: 12px;
  }
  .hero-sticker {
    width: 112px;
    min-height: 112px;
  }
  .hero-sticker strong {
    font-size: 15px;
  }
  .nav-links {
    gap: 16px;
    justify-content: flex-start;
  }
}
