:root
{
 --main: #0b1220;
 --tile: #dfe5f0;
 --zone: #fff;
 --grid: #ffb300;
 --body: #111;
 --deep: #d99700;
 --size: #070b16;
 --thin: #fff;
 --lead: color-mix(in srgb, var(--tile) 6%, var(--main));
 --depth: color-mix(in srgb, var(--tile) 3%, var(--main));
 --foot: color-mix(in srgb, var(--tile) 18%, var(--main));
 --head: color-mix(in srgb, var(--tile) 68%, var(--main));
 --space: 1160px;
 --fill: 78ch;
 --soft: 14px;
 --flow: 8px;
 --cool: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
 --field: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
 --brand: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
 --plain: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
 --alt: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

*, *::before, *::after
{
 box-sizing: border-box;
}

body
{
 margin: 0;
 background: var(--main);
 color: var(--tile);
 font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
 font-size: var(--field);
 line-height: 1.65;
 -webkit-text-size-adjust: 100%;
 overflow-wrap: break-word;
}

img
{
 max-width: 100%;
 height: auto;
 display: block;
}

a
{
 color: inherit;
}

.box
{
 position: sticky;
 top: 0;
 z-index: 20;
 background: var(--size);
 color: var(--thin);
}

.box__side, .node__line, .record__thumb, .shelf__icon, .porch__plain
{
 width: min(100% - 2rem, var(--space));
 margin-inline: auto;
}

.box__side
{
 display: flex;
 align-items: center;
 gap: 1.25rem;
 min-height: 60px;
 padding-block: 0.5rem;
}

.matrix
{
 display: inline-flex;
 align-items: center;
 font-weight: 700;
 font-size: 1.05rem;
 letter-spacing: -0.01em;
 text-decoration: none;
 color: inherit;
 white-space: nowrap;
 flex-shrink: 0;
}

.matrix img
{
 height: 32px;
 width: auto;
 object-fit: contain;
}

.tract
{
 display: flex;
 gap: 0.15rem;
 margin-inline-end: auto;
 min-width: 0;
}

.tract a
{
 padding: 0.4rem 0.7rem;
 border-radius: var(--flow);
 text-decoration: none;
 color: inherit;
 opacity: 0.82;
 white-space: nowrap;
 font-size: 0.92rem;
}

.tract a:hover
{
 background: color-mix(in srgb, var(--thin) 14%, transparent);
 opacity: 1;
}

.tract:empty
{
 display: none;
}

.tract:empty + .box__cell
{
 margin-inline-start: auto;
}

.box__cell
{
 display: flex;
 gap: 0.5rem;
 flex-shrink: 0;
}

.bay
{
 display: none;
 position: relative;
 flex-shrink: 0;
}

.bay__lead
{
 list-style: none;
 cursor: pointer;
 width: 40px;
 height: 40px;
 display: grid;
 place-items: center;
 border: 1px solid color-mix(in srgb, var(--thin) 40%, transparent);
 border-radius: var(--flow);
}

.bay__lead::-webkit-details-marker
{
 display: none;
}

.bay__lead span::before, .bay__lead span, .bay__lead span::after
{
 content: "";
 display: block;
 width: 18px;
 height: 2px;
 background: currentColor;
 border-radius: 2px;
}

.bay__lead span
{
 position: relative;
}

.bay__lead span::before
{
 position: absolute;
 top: -6px;
}

.bay__lead span::after
{
 position: absolute;
 top: 6px;
}

.bay__icon
{
 position: absolute;
 inset-inline-end: 0;
 top: calc(100% + 0.5rem);
 z-index: 25;
 min-width: 14rem;
 display: flex;
 flex-direction: column;
 gap: 0.15rem;
 padding: 0.5rem;
 background: var(--size);
 border: 1px solid color-mix(in srgb, var(--thin) 20%, transparent);
 border-radius: var(--soft);
 box-shadow: var(--cool);
}

.bay__icon a
{
 padding: 0.6rem 0.7rem;
 border-radius: var(--flow);
 text-decoration: none;
 color: var(--thin);
}

.bay__icon a:hover
{
 background: color-mix(in srgb, var(--thin) 12%, transparent);
}

.bay__icon .seam
{
 margin-top: 0.4rem;
 color: var(--thin);
 border-color: color-mix(in srgb, var(--thin) 40%, transparent);
}

.box .seam_wide
{
 color: inherit;
 border-color: color-mix(in srgb, var(--thin) 45%, transparent);
}

.box .seam_wide:hover
{
 background: color-mix(in srgb, var(--thin) 14%, transparent);
}

.record
{
 background: color-mix(in srgb, var(--thin) 8%, var(--size));
 border-top: 1px solid color-mix(in srgb, var(--thin) 12%, transparent);
 font-size: 0.9rem;
}

.record__thumb
{
 display: flex;
 gap: 0.25rem;
 overflow-x: auto;
 scrollbar-width: none;
}

.record__thumb::-webkit-scrollbar
{
 display: none;
}

.record a
{
 padding: 0.55rem 0.7rem;
 text-decoration: none;
 color: var(--thin);
 opacity: 0.8;
 white-space: nowrap;
 border-bottom: 2px solid transparent;
}

.record a:hover
{
 opacity: 1;
 border-bottom-color: var(--grid);
}

.seam
{
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 0.4rem;
 border: 1px solid var(--wide, transparent);
 border-radius: var(--flow);
 padding: 0.6rem 1.1rem;
 font: inherit;
 font-weight: 700;
 line-height: 1.2;
 text-align: center;
 cursor: pointer;
 text-decoration: none;
 background: var(--grid);
 color: var(--body);
 transition: background-color 0.15s ease, transform 0.05s ease;
}

.seam:hover
{
 background: var(--deep);
}

.seam:active
{
 transform: translateY(1px);
}

.seam_wide
{
 background: transparent;
 color: var(--zone);
 border-color: var(--foot);
}

.seam_wide:hover
{
 background: var(--lead);
}

.seam_last
{
 padding: 0.9rem 1.8rem;
 font-size: var(--brand);
}

:focus-visible
{
 outline: 2px solid var(--grid);
 outline-offset: 2px;
}

.node__icon, .binder h3, .wing h3, .stratum, .wing h2, .binder h2
{
 color: var(--zone);
 line-height: 1.18;
 letter-spacing: -0.02em;
 text-wrap: balance;
}

.stratum
{
 font-size: var(--alt);
 margin: 0 0 1rem;
}

.node__icon
{
 font-size: var(--plain);
 margin: 0 0 1.25rem;
}

.wing h3, .binder h3
{
 font-size: var(--brand);
 margin: 1.75rem 0 0.5rem;
}

.binder p, .wing p
{
 margin: 0 0 1rem;
}

.wing > :last-child, .binder > :last-child
{
 margin-bottom: 0;
}

.binder a, .wing a
{
 color: color-mix(in srgb, var(--grid) 72%, var(--zone));
 text-underline-offset: 3px;
}

.course
{
 display: block;
}

.node
{
 padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
 scroll-margin-top: 72px;
}

.course > .node:not(.porch):nth-of-type(odd)
{
 background: var(--lead);
}

.binder
{
 max-width: var(--fill);
}

.node_list .binder ul
{
 list-style: none;
 padding: 0;
 margin: 0 0 1rem;
 display: grid;
 gap: 0.5rem;
}

.node_list .binder ul > li
{
 position: relative;
 padding-inline-start: 1.9rem;
 padding-block: 0.15rem;
}

.node_list .binder ul > li::before
{
 content: "";
 position: absolute;
 inset-inline-start: 0;
 top: 0.55em;
 width: 0.75rem;
 height: 0.4rem;
 border-inline-start: 2px solid var(--grid);
 border-bottom: 2px solid var(--grid);
 transform: rotate(-45deg);
}

.node_list .binder ol
{
 counter-reset: step;
 list-style: none;
 padding: 0;
 display: grid;
 gap: 0.6rem;
}

.node_list .binder ol > li
{
 counter-increment: step;
 position: relative;
 padding-inline-start: 2.6rem;
}

.node_list .binder ol > li::before
{
 content: counter(step);
 position: absolute;
 inset-inline-start: 0;
 top: 0;
 width: 1.8rem;
 height: 1.8rem;
 border-radius: 50%;
 background: var(--grid);
 color: var(--body);
 font-weight: 700;
 font-size: 0.9rem;
 display: grid;
 place-items: center;
}

.note
{
 margin: 1.5rem 0;
 padding: 1rem 1.25rem;
 border: 1px solid var(--foot);
 border-inline-start: 3px solid var(--head);
 border-radius: 0 var(--flow) var(--flow) 0;
 background: var(--lead);
 font-size: 0.95rem;
}

.note p
{
 margin: 0 0 0.6rem;
}

.note > :last-child
{
 margin-bottom: 0;
}

.note strong
{
 color: var(--zone);
}

.note--disclosure
{
 color: var(--head);
 font-size: 0.88rem;
 background: transparent;
 border-inline-start-color: var(--foot);
}

.note--warning
{
 border-inline-start-color: var(--grid);
 background: color-mix(in srgb, var(--grid) 10%, var(--main));
}

.note--takeaway
{
 font-variant-numeric: tabular-nums;
 border-inline-start-color: var(--zone);
}

.note--rg
{
 border: 1px solid color-mix(in srgb, var(--zone) 30%, var(--foot));
 border-radius: var(--soft);
 background: var(--depth);
}

.note--rg a
{
 font-weight: 600;
}

.note--independent
{
 margin-top: 2.5rem;
 font-size: 0.85rem;
 color: var(--head);
 background: transparent;
 border: 0;
 border-top: 1px solid var(--foot);
 border-radius: 0;
 padding: 1rem 0 0;
}

.wing blockquote, .binder blockquote
{
 margin: 1.25rem 0;
 padding: 1rem 1.25rem;
 border-inline-start: 3px solid var(--grid);
 border-radius: 0 var(--flow) var(--flow) 0;
 background: var(--lead);
 color: var(--head);
 font-size: 0.95rem;
}

.wing blockquote p, .binder blockquote p
{
 margin: 0 0 0.6rem;
}

.binder blockquote > :last-child, .wing blockquote > :last-child
{
 margin-bottom: 0;
}

.binder blockquote strong, .wing blockquote strong
{
 color: var(--zone);
}

.binder hr
{
 border: 0;
 border-top: 1px solid var(--foot);
 margin: 2rem 0;
}

.binder table
{
 width: 100%;
 border-collapse: collapse;
 margin: 0 0 1.25rem;
 font-size: 0.95rem;
 background: var(--depth);
 border: 1px solid var(--foot);
 border-radius: var(--soft);
 overflow: hidden;
}

.node_table .binder
{
 max-width: none;
 overflow-x: auto;
}

.binder th, .binder td
{
 border-bottom: 1px solid var(--foot);
 padding: 0.7rem 0.9rem;
 text-align: start;
 vertical-align: top;
}

.binder caption
{
 caption-side: top;
 text-align: start;
 padding: 0 0 0.6rem;
 font-weight: 700;
 color: var(--zone);
}

.binder thead th
{
 background: color-mix(in srgb, var(--grid) 16%, var(--lead));
 color: var(--zone);
 font-weight: 700;
 white-space: nowrap;
}

.binder tbody tr:last-child td
{
 border-bottom: 0;
}

.binder tbody tr:nth-child(even)
{
 background: color-mix(in srgb, var(--tile) 3%, transparent);
}

.chain
{
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
 gap: 2rem;
 align-items: start;
}

.chain__plain
{
 border: 1px solid var(--foot);
 border-radius: var(--soft);
 box-shadow: var(--cool);
 width: 100%;
}

.porch
{
 position: relative;
 padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
 background: var(--size);
 isolation: isolate;
}

.porch::before
{
 content: "";
 position: absolute;
 inset: 0;
 z-index: -1;
 background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--round, none);
 background-size: cover;
 background-position: center;
}

