:root {
    --thin: #0b1220;
    --tile: #dfe5f0;
    --shell: #ffffff;
    --field: #ffb300;
    --flow: #111111;
    --plain: #d99700;
    --alt: #070b16;
    --head: #ffffff;
    --core: color-mix(in srgb, var(--tile) 6%, var(--thin));
    --deep: color-mix(in srgb, var(--tile) 3%, var(--thin));
    --fill: color-mix(in srgb, var(--tile) 18%, var(--thin));
    --wide: var(--tile);
    --soft: 1160px;
    --warm: 78ch;
    --space: 14px;
    --depth: 8px;
    --zone: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --card: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --bold: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --base: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --flat: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
    color: inherit
}

.quarter {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--alt);
    color: var(--head)
}

.district_first, .circuit_wide, .quarter_wide, .tile_flat, .shelf2_open {
    width: min(100% - 2rem, var(--soft));
    margin-inline: auto
}

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

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

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

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

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

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

.rack:empty {
    display: none
}

.rack:empty + .quarter_link {
    margin-inline-start: auto
}

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

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

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

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

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

.footer2_line span {
    position: relative
}

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

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

.footer2_narrow {
    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(--alt);
    border: 1px solid color-mix(in srgb, var(--head) 20%, transparent);
    border-radius: var(--space);
    box-shadow: var(--zone)
}

.footer2_narrow a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--depth);
    text-decoration: none;
    color: var(--head)
}

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

.footer2_narrow .floor {
    margin-top: 0.4rem;
    color: var(--head);
    border-color: color-mix(in srgb, var(--head) 40%, transparent)
}

.quarter .floor_view {
    color: inherit;
    border-color: color-mix(in srgb, var(--head) 45%, transparent)
}

.quarter .floor_view:hover {
    background: color-mix(in srgb, var(--head) 14%, transparent)
}

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

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

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

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

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

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

.floor:hover {
    background: var(--plain)
}

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

.floor_view {
    background: transparent;
    color: var(--shell);
    border-color: var(--fill)
}

.floor_view:hover {
    background: var(--core)
}

.floor_icon {
    padding: 0.9rem 1.8rem;
    font-size: var(--bold)
}

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

.block2 h2, .block2 h3, .district_foot, .holder h2, .path, .holder h3 {
    color: var(--shell);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}

.path {
    font-size: var(--flat);
    margin: 0 0 1rem
}

.district_foot {
    font-size: var(--base);
    margin: 0 0 1.25rem
}

.block2 h3, .holder h3 {
    font-size: var(--bold);
    margin: 1.75rem 0 0.5rem
}

.block2 p, .holder p {
    margin: 0 0 1rem
}

.block2 > :last-child, .holder > :last-child {
    margin-bottom: 0
}

.block2 a, .holder a {
    color: color-mix(in srgb, var(--field) 72%, var(--shell));
    text-underline-offset: 3px
}

.ridge {
    display: block
}

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

.ridge > .district:not(.circuit):nth-of-type(odd) {
    background: var(--core)
}

.block2 {
    max-width: var(--warm)
}

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

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

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

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

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

.district_list .block2 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(--field);
    color: var(--flow);
    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(--fill);
    border-inline-start: 3px solid var(--wide);
    border-radius: 0 var(--depth) var(--depth) 0;
    background: var(--core);
    font-size: 0.95rem
}

.note p {
    margin: 0 0 0.6rem
}

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

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

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

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

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

.note--rg {
    border: 1px solid color-mix(in srgb, var(--shell) 30%, var(--fill));
    border-radius: var(--space);
    background: var(--deep)
}

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

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

.block2 blockquote, .holder blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--field);
    border-radius: 0 var(--depth) var(--depth) 0;
    background: var(--thin);
    color: var(--tile);
    font-size: 0.95rem
}

.holder blockquote p, .block2 blockquote p {
    margin: 0 0 0.6rem
}

.holder blockquote > :last-child, .block2 blockquote > :last-child {
    margin-bottom: 0
}

.holder blockquote strong, .block2 blockquote strong {
    color: var(--shell)
}

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

.block2 table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    background: var(--deep);
    border: 1px solid var(--fill);
    border-radius: var(--space);
    overflow: hidden
}

.district_table .block2 {
    max-width: none;
    overflow-x: auto
}

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

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

.block2 thead th {
    background: color-mix(in srgb, var(--field) 16%, var(--core));
    color: var(--tile);
    font-weight: 700;
    white-space: nowrap
}

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

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

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

.ceiling_alt {
    border: 1px solid var(--fill);
    border-radius: var(--space);
    box-shadow: var(--zone);
    width: 100%
}

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

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

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

.layer_copy a {
    color: var(--field);
    font-weight: 600
}

.batch {
    text-align: center
}

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

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

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

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

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

.circuit .path {
    grid-area: title;
    color: #ffffff
}

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

.circuit .holder {
    margin-bottom: 1.5rem
}

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

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

.grille .floor {
    width: 100%
}

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

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

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

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

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

.grille_thumb {
    font-size: var(--base);
    font-weight: 800;
    line-height: 1.15;
    color: var(--shell);
    margin: 0;
    text-wrap: balance
}

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

.ring {
    padding-block: 1.5rem
}

.stack {
    border: 1px solid var(--fill);
    border-radius: var(--space);
    background: var(--deep);
    padding: 0.5rem 1.1rem
}

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

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

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

.stack[open] .stack_line::before {
    transform: rotate(-135deg)
}

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

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

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

.stack_bold a:hover {
    color: var(--shell)
}

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

.pocket {
    display: flex;
    flex-direction: column;
    background: var(--deep);
    border: 1px solid var(--fill);
    border-radius: var(--space);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease
}

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

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

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

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

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

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

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

.ward {
    background: var(--thin);
    border: 1px solid var(--fill);
    border-radius: var(--space);
    padding: 1.1rem 1.2rem
}

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

.ward_plain {
    font-weight: 700;
    color: var(--shell)
}

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

.ward_meta {
    margin: 0;
    color: var(--wide)
}

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

.unit_icon {
    border: 1px solid var(--fill);
    border-radius: var(--depth);
    background: var(--deep);
    padding: 0 1.1rem
}

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

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

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

.unit_icon[open] .unit_open::before {
    content: "−"
}

.unit_small {
    color: var(--wide);
    padding-bottom: 1rem
}

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

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

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

.matrix_side {
    margin: 0;
    font-size: var(--bold);
    font-weight: 800;
    color: var(--shell);
    text-wrap: balance
}

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

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

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

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

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

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

.tile_cell:empty {
    display: none
}

.tile_cell a {
    text-decoration: none
}

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

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

.tile_line p {
    margin: 0
}

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

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

.column {
    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(--alt);
    color: var(--head);
    border-top: 1px solid color-mix(in srgb, var(--field) 45%, transparent)
}

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

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

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

.column .floor {
    margin-inline-start: auto;
    flex-shrink: 0
}

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

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

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

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

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

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

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

    .quarter_wide {
        flex-wrap: nowrap
    }

    .rack, .shelf2, .quarter_link .floor_view {
        display: none
    }

    .rack + .quarter_link {
        margin-inline-start: auto
    }

    .footer2 {
        display: block;
        order: 3
    }

    .quarter_link {
        margin-inline-start: auto
    }

    .quarter_link .floor {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }

    .district {
        padding-block: 1.75rem
    }

    .grille_side, .matrix {
        padding: 1.15rem
    }

    .matrix .floor_icon, .circuit_meta .floor_icon {
        width: 100%
    }

    .column_bottom {
        display: none
    }

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

}
