﻿:root {
  --ink: #061f29;
  --ink-soft: #0d3540;
  --ember: #c35c25;
  --gold: #f0bf67;
  --cream: #fff4df;
  --mist: #cdd7d4;
  --line: rgba(255, 244, 223, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(240, 191, 103, 0.16), transparent 30rem),
    radial-gradient(circle at 8% 55%, rgba(195, 45, 24, 0.26), transparent 34rem),
    linear-gradient(135deg, #070908 0%, #2a0704 32%, var(--ink) 72%, #090807 100%);
  color: var(--cream);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 1.3rem clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.brand-mark {
  display: grid;
  gap: 0.12rem;
  min-width: 10rem;
}

.brand-mark span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 700;
}

.brand-mark small,
.kicker,
.nav-links,
.nav-action,
.button,
.feature-copy > p:first-child,
.feature-copy span,
.category-list {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark small,
.kicker,
.feature-copy > p:first-child,
.feature-copy span {
  color: var(--gold);
}

.nav-links {
  align-items: center;
  color: rgba(255, 244, 223, 0.76);
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.nav-links a,
.nav-action,
.button {
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-action,
.button {
  align-items: center;
  border-radius: 0.45rem;
  display: inline-flex;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.35rem;
}

.nav-action,
.button.secondary {
  border: 1px solid rgba(255, 244, 223, 0.34);
  color: var(--cream);
}

.nav-action:hover,
.button.secondary:hover {
  background: rgba(255, 244, 223, 0.08);
  border-color: rgba(255, 244, 223, 0.58);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.78fr);
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 5.6rem);
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) 5rem;
  position: relative;
  z-index: 1;
}

.hero-image {
  background:
    linear-gradient(90deg, rgba(6, 12, 12, 0.96) 0%, rgba(6, 12, 12, 0.78) 34%, rgba(6, 12, 12, 0.18) 68%),
    linear-gradient(0deg, rgba(6, 12, 12, 0.9), rgba(6, 12, 12, 0.08) 45%, rgba(6, 12, 12, 0.86)),
    url("assets/bookstore-hero.png");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(240, 191, 103, 0.16);
  inset: -5.6rem 0 0;
  opacity: 0.86;
  position: absolute;
  z-index: -1;
}

.hero-copy {
  max-width: 48rem;
}

.kicker {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.94;
  margin: 0;
}

h1 {
  font-size: clamp(4rem, 9.2vw, 8.4rem);
  max-width: 58rem;
}

h2 {
  font-size: clamp(2.45rem, 5vw, 4.75rem);
  max-width: 54rem;
}

h3 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.hero-lede,
.section-heading p,
.store-panel p,
.about-band p,
.feature-copy p:last-child {
  color: rgba(255, 244, 223, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
}

.hero-lede {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 1.45rem 0 0;
  max-width: 45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--gold), #f7ce7b 48%, #df7a34);
  color: #071c22;
  min-width: 11.5rem;
}

.button.primary:hover {
  background: linear-gradient(135deg, #ffe0a1, var(--gold), #e46f2f);
}

.hero-showcase {
  justify-self: end;
  min-height: clamp(28rem, 48vw, 40rem);
  max-width: 36rem;
  position: relative;
  width: 100%;
}

.book-card {
  background: rgba(255, 244, 223, 0.06);
  border: 1px solid var(--line);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.hero-book {
  border-radius: 0.55rem;
  position: absolute;
  width: clamp(14rem, 25vw, 22rem);
}

.hero-book img {
  aspect-ratio: 0.74;
  object-fit: cover;
  width: 100%;
}

.hero-book-one {
  right: clamp(9rem, 15vw, 13rem);
  top: 1.4rem;
  transform: rotate(-5deg);
}

.hero-book-two {
  right: 0;
  top: 5.4rem;
  transform: rotate(4deg);
}

.books-section,
.store-panel,
.about-band {
  margin: 0 auto;
  max-width: 1220px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-heading p,
.store-panel p,
.about-band p {
  max-width: 43rem;
  margin: 0;
}

.book-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: linear-gradient(145deg, rgba(255, 244, 223, 0.08), rgba(255, 244, 223, 0.03));
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(10rem, 0.48fr) minmax(0, 1fr);
  min-height: 31rem;
  padding: 1rem;
}

.feature-cover {
  align-self: stretch;
  border-radius: 0.38rem;
  overflow: hidden;
}

.feature-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.feature-copy {
  align-content: center;
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem 1rem 0;
}

.feature-copy p,
.feature-copy span {
  margin: 0;
}

.feature-copy span {
  color: rgba(255, 244, 223, 0.58);
  line-height: 1.5;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.45rem;
}

.book-actions .button {
  min-height: 2.85rem;
}

.store-panel {
  align-items: center;
  background:
    linear-gradient(120deg, rgba(195, 45, 24, 0.24), transparent 32rem),
    rgba(255, 244, 223, 0.06);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.38fr);
  margin-bottom: 3rem;
}

.category-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  border-bottom: 1px solid rgba(255, 244, 223, 0.16);
  color: rgba(255, 244, 223, 0.8);
  padding: 0.72rem 0;
}

.store-panel .button {
  justify-self: start;
}

.bio-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1220px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.bio-photo {
  border: 1px solid rgba(255, 244, 223, 0.16);
  border-radius: 0.55rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.34);
  overflow: hidden;
  position: relative;
}

.bio-photo img {
  aspect-ratio: 1.18;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.bio-badge {
  backdrop-filter: blur(16px);
  background: rgba(255, 244, 223, 0.9);
  border: 1px solid rgba(240, 191, 103, 0.45);
  border-radius: 0.45rem;
  bottom: 1.2rem;
  color: #12262b;
  left: 1.2rem;
  max-width: calc(100% - 2.4rem);
  padding: 1rem 1.2rem;
  position: absolute;
}

.bio-badge strong {
  color: #1d777e;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 0.9;
}

.bio-badge span {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.bio-copy {
  display: grid;
  gap: 1.05rem;
}

.bio-copy h2 {
  max-width: 44rem;
}

.bio-copy p:not(.kicker) {
  color: rgba(255, 244, 223, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.72;
  margin: 0;
  max-width: 45rem;
}

@media (max-width: 920px) {
  .site-nav {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-showcase {
    justify-self: start;
    max-width: 27rem;
    min-height: 31rem;
  }

  .book-grid,
  .store-panel,
  .bio-section {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    max-width: 42rem;
  }
}

@media (max-width: 620px) {
  .site-nav {
    padding-top: 1rem;
  }

  .nav-action {
    min-width: 8.4rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  h1 {
    font-size: clamp(3.65rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-showcase {
    min-height: 26rem;
  }

  .hero-book {
    width: clamp(12rem, 48vw, 17rem);
  }

  .hero-book-one {
    right: auto;
    left: 0;
  }

  .hero-book-two {
    right: auto;
    left: 9rem;
    top: 4rem;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-cover {
    max-height: 30rem;
  }

  .feature-copy {
    padding: 0 0.2rem 0.4rem;
  }

  .bio-badge {
    bottom: 0.8rem;
    left: 0.8rem;
    max-width: calc(100% - 1.6rem);
  }
}

