/**
 * Budvocate v3 — Homepage Stylesheet (home.css)
 *
 * Built for humans: generous negative space, bold editorial typography,
 * unboxed visual posters, and clean hairline dividers.
 * Uses central :root variables from base.css.
 */

.bud-home {
	background: var(--charcoal);
	color: var(--bud-ink);
}

/* ==========================================================================
   1. Billboard (.bud-billboard)

   A contained photographic panel, aligned to the page like everything else.
   Four small squares sit in a notch cut from its bottom-right corner; the notch
   runs through the #bud-melt filter so the squares and the panel edge flow into
   each other. Where that filter isn't supported they are plain squares.
   ========================================================================== */

.bud-home {
	--bud-panel: #060807;
	--bud-panel-radius: 22px;
}

.bud-billboard {
	--bud-dwell: 8s;
	--tile: 66px;
	--tile-h: 50px;
	--tile-h-on: 78px;
	--tile-pad: 5px;
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	height: clamp(470px, 40vw, 560px);
	margin-top: clamp(0.75rem, 1.6vw, 1.25rem);
	overflow: hidden;
	border-radius: var(--bud-panel-radius);
	border-bottom-right-radius: 0; /* The notch fills this corner in the page colour. */
	background: var(--bud-panel);
	color: #fff;
}

/* Key art ---------------------------------------------------------------- */

.bud-billboard-stage,
.bud-billboard-scrim {
	position: absolute;
	inset: 0;
}

.bud-billboard-art {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.1s ease;
}

.bud-billboard-art.is-active {
	opacity: 1;
}

.bud-billboard-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 50%;
	transform: scale(1.09);
	transition: transform 9.5s linear;
}

.bud-billboard-art.is-active img,
.bud-billboard-art.is-leaving img {
	transform: scale(1);
}

/* Square art lives on the right and dissolves into the dark panel. */
.bud-billboard-art.is-side {
	left: auto;
	width: 58%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%);
	mask-image: linear-gradient(90deg, transparent 0, #000 42%);
}

.bud-billboard-art.is-side img {
	object-position: 50% 42%;
}

/* A tighter panel for art that is taller than it is wide. */
.bud-billboard-art.is-narrow {
	left: auto;
	width: 47%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%);
	mask-image: linear-gradient(90deg, transparent 0, #000 34%);
}

.bud-billboard-art.is-narrow img {
	object-position: 50% 0;
}

.bud-billboard-scrim {
	background:
		linear-gradient(0deg, rgba(6, 8, 7, 0.7) 0, rgba(6, 8, 7, 0) 42%),
		linear-gradient(90deg, rgba(6, 8, 7, 0.95) 0, rgba(6, 8, 7, 0.78) 34%, rgba(6, 8, 7, 0.14) 64%, rgba(6, 8, 7, 0) 82%);
}

/* The corner notch --------------------------------------------------------- */

.bud-billboard-notch {
	z-index: 1;
	display: none;
}

.bud-billboard.is-ready .bud-billboard-notch {
	display: flex;
}

.bud-billboard-notch i {
	width: calc(var(--tile) + var(--tile-pad) * 2);
	height: calc(var(--tile-h) + var(--tile-pad) * 2);
	transition: height 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}

.bud-billboard-notch i.is-active {
	height: calc(var(--tile-h-on) + var(--tile-pad) * 2);
}

/* Copy -------------------------------------------------------------------- */

.bud-billboard-copy {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 clamp(1.25rem, 3.2vw, 2.75rem) clamp(1.5rem, 2.8vw, 2.5rem);
}

.bud-billboard-title {
	margin: 0 0 1rem;
	font-family: var(--bud-face);
	font-size: clamp(4.25rem, 8.4vw, 8.25rem);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}

.bud-billboard-line {
	display: block;
}

/* Rolodex: every value occupies the same cell and rolls through it. */
.bud-billboard-roll {
	display: inline-grid;
	overflow: hidden;
	vertical-align: top;
}

.bud-billboard-roll.is-word {
	display: grid;
	justify-content: start;
	color: var(--bud-lime);
}

.bud-billboard-roll > span {
	grid-area: 1 / 1;
	opacity: 0;
	transform: translateY(102%);
}