.segment__shut
{
 margin-top: 1.25rem;
 text-align: center;
}

.segment__shut a
{
 color: var(--grid);
 font-weight: 600;
}

.cabinet
{
 text-align: center;
}

.cabinet__link
{
 font-size: clamp(3.5rem, 12vw, 6rem);
 line-height: 1;
 font-weight: 800;
 color: var(--grid);
 margin-bottom: 0.5rem;
}

.cabinet__bottom
{
 max-width: 46ch;
 margin-inline: auto;
 color: var(--head);
}

.cabinet__last
{
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 gap: 0.75rem;
 margin-top: 1.75rem;
}

@media (max-width: 700px) {
 .porch::before
 {
  background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--edge, var(--round, none));
 }

}
.porch__plain
{
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
 grid-template-areas: "title offer" "text offer";
 align-content: start;
 gap: 0 2rem;
}

.porch .stratum
{
 grid-area: title;
 color: #fff;
}

.porch__open
{
 grid-area: text;
 color: #f2f4f8;
 max-width: 62ch;
}

.porch .wing
{
 margin-bottom: 1.5rem;
}

.porch__info
{
 margin: 0.75rem 0 0;
 font-size: 0.85rem;
 opacity: 0.75;
}

.rail
{
 grid-area: offer;
 background: var(--main);
 border: 1px solid color-mix(in srgb, var(--grid) 40%, var(--foot));
 border-radius: var(--soft);
 box-shadow: var(--cool);
 overflow: hidden;
 align-self: start;
}

