:root {
    --alt: #0b1220;
    --thin: #dfe5f0;
    --card: #fff;
    --fill: #ffb300;
    --dim: #111;
    --frame: #d99700;
    --cool: #070b16;
    --field: #fff;
    --lift: color-mix(in srgb, var(--thin) 6%, var(--alt));
    --space: color-mix(in srgb, var(--thin) 3%, var(--alt));
    --tone: color-mix(in srgb, var(--thin) 18%, var(--alt));
    --brand: color-mix(in srgb, var(--thin) 68%, var(--alt));
    --deep: 1160px;
    --tile: 78ch;
    --edge: 14px;
    --warm: 8px;
    --depth: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --stroke: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --wide: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --plain: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --band: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
    color: inherit
}

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

.wrapper-off, .bay-small, .wrap-off, .caption-less, .span-link {
    width: min(100% - 2rem, var(--deep));
    margin-inline: auto
}

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

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

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

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

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

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

.record:empty {
    display: none
}

.record:empty + .wrapper-large {
    margin-inline-start: auto
}

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

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

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

.stack-dark::-webkit-details-marker {
    display: none
}

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

.stack-dark span {
    position: relative
}

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

.stack-dark span::after {
    position: absolute;
    top: 6px
}

.stack-first {
    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(--cool);
    border: 1px solid color-mix(in srgb, var(--field) 20%, transparent);
    border-radius: var(--edge);
    box-shadow: var(--depth)
}

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

.stack-first a:hover {
    background: color-mix(in srgb, var(--field) 12%, transparent)
}

.stack-first .deck {
    margin-top: 0.4rem;
    color: var(--field);
    border-color: color-mix(in srgb, var(--field) 40%, transparent)
}

.wrapper .deck--meta {
    color: inherit;
    border-color: color-mix(in srgb, var(--field) 45%, transparent)
}

.wrapper .deck--meta:hover {
    background: color-mix(in srgb, var(--field) 14%, transparent)
}

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

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

.wrap-off::-webkit-scrollbar {
    display: none
}

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

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

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

.deck:hover {
    background: var(--frame)
}

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

.deck--meta {
    background: transparent;
    color: var(--card);
    border-color: var(--tone)
}

.deck--meta:hover {
    background: var(--lift)
}

.deck--foot {
    padding: 0.9rem 1.8rem;
    font-size: var(--wide)
}

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

.span-meta, .strip h3, .strip h2, .tile, .sheet h2, .sheet h3 {
    color: var(--card);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}

.tile {
    font-size: var(--band);
    margin: 0 0 1rem
}

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

.strip h3, .sheet h3 {
    font-size: var(--wide);
    margin: 1.75rem 0 0.5rem
}

.strip p, .sheet p {
    margin: 0 0 1rem
}

.sheet > :last-child, .strip > :last-child {
    margin-bottom: 0
}

.sheet a, .strip a {
    color: color-mix(in srgb, var(--fill) 72%, var(--card));
    text-underline-offset: 3px
}

.area {
    display: block
}

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

.area > .span:not(.caption):nth-of-type(odd) {
    background: var(--lift)
}

.sheet {
    max-width: var(--tile)
}

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

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

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

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

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

.span--list .sheet 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(--fill);
    color: var(--dim);
    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(--tone);
    border-inline-start: 3px solid var(--brand);
    border-radius: 0 var(--warm) var(--warm) 0;
    background: var(--lift);
    font-size: 0.95rem
}

.note p {
    margin: 0 0 0.6rem
}

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

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

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

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

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

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

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

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

.strip blockquote, .sheet blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--fill);
    border-radius: 0 var(--warm) var(--warm) 0;
    background: var(--lift);
    color: var(--brand);
    font-size: 0.95rem
}

.strip blockquote p, .sheet blockquote p {
    margin: 0 0 0.6rem
}

.sheet blockquote > :last-child, .strip blockquote > :last-child {
    margin-bottom: 0
}

.sheet blockquote strong, .strip blockquote strong {
    color: var(--card)
}

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

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

.span--table .sheet {
    max-width: none;
    overflow-x: auto
}

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

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

.sheet thead th {
    background: color-mix(in srgb, var(--fill) 16%, var(--lift));
    color: var(--card);
    font-weight: 700;
    white-space: nowrap
}

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

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

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

