* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

img, a, .card {
  -webkit-user-drag: none;
  user-select: none;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #e9e9e9;
  color: #111111;
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.home-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 20px 36px;
}

.brand {
  text-align: center;
  margin-bottom: 44px;
}

.brand h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand p {
  margin: 8px 0 0;
  font-size: clamp(0.98rem, 1.55vw, 1.2rem);
  color: #2f2f2f;
  font-weight: 400;
}

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

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 2px solid #222222;
  background: #ececec;
  padding: 14px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #dfdfdf;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: block;
  object-fit: cover;
}

.preview.apology {
  background: #f5ebe5;
  position: relative;
  overflow: hidden;
}

.preview.apology::before {
  content: "For Shree";
  position: absolute;
  left: 10%;
  top: 14%;
  width: 80%;
  height: 72%;
  border-radius: 8px;
  background: #f04543;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Caveat", cursive;
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 18px rgba(160, 55, 48, 0.25);
}

.apology-stamp {
  position: absolute;
  right: 13%;
  top: 17%;
  width: clamp(34px, 7.2vw, 56px);
  height: clamp(34px, 7.2vw, 56px);
  background: #fdf6ee;
  color: #c0392b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  clip-path: polygon(
    0% 10%, 5% 5%, 10% 10%, 15% 5%, 20% 10%, 25% 5%, 30% 10%, 35% 5%, 40% 10%, 45% 5%, 50% 10%, 55% 5%, 60% 10%, 65% 5%, 70% 10%, 75% 5%, 80% 10%, 85% 5%, 90% 10%, 95% 5%, 100% 10%,
    95% 15%, 100% 20%, 95% 25%, 100% 30%, 95% 35%, 100% 40%, 95% 45%, 100% 50%, 95% 55%, 100% 60%, 95% 65%, 100% 70%, 95% 75%, 100% 80%, 95% 85%, 100% 90%,
    95% 95%, 90% 90%, 85% 95%, 80% 90%, 75% 95%, 70% 90%, 65% 95%, 60% 90%, 55% 95%, 50% 90%, 45% 95%, 40% 90%, 35% 95%, 30% 90%, 25% 95%, 20% 90%, 15% 95%, 10% 90%, 5% 95%, 0% 90%,
    5% 85%, 0% 80%, 5% 75%, 0% 70%, 5% 65%, 0% 60%, 5% 55%, 0% 50%, 5% 45%, 0% 40%, 5% 35%, 0% 30%, 5% 25%, 0% 20%, 5% 15%
  );
}

.apology-stamp-icon {
  font-size: clamp(0.76rem, 1.7vw, 1rem);
  line-height: 1;
}

.apology-stamp-year {
  font-size: clamp(0.42rem, 0.95vw, 0.58rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.preview.letters {
  background: linear-gradient(160deg, #d7e9ff 0%, #fff1da 100%);
  position: relative;
  overflow: hidden;
}

.preview.letters::before {
  content: "Letters";
  position: absolute;
  left: 12%;
  top: 18%;
  color: #30435f;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

.preview.letters::after {
  content: "📬";
  position: absolute;
  right: 12%;
  bottom: 12%;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
}

.meta {
  padding: 12px 0 4px;
}

.meta h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
}

.meta p {
  margin: 6px 0 0;
  color: #2f2f2f;
  font-size: clamp(0.96rem, 1.6vw, 1.1rem);
}

@media (max-width: 900px) {
  .home-wrap {
    padding-top: 54px;
  }

  .grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
}
