:root {
  color-scheme: light;
  --ink: #1f2933;
  --ink-strong: #17222d;
  --muted: #4d5862;
  --paper: #fbf8f2;
  --paper-bright: #fffdf9;
  --lavender: #f1edf6;
  --lavender-strong: #dfd7ec;
  --line: #d8d1df;
  --violet: #6f6098;
  --coral: #f05a32;
  --coral-dark: #9d2f15;
  --cyan: #ccebed;
  --cyan-dark: #155869;
  --focus: #006d83;
  --max-width: 1180px;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--paper);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1.125rem;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  color: var(--ink-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 10.5ch;
  margin-block-end: 1.5rem;
  font-size: clamp(3.5rem, 5vw, 4.75rem);
  line-height: 1.02;
}

h2 {
  margin-block-end: 0;
  font-size: clamp(2.65rem, 4.7vw, 4.7rem);
  line-height: 1.04;
}

h3 {
  max-width: 16ch;
  margin-block-end: 1.75rem;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  line-height: 1.07;
}

.shell {
  width: min(var(--max-width), calc(100% - 3rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -6rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink-strong);
  border-radius: 0.45rem;
  font-weight: 750;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background: var(--lavender);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.7rem);
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.2rem;
  color: var(--ink-strong);
  font-size: 0.98rem;
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  text-underline-offset: 0.35rem;
}

.primary-nav a:hover {
  text-decoration-color: currentColor;
}

.hero {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.kicker,
.shelf-label {
  margin-block-end: 0.8rem;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.085em;
  line-height: 1.25;
  text-transform: uppercase;
}

.accent-rule {
  width: 2.75rem;
  height: 3px;
  display: block;
  margin-block: 0 1.65rem;
  background: var(--coral);
}

.hero-intro {
  max-width: 32rem;
  margin-block-end: 2rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: currentColor;
}

.button-soft {
  background: var(--lavender);
  border-color: var(--lavender-strong);
}

.button-guide {
  color: #17110f;
  background: var(--coral);
}

.button-activity {
  color: #14272d;
  background: var(--cyan);
}

.hero-books {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(0.6rem, 1.3vw, 1.05rem);
}

.hero-book {
  min-width: 0;
  margin: 0;
}

.hero-book img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 16px 32px rgba(31, 41, 51, 0.13);
}

.hero-book-guide {
  width: min(100%, 260px);
  justify-self: end;
}

.hero-book-activity {
  width: min(100%, 290px);
  justify-self: center;
}

.hero-book-activity-two {
  justify-self: start;
}

.shelves {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-block-end: clamp(2.75rem, 5vw, 4.5rem);
  padding-block-end: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shelf {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline: clamp(1.25rem, 2.5vw, 2.75rem);
}

.shelf:first-child {
  padding-left: 0;
}

.shelf + .shelf {
  border-left: 1px solid var(--line);
}

.shelf:last-child {
  padding-right: 0;
}

.shelf h3 {
  min-height: 3.21em;
  font-size: clamp(1.9rem, 2.5vw, 2.8rem);
}

.shelf-cover {
  min-height: 390px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-block: 0 1.75rem;
}

.shelf-cover img {
  width: auto;
  max-height: 360px;
  border-radius: 2px;
  box-shadow: 0 12px 26px rgba(31, 41, 51, 0.12);
}

.shelf-cover-guide img {
  max-width: 240px;
}

.shelf-cover-activity img {
  max-width: 280px;
}

.shelf-promise {
  max-width: 32rem;
  margin-block-end: 1rem;
  color: var(--ink-strong);
  font-size: 1.18rem;
  font-weight: 720;
  line-height: 1.45;
}

.benefit-list {
  margin-block: 0 0.85rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.benefit-list li {
  margin-block: 0.35rem;
  padding-left: 0.35rem;
}

.shelf-guide .benefit-list li::marker {
  color: var(--coral-dark);
}

.shelf-activity .benefit-list li::marker {
  color: var(--cyan-dark);
}

.book-meta {
  margin-block: 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shelf .button {
  width: min(100%, 360px);
  margin-top: auto;
}

.about-band {
  padding-block: clamp(3.75rem, 7vw, 6rem);
  background: var(--lavender);
  border-block: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
}

.about-inner > * {
  align-self: start;
}

.about-inner h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
}

.about-copy {
  max-width: 36rem;
}

.about-copy p {
  margin-block-end: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-block-end: 0;
}

.about-copy strong {
  color: var(--ink-strong);
  font-weight: 760;
}

.site-footer {
  padding-block: 1.5rem 1.25rem;
  background: var(--paper-bright);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-strong);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.footer-inner p,
.footer-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner p {
  margin: 0;
}

.footer-note {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0.8rem auto 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-books {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .shelf-grid {
    grid-template-columns: 1fr;
  }

  .shelf {
    padding-inline: 0;
  }

  .shelf + .shelf {
    margin-top: 3.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .shelf h3 {
    min-height: 0;
  }

  .about-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.0625rem;
  }

  .shell {
    width: min(var(--max-width), calc(100% - 2rem));
  }

  .header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .primary-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .primary-nav a {
    justify-content: center;
    padding-inline: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    font-size: 0.88rem;
    text-align: center;
  }

  .hero {
    padding-block: 3.5rem 4.5rem;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 5.25rem);
  }

  .hero-books {
    gap: 0.75rem;
  }

  .shelf-cover {
    min-height: 0;
  }

  .shelf-cover img {
    max-height: 370px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-note {
    width: calc(100% - 2rem);
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 0.93rem;
  }

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

  .primary-nav a {
    font-size: 0.8rem;
  }

  .hero-books {
    gap: 0.5rem;
    align-items: center;
  }

  .section-heading {
    margin-block-end: 2.5rem;
  }

  .shelf-cover-guide img {
    max-width: 220px;
  }

  .shelf-cover-activity img {
    max-width: 250px;
  }

  .button {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .button,
  .primary-nav a {
    border: 2px solid ButtonText;
  }
}
