:root {
    --grid: #0b1220;
    --main: #dfe5f0;
    --warm: #ffffff;
    --base: #ffb300;
    --thin: #111111;
    --round: #d99700;
    --body: #070b16;
    --foot: #ffffff;
    --soft: color-mix(in srgb, var(--main) 6%, var(--grid));
    --frame: color-mix(in srgb, var(--main) 3%, var(--grid));
    --shell: color-mix(in srgb, var(--main) 18%, var(--grid));
    --dim: color-mix(in srgb, var(--main) 68%, var(--grid));
    --flat: 1160px;
    --ink: 78ch;
    --space: 14px;
    --field: 8px;
    --tile: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --wide: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --zone: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --card: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --cool: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

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

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

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

a {
    color: inherit;
}

.circuit {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--body);
    color: var(--foot);
}

.cluster__cell, .circuit__foot, .zone2__on, .ledge2__bottom, .aside__top {
    width: min(100% - 2rem, var(--flat));
    margin-inline: auto;
}

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

.strip {
    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;
}

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

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

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

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

.stair:empty {
    display: none;
}

.stair:empty + .circuit__edge {
    margin-inline-start: auto;
}

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

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

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

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

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

.lane__less span {
    position: relative;
}

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

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

.lane__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(--body);
    border: 1px solid color-mix(in srgb, var(--foot) 20%, transparent);
    border-radius: var(--space);
    box-shadow: var(--tile);
}

.lane__meta a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--field);
    text-decoration: none;
    color: var(--foot);
}

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

.lane__meta .span2 {
    margin-top: 0.4rem;
    color: var(--foot);
    border-color: color-mix(in srgb, var(--foot) 40%, transparent);
}

.circuit .span2--image {
    color: inherit;
    border-color: color-mix(in srgb, var(--foot) 45%, transparent);
}

.circuit .span2--image:hover {
    background: color-mix(in srgb, var(--foot) 14%, transparent);
}

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

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

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

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

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

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

.span2:hover {
    background: var(--round);
}

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

.span2--image {
    background: transparent;
    color: var(--warm);
    border-color: var(--shell);
}

.span2--image:hover {
    background: var(--soft);
}

.span2--copy {
    padding: 0.9rem 1.8rem;
    font-size: var(--zone);
}

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

.aside__thumb, .vein h3, .trunk h2, .trunk h3, .vein h2, .cell {
    color: var(--warm);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.cell {
    font-size: var(--cool);
    margin: 0 0 1rem;
}

.aside__thumb {
    font-size: var(--card);
    margin: 0 0 1.25rem;
}

.trunk h3, .vein h3 {
    font-size: var(--zone);
    margin: 1.75rem 0 0.5rem;
}

.vein p, .trunk p {
    margin: 0 0 1rem;
}

.trunk > :last-child, .vein > :last-child {
    margin-bottom: 0;
}

.trunk a, .vein a {
    color: color-mix(in srgb, var(--base) 72%, var(--warm));
    text-underline-offset: 3px;
}

.gate {
    display: block;
}

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

.gate > .aside:not(.cluster):nth-of-type(odd) {
    background: var(--soft);
}

.trunk {
    max-width: var(--ink);
}

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

.aside--list .trunk ul > li {
    position: relative;
    padding-inline-start: 1.9rem;
    padding-block: 0.15rem;
}

.aside--list .trunk 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(--base);
    border-bottom: 2px solid var(--base);
    transform: rotate(-45deg);
}

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

.aside--list .trunk ol > li {
    counter-increment: step;
    position: relative;
    padding-inline-start: 2.6rem;
}

.aside--list .trunk 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(--base);
    color: var(--thin);
    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(--shell);
    border-inline-start: 3px solid var(--dim);
    border-radius: 0 var(--field) var(--field) 0;
    background: var(--soft);
    font-size: 0.95rem;
}

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

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

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

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

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

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

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

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

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

