:root {
    --brand: #0b1220;
    --flat: #dfe5f0;
    --shell: #fff;
    --lift: #ffb300;
    --grid: #111;
    --main: #d99700;
    --dim: #070b16;
    --field: #fff;
    --head: color-mix(in srgb, var(--flat) 6%, var(--brand));
    --depth: color-mix(in srgb, var(--flat) 3%, var(--brand));
    --round: color-mix(in srgb, var(--flat) 18%, var(--brand));
    --fill: color-mix(in srgb, var(--flat) 68%, var(--brand));
    --frame: 1160px;
    --size: 78ch;
    --soft: 14px;
    --ink: 8px;
    --foot: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
    --bold: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
    --space: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --flow: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
    --tone: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}
*::after, *, *::before {
    box-sizing: border-box
}
body {
    margin: 0;
    background: var(--brand);
    color: var(--flat);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: var(--bold);
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: break-word
}
img {
    max-width: 100%;
    height: auto;
    display: block
}
a {
    color: inherit
}
.field2 {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--dim);
    color: var(--field)
}
.lattice-dark, .gate-side, .shell-open, .column-bottom, .field2-foot {
    width: min(100% - 2rem, var(--frame));
    margin-inline: auto
}
.field2-foot {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 60px;
    padding-block: 0.5rem
}
.wrapper {
    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
}
.wrapper img {
    height: 32px;
    width: auto;
    object-fit: contain
}
.mesh {
    display: flex;
    gap: 0.15rem;
    margin-inline-end: auto;
    min-width: 0
}
.mesh a {
    padding: 0.4rem 0.7rem;
    border-radius: var(--ink);
    text-decoration: none;
    color: inherit;
    opacity: 0.82;
    white-space: nowrap;
    font-size: 0.92rem
}
.mesh a:hover {
    background: color-mix(in srgb, var(--field) 14%, transparent);
    opacity: 1
}
.mesh:empty {
    display: none
}
.mesh:empty + .field2-outer {
    margin-inline-start: auto
}
.field2-outer {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0
}
.module {
    display: none;
    position: relative;
    flex-shrink: 0
}
.module-off {
    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(--ink)
}
.module-off::-webkit-details-marker {
    display: none
}
.module-off span::before, .module-off span::after, .module-off span {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px
}
.module-off span {
    position: relative
}
.module-off span::before {
    position: absolute;
    top: -6px
}
.module-off span::after {
    position: absolute;
    top: 6px
}
.module-flat {
    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(--dim);
    border: 1px solid color-mix(in srgb, var(--field) 20%, transparent);
    border-radius: var(--soft);
    box-shadow: var(--foot)
}
.module-flat a {
    padding: 0.6rem 0.7rem;
    border-radius: var(--ink);
    text-decoration: none;
    color: var(--field)
}
.module-flat a:hover {
    background: color-mix(in srgb, var(--field) 12%, transparent)
}
.module-flat .chip {
    margin-top: 0.4rem;
    color: var(--field);
    border-color: color-mix(in srgb, var(--field) 40%, transparent)
}
.field2 .chip--soft {
    color: inherit;
    border-color: color-mix(in srgb, var(--field) 45%, transparent)
}
.field2 .chip--soft:hover {
    background: color-mix(in srgb, var(--field) 14%, transparent)
}
.lattice {
    background: color-mix(in srgb, var(--field) 8%, var(--dim));
    border-top: 1px solid color-mix(in srgb, var(--field) 12%, transparent);
    font-size: 0.9rem
}
.lattice-dark {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none
}
.lattice-dark::-webkit-scrollbar {
    display: none
}
.lattice a {
    padding: 0.55rem 0.7rem;
    text-decoration: none;
    color: var(--field);
    opacity: 0.8;
    white-space: nowrap;
    border-bottom: 2px solid transparent
}
.lattice a:hover {
    opacity: 1;
    border-bottom-color: var(--lift)
}
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid var(--line, transparent);
    border-radius: var(--ink);
    padding: 0.6rem 1.1rem;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    background: var(--lift);
    color: var(--grid);
    transition: background-color 0.15s ease, transform 0.05s ease
}
.chip:hover {
    background: var(--main)
}
.chip:active {
    transform: translateY(1px)
}
.chip--soft {
    background: transparent;
    color: var(--shell);
    border-color: var(--round)
}
.chip--soft:hover {
    background: var(--head)
}
.chip--large {
    padding: 0.9rem 1.8rem;
    font-size: var(--space)
}
:focus-visible {
    outline: 2px solid var(--lift);
    outline-offset: 2px
}
.shell-side, .niche h2, .roof, .deck h2, .deck h3, .niche h3 {
    color: var(--shell);
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance
}
.roof {
    font-size: var(--tone);
    margin: 0 0 1rem
}
.shell-side {
    font-size: var(--flow);
    margin: 0 0 1.25rem
}
.deck h3, .niche h3 {
    font-size: var(--space);
    margin: 1.75rem 0 0.5rem
}
.deck p, .niche p {
    margin: 0 0 1rem
}
.niche > :last-child, .deck > :last-child {
    margin-bottom: 0
}
.deck a, .niche a {
    color: color-mix(in srgb, var(--lift) 72%, var(--shell));
    text-underline-offset: 3px
}
.group {
    display: block
}
.shell {
    padding-block: clamp(2rem, 1.4rem + 2vw, 3.5rem);
    scroll-margin-top: 72px
}
.group > .shell:not(.gate):nth-of-type(odd) {
    background: var(--head)
}
.niche {
    max-width: var(--size)
}
.shell--list .niche ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: 0.5rem
}
.shell--list .niche ul > li {
    position: relative;
    padding-inline-start: 1.9rem;
    padding-block: 0.15rem
}
.shell--list .niche 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(--lift);
    border-bottom: 2px solid var(--lift);
    transform: rotate(-45deg)
}
.shell--list .niche ol {
    counter-reset: step;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.6rem
}
.shell--list .niche ol > li {
    counter-increment: step;
    position: relative;
    padding-inline-start: 2.6rem
}
.shell--list .niche 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(--lift);
    color: var(--grid);
    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(--round);
    border-inline-start: 3px solid var(--fill);
    border-radius: 0 var(--ink) var(--ink) 0;
    background: var(--head);
    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(--fill);
    font-size: 0.88rem;
    background: transparent;
    border-inline-start-color: var(--round)
}
.note--warning {
    border-inline-start-color: var(--lift);
    background: color-mix(in srgb, var(--lift) 10%, var(--brand))
}
.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(--round));
    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(--fill);
    background: transparent;
    border: 0;
    border-top: 1px solid var(--round);
    border-radius: 0;
    padding: 1rem 0 0
}
.deck blockquote, .niche blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-inline-start: 3px solid var(--lift);
    border-radius: 0 var(--ink) var(--ink) 0;
    background: var(--head);
    color: var(--fill);
    font-size: 0.95rem
}
.deck blockquote p, .niche blockquote p {
    margin: 0 0 0.6rem
}
.deck blockquote > :last-child, .niche blockquote > :last-child {
    margin-bottom: 0
}
.deck blockquote strong, .niche blockquote strong {
    color: var(--shell)
}
.niche hr {
    border: 0;
    border-top: 1px solid var(--round);
    margin: 2rem 0
}
.niche table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    background: var(--depth);
    border: 1px solid var(--round);
    border-radius: var(--soft);
    overflow: hidden
}
.shell--table .niche {
    max-width: none;
    overflow-x: auto
}
.niche th, .niche td {
    border-bottom: 1px solid var(--round);
    padding: 0.7rem 0.9rem;
    text-align: start;
    vertical-align: top
}
.niche caption {
    caption-side: top;
    text-align: start;
    padding: 0 0 0.6rem;
    font-weight: 700;
    color: var(--shell)
}
.niche thead th {
    background: color-mix(in srgb, var(--lift) 16%, var(--head));
    color: var(--shell);
    font-weight: 700;
    white-space: nowrap
}
.niche tbody tr:last-child td {
    border-bottom: 0
}
.niche tbody tr:nth-child(even) {
    background: color-mix(in srgb, var(--flat) 3%, transparent)
}
.widget {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: 2rem;
    align-items: start
}
.widget-copy {
    border: 1px solid var(--round);
    border-radius: var(--soft);
    box-shadow: var(--foot);
    width: 100%
}
.gate {
    position: relative;
    padding-block: clamp(2rem, 1.2rem + 3vw, 4rem);
    background: var(--dim);
    isolation: isolate
}
.gate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--paper, none);
    background-size: cover;
    background-position: center
}
.cabinet-image {
    margin-top: 1.25rem;
    text-align: center
}
.cabinet-image a {
    color: var(--lift);
    font-weight: 600
}
.braid {
    text-align: center
}
.braid-thumb {
    font-size: clamp(3.5rem, 12vw, 6rem);
    line-height: 1;
    font-weight: 800;
    color: var(--lift);
    margin-bottom: 0.5rem
}
.braid-stub {
    max-width: 46ch;
    margin-inline: auto;
    color: var(--fill)
}
.braid-large {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem
}
@media (max-width: 700px) {
    .gate::before {
        background-image: linear-gradient(rgb(0 0 0 / 72%), rgb(0 0 0 / 82%)), var(--lead, var(--paper, none))
    }
}
.gate-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 22rem);
    grid-template-areas: "title offer" "text offer";
    align-content: start;
    gap: 0 2rem
}
.gate .roof {
    grid-area: title;
    color: #fff
}
.gate-less {
    grid-area: text;
    color: #f2f4f8;
    max-width: 62ch
}
.gate .deck {
    margin-bottom: 1.5rem
}
.gate-icon {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    opacity: 0.75
}
.layer {
    grid-area: offer;
    background: var(--brand);
    border: 1px solid color-mix(in srgb, var(--lift) 40%, var(--round));
    border-radius: var(--soft);
    box-shadow: var(--foot);
    overflow: hidden;
    align-self: start
}
.layer .chip {
    width: 100%
}
.layer-info {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.9rem 1.25rem;
    background: color-mix(in srgb, var(--lift) 22%, var(--brand));
    color: var(--shell);
    border-bottom: 3px solid var(--lift)
}
.layer-info img {
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain
}
.layer-soft {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem;
    text-align: center
}
.layer-bottom {
    font-weight: 800;
    font-size: var(--space);
    color: inherit;
    text-align: center
}
.layer-large {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--fill);
    margin: 0
}
.layer-icon {
    font-size: var(--flow);
    font-weight: 800;
    line-height: 1.15;
    color: var(--shell);
    margin: 0;
    text-wrap: balance
}
.layer-alt {
    font-size: 0.8rem;
    color: var(--fill);
    margin: 0
}
.post {
    padding-block: 1.5rem
}
.teaser {
    border: 1px solid var(--round);
    border-radius: var(--soft);
    background: var(--depth);
    padding: 0.5rem 1.1rem
}
.teaser-outer {
    cursor: pointer;
    font-weight: 700;
    color: var(--shell);
    padding-block: 0.6rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem
}
.teaser-outer::-webkit-details-marker {
    display: none
}
.teaser-outer::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-inline-end: 2px solid var(--lift);
    border-bottom: 2px solid var(--lift);
    transform: rotate(45deg);
    transition: transform 0.15s ease
}
.teaser[open] .teaser-outer::before {
    transform: rotate(-135deg)
}
.teaser-dark {
    columns: 2;
    gap: 2rem;
    margin: 0 0 0.75rem;
    padding-inline-start: 1.2rem;
    font-size: 0.95rem
}
.teaser-dark li {
    break-inside: avoid;
    margin-bottom: 0.3rem
}
.teaser-dark a {
    color: var(--fill);
    text-underline-offset: 3px
}
.teaser-dark a:hover {
    color: var(--shell)
}
.set {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0
}
.wing {
    display: flex;
    flex-direction: column;
    background: var(--depth);
    border: 1px solid var(--round);
    border-radius: var(--soft);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease
}
.wing:hover {
    border-color: var(--lift);
    transform: translateY(-2px)
}
.wing-copy {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--head)
}
.wing-copy img {
    width: 100%;
    height: 100%;
    object-fit: cover
}
.wing-link {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.85rem;
    margin-top: auto
}
.wing-thumb {
    font-weight: 600;
    color: var(--shell);
    line-height: 1.3;
    margin: 0
}
.wing .chip {
    width: 100%;
    padding-block: 0.5rem;
    font-size: 0.95rem
}
.lot-cell {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0
}
.stair {
    background: var(--brand);
    border: 1px solid var(--round);
    border-radius: var(--soft);
    padding: 1.1rem 1.2rem
}
.stair-large {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem
}
.stair-lead {
    font-weight: 700;
    color: var(--shell)
}
.stair-meta {
    color: var(--lift);
    font-weight: 700;
    white-space: nowrap
}
.stair-narrow {
    margin: 0;
    color: var(--fill)
}
.block2-first {
    display: grid;
    gap: 0.5rem;
    max-width: var(--size)
}
.block2-shut {
    border: 1px solid var(--round);
    border-radius: var(--ink);
    background: var(--depth);
    padding: 0 1.1rem
}
.block2-icon {
    cursor: pointer;
    font-weight: 600;
    color: var(--shell);
    padding-block: 0.9rem;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem
}
.block2-icon::-webkit-details-marker {
    display: none
}
.block2-icon::before {
    content: "+";
    color: var(--lift);
    font-weight: 700;
    line-height: 1.4;
    flex-shrink: 0
}
.block2-shut[open] .block2-icon::before {
    content: "−"
}
.block2-cell {
    color: var(--fill);
    padding-bottom: 1rem
}
.block2-cell > :first-child {
    margin-top: 0
}
.block2-cell > :last-child {
    margin-bottom: 0
}
.pocket {
    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(--lift) 12%, var(--head));
    border: 1px solid color-mix(in srgb, var(--lift) 35%, var(--round))
}
.pocket-stub {
    margin: 0;
    font-size: var(--space);
    font-weight: 800;
    color: var(--shell);
    text-wrap: balance
}
.pocket-plain {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    color: var(--fill)
}
.column {
    border-top: 1px solid var(--round);
    background: var(--head);
    color: var(--fill);
    padding-block: 2rem 6rem
}
.column-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--round)
}
.column-info {
    margin-inline-end: auto;
    font-weight: 700;
    color: var(--shell)
}
.column-info img {
    height: 32px;
    width: auto;
    object-fit: contain
}
.column-thumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem
}
.column-thumb:empty {
    display: none
}
.column-thumb a {
    text-decoration: none
}
.column-thumb a:hover {
    text-decoration: underline
}
.column-small {
    width: min(100% - 2rem, var(--frame));
    margin-inline: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    display: grid;
    gap: 0.5rem
}
.column-small p {
    margin: 0
}
.column-figure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap
}
.stratum {
    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
}
.grille {
    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(--lift) 14%, var(--dim));
    color: var(--field);
    border-top: 1px solid color-mix(in srgb, var(--lift) 45%, transparent)
}
.grille-first {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25
}
.grille-sub {
    font-weight: 800;
    color: var(--field);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
.grille-off {
    font-size: 0.75rem;
    opacity: 0.7
}
.grille .chip {
    margin-inline-start: auto;
    flex-shrink: 0
}
@media (max-width: 960px) {
    .gate-side {
        grid-template-columns: 1fr;
        grid-template-areas: "title" "offer" "text";
        gap: 1.25rem
    }
    .widget {
        grid-template-columns: 1fr
    }
    .widget-copy {
        max-width: 260px;
        margin-inline: auto
    }
}
@media (max-width: 700px) {
    .teaser-dark {
        columns: 1
    }
    .set {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 0.75rem
    }
}
@media (max-width: 640px) {
    .field2 {
        position: static
    }
    .field2-foot {
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        padding-block: 0.6rem
    }
    .field2-foot {
        flex-wrap: nowrap
    }
    .field2-outer .chip--soft, .lattice, .mesh {
        display: none
    }
    .mesh + .field2-outer {
        margin-inline-start: auto
    }
    .module {
        display: block;
        order: 3
    }
    .field2-outer {
        margin-inline-start: auto
    }
    .field2-outer .chip {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem
    }
    .shell {
        padding-block: 1.75rem
    }
    .pocket, .layer-soft {
        padding: 1.15rem
    }
    .gate-less .chip--large, .pocket .chip--large {
        width: 100%
    }
    .grille-off {
        display: none
    }
}
@media (prefers-reduced-motion: reduce) {
    *::before, * {
        transition: none !important
    }
}