.bud-billboard-roll > span.is-active {
	opacity: 1;
	transform: translateY(0);
	transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1);
}

.bud-billboard-roll > span.is-leaving {
	opacity: 0;
	transform: translateY(-102%);
	transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1), opacity 0s linear 0.75s;
}

.bud-billboard-slides {
	display: grid;
}

.bud-billboard-slide {
	grid-area: 1 / 1;
	align-self: end;
	visibility: hidden;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}

.bud-billboard-slide.is-active {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity 0.55s ease 0.25s, transform 0.55s ease 0.25s, visibility 0s;
}

.bud-billboard-name {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.2rem 0.85rem;
	margin: 0 0 0.4rem;
	font-size: 0.86rem;
	color: #c7cfc8;
}

.bud-billboard-name strong {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
}

.bud-billboard-text {
	max-width: 50ch;
	min-height: 3em; /* Two lines, so nothing above it moves when the copy changes. */
	margin: 0 0 1.1rem;
	font-size: 0.96rem;
	line-height: 1.5;
	letter-spacing: 0;
	color: #dfe4df;
}

.bud-cta {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 1.4rem;
	border-radius: 999px;
	background: #fff;
	color: #0a0c0a;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.bud-cta:hover,
.bud-cta:focus-visible {
	background: var(--bud-lime);
	color: #0a0c0a;
}

/* Rail -------------------------------------------------------------------- */

.bud-billboard-rail {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: flex-end;
}

.bud-billboard-rail[hidden] {
	display: none;
}

.bud-billboard-tile {
	position: relative;
	display: block;
	width: var(--tile);
	height: var(--tile-h);
	margin: var(--tile-pad);
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 9px;
	background: #151916;
	cursor: pointer;
	transition: height 0.5s cubic-bezier(0.7, 0, 0.2, 1);
}

.bud-billboard-tile.is-active {
	height: var(--tile-h-on);
}

.bud-billboard-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.5) saturate(0.7);
	transition: filter 0.3s ease;
}

.bud-billboard-tile.is-active img,
.bud-billboard-tile:hover img,
.bud-billboard-tile:focus-visible img {
	filter: none;
}

.bud-billboard-tile:focus-visible {
	outline: 2px solid var(--bud-lime);
	outline-offset: 2px;
}

.bud-billboard-bar {
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: var(--bud-lime);
	transform: scaleX(0);
	transform-origin: left;
}

.bud-billboard-tile.is-active .bud-billboard-bar {
	transform: scaleX(1);
}

.bud-billboard.is-auto .bud-billboard-tile.is-active .bud-billboard-bar {
	animation: bud-billboard-fill var(--bud-dwell) linear forwards;
}

.bud-billboard.is-paused .bud-billboard-bar,
.bud-billboard-rail:hover .bud-billboard-bar,
.bud-billboard:has(:focus-visible) .bud-billboard-bar {
	animation-play-state: paused !important;
}

