/* greatontheirbehalf.com's own, over site.css (www.gotbindex.com's design system, copied unchanged from gotbindex.com
   live 517b255; lane gotbcom-redo, AJ 2026-12-05: "its look and feel matches gotbindex.com but with the book and its
   big red cover being the standout focus of the page along with the carousel of leader quotes").
   Only the network's tokens are used: the red on the page is the cover's alone. */

/* ---------- the header: this site's own name and cover, on the white pill site.css gives the logo ---------- */
.book-logo {
  gap: 10px;
  padding: 5px 16px 5px 8px;
  color: var(--color-deep-navy);
  text-decoration: none;
}

.book-logo img {
  height: 40px;
}

.book-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.shell-logo:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
}

/* ---------- the book: the hero ---------- */
.band-book {
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%) no-repeat
      left 4% center / min(62vw, 760px) min(62vw, 760px),
    var(--color-ice);
}

.book-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.book-art {
  display: flex;
  justify-content: center;
}

.book-cover {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 34px 38px rgba(21, 24, 79, 0.32)) drop-shadow(0 6px 10px rgba(21, 24, 79, 0.18));
}

.book-hero .hero-text {
  gap: 16px;
}

.book-hero .display {
  max-width: 12ch;
  font-size: clamp(38px, 5.2vw, 64px);
}

.book-promise {
  max-width: 30ch;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
}

.book-by {
  color: var(--tint-muted);
  font-size: 17px;
}

.band-book .kit-actions a {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}

/* ---------- the carousel of leader quotes (assets/carousel.js); without the script, every quote as a card ---------- */
.band-praise .sec-head {
  margin-block-end: 28px;
}

.band-praise .eyebrow {
  text-transform: uppercase;
}

.band-praise .lead a {
  color: var(--color-white);
  text-underline-offset: 0.2em;
}

.band-praise .lead a:hover {
  color: var(--accent-bar1);
}

.carousel-slides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.carousel-slide {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 28px 30px;
  border-radius: var(--radius-card);
  background: var(--tint-frame-ground);
  border: 1px solid var(--color-navy);
}

.carousel-slide blockquote {
  margin: 0;
}

.carousel-slide blockquote p {
  position: relative;
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
}

.carousel-slide blockquote p::before {
  content: "\201C";
  display: block;
  height: 0.6em;
  margin-bottom: 6px;
  color: var(--accent-bar1);
  font-size: 3em;
  line-height: 1;
}

.carousel-slide figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.quote-name {
  color: var(--accent-bar1);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 15px;
}

.quote-role {
  color: var(--tint-frame-text);
  font-size: var(--size-small);
}

/* with the script: one quote at a time, all in one cell so the height never jumps */
.carousel-on .carousel-slides {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
}

.carousel-on .carousel-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 56px);
}

.carousel-on .carousel-slide.is-current {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s ease-out;
}

.carousel-on .carousel-slide blockquote p {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.32;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.carousel-controls[hidden] {
  display: none;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--tint-frame-head);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.carousel-btn:hover {
  background: var(--tint-frame-ground);
  border-color: var(--color-white);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.carousel-btn .icon-play {
  display: none;
}

.carousel-btn.is-paused .icon-play {
  display: block;
}

.carousel-btn.is-paused .icon-pause {
  display: none;
}

.carousel-count {
  min-width: 4.5em;
  color: var(--tint-frame-text);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: var(--size-small);
  text-align: center;
}

/* ---------- the resources: three cards ---------- */
.resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.resources .measure-card p {
  color: var(--tint-muted);
}

/* ---------- the inner pages: a plain head, then the page's own words in a card ---------- */
.page .kit-hero-plain h1 {
  overflow-wrap: anywhere;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 100%;
}

.prose > * {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 14px !important;
  font-size: var(--size-section);
}

.prose h2:first-child {
  margin-top: 0 !important;
}

.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 1.4em !important;
}

.prose a {
  overflow-wrap: anywhere;
}

.author-photo {
  float: left;
  width: 160px;
  height: auto;
  margin: 4px 24px 12px 0;
  border-radius: var(--radius-row);
}

.author-bio::after {
  content: "";
  display: block;
  clear: both;
}

.page-actions {
  margin-top: 4px;
}

/* the book page */
.band-book-page .book-cover {
  max-width: 400px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 24px 26px;
  border-radius: var(--radius-card);
  background: var(--color-ice);
}

.quote-card blockquote {
  margin: 0;
}

.quote-card blockquote p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}

.quote-card .quote-name {
  color: var(--color-navy);
}

.quote-card .quote-role {
  color: var(--tint-muted);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.not-found h1 {
  font-size: clamp(56px, 9vw, 96px);
  color: var(--color-navy-light);
}

/* ---------- a tablet and a phone ---------- */
@media (max-width: 1023px) {
  .resources {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .shell-header {
    position: static;
  }

  .shell-header-bar {
    flex-wrap: wrap;
    padding: 10px 12px 12px;
  }

  .shell-account {
    margin-inline-start: 0;
    justify-content: flex-start;
    gap: 6px;
  }

  .shell-header .shell-account .kit-btn-secondary {
    padding: 6px 9px;
    font-size: 12.5px;
  }

  .book-logo img {
    height: 32px;
  }

  .book-logo span {
    font-size: 15px;
  }

  .book-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .book-cover {
    width: 72vw;
    max-width: 320px;
  }

  .band-book {
    background:
      radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 100%) no-repeat
        center top / 110vw 110vw,
      var(--color-ice);
  }

  .band-book .kit-actions a {
    flex: 1 1 auto;
  }

  .author-photo {
    width: 120px;
    margin-right: 16px;
  }

  .carousel-on .carousel-slide {
    padding: 24px 22px;
  }
}

/* ---------- never motion under reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .carousel-on .carousel-slide,
  .carousel-on .carousel-slide.is-current,
  .carousel-btn {
    transition: none;
  }
}
