/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Dilemma';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://superspeciosa.com/cdn/shop/files/Dilemma-SansBold.otf?v=1718382000) format('opentype');
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Dilemma', Arial, Helvetica, sans-serif;
  background-color: #f6f0df;          /* matches banner background */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* ---------- Hero / banner ---------- */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner,
.banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Button ---------- */
.action {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 18%;
  min-width: 200px;
  padding: 15px 32px;

  border: none;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;

  color: #f4f1de;
  background-color: #212c1c;
  font-family: 'Dilemma', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;

  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.action:hover { background-color: #2f3f28; }

.action:focus-visible {
  outline: 3px solid #8ab83f;
  outline-offset: 3px;
}

.action:active { transform: translateX(-50%) scale(0.98); }

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.action:hover .arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */
footer {
  background-color: #8ab83f;
  padding: 6px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
}

.links {
  display: flex;
  justify-content: center;
}

footer .links a {
  font-family: 'Dilemma', Arial, Helvetica, sans-serif;
  color: #000;
  font-size: 18px;
  text-decoration: none;
  padding: 8px 12px;                  /* bigger tap target on mobile */
}

footer .links a:hover,
footer .links a:focus-visible {
  text-decoration: underline;
}

/* ---------- Tablet ---------- */
@media screen and (max-width: 1024px) {
  .action {
    width: 26%;
    font-size: 20px;
    padding: 13px 24px;
  }
}

/* ---------- Mobile ---------- */
@media screen and (max-width: 768px) {

  /* Show the whole banner at its natural ratio (700x1200).
     Because nothing is cropped, a % position on the hero always lands
     on the same spot of the artwork, on every phone width. */
  .hero {
    height: auto;
    max-height: none;
    aspect-ratio: 700 / 1200;
  }

  .banner,
  .banner img {
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  /* Button sits in the empty cream area under the paragraph text */
  .action {
    top: auto;
    bottom: 13%;
    width: min(70%, 320px);
    min-width: 0;
    padding: clamp(10px, 3vw, 14px) 16px;
    font-size: clamp(15px, 4.6vw, 20px);
  }

  footer .links a {
    font-size: 16px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .action,
  .arrow { transition: none; }
}