@keyframes bud-billboard-fill {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.bud-billboard-pause {
	position: absolute;
	z-index: 3;
	top: 0.85rem;
	right: 0.85rem;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 50%;
	background: rgba(10, 12, 10, 0.5);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	color: #fff;
	cursor: pointer;
}

.bud-billboard-pause[hidden] {
	display: none;
}

.bud-billboard-pause:focus-visible {
	outline: 2px solid var(--bud-lime);
	outline-offset: 2px;
}

.bud-billboard-pause .is-play,
.bud-billboard-pause[aria-pressed="true"] .is-pause {
	display: none;
}

.bud-billboard-pause[aria-pressed="true"] .is-play {
	display: block;
}

@media (max-width: 991px) {
	.bud-billboard {
		height: auto;
		min-height: 460px;
	}

	.bud-billboard-scrim {
		background:
			linear-gradient(0deg, rgba(6, 8, 7, 0.9) 0, rgba(6, 8, 7, 0.55) 48%, rgba(6, 8, 7, 0.1) 88%),
			linear-gradient(90deg, rgba(6, 8, 7, 0.72) 0, rgba(6, 8, 7, 0) 85%);
	}

	.bud-billboard-art.is-side,
	.bud-billboard-art.is-narrow {
		width: 100%;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* The squares get their own row under the button once they can't share one. */
@media (max-width: 640px) {
	.bud-billboard {
		--tile: 54px;
		--tile-h: 44px;
		--tile-h-on: 60px;
		--tile-pad: 4px;
		--bud-panel-radius: 18px;
		min-height: 0;
	}

	.bud-billboard-copy {
		padding: 4.5rem 1.15rem calc(var(--tile-h-on) + var(--tile-pad) * 2 + 1.1rem);
	}

	.bud-billboard-title {
		font-size: clamp(4.25rem, 24vw, 6.5rem);
	}

	.bud-billboard-text {
		font-size: 0.92rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bud-billboard-art,
	.bud-billboard-art img,
	.bud-billboard-roll > span,
	.bud-billboard-slide,
	.bud-billboard-tile,
	.bud-billboard-notch i {
		transition: none !important;
	}

	.bud-billboard-art img {
		transform: none;
	}
}

/* ==========================================================================
   2. Shared Section Spacing & Headers (.bud-section)
   ========================================================================== */

.bud-section {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.bud-section + .bud-section {
	border-top: 1px solid var(--bud-line);
}

.bud-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.bud-section-head h2 {
	margin: 0;
	font-family: var(--bud-face);
	font-size: clamp(3rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff;
}

.bud-section-head > a {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--bud-muted);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.bud-section-head > a:hover {
	color: var(--accent-green2);
}

/* ==========================================================================
   3. Section 1: Strains Poster Grid (.bud-poster-grid)
   ========================================================================== */

/* ==========================================================================
   4. Full-Bleed Electric Lime Vibe Bar (.bud-vibe-bar)
   ========================================================================== */

.bud-vibe-bar {
	background: var(--accent-green2);
	color: #071209;
	padding: 1.35rem 0;
}

.bud-vibe-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
}

.bud-vibe-inner h2 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--bud-face);
	font-size: clamp(2.25rem, 3.4vw, 3rem);
	font-weight: 400;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #071209;
}

.bud-vibe-inner ul {
	flex: 1 1 560px;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.5rem;
	max-width: 880px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-vibe-inner a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.25rem;
	border-radius: 14px;
	color: #071209;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bud-vibe-inner a:hover,
.bud-vibe-inner a:focus-visible {
	background: #071209;
	color: var(--bud-lime);
}

.bud-vibe-inner .bud-effect-icon {
	display: block;
	width: 34px;
	height: 34px;
	stroke-width: 1.8;
}

.bud-vibe-inner a span {
	font-family: var(--bud-face);
	font-size: 1.3rem;
	line-height: 1;
	text-transform: uppercase;
}

@media (max-width: 640px) {
	.bud-vibe-inner ul {
		flex-basis: 100%;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Grow (.bud-home-grow)

   The stages side by side in growing order, each with its first few guides. The
   guides that apply throughout run below, on the same columns.
   ========================================================================== */

.bud-hg-stages {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(1rem, 1.6vw, 1.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-hg-stage {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bud-hg-stage-head {
	display: block;
	color: #fff;
	text-decoration: none;
}

.bud-hg-stage-head img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	object-fit: cover;
	transition: opacity 0.15s ease;
}

.bud-hg-stage-head:hover img {
	opacity: 0.82;
}

.bud-hg-stage-head h3 {
	margin: 0.9rem 0 0.55rem;
	font-family: var(--bud-face);
	font-size: clamp(1.7rem, 2.1vw, 2.15rem);
	font-weight: 400;
	line-height: 1.02;
	text-transform: uppercase;
	color: #fff;
	transition: color 0.15s ease;
}

.bud-hg-stage-head:hover h3 {
	color: var(--accent-green2);
}

.bud-hg-stage-head b {
	margin-right: 0.12em;
	font-weight: 400;
	color: var(--accent-green2);
}

.bud-hg-guides {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--bud-line);
}

.bud-hg-guides a {
	display: block;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--bud-line);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--bud-ink);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bud-hg-guides a:hover {
	color: var(--accent-green2);
}

.bud-hg-all {
	display: inline-block;
	margin-top: 0.8rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--bud-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.bud-hg-all:hover {
	color: var(--accent-green2);
}

.bud-hg-always {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: clamp(1rem, 1.6vw, 1.5rem);
	margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.bud-hg-always-head h3 {
	margin: 0 0 0.4rem;
	font-family: var(--bud-face);
	font-size: clamp(1.7rem, 2.1vw, 2.15rem);
	font-weight: 400;
	line-height: 1.02;
	text-transform: uppercase;
	color: #fff;
}

.bud-hg-always-head p {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: var(--bud-muted);
}

.bud-hg-always .bud-hg-guides {
	grid-column: span 4;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: start;
	gap: clamp(1rem, 1.6vw, 1.5rem);
	border-top: 0;
}

.bud-hg-always .bud-hg-guides a {
	border-top: 1px solid var(--bud-line-strong);
	border-bottom: 0;
}

/* One stage to a row once five columns get too narrow for the guide names */
@media (max-width: 1100px) {
	.bud-hg-stages {
		grid-template-columns: 1fr;
		gap: 1.75rem;
	}

	.bud-hg-stage {
		display: grid;
		grid-template-columns: minmax(150px, 30%) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: 1.25rem;
	}

	.bud-hg-stage-head {
		display: contents;
	}

	.bud-hg-stage-head img {
		grid-column: 1;
		grid-row: 1 / 3;
		height: 100%;
		min-height: 150px;
		aspect-ratio: auto;
	}

	.bud-hg-stage-head h3 {
		grid-column: 2;
		margin-top: 0;
	}

	.bud-hg-stage-body {
		grid-column: 2;
	}

	.bud-hg-always {
		grid-template-columns: 1fr;
	}

	.bud-hg-always .bud-hg-guides {
		grid-column: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.25rem;
		row-gap: 0;
	}
}

@media (max-width: 540px) {
	.bud-hg-stage {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.bud-hg-stage-head img {
		grid-column: 1;
		grid-row: auto;
		height: auto;
		min-height: 0;
		aspect-ratio: 16 / 7;
	}

	.bud-hg-stage-head h3 {
		grid-column: 1;
		margin-top: 0.8rem;
	}

	.bud-hg-stage-body {
		grid-column: 1;
	}

	.bud-hg-always .bud-hg-guides {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Leaf Doctor (.bud-home-leaf)

   The way into the checker beside the newest conditions. Diagrams sit on the same
   paper colour as they do on the checker itself.
   ========================================================================== */

.bud-home-leaf {
	background: var(--bud-surface);
}

.bud-hd-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: center;
}

.bud-hd-copy h3 {
	margin: 0 0 0.6rem;
	font-family: var(--bud-display);
	font-size: clamp(1.5rem, 2.2vw, 2.1rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
}

.bud-hd-copy p {
	max-width: 34ch;
	margin: 0 0 1.35rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--bud-muted);
}

.bud-hd-start {
	display: inline-block;
	padding: 0.75rem 1.2rem;
	border-radius: 8px;
	background: var(--accent-green2);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bud-lime-ink);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.bud-hd-start:hover,
.bud-hd-start:focus-visible {
	background: #fff;
	color: var(--bud-lime-ink);
}

.bud-hd-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.2vw, 1.1rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-hd-list a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: #fff;
	text-decoration: none;
}

.bud-hd-picture {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	margin-bottom: 0.7rem;
	overflow: hidden;
	border-radius: 10px;
	background: #fbfaf5;
}

.bud-hd-picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bud-hd-picture .bud-leaf-art {
	position: absolute;
	inset: 5%;
	width: 90%;
	height: 90%;
	object-fit: contain;
}

.bud-hd-list em {
	margin-bottom: 0.2rem;
	font-size: 0.8rem;
	font-style: normal;
	font-weight: 600;
	color: var(--accent-green2);
}

.bud-hd-list strong {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.25;
	transition: color 0.15s ease;
}

.bud-hd-list a:hover strong {
	color: var(--accent-green2);
}

@media (max-width: 1100px) {
	.bud-hd-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.bud-hd-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ==========================================================================
   Where it's legal (.bud-home-legal)

   A band of the raised surface with a darker rounded panel on it. One bar for the
   split across the country, then the map beside one number per status; pointing
   at a number leaves only those states in colour. The hidden states at the end
   only apply once home-legal.js has armed the section, so nothing depends on the
   script.
   ========================================================================== */

.bud-home-legal {
	--hl-ink: var(--bud-ink);
	--hl-muted: var(--bud-muted);
	--hl-off: var(--bud-surface-elevated);
	background: var(--bud-surface);
	color: var(--hl-ink);
}

.bud-hl-panel {
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: 1px solid var(--bud-line-strong);
	border-radius: 14px;
	background: #050706;
}

.bud-hl-bar {
	display: flex;
	gap: 3px;
	height: 16px;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.bud-hl-bar i {
	flex: 1 1 0;
	min-width: 6px;
	border-radius: 4px;
	transform-origin: left;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s ease;
}

.bud-hl-bar i:first-child {
	border-radius: 999px 4px 4px 999px;
}

.bud-hl-bar i:last-child {
	border-radius: 4px 999px 999px 4px;
}

.bud-hl-bar i.is-dimmed {
	opacity: 0.18;
}

.bud-hl-bar .is-recreational { background: var(--legal-recreational); }
.bud-hl-bar .is-medical { background: var(--legal-medical); }
.bud-hl-bar .is-decriminalized { background: repeating-linear-gradient(45deg, #1f9d4d 0 4px, #070908 4px 8px); }
.bud-hl-bar .is-low-thc { background: var(--legal-low-thc); }
/* Off-black on a darker panel: the edge is what shows it. */
.bud-hl-bar .is-illegal {
	background: var(--legal-illegal);
	box-shadow: inset 0 0 0 1px var(--bud-line-strong);
}

.bud-hl-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}

.bud-home-legal .bud-legal-map {
	max-height: none;
}

.bud-home-legal .bud-map-state path,
.bud-home-legal .bud-map-state circle {
	transition: fill 0.2s ease, opacity 0.5s ease;
}

/* Everything but the status being pointed at drops to a plain raised grey. */
.bud-home-legal .bud-map-state.is-dimmed path,
.bud-home-legal .bud-map-state.is-dimmed circle {
	fill: var(--hl-off);
	stroke: var(--bud-line);
	opacity: 1;
}

.bud-hl-list {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-hl-row {
	--hl-fill: var(--legal-recreational);
	--hl-on: #071209;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
	padding: 0.4rem 0.75rem;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--hl-ink);
	text-align: left;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bud-hl-row.is-medical { --hl-fill: var(--legal-medical); }
.bud-hl-row.is-decriminalized { --hl-fill: #14592f; --hl-on: #fff; }
.bud-hl-row.is-low-thc { --hl-fill: var(--legal-low-thc); --hl-on: #fff; }
.bud-hl-row.is-illegal { --hl-fill: var(--bud-line-strong); --hl-on: #fff; }

.bud-hl-row:disabled {
	cursor: default;
}

.bud-hl-row:focus-visible {
	outline: 2px solid var(--hl-ink);
	outline-offset: 2px;
}

.bud-hl-row.is-lit,
.bud-hl-row.is-hot {
	background: var(--hl-fill);
	color: var(--hl-on);
}

.bud-hl-row .bud-legal-swatch {
	width: 20px;
	height: 20px;
	border-radius: 5px;
}

.bud-hl-row.is-lit .bud-legal-swatch,
.bud-hl-row.is-hot .bud-legal-swatch {
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%);
}

.bud-hl-row b {
	flex: none;
	min-width: 1.15em;
	font-family: var(--bud-face);
	font-size: clamp(3.25rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.bud-hl-row > span {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
}

.bud-hl-row small {
	display: block;
	margin-top: 0.1rem;
	font-size: 0.82rem;
	font-weight: 400;
	opacity: 0.75;
}

.bud-hl-note {
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
	font-size: 0.85rem;
	color: var(--hl-muted);
}

/* Playing in, once */
.bud-home-legal.is-armed .bud-hl-bar i {
	transform: scaleX(0);
}

.bud-home-legal.is-armed .bud-map-state {
	opacity: 0;
	transition: opacity 0.5s ease var(--hl-delay, 0ms);
}

.bud-home-legal.is-in .bud-hl-bar i {
	transform: none;
}

.bud-home-legal.is-in .bud-map-state {
	opacity: 1;
}

@media (max-width: 900px) {
	.bud-hl-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
