/**
 * Studio — "electric editorial studio" design system (Nov 2026).
 *
 * Loaded after every legacy stylesheet, site-wide. Owns: tokens, base
 * type, pills/chips, the header (pill nav + sliding blob), the mobile
 * panel, the footer and its wordmark, and the shared dragon component.
 * Homepage composition lives in studio-home.css.
 */

:root {
	--st-cream: var(--wp--preset--color--canvas);
	--st-cream-2: var(--wp--preset--color--base);
	--st-sand: var(--wp--preset--color--tertiary);
	--st-ink: var(--wp--preset--color--contrast);
	--st-ink-2: #1c1c22;
	--st-muted: var(--wp--preset--color--muted);
	--st-cobalt: var(--wp--preset--color--primary);
	--st-cobalt-deep: var(--wp--preset--color--cobalt-deep);
	--st-cobalt-pale: var(--wp--preset--color--secondary);
	--st-lime: var(--wp--preset--color--lime);
	--st-pink: var(--wp--preset--color--hot-pink);
	--st-deany: var(--wp--preset--color--agent-deany);
	--st-judy: var(--wp--preset--color--agent-judy);
	--st-joyee: var(--wp--preset--color--agent-joyee);
	--st-arlo: var(--wp--preset--color--agent-arlo);

	--st-serif: var(--wp--preset--font-family--serif);
	--st-sans: var(--wp--preset--font-family--sans);

	--st-line: 1px solid color-mix(in srgb, var(--st-ink) 14%, transparent);
	--st-line-strong: 1.5px solid var(--st-ink);
	--st-radius-xl: clamp(24px, 3vw, 40px);
	--st-radius: 24px;
	--st-radius-sm: 14px;
	--st-gutter: clamp(1rem, 4vw, 3rem);
	--st-max: 1360px;
	--st-section: clamp(4.5rem, 10vw, 9rem);
	--st-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	--st-out: cubic-bezier(0.22, 1, 0.36, 1);

	/* Legacy token bridge: older component CSS reads these. */
	--jh-focus: 0 0 0 3px color-mix(in srgb, var(--st-cobalt) 45%, transparent);
}

body {
	background: var(--st-cream);
	color: var(--st-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "ss01", "cv11";
}

::selection {
	background: var(--st-lime);
	color: var(--st-ink);
}

:where(a, button, [tabindex]):focus-visible {
	outline: 2.5px solid var(--st-cobalt);
	outline-offset: 3px;
	border-radius: 6px;
}

/* Serif italic accent inside display headings. */
:where(h1, h2, h3, .st-statement, .st-footer__title) em {
	font-family: var(--st-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.st-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------------------------------
 * Eyebrow, pills, chips
 * ---------------------------------------------------------------------- */

.st-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.25rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: currentColor;
}
.st-eyebrow span {
	display: inline-grid;
	place-items: center;
	min-width: 2.1rem;
	height: 1.5rem;
	padding: 0 0.5rem;
	border: 1.5px solid currentColor;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.04em;
}

.st-pill {
	--pill-bg: var(--st-ink);
	--pill-fg: var(--st-cream);
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 3rem;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	border: 1.5px solid var(--pill-border, var(--pill-bg));
	background: var(--pill-bg);
	color: var(--pill-fg);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.45s var(--st-spring), color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.st-pill::before {
	/* The "streak": a fill that sweeps in from the left on hover. */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--pill-hover-bg, var(--st-cream));
	border-radius: inherit;
	transform: translateX(-101%);
	transition: transform 0.5s var(--st-out);
}
.st-pill:hover,
.st-pill:focus-visible {
	color: var(--pill-hover-fg, var(--st-ink));
	text-decoration: none;
	transform: translateY(-2px) scale(1.02);
}
.st-pill:hover::before,
.st-pill:focus-visible::before {
	transform: translateX(0);
}
.st-pill:active {
	transform: translateY(0) scale(0.97);
}
.st-pill__arrow {
	display: inline-grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	margin-right: -0.6rem;
	border-radius: 999px;
	background: var(--pill-fg);
	color: var(--pill-bg);
	font-size: 0.95rem;
	transition: transform 0.45s var(--st-spring), background-color 0.25s ease, color 0.25s ease;
}
.st-pill:hover .st-pill__arrow,
.st-pill:focus-visible .st-pill__arrow {
	transform: translateX(3px) rotate(-35deg);
	background: var(--pill-hover-fg, var(--st-ink));
	color: var(--pill-hover-bg, var(--st-cream));
}
.st-pill--lime {
	--pill-bg: var(--st-lime);
	--pill-fg: var(--st-ink);
	--pill-hover-bg: var(--st-ink);
	--pill-hover-fg: var(--st-lime);
}
.st-pill--ink {
	--pill-bg: var(--st-ink);
	--pill-fg: var(--st-cream);
	--pill-hover-bg: var(--st-lime);
	--pill-hover-fg: var(--st-ink);
}
.st-pill--ghost {
	--pill-bg: transparent;
	--pill-fg: currentColor;
	--pill-border: currentColor;
	--pill-hover-bg: var(--st-cream);
	--pill-hover-fg: var(--st-ink);
	color: inherit;
}
.st-pill--sm {
	min-height: 2.5rem;
	padding: 0.55rem 1.1rem;
	font-size: 0.92rem;
}
.st-pill--lg {
	min-height: 3.75rem;
	padding: 1rem 1.9rem;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.st-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	border: 1.5px solid currentColor;
}
.st-chip--live::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--st-lime);
	box-shadow: 0 0 0 2px var(--st-ink);
}
.st-chip--done {
	background: var(--st-ink);
	color: var(--st-cream);
	border-color: var(--st-ink);
}

.st-dot {
	display: inline-block;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--st-lime);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--st-lime) 70%, transparent);
	animation: st-ping 2.4s ease-out infinite;
}
@keyframes st-ping {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--st-lime) 70%, transparent); }
	80%, 100% { box-shadow: 0 0 0 12px transparent; }
}

/* -------------------------------------------------------------------------
 * Header: floating bar, liquid pill nav, lime CTA
 * ---------------------------------------------------------------------- */

.st-header.jhilik-site-header {
	padding-block: 0.9rem;
	padding-inline: var(--st-gutter);
	pointer-events: none;
	transition: transform 0.45s var(--st-out);
}
.st-header .st-header__bar.jhilik-site-header__bar {
	pointer-events: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	max-width: var(--st-max);
	margin-inline: auto;
	padding: 0.45rem 0.45rem 0.45rem 1.25rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--st-ink) 10%, transparent);
	background: color-mix(in srgb, var(--st-cream) 78%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 10px 30px -18px rgba(17, 17, 20, 0.35);
	color: var(--st-ink);
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.st-header.is-scrolled .st-header__bar.jhilik-site-header__bar {
	background: color-mix(in srgb, var(--st-cream) 88%, transparent);
	border-color: color-mix(in srgb, var(--st-ink) 12%, transparent);
	box-shadow: 0 14px 40px -20px rgba(17, 17, 20, 0.45);
}
/* Over the homepage's cobalt hero, before scrolling: cream on cobalt. */
.home .st-header:not(.is-scrolled) .st-header__bar.jhilik-site-header__bar {
	background: color-mix(in srgb, var(--st-cobalt-deep) 45%, transparent);
	border-color: color-mix(in srgb, var(--st-cream) 22%, transparent);
	color: var(--st-cream);
	box-shadow: none;
}

.st-header__brand .wp-block-site-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
}
.st-header__brand .wp-block-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: inherit !important;
	text-decoration: none;
}
.st-header__brand .wp-block-site-title a::before {
	content: "";
	width: 2.1rem;
	height: 2.1rem;
	flex: none;
	border-radius: 50%;
	background: var(--st-lime) url("../characters/deany-working.png") center 60% / 135% auto no-repeat;
	box-shadow: inset 0 0 0 1.5px var(--st-ink);
	transition: transform 0.5s var(--st-spring);
}
.st-header__brand .wp-block-site-title a:hover::before {
	transform: rotate(-12deg) scale(1.08);
}