.rail .seam
{
 width: 100%;
}

.rail__icon
{
 display: grid;
 place-items: center;
 min-height: 74px;
 padding: 0.9rem 1.25rem;
 background: color-mix(in srgb, var(--grid) 22%, var(--main));
 color: var(--zone);
 border-bottom: 3px solid var(--grid);
}

.rail__icon img
{
 height: 42px;
 width: auto;
 max-width: 100%;
 object-fit: contain;
}

.rail__bottom
{
 display: flex;
 flex-direction: column;
 gap: 0.6rem;
 padding: 1.25rem;
 text-align: center;
}

.rail__plain
{
 font-weight: 800;
 font-size: var(--brand);
 color: inherit;
 text-align: center;
}

.rail__top
{
 font-size: 0.78rem;
 text-transform: uppercase;
 letter-spacing: 0.09em;
 color: var(--head);
 margin: 0;
}

.rail__cell
{
 font-size: var(--plain);
 font-weight: 800;
 line-height: 1.15;
 color: var(--zone);
 margin: 0;
 text-wrap: balance;
}

.rail__open
{
 font-size: 0.8rem;
 color: var(--head);
 margin: 0;
}

.ward
{
 padding-block: 1.5rem;
}

.shelf2
{
 border: 1px solid var(--foot);
 border-radius: var(--soft);
 background: var(--depth);
 padding: 0.5rem 1.1rem;
}

