@media (min-width: 861px) {
  .nav-inline .nav-drop {
    position: relative;
  }

  .nav-inline .nav-list .nav-drop__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    box-sizing: border-box;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 20.5px;
    line-height: 1.15;
    letter-spacing: var(--track-tight);
    text-transform: none;
    padding: var(--space-2) 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--text-primary);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  }

  .nav-inline .nav-list .nav-drop__btn:hover,
  .nav-inline .nav-list .nav-drop__btn:active {
    color: var(--text-primary);
  }

  .nav-inline .nav-list .nav-drop__btn:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: -2px;
  }

  .nav-inline .nav-list .nav-drop__btn[aria-current] {
    border-bottom-color: var(--text-primary);
  }

  .nav-inline .nav-drop__mark {
    display: inline-flex;
    width: 0.7rem;
    height: 0.7rem;
    flex: none;
    transform-origin: center;
  }

  .nav-inline .nav-drop__mark svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .nav-inline .nav-drop__btn[aria-expanded="true"] .nav-drop__mark {
    transform: rotate(180deg);
    color: #F09C3A;
  }

  .nav-inline .nav-drop__panel {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    z-index: 40;
    min-width: 12.5rem;
    margin: 0;
    padding: 0.35rem 0;
    background: color-mix(in srgb, #7D4698 30%, var(--bg-inset));
    color: var(--text-primary);
    border: 1px solid color-mix(in srgb, #7D4698 48%, var(--border-strong));
    box-shadow: 0 0.75rem 1.5rem color-mix(in srgb, black 55%, transparent);
  }

  .nav-inline .nav-drop:nth-last-child(-n + 2) .nav-drop__panel {
    left: auto;
    right: 0;
  }

  .nav-inline .nav-drop__panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-inline .nav-list .nav-drop__panel a {
    display: block;
    width: auto;
    min-height: 0;
    justify-content: flex-start;
    padding: 0.45rem 0.9rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: var(--track-tight);
    white-space: nowrap;
    color: var(--text-primary);
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-inline .nav-list .nav-drop__panel a:hover,
  .nav-inline .nav-list .nav-drop__panel a:active,
  .nav-inline .nav-list .nav-drop__panel a:focus-visible {
    color: #F09C3A;
    border-bottom-color: transparent;
    background: transparent;
  }
}

.home-search {
  display: none;
}

.dir-rail {
  display: none;
}

@media (min-width: 861px) {
  .site-header .header-inner::before {
    content: "";
    flex: none;
    align-self: center;
    width: 4.1rem;
    height: calc(4.1rem * 601 / 464);
  }

  .site-header .header-inner > .brand {
    position: fixed;
    top: 9px;
    left: 57px;
    z-index: 3;
    margin: 0;
    padding: 0;
    place-items: start;
  }

  .site-header::before {
    background:
      radial-gradient(16rem 10rem at 57px 50%, color-mix(in srgb, #7d4698 18%, transparent), transparent 70%),
      radial-gradient(16rem 10rem at var(--header-book-right) 50%, color-mix(in srgb, #7d4698 18%, transparent), transparent 70%),
      var(--bg-inset);
  }

  .site-header .header-inner > .brand > span[aria-hidden="true"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  body.home .nav-inline,
  body:not(.home) .nav-inline {
    display: none;
  }

  body.home .header-inner,
  body:not(.home) .header-inner {
    gap: 0.65rem;
  }

  body.home .home-search,
  body:not(.home) .home-search {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    align-self: center;
    flex: 0 0 auto;
    width: calc(14.5rem * 1.125);
    height: 2.15rem;
    margin: 0 0 0 auto;
    position: relative;
    left: calc(max(var(--gutter), (100cqi - 72rem) / 2) - 77px);
    padding: 0 0.8rem 0 0.22rem;
    border: 1px solid #3c342c;
    border-radius: 0.55rem;
    background: #100e0c;
    color: #9c9a97;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);
    appearance: none;
    cursor: pointer;
    min-height: 0;
  }
}

body.home .home-search::before,
  body:not(.home) .home-search::before {
    content: "";
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    background: url("/favicon-48.png") center / contain no-repeat;
  }

  body.home .home-search svg,
  body:not(.home) .home-search svg {
    flex: none;
    width: 0.95rem;
    height: 0.95rem;
    margin-left: auto;
    color: #b5b4b1;
  }

  body.home .home-search:hover,
  body.home .home-search:focus,
  body.home .home-search:focus-visible,
  body.home .home-search:focus-within,
  body.home .home-search:active,
  body:not(.home) .home-search:hover,
  body:not(.home) .home-search:focus,
  body:not(.home) .home-search:focus-visible,
  body:not(.home) .home-search:focus-within,
  body:not(.home) .home-search:active {
    border-color: #f09c3a;
    color: var(--text-primary);
    outline: none;
  }

  body.home .home-search:hover svg,
  body.home .home-search:focus svg,
  body.home .home-search:focus-visible svg,
  body.home .home-search:focus-within svg,
  body.home .home-search:active svg,
  body:not(.home) .home-search:hover svg,
  body:not(.home) .home-search:focus svg,
  body:not(.home) .home-search:focus-visible svg,
  body:not(.home) .home-search:focus-within svg,
  body:not(.home) .home-search:active svg {
    color: #f09c3a;
  }

  .home-search__slot {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .home-search__label {
    color: #7D4698;
    white-space: nowrap;
  }

  .home-search.is-live .home-search__label {
    display: none;
  }

  .home-search__input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: transparent;
    caret-color: #f09c3a;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1;
    min-height: 0;
  }

  .home-search__input::-webkit-search-decoration,
  .home-search__input::-webkit-search-cancel-button,
  .home-search__input::-webkit-search-results-button,
  .home-search__input::-webkit-search-results-decoration {
    display: none;
  }

  .home-search__input:hover,
  .home-search__input:focus,
  .home-search__input:focus-visible,
  .home-search__input:active {
    border-color: transparent;
    outline: none;
    background: transparent;
    box-shadow: none;
  }

  .home-search.is-miss .home-search__input,
  .home-search.is-query .home-search__input {
    color: #e7e5e2;
  }

  .home-search.is-query {
    z-index: 6;
    overflow: visible;
  }

  .home-search__list:not([hidden]) {
    position: absolute;
    z-index: 7;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    margin: 0;
    padding: 0.2rem;
    list-style: none;
    max-height: 11rem;
    overflow: auto;
    border: 1px solid #3c342c;
    border-radius: 0.45rem;
    background: #100e0c;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 #7d4698;
  }

  .home-search__list a {
    display: block;
    min-height: 0;
    padding: 0.32rem 0.45rem;
    border-radius: 0.3rem;
    color: #e7e5e2;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
  }

  .home-search__list a:hover,
  .home-search__list a[aria-selected="true"] {
    background: color-mix(in srgb, #7d4698 32%, #100e0c);
    color: #f09c3a;
  }

  .home-search__word:not([hidden]) {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: #9c9a97;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .home-search__word.is-on {
    animation: home-search-ticker var(--ticker-ms, 1371ms) linear forwards;
  }

  .home-search__word.is-hit {
    color: #e7e5e2;
    pointer-events: auto;
    cursor: pointer;
  }

  .home-search__word.is-hit:hover {
    color: #f09c3a;
  }

  @keyframes home-search-ticker {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--travel, 4rem), 0, 0); }
  }

@media (min-width: 861px) {
  body {
    --dir-rail-w: 13.5rem;
  }

  .site-header {
    container-type: inline-size;
  }

  body .dir-rail {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    float: left;
    position: static;
    width: var(--dir-rail-w);
    height: auto;
    max-height: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0.55rem 0.5rem 0.85rem;
    border-right: 1px solid color-mix(in srgb, #7d4698 32%, transparent);
    background:
      radial-gradient(ellipse 140% 85% at 50% 0%, color-mix(in srgb, #7D4698 16%, transparent), transparent 72%),
      radial-gradient(22rem 120% at 0% 50%, color-mix(in srgb, #7D4698 18%, transparent), transparent 74%),
      radial-gradient(16rem 70% at 100% 35%, color-mix(in srgb, #7D4698 14%, transparent), transparent 74%),
      color-mix(in srgb, #7D4698 12%, var(--bg-inset));
    overflow: visible;
  }

  body main {
    margin-left: var(--dir-rail-w);
  }

  body main > .section.hub-hero {
    width: min(72rem, calc(100% - 2 * var(--gutter) - 4.5rem));
  }

  body main > .section:not(.hero):not(.hub-hero),
  body main > .article-shell {
    width: min(72rem, calc(100% + var(--dir-rail-w) - 2 * var(--gutter)));
    margin-left: calc(
      (100% + var(--dir-rail-w) - min(72rem, calc(100% + var(--dir-rail-w) - 2 * var(--gutter)))) / 2
      - var(--dir-rail-w)
    );
    margin-right: 0;
  }

  body main > .section:not(.hero):not(.hub-hero) {
    clear: left;
  }

  body > .site-footer {
    clear: left;
  }

  body .dir-rail .home-shortcuts__card {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr) 0.7rem;
    align-items: center;
    column-gap: 0.5rem;
    min-width: 0;
    min-height: 4.5rem;
    padding: 0.55rem 0.55rem;
    border: 1px solid color-mix(in srgb, var(--sc) 55%, #3a2c38);
    border-radius: 0.45rem;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 18%, transparent), transparent 2.2rem),
      color-mix(in srgb, var(--home-field) 78%, #120e12);
    box-shadow: inset 3px 0 0 var(--sc);
    color: var(--text-primary);
    text-decoration: none;
    white-space: normal;
  }

  body .dir-rail .home-shortcuts__icon,
  body .dir-rail .home-shortcuts__chev {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--sc);
  }

  body .dir-rail .home-shortcuts__chev {
    width: 0.7rem;
    height: 0.7rem;
    justify-self: end;
  }

  body .dir-rail .home-shortcuts__text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
  }

  body .dir-rail .home-shortcuts__name {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text-primary);
  }

  body .dir-rail .home-shortcuts__line {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-secondary);
    white-space: normal;
  }

  body .dir-rail .home-shortcuts__card:hover,
  body .dir-rail .home-shortcuts__card:focus-visible {
    border-color: var(--sc);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 28%, transparent), transparent 2.4rem),
      color-mix(in srgb, var(--home-field) 62%, #1a1418);
    box-shadow: inset 3px 0 0 var(--sc);
  }

  body .dir-rail .home-shortcuts__card:focus-visible {
    outline: 2px solid var(--sc);
    outline-offset: 2px;
  }

  body .dir-rail .home-shortcuts__card[aria-current="page"] {
    border-color: var(--sc);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 34%, transparent), transparent 2.4rem),
      color-mix(in srgb, var(--sc) 16%, var(--home-field));
    box-shadow: inset 3px 0 0 var(--sc);
  }
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #c084fc #1c1424;
}

html::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background: #1c1424;
}

html::-webkit-scrollbar-track {
  background: #1c1424;
}

html::-webkit-scrollbar-thumb {
  background: #c084fc;
  border-radius: 999px;
  border: 2px solid #1c1424;
  box-shadow: 0 0 8px 2px #a855f7;
}

@media (min-width: 1280px) {
  .home .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) 31.8rem;
  }

  .home .hero .hero-grid > aside {
    width: 31.8rem;
    max-width: none;
    flex: 0 0 31.8rem;
  }
}

@media (max-width: 860px) {
  body.home .header-inner,
  body:not(.home) .header-inner {
    align-items: center;
  }

  .site-header .header-inner > .home-search {
    display: none;
  }

  .nav-drawer .home-search {
    --sc: #f09c3a;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    align-self: auto;
    flex: none;
    width: 80%;
    min-width: 0;
    height: calc(var(--space-4) * 2 + var(--fs-xl) * 1.15 + 1px);
    box-sizing: border-box;
    margin: 0 0 0.4rem auto;
    position: relative;
    left: auto;
    z-index: 2;
    padding: 0 0.7rem 0 0.55rem;
    border: 1px solid color-mix(in srgb, var(--sc) 55%, #3a2c38);
    border-radius: 0.45rem;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 18%, transparent), transparent 2.2rem),
      color-mix(in srgb, var(--home-field) 78%, #120e12);
    box-shadow: inset 3px 0 0 var(--sc);
    color: #9c9a97;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    appearance: none;
    cursor: pointer;
    min-height: 0;
    overflow: visible;
  }

  .nav-drawer .home-search.is-query {
    z-index: 8;
  }

  .site-header .header-inner > .nav-drawer {
    margin-inline-start: auto;
    flex-shrink: 0;
  }

  .site-header .header-inner > .brand {
    position: relative;
    left: calc((2.8rem - 4.1rem) * 47 / 464);
  }

  .nav-drawer nav {
    padding: 0 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    max-height: calc(100svh - var(--anchor-offset));
    overflow-y: auto;
  }

  .nav-drawer .nav-list a.home-shortcuts__card {
    display: grid;
    grid-template-columns: 1.15rem minmax(0, 1fr) 0.7rem;
    align-items: center;
    column-gap: 0.5rem;
    width: 80%;
    min-width: 0;
    height: calc(var(--space-4) * 2 + var(--fs-xl) * 1.15 + 1px);
    min-height: 0;
    box-sizing: border-box;
    margin: 0 0 0 auto;
    padding: 0.55rem;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--sc) 55%, #3a2c38);
    border-radius: 0.45rem;
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 18%, transparent), transparent 2.2rem),
      color-mix(in srgb, var(--home-field) 78%, #120e12);
    box-shadow: inset 3px 0 0 var(--sc);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    text-decoration: none;
    white-space: normal;
  }

  .nav-drawer .nav-list li:last-child a.home-shortcuts__card {
    height: calc(var(--space-4) * 2 + var(--fs-xl) * 1.15 + 1px);
    border-bottom: 1px solid color-mix(in srgb, var(--sc) 55%, #3a2c38);
  }

  .nav-drawer .home-shortcuts__icon,
  .nav-drawer .home-shortcuts__chev {
    display: block;
    width: 1.15rem;
    height: 1.15rem;
    color: var(--sc);
  }

  .nav-drawer .home-shortcuts__chev {
    width: 0.7rem;
    height: 0.7rem;
    justify-self: end;
  }

  .nav-drawer .home-shortcuts__text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
  }

  .nav-drawer .home-shortcuts__name {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-drawer .home-shortcuts__line {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-drawer .nav-list a.home-shortcuts__card:hover,
  .nav-drawer .nav-list a.home-shortcuts__card:focus-visible {
    border-color: var(--sc);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 28%, transparent), transparent 2.4rem),
      color-mix(in srgb, var(--home-field) 62%, #1a1418);
    box-shadow: inset 3px 0 0 var(--sc);
  }

  .nav-drawer .nav-list a.home-shortcuts__card:focus-visible {
    outline: 2px solid var(--sc);
    outline-offset: -2px;
  }

  .nav-drawer .nav-list a.home-shortcuts__card[aria-current="page"] {
    border-color: var(--sc);
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--sc) 34%, transparent), transparent 2.4rem),
      color-mix(in srgb, var(--sc) 16%, var(--home-field));
    box-shadow: inset 3px 0 0 var(--sc);
  }
}


