:root {
  color-scheme: dark;
  --bg: #050507;
  --bg-soft: #101115;
  --ink: #f7f2e7;
  --muted: #bdb7aa;
  --gold: #f5c85d;
  --rose: #ea4c73;
  --cyan: #4bd4d8;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(14, 15, 20, 0.82);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.8), rgba(5, 5, 7, 0));
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.footer-links,
.social-links,
.publisher {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 40px;
  height: 40px;
}

.nav-links {
  gap: clamp(0.8rem, 2.4vw, 2rem);
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 7rem clamp(1rem, 6vw, 6rem) 4rem;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  z-index: -3;
  filter: saturate(1.12) contrast(1.08);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 38%, rgba(75, 212, 216, 0.2), transparent 34rem),
    linear-gradient(90deg, rgba(5, 5, 7, 0.76), rgba(5, 5, 7, 0.48) 50%, rgba(5, 5, 7, 0.76)),
    linear-gradient(0deg, rgba(5, 5, 7, 0.86), transparent 34%);
}

.hero-content {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.kicker,
.eyebrow,
.book-label {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(4.25rem, 14vw, 10.5rem);
  line-height: 0.88;
  font-weight: 900;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.75rem);
  line-height: 1;
  margin-bottom: 1.15rem;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 auto 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold);
  color: #17110a;
}

.button.secondary {
  border-color: rgba(245, 200, 93, 0.5);
  color: var(--ink);
  background: rgba(245, 200, 93, 0.08);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

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

.band-intro {
  background: linear-gradient(135deg, #141217, #0a1516);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
}

.intro-grid p:last-child,
.about-copy p {
  color: var(--muted);
  max-width: 760px;
}

.books-section {
  background:
    linear-gradient(180deg, #050507, #101015 46%, #050507);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.book-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: clamp(1.25rem, 2.8vw, 2rem);
  height: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cover-link {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 624 / 998;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
}

.cover-link picture,
.portrait-wrap picture {
  display: block;
  width: 100%;
}

.cover-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.book-card.is-visible .cover-link {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 700ms ease 180ms, transform 700ms ease 180ms;
}

.cover-link:hover img {
  transform: scale(1.035);
}

.book-copy {
  display: grid;
  grid-template-rows: auto auto 5.25rem auto auto;
  align-content: start;
  width: 100%;
}

.book-copy p {
  color: var(--muted);
}

.book-copy > p:not(.book-label) {
  height: 5.25rem;
  margin-bottom: 0;
  overflow: hidden;
}

.book-meta {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.book-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.book-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.book-meta dd {
  margin: 0;
  font-weight: 800;
}

.highq-section {
  background: linear-gradient(135deg, #111215, #201019 58%, #07191a);
}

.highq-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 7, 0.48);
}

.highq-panel p {
  max-width: 680px;
  color: var(--muted);
}

.about-section {
  background: #08090c;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.46fr) 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.portrait-wrap {
  width: min(460px, 100%);
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.portrait-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.portrait-wrap.is-visible img {
  animation: image-arrive 850ms ease both;
}

@keyframes image-arrive {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.publisher {
  gap: 0.85rem;
  margin: 1.6rem 0;
  color: var(--muted);
}

.publisher img {
  width: 52px;
  height: auto;
}

.social-links {
  gap: 0.75rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #000;
  transition: transform 180ms ease, border-color 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.social-links img {
  width: 28px;
  height: 28px;
}

.contact-section {
  background: linear-gradient(135deg, #101115, #151008 56%, #071516);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 7, 0.52);
}

.contact-panel p {
  max-width: 640px;
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  text-decoration-color: rgba(245, 200, 93, 0.55);
  text-underline-offset: 0.18em;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
  min-width: min(240px, 100%);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #050507;
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.footer-links {
  gap: 1rem;
  flex-wrap: wrap;
}

.intro-step,
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.intro-step.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.intro-step:nth-child(1) {
  transition-delay: 120ms;
}

.intro-step:nth-child(2) {
  transition-delay: 320ms;
}

.intro-step:nth-child(3) {
  transition-delay: 520ms;
}

.intro-step:nth-child(4) {
  transition-delay: 720ms;
}

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

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .intro-grid,
  .book-grid,
  .about-grid,
  .highq-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    width: min(420px, 100%);
  }

  .book-copy {
    grid-template-rows: auto;
  }

  .book-copy > p:not(.book-label) {
    height: auto;
    overflow: visible;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 96svh;
    padding-top: 6rem;
  }

  h1 {
    font-size: clamp(3.2rem, 21vw, 5rem);
  }

  .cover-link {
    width: min(300px, 78vw);
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-video {
    display: none;
  }

  .intro-step,
  .reveal,
  .cover-link {
    opacity: 1;
    transform: none;
  }
}
