:root {
  --ink: #1a1612;
  --muted: #5c534a;
  --paper: #f3ebe0;
  --wash: #2a3340;
  --bridge: #c9a227;
  --bridge-ink: #1a1612;
  --line: rgba(26, 22, 18, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  overflow: hidden;
  color: #f7f2ea;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Old novel home background (cave / living sphere) */
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.2) 0%, rgba(12, 18, 28, 0.55) 48%, rgba(12, 18, 28, 0.88) 100%),
    url('hero-bg.png?v=2') center / cover no-repeat;
  transform: scale(1.03);
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem 2rem;
  max-width: 36rem;
}

.brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: rise 0.9s ease both;
}

.title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: rgba(247, 242, 234, 0.92);
  animation: rise 0.9s ease 0.08s both;
}

.lede {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  max-width: 28rem;
  color: rgba(247, 242, 234, 0.82);
  animation: rise 0.9s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  animation: rise 0.9s ease 0.24s both;
}

.cta-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(247, 242, 234, 0.7);
  animation: rise 0.9s ease 0.28s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--bridge);
  color: var(--bridge-ink);
}

.btn-primary:hover {
  background: #dbb63a;
}

.cover-wrap {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 1.5rem 2.5rem;
  display: flex;
  justify-content: flex-start;
  animation: rise 1.1s ease 0.2s both;
}

.cover {
  width: min(220px, 48vw);
  height: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  padding: 3rem 1.5rem 4rem;
  max-width: 40rem;
  margin: 0 auto;
}

.about h2,
.retail h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.about p,
.retail-lede {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.retail {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.retail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.retail-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr 1fr;
  gap: 0.5rem 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.format {
  font-weight: 600;
  color: var(--ink);
}

.retail-list a {
  color: var(--wash);
  font-weight: 500;
}

.retail-list a:hover {
  color: var(--ink);
}

.footer {
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer a {
  color: var(--wash);
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 0 3rem;
  }

  .hero-inner {
    padding: 4rem 2rem 4rem 0;
    max-width: 34rem;
  }

  .cover-wrap {
    justify-content: center;
    padding: 4rem 0;
  }

  .cover {
    width: min(340px, 36vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .brand,
  .title,
  .lede,
  .cta-row,
  .cta-note,
  .cover-wrap {
    animation: none;
  }
}