@media (min-width: 861px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.85fr);
  }

  .footer-navs {
    order: 1;
  }

  .footer-brand {
    order: 2;
  }

  .footer-colophon-row {
    order: 3;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(20rem, 0.55fr);
  }
}

.footer-brand .brand {
  margin-bottom: 0;
  line-height: 1;
}

.footer-brand .muted {
  margin-top: 16px;
}

.article-shell .title-block {
  margin: var(--space-2) 0 var(--space-6);
}

.article-shell .title-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7em;
  margin: 0 0 var(--space-4);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: calc(var(--track-mono) * 2);
  line-height: 1.4;
  text-transform: uppercase;
}

.article-shell .title-kicker__label {
  color: var(--accent-primary);
}

.article-shell .title-kicker__dot {
  color: var(--text-tertiary);
}

.article-shell .title-block h1 {
  max-width: 16em;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.06;
}

.article-shell .title-rule {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: var(--space-4);
  background: var(--accent-primary);
}

.grid > .card {
  padding-left: 0;
}

.grid > .card::before {
  content: none;
  counter-increment: none;
}

.grid > .card .card-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7em;
  margin: 0 0 var(--space-4);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: calc(var(--track-mono) * 2);
  line-height: 1.4;
  text-transform: uppercase;
}

.grid > .card .card-kicker__label {
  color: var(--accent-primary);
}

.grid > .card .card-kicker__dot {
  color: var(--text-tertiary);
}

.grid > .card .card-title {
  margin: 0;
  min-height: 0;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.12;
}

.grid > .card .card-rule {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: var(--space-4) 0;
  background: var(--accent-primary);
}

.grid > .card > p {
  min-height: 0;
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .grid > .card .card-title {
    font-size: 1.4rem;
  }
}
