:root {
    --depth: #0b1220;
    --body: #dfe5f0;
    --alt: #ffffff;
    --space: #ffb300;
    --ink: #111111;
    --band: #d99700;
    --lead: #070b16;
    --cool: #ffffff;
    --flow: color-mix(in srgb, var(--body) 6%, var(--depth));
    --tone: color-mix(in srgb, var(--body) 3%, var(--depth));
    --thin: color-mix(in srgb, var(--body) 18%, var(--depth));
    --bold: var(--body);
    --wide: 1160px;
    --main: 78ch;
    --grid: 14px;
    --paper: 8px;
    --flat: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --tile: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --base: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --lift: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --head: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
    color: inherit
}

.orbit {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--lead);
    color: var(--cool)
}

.branch__view, .orbit__shut, .stair__open, .pill__bottom, .lattice__foot {
    width: min(100% - 2rem, var(--wide));
    margin-inline: auto
}

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

.tray {
    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
}

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

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

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

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

.column:empty {
    display: none
}

.column:empty + .orbit__bold {
    margin-inline-start: auto
}

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

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

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

.cell__soft::-webkit-details-marker {
    display: none
}

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

.cell__soft span {
    position: relative
}

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

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

.cell__meta {
    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(--lead);
    border: 1px solid color-mix(in srgb, var(--cool) 20%, transparent);
    border-radius: var(--grid);
    box-shadow: var(--flat)
}

.cell__meta a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--paper);
    text-decoration: none;
    color: var(--cool)
}

.cell__meta a:hover {
    background: color-mix(in srgb, var(--cool) 12%, transparent)
}

.cell__meta .circuit {
    margin-top: 0.4rem;
    color: var(--cool);
    border-color: color-mix(in srgb, var(--cool) 40%, transparent)
}

.orbit .circuit_info {
    color: inherit;
    border-color: color-mix(in srgb, var(--cool) 45%, transparent)
}

.orbit .circuit_info:hover {
    background: color-mix(in srgb, var(--cool) 14%, transparent)
}

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

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

.stair__open::-webkit-scrollbar {
    display: none
}

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

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

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

.circuit:hover {
    background: var(--band)
}

.circuit:active {
    transform: translateY(1px)
}

.circuit_info {
    background: transparent;
    color: var(--alt);
    border-color: var(--thin)
}

.circuit_info:hover {
    background: var(--flow)
}

.circuit_line {
    padding: 0.9rem 1.8rem;
    font-size: var(--base)
}

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

.stack h3, .lattice__copy, .ceiling h2, .stack h2, .figure, .ceiling h3 {
    color: var(--alt);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}

.figure {
    font-size: var(--head);
    margin: 0 0 1rem
}

.lattice__copy {
    font-size: var(--lift);
    margin: 0 0 1.25rem
}

.ceiling h3, .stack h3 {
    font-size: var(--base);
    margin: 1.75rem 0 0.5rem
}

.ceiling p, .stack p {
    margin: 0 0 1rem
}

.stack > :last-child, .ceiling > :last-child {
    margin-bottom: 0
}

.stack a, .ceiling a {
    color: color-mix(in srgb, var(--space) 72%, var(--alt));
    text-underline-offset: 3px
}

.stratum {
    display: block
}

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

.stratum > .lattice:not(.branch):nth-of-type(odd) {
    background: var(--flow)
}

.stack {
    max-width: var(--main)
}

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

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

.lattice_list .stack 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(--space);
    border-bottom: 2px solid var(--space);
    transform: rotate(-45deg)
}

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

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

.lattice_list .stack 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(--space);
    color: var(--ink);
    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(--thin);
    border-inline-start: 3px solid var(--bold);
    border-radius: 0 var(--paper) var(--paper) 0;
    background: var(--flow);
    font-size: 0.95rem
}

.note p {
    margin: 0 0 0.6rem
}

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

.note strong {
    color: var(--alt)
}

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

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

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

.note--rg {
    border: 1px solid color-mix(in srgb, var(--alt) 30%, var(--thin));
    border-radius: var(--grid);
    background: var(--tone)
}

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

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

.ceiling blockquote, .stack blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--space);
    border-radius: 0 var(--paper) var(--paper) 0;
    background: var(--depth);
    color: var(--body);
    font-size: 0.95rem
}

.stack blockquote p, .ceiling blockquote p {
    margin: 0 0 0.6rem
}

.ceiling blockquote > :last-child, .stack blockquote > :last-child {
    margin-bottom: 0
}

.stack blockquote strong, .ceiling blockquote strong {
    color: var(--alt)
}

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

