/* The Photoshop homepage direction. Archive and post styles stay in style.css. */
.home-wrap { width: min(1760px, calc(100% - 36px)); margin-inline: auto; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .43fr) minmax(0, .57fr);
  gap: 4.8%;
  align-items: start;
  padding-top: clamp(90px, 13vw, 205px);
  padding-bottom: clamp(90px, 9vw, 145px);
}
.home-copy { position: relative; padding-top: 12px; }
.home-copy .kicker { font-size: clamp(10px, .9vw, 15px); margin-bottom: clamp(30px, 3.2vw, 50px); }
.home-copy h1 { margin: 0 0 clamp(32px, 3.2vw, 50px); line-height: 1; }
.home-copy h1 img { display: block; width: 100%; height: auto; }
.home-tagline {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font: 400 clamp(14px, 1.35vw, 22px)/2.05 Georgia, "Times New Roman", serif;
  letter-spacing: .07em;
}
.home-photo { position: relative; min-width: 0; margin: 0; }
.home-collage { display: block; width: 100%; height: auto; }
.home-decoration { position: absolute; height: auto; pointer-events: none; }
.home-asterisk { width: 21%; left: 62%; top: calc(100% - 12px); transform: rotate(-6deg); }
.home-star { width: 16%; top: -11%; right: 4%; transform: rotate(8deg); }
.home-cross { width: 12%; bottom: -11%; left: 12%; transform: rotate(-4deg); }

/* Staggered little bounces and wiggles, like loose paper shapes. */
@media (prefers-reduced-motion: no-preference) {
  .home-asterisk { animation: home-sway 3.4s ease-in-out -.8s infinite; }
  .home-star { animation: home-twinkle 2.6s ease-in-out -1.4s infinite; }
  .home-cross { animation: home-rock 3.1s ease-in-out -2s infinite; }
}

@keyframes home-sway {
  0%, 100% { transform: translate(-3px, 0) rotate(-15deg) scale(1); }
  35% { transform: translate(5px, -4px) rotate(6deg) scale(1.045); }
  60% { transform: translate(0, 1px) rotate(-10deg) scale(1); }
  80% { transform: translate(-3px, -2px) rotate(0deg) scale(1.02); }
}

@keyframes home-twinkle {
  0%, 100% { transform: translateY(0) rotate(-3deg) scale(.94); opacity: .94; }
  35% { transform: translateY(-4px) rotate(20deg) scale(1.12); opacity: 1; }
  65% { transform: translateY(1px) rotate(1deg) scale(.98); opacity: .97; }
}

@keyframes home-rock {
  0%, 100% { transform: translate(-2px, 2px) rotate(-14deg); }
  30% { transform: translate(3px, -6px) rotate(10deg); }
  55% { transform: translate(0, 0) rotate(-7deg); }
  75% { transform: translate(-2px, -2px) rotate(3deg); }
}

.home-years {
  padding: 20px 24px 14px;
  margin-bottom: 30px;
  background: #eae8da;
  border-radius: 22px;
}
.home-years > .kicker { margin-bottom: 14px; }
.home-years .years { gap: 12px; }
.home-years .year { padding: 13px 14px 10px; border-color: #9ba381; }
.home-years .year.available::after { top: 9px; right: 14px; }
.home-years .year:hover { background: rgba(255,255,255,.3); }
.home-years .year:focus-visible { border-radius: 4px; }
.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.home-footer a { text-underline-offset: 4px; }

@media (min-width: 1440px) {
  .home-years { padding: 26px 32px 20px; border-radius: 30px; }
  .home-years > .kicker { font-size: 12px; }
  .home-years .year strong { font-size: 34px; }
  .home-years .year span { font-size: 13px; }
}

@media (max-width: 700px) {
  .home-hero { grid-template-columns: 1fr; gap: 62px; padding-top: 58px; padding-bottom: 64px; }
  .home-copy { padding-top: 0; }
  .home-copy .kicker { margin-bottom: 28px; }
  .home-copy h1 { max-width: 480px; margin-bottom: 26px; }
  .home-tagline { max-width: 88%; font-size: 14px; }
  .home-asterisk { width: 48px; left: auto; right: 0; top: auto; bottom: -26px; }
  .home-star { width: 14%; top: -10%; right: 3%; }
  .home-cross { width: 12%; bottom: -10%; }
  .home-years { padding: 20px 18px 12px; margin-bottom: 26px; border-radius: 20px; }
  .home-years .years { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-years .year { min-width: 0; }
  .home-footer { font-size: 10px; }
}
