@font-face {
  font-family: "Arab Dances";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/arab-dances.ttf") format("truetype");
}

:root {
  --green: #124b44;
  --white: #ffffff;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--green);
  color: var(--white);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.hero {
  width: min(680px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Arab Dances", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.subtitle {
  margin: 0.75rem 0 2rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
}

.book-frame {
  width: min(340px, 100%);
  aspect-ratio: 2 / 3;
  margin: 0 auto 2rem;
  overflow: hidden;
  background: transparent;
  display: block;
}

.book-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.buy-button {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  text-decoration: none;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: 2px solid var(--white);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.buy-button:hover,
.buy-button:focus-visible {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-word;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  hyphens: auto;
}

.hero-copy p + p {
  margin-top: 1.25rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2rem 1.5rem 3rem;
  font-size: 0.88rem;
}

.footer-inner {
  width: min(820px, 100%);
  margin: 0 auto;
}

.footer-inner p {
  margin: 0 0 0.75rem;
  max-width: 48rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

.footer-note {
  margin-bottom: 0;
}

.site-footer a {
  color: inherit;
}