.stack table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    background: var(--tone);
    border: 1px solid var(--thin);
    border-radius: var(--grid);
    overflow: hidden
}

.lattice_table .stack {
    max-width: none;
    overflow-x: auto
}

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

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

.stack thead th {
    background: color-mix(in srgb, var(--space) 16%, var(--flow));
    color: var(--body);
    font-weight: 700;
    white-space: nowrap
}

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

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

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

.shelf2__link {
    border: 1px solid var(--thin);
    border-radius: var(--grid);
    box-shadow: var(--flat);
    width: 100%
}

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

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

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

.district__copy a {
    color: var(--space);
    font-weight: 600
}

.binder {
    text-align: center
}

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

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

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

@media (max-width: 700px) {
    .branch::before {
        background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--frame, var(--core, none))
    }

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

.branch .figure {
    grid-area: title;
    color: #ffffff
}

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

.branch .ceiling {
    margin-bottom: 1.5rem
}

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

.drawer {
    grid-area: offer;
    background: var(--depth);
    border: 1px solid color-mix(in srgb, var(--space) 40%, var(--thin));
    border-radius: var(--grid);
    box-shadow: var(--flat);
    overflow: hidden;
    align-self: start
}

.drawer .circuit {
    width: 100%
}

.drawer__off {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.9rem 1.25rem;
    background: color-mix(in srgb, var(--space) 12%, var(--depth));
    color: var(--alt);
    border-bottom: 3px solid var(--space)
}

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

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

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

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

.drawer__dark {
    font-size: var(--lift);
    font-weight: 800;
    line-height: 1.15;
    color: var(--alt);
    margin: 0;
    text-wrap: balance
}

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

.pocket {
    padding-block: 1.5rem
}

.loop {
    border: 1px solid var(--thin);
    border-radius: var(--grid);
    background: var(--tone);
    padding: 0.5rem 1.1rem
}

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

.loop__flat::-webkit-details-marker {
    display: none
}

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

.loop[open] .loop__flat::before {
    transform: rotate(-135deg)
}

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

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

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

.loop__shut a:hover {
    color: var(--alt)
}

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

.sheet {
    display: flex;
    flex-direction: column;
    background: var(--tone);
    border: 1px solid var(--thin);
    border-radius: var(--grid);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease
}

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

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

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

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

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

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

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

.peak {
    background: var(--depth);
    border: 1px solid var(--thin);
    border-radius: var(--grid);
    padding: 1.1rem 1.2rem
}

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

.peak__link {
    font-weight: 700;
    color: var(--alt)
}

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

.peak__flat {
    margin: 0;
    color: var(--bold)
}

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

.entry__edge {
    border: 1px solid var(--thin);
    border-radius: var(--paper);
    background: var(--tone);
    padding: 0 1.1rem
}

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

.entry__image::-webkit-details-marker {
    display: none
}

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

.entry__edge[open] .entry__image::before {
    content: "−"
}

.entry__side {
    color: var(--bold);
    padding-bottom: 1rem
}

.entry__side > :first-child {
    margin-top: 0
}

.entry__side > :last-child {
    margin-bottom: 0
}

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

.listing__top {
    margin: 0;
    font-size: var(--base);
    font-weight: 800;
    color: var(--alt);
    text-wrap: balance
}

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

.pill {
    border-top: 1px solid var(--thin);
    background: var(--depth);
    color: var(--body);
    padding-block: 2rem 6rem
}

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

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

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

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

.pill__shut:empty {
    display: none
}

.pill__shut a {
    text-decoration: none
}

.pill__shut a:hover {
    text-decoration: underline
}

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

.pill__alt p {
    margin: 0
}

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

.container {
    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
}

.route {
    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: var(--lead);
    color: var(--cool);
    border-top: 1px solid color-mix(in srgb, var(--space) 45%, transparent)
}

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

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

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

.route .circuit {
    margin-inline-start: auto;
    flex-shrink: 0
}

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

    .shelf2 {
        grid-template-columns: 1fr
    }

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

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

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

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

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

    .orbit__shut {
        flex-wrap: nowrap
    }

    .column, .orbit__bold .circuit_info, .stair {
        display: none
    }

    .column + .orbit__bold {
        margin-inline-start: auto
    }

    .cell {
        display: block;
        order: 3
    }

    .orbit__bold {
        margin-inline-start: auto
    }

    .orbit__bold .circuit {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }

    .lattice {
        padding-block: 1.75rem
    }

    .drawer__lead, .listing {
        padding: 1.15rem
    }

    .branch__figure .circuit_line, .listing .circuit_line {
        width: 100%
    }

    .route__shut {
        display: none
    }

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

}
