@font-face { font-family: "Big Shoulders"; src: url("fonts/display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/body.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --navy: #13243d; --red: #d01f2e; --red-dark: #a81521; --white: #fff; --soft: #d5deea; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--navy); color: var(--white); }
body { font: 400 1rem/1.4 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

/* Fills one screen. The photo gives up height first; very short phones may scroll rather than clip the disclosure. */
.lander {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) 20px max(12px, env(safe-area-inset-bottom));
  max-width: 520px; margin-inline: auto;
}
h1 { display: block; text-align: center; font-family: "Big Shoulders", "Arial Narrow", Impact, sans-serif; font-weight: 900; line-height: .9; }
h1 span { display: block; }
.kicker { font-size: min(10vw, 6.2dvh); letter-spacing: .01em; }
.amount { margin-block: .07em .06em; font-size: min(42vw, 19dvh); line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }

.photo { position: relative; flex: 1 1 0; min-height: 90px; }
/* Fades on all sides, so the photo's own backdrop melts into the page at any size. */
.photo img {
  position: absolute; inset: 0; margin: auto; display: block;
  height: 100%; width: auto; max-width: 100%; aspect-ratio: 1000 / 969; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side at 50% 52%, #000 74%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 52%, #000 74%, transparent 100%);
}

.body { text-align: center; font-size: 1.0625rem; line-height: 1.35; }
.cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 62px; margin-top: 10px; padding: 12px 20px;
  background: var(--red); color: var(--white); border-radius: 999px; box-shadow: 0 5px 0 var(--red-dark);
  font: 800 1.75rem/1 "Big Shoulders", "Arial Narrow", Impact, sans-serif; letter-spacing: .025em; text-align: center; text-decoration: none;
  transition: transform .1s ease, box-shadow .1s ease;
}
.cta:hover { background: #bb1a28; }
.cta:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--red-dark); }
.fine { margin-top: 14px; color: var(--soft); font-size: .75rem; line-height: 1.32; }

@media (max-height: 600px) and (max-width: 899px) {
  .body { font-size: .9375rem; }
  .cta { min-height: 54px; margin-top: 8px; font-size: 1.5rem; }
  .fine { margin-top: 10px; font-size: .6875rem; }
}

@media (min-width: 900px) {
  .lander {
    max-width: 1180px; padding-inline: 48px;
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 40px;
    align-content: center;
  }
  h1 { grid-column: 1; grid-row: 1; align-self: end; text-align: left; }
  .kicker { font-size: min(5vw, 9dvh, 4rem); }
  .amount { font-size: min(18vw, 31dvh, 15rem); }
  .action { grid-column: 1; grid-row: 2; padding-top: 18px; }
  .body { text-align: left; font-size: 1.25rem; }
  .cta { max-width: 460px; }
  .fine { font-size: .8125rem; max-width: 60ch; }
  .photo { grid-column: 2; grid-row: 1 / span 2; min-height: 70dvh; }
}