.st-pillnav.jhilik-primary-nav {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	padding: 0.3rem;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 7%, transparent);
	justify-self: center;
}
.st-pillnav__blob {
	position: absolute;
	top: 0.3rem;
	bottom: 0.3rem;
	left: 0;
	width: 0;
	border-radius: 999px;
	background: var(--st-ink);
	opacity: 0;
	transform: translateX(var(--blob-x, 0));
	transition: transform 0.55s var(--st-spring), width 0.55s var(--st-spring), opacity 0.25s ease, background-color 0.3s ease;
	z-index: 0;
}
.home .st-header:not(.is-scrolled) .st-pillnav__blob {
	background: var(--st-cream);
}
.st-pillnav.has-blob .st-pillnav__blob {
	opacity: 1;
}
.st-pillnav__link.jhilik-primary-nav__link {
	position: relative;
	z-index: 1;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	color: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s ease;
}
.st-pillnav__link.jhilik-primary-nav__link::after {
	display: none;
}
.st-pillnav__link.is-under-blob {
	color: var(--st-cream);
}
.home .st-header:not(.is-scrolled) .st-pillnav__link.is-under-blob {
	color: var(--st-cobalt);
}
/* No-JS: the current page still reads as current. */
html:not(.st-js) .st-pillnav__link[aria-current="page"] {
	background: var(--st-ink);
	color: var(--st-cream);
}

.st-header__actions.jhilik-site-header__actions {
	justify-self: end;
	gap: 0.5rem;
}
.st-header__cta.st-pill {
	min-height: 2.6rem;
	padding: 0.5rem 0.65rem 0.5rem 1.15rem;
	font-size: 0.95rem;
}
.st-header__cta .st-pill__arrow {
	margin-right: 0;
}

.st-burger.jhilik-mobile-trigger {
	display: none;
	position: relative;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	border: 0;
	background: var(--st-ink);
	color: var(--st-cream);
	cursor: pointer;
}
.st-burger span {
	position: absolute;
	left: 50%;
	width: 1.1rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transform: translateX(-50%);
	transition: transform 0.35s var(--st-spring), top 0.35s var(--st-spring);
}
.st-burger span:first-child { top: calc(50% - 4px); }
.st-burger span:last-child { top: calc(50% + 3px); }
.st-burger[aria-expanded="true"] span:first-child { top: calc(50% - 1px); transform: translateX(-50%) rotate(45deg); }
.st-burger[aria-expanded="true"] span:last-child { top: calc(50% - 1px); transform: translateX(-50%) rotate(-45deg); }
.home .st-header:not(.is-scrolled) .st-burger {
	background: var(--st-lime);
	color: var(--st-ink);
}

/* Mobile panel: a cream sheet under the bar. */
.st-mobile-panel.jhilik-mobile-panel {
	left: var(--st-gutter);
	right: var(--st-gutter);
	margin-top: 0.6rem;
	padding: 1rem 1.25rem 1.5rem;
	border-radius: var(--st-radius);
	border: 1.5px solid var(--st-ink);
	background: var(--st-cream);
	color: var(--st-ink);
	box-shadow: 0 30px 60px -30px rgba(17, 17, 20, 0.6);
	pointer-events: auto;
}
.st-mobile-panel .jhilik-mobile-panel__close {
	background: var(--st-ink);
	color: var(--st-cream);
	border: 0;
}
.st-mobile-panel .jhilik-mobile-panel__nav a {
	padding: 0.7rem 0.15rem;
	font-size: clamp(1.6rem, 7vw, 2.2rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--st-ink);
	border-bottom: var(--st-line);
}
.st-mobile-panel .jhilik-mobile-panel__nav a[aria-current="page"] {
	color: var(--st-cobalt);
}
.st-mobile-panel .jhilik-mobile-panel__connect {
	margin-top: 1rem;
}
.st-mobile-panel .jhilik-mobile-panel__connect a {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	padding: 0.95rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--st-lime);
	font-size: 1.1rem;
	letter-spacing: -0.01em;
}
html.has-modal-open::before {
	background: rgba(17, 17, 20, 0.45);
}
/* The backdrop (z 150) must sit under the header that owns the panel. */
html.has-modal-open .st-header.jhilik-site-header {
	z-index: 210;
}