.vein blockquote, .trunk blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--base);
    border-radius: 0 var(--field) var(--field) 0;
    background: var(--soft);
    color: var(--dim);
    font-size: 0.95rem;
}

.trunk blockquote p, .vein blockquote p {
    margin: 0 0 0.6rem;
}

.trunk blockquote > :last-child, .vein blockquote > :last-child {
    margin-bottom: 0;
}

.trunk blockquote strong, .vein blockquote strong {
    color: var(--warm);
}

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

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

.aside--table .trunk {
    max-width: none;
    overflow-x: auto;
}

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

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

.trunk thead th {
    background: color-mix(in srgb, var(--base) 16%, var(--soft));
    color: var(--warm);
    font-weight: 700;
    white-space: nowrap;
}

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

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

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

.crate__large {
    border: 1px solid var(--shell);
    border-radius: var(--space);
    box-shadow: var(--tile);
    width: 100%;
}

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

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

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

.arc__narrow a {
    color: var(--base);
    font-weight: 600;
}

.board {
    text-align: center;
}

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

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

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

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

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

.cluster .cell {
    grid-area: title;
    color: #ffffff;
}

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

.cluster .vein {
    margin-bottom: 1.5rem;
}

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

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

.chip .span2 {
    width: 100%;
}

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

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

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

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

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

.chip__icon {
    font-size: var(--card);
    font-weight: 800;
    line-height: 1.15;
    color: var(--warm);
    margin: 0;
    text-wrap: balance;
}

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

.sector {
    padding-block: 1.5rem;
}

.block {
    border: 1px solid var(--shell);
    border-radius: var(--space);
    background: var(--frame);
    padding: 0.5rem 1.1rem;
}

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

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

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

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

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

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

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

.block__top a:hover {
    color: var(--warm);
}

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

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

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

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

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

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

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

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

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

.body2 {
    background: var(--grid);
    border: 1px solid var(--shell);
    border-radius: var(--space);
    padding: 1.1rem 1.2rem;
}

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

.body2__light {
    font-weight: 700;
    color: var(--warm);
}

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

.body2__large {
    margin: 0;
    color: var(--dim);
}

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

.tier__icon {
    border: 1px solid var(--shell);
    border-radius: var(--field);
    background: var(--frame);
    padding: 0 1.1rem;
}

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

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

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

.tier__icon[open] .tier__outer::before {
    content: "−";
}

.tier__open {
    color: var(--dim);
    padding-bottom: 1rem;
}

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

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

.entry {
    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(--base) 12%, var(--soft));
    border: 1px solid color-mix(in srgb, var(--base) 35%, var(--shell));
}

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

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

.ledge2 {
    border-top: 1px solid var(--shell);
    background: var(--soft);
    color: var(--dim);
    padding-block: 2rem 6rem;
}

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

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

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

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

.ledge2__dark:empty {
    display: none;
}

.ledge2__dark a {
    text-decoration: none;
}

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

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

.ledge2__image p {
    margin: 0;
}

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

.batch {
    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;
}

.lot {
    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(--base) 14%, var(--body));
    color: var(--foot);
    border-top: 1px solid color-mix(in srgb, var(--base) 45%, transparent);
}

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

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

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

.lot .span2 {
    margin-inline-start: auto;
    flex-shrink: 0;
}

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

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

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

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

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

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

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

    .circuit__foot {
        flex-wrap: nowrap;
    }

    .circuit__edge .span2--image, .stair, .zone2 {
        display: none;
    }

    .stair + .circuit__edge {
        margin-inline-start: auto;
    }

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

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

    .circuit__edge .span2 {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .aside {
        padding-block: 1.75rem;
    }

    .entry, .chip__plain {
        padding: 1.15rem;
    }

    .entry .span2--copy, .cluster__shut .span2--copy {
        width: 100%;
    }

    .lot__top {
        display: none;
    }

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

}
