* { box-sizing: border-box; }
body { margin: 0; background: #000; color: #fff; font: 16px system-ui, sans-serif; }
main {
  display: grid;
  width: min(100%, 430px);
  height: min(100vh, 760px);
  height: min(100svh, 760px);
  margin: auto;
}
.photo-frame, section { grid-area: 1 / 1; min-height: 0; }
.photo-frame { position: relative; }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 23%,
    rgba(0, 0, 0, .06) 34%,
    rgba(0, 0, 0, .22) 46%,
    rgba(0, 0, 0, .48) 58%,
    rgba(0, 0, 0, .76) 71%,
    rgba(0, 0, 0, .85) 84%,
    rgba(0, 0, 0, .93) 100%);
  pointer-events: none;
}
.photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
section {
  position: relative;
  align-self: end;
  text-align: center;
  padding: 0 10px calc(clamp(36px, 8svh, 64px) + env(safe-area-inset-bottom));
}
h1 { margin: 12px 0 6px; font-size: 28px; }
.tagline { margin: 0 0 20px; font-size: 17px; font-style: italic; color: #ddd; }
.button { display: block; padding: 17px 12px; border-radius: 14px; background: #fff; color: #000; font-size: 23px; line-height: 1.2; font-weight: 800; text-decoration: none; }
.button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (max-width: 600px) {
  main { width: 100%; height: 100vh; height: 100dvh; }
}
