@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #fbf8f2;
  --ivory: #fffdf8;
  --ink: #2f2925;
  --muted: #776b62;
  --wine: #7b2f32;
  --wine-dark: #4f1f22;
  --gold: #b89a5e;
  --line: #e4d8c7;
  --shadow: 0 18px 42px rgba(61, 37, 25, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(184, 154, 94, 0.18), transparent 34rem),
    linear-gradient(180deg, #f3eee5 0%, #fbf8f2 45%, #efe5d8 100%);
  font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wine-dark);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

a:hover {
  color: var(--wine);
}

.site-header {
  padding: 36px 16px 24px;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.95), rgba(255, 253, 248, 0.74));
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
}

.imprint {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header h1 {
  margin: 0;
  color: var(--wine-dark);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.25rem, 7vw, 4.7rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.01em;
}

.subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.18rem, 3vw, 1.65rem);
}

.author {
  margin: 6px 0 18px;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav > a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.nav-divider {
  color: var(--line);
}

main {
  width: min(1040px, calc(100% - 28px));
  margin: 34px auto 0;
}

.hero-card,
.amazon-section,
.essay {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(260px, 1.08fr);
  gap: 34px;
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
}

.cover-area {
  text-align: center;
}

.book-cover {
  width: min(320px, 86%);
  border-radius: 8px;
  box-shadow: 0 20px 36px rgba(42, 31, 23, 0.22);
}

.series-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-area h2,
.amazon-section h2,
.essay h2 {
  color: var(--wine-dark);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.04;
}

.info-area h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.9rem);
}

.lead {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.price-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: #fffaf1;
}

.status {
  margin: 0;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  margin: 5px 0 2px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.15rem;
  font-weight: 700;
}

.details,
.approval-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.amazon-section {
  margin-top: 24px;
  padding: 28px clamp(18px, 3vw, 38px) 34px;
}

.amazon-section h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.45rem);
}

.amazon-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
}

.amazon-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.92rem;
}

.amazon-links a:hover {
  border-color: var(--gold);
  background: #fffaf1;
}

.amazon-links img {
  width: 26px;
  flex: 0 0 auto;
}

.essay {
  margin-top: 24px;
  padding: clamp(26px, 5vw, 58px);
}

.essay h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(1.95rem, 4vw, 3rem);
}

.essay h2::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin: 16px auto 0;
  background: var(--gold);
}

.essay p {
  max-width: 780px;
  margin: 0 auto 1.15em;
  font-size: 1rem;
  text-align: left;
}

footer {
  margin-top: 42px;
  padding: 28px 16px 36px;
  color: #f4eadb;
  background: linear-gradient(180deg, var(--wine-dark), #2f1517);
  text-align: center;
}

footer p {
  margin: 0 0 10px;
}

footer img {
  max-width: 220px;
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 28px;
  }

  .nav-divider {
    display: none;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 24px;
    border-radius: 22px;
  }

  .cover-area {
    order: 2;
  }

  .info-area {
    order: 1;
    text-align: center;
  }

  .price-box {
    text-align: left;
  }

  .book-cover {
    width: min(260px, 82%);
  }

  .amazon-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amazon-links a {
    font-size: 0.86rem;
  }
}

@media (max-width: 420px) {
  main {
    width: min(100% - 16px, 1040px);
  }

  .amazon-links {
    grid-template-columns: 1fr;
  }
}
