:root {
  --bg: #201a33;
  --fg: #fff8e7;
  --muted: #c5bbcc;
  --line: #faf1da29;
  --blue: #d5e04b;
  --amber: #f8c646;
  --lime: #d5e04b;
  --yellow: #f8c646;
  --purple: #9c78eb;
}
html {
  scroll-padding-top: 30px;
}
.header {
  position: relative;
  height: 105px;
  background: var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.brand small {
  display: block;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--lime);
  margin-top: 7px;
}
.brand-crop {
  display: block;
  position: relative;
  overflow: hidden;
  flex: none;
  width: 52px;
  height: 55px;
  border-radius: 5px;
}
.brand-crop img {
  position: absolute;
  max-width: none;
  width: 489px;
  left: -19px;
  top: -287px;
}
nav a,
nav button {
  color: #dfd3e2;
}
.motion-button {
  border-radius: 4px;
}
h1,
h2,
h3,
h1 em,
h2 em,
h3 em {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-style: normal;
}
h1 em,
h2 em {
  color: var(--lime);
}
.eyebrow {
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--lime);
}
.hero {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 55px;
  min-height: 730px;
  height: auto;
  max-height: none;
  padding: 65px var(--px) 90px;
  background:
    radial-gradient(ellipse at 100% 45%, #6b43593b, transparent 65%), var(--bg);
}
.hero:after {
  background: none;
  border-bottom: 5px solid var(--yellow);
}
.hero h1 {
  font-size: clamp(51px, 5.6vw, 90px);
  line-height: 1.08;
  text-shadow: 3px 3px 0 #100c1c;
}
.intro {
  color: #dfd4e3;
}
.primary {
  --accent: var(--lime);
  background: var(--lime);
  color: var(--bg);
  border: 2px solid #110d1d;
  border-radius: 4px;
  padding: 14px 23px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 4px 4px 0 #100c1d;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #100c1d;
}
.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 25px;
}
.hero-art {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  perspective: 1200px;
}
.cover-window {
  position: relative;
  aspect-ratio: 844.5/1191;
  overflow: hidden;
  width: min(100%, 370px);
  border: 3px solid #110d1c;
  border-radius: 6px;
  box-shadow:
    12px 14px 0 #100c1b,
    25px 35px 80px #0d0a1c80;
  transform: rotate(4deg);
  transition: transform 0.8s;
}
.cover-window img {
  position: absolute;
  max-width: none;
  width: 200%;
  height: 100%;
  left: -100%;
  top: 0;
}
.hero-art:hover .cover-window {
  transform: rotate(0) rotateY(-5deg);
}
.art-label {
  position: relative;
  z-index: 1;
  background: var(--yellow);
  color: var(--bg);
  border: 2px solid #110d1c;
  border-radius: 4px;
  padding: 8px 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 700;
  width: fit-content;
  max-width: 100%;
  transform: rotate(-4deg);
  margin-left: -15px;
  margin-bottom: 17px;
}
.art-caption {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 30px 0 0 20px;
}
.hero-bottom {
  bottom: 25px;
  color: #aa9db6;
}
#particles {
  opacity: 0.6;
}
.hero h1 br {
  display: block;
}
.journey {
  background: #181425;
}
.journey-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}
.journey-heading > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.journey-heading .eyebrow {
  margin-bottom: 13px;
}
.route-map {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.route-map button {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
}
.route-map button span {
  display: grid;
  place-items: center;
  border: 1px solid #6c5e82;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.route-map button[aria-current] {
  color: var(--lime);
}
.route-map button[aria-current] span {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
  font-weight: 700;
}
.route-map button:disabled {
  opacity: 0.5;
  cursor: default;
}
.route-map i {
  height: 1px;
  background: #62526c;
  flex: 1;
  min-width: 8px;
}
.journey-surface {
  display: grid;
  grid-template-columns: 170px 1fr;
  border: 1px solid #78628d;
  background:
    radial-gradient(ellipse at 100% 100%, #754bdd1a, transparent 80%), #241c37;
  min-height: 430px;
  box-shadow: 7px 7px 0 #100d1c;
  border-radius: 5px;
  overflow: hidden;
}
.journey-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px 20px;
  border-right: 1px solid #78628d;
  gap: 25px;
  background: #1c172b;
}
.route-number {
  font-family: "Roboto Slab", serif;
  font-size: 65px;
  line-height: 1;
  color: var(--yellow);
}
.vertical-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: #b1a3be;
}
.journey-side .text-button {
  margin-top: auto;
}
.journey-card {
  padding: 45px clamp(25px, 4vw, 65px);
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}
.journey-card h3 {
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.2;
  max-width: 800px;
  outline: none;
}
.journey-card p {
  color: #e0d5e6;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  margin: 18px 0;
}
.journey-card .concept-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--yellow);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.journey-card .quiet {
  font-size: 14px;
  color: var(--muted);
}
.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 17px;
  width: 100%;
}
.choice {
  flex: 1;
  min-width: 160px;
  padding: 15px 20px;
  border: 1px solid #9d82b3;
  border-radius: 4px;
  text-align: left;
  font-size: 15px;
  transition:
    background 0.2s,
    border-color 0.2s;
  line-height: 1.5;
}
.choice:hover {
  background: #754bdd2a;
  border-color: var(--lime);
}
.choice.lime {
  border-color: var(--lime);
  color: var(--lime);
}
.choice.yellow {
  border-color: var(--yellow);
  color: var(--yellow);
}
.journey-footnote {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.works {
  background: var(--yellow);
  color: var(--bg);
  padding-top: 80px;
}
.works .eyebrow {
  color: var(--bg);
}
.works h2 em {
  color: #573c94;
}
.works-heading > p {
  color: #4d3a42;
}
.work-list {
  border-top: 2px solid #241b355c;
}
.work-row {
  border-bottom: 1px solid #241b355c;
}
.work-row:hover {
  background: #fff3d928;
}
.work-row:focus-visible {
  outline-color: #573c94;
}
.work-num {
  color: #6e4d3b;
}
.work-name {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 800;
}
.work-name small {
  color: #563f41;
}
.work-type {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 14px;
  color: #3b2b40;
}
.work-plus {
  color: #573c94;
}
.author {
  background: var(--bg);
}
.author h2 em {
  color: var(--lime);
}
.author > p:not(.eyebrow) {
  color: #d5c9de;
}
dialog {
  background: #241c37;
  border: 2px solid var(--purple);
  box-shadow:
    8px 8px 0 #100c1e,
    0 40px 150px #000b;
}
dialog::backdrop {
  background: #100b21e6;
}
.dialog-inner h2 {
  color: var(--yellow);
  font-size: clamp(33px, 4vw, 52px);
}
.dialog-inner .eyebrow,
.close {
  color: var(--lime);
}
.dialog-inner .lead {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 23px;
}
.dialog-inner p {
  color: #d9cde0;
}
.topics span {
  border-color: #816695;
  border-radius: 4px;
}
.book-detail {
  width: min(260px, 80%);
  margin: 30px auto;
  transform: none;
}
.text-button:hover {
  color: var(--lime);
}
@media (min-width: 1600px) {
  .header {
    left: auto;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .hero {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
  }
  .hero h1 {
    font-size: clamp(45px, 5.5vw, 65px);
  }
  .hero-art {
    max-width: 310px;
  }
  .route-map {
    gap: 8px;
  }
  .route-map button {
    gap: 7px;
    font-size: 13px;
  }
  .journey-surface {
    grid-template-columns: 125px 1fr;
  }
  .journey-side {
    padding: 30px 15px;
  }
  .vertical-label {
    letter-spacing: 1px;
  }
  .hero .eyebrow {
    font-size: 12px;
  }
  .art-label {
    font-size: 12px;
  }
}
@media (max-width: 750px) {
  .header {
    height: 86px;
    gap: 12px;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand-crop {
    width: 39px;
    height: 43px;
  }
  .brand-crop img {
    width: 373px;
    left: -14px;
    top: -219px;
  }
  .brand small {
    font-size: 10px;
    letter-spacing: 4px;
  }
  nav {
    gap: 15px;
  }
  nav a:first-child,
  nav button {
    display: none;
  }
  .motion-label {
    display: none;
  }
  .motion-button {
    padding: 7px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    padding-bottom: 75px;
    gap: 42px;
    min-height: auto;
  }
  .hero h1 {
    font-size: clamp(43px, 10vw, 73px);
  }
  .hero h1 br:nth-of-type(2) {
    display: none;
  }
  .hero h1 em:before {
    content: " ";
  }
  .hero .intro {
    font-size: 16px;
    margin: 23px 0;
  }
  .hero-note {
    font-size: 12px;
  }
  .hero-art {
    max-width: 300px;
    justify-self: center;
  }
  .cover-window {
    width: 250px;
    margin: auto;
  }
  .art-label {
    margin: 0 auto 20px;
    font-size: 12px;
  }
  .art-caption {
    text-align: center;
    margin-left: 0;
    font-size: 12px;
  }
  .hero-bottom {
    bottom: 22px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero-bottom span:last-child {
    display: none;
  }
  .journey-heading,
  .works-heading {
    display: block;
    margin-bottom: 30px;
  }
  .journey-heading > p,
  .works-heading > p {
    margin-top: 20px;
  }
  .route-map {
    gap: 6px;
    align-items: start;
  }
  .route-map i {
    margin-top: 19px;
    min-width: 2px;
  }
  .route-map button {
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
    min-width: 45px;
  }
  .route-map button span {
    width: 32px;
    height: 32px;
  }
  .journey-surface {
    display: block;
  }
  .journey-side {
    padding: 16px 20px;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid #78628d;
  }
  .route-number {
    font-size: 32px;
  }
  .vertical-label {
    font-size: 12px;
    letter-spacing: 0.3px;
  }
  .journey-side .text-button {
    margin-top: 0;
    font-size: 12px;
  }
  .journey-card {
    padding: 30px 24px;
    min-height: 350px;
  }
  .journey-card h3 {
    font-size: 29px;
  }
  .journey-card p {
    font-size: 16px;
  }
  .journey-actions {
    flex-direction: column;
  }
  .choice {
    width: 100%;
    min-width: 0;
  }
  .journey-actions .primary {
    width: 100%;
  }
  .journey-footnote {
    font-size: 13px;
  }
  .works {
    padding-top: 65px;
  }
  .author h2 {
    font-size: 34px;
  }
}
