/* Holding page. Colours are design tokens (tokens.css); fonts are self-hosted (no third-party requests). */

@font-face { font-family: "Josefin Sans"; font-weight: 700; font-display: swap; src: url("/fonts/josefin-sans-700.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-display: swap; src: url("/fonts/dm-sans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-display: swap; src: url("/fonts/dm-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 600; font-display: swap; src: url("/fonts/caveat-600.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-gold-100);
  color: var(--color-purple-800);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

main { max-width: 60rem; margin: 0 auto; padding: 3rem 1rem 2rem; text-align: center; }

h1, h2 { font-family: "Josefin Sans", system-ui, sans-serif; font-weight: 700; color: var(--color-purple-600); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0.75rem 0 0.25rem; text-transform: none; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 1rem; text-transform: none; }

.hero__bear { width: 11rem; height: auto; }
.tagline { font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(1.6rem, 4.5vw, 2.2rem); color: var(--color-gold-800); margin: 0; }

.intro { max-width: 38rem; margin: 2rem auto 2.5rem; }
.intro p { margin: 0 0 1rem; }
.arriving { font-weight: 500; color: var(--color-purple-600); }

.covers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 46rem) { .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .covers { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.covers img { width: 100%; height: auto; display: block; border-radius: 0.5rem; box-shadow: 0 0.4rem 1.2rem rgb(0 0 0 / 0.18); }
.covers span { display: block; margin-top: 0.5rem; font-size: 0.95rem; font-weight: 500; }

.soon { max-width: 38rem; margin: 3rem auto 1rem; padding: 1.5rem; background: var(--color-gold-200); border-radius: 1rem; }
.soon p { margin: 0 0 0.75rem; }
.follow { margin-bottom: 0; }

a { color: var(--color-purple-600); font-weight: 500; text-underline-offset: 0.2em; }
a:hover { color: var(--color-purple-800); }
a:focus-visible { outline: 3px solid var(--color-gold-700); outline-offset: 3px; border-radius: 2px; }

.footer { max-width: 44rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; text-align: center; font-size: 0.85rem; line-height: 1.5; }
.footer p { margin: 0 0 0.5rem; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