.shelf2__stub
{
 cursor: pointer;
 font-weight: 700;
 color: var(--zone);
 padding-block: 0.6rem;
 list-style: none;
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.shelf2__stub::-webkit-details-marker
{
 display: none;
}

.shelf2__stub::before
{
 content: "";
 width: 0.5rem;
 height: 0.5rem;
 border-inline-end: 2px solid var(--grid);
 border-bottom: 2px solid var(--grid);
 transform: rotate(45deg);
 transition: transform 0.15s ease;
}

.shelf2[open] .shelf2__stub::before
{
 transform: rotate(-135deg);
}

.shelf2__dark
{
 columns: 2;
 gap: 2rem;
 margin: 0 0 0.75rem;
 padding-inline-start: 1.2rem;
 font-size: 0.95rem;
}

.shelf2__dark li
{
 break-inside: avoid;
 margin-bottom: 0.3rem;
}

.shelf2__dark a
{
 color: var(--head);
 text-underline-offset: 3px;
}

.shelf2__dark a:hover
{
 color: var(--zone);
}

.plane
{
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
 gap: 1rem;
 list-style: none;
 margin: 0;
 padding: 0;
}

.well
{
 display: flex;
 flex-direction: column;
 background: var(--depth);
 border: 1px solid var(--foot);
 border-radius: var(--soft);
 overflow: hidden;
 transition: border-color 0.15s ease, transform 0.15s ease;
}

.well:hover
{
 border-color: var(--grid);
 transform: translateY(-2px);
}

.well__on
{
 aspect-ratio: 4 / 3;
 overflow: hidden;
 background: var(--lead);
}

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

.well__meta
{
 display: flex;
 flex-direction: column;
 gap: 0.7rem;
 padding: 0.85rem;
 margin-top: auto;
}

.well__thumb
{
 font-weight: 600;
 color: var(--zone);
 line-height: 1.3;
 margin: 0;
}

.well .seam
{
 width: 100%;
 padding-block: 0.5rem;
 font-size: 0.95rem;
}

.container__stub
{
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
 gap: 1rem;
 list-style: none;
 margin: 0;
 padding: 0;
}

.path
{
 background: var(--main);
 border: 1px solid var(--foot);
 border-radius: var(--soft);
 padding: 1.1rem 1.2rem;
}

.path__plain
{
 display: flex;
 align-items: baseline;
 justify-content: space-between;
 gap: 0.5rem;
 margin-bottom: 0.4rem;
}

.path__figure
{
 font-weight: 700;
 color: var(--zone);
}

.path__line
{
 color: var(--grid);
 font-weight: 700;
 white-space: nowrap;
}

.path__less
{
 margin: 0;
 color: var(--head);
}

.area__side
{
 display: grid;
 gap: 0.5rem;
 max-width: var(--fill);
}

.area__meta
{
 border: 1px solid var(--foot);
 border-radius: var(--flow);
 background: var(--depth);
 padding: 0 1.1rem;
}

.area__top
{
 cursor: pointer;
 font-weight: 600;
 color: var(--zone);
 padding-block: 0.9rem;
 list-style: none;
 display: flex;
 align-items: flex-start;
 gap: 0.75rem;
}

.area__top::-webkit-details-marker
{
 display: none;
}

.area__top::before
{
 content: "+";
 color: var(--grid);
 font-weight: 700;
 line-height: 1.4;
 flex-shrink: 0;
}

.area__meta[open] .area__top::before
{
 content: "−";
}

.area__first
{
 color: var(--head);
 padding-bottom: 1rem;
}

.area__first > :first-child
{
 margin-top: 0;
}

.area__first > :last-child
{
 margin-bottom: 0;
}

.post
{
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 1rem 2rem;
 padding: 1.5rem;
 border-radius: var(--soft);
 background: color-mix(in srgb, var(--grid) 12%, var(--lead));
 border: 1px solid color-mix(in srgb, var(--grid) 35%, var(--foot));
}

.post__figure
{
 margin: 0;
 font-size: var(--brand);
 font-weight: 800;
 color: var(--zone);
 text-wrap: balance;
}

.post__image
{
 margin: 0.25rem 0 0;
 font-size: 0.82rem;
 color: var(--head);
}

.shelf
{
 border-top: 1px solid var(--foot);
 background: var(--lead);
 color: var(--head);
 padding-block: 2rem 6rem;
}

.shelf__icon
{
 display: flex;
 flex-wrap: wrap;
 gap: 1rem 1.5rem;
 align-items: center;
 padding-bottom: 1.25rem;
 border-bottom: 1px solid var(--foot);
}

.shelf__shut
{
 margin-inline-end: auto;
 font-weight: 700;
 color: var(--zone);
}

.shelf__shut img
{
 height: 32px;
 width: auto;
 object-fit: contain;
}

.shelf__less
{
 display: flex;
 flex-wrap: wrap;
 gap: 0.25rem 1rem;
}

.shelf__less:empty
{
 display: none;
}

.shelf__less a
{
 text-decoration: none;
}

.shelf__less a:hover
{
 text-decoration: underline;
}

.shelf__off
{
 width: min(100% - 2rem, var(--space));
 margin-inline: auto;
 padding-top: 1.25rem;
 font-size: 0.85rem;
 display: grid;
 gap: 0.5rem;
}

.shelf__off p
{
 margin: 0;
}

.shelf__last
{
 display: flex;
 align-items: center;
 gap: 0.5rem;
 flex-wrap: wrap;
}

.caption
{
 display: inline-grid;
 place-items: center;
 min-width: 2.1rem;
 height: 2.1rem;
 border: 2px solid currentColor;
 border-radius: 50%;
 font-weight: 800;
 font-size: 0.78rem;
}

.strip
{
 position: fixed;
 inset-inline: 0;
 bottom: 0;
 z-index: 30;
 display: flex;
 align-items: center;
 gap: 1rem;
 padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
 background: color-mix(in srgb, var(--grid) 14%, var(--size));
 color: var(--thin);
 border-top: 1px solid color-mix(in srgb, var(--grid) 45%, transparent);
}

.strip__image
{
 display: flex;
 flex-direction: column;
 min-width: 0;
 line-height: 1.25;
}

.strip__lead
{
 font-weight: 800;
 color: var(--thin);
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap;
}

.strip__bold
{
 font-size: 0.75rem;
 opacity: 0.7;
}

.strip .seam
{
 margin-inline-start: auto;
 flex-shrink: 0;
}

@media (max-width: 960px) {
 .porch__plain
 {
  grid-template-columns: 1fr;
  grid-template-areas: "title" "offer" "text";
  gap: 1.25rem;
 }

 .chain
 {
  grid-template-columns: 1fr;
 }

 .chain__plain
 {
  max-width: 260px;
  margin-inline: auto;
 }

}
@media (max-width: 700px) {
 .shelf2__dark
 {
  columns: 1;
 }

 .plane
 {
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 0.75rem;
 }

}
@media (max-width: 640px) {
 .box
 {
  position: static;
 }

 .box__side
 {
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding-block: 0.6rem;
 }

 .box__side
 {
  flex-wrap: nowrap;
 }

 .box__cell .seam_wide, .record, .tract
 {
  display: none;
 }

 .tract + .box__cell
 {
  margin-inline-start: auto;
 }

 .bay
 {
  display: block;
  order: 3;
 }

 .box__cell
 {
  margin-inline-start: auto;
 }

 .box__cell .seam
 {
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
 }

 .node
 {
  padding-block: 1.75rem;
 }

 .rail__bottom, .post
 {
  padding: 1.15rem;
 }

 .post .seam_last, .porch__open .seam_last
 {
  width: 100%;
 }

 .strip__bold
 {
  display: none;
 }

}
@media (prefers-reduced-motion: reduce) {
 *, *::before
 {
  transition: none !important;
 }

}