.summary-plain {
    border: 1px solid var(--tone);
    border-radius: var(--edge);
    box-shadow: var(--depth);
    width: 100%
}

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

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

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

.entry-on a {
    color: var(--fill);
    font-weight: 600
}

.band {
    text-align: center
}

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

.band-copy {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--brand)
}

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

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

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

.caption .tile {
    grid-area: title;
    color: #fff
}

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

.caption .strip {
    margin-bottom: 1.5rem
}

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

.group {
    grid-area: offer;
    background: var(--alt);
    border: 1px solid color-mix(in srgb, var(--fill) 40%, var(--tone));
    border-radius: var(--edge);
    box-shadow: var(--depth);
    overflow: hidden;
    align-self: start
}

.group .deck {
    width: 100%
}

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

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

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

.group-narrow {
    font-weight: 800;
    font-size: var(--wide);
    color: inherit;
    text-align: center
}

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

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

.group-less {
    font-size: 0.8rem;
    color: var(--brand);
    margin: 0
}

.badge {
    padding-block: 1.5rem
}

.piece {
    border: 1px solid var(--tone);
    border-radius: var(--edge);
    background: var(--space);
    padding: 0.5rem 1.1rem
}

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

.piece-lead::-webkit-details-marker {
    display: none
}

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

.piece[open] .piece-lead::before {
    transform: rotate(-135deg)
}

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

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

.piece-plain a {
    color: var(--brand);
    text-underline-offset: 3px
}

.piece-plain a:hover {
    color: var(--card)
}

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

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

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

.slab-shut {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lift)
}

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

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

.slab-open {
    font-weight: 600;
    color: var(--card);
    line-height: 1.3;
    margin: 0
}

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

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

.promo {
    background: var(--alt);
    border: 1px solid var(--tone);
    border-radius: var(--edge);
    padding: 1.1rem 1.2rem
}

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

.promo-sub {
    font-weight: 700;
    color: var(--card)
}

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

.promo-lead {
    margin: 0;
    color: var(--brand)
}

.unit-foot {
    display: grid;
    gap: 0.5rem;
    max-width: var(--tile)
}

.unit-soft {
    border: 1px solid var(--tone);
    border-radius: var(--warm);
    background: var(--space);
    padding: 0 1.1rem
}

.unit-open {
    cursor: pointer;
    font-weight: 600;
    color: var(--card);
    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(--fill);
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0
}

.unit-soft[open] .unit-open::before {
    content: "−"
}

.unit-copy {
    color: var(--brand);
    padding-bottom: 1rem
}

.unit-copy > :first-child {
    margin-top: 0
}

.unit-copy > :last-child {
    margin-bottom: 0
}

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

.ribbon-small {
    margin: 0;
    font-size: var(--wide);
    font-weight: 800;
    color: var(--card);
    text-wrap: balance
}

.ribbon-on {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--brand)
}

.bay {
    border-top: 1px solid var(--tone);
    background: var(--lift);
    color: var(--brand);
    padding-block: 2rem 6rem
}

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

.bay-link {
    margin-inline-end: auto;
    font-weight: 700;
    color: var(--card)
}

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

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

.bay-figure:empty {
    display: none
}

.bay-figure a {
    text-decoration: none
}

.bay-figure a:hover {
    text-decoration: underline
}

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

.bay-line p {
    margin: 0
}

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

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

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

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

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

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

.container .deck {
    margin-inline-start: auto;
    flex-shrink: 0
}

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

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

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

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

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

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

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

    .wrapper-off {
        flex-wrap: nowrap
    }

    .wrapper-large .deck--meta, .record, .wrap {
        display: none
    }

    .record + .wrapper-large {
        margin-inline-start: auto
    }

    .stack {
        display: block;
        order: 3
    }

    .wrapper-large {
        margin-inline-start: auto
    }

    .wrapper-large .deck {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }

    .span {
        padding-block: 1.75rem
    }

    .ribbon, .group-view {
        padding: 1.15rem
    }

    .ribbon .deck--foot, .caption-light .deck--foot {
        width: 100%
    }

    .container-stub {
        display: none
    }

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

}
