:root {
  color-scheme: dark;
  --black: #07080b;
  --charcoal: #10131a;
  --navy: #171b27;
  --panel: #1c2230;
  --paper: #f1eee7;
  --muted: #aeb3be;
  --line: rgba(241, 238, 231, 0.14);
  --red: #c9342e;
  --red-dark: #8d201e;
  --blue: #6f9fb5;
  --amber: #d08134;
  --shadow: 0 28px 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;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 52, 46, 0.2), transparent 28rem),
    radial-gradient(circle at 86% 26%, rgba(111, 159, 181, 0.16), transparent 24rem),
    linear-gradient(180deg, #07080b 0%, #10131a 46%, #08090c 100%);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid transparent;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 8, 11, 0.88);
  border-color: var(--line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201, 52, 46, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(241, 238, 231, 0.82);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(201, 52, 46, 0.72);
  background: rgba(201, 52, 46, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(460px, 1fr) minmax(360px, 0.98fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: 118px clamp(18px, 5vw, 76px) 76px;
  overflow: hidden;
}

.hero::after {
  content: "HBA";
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  z-index: 0;
  color: rgba(255, 255, 255, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12rem, 35vw, 34rem);
  font-weight: 900;
  line-height: 1;
}

.hero-copy,
.hero-shelf {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 6.25rem;
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 0.95;
}

h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.05;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(241, 238, 231, 0.78);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: var(--paper);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 42px rgba(201, 52, 46, 0.28);
}

.button.secondary {
  border-color: rgba(241, 238, 231, 0.3);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

.hero-shelf {
  min-height: 620px;
}

.cover {
  position: absolute;
  width: min(28vw, 260px);
  border-radius: 2px;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(255, 255, 255, 0.1);
}

.cover-a {
  top: 18px;
  left: 23%;
  z-index: 3;
  transform: rotate(-4deg);
}

.cover-b {
  top: 120px;
  right: 10%;
  z-index: 4;
  transform: rotate(4deg);
}

.cover-c {
  top: 230px;
  left: 2%;
  z-index: 2;
  transform: rotate(3deg);
}

.cover-d {
  bottom: 0;
  left: 34%;
  z-index: 5;
  transform: rotate(-2deg);
}

.cover-e {
  bottom: 36px;
  right: 0;
  z-index: 1;
  transform: rotate(2deg);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.proof-strip div {
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.48rem;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(76px, 10vw, 134px) clamp(18px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  max-width: 1280px;
  margin: 0 auto 38px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
}

.section-heading p:not(.eyebrow),
.reader-section > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 0.58fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.title-card {
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.title-card img {
  width: 100%;
  aspect-ratio: 0.66;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.title-card:hover img {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(201, 52, 46, 0.22);
}

.title-card span {
  display: block;
  margin-top: 13px;
  color: rgba(241, 238, 231, 0.82);
  font-weight: 900;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(201, 52, 46, 0.34);
  background:
    linear-gradient(135deg, rgba(201, 52, 46, 0.16), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.feature-card img {
  grid-row: span 3;
}

.feature-card .tag {
  width: fit-content;
  margin: 0;
  padding: 6px 9px;
  color: var(--paper);
  background: var(--red);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.series-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 76px);
  background:
    linear-gradient(90deg, rgba(141, 32, 30, 0.3), transparent 48%),
    var(--charcoal);
}

.series-copy {
  max-width: 580px;
}

.pathway-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pathway-grid a {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 4vw, 34px);
  text-decoration: none;
  background: rgba(7, 8, 11, 0.74);
}

.pathway-grid span {
  color: var(--red);
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pathway-grid strong {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.04;
}

.shelf-section {
  padding: clamp(76px, 10vw, 132px) 0;
  overflow: hidden;
}

.compact {
  padding: 0 clamp(18px, 5vw, 76px);
}

.cover-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(168px, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  width: max(1180px, 100%);
  padding: 0 clamp(18px, 5vw, 76px);
}

.cover-rail img {
  aspect-ratio: 0.66;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.reader-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: #11131a;
}

.reader-section .eyebrow {
  color: var(--red-dark);
}

.reader-section > p {
  color: #535966;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 76px);
  color: rgba(241, 238, 231, 0.72);
  background: #050609;
}

.site-footer a {
  color: var(--paper);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .hero,
  .section-heading,
  .series-section,
  .reader-section {
    grid-template-columns: 1fr;
  }

  .hero-shelf {
    min-height: 520px;
  }

  h1 {
    max-width: 820px;
    font-size: 5.25rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-card {
    grid-column: 1 / -1;
  }

  .section-heading .eyebrow {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand span {
    max-width: 172px;
    line-height: 1.08;
  }

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

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 20px;
    background: rgba(7, 8, 11, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-shelf {
    min-height: 420px;
  }

  h1 {
    font-size: 4.05rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  h3 {
    font-size: 1.55rem;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 1.06rem;
  }

  .pathway-grid strong {
    font-size: 1.55rem;
  }

  .cover {
    width: min(42vw, 190px);
  }

  .proof-strip,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .feature-card img {
    grid-row: auto;
    max-width: 280px;
  }

  .cover-rail {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.16rem;
  }

  .button {
    width: 100%;
  }

  .hero-shelf {
    min-height: 360px;
  }

  .cover-a {
    left: 8%;
  }

  .cover-b {
    right: 2%;
  }

  .cover-c {
    top: 210px;
  }

  .cover-d {
    left: 38%;
  }

  .cover-e {
    display: none;
  }
}
