:root {
  --ink: #101214;
  --ink-soft: #191c1f;
  --paper: #f1ede6;
  --paper-muted: #bdb7ad;
  --coral: #f06a50;
  --teal: #63b5a7;
  --line: rgba(16, 18, 20, .18);
  --line-dark: rgba(241, 237, 230, .2);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.site-header { align-items: center; background: var(--ink); color: var(--paper); display: flex; height: 72px; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); position: absolute; width: 100%; z-index: 5; }
.brand, .footer-brand { align-items: center; display: inline-flex; font-size: 17px; font-weight: 700; gap: 10px; letter-spacing: .01em; }
.brand-mark { align-items: center; background: var(--coral); color: var(--ink); display: inline-flex; font-size: 11px; font-weight: 800; height: 29px; justify-content: center; letter-spacing: -.04em; width: 29px; }
.main-nav { display: flex; gap: clamp(18px, 3vw, 42px); margin-left: 10%; }
.main-nav a, .header-action { color: rgba(241, 237, 230, .72); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.main-nav a:hover, .header-action:hover { color: var(--paper); }
.header-action { border-bottom: 1px solid var(--coral); color: var(--paper); padding-bottom: 5px; }
.hero { background: #202427; color: var(--paper); min-height: min(790px, 100vh); overflow: hidden; position: relative; }
.hero-image { background: url("/assets/hero-home-001.png") center 35% / cover no-repeat; inset: 0; opacity: .72; position: absolute; }
.hero-shade { background: rgba(16, 18, 20, .62); inset: 0; position: absolute; }
.hero-content { max-width: 720px; padding: clamp(170px, 25vh, 240px) clamp(24px, 10vw, 144px) 90px; position: relative; z-index: 1; }
.eyebrow, .section-kicker { font-size: 10px; font-weight: 700; letter-spacing: .2em; margin: 0 0 23px; text-transform: uppercase; }
.eyebrow { color: var(--teal); }
h1, h2 { font-weight: 400; letter-spacing: -.045em; margin: 0; }
h1 { font-family: var(--serif); font-size: clamp(56px, 8vw, 110px); line-height: .9; }
h1 em, h2 em { color: var(--coral); font-style: italic; }
.hero-copy { color: rgba(241, 237, 230, .76); font-size: 17px; line-height: 1.6; margin: 32px 0 31px; max-width: 430px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; }
.button { align-items: center; border: 1px solid transparent; display: inline-flex; font-size: 11px; font-weight: 700; gap: 20px; justify-content: center; letter-spacing: .11em; min-height: 45px; padding: 0 18px; text-transform: uppercase; }
.button-primary { background: var(--coral); color: var(--ink); }
.button-primary:hover { background: #ff8064; }
.button-quiet { border-color: rgba(241, 237, 230, .36); color: var(--paper); }
.button-quiet:hover { border-color: var(--paper); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #292d30; }
.hero-meta { bottom: 29px; color: rgba(241, 237, 230, .62); display: flex; font-size: 10px; gap: clamp(20px, 5vw, 80px); left: clamp(24px, 10vw, 144px); letter-spacing: .15em; position: absolute; z-index: 1; }
.intro-band, .library-section, .genres-section { padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 120px); }
.intro-band { background: var(--paper); }
.section-kicker { color: #73716c; }
.intro-grid { align-items: start; display: grid; gap: 50px; grid-template-columns: minmax(280px, 1fr) minmax(280px, .65fr); }
h2 { font-family: var(--serif); font-size: clamp(41px, 5.8vw, 76px); line-height: .96; }
h2 span { color: var(--coral); font-style: italic; }
.intro-grid p { color: #5f5e59; font-size: 16px; line-height: 1.7; margin: 6px 0 0; max-width: 410px; }
.library-section { background: var(--ink-soft); color: var(--paper); }
.section-heading { align-items: end; display: flex; gap: 30px; justify-content: space-between; margin-bottom: 44px; }
.section-heading .section-kicker { color: var(--teal); }
.library-tools { align-items: end; display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
.search-box { align-items: center; border-bottom: 1px solid var(--line-dark); color: var(--paper-muted); display: flex; gap: 10px; padding: 0 0 9px; width: 220px; }
.search-box input { background: transparent; border: 0; color: var(--paper); min-width: 0; outline: 0; width: 100%; }
.search-box input::placeholder { color: rgba(241, 237, 230, .45); }
.filter-tabs { display: flex; gap: 15px; }
.filter-tab { background: transparent; border: 0; border-bottom: 1px solid transparent; color: rgba(241, 237, 230, .48); cursor: pointer; font-size: 11px; letter-spacing: .12em; padding: 0 0 9px; text-transform: uppercase; }
.filter-tab:hover, .filter-tab.is-active { border-color: var(--coral); color: var(--paper); }
.book-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.book-card { cursor: pointer; min-width: 0; }
.book-cover-wrap { aspect-ratio: 3 / 4; background: #303538; margin-bottom: 16px; overflow: hidden; position: relative; }
.book-cover-wrap img { height: 100%; object-fit: cover; transition: transform .35s ease; width: 100%; }
.book-card:hover .book-cover-wrap img { transform: scale(1.04); }
.book-cover-wrap::after { border: 1px solid rgba(241, 237, 230, .2); content: ""; inset: 8px; pointer-events: none; position: absolute; }
.book-status { color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .17em; margin: 0 0 9px; text-transform: uppercase; }
.book-title { font-family: var(--serif); font-size: 22px; line-height: 1.05; margin: 0 0 7px; }
.book-author { color: rgba(241, 237, 230, .54); font-size: 12px; margin: 0; }
.library-status { color: rgba(241, 237, 230, .5); font-size: 13px; margin: 35px 0 0; }
.library-status.is-hidden { display: none; }
.genres-section { background: var(--paper); }
.compact-heading { margin-bottom: 34px; }
.heading-note { color: #77736c; font-family: var(--serif); font-size: 15px; font-style: italic; }
.genre-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.genre-item { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 75px; padding: 0 12px 0 0; }
.genre-item:nth-child(3n + 2), .genre-item:nth-child(3n + 3) { padding-left: 26px; }
.genre-item button { background: transparent; border: 0; color: var(--ink); cursor: pointer; font-family: var(--serif); font-size: 22px; padding: 0; text-align: left; }
.genre-item button:hover { color: var(--coral); }
.genre-count { color: #7d7972; font-size: 11px; }
.download-band { background: var(--coral); display: grid; grid-template-columns: 1fr 1fr; min-height: 465px; overflow: hidden; }
.download-art { overflow: hidden; }
.download-art img { height: 100%; object-fit: cover; width: 100%; }
.download-copy { align-self: center; max-width: 500px; padding: 70px clamp(30px, 7vw, 100px); }
.download-copy .section-kicker { color: rgba(16, 18, 20, .63); }
.download-copy h2 em { color: var(--ink); }
.download-copy p:not(.section-kicker) { color: rgba(16, 18, 20, .72); font-size: 16px; line-height: 1.6; margin: 27px 0; max-width: 330px; }
.site-footer { align-items: center; background: var(--ink); color: var(--paper); display: grid; gap: 20px; grid-template-columns: 1fr 1fr 1fr; padding: 42px clamp(24px, 8vw, 120px); }
.footer-note, .footer-legal { color: rgba(241, 237, 230, .48); font-size: 12px; margin: 0; }
.footer-links { display: flex; gap: 22px; justify-content: center; }
.footer-links a { color: rgba(241, 237, 230, .67); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.footer-links a:hover { color: var(--coral); }
.footer-legal { justify-self: end; }
.book-dialog { background: var(--paper); border: 0; color: var(--ink); max-width: 780px; padding: 0; width: calc(100% - 34px); }
.book-dialog::backdrop { background: rgba(16, 18, 20, .72); }
.dialog-layout { display: grid; grid-template-columns: 240px 1fr; }
.dialog-cover { background: #d3cec5; height: 350px; object-fit: cover; width: 100%; }
.dialog-content { align-self: center; padding: 40px; }
.dialog-content .book-status { color: #578d83; }
.dialog-content h2 { font-size: 50px; }
.dialog-description { color: #5f5e59; font-size: 15px; line-height: 1.65; margin: 24px 0; }
.dialog-close { background: transparent; border: 0; color: var(--ink); cursor: pointer; font-size: 28px; line-height: 1; padding: 7px 12px; position: absolute; right: 4px; top: 4px; z-index: 1; }
@media (max-width: 780px) {
  .site-header { height: 62px; }
  .main-nav { display: none; }
  .header-action { font-size: 10px; }
  .hero { min-height: 700px; }
  .hero-content { padding-top: 170px; }
  .hero-meta { bottom: 23px; flex-wrap: wrap; gap: 12px 24px; right: 24px; }
  .intro-grid, .download-band { grid-template-columns: 1fr; }
  .intro-grid { gap: 28px; }
  .download-art { height: 250px; order: 2; }
  .download-copy { padding: 70px 24px; }
  .section-heading { align-items: start; flex-direction: column; }
  .library-tools { align-items: start; justify-content: flex-start; width: 100%; }
  .search-box { width: min(100%, 330px); }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .genre-list { grid-template-columns: repeat(2, 1fr); }
  .genre-item:nth-child(3n + 2), .genre-item:nth-child(3n + 3) { padding-left: 0; }
  .genre-item:nth-child(odd) { padding-right: 16px; }
  .genre-item:nth-child(even) { padding-left: 16px; }
  .site-footer { align-items: start; grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { justify-content: flex-start; }
  .footer-legal { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .dialog-layout { grid-template-columns: 120px 1fr; }
  .dialog-cover { height: 190px; }
  .dialog-content { padding: 30px 24px; }
  .dialog-content h2 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .book-cover-wrap img { transition: none; } }
