body,
body * {
  letter-spacing: normal !important;
}

html {
  scroll-padding-top: 120px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 15px 5%;
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(2, 1, 1, 0.05);
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.09);
}

.site-brand {
  flex: 0 1 auto;
  min-width: 0;
  color: #000;
  font-family: Lato, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 32px);
}

.site-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  appearance: none;
  margin: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: #141414;
  font-family: "DM Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav .nav-link:hover,
.site-nav .nav-drop:hover > .nav-link,
.site-nav .nav-drop.is-open > .nav-link,
.site-header .nav-current {
  color: #b87d06;
  text-decoration: none;
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.nav-current::after {
  transform: scaleX(1);
}

.nav-caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
}

.nav-drop:hover > .nav-link .nav-caret,
.nav-drop.is-open > .nav-link .nav-caret {
  transform: rotate(225deg) translate(-2px, 0);
}

.nav-drop {
  position: relative;
  display: flex;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.25s;
}

.nav-drop:hover > .nav-panel,
.nav-drop:focus-within > .nav-panel,
.nav-drop.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
}

.nav-mega {
  display: grid;
  gap: 8px 18px;
  max-width: calc(100vw - 40px);
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 70px -24px rgba(40, 28, 0, 0.28), 0 6px 18px rgba(0, 0, 0, 0.05);
}

.nav-mega-res {
  grid-template-columns: 1fr 1fr;
  width: 700px;
}

.nav-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-col-label {
  margin: 4px 12px 8px;
  color: #a37415;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.nav-col-label-gap {
  margin-top: 16px;
}

