:root
{
	--size: #0b1220;
	--wide: #dfe5f0;
	--alt: #fff;
	--lift: #ffb300;
	--bold: #111;
	--head: #d99700;
	--space: #070b16;
	--fill: #fff;
	--lead: color-mix(in srgb, var(--wide) 6%, var(--size));
	--brand: color-mix(in srgb, var(--wide) 3%, var(--size));
	--card: color-mix(in srgb, var(--wide) 18%, var(--size));
	--main: var(--wide);
	--tone: 1160px;
	--plain: 78ch;
	--foot: 14px;
	--soft: 8px;
	--line: 0 2px 4px rgb(0 0 0 / 10%), 0 16px 40px rgb(0 0 0 / 16%);
	--flat: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--flow: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
	--stroke: clamp(1.4rem, 1.24rem + 0.75vw, 1.95rem);
	--base: clamp(1.95rem, 1.5rem + 1.9vw, 3.1rem)
}

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

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

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

a
{
	color: inherit
}

.shell
{
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--space);
	color: var(--fill)
}

.trail-wide, .shell-stub, .track-meta, .niche-cell, .gate-image
{
	width: min(100% - 2rem, var(--tone));
	margin-inline: auto
}

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

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

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

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

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

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

.well:empty
{
	display: none
}

.well:empty + .shell-first
{
	margin-inline-start: auto
}

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

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

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

.bundle-flat::-webkit-details-marker
{
	display: none
}

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

.bundle-flat span
{
	position: relative
}

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

.bundle-flat span::after
{
	position: absolute;
	top: 6px
}

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

.bundle-shut a
{
	padding: 0.6rem 0.7rem;
	border-radius: var(--soft);
	text-decoration: none;
	color: var(--fill)
}

.bundle-shut a:hover
{
	background: color-mix(in srgb, var(--fill) 12%, transparent)
}

.bundle-shut .surface
{
	margin-top: 0.4rem;
	color: var(--fill);
	border-color: color-mix(in srgb, var(--fill) 40%, transparent)
}

.shell .surface--cell
{
	color: inherit;
	border-color: color-mix(in srgb, var(--fill) 45%, transparent)
}

.shell .surface--cell:hover
{
	background: color-mix(in srgb, var(--fill) 14%, transparent)
}

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

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

.trail-wide::-webkit-scrollbar
{
	display: none
}

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

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

.surface
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: 1px solid var(--body, transparent);
	border-radius: var(--soft);
	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(--bold);
	transition: background-color 0.15s ease, transform 0.05s ease
}

.surface:hover
{
	background: var(--head)
}

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

.surface--cell
{
	background: transparent;
	color: var(--alt);
	border-color: var(--card)
}

.surface--cell:hover
{
	background: var(--lead)
}

.surface--small
{
	padding: 0.9rem 1.8rem;
	font-size: var(--flow)
}

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

.crest, .parcel h2, .niche-link, .window h2, .parcel h3, .window h3
{
	color: var(--alt);
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance
}

.crest
{
	font-size: var(--base);
	margin: 0 0 1rem
}

.niche-link
{
	font-size: var(--stroke);
	margin: 0 0 1.25rem
}

.parcel h3, .window h3
{
	font-size: var(--flow);
	margin: 1.75rem 0 0.5rem
}

.window p, .parcel p
{
	margin: 0 0 1rem
}

.window > :last-child, .parcel > :last-child
{
	margin-bottom: 0
}

.parcel a, .window a
{
	color: color-mix(in srgb, var(--lift) 72%, var(--alt));
	text-underline-offset: 3px
}

.grille
{
	display: block
}

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

.grille > .niche:not(.track):nth-of-type(odd)
{
	background: var(--lead)
}

.parcel
{
	max-width: var(--plain)
}

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

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

.niche--list .parcel 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)
}

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

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

.niche--list .parcel 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(--bold);
	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(--card);
	border-inline-start: 3px solid var(--main);
	border-radius: 0 var(--soft) var(--soft) 0;
	background: var(--lead);
	font-size: 0.95rem
}

.note p
{
	margin: 0 0 0.6rem
}

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

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

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

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

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

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

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

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

.parcel blockquote, .window blockquote
{
	margin: 1.25rem 0;
	padding: 1rem 1.25rem;
	border-inline-start: 3px solid var(--lift);
	border-radius: 0 var(--soft) var(--soft) 0;
	background: var(--size);
	color: var(--wide);
	font-size: 0.95rem
}

.window blockquote p, .parcel blockquote p
{
	margin: 0 0 0.6rem
}

.parcel blockquote > :last-child, .window blockquote > :last-child
{
	margin-bottom: 0
}

.parcel blockquote strong, .window blockquote strong
{
	color: var(--alt)
}

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

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

.niche--table .parcel
{
	max-width: none;
	overflow-x: auto
}

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

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

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

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

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

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

