@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@200;300;400&family=Ma+Shan+Zheng&family=Caveat:wght@400;500&display=swap');

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

:root {
  --bg: #FBF9F6;
  --film-warm: #F0E9DE;
  --tape: #E8DCC8;
  --text: #4A3F36;
  --text-light: #8A7F72;
  --ink: #6B5C4E;
  --pink: #E8C5B5;
  --pink-light: #F5E0D6;
  --blue: #B5C8D5;
  --blue-light: #E0EDF5;
  --mint: #D4E8E0;
  --mint-light: #EAF5F0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif SC', serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ===== Film strip left decoration ===== */
.film-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 18px,
    rgba(216,208,196,0.25) 18px,
    rgba(216,208,196,0.25) 20px
  );
  z-index: 100;
  pointer-events: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 10vh 5vw;
}

.hero-photo {
  width: min(65vw, 460px);
  aspect-ratio: 3/4;
  position: relative;
  margin-bottom: 3.5rem;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 8px solid white;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  filter: saturate(0.9) contrast(0.95) sepia(0.05);
}

.hero-photo .tape {
  position: absolute;
  width: 55px;
  height: 22px;
  background: var(--tape);
  opacity: 0.65;
}

.hero-photo .tape-1 { top: -7px; left: 22%; transform: rotate(-3deg); }
.hero-photo .tape-2 { top: -7px; right: 22%; transform: rotate(4deg); }

.hero-photo .date-stamp {
  position: absolute;
  bottom: 18px;
  right: 20px;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: rgba(255,150,50,0.65);
}

.hero h1 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.hero .sub {
  font-family: 'Caveat', cursive;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-top: 0.6rem;
}

.hero .tagline {
  font-family: 'Noto Serif SC', serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-top: 1.2rem;
  max-width: 320px;
  line-height: 2;
}

/* ===== SECTION COMMON ===== */
section { padding: 10vh 10vw; position: relative; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  min-height: 70vh;
}

.about-card {
  background: white;
  border-radius: 20px;
  padding: 3.5rem 2.8rem;
  box-shadow: 0 10px 50px rgba(107,92,78,0.06);
  position: relative;
}

.about-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  border-radius: 2px;
}

.about-card h2 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 1.8rem;
  color: var(--ink);
}

.about-card p {
  font-size: 0.95rem;
  line-height: 2.4;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  height: 58vh;
}

.about-images .img-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.about-images .img-wrap:first-child { border-radius: 16px 16px 4px 16px; }
.about-images .img-wrap:last-child { border-radius: 16px 16px 16px 4px; margin-top: 2.5rem; }

.about-images .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) sepia(0.04);
  transition: transform 0.5s;
}

.about-images .img-wrap:hover img { transform: scale(1.04); }

.about-images .img-wrap .tape {
  position: absolute;
  width: 45px;
  height: 18px;
  background: var(--tape);
  opacity: 0.55;
  top: 8px;
  left: 20%;
  transform: rotate(-2deg);
  z-index: 2;
}

/* ===== DIARY ENTRIES ===== */
.diary {
  max-width: 880px;
  margin: 0 auto;
  padding: 6vh 2rem;
}

.diary-entry {
  display: flex;
  gap: 3rem;
  margin-bottom: 7vh;
  align-items: flex-start;
}

.diary-entry:nth-child(even) { flex-direction: row-reverse; }

.diary-photo {
  flex-shrink: 0;
  width: 52%;
  position: relative;
}

.diary-photo img {
  width: 100%;
  height: auto;
  border: 6px solid white;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.05);
  filter: saturate(0.85) sepia(0.06);
  transition: filter 0.4s;
}

.diary-photo:hover img { filter: saturate(1) sepia(0); }

.diary-photo .tape {
  position: absolute;
  width: 48px;
  height: 18px;
  background: var(--tape);
  opacity: 0.55;
  top: -5px;
  left: 30%;
  transform: rotate(-2deg);
}

.diary-text {
  flex: 1;
  padding-top: 1.8rem;
}

.diary-text .date {
  font-family: 'Caveat', cursive;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.diary-text .note {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
  line-height: 2;
}

.diary-text .note::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--pink);
  margin-top: 1.2rem;
  opacity: 0.5;
}

/* ===== ENCOUNTER — 相遇的方式 ===== */
.encounter {
  text-align: center;
  padding: 10vh 8vw;
}

.encounter h2 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: 0.2em;
  margin-bottom: 4rem;
}

.encounter-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.enc-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 220px;
  min-width: 170px;
  flex: 1;
  position: relative;
  box-shadow: 0 6px 30px rgba(107,92,78,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.enc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.enc-card:nth-child(1)::after { background: var(--pink); }
.enc-card:nth-child(2)::after { background: var(--blue); }
.enc-card:nth-child(3)::after { background: var(--mint); }

.enc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(107,92,78,0.09);
}