.nav-item,
.nav-book {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  color: #141414;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-item:hover,
.nav-book:hover,
.nav-item.nav-current,
.nav-book.nav-current {
  background: #fbf5e6;
}

.nav-item:hover .nav-ico {
  background: #f6dc99;
}

.nav-ico {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff2cf;
  color: #9a6a06;
  transition: background-color 0.25s ease;
}

.nav-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nav-item-text strong {
  color: #141414;
  font-family: "DM Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 21px;
}

.nav-item-text small {
  color: #6b6b6b;
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 19px;
}

.nav-item.nav-current strong,
.nav-book.nav-current strong,
.nav-item:hover strong,
.nav-book:hover strong {
  color: #9a6a06;
}

.nav-book {
  align-items: center;
}

.nav-book-cover {
  flex: 0 0 54px;
  width: 54px;
  height: 70px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-book:hover .nav-book-cover {
  transform: translateY(-3px) rotate(-2deg);
}

.nav-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-mega-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
}

.nav-mega-foot i,
.nav-acc-all i {
  font-style: normal;
  transition: transform 0.3s ease;
}

.nav-mega-foot:hover i,
.nav-acc-all:hover i {
  transform: translateX(4px);
}

.nav-mega-foot {
  grid-column: 1 / -1;
  justify-content: space-between;
  margin: 6px 0 0;
  padding: 14px 12px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: #9a6a06;
  text-decoration: none;
}

.site-bar-end {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.site-btn-bar {
  display: none;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 45px;
  height: 39px;
  padding: 0 9px 0 10px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
  transition: transform 0.28s ease, opacity 0.2s ease, background-color 0.2s;
}

.nav-burger span:nth-child(3) {
  width: 17px;
}

.nav-burger:hover span {
  background: #ca8700;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(20, 16, 8, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: min(390px, 100vw);
  height: 100dvh;
  overflow-y: auto;
  background: #fbf8f1;
  color: #1a1a1a;
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.45s;
}

.nav-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

body.nav-open {
  overflow: hidden;
}

.nav-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-drawer-brand {
  color: #000;
  font-family: Lato, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-close {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #222;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.nav-close:hover {
  background: #ca8700;
  color: #fff;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.nav-drawer-links > a,
.nav-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 24px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  color: #1a1a1a;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nav-drawer-links > a:hover,
.nav-acc:hover,
.nav-drawer a.nav-current,
.nav-acc.nav-current {
  color: #b87d06;
}

.nav-acc .nav-caret {
  width: 8px;
  height: 8px;
  margin-right: 4px;
}

.nav-group.is-open .nav-acc .nav-caret {
  transform: rotate(225deg) translate(-2px, 0);
}

.nav-acc-panel {
  display: none;
  padding: 4px 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-group.is-open .nav-acc {
  border-bottom-color: transparent;
}

.nav-group.is-open .nav-acc-panel {
  display: block;
  animation: navAccIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navAccIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.nav-acc-label {
  margin: 0;
  padding: 12px 24px 4px;
  color: #a37415;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.nav-acc-panel a {
  display: block;
  margin: 2px 12px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #1a1a1a;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
}

.nav-acc-panel a small {
  display: block;
  margin-top: 2px;
  color: #747474;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 19px;
}

.nav-acc-panel a.nav-current,
.nav-acc-panel a:hover {
  background: #f4ecd8;
  color: #9a6a06;
}

.nav-acc-panel a.nav-acc-all {
  margin-top: 8px;
  color: #9a6a06;
  font-weight: 600;
}

.nav-drawer-cta {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fbf8f1;
}

.nav-drawer-cta p {
  margin: 0 0 12px;
  color: #5a5a5a;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.nav-drawer-cta .site-btn {
  display: block;
  text-align: center;
}

@media (min-width: 768px) {
  .site-header {
    padding: 10px 5%;
  }

  .site-brand {
    font-size: 20px;
  }
}

@media (min-width: 1280px) {
  .site-header {
    padding: 15px 20px 12px;
  }

  .site-bar {
    max-width: 1550px;
    padding: 8px 12px 8px 32px;
    border-color: rgba(0, 0, 0, 0.04);
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.08);
  }

  .site-nav {
    display: flex;
    flex: 1 1 auto;
  }

  .site-btn-bar {
    display: inline-block;
  }

  .nav-burger,
  .nav-scrim,
  .nav-drawer {
    display: none !important;
  }
}

@media (min-width: 1280px) and (max-width: 1366px) {
  .site-brand {
    font-size: 18px;
  }

  .site-nav .nav-link {
    font-size: 15px;
  }
}

@media (min-width: 1367px) {
  .site-header {
    padding: 15px 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel,
  .nav-drawer,
  .nav-group.is-open .nav-acc-panel {
    transition: none !important;
    animation: none !important;
  }
}

.site-header .site-btn {
  padding: 15px 30px;
  border-radius: 100px;
  background: #fff2cf;
  color: #303030;
  font-family: Lato, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 15px;
  box-shadow: 1px 1px 0 0 #000;
  transition: all 0.3s;
}

.site-header .site-btn:hover {
  background: #fde7ad;
  box-shadow: 2px 2px 0 0 #000;
}

#booksToggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

footer.bg-night {
  padding: 70px 0 10px;
  background: #00020f;
  color: #fff;
  letter-spacing: .4px;
}

footer.bg-night > .grid {
  width: 100%;
  max-width: 1450px;
  grid-template-columns: minmax(0, 383fr) minmax(0, 236fr) minmax(0, 275fr) minmax(0, 471fr);
  gap: 0 20px;
  align-items: start;
}

footer.bg-night > .grid > a:first-child {
  display: block;
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: normal;
}

footer.bg-night > .grid h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 1px;
}

footer.bg-night > .grid > div:last-child > h2 {
  color: #000;
}

footer.bg-night > .grid ul {
  margin-top: 0 !important;
}

footer.bg-night > .grid ul > li {
  margin-top: 0 !important;
}

footer.bg-night > .grid ul > li + li {
  margin-top: 10px !important;
}

footer.bg-night > .grid ul.space-y-2 a,
footer.bg-night #booksToggle {
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: .4px;
  transition: color .3s;
}

footer.bg-night #booksToggle {
  gap: 10px;
  font-style: italic;
}

footer.bg-night #booksToggle svg {
  width: 15px;
  height: 15px;
}

footer.bg-night a:hover,
footer.bg-night #booksToggle:hover,
footer.bg-night #booksToggle[aria-expanded="true"] {
  color: #c99121;
}

#booksList {
  margin: 10px 0 0 !important;
  padding: 0 0 0 15px;
  list-style: none;
}

footer.bg-night > .grid ul.space-y-3 > li + li {
  margin-top: 5px !important;
}

footer.bg-night li.flex {
  gap: 5px;
}

footer.bg-night .ft-ico {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #fff;
}

footer.bg-night li.flex > a {
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 1.1px;
}

footer.bg-night li.flex > a:hover {
  color: #c99121;
}

footer.bg-night ul + div {
  margin-top: 15px;
  gap: 20px;
}

footer.bg-night ul + div > a {
  width: 47px;
  height: 47px;
  padding: 10px;
  border-radius: 25px;
  color: #fff;
  transition: opacity .3s;
}

