* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
}

body {
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
}

.blessing-page {
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(120px, 42vw) minmax(180px, 1fr);
  align-items: stretch;
  background: #ffffff;
}

.image-panel,
.text-panel {
  min-width: 0;
  height: 100%;
}

.image-panel {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(10px, 2vw, 32px) 0 0 clamp(6px, 2vw, 32px);
  overflow: hidden;
}

.image-panel img {
  display: block;
  width: auto;
  height: min(98vh, 98svh);
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.text-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(12px, 4vw, 72px);
}

.text-panel h1 {
  margin: 0;
  max-width: 15ch;
  color: #000000;
  font-size: clamp(1.15rem, 7vw, 6.75rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-wrap: balance;
}

@media (max-width: 520px) {
  .blessing-page {
    grid-template-columns: 42vw 58vw;
  }

  .text-panel {
    padding: 14px 10px 14px 4px;
  }

  .text-panel h1 {
    max-width: 11ch;
    font-size: clamp(1.15rem, 8.6vw, 3rem);
    line-height: 0.92;
  }
}
