:root {
 --brand: #0b1220;
 --core: #dfe5f0;
 --head: #fff;
 --paper: #ffb300;
 --space: #111;
 --zone: #d99700;
 --dim: #070b16;
 --line: #fff;
 --band: color-mix(in srgb, var(--core) 6%, var(--brand));
 --thin: color-mix(in srgb, var(--core) 3%, var(--brand));
 --lift: color-mix(in srgb, var(--core) 18%, var(--brand));
 --wide: color-mix(in srgb, var(--core) 68%, var(--brand));
 --ink: 1160px;
 --lead: 78ch;
 --body: 14px;
 --cool: 8px;
 --depth: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
 --frame: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
 --soft: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
 --shell: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
 --card: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a {
 color: inherit
}

.sheet {
 position: sticky;
 top: 0;
 z-index: 20;
 background: var(--dim);
 color: var(--line)
}

.arc__side, .sheet__lead, .stack__copy, .board__figure, .group__stub {
 width: min(100% - 2rem, var(--ink));
 margin-inline: auto
}

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

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

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

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

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

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

.rail:empty {
 display: none
}

.rail:empty + .sheet__narrow {
 margin-inline-start: auto
}

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

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

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

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

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

.set__first span {
 position: relative
}

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

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

.set__icon {
 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(--line) 20%, transparent);
 border-radius: var(--body);
 box-shadow: var(--depth)
}

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

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

.set__icon .cluster {
 margin-top: 0.4rem;
 color: var(--line);
 border-color: color-mix(in srgb, var(--line) 40%, transparent)
}

.sheet .cluster--cell {
 color: inherit;
 border-color: color-mix(in srgb, var(--line) 45%, transparent)
}

.sheet .cluster--cell:hover {
 background: color-mix(in srgb, var(--line) 14%, transparent)
}

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

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

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

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

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

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

.cluster:hover {
 background: var(--zone)
}

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

.cluster--cell {
 background: transparent;
 color: var(--head);
 border-color: var(--lift)
}

.cluster--cell:hover {
 background: var(--band)
}

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

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

.lattice h3, .case h2, .stack__light, .case h3, .branch, .lattice h2 {
 color: var(--head);
 line-height: 1.18;
 letter-spacing: -0.02em;
 text-wrap: balance
}

.branch {
 font-size: var(--card);
 margin: 0 0 1rem
}

.stack__light {
 font-size: var(--shell);
 margin: 0 0 1.25rem
}

.case h3, .lattice h3 {
 font-size: var(--soft);
 margin: 1.75rem 0 0.5rem
}

.lattice p, .case p {
 margin: 0 0 1rem
}

.lattice > :last-child, .case > :last-child {
 margin-bottom: 0
}

.lattice a, .case a {
 color: color-mix(in srgb, var(--paper) 72%, var(--head));
 text-underline-offset: 3px
}

.folder {
 display: block
}

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

.folder > .stack:not(.group):nth-of-type(odd) {
 background: var(--band)
}

.case {
 max-width: var(--lead)
}

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

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

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

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

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

.stack--list .case 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(--paper);
 color: var(--space);
 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(--lift);
 border-inline-start: 3px solid var(--wide);
 border-radius: 0 var(--cool) var(--cool) 0;
 background: var(--band);
 font-size: 0.95rem
}

.note p {
 margin: 0 0 0.6rem
}

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

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

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

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

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

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

.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(--lift);
 border-radius: 0;
 padding: 1rem 0 0
}

.case blockquote, .lattice blockquote {
 margin: 1.25rem 0;
 padding: 1rem 1.25rem;
 border-inline-start: 3px solid var(--paper);
 border-radius: 0 var(--cool) var(--cool) 0;
 background: var(--band);
 color: var(--wide);
 font-size: 0.95rem
}

.lattice blockquote p, .case blockquote p {
 margin: 0 0 0.6rem
}

.lattice blockquote > :last-child, .case blockquote > :last-child {
 margin-bottom: 0
}

.case blockquote strong, .lattice blockquote strong {
 color: var(--head)
}

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

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

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

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

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

.case thead th {
 background: color-mix(in srgb, var(--paper) 16%, var(--band));
 color: var(--head);
 font-weight: 700;
 white-space: nowrap
}

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

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

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

.bundle__alt {
 border: 1px solid var(--lift);
 border-radius: var(--body);
 box-shadow: var(--depth);
 width: 100%
}

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

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

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

.tract__stub a {
 color: var(--paper);
 font-weight: 600
}

.tray {
 text-align: center
}

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

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

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

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

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

.group .branch {
 grid-area: title;
 color: #fff
}

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

.group .lattice {
 margin-bottom: 1.5rem
}

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

.region {
 grid-area: offer;
 background: var(--brand);
 border: 1px solid color-mix(in srgb, var(--paper) 40%, var(--lift));
 border-radius: var(--body);
 box-shadow: var(--depth);
 overflow: hidden;
 align-self: start
}

.region .cluster {
 width: 100%
}

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

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

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

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

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

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

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

.box {
 padding-block: 1.5rem
}

.basket {
 border: 1px solid var(--lift);
 border-radius: var(--body);
 background: var(--thin);
 padding: 0.5rem 1.1rem
}

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

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

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

.basket[open] .basket__plain::before {
 transform: rotate(-135deg)
}

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

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

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

.basket__outer a:hover {
 color: var(--head)
}

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

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

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

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

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

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

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

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

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

.loop {
 background: var(--brand);
 border: 1px solid var(--lift);
 border-radius: var(--body);
 padding: 1.1rem 1.2rem
}

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

.loop__line {
 font-weight: 700;
 color: var(--head)
}

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

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

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

.canvas__side {
 border: 1px solid var(--lift);
 border-radius: var(--cool);
 background: var(--thin);
 padding: 0 1.1rem
}

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

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

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

.canvas__side[open] .canvas__image::before {
 content: "−"
}

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

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

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

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

.weave__side {
 margin: 0;
 font-size: var(--soft);
 font-weight: 800;
 color: var(--head);
 text-wrap: balance
}

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

.board {
 border-top: 1px solid var(--lift);
 background: var(--band);
 color: var(--wide);
 padding-block: 2rem 6rem
}

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

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

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

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

.board__large:empty {
 display: none
}

.board__large a {
 text-decoration: none
}

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

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

.board__less p {
 margin: 0
}

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

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

.margin {
 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(--paper) 14%, var(--dim));
 color: var(--line);
 border-top: 1px solid color-mix(in srgb, var(--paper) 45%, transparent)
}

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

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

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

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

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

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

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

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

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

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

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

 .sheet__lead {
  flex-wrap: nowrap
 }

 .sheet__narrow .cluster--cell, .rail, .arc {
  display: none
 }

 .rail + .sheet__narrow {
  margin-inline-start: auto
 }

 .set {
  display: block;
  order: 3
 }

 .sheet__narrow {
  margin-inline-start: auto
 }

 .sheet__narrow .cluster {
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem
 }

 .stack {
  padding-block: 1.75rem
 }

 .weave, .region__flat {
  padding: 1.15rem
 }

 .weave .cluster--copy, .group__open .cluster--copy {
  width: 100%
 }

 .margin__soft {
  display: none
 }

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

}