footer.bg-night ul + div > a:hover {
  opacity: .9;
}

footer.bg-night ul + div svg {
  width: 27px;
  height: 27px;
}

footer.bg-night a[aria-label="Youtube"] { background-color: #cd201f; }
footer.bg-night a[aria-label="Linkedin"] { background-color: #0077b5; }
footer.bg-night a[aria-label="Instagram"] { background-color: #69727d; }

footer.bg-night > p {
  width: 100%;
  max-width: 1450px;
  margin: 20px auto 10px;
  color: #858585;
  font-family: Lato, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 1px;
}

@media (max-width: 1366px) {
  footer.bg-night > .grid,
  footer.bg-night > p {
    width: 90%;
  }

  footer.bg-night > .grid {
    grid-template-columns: minmax(0, 280fr) minmax(0, 178fr) minmax(0, 218fr) minmax(0, 416fr);
  }

  footer.bg-night > .grid > a:first-child {
    line-height: 32px;
  }
}

@media (max-width: 1024px) {
  footer.bg-night > .grid {
    grid-template-columns: minmax(0, 272fr) minmax(0, 184fr) minmax(0, 184fr);
    column-gap: 40px;
  }

  footer.bg-night > .grid > div:last-child > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer.bg-night ul + div {
    margin-top: 35px;
  }

  footer.bg-night > .grid > a:first-child,
  footer.bg-night > .grid h2,
  footer.bg-night > p {
    line-height: 34px;
  }

  footer.bg-night > .grid > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #00000021;
  }

  footer.bg-night > p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  footer.bg-night {
    padding: 40px 0;
  }

  footer.bg-night > .grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  footer.bg-night > .grid > div:last-child {
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  footer.bg-night > .grid > div:last-child > ul {
    align-items: flex-start;
  }

  footer.bg-night ul + div {
    margin-top: 15px;
  }

  footer.bg-night > .grid ul.space-y-2 > li + li {
    margin-top: 15px !important;
  }

  footer.bg-night > .grid ul.space-y-2 > li:has(> #booksToggle) {
    margin-top: 10px !important;
  }

  footer.bg-night > p {
    font-style: italic;
  }
}

.nav-link:focus-visible,
.nav-item:focus-visible,
.nav-book:focus-visible,
.nav-mega-foot:focus-visible,
.nav-close:focus-visible,
.nav-acc:focus-visible,
.nav-acc-panel a:focus-visible,
.nav-burger:focus-visible,
#booksToggle:focus-visible {
  outline: 2px solid #ca8700;
  outline-offset: 3px;
}

.assess-fab,
.assess-bar-head {
  display: none;
}

@media (max-width: 639px) {
  .assess-fab {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px 0 14px;
    border: 0;
    border-radius: 999px;
    background: #ffd580;
    color: #000;
    font: 700 14px/1 "Lato", sans-serif;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .assess-fab:active {
    transform: scale(0.96);
  }
  .assess-fab.is-open {
    background: #fff;
  }
  .assess-fab svg {
    width: 20px;
    height: 20px;
    flex: none;
  }
  .assess-fab .assess-fab-close,
  .assess-fab.is-open .assess-fab-open {
    display: none;
  }
  .assess-fab.is-open .assess-fab-close {
    display: block;
  }
  .assess-fab:focus-visible {
    outline: 2px solid #ca8700;
    outline-offset: 3px;
  }

  .assess-bar {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    z-index: 45;
    width: min(340px, calc(100vw - 32px));
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 22px;
    background: #0b0b0b !important;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.6) !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .assess-bar.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }
  .assess-bar > a {
    padding: 0 !important;
    border: 0 !important;
  }
  .assess-bar > a > span {
    display: block;
    width: 100%;
    padding: 14px 18px !important;
    font-size: 15px !important;
  }
  .assess-bar-head {
    display: block;
    margin: 0 0 4px;
    padding: 0 4px;
    color: rgba(255, 255, 255, 0.7);
    font: 400 14px/1.4 "DM Sans", sans-serif;
  }
  body.nav-open .assess-fab,
  body.nav-open .assess-bar {
    display: none !important;
  }
}

@media (max-width: 639px) and (prefers-reduced-motion: reduce) {
  .assess-fab,
  .assess-bar,
  .assess-bar.is-open {
    transition: none;
  }
}
