/* Fresh-upload surfaces and compact archive navigation. */

.home-fresh {
  padding: 0 0 96px;
}

.home-fresh-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

.home-fresh-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 10px 0 0;
}

.home-fresh-head p {
  color: var(--muted);
  max-width: 420px;
  margin: 0;
}

.home-fresh-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-fresh-card {
  aspect-ratio: 0.82;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #ebe8ef;
  box-shadow: 0 12px 28px rgba(31, 27, 45, 0.07);
  position: relative;
}

.home-fresh-card:nth-child(2n) { transform: translateY(8px); }
.home-fresh-card:nth-child(3n) { transform: translateY(-4px); }

.home-fresh-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.home-fresh-card:hover img { transform: scale(1.035); }

.home-fresh-card span {
  position: absolute;
  inset: auto 10px 10px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(20, 18, 29, 0.68);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.nephew-messages {
  padding: 34px 0 96px;
}

.nephew-messages-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(216, 201, 240, 0.22), transparent 28%),
    linear-gradient(135deg, #19394d, #315b78 56%, #685a82);
  box-shadow: var(--shadow);
}

.nephew-messages .section-label {
  color: #d8c9f0;
}

.nephew-messages-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 14px 0 22px;
}

.nephew-messages-copy p {
  color: rgba(255,255,255,0.72);
  max-width: 470px;
  margin: 0;
}

.nephew-signoff {
  margin-top: 26px;
  color: #d8c9f0;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}

.nephew-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nephew-video-card {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}

.nephew-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  object-fit: cover;
  background: #0f1820;
  display: block;
}

.nephew-video-card figcaption {
  padding: 11px 14px 13px;
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.album-jumpbar-wrap {
  position: relative;
  z-index: 4;
  margin-top: -22px;
}

.album-jumpbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.album-jumpbar strong {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}

.album-jumps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.album-jumps a {
  text-decoration: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #fff;
}

.album-jumps a:hover { color: var(--ink); }

#living-archive,
#recent,
#gallery { scroll-margin-top: 24px; }

@media (max-width: 980px) {
  .home-fresh-strip { grid-template-columns: repeat(3, 1fr); }
  .nephew-messages-grid { grid-template-columns: 1fr; gap: 28px; }
  .nephew-messages-copy { text-align: center; }
  .nephew-messages-copy p { margin-inline: auto; }
}

@media (max-width: 680px) {
  .home-fresh { padding-bottom: 74px; }
  .home-fresh-head { align-items: start; flex-direction: column; gap: 10px; }
  .home-fresh-strip { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .home-fresh-card { border-radius: 13px; }
  .home-fresh-card:nth-child(n) { transform: none; }
  .home-fresh-card span { display: none; }
  .nephew-messages { padding: 16px 0 74px; }
  .nephew-messages-grid { width: min(100% - 28px, 1180px); padding: 24px 16px; border-radius: 24px; }
  .nephew-video-grid { gap: 8px; }
  .nephew-video-card { border-radius: 15px; }
  .nephew-video-card video { max-height: 300px; }
  .nephew-video-card figcaption { font-size: 0.58rem; padding: 9px 10px; }
  .album-jumpbar-wrap { margin-top: -10px; }
  .album-jumpbar { align-items: stretch; flex-direction: column; border-radius: 16px; }
  .album-jumps { justify-content: flex-start; }
}