@media (max-width: 1080px) {
	.st-pillnav__link.jhilik-primary-nav__link {
		padding-inline: 0.75rem;
	}
}
@media (max-width: 960px) {
	.st-header .st-header__bar.jhilik-site-header__bar {
		grid-template-columns: 1fr auto auto;
		padding-left: 1rem;
	}
	.st-pillnav.jhilik-primary-nav {
		display: none;
	}
	.st-burger.jhilik-mobile-trigger {
		display: inline-block;
	}
}
@media (max-width: 480px) {
	.st-header__cta.st-pill {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Dragons (shared component)
 * ---------------------------------------------------------------------- */

.st-dragon {
	position: relative;
	display: inline-block;
	width: var(--dragon-size, 140px);
	aspect-ratio: 1;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	line-height: 0;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
span.st-dragon {
	cursor: default;
}
.st-dragon__body {
	position: absolute;
	inset: 0;
	display: block;
	transform-origin: 50% 85%;
	transition: transform 0.5s var(--st-spring);
}
.st-dragon__body img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
}
.st-dragon__body picture {
	position: absolute;
	inset: 0;
}
.st-dragon__fly {
	opacity: 0;
}
.st-dragon.is-flying .st-dragon__idle {
	opacity: 0;
}
.st-dragon.is-flying .st-dragon__fly {
	opacity: 1;
}
.st-dragon.is-fallback .st-dragon__idle,
.st-dragon.is-fallback .st-dragon__fly {
	display: none;
}
.st-dragon.is-fallback .st-dragon__still {
	opacity: 1;
}
.st-dragon__tag {
	position: absolute;
	left: 50%;
	bottom: calc(100% - 0.35rem);
	display: inline-flex;
	gap: 0.35rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: var(--st-ink);
	color: var(--st-cream);
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: 0;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, 6px) scale(0.9);
	transition: opacity 0.25s ease, transform 0.4s var(--st-spring);
	pointer-events: none;
}
.st-dragon__tag b {
	color: var(--st-lime);
	font-weight: 800;
}
.st-dragon:hover .st-dragon__tag,
.st-dragon.is-tagged .st-dragon__tag {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
	.st-dragon__fly {
		display: none;
	}
	.st-dot {
		animation: none;
	}
	.st-pill,
	.st-pill::before,
	.st-pill__arrow,
	.st-pillnav__blob {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
 * Wordmark (hero + footer)
 * ---------------------------------------------------------------------- */

.st-wordmark {
	position: relative;
	width: 100%;
	overflow: visible;
	user-select: none;
}
.st-wordmark__text {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
	font-weight: 900;
	font-size: var(--wm-size, 21vw);
	line-height: 0.74;
	letter-spacing: -0.06em;
	text-transform: uppercase;
}
.st-wordmark__l {
	position: relative;
	display: inline-block;
}
.st-wordmark__gap {
	flex: 0 0 0.12em;
}
.st-perch {
	position: absolute;
	left: 50%;
	bottom: 86%;
	z-index: 2;
	font-size: 1rem;
	line-height: 0;
	transform: translateX(-50%);
}
.st-perch .st-dragon {
	pointer-events: auto;
}
.st-wordmark__crew {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.st-crew-btn {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.st-crew-btn:focus-visible {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.5rem 0.9rem;
	clip: auto;
	overflow: visible;
	border-radius: 999px;
	background: var(--st-lime);
	color: var(--st-ink);
	font-size: 0.85rem;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

.st-footer.jhilik-site-footer {
	position: relative;
	margin: 0;
	padding: 0;
	background: var(--st-ink);
	color: var(--st-cream);
	overflow: hidden;
	border-radius: var(--st-radius-xl) var(--st-radius-xl) 0 0;
}
.st-footer .jhilik-footer-deco {
	display: none;
}
.st-footer__inner {
	max-width: var(--st-max);
	margin-inline: auto;
	padding: clamp(4rem, 9vw, 7rem) var(--st-gutter) 1.5rem;
}
.st-footer a:not(.st-pill) {
	color: inherit;
}
.st-footer__cta {
	display: grid;
	gap: 1.5rem;
	padding-bottom: clamp(3rem, 6vw, 4.5rem);
	border-bottom: 1px solid color-mix(in srgb, var(--st-cream) 16%, transparent);
}
.st-footer__cta .st-eyebrow {
	margin: 0;
	color: var(--st-lime);
}
.st-footer__title {
	margin: 0;
	max-width: 17ch;
	font-size: clamp(2.4rem, 6vw, 5.5rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.05em;
}
.st-footer__title em {
	color: var(--st-lime);
}
.st-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.st-footer__actions .st-pill--ghost {
	--pill-hover-bg: var(--st-cream);
	--pill-hover-fg: var(--st-ink);
}
.st-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.st-footer__about .wp-block-site-title {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.045em;
}
.st-footer__about .wp-block-site-title a {
	color: var(--st-cream) !important;
	text-decoration: none;
}
.st-footer__about p {
	max-width: 36ch;
	margin: 0;
	color: color-mix(in srgb, var(--st-cream) 72%, transparent);
	font-size: 0.98rem;
	line-height: 1.6;
}
.st-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--st-cream) 55%, transparent);
}
.st-footer__links,
.st-footer .jhilik-social-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, max-content));
	column-gap: 2rem;
	row-gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.st-footer__links a,
.st-footer .jhilik-social-links a {
	position: relative;
	font-size: 0.98rem;
	font-weight: 500;
	text-decoration: none;
	background: linear-gradient(var(--st-lime), var(--st-lime)) left 100% / 0 2px no-repeat;
	transition: background-size 0.4s var(--st-out), color 0.2s ease;
}
.st-footer__links a:hover,
.st-footer .jhilik-social-links a:hover {
	color: var(--st-lime);
	background-size: 100% 2px;
}

.st-wordmark--footer {
	--wm-size: 20.5vw;
	margin-top: clamp(4rem, 9vw, 7rem);
	color: var(--st-cream);
}
@media (min-width: 1500px) {
	.st-wordmark--footer {
		--wm-size: 19.6rem;
	}
}
.st-wordmark--footer .st-wordmark__text {
	background: linear-gradient(180deg, var(--st-cream) 30%, color-mix(in srgb, var(--st-cream) 30%, var(--st-ink)) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.st-wordmark--footer .st-perch .st-dragon {
	--dragon-size: clamp(54px, 8vw, 128px);
}
.st-wordmark--footer .st-perch {
	-webkit-text-fill-color: initial;
}

.st-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--st-cream) 16%, transparent);
	font-size: 0.85rem;
	color: color-mix(in srgb, var(--st-cream) 60%, transparent);
}
.st-footer__legal p {
	margin: 0;
}
.st-footer__legal ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.st-footer__legal a {
	text-decoration: none;
}
.st-footer__legal a:hover {
	color: var(--st-lime);
}

@media (max-width: 860px) {
	.st-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.st-footer__about {
		grid-column: 1 / -1;
	}
}
@media (max-width: 520px) {
	.st-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
 * Reveal-on-scroll (studio.js adds .is-in)
 * ---------------------------------------------------------------------- */

.st-js [data-st-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.8s var(--st-out), transform 0.9s var(--st-out);
	transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
.st-js [data-st-reveal].is-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.st-js [data-st-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* =========================================================================
 * Five colour themes. Each one redefines the same palette tokens every
 * stylesheet already reads (theme.json presets), so the whole site follows:
 * backgrounds, text, buttons, nav, cards, charts and motion accents.
 * Ocean Blue is the default (theme.json values).
 * ====================================================================== */

html[data-theme="violet"] {
	--wp--preset--color--canvas: #F4F1FA;
	--wp--preset--color--base: #E8E2F5;
	--wp--preset--color--tertiary: #DDD4EF;
	--wp--preset--color--contrast: #15111F;
	--wp--preset--color--navy: #15111F;
	--wp--preset--color--muted: #5E5670;
	--wp--preset--color--primary: #6D3BFF;
	--wp--preset--color--cobalt-deep: #4318C9;
	--wp--preset--color--secondary: #DDD2FF;
	--wp--preset--color--lime: #7DF2CF;
	--wp--preset--color--hot-pink: #FF6AD5;
}
html[data-theme="emerald"] {
	--wp--preset--color--canvas: #F2F4EC;
	--wp--preset--color--base: #E3E9DB;
	--wp--preset--color--tertiary: #D6DFCB;
	--wp--preset--color--contrast: #0F1712;
	--wp--preset--color--navy: #0F1712;
	--wp--preset--color--muted: #55604F;
	--wp--preset--color--primary: #0E7A55;
	--wp--preset--color--cobalt-deep: #08513A;
	--wp--preset--color--secondary: #C9E8D8;
	--wp--preset--color--lime: #F2D15C;
	--wp--preset--color--hot-pink: #FF8A5B;
}
html[data-theme="coral"] {
	--wp--preset--color--canvas: #F8F0E8;
	--wp--preset--color--base: #F0E1D3;
	--wp--preset--color--tertiary: #E8D2C0;
	--wp--preset--color--contrast: #1E1512;
	--wp--preset--color--navy: #1E1512;
	--wp--preset--color--muted: #6B5A51;
	--wp--preset--color--primary: #B53A24;
	--wp--preset--color--cobalt-deep: #7E2416;
	--wp--preset--color--secondary: #F6CDBF;
	--wp--preset--color--lime: #FFC9A3;
	--wp--preset--color--hot-pink: #5FC4B8;
}
html[data-theme="midnight"] {
	--wp--preset--color--canvas: #EFE9DD;
	--wp--preset--color--base: #E3DBC9;
	--wp--preset--color--tertiary: #D8CFBC;
	--wp--preset--color--contrast: #0D0D0F;
	--wp--preset--color--navy: #0D0D0F;
	--wp--preset--color--muted: #5F5A50;
	--wp--preset--color--primary: #1B1B20;
	--wp--preset--color--cobalt-deep: #0B0B0D;
	--wp--preset--color--secondary: #4A4A55;
	--wp--preset--color--lime: #D4AF37;
	--wp--preset--color--hot-pink: #B98A55;
}
/* Links and text accents that sit on light surfaces need a readable
   accent: in Midnight the "primary" is charcoal, so use gold-brown. */
html[data-theme="midnight"] .st-home h2 em,
html[data-theme="midnight"] .st-statement em {
	color: #8A6A1F;
}
html[data-theme="midnight"] .st-journey h2 em,
html[data-theme="midnight"] .st-agents h2 em,
html[data-theme="midnight"] .st-proof h2 em,
html[data-theme="midnight"] .st-contact h2 em {
	color: var(--st-lime);
}
@media (prefers-reduced-motion: no-preference) {
	html.st-theme-anim,
	html.st-theme-anim body,
	html.st-theme-anim *:not(.st-dragon *):not(img) {
		transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease, stroke 0.45s ease !important;
	}
}

/* -------------------------------------------------------------------------
 * JK monogram logo
 * ---------------------------------------------------------------------- */

.st-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none !important;
}
.st-logo__mark {
	width: 2.35rem;
	height: 2.35rem;
	flex: none;
	transition: transform 0.6s var(--st-spring);
}
.st-logo:hover .st-logo__mark {
	transform: rotate(-8deg) scale(1.06);
}
.st-logo__tile {
	fill: var(--st-cobalt);
}
.st-logo__stroke {
	fill: none;
	stroke: var(--st-cream);
	stroke-width: 4.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.st-logo__node {
	fill: var(--st-lime);
	transform-origin: 34.4px 12.2px;
	transition: transform 0.5s var(--st-spring);
}
.st-logo:hover .st-logo__node {
	transform: scale(1.35);
}
.st-logo__word {
	display: inline-flex;
	gap: 0.28em;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1;
	white-space: nowrap;
}
.st-logo__word b {
	font-weight: 800;
}
.home .st-header:not(.is-scrolled) .st-logo__tile {
	fill: var(--st-cream);
}
.home .st-header:not(.is-scrolled) .st-logo__stroke {
	stroke: var(--st-cobalt);
}
.st-footer .st-logo {
	margin-bottom: 0.9rem;
	color: var(--st-cream);
}
.st-footer .st-logo__tile {
	fill: var(--st-cream);
}
.st-footer .st-logo__stroke {
	stroke: var(--st-ink);
}
.st-footer .st-logo__word {
	font-size: 1.35rem;
}

/* -------------------------------------------------------------------------
 * Theme picker
 * ---------------------------------------------------------------------- */

.st-themer {
	position: relative;
}
.st-themer__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1.5px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: transform 0.45s var(--st-spring), border-color 0.25s ease;
}
.st-themer__btn:hover,
.st-themer__btn[aria-expanded="true"] {
	transform: rotate(30deg) scale(1.06);
	border-color: currentColor;
}
.st-themer__sw {
	display: block;
	width: 1.45rem;
	height: 1.45rem;
	border-radius: 50%;
	background: conic-gradient(from 200deg, var(--sw-a, var(--st-cobalt)) 0 50%, var(--sw-b, var(--st-lime)) 0 100%);
	box-shadow: 0 0 0 2px color-mix(in srgb, #fff 80%, transparent);
}
.st-themer__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 0.6rem);
	z-index: 220;
	display: grid;
	gap: 0.25rem;
	min-width: 13.5rem;
	padding: 0.5rem;
	border-radius: 18px;
	border: 1.5px solid var(--st-ink);
	background: var(--st-cream);
	color: var(--st-ink);
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55);
	transform-origin: 90% 0;
	animation: st-pop 0.35s var(--st-spring);
}
.st-themer__panel[hidden] {
	display: none;
}
@keyframes st-pop {
	from { opacity: 0; transform: scale(0.9) translateY(-6px); }
	to { opacity: 1; transform: none; }
}
.st-themer__opt {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 2.75rem;
	padding: 0.35rem 0.7rem 0.35rem 0.4rem;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.st-themer__opt:hover {
	background: color-mix(in srgb, var(--st-ink) 7%, transparent);
}
.st-themer__opt[aria-checked="true"] {
	background: var(--st-ink);
	color: var(--st-cream);
}
.st-themer__opt[aria-checked="true"]::after {
	content: "✓";
	margin-left: auto;
}
@media (max-width: 960px) {
	.st-header .st-header__bar.jhilik-site-header__bar {
		grid-template-columns: 1fr auto auto;
	}
	.st-header__actions.jhilik-site-header__actions {
		display: flex !important;
	}
}
@media (max-width: 380px) {
	.st-logo__word { font-size: 1rem; }
}

/* -------------------------------------------------------------------------
 * Studio inner pages: Work, Research Tool, Blog, About
 * ---------------------------------------------------------------------- */

.st-page {
	margin-top: 0 !important;
	padding: 0 !important;
}
.st-page .st-wrap {
	max-width: var(--st-max);
	margin-inline: auto;
	padding-inline: var(--st-gutter);
}
.st-band {
	position: relative;
	margin: 0 clamp(0.5rem, 1.2vw, 1rem);
	padding: calc(var(--jh-header-clearance, 90px) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(3rem, 7vw, 5.5rem);
	border-radius: 0 0 var(--st-radius-xl) var(--st-radius-xl);
	background:
		radial-gradient(55% 60% at 85% 0%, color-mix(in srgb, color-mix(in srgb, var(--st-cobalt) 60%, #fff) 45%, transparent) 0%, transparent 70%),
		var(--st-cobalt);
	color: var(--st-cream);
	overflow: hidden;
}
.st-band .st-eyebrow {
	color: var(--st-lime);
}
.st-band .st-band__title {
	max-width: 17ch;
	margin: 0 0 1.25rem;
	color: var(--st-cream);
	font-size: clamp(2.4rem, 5.6vw, 5rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.05em;
	text-wrap: balance;
}
.st-band .st-band__title em {
	color: var(--st-lime);
}
.st-band__lead {
	max-width: 46rem;
	margin: 0;
	font-size: clamp(1.02rem, 1.4vw, 1.2rem);
	line-height: 1.55;
	color: color-mix(in srgb, var(--st-cream) 85%, transparent);
}
.st-band__search {
	max-width: 30rem;
	margin-top: 1.75rem !important;
}
.st-band__search .wp-block-search__inside-wrapper {
	padding: 0.3rem;
	border: 0 !important;
	border-radius: 999px;
	background: var(--st-cream);
}
.st-band__search input {
	border: 0 !important;
	background: transparent !important;
	padding: 0.6rem 1rem !important;
	font-size: 1rem;
	color: var(--st-ink);
}
.st-band__search .wp-block-search__button {
	border-radius: 999px !important;
	background: var(--st-ink) !important;
	color: var(--st-cream) !important;
	padding: 0.6rem 1.2rem !important;
	font-weight: 700;
}
.st-page .st-section {
	padding-block: clamp(3rem, 7vw, 5.5rem);
}
.st-page .st-page__h2 {
	margin: 0 0 1.5rem;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
	color: var(--st-ink);
}
.st-page__p {
	max-width: 44rem;
	margin: -0.75rem 0 1.5rem;
	color: var(--st-muted);
}
.st-page__all {
	background: var(--st-cream-2);
	border-radius: var(--st-radius-xl);
	margin-inline: clamp(0.5rem, 1.2vw, 1rem);
}
.st-page--work .st-shelf__item--1,
.st-page--work .st-shelf__item--2 {
	grid-column: span 3;
}
.st-page--work .st-shelf__item--1 .st-shelf__media {
	aspect-ratio: 16 / 10;
}
.st-page--work .st-shelf__item--1 .st-shelf__title {
	font-size: clamp(1.3rem, 1.9vw, 1.75rem);
}
.st-page--work .st-shelf__item--6,
.st-page--work .st-shelf__item--7 {
	grid-column: span 3;
}
.st-page--tools .st-research__papers .st-demos {
	grid-template-columns: 1fr;
}

.st-related {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 0.75rem;
	padding-block: clamp(2.5rem, 5vw, 4rem) !important;
}
.st-related__label {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--st-muted);
}
.st-related a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--st-radius-sm);
	border: 1.5px solid var(--st-ink);
	color: var(--st-ink);
	text-decoration: none;
	transition: transform 0.45s var(--st-spring), background-color 0.25s ease, color 0.25s ease;
}
.st-related a:hover {
	background: var(--st-ink);
	color: var(--st-cream);
	transform: translateY(-3px);
}
.st-related b {
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}
.st-related b::after {
	content: " →";
}
.st-related span {
	font-size: 0.88rem;
	opacity: 0.75;
}

/* About: the story gets the studio look without touching its content. */
.st-page--about {
	padding-top: calc(var(--jh-header-clearance, 90px) + 1.5rem) !important;
}
.st-page--about .jhilik-about-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
	max-width: var(--st-max) !important;
	margin: 0 clamp(0.5rem, 1.2vw, 1rem) clamp(2.5rem, 6vw, 4.5rem) !important;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) !important;
	border-radius: var(--st-radius-xl);
	background: var(--st-cobalt);
	color: var(--st-cream);
}
.st-page--about .jhilik-about-intro h1 {
	color: var(--st-cream);
	font-size: clamp(2.2rem, 4.6vw, 4.2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
}
.st-page--about .jhilik-about-intro .jhilik-eyebrow {
	color: var(--st-lime);
}
.st-page--about .jhilik-about-intro .jhilik-lead,
.st-page--about .jhilik-about-intro a {
	color: color-mix(in srgb, var(--st-cream) 88%, transparent);
}
.st-page--about .jhilik-about-intro a {
	text-decoration-color: var(--st-lime);
}
.st-page--about .jhilik-about-intro img,
.st-page--about .jhilik-about-intro .jhilik-imgslot {
	border-radius: var(--st-radius);
	box-shadow: 10px 10px 0 var(--st-lime);
}
.st-page--about .jhilik-about-section h2 {
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.045em;
}
.st-page--about .jhilik-about-section img {
	border-radius: var(--st-radius);
}
.st-page--about .jhilik-about-quote {
	padding-left: 1.25rem;
	border-left: 4px solid var(--st-lime);
	font-family: var(--st-serif);
	font-style: italic;
	font-size: clamp(1.2rem, 1.8vw, 1.5rem);
	line-height: 1.35;
}
.st-page--about .jhilik-labs-shape,
.st-page--about .jhilik-labs-dot {
	display: none;
}
@media (max-width: 900px) {
	.st-page--about .jhilik-about-intro {
		grid-template-columns: minmax(0, 1fr);
	}
	.st-page--work .st-shelf__item--1,
	.st-page--work .st-shelf__item--2,
	.st-page--work .st-shelf__item--6,
	.st-page--work .st-shelf__item--7 {
		grid-column: span 3;
	}
}
body.jhilik-labs-decorated-page .jhilik-labs-shapes--fixed {
	display: none;
}
.st-page--blog.jhilik-blog-shell,
.st-page--blog {
	max-width: none !important;
	width: auto !important;
}
.st-page--blog > .st-band,
.st-page--blog > .st-section,
.st-page--blog > .st-related {
	max-width: none !important;
	margin-left: clamp(0.5rem, 1.2vw, 1rem) !important;
	margin-right: clamp(0.5rem, 1.2vw, 1rem) !important;
}
.st-page--blog > .st-related {
	max-width: var(--st-max) !important;
	margin-inline: auto !important;
}
.st-topics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0.85rem;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.st-topic {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 1.25rem;
	border-radius: var(--st-radius);
	background: var(--st-cream-2);
	color: var(--st-ink) !important;
	text-decoration: none !important;
	transition: transform 0.5s var(--st-spring), background-color 0.25s ease;
}
.st-topic:first-child {
	background: var(--st-lime);
}
.st-topic:hover {
	transform: translateY(-4px) rotate(-0.5deg);
}
.st-topic__k {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.7;
}
.st-topic b {
	font-size: 1.5rem;
	letter-spacing: -0.04em;
}
.st-topic b::after {
	content: " →";
}
.st-topic span:last-child {
	font-size: 0.92rem;
	line-height: 1.45;
}
.st-page--about .wp-block-post-content > .jhilik-about-intro,
.st-page--about .entry-content > .jhilik-about-intro {
	max-width: min(var(--st-max), calc(100vw - 2rem)) !important;
}
.st-page--about .jhilik-about-intro h1 {
	font-size: clamp(2rem, 3.8vw, 3.6rem);
}
.st-page--about .jhilik-about-intro .jhilik-eyebrow {
	background: transparent;
	border: 1.5px solid currentColor;
	color: var(--st-lime);
}

/* =========================================================================
 * Footer — hand-drawn "sketch" version (user reference, Nov 2026):
 * light paper, link columns, a scribbled JIL KABIR on a drawn ground line
 * with the four dragons sitting on it, floating doodles, a serif tagline,
 * and a bottom bar with Back to top.
 * ====================================================================== */

.st-footer.st-footer--sketch {
	background: var(--st-cream);
	color: var(--st-ink);
	border-radius: 0;
	border-top: 1.5px solid color-mix(in srgb, var(--st-ink) 12%, transparent);
	overflow: hidden;
}
.st-foot {
	max-width: var(--st-max);
	margin-inline: auto;
	padding: clamp(2.5rem, 5vw, 4rem) var(--st-gutter) 1.25rem;
}
.st-foot a {
	color: inherit;
}
.st-foot__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(2rem, 5vw, 4rem);
}
.st-foot__brand .st-logo {
	margin-bottom: 0.9rem;
	color: var(--st-ink);
}
.st-foot__brand .st-logo__tile { fill: var(--st-cobalt); }
.st-foot__brand .st-logo__stroke { stroke: var(--st-cream); }
.st-foot__brand p {
	max-width: 30ch;
	margin: 0;
	font-family: var(--st-serif);
	font-size: 1rem;
	line-height: 1.45;
	color: var(--st-muted);
}
.st-foot__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}
.st-foot__h {
	margin: 0 0 0.8rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.st-foot__cols ul,
.st-foot__legal,
.st-foot__social {
	margin: 0;
	padding: 0;
	list-style: none;
}
.st-foot__cols li {
	margin: 0 0 0.45rem;
}
.st-foot__cols a {
	font-size: 0.92rem;
	color: color-mix(in srgb, var(--st-ink) 75%, transparent);
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left 100% / 0 1.5px no-repeat;
	transition: background-size 0.35s var(--st-out), color 0.2s ease;
}
.st-foot__cols a:hover {
	color: var(--st-ink);
	background-size: 100% 1.5px;
}

/* The scribbled wordmark */
.st-sketch {
	position: relative;
	margin: clamp(3.5rem, 8vw, 6rem) 0 0;
	padding-top: clamp(4rem, 9vw, 8rem);
}
.st-sketch__defs {
	position: absolute;
}
.st-sketch__word {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin: 0;
	font-size: min(17.5vw, 17rem);
	font-weight: 900;
	line-height: 0.8;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	user-select: none;
}
.st-sketch__l {
	position: relative;
	display: inline-block;
}
.st-sketch__gap {
	flex: 0 0 0.18em;
}
.st-sketch__ink {
	display: block;
	color: transparent;
	background-image:
		repeating-linear-gradient(-14deg, transparent 0 0.09em, color-mix(in srgb, var(--st-cream) 95%, transparent) 0.09em 0.104em, transparent 0.104em 0.16em),
		repeating-linear-gradient(-9deg, transparent 0 0.23em, color-mix(in srgb, var(--st-cream) 80%, transparent) 0.23em 0.238em, transparent 0.238em 0.37em),
		repeating-linear-gradient(-62deg, transparent 0 0.6em, color-mix(in srgb, var(--st-cream) 60%, transparent) 0.6em 0.61em),
		linear-gradient(var(--st-ink), var(--st-ink));
	-webkit-background-clip: text;
	background-clip: text;
	filter: url(#st-rough);
}
.st-sketch__ground {
	position: relative;
	z-index: 0;
	display: block;
	width: 100%;
	height: clamp(18px, 2.4vw, 32px);
	margin-top: -0.2rem;
}
.st-sketch__ground path {
	fill: none;
	stroke: var(--st-ink);
	stroke-width: 2.4;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	stroke-dasharray: 100;
}
.st-sketch__pebbles circle {
	fill: none;
	stroke: var(--st-ink);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

/* Dragons sitting on the letters */
.st-sketch__pal {
	position: absolute;
	left: 50%;
	bottom: 86%;
	z-index: 3;
	width: clamp(54px, 8.5vw, 135px);
	aspect-ratio: 1;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	transform: translateX(-50%);
	cursor: pointer;
	outline-offset: 4px;
}
.st-sketch__pal picture,
.st-sketch__pal img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.st-sketch__pal img {
	transition: transform 0.5s var(--st-spring);
}
.st-sketch__pal:hover img,
.st-sketch__pal:focus-visible img {
	transform: translateY(-6px) rotate(-5deg);
}
.st-sketch__pal--judy picture { transform: scaleX(-1); }
.st-sketch__pal--deany { margin-left: 0.04em; }
.st-sketch__pal--arlo { bottom: 80%; }
.st-sketch__bubble {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 0.35rem);
	padding: 0.45rem 0.8rem;
	border: 1.5px solid var(--st-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--st-ink);
	font-size: clamp(0.66rem, 0.9vw, 0.82rem);
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 3px 3px 0 var(--st-ink);
	opacity: 0;
	transform: translate(-50%, 8px) scale(0.85);
	transform-origin: 50% 100%;
	transition: opacity 0.25s ease, transform 0.45s var(--st-spring);
	pointer-events: none;
}
.st-sketch__bubble::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 0.6rem;
	height: 0.6rem;
	background: #fff;
	border-right: 1.5px solid var(--st-ink);
	border-bottom: 1.5px solid var(--st-ink);
	transform: translate(-50%, -50%) rotate(45deg);
}
html:not(.st-js) .st-sketch__pal:hover .st-sketch__bubble,
.st-sketch__pal:focus-visible .st-sketch__bubble,
.st-sketch__pal.is-talking .st-sketch__bubble {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}

/* Floating doodles */
.st-sketch__doodles {
	position: absolute;
	inset: 0 0 25% 0;
	z-index: 2;
	pointer-events: none;
}
.st-sketch__doodle {
	position: absolute;
	width: clamp(14px, 1.6vw, 24px);
	height: auto;
	fill: var(--c);
	stroke: var(--st-ink);
	stroke-width: 1.3;
	stroke-linejoin: round;
}
.st-sketch__doodle--spark {
	fill: none;
	stroke: var(--c);
	stroke-width: 2;
	stroke-linecap: round;
}

/* Entrance: letters draw in, ground line draws, dragons pop, doodles float */
.st-js [data-st-sketch] .st-sketch__ink {
	clip-path: inset(100% 0 0 0);
	transition: clip-path 0.7s cubic-bezier(0.7, 0, 0.3, 1);
	transition-delay: calc(var(--n) * 0.09s);
}
.st-js [data-st-sketch] .st-sketch__ground path {
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 1.3s var(--st-out);
}
.st-js [data-st-sketch] .st-sketch__pal {
	opacity: 0;
	transform: translate(-50%, 18px) scale(0.6);
	transition: opacity 0.3s ease, transform 0.6s var(--st-spring);
	transition-delay: 1.1s;
}
.st-js [data-st-sketch] .st-sketch__doodle {
	opacity: 0;
	transition: opacity 0.6s ease;
	transition-delay: calc(1.3s + var(--d) * 0.08s);
}
.st-js [data-st-sketch].is-drawn .st-sketch__ink { clip-path: inset(0 0 0 0); }
.st-js [data-st-sketch].is-drawn .st-sketch__ground path { stroke-dashoffset: 0; }
.st-js [data-st-sketch].is-drawn .st-sketch__pal { opacity: 1; transform: translateX(-50%); }
.st-js [data-st-sketch].is-drawn .st-sketch__doodle { opacity: 1; }
.st-js [data-st-sketch].is-drawn .st-sketch__pal--deany { transition-delay: 1.1s; }
.st-js [data-st-sketch].is-drawn .st-sketch__pal--judy { transition-delay: 1.25s; }
.st-js [data-st-sketch].is-drawn .st-sketch__pal--joyee { transition-delay: 1.4s; }
.st-js [data-st-sketch].is-drawn .st-sketch__pal--arlo { transition-delay: 1.55s; }
@media (prefers-reduced-motion: no-preference) {
	.st-footer--sketch.is-live .st-sketch.is-drawn .st-sketch__doodle {
		animation: st-doodle 5s ease-in-out infinite;
		animation-delay: calc(var(--d) * -0.6s);
	}
}
@keyframes st-doodle {
	0%, 100% { transform: translateY(0) rotate(-8deg); }
	50% { transform: translateY(-12px) rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) {
	.st-js [data-st-sketch] .st-sketch__ink,
	.st-js [data-st-sketch] .st-sketch__pal,
	.st-js [data-st-sketch] .st-sketch__doodle {
		clip-path: none;
		opacity: 1;
		transform: translateX(-50%);
		transition: none;
	}
	.st-js [data-st-sketch] .st-sketch__doodle { transform: none; }
	.st-js [data-st-sketch] .st-sketch__ground path { stroke-dashoffset: 0; transition: none; }
}

/* Tagline, buttons, bottom bar */
.st-foot__end {
	display: grid;
	justify-items: center;
	gap: 1.1rem;
	margin: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
}
.st-foot__tag {
	margin: 0;
	max-width: 40ch;
	font-family: var(--st-serif);
	font-size: clamp(1.1rem, 1.8vw, 1.45rem);
	line-height: 1.35;
}
.st-foot__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
}
.st-foot__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.55rem 1.15rem;
	border: 1.5px solid var(--st-ink);
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 3px 3px 0 var(--st-ink);
	transition: transform 0.35s var(--st-spring), box-shadow 0.35s var(--st-spring);
}
.st-foot__btn:hover {
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 var(--st-ink);
}
.st-foot__btn:active {
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0 var(--st-ink);
}
.st-foot__btn--ink {
	background: var(--st-ink);
	color: var(--st-cream) !important;
	box-shadow: 3px 3px 0 var(--st-cobalt);
}
.st-foot__btn--ink:hover {
	box-shadow: 5px 5px 0 var(--st-cobalt);
}
.st-foot__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	padding-top: 1.1rem;
	border-top: 1.5px solid color-mix(in srgb, var(--st-ink) 12%, transparent);
	font-size: 0.82rem;
	color: var(--st-muted);
}
.st-foot__bar p {
	margin: 0 auto 0 0;
}
.st-foot__legal,
.st-foot__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}
.st-foot__legal a,
.st-foot__social a {
	text-decoration: none;
}
.st-foot__legal a:hover,
.st-foot__social a:hover {
	color: var(--st-ink);
	text-decoration: underline;
}
.st-foot__social a {
	font-weight: 700;
	color: var(--st-ink);
}
.st-foot__top-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.9rem;
	border: 1.5px solid var(--st-ink);
	border-radius: 999px;
	color: var(--st-ink) !important;
	font-weight: 700;
	text-decoration: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.st-foot__top-btn:hover {
	background: var(--st-ink);
	color: var(--st-cream) !important;
}
@media (max-width: 900px) {
	.st-foot__top { grid-template-columns: minmax(0, 1fr); }
	.st-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-sketch__bubble { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
	.st-foot__bar p { margin-right: 0; flex-basis: 100%; }
}
@media (max-width: 520px) {
	.st-sketch__pal--deany .st-sketch__bubble { left: 0; transform: translate(-10%, 8px) scale(0.85); }
	.st-sketch__pal--deany.is-talking .st-sketch__bubble,
	.st-sketch__pal--deany:hover .st-sketch__bubble { transform: translate(-10%, 0); }
	.st-sketch__pal--arlo .st-sketch__bubble { left: auto; right: 0; transform: translate(10%, 8px) scale(0.85); }
	.st-sketch__pal--arlo.is-talking .st-sketch__bubble,
	.st-sketch__pal--arlo:hover .st-sketch__bubble { transform: translate(10%, 0); }
}

/* -------------------------------------------------------------------------
 * Footer cast: hand-drawn line-art characters (replace the dragons here)
 * ---------------------------------------------------------------------- */

.st-chr {
	position: absolute;
	left: 50%;
	bottom: 88%;
	z-index: 3;
	width: clamp(46px, 7vw, 116px);
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	transform: translateX(-50%);
	cursor: pointer;
	outline-offset: 4px;
	-webkit-tap-highlight-color: transparent;
}
.st-chr__body {
	display: block;
	transform-origin: 50% 100%;
}
.st-chr__svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	filter: url(#st-wobble);
}
.st-chr--cat { width: clamp(52px, 8vw, 128px); bottom: 86%; }
.st-chr--bird { width: clamp(40px, 6vw, 96px); bottom: 87%; }
.st-chr--robot { width: clamp(48px, 7.2vw, 116px); bottom: 79%; }
.st-chr--mug { width: clamp(34px, 5vw, 80px); bottom: 89%; }
.st-chr--ghost { width: clamp(44px, 6.4vw, 104px); bottom: 62%; left: 92%; }
.st-chr .st-sketch__bubble { bottom: calc(100% + 0.25rem); }
.st-chr--ghost .st-sketch__bubble { left: 20%; }

/* Line-art paint */
.st-c-line { fill: none; stroke: var(--st-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.st-c-thick { stroke-width: 5; }
.st-c-white, .st-c-pink, .st-c-red, .st-c-lime, .st-c-orange, .st-c-cobalt, .st-c-bulb {
	stroke: var(--st-ink);
	stroke-width: 2.6;
	stroke-linejoin: round;
}
.st-c-white { fill: #fff; }
.st-c-pink { fill: #ff9ac4; }
.st-c-red { fill: #e8322c; }
.st-c-lime { fill: var(--st-lime); }
.st-c-orange { fill: #ffa52b; }
.st-c-cobalt { fill: var(--st-cobalt); }
.st-c-ink { fill: var(--st-ink); }
.st-c-bulb { fill: var(--st-lime); }
.st-c-blush { fill: #ff9ac4; opacity: 0.55; }
.st-pupil {
	fill: var(--st-ink);
	transition: transform 0.18s ease-out;
}

/* Idle life (only while the footer is on screen) */
.st-chr__tail { transform-box: view-box; transform-origin: 68px 100px; }
.st-chr__tassel { transform-box: view-box; transform-origin: 52px 41px; }
.st-chr__wing { transform-box: fill-box; transform-origin: 80% 10%; }
@media (prefers-reduced-motion: no-preference) {
	.st-footer--sketch.is-live .st-chr__tail { animation: st-tail 2.4s ease-in-out infinite; }
	.st-footer--sketch.is-live .st-chr__tassel { animation: st-tassel 3s ease-in-out infinite; }
	.st-footer--sketch.is-live .st-chr__steam path { animation: st-steam 2.6s ease-in-out infinite; }
	.st-footer--sketch.is-live .st-chr__steam path:nth-child(2) { animation-delay: 0.5s; }
	.st-footer--sketch.is-live .st-chr__steam path:nth-child(3) { animation-delay: 1s; }
	.st-footer--sketch.is-live .st-c-bulb { animation: st-bulb 1.6s steps(1) infinite; }
	.st-footer--sketch.is-live .st-chr--ghost .st-chr__body { animation: st-float 3.4s ease-in-out infinite; }
	.st-footer--sketch.is-live .st-chr--bird .st-chr__body { animation: st-peck 5s ease-in-out infinite; }
}
@keyframes st-tail { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
@keyframes st-tassel { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(6deg); } }
@keyframes st-steam {
	0% { opacity: 0; transform: translateY(6px); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes st-bulb { 0%, 60% { fill: var(--st-lime); } 61%, 100% { fill: #ff5ca8; } }
@keyframes st-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@keyframes st-peck {
	0%, 80%, 100% { transform: rotate(0); }
	84% { transform: rotate(14deg); }
	88% { transform: rotate(0); }
	92% { transform: rotate(14deg); }
}

/* Poke reactions */
.st-chr.is-poked .st-chr__body { animation: st-poke-jump 0.7s cubic-bezier(0.34, 1.56, 0.64, 1); }
.st-chr--robot.is-poked .st-chr__body { animation: st-poke-shake 0.6s ease-in-out; }
.st-chr--robot.is-poked .st-c-bulb { fill: #ff5ca8; }
.st-chr--ghost.is-poked .st-chr__body { animation: st-poke-spin 0.8s ease-in-out; }
.st-chr--bird.is-poked .st-chr__wing { animation: st-flap 0.15s ease-in-out 4 alternate; }
.st-chr--mug.is-poked .st-chr__steam { animation: st-burst 0.8s ease-out; transform-box: fill-box; transform-origin: 50% 100%; }
.st-chr--snail.is-poked .st-chr__body { animation: st-poke-squish 0.6s ease-in-out; }
@keyframes st-poke-jump { 0% { transform: translateY(0); } 35% { transform: translateY(-26%) scaleY(1.06); } 70% { transform: translateY(0) scaleY(0.9); } 100% { transform: none; } }
@keyframes st-poke-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
@keyframes st-poke-spin { 0% { transform: none; opacity: 1; } 50% { transform: rotate(180deg) scale(0.8); opacity: 0.35; } 100% { transform: rotate(360deg); opacity: 1; } }
@keyframes st-flap { from { transform: rotate(0); } to { transform: rotate(-35deg); } }
@keyframes st-burst { 0% { transform: scale(1); } 40% { transform: scale(1.5) translateY(-10%); } 100% { transform: scale(1); } }
@keyframes st-poke-squish { 0%, 100% { transform: none; } 40% { transform: scaleX(1.15) scaleY(0.8); } }

/* Letters jiggle under the cursor */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.st-sketch.is-drawn .st-sketch__l:hover .st-sketch__ink {
		animation: st-jiggle 0.55s ease-in-out;
	}
}
@keyframes st-jiggle {
	0%, 100% { transform: none; }
	25% { transform: rotate(-4deg) translateY(-3%); }
	50% { transform: rotate(3deg) scaleY(1.04); }
	75% { transform: rotate(-1.5deg); }
}

/* Ground: the snail crawls along it */
.st-sketch__groundwrap {
	position: relative;
}
.st-chr--snail {
	left: 0;
	bottom: 30%;
	width: clamp(44px, 5.5vw, 84px);
	transform: none;
}
.st-chr--snail .st-sketch__bubble { left: 50%; }
@media (prefers-reduced-motion: no-preference) {
	.st-footer--sketch.is-live .st-sketch.is-drawn .st-chr--snail { animation: st-crawl 80s linear infinite; }
}
@keyframes st-crawl {
	0% { left: 1%; transform: none; }
	49.9% { left: calc(96% - clamp(44px, 5.5vw, 84px)); transform: none; }
	50% { left: calc(96% - clamp(44px, 5.5vw, 84px)); transform: scaleX(-1); }
	99.9% { left: 1%; transform: scaleX(-1); }
	100% { left: 1%; transform: none; }
}
.st-chr--snail[style*="scaleX(-1)"] .st-sketch__bubble { transform: scaleX(-1); }

/* A paper plane loops across now and then */
.st-plane {
	position: absolute;
	left: 0;
	top: 6%;
	z-index: 2;
	width: 100%;
	height: 0;
	pointer-events: none;
}
.st-plane__body {
	position: absolute;
	left: -8%;
	top: 0;
	width: clamp(28px, 3.2vw, 48px);
	opacity: 0;
}
.st-plane__trail {
	position: absolute;
	left: 10%;
	top: -1rem;
	width: 60%;
	height: 4rem;
	opacity: 0;
}
.st-plane__trail path {
	fill: none;
	stroke: color-mix(in srgb, var(--st-ink) 45%, transparent);
	stroke-width: 1.6;
	stroke-dasharray: 6 7;
	vector-effect: non-scaling-stroke;
}
@media (prefers-reduced-motion: no-preference) {
	.st-footer--sketch.is-live .st-sketch.is-drawn .st-plane__body { animation: st-fly 14s ease-in-out infinite 3s; }
	.st-footer--sketch.is-live .st-sketch.is-drawn .st-plane__trail { animation: st-trail 14s ease-in-out infinite 3s; }
}
@keyframes st-fly {
	0% { left: -8%; top: 3rem; opacity: 0; transform: rotate(-10deg); }
	4% { opacity: 1; }
	25% { left: 30%; top: -0.5rem; transform: rotate(-4deg); }
	45% { left: 62%; top: 2.5rem; transform: rotate(12deg); }
	62% { left: 104%; top: 0.5rem; opacity: 1; transform: rotate(-8deg); }
	63%, 100% { left: 104%; opacity: 0; }
}
@keyframes st-trail {
	0%, 10% { opacity: 0; }
	30%, 50% { opacity: 0.8; }
	70%, 100% { opacity: 0; }
}

/* Click anywhere: a doodle stamp floats up */
.st-stamp {
	position: absolute;
	z-index: 6;
	width: 26px;
	height: 26px;
	pointer-events: none;
	fill: var(--c);
	stroke: var(--st-ink);
	stroke-width: 1.3;
	stroke-linejoin: round;
	animation: st-stamp 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.st-stamp--spark { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; }
@keyframes st-stamp {
	0% { transform: translate(-50%, -50%) scale(0.2) rotate(-30deg); opacity: 0; }
	20% { transform: translate(-50%, -50%) scale(1.25) rotate(8deg); opacity: 1; }
	100% { transform: translate(-50%, -260%) scale(0.9) rotate(-6deg); opacity: 0; }
}
.st-foot {
	position: relative;
}
.st-sketch__hint {
	margin: 0.75rem 0 0;
	text-align: right;
	font-family: "Noteworthy", "Bradley Hand", "Segoe Print", "Ink Free", cursive;
	font-size: 0.85rem;
	color: var(--st-muted);
	transform: rotate(-2deg);
}

/* Entrance for the cast (after the letters draw) */
.st-js [data-st-sketch] .st-chr:not(.st-chr--snail) {
	opacity: 0;
	transform: translate(-50%, 18px) scale(0.6);
	transition: opacity 0.3s ease, transform 0.6s var(--st-spring);
}
.st-js [data-st-sketch].is-drawn .st-chr:not(.st-chr--snail) {
	opacity: 1;
	transform: translateX(-50%);
}
.st-js [data-st-sketch].is-drawn .st-chr--cat { transition-delay: 1.1s; }
.st-js [data-st-sketch].is-drawn .st-chr--bird { transition-delay: 1.25s; }
.st-js [data-st-sketch].is-drawn .st-chr--robot { transition-delay: 1.4s; }
.st-js [data-st-sketch].is-drawn .st-chr--mug { transition-delay: 1.55s; }
.st-js [data-st-sketch].is-drawn .st-chr--ghost { transition-delay: 1.7s; }
.st-js [data-st-sketch] .st-chr--snail { opacity: 0; transition: opacity 0.6s ease 1.8s; }
.st-js [data-st-sketch].is-drawn .st-chr--snail { opacity: 1; }
.st-chr.is-talking .st-sketch__bubble,
.st-chr:focus-visible .st-sketch__bubble {
	opacity: 1;
	transform: translate(-50%, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
	.st-js [data-st-sketch] .st-chr:not(.st-chr--snail),
	.st-js [data-st-sketch] .st-chr--snail {
		opacity: 1;
		transition: none;
	}
	.st-js [data-st-sketch] .st-chr:not(.st-chr--snail) { transform: translateX(-50%); }
	.st-plane { display: none; }
	.st-chr__svg { filter: none; }
}
@media (max-width: 520px) {
	.st-chr--cat .st-sketch__bubble { left: 0; transform: translate(-6%, 8px) scale(0.85); }
	.st-chr--cat.is-talking .st-sketch__bubble { transform: translate(-6%, 0); }
	.st-chr--ghost .st-sketch__bubble { left: auto; right: 0; transform: translate(0, 8px) scale(0.85); }
	.st-chr--ghost.is-talking .st-sketch__bubble { transform: none; }
	.st-sketch__hint { text-align: center; }
}
