/* A little more room for the worlds behind the work. */
.project-maze {
  grid-column: 1 / -1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .35fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 3.75rem);
  background: radial-gradient(circle at 85% 25%, rgba(234, 164, 67, .19), transparent 36%), linear-gradient(120deg, #102b39, #1b2731 62%, #3a2c25);
  border: 1px solid rgba(236, 189, 115, .32);
}
.maze-copy { position: relative; z-index: 1; max-width: 49rem; }
.project-maze h3 { margin: .65rem 0 1.05rem; font-size: clamp(2.45rem, 4.2vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; color: #fff; }
.project-maze h3 em { color: #f4c67f; font-style: normal; font-weight: 400; }
.project-maze .project-kicker { color: #f4c67f; font-size: .76rem; line-height: 1.45; }
.project-maze .maze-copy > p:not(.project-kicker) { color: #d8e6ea; max-width: 47rem; margin: 0 0 .9rem; font-size: clamp(1.05rem, .98rem + .2vw, 1.2rem); line-height: 1.7; }
.maze-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.maze-action { min-height: 3.2rem; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.3rem; padding: .8rem 1.05rem; border-radius: .7rem; text-decoration: none; font-size: 1rem; line-height: 1.35; font-weight: 700; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.maze-action:hover { transform: translateY(-2px); box-shadow: 0 .45rem 1.25rem #0003; }
.maze-action:focus-visible, .wealth-link:focus-visible, .reading-shelf a:focus-visible { outline: 3px solid #f3ac45; outline-offset: 4px; }
.maze-action-primary { color: #152b31; background: #f4ca8b; }
.maze-action-secondary { color: #f7fbfc; border: 1px solid #99bac4; background: #0c2433a8; }
.maze-mark { width: min(100%, 13rem); aspect-ratio: 1; justify-self: center; border: 1px solid #e4bc805c; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; box-shadow: 0 0 0 1rem #e4bc8008, 0 0 0 2rem #e4bc8008; color: #f3d6a3; text-align: center; }
.maze-mark strong { font-size: 5rem; font-weight: 400; line-height: .9; }
.maze-mark span { font-size: .65rem; letter-spacing: .12em; font-weight: 700; }

/* The cover and the reading shelf keep their typography comfortable at every size. */
.earlier-book { background: #e8f2f4; border-color: #c4dde4; }
.earlier-book-copy { min-width: 0; }
.wealth-art { flex: 0 0 clamp(8rem, 20%, 12rem); margin: 0; text-align: center; }
.wealth-art img { display: block; width: 100%; height: auto; border-radius: .25rem; box-shadow: 0 .8rem 1.8rem #193a4940; }
.wealth-art figcaption { margin-top: .55rem; color: #4a6673; font-size: .75rem; line-height: 1.4; }
.earlier-book h3 { color: #123446; }
.earlier-book p:not(.eyebrow) { color: #395768; }
.wealth-link { display: inline-flex; gap: 1.5rem; align-items: center; margin-top: 1.4rem; padding: .8rem 1rem; min-height: 3rem; background: #113b51; color: white; border-radius: .6rem; text-decoration: none; font-size: 1rem; font-weight: 700; }
.wealth-link:hover { background: #176484; }
.reading-shelf { margin-top: clamp(5rem, 8vw, 8rem); scroll-margin-top: 2rem; }
.shelf-heading { max-width: 53rem; margin-bottom: 2rem; }
.shelf-kicker { margin: 0 0 .8rem; color: #26718c; font-size: .8rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; }
.shelf-heading h3 { font-size: clamp(2.15rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 1rem; color: #112f40; }
.shelf-heading h3 em { color: #277a99; font-style: normal; font-weight: 400; }
.shelf-heading > p:last-child, .shelf-favorites-heading > p:last-child { max-width: 43rem; color: #3d5967; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.7; }
.shelf-now-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.shelf-now, .shelf-next { border-radius: 1.1rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.shelf-now { color: #f2faff; background: radial-gradient(circle at 85% 5%, #1f5973 0, transparent 43%), #0b2536; box-shadow: 0 1.1rem 2rem #0f31461c; }
.shelf-status { display: flex; align-items: center; gap: .55rem; color: #a8deec; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.listening-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #82d6e7; box-shadow: 0 0 .8rem #82d6e7; }
.shelf-now-content { display: flex; align-items: flex-start; gap: 1.15rem; margin-top: 1.45rem; }
.shelf-icon { flex: 0 0 3.35rem; height: 3.35rem; border-radius: .8rem; display: grid; place-items: center; color: #f8d69d; background: #ffffff12; border: 1px solid #ffffff2a; font-size: 1.75rem; }
.shelf-now h4, .shelf-next h4 { margin: 0; font-size: clamp(1.65rem, 2.4vw, 2.35rem); line-height: 1.13; letter-spacing: -.035em; }
.shelf-author { font-weight: 700; }
.shelf-now p, .shelf-next p:not(.shelf-kicker) { font-size: 1.05rem; line-height: 1.65; margin: .6rem 0; }
.shelf-now p { color: #d4e8ef; }
.reading-shelf a { display: inline-block; margin-top: .7rem; font-size: 1rem; line-height: 1.5; font-weight: 700; text-underline-offset: .2em; }
.shelf-now a { color: #bceefd; }
.shelf-next { color: #183d4a; background: #dceef1; border: 1px solid #bfdde2; }
.shelf-next a, .shelf-list a { color: #12627e; }
.shelf-favorites { margin-top: clamp(3rem, 5vw, 4.5rem); }
.shelf-favorites-heading h4 { margin: 0 0 .6rem; color: #123446; font-size: clamp(1.75rem, 2.5vw, 2.4rem); line-height: 1.15; }
.shelf-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1.6rem; }
.shelf-list article { display: flex; flex-direction: column; min-width: 0; min-height: 13rem; padding: 1.35rem; border-radius: .9rem; border: 1px solid #c9e0e5; background: #f2f8f8; }
.shelf-list article > span { color: #39768b; font-size: .73rem; font-weight: 800; letter-spacing: .11em; }
.shelf-list h5 { margin: .8rem 0 .3rem; color: #153a4d; font-size: 1.22rem; line-height: 1.3; }
.shelf-list h5 em { font-style: normal; color: #337c90; }
.shelf-list p { margin: 0; color: #516b74; font-size: 1rem; line-height: 1.5; }
.shelf-list a { margin-top: auto; padding-top: .9rem; align-self: flex-start; }
.shelf-note { margin-top: 1.2rem; color: #476371; font-size: 1rem; line-height: 1.6; }
@media (max-width: 850px) {
  .project-maze { grid-column: 1 / -1; }
  .shelf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .project-maze { grid-template-columns: 1fr; gap: 0; padding: 1.65rem; }
  .maze-mark { display: none; }
  .maze-actions { flex-direction: column; align-items: stretch; }
  .maze-action { min-height: 3.4rem; }
  .earlier-book { background: #e8f2f4; border-color: #c4dde4; }
  .earlier-book { flex-direction: column-reverse; align-items: stretch; gap: 1.4rem; }
  .wealth-art { align-self: flex-start; width: min(48%, 10rem); }
  .earlier-book h3 { color: #123446; }
  .earlier-book p:not(.eyebrow) { color: #395768; }
  .earlier-book-spark { display: none; }
  .shelf-now-grid, .shelf-list { grid-template-columns: 1fr; }
  .shelf-list article { min-height: 0; }
  .shelf-now-content { gap: .8rem; }
  .shelf-icon { flex-basis: 2.8rem; height: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) { .maze-action { transition: none; } }
