:root {
  color: #191916;
  background: #f4f1e9;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  --ink: #191916;
  --paper: #f4f1e9;
  --red: #c94732;
  --line: #d8d3c7;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body { min-height: 100vh; margin: 0; }

a { color: inherit; }

.splash {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  padding: 0 clamp(24px, 5vw, 76px);
  overflow: hidden;
}

.masthead {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: grid;
  grid-template-columns: 52px auto;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #aaa59a;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
}

.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; }
.brand-copy small, .domain { color: #77746d; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.hero {
  position: relative;
  top: -48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  padding: clamp(30px, 4vh, 52px) 0;
}

.hero-copy { position: relative; z-index: 2; }

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 8.2vw, 132px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .86;
}

.intro {
  max-width: 570px;
  margin: 26px 0 28px;
  color: #626058;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.5;
}

.amazon-link {
  display: inline-flex;
  min-height: 62px;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 27px;
  color: #fff;
  background: var(--red);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.amazon-link:hover, .amazon-link:focus-visible { background: #a93423; outline: none; transform: translateY(-2px); }
.amazon-link span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.arrow { font-size: 23px; }

.visual {
  position: relative;
  min-height: 480px;
  align-self: stretch;
  border-left: 1px solid var(--line);
}

.book {
  position: absolute;
  display: flex;
  width: min(280px, 25vw);
  aspect-ratio: .68;
  flex-direction: column;
  padding: 32px;
  box-shadow: 0 30px 48px #28251d2b;
}

.book-back {
  top: 6%;
  left: 20%;
  color: #716b60;
  background: #ddd6c7;
  transform: rotate(7deg);
}

.book-back span { margin-top: auto; font-family: Georgia, serif; font-size: 13px; }

.book-front {
  top: 10%;
  left: 7%;
  color: #f6efe2;
  background:
    linear-gradient(180deg, #18202070, #182020c7),
    url("assets/paul-mostinski-reading.png") 44% center / cover no-repeat;
  transform: rotate(-6deg);
}

.book-title { margin-top: auto; font-family: Georgia, serif; font-size: clamp(33px, 3vw, 49px); line-height: .95; }
.book-year { margin-top: 28px; color: #aaa393; font-size: 9px; letter-spacing: .2em; }

.visual p {
  position: absolute;
  right: 0;
  bottom: 44px;
  margin: 0;
  color: #8a867d;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
  text-align: right;
}

footer {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  color: #8a867d;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero { top: 0; grid-template-columns: 1fr; padding-top: 46px; }
  .visual { min-height: 390px; border-top: 1px solid var(--line); border-left: 0; }
  .book { width: 230px; }
  .book-back { left: 42%; }
  .book-front { left: 24%; }
}

@media (max-width: 560px) {
  .splash { padding-inline: 20px; }
  .masthead { min-height: 76px; }
  .brand { grid-template-columns: 42px auto; gap: 10px; }
  .brand-mark { width: 42px; height: 42px; font-size: 18px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small, .domain { font-size: 8px; }
  .domain { display: none; }
  .hero { gap: 52px; padding-block: 42px; }
  h1 { font-size: clamp(56px, 18vw, 78px); }
  .intro { margin-top: 28px; font-size: 18px; }
  .amazon-link { width: 100%; gap: 14px; }
  .visual { min-height: 340px; }
  .book { width: 180px; padding: 23px; }
  .book-back { left: 31%; }
  .book-front { left: 7%; }
  .book-title { font-size: 31px; }
  .visual p { font-size: 12px; }
  footer { gap: 16px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .amazon-link { transition: none; }
}