.level-info
{
	border: 1px solid var(--card);
	border-radius: var(--foot);
	box-shadow: var(--line);
	width: 100%
}

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

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

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

.span-light a
{
	color: var(--lift);
	font-weight: 600
}

.ridge
{
	text-align: center
}

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

.ridge-flat
{
	max-width: 46ch;
	margin-inline: auto;
	color: var(--main)
}

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

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

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

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

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

.track .window
{
	margin-bottom: 1.5rem
}

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

.core
{
	grid-area: offer;
	background: var(--size);
	border: 1px solid color-mix(in srgb, var(--lift) 40%, var(--card));
	border-radius: var(--foot);
	box-shadow: var(--line);
	overflow: hidden;
	align-self: start
}

.core .surface
{
	width: 100%
}

.core-foot
{
	display: grid;
	place-items: center;
	min-height: 74px;
	padding: 0.9rem 1.25rem;
	background: color-mix(in srgb, var(--lift) 12%, var(--size));
	color: var(--alt);
	border-bottom: 3px solid var(--lift)
}

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

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

.core-sub
{
	font-weight: 800;
	font-size: var(--flow);
	color: inherit;
	text-align: center
}

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

.core-large
{
	font-size: var(--stroke);
	font-weight: 800;
	line-height: 1.15;
	color: var(--alt);
	margin: 0;
	text-wrap: balance
}

.core-outer
{
	font-size: 0.8rem;
	color: var(--main);
	margin: 0
}

.field
{
	padding-block: 1.5rem
}

.hall
{
	border: 1px solid var(--card);
	border-radius: var(--foot);
	background: var(--brand);
	padding: 0.5rem 1.1rem
}

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

.hall-shut::-webkit-details-marker
{
	display: none
}

.hall-shut::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
}

.hall[open] .hall-shut::before
{
	transform: rotate(-135deg)
}

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

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

.hall-thumb a
{
	color: var(--main);
	text-underline-offset: 3px
}

.hall-thumb a:hover
{
	color: var(--alt)
}

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

.shelf2
{
	display: flex;
	flex-direction: column;
	background: var(--brand);
	border: 1px solid var(--card);
	border-radius: var(--foot);
	overflow: hidden;
	transition: border-color 0.15s ease, transform 0.15s ease
}

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

.shelf2-copy
{
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--lead)
}

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

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

.shelf2-flat
{
	font-weight: 600;
	color: var(--alt);
	line-height: 1.3;
	margin: 0
}

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

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

.strip2
{
	background: var(--size);
	border: 1px solid var(--card);
	border-radius: var(--foot);
	padding: 1.1rem 1.2rem
}

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

.strip2-dark
{
	font-weight: 700;
	color: var(--alt)
}

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

.strip2-plain
{
	margin: 0;
	color: var(--main)
}

.record-narrow
{
	display: grid;
	gap: 0.5rem;
	max-width: var(--plain)
}

.record-shut
{
	border: 1px solid var(--card);
	border-radius: var(--soft);
	background: var(--brand);
	padding: 0 1.1rem
}

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

.record-bottom::-webkit-details-marker
{
	display: none
}

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

.record-shut[open] .record-bottom::before
{
	content: "−"
}

.record-open
{
	color: var(--main);
	padding-bottom: 1rem
}

.record-open > :first-child
{
	margin-top: 0
}

.record-open > :last-child
{
	margin-bottom: 0
}

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

.part-outer
{
	margin: 0;
	font-size: var(--flow);
	font-weight: 800;
	color: var(--alt);
	text-wrap: balance
}

.part-image
{
	margin: 0.25rem 0 0;
	font-size: 0.82rem;
	color: var(--main)
}

.gate
{
	border-top: 1px solid var(--card);
	background: var(--size);
	color: var(--wide);
	padding-block: 2rem 6rem
}

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

.gate-figure
{
	margin-inline-end: auto;
	font-weight: 700;
	color: var(--alt)
}

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

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

.gate-narrow:empty
{
	display: none
}

.gate-narrow a
{
	text-decoration: none
}

.gate-narrow a:hover
{
	text-decoration: underline
}

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

.gate-last p
{
	margin: 0
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	.shell-stub
	{
		flex-wrap: nowrap
	}

	.trail, .shell-first .surface--cell, .well
	{
		display: none
	}

	.well + .shell-first
	{
		margin-inline-start: auto
	}

	.bundle
	{
		display: block;
		order: 3
	}

	.shell-first
	{
		margin-inline-start: auto
	}

	.shell-first .surface
	{
		padding: 0.5rem 0.8rem;
		font-size: 0.9rem
	}

	.niche
	{
		padding-block: 1.75rem
	}

	.core-top, .part
	{
		padding: 1.15rem
	}

	.part .surface--small, .track-lead .surface--small
	{
		width: 100%
	}

	.span2-large
	{
		display: none
	}

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

}