.enc-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
}

.enc-card:nth-child(1) .dot { background: var(--pink); }
.enc-card:nth-child(2) .dot { background: var(--blue); }
.enc-card:nth-child(3) .dot { background: var(--mint); }

.enc-card h3 {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.enc-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 2;
}

/* ===== TESTIMONIALS — 他们说 ===== */
.testimonials {
  padding: 10vh 10vw;
  text-align: center;
}

.testimonials .section-title {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.testimonials .section-title-en {
  font-family: 'Caveat', cursive;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.3em;
  margin-bottom: 4rem;
}

.testimonials-row {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.review-card {
  background: white;
  border-radius: 4px 16px 16px 16px;
  padding: 2.2rem 2rem 2rem;
  max-width: 260px;
  min-width: 200px;
  flex: 1;
  position: relative;
  box-shadow: 3px 3px 0 var(--tape), 0 8px 30px rgba(107,92,78,0.06);
  text-align: left;
}

.review-card .tape {
  position: absolute;
  width: 44px;
  height: 17px;
  background: var(--tape);
  opacity: 0.6;
  top: -6px;
  left: 16px;
  transform: rotate(-1.5deg);
}

.review-card:nth-child(2) .tape { transform: rotate(1deg); left: auto; right: 16px; background: var(--blue); }
.review-card:nth-child(3) .tape { transform: rotate(-2deg); background: var(--mint); }

.review-card .quote-mark {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.review-card:nth-child(2) .quote-mark { color: var(--blue); }
.review-card:nth-child(3) .quote-mark { color: var(--mint); }

.review-card p {
  font-size: 0.88rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.review-card .reviewer {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* ===== CONTACT — 找到我 ===== */
.contact {
  padding: 10vh 10vw;
  text-align: center;
}

.contact .section-title {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.contact .section-title-en {
  font-family: 'Caveat', cursive;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.3em;
  margin-bottom: 4rem;
}

.contact-inner {
  display: flex;
  gap: 5vw;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.qr-box {
  width: 180px;
  height: 180px;
  background: var(--film-warm);
  border: 8px solid white;
  box-shadow: 0 6px 30px rgba(107,92,78,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qr-box .tape {
  position: absolute;
  width: 48px;
  height: 18px;
  background: var(--tape);
  opacity: 0.6;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
}

.qr-box .placeholder-text {
  font-family: 'Caveat', cursive;
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.8;
  padding: 1rem;
}

.qr-label {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.82rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  padding-top: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 16px rgba(107,92,78,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-item .label {
  font-family: 'Noto Serif SC', serif;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-item .value {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--ink);
}

/* ===== QUOTE ===== */
.quote-section {
  max-width: 680px;
  margin: 6vh auto 8vh;
  padding: 4rem 3rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(107,92,78,0.05);
  position: relative;
  text-align: center;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 25%;
  right: 25%;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue), var(--mint));
  border-radius: 2px;
}

.quote-section .tape {
  position: absolute;
  width: 48px;
  height: 18px;
  background: var(--tape);
  opacity: 0.5;
}

.quote-section .tape-1 { top: -5px; left: 12%; transform: rotate(-3deg); }
.quote-section .tape-2 { top: -5px; right: 12%; transform: rotate(5deg); }

.quote-section blockquote {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 2.2;
  color: var(--ink);
  padding: 1rem 0;
}

.quote-section .sig {
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 5rem 4rem 3rem;
}

footer .footer-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  margin: 0 auto 1.5rem;
  border-radius: 1px;
}

footer p {
  font-family: 'Caveat', cursive;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 0.15em;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about { grid-template-columns: 1fr; }
  .about-images { height: 40vh; }
  .diary-entry,
  .diary-entry:nth-child(even) { flex-direction: column; }
  .diary-photo { width: 100%; }
  .encounter-row { flex-direction: column; align-items: center; }
  .testimonials-row { flex-direction: column; align-items: center; }
  .film-strip { display: none; }
  section { padding: 8vh 6vw; }
  .encounter { padding: 8vh 6vw; }
  .testimonials { padding: 8vh 6vw; }
  .contact { padding: 8vh 6vw; }
  .contact-inner { flex-direction: column; align-items: center; }
  .contact-info { text-align: center; }
  .contact-item { flex-direction: column; text-align: center; }
  .quote-section { margin: 4vh 6vw; padding: 2.5rem 1.8rem; }
}

@media (max-width: 480px) {
  .hero-photo { width: 80vw; }
  .diary { padding: 4vh 0; }
  .enc-card { min-width: 90%; }
  .review-card { min-width: 90%; }
}
