@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("./fonts/noto-nastaliq-urdu-arabic.woff2") format("woff2");
  font-display: swap;
}
body.archive-page { margin: 0; background: #fff; color: #f6e2bd; }
.archive-shell {
  width: min(100%, 768px);
  min-height: 100vh;
  margin-inline: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Noto Nastaliq Urdu", serif;
  line-height: 2.1;
  background: url("./botanical-paper.svg") center / 72px auto repeat,
    radial-gradient(ellipse at 58% 36%, #6b2424, #3b0c0a 73%, #2c0807);
}
.home-main { padding: clamp(2rem, 7vw, 4.5rem) clamp(1.4rem, 5vw, 2.75rem) 1rem; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.4rem, 5vw, 3rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #cfa16b82;
  outline: 1px solid #cfa16b38;
  outline-offset: 5px;
  background: #25060526;
}
.home-portrait { position: relative; margin: 0; isolation: isolate; }
.home-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 5px ridge #e3bd86;
  box-shadow: 0 8px 30px #2105008c;
}
.home-portrait::before, .home-portrait::after {
  content: "";
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  background: url("./frame-roses-and-lilies.webp") center / contain no-repeat;
  pointer-events: none;
  z-index: -1;
}
.home-portrait::before { top: -12%; right: -15%; transform: scaleX(-1); }
.home-portrait::after { bottom: -12%; left: -15%; transform: scaleY(-1); }
.home-intro { min-width: 0; text-align: center; }
.home-intro h1 { margin: 0; font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 400; line-height: 1.75; }
.home-caption { margin: 0; color: #e2b783; }
.home-divider { width: min(78%, 230px); margin: .45rem auto; display: block; }
.home-message { margin: .6rem auto 1.05rem; max-width: 22em; font-size: .98rem; }
.home-events { display: grid; gap: 1rem; }
.home-event > :is(p, h2) { margin: 0; }
.home-event time { color: #f2cf99; }
.home-event p { font-size: .93rem; }
.home-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 46px;
  margin-top: .85rem;
  padding: .3rem 1.2rem;
  border-radius: 2px;
  background: #ecc58e;
  color: #390c08;
  text-decoration: none;
}
.home-link:hover { background: #ffdaa3; }
.home-link:focus-visible { outline: 2px solid #fff2d5; outline-offset: 4px; }
.archive-shell .site-footer {
  padding: .65rem 1rem 1.45rem;
  color: #e2b783;
  background: transparent;
  border: 0;
}
@media (max-width: 560px) {
  .home-main { padding-top: 1.8rem; }
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 1.55rem; }
  .home-portrait { width: min(60%, 174px); margin: .5rem auto 0; }
  .home-intro h1 { font-size: clamp(2rem, 9vw, 3rem); }
}
