:root {
	--head: #0b1220;
	--lift: #dfe5f0;
	--brand: #fff;
	--space: #ffb300;
	--shell: #111;
	--wide: #d99700;
	--zone: #070b16;
	--stroke: #fff;
	--fill: color-mix(in srgb, var(--lift) 6%, var(--head));
	--body: color-mix(in srgb, var(--lift) 3%, var(--head));
	--size: color-mix(in srgb, var(--lift) 18%, var(--head));
	--depth: color-mix(in srgb, var(--lift) 68%, var(--head));
	--thin: 1160px;
	--lead: 78ch;
	--field: 14px;
	--band: 8px;
	--ink: 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);
	--paper: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
	--tile: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
	--warm: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem);
}

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

body {
	margin: 0;
	background: var(--head);
	color: var(--lift);
	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;
}

.canvas {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--zone);
	color: var(--stroke);
}

.ribbon__on, .margin__alt, .holder__open, .window__copy, .canvas__open {
	width: min(100% - 2rem, var(--thin));
	margin-inline: auto;
}

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

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

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

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

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

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

.tray:empty {
	display: none;
}

.tray:empty + .canvas__soft {
	margin-inline-start: auto;
}

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

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

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

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

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

.field2__open span {
	position: relative;
}

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

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

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

.field2__foot a {
	padding: 0.6rem 0.7rem;
	border-radius: var(--band);
	text-decoration: none;
	color: var(--stroke);
}

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

.field2__foot .level {
	margin-top: 0.4rem;
	color: var(--stroke);
	border-color: color-mix(in srgb, var(--stroke) 40%, transparent);
}

.canvas .level_info {
	color: inherit;
	border-color: color-mix(in srgb, var(--stroke) 45%, transparent);
}

.canvas .level_info:hover {
	background: color-mix(in srgb, var(--stroke) 14%, transparent);
}

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

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

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

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

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

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

.level:hover {
	background: var(--wide);
}

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

.level_info {
	background: transparent;
	color: var(--brand);
	border-color: var(--size);
}

.level_info:hover {
	background: var(--fill);
}

.level_cell {
	padding: 0.9rem 1.8rem;
	font-size: var(--paper);
}

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

.track, .bundle h3, .bundle h2, .weave h3, .weave h2, .window__link {
	color: var(--brand);
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.track {
	font-size: var(--warm);
	margin: 0 0 1rem;
}

.window__link {
	font-size: var(--tile);
	margin: 0 0 1.25rem;
}

.weave h3, .bundle h3 {
	font-size: var(--paper);
	margin: 1.75rem 0 0.5rem;
}

.bundle p, .weave p {
	margin: 0 0 1rem;
}

.weave > :last-child, .bundle > :last-child {
	margin-bottom: 0;
}

.weave a, .bundle a {
	color: color-mix(in srgb, var(--space) 72%, var(--brand));
	text-underline-offset: 3px;
}

.crest {
	display: block;
}

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

.crest > .window:not(.holder):nth-of-type(odd) {
	background: var(--fill);
}

.bundle {
	max-width: var(--lead);
}

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

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

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

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

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

.window_list .bundle 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(--space);
	color: var(--shell);
	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(--size);
	border-inline-start: 3px solid var(--depth);
	border-radius: 0 var(--band) var(--band) 0;
	background: var(--fill);
	font-size: 0.95rem;
}

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

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

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

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

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

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

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

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

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

.weave blockquote, .bundle blockquote {
	margin: 1.25rem 0;
	padding: 1rem 1.25rem;
	border-inline-start: 3px solid var(--space);
	border-radius: 0 var(--band) var(--band) 0;
	background: var(--fill);
	color: var(--depth);
	font-size: 0.95rem;
}

.weave blockquote p, .bundle blockquote p {
	margin: 0 0 0.6rem;
}

.weave blockquote > :last-child, .bundle blockquote > :last-child {
	margin-bottom: 0;
}

.weave blockquote strong, .bundle blockquote strong {
	color: var(--brand);
}

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

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

.window_table .bundle {
	max-width: none;
	overflow-x: auto;
}

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

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

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

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

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

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

.shell__link {
	border: 1px solid var(--size);
	border-radius: var(--field);
	box-shadow: var(--ink);
	width: 100%;
}

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

.holder::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;
}

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

.span2__figure a {
	color: var(--space);
	font-weight: 600;
}

.ward {
	text-align: center;
}

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

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

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

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

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

.holder .track {
	grid-area: title;
	color: #fff;
}

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

.holder .weave {
	margin-bottom: 1.5rem;
}

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

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

.pill .level {
	width: 100%;
}

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

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

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

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

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

.pill__bold {
	font-size: var(--tile);
	font-weight: 800;
	line-height: 1.15;
	color: var(--brand);
	margin: 0;
	text-wrap: balance;
}

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

.district {
	padding-block: 1.5rem;
}

.figure {
	border: 1px solid var(--size);
	border-radius: var(--field);
	background: var(--body);
	padding: 0.5rem 1.1rem;
}

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

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

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

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

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

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

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

.figure__meta a:hover {
	color: var(--brand);
}

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

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

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

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

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

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

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

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

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

.entry {
	background: var(--head);
	border: 1px solid var(--size);
	border-radius: var(--field);
	padding: 1.1rem 1.2rem;
}

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

.entry__open {
	font-weight: 700;
	color: var(--brand);
}

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

.entry__top {
	margin: 0;
	color: var(--depth);
}

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

.arc__top {
	border: 1px solid var(--size);
	border-radius: var(--band);
	background: var(--body);
	padding: 0 1.1rem;
}

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

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

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

.arc__top[open] .arc__side::before {
	content: "−";
}

.arc__less {
	color: var(--depth);
	padding-bottom: 1rem;
}

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

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

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

.plane__top {
	margin: 0;
	font-size: var(--paper);
	font-weight: 800;
	color: var(--brand);
	text-wrap: balance;
}

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

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

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

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

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

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

.ribbon__shut:empty {
	display: none;
}

.ribbon__shut a {
	text-decoration: none;
}

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

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

.ribbon__narrow p {
	margin: 0;
}

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

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

.block2 {
	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(--space) 14%, var(--zone));
	color: var(--stroke);
	border-top: 1px solid color-mix(in srgb, var(--space) 45%, transparent);
}

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

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

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

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

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

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

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

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

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

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

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

	.canvas__open {
		flex-wrap: nowrap;
	}

	.margin, .canvas__soft .level_info, .tray {
		display: none;
	}

	.tray + .canvas__soft {
		margin-inline-start: auto;
	}

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

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

	.canvas__soft .level {
		padding: 0.5rem 0.8rem;
		font-size: 0.9rem;
	}

	.window {
		padding-block: 1.75rem;
	}

	.plane, .pill__thumb {
		padding: 1.15rem;
	}

	.plane .level_cell, .holder__thumb .level_cell {
		width: 100%;
	}

	.block2__off {
		display: none;
	}

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

}
