/* ==========================================================================
   Husky Grid — styles
   Tunables live on .husky-grid as custom properties.
   ========================================================================== */

@property --hg-c1 { syntax: '<color>'; inherits: true; initial-value: #ff3b30; }
@property --hg-c2 { syntax: '<color>'; inherits: true; initial-value: #ff8a00; }

.husky-grid {
	/* layout */
	--hg-width: min(1170px, calc(100vw - 60px));   /* matches Semplice grid width + outer padding */
	--hg-gap: 14px;
	/* rainbow tint */
	--hg-tint-wash: 0.42;        /* strength of the flat colour layer on top of the hue layer (0–1) */
	--hg-color-fade: 700ms;      /* how fast tile colours re-flow after a layout change */
	/* hover */
	--hg-hover: 350ms;
	--hg-shade: rgba(0, 0, 0, 0.42);
	/* type */
	--hg-font: Helvetica, "Helvetica Neue", Arial, sans-serif;

	position: relative;
	box-sizing: border-box;
	width: var(--hg-width) !important;
	max-width: none !important;
	/* centred on its container even when that container is narrower (e.g. a text column) */
	margin: 0 0 96px calc((100% - var(--hg-width)) / 2) !important;
	color: #fff;
	font-family: var(--hg-font);
}

@media (max-width: 599px) {
	.husky-grid {
		--hg-width: calc(100vw - 32px);
		--hg-gap: 8px;
	}
}

.hg-empty { color: #fff; opacity: .6; text-align: center; padding: 48px 0; }

/* ---- Fallback (before JS runs, or if it fails): a plain two-column square grid ---- */
.husky-grid:not(.hg-ready) .hg-stage {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--hg-gap);
}
@media (max-width: 1159px) { .husky-grid:not(.hg-ready) .hg-stage { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 999px) { .husky-grid:not(.hg-ready) .hg-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .husky-grid:not(.hg-ready) .hg-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.husky-grid:not(.hg-ready) .hg-tile { aspect-ratio: 1 / 1; position: relative; }

/* ---- JS layout: tiles are absolutely positioned by husky-grid.js ---- */
.hg-ready .hg-stage { position: relative; transition: height 600ms cubic-bezier(.2, .8, .2, 1); }
.hg-ready .hg-tile {
	position: absolute;
	top: 0;
	left: 0;
	/* no will-change here: it left stale pixels behind after size animations in Chromium */
}
.hg-tile.is-hidden { display: none; }

/* ---- Tile ---- */
.hg-hit {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
	background: #111;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hg-hit:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.hg-media,
.hg-tint,
.hg-wash,
.hg-shade,
.hg-info {
	position: absolute;
	inset: 0;
	display: block;
}

/* !important here because Semplice's content styles (e.g. blog "img { height: auto }")
   would otherwise stop the image filling its tile. */
.husky-grid .hg-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover !important;
}

/* Rainbow: a hue layer (keeps the photo's light and shadow) plus a flat colour wash.
   --hg-c1 / --hg-c2 are set per tile by JS from its current position in the grid. */
.hg-tint,
.hg-wash {
	background: linear-gradient(to right, var(--hg-c1), var(--hg-c2));
	transition: opacity var(--hg-hover) ease, --hg-c1 var(--hg-color-fade) ease, --hg-c2 var(--hg-color-fade) ease;
}
.hg-tint { mix-blend-mode: color; }
.hg-wash { opacity: var(--hg-tint-wash); }

/* ---- Color Lab treatment ----
   .hg-tone = a toned copy of the photo + the two colour layers, blended together in isolation and
   laid over the untouched original (.hg-media). Its opacity is the treatment's intensity, so
   hovering/opening simply fades it away. All values are set on .husky-grid by husky-grid.js. */
.hg-tone {
	position: absolute;
	inset: 0;
	display: block;
	isolation: isolate;
	opacity: var(--hg-intensity, 1);
	filter: var(--hg-fx-filter, none);
	transition: opacity var(--hg-hover) ease;
}
.husky-grid .hg-tone-img { filter: var(--hg-tone-filter, grayscale(1)); }
.hg-tone .hg-tint, .hg-tone .hg-wash { opacity: 1; }

/* Map: overlay turns the toned photo's darks/mids/lights into dark/full/light shades of the colour */
.husky-grid.hg-cm-map .hg-tone .hg-tint { mix-blend-mode: overlay; }
.husky-grid.hg-cm-map .hg-tone .hg-wash { display: none; }
/* Duotone: highlights × tile colour, then a dark partner colour screened into the shadows */
.husky-grid.hg-cm-duo .hg-tone .hg-tint { mix-blend-mode: multiply; }
.husky-grid.hg-cm-duo .hg-tone .hg-wash {
	mix-blend-mode: screen;
	background: color-mix(in srgb, var(--hg-c1) var(--hg-shadow-mix, 20%), #000);
	background: color-mix(in srgb, hsl(from var(--hg-c1) calc(h + var(--hg-duo-shift, 180)) s l) var(--hg-shadow-mix, 20%), #000);
}
/* Blend: the photo's own detail, coloured, plus a soft-light boost */
.husky-grid.hg-cm-blend .hg-tone .hg-tint { mix-blend-mode: color; }
.husky-grid.hg-cm-blend .hg-tone .hg-wash { mix-blend-mode: soft-light; opacity: var(--hg-boost, .5); }
/* Original preview (Color Lab) */
.husky-grid.hg-original .hg-tone { opacity: 0 !important; }

.hg-shade {
	background: var(--hg-shade);
	opacity: 0;
	transition: opacity var(--hg-hover) ease;
}

.hg-info {
	/* Rollover text: middle-left */
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 0 18px;
	text-align: left;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity var(--hg-hover) ease, transform var(--hg-hover) ease;
	pointer-events: none;
}

.hg-title {
	display: block;
	font-family: var(--hg-font);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.15;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
}
.hg-line2 {
	display: block;
	margin-top: 2px;
	font-family: var(--hg-font);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.15;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #fff;
}
.hg-type {
	display: block;
	margin-top: 5px;
	font-family: var(--hg-font);
	font-weight: 400;
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .85);
}

/* Hover / keyboard focus reveal (pointer devices only — touch goes straight to expand) */
@media (hover: hover) {
	.hg-tile:not(.is-expanded) .hg-hit:hover :is(.hg-tone, .hg-hit > .hg-tint, .hg-hit > .hg-wash) { opacity: 0; }
	.hg-tile:not(.is-expanded) .hg-hit:hover .hg-shade { opacity: 1; }
	.hg-tile:not(.is-expanded) .hg-hit:hover .hg-info { opacity: 1; transform: none; }
}
.hg-tile:not(.is-expanded) .hg-hit:focus-visible :is(.hg-tone, .hg-hit > .hg-tint, .hg-hit > .hg-wash) { opacity: 0; }
.hg-tile:not(.is-expanded) .hg-hit:focus-visible .hg-shade { opacity: 1; }
.hg-tile:not(.is-expanded) .hg-hit:focus-visible .hg-info { opacity: 1; transform: none; }

/* ---- Expanded ---- */
.hg-tile.is-expanded { z-index: 2; }
.hg-tile.is-expanded .hg-hit { cursor: default; }
.hg-tile.is-expanded .hg-tone,
.hg-tile.is-expanded .hg-tint,
.hg-tile.is-expanded .hg-wash,
.hg-tile.is-expanded .hg-info { opacity: 0; }
.hg-tile.is-expanded .hg-shade {
	opacity: 1;
	background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 38%);
}

.hg-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 20px 24px;
	text-align: left;
	pointer-events: none;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 300ms ease, transform 300ms ease;
	z-index: 3;
}
.hg-tile.is-expanded .hg-caption {
	opacity: 1;
	transform: none;
	transition-delay: 380ms;
}
/* Video: controls sit at the bottom, so the caption moves to the top. */
.hg-tile.has-video .hg-caption { top: 0; bottom: auto; }
.hg-tile.has-video.is-expanded .hg-shade { background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 30%); }

.hg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	z-index: 2;
	opacity: 0;
	transition: opacity 300ms ease;
}
.hg-tile.is-expanded .hg-video.is-ready { opacity: 1; }

.hg-close {
	all: unset;
	box-sizing: border-box;
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	cursor: pointer;
	z-index: 4;
	opacity: 0;
	transform: scale(.8);
	pointer-events: none;
	transition: opacity 250ms ease, transform 250ms ease, background-color 200ms ease;
}
.hg-close span::before,
.hg-close span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	margin: -1px 0 0 -9px;
	background: #fff;
	transform: rotate(45deg);
}
.hg-close span::after { transform: rotate(-45deg); }
.hg-close:hover { background: rgba(0, 0, 0, .8); }
.hg-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hg-tile.is-expanded .hg-close {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 300ms;
}

/* ---- Filter panel (opened from a menu item linking to #husky-filter) ---- */
.hg-filter-panel {
	position: fixed;
	z-index: 9999;
	min-width: 240px;
	padding: 18px 22px 20px;
	background: #000;
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
	visibility: hidden;
	transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}
.hg-filter-panel.is-open {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	visibility: visible;
	transition: opacity 220ms ease, transform 220ms ease, visibility 0s;
}
.hg-filter-panel ul { list-style: none; margin: 0; padding: 0; }
.hg-filter-panel li + li { margin-top: 4px; }
.hg-filter-panel li.hg-filter-all { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.hg-filter-opt {
	all: unset;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 6px 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: color 150ms ease;
}
.hg-filter-opt::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	transition: background 150ms ease, border-color 150ms ease;
}
.hg-filter-opt:hover,
.hg-filter-opt[aria-pressed="true"] { color: #fff; }
.hg-filter-opt[aria-pressed="true"]::before {
	border-color: transparent;
	background: conic-gradient(#ff3b30, #ff8a00, #ffd400, #34c759, #00d1e0, #2f6bff, #8e44ff, #ff3fa4, #ff3b30);
}
.hg-filter-opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.hg-count { color: inherit; }

@media (max-width: 599px) {
	.hg-filter-panel { left: 16px !important; right: 16px !important; min-width: 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
	.hg-ready .hg-stage,
	.hg-tint,
	.hg-wash,
	.hg-shade,
	.hg-info,
	.hg-caption,
	.hg-close,
	.hg-video,
	.hg-filter-panel { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ---- Audio projects ---- */
.hg-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Small "sound" badge on collapsed tiles: four bars, gently bouncing on hover. */
.hg-audio-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	gap: 2px;
	height: 14px;
	pointer-events: none;
	transition: opacity 250ms ease;
}
.hg-audio-badge i {
	display: block;
	width: 3px;
	height: 100%;
	background: #fff;
	transform-origin: bottom;
	transform: scaleY(.45);
}
.hg-audio-badge i:nth-child(2) { transform: scaleY(.9); }
.hg-audio-badge i:nth-child(3) { transform: scaleY(.6); }
.hg-audio-badge i:nth-child(4) { transform: scaleY(.75); }
@media (hover: hover) {
	.hg-hit:hover .hg-audio-badge i { animation: hg-eq 900ms ease-in-out infinite alternate; }
	.hg-hit:hover .hg-audio-badge i:nth-child(2) { animation-delay: -300ms; }
	.hg-hit:hover .hg-audio-badge i:nth-child(3) { animation-delay: -600ms; }
	.hg-hit:hover .hg-audio-badge i:nth-child(4) { animation-delay: -150ms; }
}
@keyframes hg-eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.hg-tile.is-expanded .hg-audio-badge { opacity: 0; }

/* Player across the bottom of the opened tile */
.hg-tile.has-audio.is-expanded .hg-shade {
	background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 45%);
}
.hg-tile.has-audio .hg-caption { bottom: 64px; }

.hg-audio {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 20px 18px 24px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 300ms ease 300ms, transform 300ms ease 300ms;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
}
.hg-audio.is-ready { opacity: 1; transform: none; }
.hg-audio audio { display: none; }

.hg-audio-play {
	all: unset;
	box-sizing: border-box;
	flex: none;
	position: relative;
	width: 40px;
	height: 40px;
	border: 1.5px solid #fff;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 200ms ease;
}
.hg-audio-play:hover { background: rgba(255, 255, 255, .15); }
.hg-audio-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hg-audio-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	/* play triangle */
	width: 0;
	height: 0;
	margin: -7px 0 0 -4px;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #fff;
}
.hg-audio.is-playing .hg-audio-icon {
	/* pause bars */
	width: 12px;
	height: 14px;
	margin: -7px 0 0 -6px;
	border: 0;
	border-left: 4px solid #fff;
	border-right: 4px solid #fff;
}

.hg-audio-seek {
	--hg-pct: 0%;
	flex: 1;
	min-width: 60px;
	height: 18px;
	margin: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}
.hg-audio-seek:focus { outline: none; }
.hg-audio-seek:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hg-audio-seek::-webkit-slider-runnable-track {
	height: 2px;
	background:
		linear-gradient(90deg, #ff3b30, #ff8a00, #ffd400, #34c759, #00d1e0, #2f6bff, #8e44ff, #ff3fa4) 0 0 / var(--hg-pct) 100% no-repeat,
		rgba(255, 255, 255, .3);
}
.hg-audio-seek::-moz-range-track {
	height: 2px;
	background:
		linear-gradient(90deg, #ff3b30, #ff8a00, #ffd400, #34c759, #00d1e0, #2f6bff, #8e44ff, #ff3fa4) 0 0 / var(--hg-pct) 100% no-repeat,
		rgba(255, 255, 255, .3);
}
.hg-audio-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 12px;
	height: 12px;
	margin-top: -5px;
	border: 0;
	border-radius: 50%;
	background: #fff;
}
.hg-audio-seek::-moz-range-thumb {
	width: 12px;
	height: 12px;
	border: 0;
	border-radius: 50%;
	background: #fff;
}

.hg-audio-time {
	flex: none;
	min-width: 84px;
	text-align: right;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	font-variant-numeric: tabular-nums;
	color: rgba(255, 255, 255, .85);
}
@media (max-width: 599px) {
	.hg-audio { gap: 10px; padding: 10px 12px 12px 14px; }
	.hg-audio-time { min-width: 0; font-size: 11px; }
	.hg-tile.has-audio .hg-caption { bottom: 52px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.hg-hit:hover .hg-audio-badge i { animation: none !important; }
	.hg-audio { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ---- Motion Lab panel (Grid Lab only) ---- */
.hg-lab {
	position: fixed;
	left: 16px;
	bottom: 48px;
	z-index: 9998;
	width: 290px;
	padding: 0;
	background: rgba(0, 0, 0, .92);
	border: 1px solid rgba(255, 255, 255, .25);
	color: #fff;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.hg-lab-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #ff3b30, #ff8a00, #ffd400, #34c759, #00d1e0, #2f6bff, #8e44ff, #ff3fa4) left bottom / 100% 2px no-repeat;
}
.hg-lab.is-min .hg-lab-head { border-bottom: 0; }
.hg-lab.is-min .hg-lab-body { display: none; }
.hg-lab button { all: unset; box-sizing: border-box; cursor: pointer; }
.hg-lab button:focus-visible, .hg-lab input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hg-lab-min { width: 22px; text-align: center; font-size: 16px; line-height: 1; }
.hg-lab-body { padding: 6px 14px 12px; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
.hg-lab-row {
	display: grid;
	grid-template-columns: 18px 1fr;
	column-gap: 8px;
	padding: 7px 0;
	cursor: pointer;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hg-lab-row input { grid-row: span 2; margin: 1px 0 0; accent-color: #fff; width: 14px; height: 14px; }
.hg-lab-name { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.hg-lab-hint { color: rgba(255, 255, 255, .55); line-height: 1.35; margin-top: 2px; }
.hg-lab-row.is-disabled { opacity: .35; cursor: not-allowed; }
.hg-lab-foot { display: flex; gap: 8px; margin-top: 10px; }
.hg-lab-foot button {
	flex: 1;
	padding: 7px 8px;
	border: 1px solid rgba(255, 255, 255, .5);
	text-align: center;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	font-size: 10px;
}
.hg-lab-foot button:hover { background: #fff; color: #000; }
.hg-lab-note { margin: 10px 0 0; color: rgba(255, 255, 255, .45); line-height: 1.4; font-size: 11px; }
.hg-lab.is-reduced .hg-lab-body::before {
	content: "Your system has Reduce Motion on, so these effects are paused.";
	display: block;
	padding: 6px 0;
	color: #ffd400;
}
@media (max-width: 599px) {
	.hg-lab { left: 8px; right: 8px; width: auto; bottom: 8px; }
}

/* Motion: None — keep the hover reveal as a plain fade, nothing slides */
.hg-motion-none .hg-info,
.hg-motion-none .hg-caption,
.hg-motion-none .hg-audio { transform: none !important; }

/* Motion Lab: mode switch */
.hg-lab-label {
	margin: 10px 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45);
}
.hg-lab-modes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border: 1px solid rgba(255, 255, 255, .4);
}
.hg-lab-mode { position: relative; cursor: pointer; }
.hg-lab-mode + .hg-lab-mode { border-left: 1px solid rgba(255, 255, 255, .4); }
.hg-lab-mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hg-lab-mode span {
	display: block;
	padding: 8px 4px;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
.hg-lab-mode input:checked + span { background: #fff; color: #000; }
.hg-lab-mode input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.hg-lab-modehint { margin: 6px 0 0; min-height: 30px; color: rgba(255, 255, 255, .55); line-height: 1.35; }
.hg-lab-hint em { font-style: normal; color: rgba(255, 255, 255, .35); }
.hg-motion-none .hg-stage { transition: none !important; }
.hg-lab .hg-lab-shuffle {
	display: block !important;
	width: 100%;
	padding: 8px 4px !important;
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}
.hg-lab .hg-lab-shuffle:hover:not(:disabled) { background: rgba(255, 255, 255, .15); color: #fff; }
.hg-lab .hg-lab-shuffle:disabled { opacity: .3; cursor: default !important; }

/* Colour flicker: colour changes are instant jumps while flickering (opacity still fades on hover) */
.hg-tile.is-flicker .hg-tint,
.hg-tile.is-flicker .hg-wash { transition: opacity var(--hg-hover) ease !important; }

/* ---- Edge flash lines: one per side, just outside the tile, invisible (black) at rest ---- */
.husky-grid { --hg-edge-w: 2px; --hg-edge-off: 4px; }
@media (max-width: 599px) { .husky-grid { --hg-edge-w: 1.5px; --hg-edge-off: 2.5px; } }
.hg-edges { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hg-edges i { position: absolute; display: block; background-color: rgba(0, 0, 0, 0); }
.hg-e-t { left: 0; right: 0; top: calc(-1 * var(--hg-edge-off) - var(--hg-edge-w)); height: var(--hg-edge-w); }
.hg-e-b { left: 0; right: 0; bottom: calc(-1 * var(--hg-edge-off) - var(--hg-edge-w)); height: var(--hg-edge-w); }
.hg-e-l { top: 0; bottom: 0; left: calc(-1 * var(--hg-edge-off) - var(--hg-edge-w)); width: var(--hg-edge-w); }
.hg-e-r { top: 0; bottom: 0; right: calc(-1 * var(--hg-edge-off) - var(--hg-edge-w)); width: var(--hg-edge-w); }

/* ==========================================================================
   Lift — the opened project comes forward; the grid closes up and dims behind it
   ========================================================================== */
html.hg-lock { overflow: hidden !important; }

.husky-grid { --hg-lift-dim: .3; }
.hg-ready .hg-tile .hg-hit { transition: filter 450ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1), box-shadow 500ms ease; }
.hg-has-lift .hg-tile:not(.is-lifted) .hg-hit {
	filter: brightness(var(--hg-lift-dim)) saturate(.7);
	transform: scale(.95);                 /* pushed back a little in depth */
}
@media (hover: hover) {
	.hg-has-lift .hg-tile:not(.is-lifted) .hg-hit { cursor: default; }
	.hg-has-lift .hg-tile:not(.is-lifted) .hg-hit:hover .hg-tone { opacity: var(--hg-intensity, 1); }
	.hg-has-lift .hg-tile:not(.is-lifted) .hg-hit:hover :is(.hg-shade, .hg-info) { opacity: 0; }
}
.hg-tile.is-lifted { z-index: 30; }
.hg-tile.is-lifted .hg-hit {
	background: #000;
	box-shadow: 0 40px 120px rgba(0, 0, 0, .9), 0 10px 30px rgba(0, 0, 0, .6);
}
.hg-tile.is-lifted .hg-caption { display: none; }
.hg-tile.is-lifted:not(.has-audio) .hg-shade { opacity: 0; }
.hg-tile.is-lifted .hg-close { background: rgba(0, 0, 0, .7); }

/* Details beside the art: Helvetica, one very big title against small details */
.hg-lift-info {
	position: absolute;
	z-index: 31;
	box-sizing: border-box;
	padding: 26px 28px 28px;
	background: #000;
	overflow: hidden auto;
	color: #fff;
	font-family: var(--hg-font);
	text-align: left;
	opacity: 0;
	transform: translateX(-16px);
	pointer-events: none;
	transition: opacity 260ms ease, transform 420ms cubic-bezier(.2, .8, .2, 1);
	scrollbar-width: thin;
}
.hg-lift-info.is-below { transform: translateY(12px); }
.hg-lift-info.is-in {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 200ms;
}
.husky-grid .hg-lift-info p,
.husky-grid .hg-lift-info h2 { font-family: var(--hg-font) !important; }
.husky-grid .hg-li-kicker {
	margin: 0 0 16px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	letter-spacing: .16em !important;
	text-transform: uppercase !important;
	color: rgba(255, 255, 255, .62) !important;
}
.husky-grid .hg-li-title {
	margin: 0 !important;
	padding: 0 !important;
	font-weight: 700 !important;
	font-size: var(--hg-li-size, clamp(44px, 6.4vw, 112px)) !important;
	line-height: .88 !important;
	letter-spacing: -.03em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	overflow-wrap: normal;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.husky-grid .hg-li-meta {
	margin: 20px 0 0 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: .03em !important;
	color: rgba(255, 255, 255, .78) !important;
}
.husky-grid .hg-li-desc {
	margin-top: 28px;
	max-width: 32em;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.42;
	color: #fff;
}
.husky-grid .hg-li-desc p { margin: 0 0 .8em !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; }
.husky-grid .hg-li-link {
	display: inline-block;
	margin-top: 26px;
	padding-bottom: 3px;
	border-bottom: 2px solid currentColor;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
}
.husky-grid .hg-li-link:hover { color: #999 !important; }
.husky-grid .hg-li-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 819px) {
	.husky-grid .hg-li-kicker { margin-bottom: 10px !important; }
	.husky-grid .hg-li-title { font-size: var(--hg-li-size, clamp(34px, 11vw, 64px)) !important; }
	.husky-grid .hg-li-desc { font-size: 16px; margin-top: 18px; }
	.hg-lift-info { padding: 18px 18px 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.hg-ready .hg-tile .hg-hit, .hg-lift-info, .hg-tone { transition-duration: 0s !important; transition-delay: 0s !important; }
	.hg-has-lift .hg-tile:not(.is-lifted) .hg-hit { transform: none; }
	.hg-lift-info, .hg-lift-info.is-below { transform: none; }
}

/* ---- Color Lab panel (Grid Lab only) — sits on the right, Motion Lab on the left ---- */
.hg-lab.hg-colorlab { left: auto; right: 16px; }
.hg-lab-opens { grid-template-columns: repeat(2, 1fr); }
.hg-cl-palettes { grid-template-columns: repeat(4, 1fr); }
.hg-cl-row {
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 8px;
	padding: 7px 0 5px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	cursor: pointer;
}
.hg-cl-row.is-hidden { display: none; }
.hg-cl-val { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.hg-cl-row input[type="range"] { grid-column: 1 / -1; width: 100%; margin: 6px 0 0; accent-color: #fff; cursor: pointer; }
.hg-lab-mode input:disabled + span { opacity: .35; }
.hg-lab .hg-cl-tools button:disabled { opacity: .3; cursor: default; }
.hg-lab .hg-cl-tools button:disabled:hover { background: none; color: #fff; }
@media (max-width: 599px) {
	.hg-lab.hg-colorlab { left: 8px; right: 8px; bottom: auto; top: 76px; }
	.hg-lab.hg-colorlab .hg-lab-body { max-height: 50vh; }
}

/* ---- Wavy morph (WebGL) — the picture travels on this layer while its tile is hidden ---- */
.hg-warp {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 9990;          /* over the page, under the lab panels */
	pointer-events: none;
	display: none;
}
.hg-warp.is-on { display: block; }
.hg-tile.is-warping { opacity: 0 !important; }   /* (not visibility: it must stay focusable for keyboard users) */

/* A page that's just the grid (e.g. Grid Lab) is shown in Semplice's blog layout: hide the
   author / date / read-time line there. Real blog posts keep theirs. */
.blogposts-post:has(.husky-grid) .blogposts-meta { display: none !important; }

/* ==========================================================================
   Animation Lab presets (husky-grid.js → Animation Lab)
   ========================================================================== */
/* Breathing room: while a tile travels it shrinks a touch, so the gaps open up during motion and close
   back to the tight grid when it settles (driven per tile by --hg-mv, 0 at rest). */
.hg-breathe .hg-tile .hg-hit { scale: calc(1 - var(--hg-mv, 0) * .045); }

/* Signal: RGB channel ghosts. Red copy + green/blue copy, screened together = the original; offset by
   --hg-gx/--hg-gy and shown by --hg-go only while the tile moves. */
.hg-ghost { display: none; position: absolute; inset: 0; isolation: isolate; background: #000; opacity: var(--hg-go, 0); pointer-events: none; }
.hg-ghosts .hg-ghost { display: block; }
.hg-gc { position: absolute; inset: 0; display: block; isolation: isolate; mix-blend-mode: screen; }
.hg-gc i { position: absolute; inset: 0; display: block; mix-blend-mode: multiply; }
.hg-gr { transform: translate(var(--hg-gx, 0px), var(--hg-gy, 0px)); }
.hg-gr i { background: #f00; }
.hg-gcy { transform: translate(calc(var(--hg-gx, 0px) * -1), calc(var(--hg-gy, 0px) * -1)); }
.hg-gcy i { background: #0ff; }
.hg-tile.is-expanded .hg-ghost { display: none; }

/* Kinetic titles: the visible copy (.hg-tx) animates; screen readers read the real text (.hg-sr). */
.hg-title .hg-tx, .hg-type .hg-tx { display: inline-block; }
.husky-grid.hg-titles-slide .hg-info,
.husky-grid.hg-titles-letter .hg-info { transform: none; }
.hg-titles-slide .hg-info .hg-title,
.hg-titles-slide .hg-info .hg-type { overflow: hidden; padding-bottom: .08em; }
.hg-titles-slide .hg-info .hg-tx { transform: translateY(108%); transition: transform var(--hg-tdur, 420ms) cubic-bezier(.2, .8, .2, 1); }
@media (hover: hover) {
	.hg-titles-slide .hg-tile:not(.is-expanded) .hg-hit:hover .hg-tx { transform: none; }
	.hg-titles-slide .hg-tile:not(.is-expanded) .hg-hit:hover .hg-type .hg-tx { transition-delay: var(--hg-tstag, 70ms); }
}
.hg-titles-slide .hg-tile:not(.is-expanded) .hg-hit:focus-visible .hg-tx { transform: none; }
.hg-titles-letter .hg-info .hg-title .hg-tx { font-variant-numeric: tabular-nums; }

/* Audio reactive: --hg-pulse (0–1) from the music → a little brightness and spacing. */
.husky-grid.hg-reactive .hg-tone { filter: var(--hg-fx-filter, saturate(1)) brightness(calc(1 + var(--hg-pulse, 0) * .22)); }
.hg-reactive .hg-tile .hg-hit { scale: calc(1 - var(--hg-mv, 0) * .045 - var(--hg-pulse, 0) * .014); }

@media (prefers-reduced-motion: reduce) {
	.hg-breathe .hg-tile .hg-hit, .hg-reactive .hg-tile .hg-hit { scale: none; }
	.hg-ghosts .hg-ghost { display: none; }
	.hg-titles-slide .hg-info .hg-tx { transform: none; transition: none; }
}

/* Animation Lab panel — top left (all labs can be dragged by their title bar) */
.hg-lab.hg-animlab { left: 16px; top: 96px; bottom: auto; }
.hg-lab.hg-animlab .hg-lab-body { max-height: calc(100vh - 360px); min-height: 120px; }
.hg-al-presets { grid-template-columns: repeat(4, 1fr); }
.hg-al-group[hidden], .hg-al-audio[hidden] { display: none; }
.hg-lab-head { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.hg-lab.is-dragging { opacity: .9; }
.hg-lab.is-dragging .hg-lab-head { cursor: grabbing; }
.hg-lab-mode input:disabled + span { opacity: .3; }
.hg-motionlab.is-preset .hg-lab-modes:first-of-type { opacity: .45; }
@media (max-width: 599px) {
	.hg-lab.hg-animlab { top: 164px; left: 8px; right: 8px; }
}

/* Space above the grid on a grid-only page in Semplice's blog layout (e.g. Grid Lab): no invisible
   title block, and a responsive gap under the header — breathing room, not a void. */
.blogposts-post:has(.husky-grid) .blogposts-post-heading { display: none !important; }
.blogposts-post:has(.husky-grid) .blogposts-post-content { padding-top: clamp(36px, 4.6vw, 80px) !important; }

/* Four labs, two per side: each takes at most half the window height, so with all of them open the
   top pair (Animation, Sound) and the bottom pair (Motion, Color) don't overlap. */
@media (min-width: 600px) {
	.hg-lab .hg-lab-body,
	.hg-lab.hg-animlab .hg-lab-body,
	.hg-lab.hg-soundlab .hg-lab-body { max-height: calc(50vh - 112px); min-height: 0; }
}

/* Animation Lab: restore / compare side by side; psychedelic rows hidden while it's off */
.hg-al-psy[hidden] { display: none; }
.hg-al-estyles { margin-top: 6px; }
.hg-lab .hg-al-restore { border-color: #fff; }

/* Expanded title: words rise one by one (slight magnetic overshoot), then the details follow. The final
   composition is completely still. */
.hg-li-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .08em 0; margin-bottom: -.08em; }
.hg-li-w > span { display: inline-block; }
.hg-lift-info.hg-li-words.is-in .hg-li-w > span {
	animation: hg-li-word calc(600ms / var(--hg-li-speed, 1)) cubic-bezier(.16, 1.25, .3, 1) both;
	animation-delay: calc(var(--hg-li-base, 200ms) + var(--i, 0) * 55ms * var(--hg-li-stag, 1) / var(--hg-li-speed, 1));
}
@keyframes hg-li-word { from { transform: translate(-.1em, 108%) rotate(3deg); } to { transform: none; } }
.hg-lift-info.hg-li-words.is-in :is(.hg-li-kicker, .hg-li-meta, .hg-li-desc, .hg-li-link),
.hg-lift-info.hg-li-fade.is-in :is(.hg-li-kicker, .hg-li-meta, .hg-li-desc, .hg-li-link) {
	animation: hg-li-meta calc(440ms / var(--hg-li-speed, 1)) ease both;
	animation-delay: var(--hg-li-after, 500ms);
}
.hg-lift-info.hg-li-fade.is-in .hg-li-title { animation: hg-li-meta calc(520ms / var(--hg-li-speed, 1)) ease both; animation-delay: var(--hg-li-base, 200ms); }
@keyframes hg-li-meta { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* consistent rhythm: kicker → title → meta → description → link */
.husky-grid .hg-li-kicker { margin-bottom: 14px !important; }
.husky-grid .hg-li-title { line-height: .9 !important; text-wrap: balance; }
.husky-grid .hg-li-meta { margin-top: 18px !important; }
.hg-al-shock[hidden], .hg-al-idle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
	.hg-lift-info .hg-li-w > span, .hg-lift-info :is(.hg-li-kicker, .hg-li-meta, .hg-li-desc, .hg-li-link, .hg-li-title) { animation: none !important; }
}

/* ---- Gallery (v0.22): several images / videos in one project --------------------------------
   Each piece is drawn at its final size, centred; the viewer's box springs between shapes and
   masks / reveals it — the artwork itself is never stretched. */
.hg-slides {
	position: absolute;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	background: #000;
	transition: opacity 240ms ease;
}
.hg-slides.is-leaving { opacity: 0; }
.husky-grid .hg-slide {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	display: block !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: fill !important;
	background: #000;
	opacity: 0;
	transform: translate(-50%, -50%) translateX(var(--hg-from, 0px));
	transition: opacity 320ms ease, transform 520ms cubic-bezier(.2, .9, .25, 1);
}
.husky-grid .hg-slide.is-in { opacity: 1; transform: translate(-50%, -50%); }
.husky-grid .hg-slide.is-out { opacity: 0; transform: translate(-50%, -50%) translateX(var(--hg-to, 0px)); transition-duration: 260ms, 420ms; }
.hg-tile.is-lifted .hg-close { z-index: 5; }

/* previous · 02 / 05 · next — in the details, same small Helvetica as the metadata */
.husky-grid .hg-li-nav {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 0;
	font-family: var(--hg-font);
	font-size: 13px;
	letter-spacing: .08em;
	color: #8a8a8a;
	font-variant-numeric: tabular-nums;
}
.husky-grid .hg-li-nav button {
	all: unset;
	position: relative;
	cursor: pointer;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	padding: 4px 2px;
	transition: transform 160ms ease, color 160ms ease;
}
.husky-grid .hg-li-nav button::after { content: ""; position: absolute; inset: -8px -10px; }
.husky-grid .hg-li-nav button:hover { color: #bbb; }
.husky-grid .hg-li-prev:hover { transform: translateX(-2px); }
.husky-grid .hg-li-next:hover { transform: translateX(2px); }
.husky-grid .hg-li-nav button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* the arrows and the count drift through RGB CMY (each from a random point) so they don't get lost */
.husky-grid .hg-li-nav button,
.husky-grid .hg-li-count { animation: hg-li-rgb 6s linear infinite; animation-delay: var(--hg-ph, 0s); }
.husky-grid .hg-li-count { font-weight: 700; }
.husky-grid .hg-li-nav button:hover { animation-play-state: paused; }
@keyframes hg-li-rgb {
	0%, 100% { color: #ff1f3d; } 16.6% { color: #ffe600; } 33.3% { color: #00e64d; }
	50% { color: #00f0ff; } 66.6% { color: #3d5cff; } 83.3% { color: #ff2bd6; }
}
@media (prefers-reduced-motion: reduce) {
	.husky-grid .hg-li-nav button, .husky-grid .hg-li-count { animation: none; color: #00f0ff; }
}
@media (prefers-reduced-motion: reduce) {
	.husky-grid .hg-slide, .hg-slides { transition-duration: 0s !important; transform: translate(-50%, -50%) !important; }
}
/* Gallery media transition styles (Animation Lab) */
.husky-grid .hg-slide[data-style="fade"] { --hg-from: 0px !important; --hg-to: 0px !important; }
.husky-grid .hg-slide[data-style="zoom"] { transform: translate(-50%, -50%) scale(.94); }
.husky-grid .hg-slide[data-style="zoom"].is-in { transform: translate(-50%, -50%) scale(1); }
.husky-grid .hg-slide[data-style="zoom"].is-out { transform: translate(-50%, -50%) scale(1.04); }
.hg-lab .hg-al-galtry { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.hg-lab .hg-al-galtry:focus-visible { outline: 1px solid #fff; outline-offset: 2px; }

/* ---- The HUSKY page (v0.24): photo, your words, résumé — then the journal --------------------- */
.blogposts-post:has(.husky-page) .blogposts-meta,
.blogposts-post:has(.husky-page) .blogposts-post-heading { display: none !important; }
.blogposts-post:has(.husky-page) .blogposts-post-content { padding-top: clamp(36px, 4.6vw, 80px) !important; }
.husky-page { --ha-font: Helvetica, "Helvetica Neue", Arial, sans-serif; color: #fff; font-family: var(--ha-font); }
.husky-about { margin: 0 0 clamp(72px, 10vw, 150px); }
.husky-about .ha-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.husky-about.ha-no-photo .ha-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.ha-portrait {
	position: relative;
	margin: 0 !important;
	aspect-ratio: var(--ha-aspect, 0.8);
	max-height: 82vh;
	overflow: hidden;
	background: #111;
	cursor: crosshair;
}
.husky-page .ha-img { position: absolute !important; inset: 0; display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover !important; }
/* The colour treatment (like the WORK tiles): a toned copy over the original. Rolling over bleeds the
   original back through in swirling psychedelic ink, drawn on .ha-ink (husky-about.js). */
.ha-tone {
	position: absolute;
	inset: 0;
	isolation: isolate;
	transition: opacity 1.4s ease;
}
.ha-ink { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 2; }
.ha-portrait.ha-has-ink { cursor: default; }
/* no WebGL / reduced motion: a plain slow fade to the original */
.ha-portrait.ha-fade:hover .ha-tone { opacity: 0; }
.ha-tone .ha-img { filter: grayscale(1) contrast(1.12) brightness(1.04); }
/* the portrait's colour slowly drifts through RGB CMY: one long looping gradient, panned diagonally */
.ha-tint, .ha-wash {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, #ff1f3d, #ff2bd6 12.5%, #3d5cff 25%, #00f0ff 37.5%, #00e64d 50%, #ffe600 62.5%, #ff1f3d 75%, #ff2bd6 87.5%, #3d5cff);
	background-size: 400% 400%;
	animation: ha-drift 48s linear infinite;
}
@keyframes ha-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.ha-tint { mix-blend-mode: color; }
.ha-wash { mix-blend-mode: soft-light; opacity: .55; }
.ha-portrait.ha-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: .8; border: 1px dashed #444; background: none; cursor: default; text-align: center; }
.ha-portrait.ha-empty a { color: #888; font-size: 14px; text-decoration: none; padding: 20px; }
.husky-page .ha-heading { margin: 0 0 .6em !important; font: 700 clamp(40px, 6vw, 96px)/.95 var(--ha-font) !important; text-transform: uppercase; letter-spacing: -.01em; color: #fff !important; }
.husky-page .ha-bio { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: #fff; max-width: 36em; }
.husky-page .ha-bio p { margin: 0 0 1em !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; font-family: var(--ha-font) !important; }
.husky-page .ha-bio a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.husky-page .ha-note a { color: #888; }
.husky-page .ha-links { margin: 28px 0 0 !important; }
/* Résumé: small caps-style link; on hover the underline does the RGB/CMY sweep (as on CONTACT) */
.husky-page .ha-resume {
	position: relative;
	display: inline-block;
	padding: 0 0 8px;
	font: 700 13px/1 var(--ha-font) !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none !important;
	overflow: hidden;
}
.husky-page .ha-resume::before, .husky-page .ha-resume::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.husky-page .ha-resume::after { background: rgba(255, 255, 255, .5); transition: background 300ms ease 200ms; }
.husky-page .ha-resume::before { z-index: 1; width: 60%; background: linear-gradient(90deg, transparent, #ff1f1f, #ffe600, #00e64d, #00f0ff, #3d5cff, #ff2bd6, transparent); transform: translateX(-110%); }
.husky-page .ha-resume:hover::before, .husky-page .ha-resume:focus-visible::before { animation: hc-sweep 520ms cubic-bezier(.3, .1, .3, 1) both; }
.husky-page .ha-resume:hover::after, .husky-page .ha-resume:focus-visible::after { background: #00f0ff; }
.husky-page .ha-resume:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@keyframes hc-sweep { 0% { transform: translateX(-110%); opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(200%); opacity: 0; } }
@media (max-width: 899px) {
	.husky-about .ha-grid { grid-template-columns: minmax(0, 1fr); }
	.ha-portrait { max-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
	.ha-portrait:hover .ha-tone { opacity: 0; }
	.husky-page .ha-resume:hover::before { animation: none; }
	.ha-tint, .ha-wash { animation: none; background-position: 30% 30%; }
}

/* THINGS I MAKE / THINGS I BREAK */
.husky-journal { margin: 0 0 80px; }
.husky-page .hj-heading, .husky-journal .hj-heading {
	margin: 0 0 clamp(24px, 3vw, 40px) !important;
	font: 700 clamp(28px, 4.2vw, 64px)/.98 Helvetica, "Helvetica Neue", Arial, sans-serif !important;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: #fff !important;
}
.hj-slash { color: #555; }
@media (max-width: 599px) { .hj-slash { display: none; } .hj-second { display: block; } }
.husky-grid .hg-li-lede { font-size: 1.1em; color: #fff !important; }
.husky-grid .hg-li-desc img, .husky-grid .hg-li-desc video { max-width: 100% !important; height: auto !important; }
.husky-grid .hg-li-desc iframe { max-width: 100%; }
.husky-grid .hg-li-desc figure { margin: 1em 0 !important; }
/* the HUSKY page uses the full site width (like the WORK grid), even inside the blog text column */
.husky-page {
	--hg-width: min(1170px, calc(100vw - 60px));
	box-sizing: border-box;
	width: var(--hg-width) !important;
	max-width: none !important;
	margin: 0 0 0 calc((100% - var(--hg-width)) / 2) !important;
}
@media (max-width: 599px) { .husky-page { --hg-width: calc(100vw - 32px); } }
.husky-page p, .husky-page a, .husky-page small, .husky-page figure, .hg-empty { font-family: Helvetica, "Helvetica Neue", Arial, sans-serif !important; }
.ha-portrait.ha-empty a { display: block; line-height: 1.5 !important; }
.ha-portrait.ha-empty small { display: block; margin-top: 6px; font-size: 12px; color: #666; }
.husky-page .ha-note { font-size: 15px; color: #888; }

/* 3 · 2 · 1 before a project video plays (v0.26) */
.hg-count {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .55);
	cursor: pointer;
	transition: opacity 240ms ease;
	container-type: size;
}
.hg-count.is-out { opacity: 0; pointer-events: none; }
.hg-count-n {
	font: 700 clamp(90px, 62cqmin, 560px)/1 Helvetica, "Helvetica Neue", Arial, sans-serif;
	letter-spacing: -.04em;
	font-variant-numeric: tabular-nums;
	user-select: none;
}
.hg-count-n.is-pop { animation: hg-count-pop 520ms cubic-bezier(.2, 1.4, .35, 1) both; }
@keyframes hg-count-pop { from { transform: scale(1.35); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
.hg-slides .hg-count { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hg-count-n.is-pop { animation: none; } }

/* Previous / next project (v0.27): round buttons in the window's side margins, each naming where it goes */
.hg-pnav { display: none; }
.husky-grid.hg-has-lift .hg-pnav { display: block; }
.hg-pnav.is-single { display: none !important; }
.hg-pn {
	all: unset;
	box-sizing: border-box;
	position: fixed;
	top: 50%;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 14px;
	cursor: pointer;
	color: #fff;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
	-webkit-tap-highlight-color: transparent;
	transform: translateY(-50%);
	animation: hg-pn-in 420ms cubic-bezier(.2, .9, .3, 1) 260ms both;
}
.hg-pn-prev { left: max(14px, calc((100vw - var(--hg-width, 1170px)) / 2 - 76px)); }
.hg-pn-next { right: max(14px, calc((100vw - var(--hg-width, 1170px)) / 2 - 76px)); }
@keyframes hg-pn-in { from { opacity: 0; } to { opacity: 1; } }
.hg-pn-ring {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
	transition: box-shadow 220ms ease, background 220ms ease, transform 260ms cubic-bezier(.2, 1.4, .35, 1);
}
/* on hover the ring turns into a spinning RGB/CMY wheel */
.hg-pn-ring::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 50%;
	padding: 2px;
	background: conic-gradient(#ff1f1f, #ffe600, #00e64d, #00f0ff, #3d5cff, #ff2bd6, #ff1f1f);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	opacity: 0;
	transition: opacity 220ms ease;
}
.hg-pn-arrow { position: relative; font-size: 22px; line-height: 1; transition: transform 260ms cubic-bezier(.2, 1.4, .35, 1); }
.hg-pn:hover .hg-pn-ring, .hg-pn:focus-visible .hg-pn-ring { background: #000; transform: scale(1.06); }
.hg-pn:hover .hg-pn-ring::before, .hg-pn:focus-visible .hg-pn-ring::before { opacity: 1; animation: hg-pn-spin 1.4s linear infinite; }
.hg-pn-prev:hover .hg-pn-arrow { transform: translateX(-4px); }
.hg-pn-next:hover .hg-pn-arrow { transform: translateX(4px); }
.hg-pn:active .hg-pn-ring { transform: scale(.94); }
@keyframes hg-pn-spin { to { transform: rotate(1turn); } }
/* the label: which project it leads to, slides out on hover */
.hg-pn-label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 160px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 200ms ease, transform 260ms cubic-bezier(.2, .9, .3, 1);
}
.hg-pn-prev .hg-pn-label { transform: translateX(-8px); }
.hg-pn-next .hg-pn-label { transform: translateX(8px); text-align: right; align-items: flex-end; }
.hg-pn-label small { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8a8a8a; }
.hg-pn-label b { font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.hg-pn:hover .hg-pn-label, .hg-pn:focus-visible .hg-pn-label { opacity: 1; transform: none; }
.hg-pn:focus-visible { outline: none; }
.hg-pn:focus-visible .hg-pn-ring { box-shadow: inset 0 0 0 2px #fff; }
/* the label needs room: on narrower windows it sits over the art, so it gets a backdrop */
@media (max-width: 1399px) {
	.hg-pn-label { background: rgba(0, 0, 0, .8); padding: 8px 10px; }
}
/* phones / small windows: smaller buttons in the bottom corners, no labels */
@media (max-width: 899px) {
	.hg-pn { top: auto; bottom: 18px; transform: none; }
	.hg-pn-prev { left: 14px; }
	.hg-pn-next { right: 14px; }
	.hg-pn-ring { width: 46px; height: 46px; }
	.hg-pn-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hg-pn, .hg-pn-ring, .hg-pn-arrow, .hg-pn-label { animation: none !important; transition: none !important; }
	.hg-pn:hover .hg-pn-ring::before { animation: none; }
}

/* ------------------------------------------------------------------
   CONSTELLATION (WORK → GRID / CONSTELLATION)
   ------------------------------------------------------------------ */
.hg-con {
	position: relative;
	width: 100%;
	background: #000;
	overflow: hidden;
	isolation: isolate;
	font-family: var(--hg-font);
	transition: opacity .3s ease;
}
.hg-con[hidden] { display: none; }
.husky-grid.hg-con-on .hg-stage { height: 0 !important; visibility: hidden; }
.husky-grid.hg-con-on .hg-stage :is(.hg-tile.is-lifted, .hg-tile.hg-con-flying, .hg-lift-info) { visibility: visible; }
.husky-grid.hg-con-on.hg-has-lift .hg-con { opacity: .14; pointer-events: none; }

/* Smoky rainbow nebula drifting behind the sky (soft blobs that wander and cross-fade). */
.hg-con-nebula {
	position: absolute; inset: 0;
	pointer-events: none; z-index: 0; opacity: .55;
	-webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 35%, transparent 100%);
	mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 35%, transparent 100%);
}
/* The whole smoke field turns very slowly (a slow swirl) while its clouds wander. */
.hg-con-swirl { position: absolute; inset: -30%; animation: hg-con-swirl 160s linear infinite; will-change: transform; }
@keyframes hg-con-swirl { to { transform: rotate(360deg); } }
.hg-con-swirl span:nth-child(odd) { animation-direction: alternate-reverse; }
/* Random soft glows that bloom in the smoke and fade (placed by husky-grid.js). */
.hg-con-flare {
	position: absolute;
	width: 34%; aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--fc, #fff) 70%, #fff), color-mix(in srgb, var(--fc, #fff) 40%, transparent) 45%, transparent);
	filter: blur(28px);
	mix-blend-mode: screen;
	opacity: 0;
	pointer-events: none;
}
.hg-con-nebula span {
	position: absolute;
	width: 34%; height: 38%;
	border-radius: 50%;
	filter: blur(70px);
	mix-blend-mode: screen;
	opacity: .55;
	will-change: transform;
	animation: hg-neb-a 46s ease-in-out infinite alternate;
}
.hg-con-nebula span:nth-child(1) { left: 22%; top: 24%;  background: radial-gradient(closest-side, #ff2bd6, transparent); animation-duration: 52s; }
.hg-con-nebula span:nth-child(2) { left: 50%; top: 22%; background: radial-gradient(closest-side, #3d5cff, transparent); animation-name: hg-neb-b; animation-duration: 61s; }
.hg-con-nebula span:nth-child(3) { left: 36%; top: 46%; background: radial-gradient(closest-side, #00f0ff, transparent); animation-duration: 57s; animation-delay: -20s; }
.hg-con-nebula span:nth-child(4) { left: 56%; top: 52%; background: radial-gradient(closest-side, #ff1f1f, transparent); animation-name: hg-neb-b; animation-duration: 49s; animation-delay: -31s; opacity: .4; }
.hg-con-nebula span:nth-child(5) { left: 24%; top: 56%; background: radial-gradient(closest-side, #ffe600, transparent); animation-duration: 66s; animation-delay: -12s; opacity: .3; }
@keyframes hg-neb-a {
	0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
	50%  { transform: translate(14%, 10%) scale(1.25) rotate(40deg); }
	100% { transform: translate(-8%, 18%) scale(.9) rotate(80deg); }
}
@keyframes hg-neb-b {
	0%   { transform: translate(0, 0) scale(1.1) rotate(0deg); }
	50%  { transform: translate(-16%, 12%) scale(.85) rotate(-35deg); }
	100% { transform: translate(6%, -10%) scale(1.3) rotate(-70deg); }
}

.hg-con-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 1; }
.hg-con-labels, .hg-con-nodes, .hg-con-tip, .hg-con-note, .hg-con-hint { z-index: 2; }
.hg-con-labels { position: absolute; inset: 0; pointer-events: none; }
.hg-con-dust circle { fill: #fff; }
.hg-con-dust circle.tw { animation: hg-con-twinkle 4s ease-in-out infinite; }
@keyframes hg-con-twinkle { 0%, 100% { opacity: .08; } 50% { opacity: .9; } }

/* Lines. Tags and places are opposite colours that travel through the spectrum together. */
.hg-con-e-tag, .hg-con-e-loc, .hg-con-key .k-tag, .hg-con-key .k-loc { animation: hg-con-hue 36s linear infinite; }
.hg-con-e-tag { filter: drop-shadow(0 0 2px #ff2bd6); }
.hg-con-e-loc { filter: drop-shadow(0 0 2.5px #00f0ff); }
@keyframes hg-con-hue { from { filter: drop-shadow(0 0 2px currentColor) hue-rotate(0deg); } to { filter: drop-shadow(0 0 2px currentColor) hue-rotate(360deg); } }
.hg-con-e-tag { color: #ff2bd6; }
.hg-con-e-loc { color: #00f0ff; }
.hg-con-lines line { transition: opacity .5s cubic-bezier(.22, 1, .36, 1), stroke-width .5s cubic-bezier(.22, 1, .36, 1); }
.hg-con-e-tag line { stroke: #ff2bd6; stroke-width: 1; opacity: .42; }
.hg-con-e-loc line { stroke: #00f0ff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .1 6; opacity: .95; animation: hg-con-flow 1.4s linear infinite; }
@keyframes hg-con-flow { to { stroke-dashoffset: -12.2; } }
.hg-con-e-link line { stroke: #fff; stroke-width: 1.3; opacity: .75; }
.hg-con.is-focus .hg-con-lines line:not(.is-on) { opacity: .2; }      /* the map stays readable behind a preview */
.hg-con-lines line.is-on { opacity: 1; stroke-width: 2.2; }
.hg-con-e-loc line.is-on { stroke-width: 2.6; }
.hg-con-lines line.is-out { opacity: 0 !important; }

/* Stars */
.hg-con-node {
	position: absolute;
	width: 34px; height: 34px;
	margin: -17px 0 0 -17px;
	padding: 0; border: 0; border-radius: 50%;
	background: none;
	display: grid; place-items: center;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.hg-con-node i {
	position: relative;
	display: block;
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 6px 1px var(--c), 0 0 16px 2px color-mix(in srgb, var(--c) 45%, transparent);
	animation: hg-con-star var(--tw, 5s) ease-in-out infinite;
	animation-delay: var(--twd, 0s);
	transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), opacity .5s cubic-bezier(.22, 1, .36, 1);
}
@keyframes hg-con-star { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.7); } }
/* Chromatic rollover: the star splits into red / cyan and settles slightly apart. */
.hg-con-node i::before, .hg-con-node i::after {
	content: '';
	position: absolute; inset: 0;
	border-radius: 50%;
	mix-blend-mode: screen;
	opacity: 0;
	transition: opacity .65s cubic-bezier(.22, 1, .36, 1);    /* the split eases away on roll-off */
}
.hg-con-node i::before { background: #ff1f3c; transform: translate(-1.6px, .4px); }
.hg-con-node i::after { background: #00f0ff; transform: translate(1.6px, -.4px); }
.hg-con-node:hover i::before, .hg-con-node.is-on i::before { opacity: .95; animation: hg-con-r .7s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.hg-con-node:hover i::after, .hg-con-node.is-on i::after { opacity: .95; animation: hg-con-c .7s cubic-bezier(.2, 1.5, .4, 1) forwards; }
@keyframes hg-con-r { from { transform: translate(-7px, 2px); } to { transform: translate(-1.6px, .4px); } }
@keyframes hg-con-c { from { transform: translate(7px, -2px); } to { transform: translate(1.6px, -.4px); } }
.hg-con-node.is-journal i { background: transparent; box-shadow: inset 0 0 0 2px var(--c), 0 0 8px var(--c); }
.hg-con-node:hover i, .hg-con-node.is-on i { transform: scale(1.8); }
.hg-con-node.is-near i { transform: scale(1.3); }
.hg-con.is-focus .hg-con-node:not(.is-on):not(.is-near) i { opacity: .55; }
.hg-con-node:focus { outline: none; }
.hg-con-node:focus-visible i { outline: 1.5px solid #fff; outline-offset: 4px; }
.hg-con-node.is-out { pointer-events: none; }
.hg-con-node.is-out i { opacity: .08 !important; transform: scale(.6) !important; box-shadow: none; }

.hg-con-labels span {
	position: absolute;
	transform: translate(-50%, -50%);
	font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
	color: rgba(255, 255, 255, .34);
	white-space: nowrap;
	pointer-events: none;
	transition: opacity .2s ease;
}
.hg-con-labels span.is-out { opacity: .3; }

/* Hover card: a little preview of the work that arrives chromatically split, then settles. */
.hg-con-tip {
	position: absolute;
	width: 230px;
	pointer-events: none;
	color: #fff;
	opacity: 0;
	transform: translate(0, -50%);       /* position only — never animated, so the card can't slide */
	transition: opacity .65s cubic-bezier(.22, 1, .36, 1);      /* roll-off: a slow, soft fade, never a vanish */
}
.hg-con-tip.is-left { text-align: right; transform: translate(-100%, -50%); }
.hg-con-tip.is-in { opacity: 1; transition-duration: .32s; }
/* (is-anim carries the reveal animations and stays on while the card fades out, so nothing inside
   it — tint, ripple, title split — snaps back mid-fade) */
.hg-con-thumb { position: relative; display: block; width: 128px; height: 128px; margin: 0 0 10px; overflow: hidden; }
.hg-con-thumb::after { content: ''; position: absolute; inset: 0; background: var(--c, #ff2bd6); mix-blend-mode: color; opacity: 0; pointer-events: none; }
.hg-con-tip.is-anim .hg-con-thumb::after { animation: hg-con-tint .7s cubic-bezier(.22, 1, .36, 1) both; }
.hg-con-tip.is-wave .hg-con-thumb::after { animation: none; opacity: 0; }   /* the ripple does its own tint */
.hg-con-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; transition: opacity .12s linear; }
@keyframes hg-con-tint { from { opacity: .95; } 35% { opacity: .8; } to { opacity: 0; } }
.hg-con-tip.is-left .hg-con-thumb { margin-left: auto; }
/* the picture always fills its square the same way (centred cover crop) — the same crop the
   ripple uses — so nothing reframes when the ripple hands over to the plain image */
.hg-con-thumb img { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: cover; object-position: 50% 50%; }
@keyframes hg-con-pop { from { transform: scale(.9); } to { transform: none; } }
@keyframes hg-con-split {
	0%   { filter: drop-shadow(9px 0 0 rgba(255, 0, 60, .85)) drop-shadow(-9px 0 0 rgba(0, 240, 255, .85)) saturate(1.8) hue-rotate(40deg); transform: scale(.94); }
	60%  { filter: drop-shadow(2px 0 0 rgba(255, 0, 60, .6)) drop-shadow(-2px 0 0 rgba(0, 240, 255, .6)) saturate(1.2) hue-rotate(0deg); transform: scale(1.01); }
	100% { filter: drop-shadow(0 0 0 rgba(255, 0, 60, 0)) drop-shadow(0 0 0 rgba(0, 240, 255, 0)) saturate(1) hue-rotate(0deg); transform: none; }
}
.hg-con-tip b { display: block; font-weight: 700; font-size: 15px; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; text-shadow: -1.5px 0 rgba(255, 0, 60, .55), 1.5px 0 rgba(0, 240, 255, .55), 0 0 8px #000; }
.hg-con-tip.is-anim b { animation: hg-con-text .6s cubic-bezier(.2, 1, .3, 1) both; }
@keyframes hg-con-text {
	from { text-shadow: -6px 0 rgba(255, 0, 60, .9), 6px 0 rgba(0, 240, 255, .9), 0 0 8px #000; }
	to   { text-shadow: -1.5px 0 rgba(255, 0, 60, .55), 1.5px 0 rgba(0, 240, 255, .55), 0 0 8px #000; }
}
.hg-con-tip b span { display: block; font-size: 12px; margin-top: 2px; }
.hg-con-tip small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .8); text-shadow: 0 0 4px #000; }
.hg-con-tip .hg-con-where { color: #00f0ff; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.hg-con-tip .hg-con-again { color: #fff; }

.hg-con-note, .hg-con-hint {
	position: absolute;
	right: 18px; bottom: 14px;
	margin: 0;
	text-align: right;
	font-size: 10px; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
	pointer-events: none;
}
.husky-grid .hg-con :is(p, span, small, b) { font-family: var(--hg-font) !important; }
.husky-grid .hg-con .hg-con-note { font-size: 10px !important; line-height: 1.4 !important; color: rgba(255, 255, 255, .55) !important; }
.husky-grid .hg-con .hg-con-hint { font-size: 11px !important; color: #ffe600 !important; }
.hg-con-note { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; }
.hg-con-key b { display: inline-block; width: 18px; height: 0; margin-right: 7px; vertical-align: middle; border-top: 1.5px solid #ff2bd6; }
.hg-con-key .k-loc { border-top: 2px dotted #00f0ff; }
.hg-con-key .k-link { border-top-color: #fff; animation: none; }
.hg-con-hint { bottom: 34px; max-width: 420px; letter-spacing: .04em; text-transform: none; font-size: 11px; color: #ffe600; }

.hg-view { display: inline-flex; align-items: baseline; gap: .45em; white-space: nowrap; }
.hg-view button {
	margin: 0; padding: 0; border: 0;
	background: none;
	font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit;
	cursor: pointer;
	opacity: .42;
	transition: opacity .15s ease;
}
.hg-view button:hover, .hg-view button[aria-pressed="true"] { opacity: 1; }
.hg-view button:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
.hg-view > span { opacity: .42; }
@media (max-width: 599px) {
	.hg-con-tip { width: 170px; }
	.hg-con-thumb { width: 96px; height: 96px; }
	.hg-con-tip b { font-size: 13px; }
	.hg-con-labels span { font-size: 9px; }
	.hg-con-note { left: 14px; right: 14px; gap: 10px; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.hg-con, .hg-con *, .hg-con *::before, .hg-con *::after { animation: none !important; transition: none !important; }
	.hg-con-node:hover i::before, .hg-con-node.is-on i::before { transform: translate(-1.6px, .4px); }
	.hg-con-node:hover i::after, .hg-con-node.is-on i::after { transform: translate(1.6px, -.4px); }
}

/* Phones and small tablets: Semplice swaps the menu for a hamburger (black on the black navbar, so it
   can't be seen). Keep the real text menu instead — on phones and small tablets it sits in one row
   under the logo and radio (FILTER · WORK · CONTACT · HUSKY on phones). The constellation stays a big-screen thing (no toggle on phones). */
@media (max-width: 991px) {
	smp-nav-content[data-module=menu][data-menu-type=hamburger] .hamburger { display: none !important; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger] > .text { display: block !important; }
	smp-nav-row#row-navbar-top { grid-template-columns: 1fr !important; row-gap: 14px; }
	smp-nav-column:has(> smp-nav-content[data-module=menu]) { justify-content: flex-start !important; width: 100%; margin-top: 46px !important; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger],
	smp-nav-content[data-module=menu][data-menu-type=hamburger] > .text { width: 100%; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul { display: flex !important; flex-wrap: nowrap; justify-content: space-between; gap: 10px 14px !important; width: 100%; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul > li { margin: 0 !important; padding: 0 !important; flex-shrink: 0; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul a { white-space: nowrap !important; }   /* FILTER (3) never wraps */
	/* the header is a row taller here, so push every page down to match (it was covering the top of the grid) */
	#content-holder .transition-wrap { padding-top: 60px; }
}
/* GRID / CONSTELLATION is a big-screen thing: no toggle on phones, in either orientation */
@media (pointer: coarse) and (max-height: 600px) { li.hg-view-li, .hg-view-li { display: none !important; } }
@media (max-width: 767px) {
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul > li.hg-view-li { display: none !important; }
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul a,
	smp-nav-content[data-module=menu][data-menu-type=hamburger] nav ul a span { font-size: 13px !important; letter-spacing: .04em !important; }
}

/* ==========================================================================
   LOCAL GRID EXPERIMENT (Oct 2026) — featured tiles, silent previews, black and white.
   Inert unless husky-grid.js finds data-exp on the grid (printed on the Local copy only).
   ========================================================================== */
/* Silent preview: the video over its poster, and its toned twin inside the colour treatment.
   Both stay invisible until the video is really playing, then fade in together — no flash. */
.husky-grid .hg-pv,
.husky-grid .hg-pv-tone {
	position: absolute !important;
	inset: 0;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	pointer-events: none;
	opacity: 0;
	transition: opacity 700ms cubic-bezier(.4, 0, .2, 1);
}
.hg-tile.pv-on .hg-pv,
.hg-tile.pv-on .hg-pv-tone { opacity: 1; }
/* Featured tiles: the hover title a touch larger, in proportion to the tile */
@media (min-width: 600px) {
	.hg-tile.is-featured .hg-info { padding: 0 24px; }
	.hg-tile.is-featured .hg-title { font-size: 20px; }
}
/* (phones show the previews too since 24 Oct — husky-grid.js plays one at a time there) */
/* Black and white: a plain monochrome copy instead of the colour treatment; hover / focus fades to
   the real colours and back (never snaps). */
.husky-grid .hg-mono .hg-tone .hg-tint,
.husky-grid .hg-mono .hg-tone .hg-wash { display: none; }
.husky-grid .hg-mono .hg-tone-img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.husky-grid .hg-mono .hg-tone {
	filter: none;
	transition: opacity var(--hg-mono-fade, 320ms) cubic-bezier(.4, 0, .2, 1);
}
/* Header backdrop: one layer behind the whole fixed header — the artwork scrolling underneath is
   softly blurred (strongest at the top, easing off lower down) under a restrained black gradient
   (--hg-glass-tint at the top, eased to nothing at the bottom), so the logo, menu and HW.FM read
   on any artwork without a box around anything. Over the black page it is simply black. */
html.hg-xp-glass-on #navbar-top { background-color: transparent !important; }
html.hg-xp-glass-on .hs-player { background: transparent !important; }   /* the radio sits on the shared backdrop */
.hg-xp-glass {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 150px;
	z-index: -1;                 /* inside the header, underneath its contents: the logo, menu and HW.FM stay on top */
	pointer-events: none;
	/* eased (not linear), so there's no visible line where it ends */
	background: linear-gradient(to bottom,
		rgba(0, 0, 0, var(--hg-glass-tint, .45)) 0%,
		rgba(0, 0, 0, calc(var(--hg-glass-tint, .45) * .97)) 40%,
		rgba(0, 0, 0, calc(var(--hg-glass-tint, .45) * .9)) 60%,
		rgba(0, 0, 0, calc(var(--hg-glass-tint, .45) * .66)) 72%,
		rgba(0, 0, 0, calc(var(--hg-glass-tint, .45) * .38)) 83%,
		rgba(0, 0, 0, calc(var(--hg-glass-tint, .45) * .14)) 93%,
		rgba(0, 0, 0, 0) 100%);
}
.hg-xp-glass-l {
	position: absolute;
	inset: 0;
	display: block;
	-webkit-backdrop-filter: blur(var(--b, 8px)) saturate(1.35);
	backdrop-filter: blur(var(--b, 8px)) saturate(1.35);
	-webkit-mask-image: linear-gradient(to bottom, #000 var(--solid, 50%), transparent var(--clear, 80%));
	mask-image: linear-gradient(to bottom, #000 var(--solid, 50%), transparent var(--clear, 80%));
}
/* HW.FM drop-downs (station list, track deck, waveform panel): the same frosted glass as the header —
   the artwork behind softly blurred under a dark tint, no black box and no frame. Only with the header
   backdrop on; Husky Sound's own styles are untouched. */
html.hg-xp-glass-on .fm-list,
html.hg-xp-glass-on .fm-deck,
html.hg-xp-glass-on .fm-scope-panel {
	background: rgba(0, 0, 0, var(--hg-drop-tint, .62)) !important;
	border-color: transparent !important;
	-webkit-backdrop-filter: blur(18px) saturate(1.35);
	backdrop-filter: blur(18px) saturate(1.35);
}
html.hg-xp-glass-on .fm-opt:hover,
html.hg-xp-glass-on .fm-opt:focus,
html.hg-xp-glass-on .fm-opt.is-lit { background: rgba(255, 255, 255, .08); }
html.hg-xp-glass-on .fm-opt.is-sel .fm-sw { box-shadow: 0 0 0 2px rgba(0, 0, 0, .6), 0 0 0 3px var(--fm-c); }
/* while a project opens or closes, the middle blur layers rest (the top and the soft bottom edge stay) */
html.hg-xp-moving .hg-xp-glass-l:not(:first-child):not(:last-child) { display: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.hg-xp-glass, html.hg-xp-glass-on .fm-list, html.hg-xp-glass-on .fm-deck, html.hg-xp-glass-on .fm-scope-panel { --hg-drop-tint: .9; }
	.hg-xp-glass { --hg-glass-tint: .7 !important; }   /* no blur available: a little darker instead (beats the inline value) */
}
@media (prefers-reduced-transparency: reduce) {
	.hg-xp-glass { --hg-glass-tint: .85 !important; }
	.hg-xp-glass-l, html.hg-xp-glass-on .fm-list, html.hg-xp-glass-on .fm-deck, html.hg-xp-glass-on .fm-scope-panel { -webkit-backdrop-filter: none; backdrop-filter: none; }
	html.hg-xp-glass-on .fm-list, html.hg-xp-glass-on .fm-deck, html.hg-xp-glass-on .fm-scope-panel { --hg-drop-tint: .92; }
}

/* HW.FM pixel character: tapping him turns the sound on/off. His drawing reaches well beyond the
   little 9 × 13 px spot he stands on — LEISURE STUDIES' deckchair and sun go ~25 px to the right and
   above — so the tap area covers everything he can draw, the same for every station. (Nothing sits
   to his right; it stops short of the HW.FM dial on the left and the station line below.) */
.hs-player .fm-stage::after { content: ""; position: absolute; top: -7px; bottom: -3px; left: -5px; right: -27px; }

/* ---- Search (0.35.0) ------------------------------------------------------------------------------ */
/* The main pages' H1: read by search engines and screen readers, not drawn (the page looks as before). */
.husky-sr {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important;
}
/* Grid tiles are real links now: never let a theme link style (underline, colour) reach them. */
.husky-grid a.hg-hit, .husky-grid a.hg-hit:hover, .husky-grid a.hg-hit:focus { text-decoration: none !important; color: inherit !important; border: 0 !important; }
.husky-grid a.hg-hit * { text-decoration: none !important; }

/* A project's own page (/project/…): the black Husky look, full site width like the HUSKY page. */
.blogposts-post:has(.husky-project) .blogposts-meta,
.blogposts-post:has(.husky-project) .blogposts-post-heading,
.blogposts-post:has(.husky-project) .blogposts-post-category,
.blogposts-post:has(.husky-project) .blogposts-thumbnail { display: none !important; }
.blogposts-post:has(.husky-project) .blogposts-post-content { padding-top: clamp(36px, 4.6vw, 80px) !important; }
.husky-project {
	--hp-w: min(1170px, calc(100vw - 60px));
	--hp-font: Helvetica, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
	width: var(--hp-w) !important;
	max-width: none !important;
	margin: 0 0 clamp(64px, 8vw, 120px) calc((100% - var(--hp-w)) / 2) !important;
	color: #fff;
	font-family: var(--hp-font);
}
@media (max-width: 599px) { .husky-project { --hp-w: calc(100vw - 32px); } }
.husky-project p, .husky-project a, .husky-project h1 { font-family: var(--hp-font) !important; }
.husky-project .hp-kicker { margin: 0 0 18px !important; font-size: 11px !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #777 !important; }
.husky-project .hp-kicker a { color: #fff !important; text-decoration: none !important; }
.husky-project .hp-kicker a:hover, .husky-project .hp-back a:hover { color: #00f0ff !important; }
.husky-project .hp-title { margin: 0 0 .25em !important; font-size: clamp(40px, 6vw, 96px) !important; line-height: .95 !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: -.01em; color: #fff !important; }
.husky-project .hp-line2 { margin: 0 0 6px !important; font-size: clamp(16px, 1.6vw, 22px) !important; color: #bbb !important; }
.husky-project .hp-meta { margin: 0 0 clamp(24px, 3vw, 40px) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a !important; }
.husky-project .hp-media { display: grid; gap: clamp(16px, 2vw, 28px); }
.husky-project .hp-piece { margin: 0 !important; }
.husky-project .hp-piece img, .husky-project .hp-piece video {
	display: block; width: auto !important; max-width: 100% !important; height: auto !important; max-height: 86vh; margin: 0 !important; background: #111;
}
/* videos fill the column from the first paint (their width/height give the shape), so nothing below jumps when they load */
.husky-project .hp-video video { width: 100% !important; }
.husky-project .hp-desc { margin: clamp(24px, 3vw, 40px) 0 0; max-width: 36em; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.45; color: #fff; }
.husky-project .hp-desc p { margin: 0 0 1em !important; font-size: inherit !important; line-height: inherit !important; color: inherit !important; }
.husky-project .hp-desc a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.husky-project .hp-back { margin: clamp(24px, 3vw, 40px) 0 0 !important; font-size: 13px !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.husky-project .hp-back a { color: #fff !important; text-decoration: none !important; }
.husky-project a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* ==================================================================
   Oct 28 handoff
   ================================================================== */

/* 7. RÉSUMÉ: the text drifts slowly through RGB CMY (10 s a lap). The blue and red are a touch lighter
   than the palette so the small type stays readable on black. Reduced motion: plain white. */
@property --ha-rc { syntax: "<color>"; inherits: false; initial-value: #ffffff; }
@keyframes ha-resume-rgb {
	0%, 100% { --ha-rc: #ff4d63; } 16.6% { --ha-rc: #ffe600; } 33.3% { --ha-rc: #00e64d; }
	50% { --ha-rc: #00f0ff; } 66.6% { --ha-rc: #7d93ff; } 83.3% { --ha-rc: #ff2bd6; }
}
@media (prefers-reduced-motion: no-preference) {
	/* (the base rule says color: #fff !important, so the colour comes in through a custom property) */
	.husky-page .ha-resume { color: var(--ha-rc, #fff) !important; animation: ha-resume-rgb 10s linear infinite; }
}

/* 8. Project titles, desktop pointer only: the lettering splits into tiny RGB offsets for a moment as
   the title appears, then settles back (220 ms). Nothing on touch; nothing with reduced motion. */
@keyframes hg-chroma {
	0%   { text-shadow: 0 0 0 rgba(255, 31, 61, 0), 0 0 0 rgba(0, 240, 255, 0); }
	40%  { text-shadow: -2px 0 0 rgba(255, 31, 61, .9), 2px 0 0 rgba(0, 240, 255, .9), 0 1px 0 rgba(255, 230, 0, .55); }
	100% { text-shadow: 0 0 0 rgba(255, 31, 61, 0), 0 0 0 rgba(0, 240, 255, 0), 0 0 0 rgba(255, 230, 0, 0); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.hg-tile:not(.is-expanded) .hg-hit:hover .hg-title { animation: hg-chroma 220ms cubic-bezier(.2, .7, .3, 1) 80ms both; }
}

/* 10. A line while something is genuinely slow (see waitNote in husky-grid.js) */
.hg-wait {
	position: absolute; left: 14px; bottom: 14px; z-index: 6;
	padding: 6px 9px;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font: 700 11px/1 var(--hg-font, Helvetica, Arial, sans-serif);
	letter-spacing: .14em; text-transform: uppercase;
	pointer-events: none;
	opacity: 0; transition: opacity .35s ease;
}
.hg-wait.is-on { opacity: 1; animation: hg-li-rgb 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hg-wait.is-on { animation: none; } }

/* 12A + 12B. Above WORK: what and where — small, quiet, never a banner */
.hg-intro {
	--hg-width: min(1170px, calc(100vw - 60px));
	box-sizing: border-box;
	width: var(--hg-width) !important;
	max-width: none !important;
	margin: clamp(28px, 3vw, 44px) 0 18px calc((100% - var(--hg-width)) / 2) !important;
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
	text-transform: uppercase;
}
.hg-intro p { margin: 0 !important; padding: 0 !important; }
.hg-intro, .hg-intro *, .hg-outro, .hg-outro * { font-family: Helvetica, "Helvetica Neue", Arial, sans-serif !important; text-transform: uppercase !important; }
.hg-caps { font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .14em; font-weight: 700; color: #fff !important; }
.hg-cap-g { white-space: nowrap; }
.hg-cap-br { display: none; }
.hg-cap { color: #fff !important; font-size: inherit !important; font-weight: 700 !important; line-height: inherit !important; letter-spacing: inherit !important; }
.hg-cap-sep { color: #555 !important; }
button.hg-cap {
	appearance: none; -webkit-appearance: none;
	background: none; border: 0; border-radius: 0; margin: 0; padding: 0 0 2px;
	cursor: pointer;
	background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
	background-size: 0 1px; background-position: 0 100%;
	transition: background-size .3s ease, color .3s ease;
}
/* each term has its own colour from the palette (set on the button) on hover / when it is the active filter */
button.hg-cap:hover, button.hg-cap:focus-visible, button.hg-cap[aria-pressed="true"] { color: var(--hg-cap-c, #00f0ff) !important; background-size: 100% 1px; }
button.hg-cap:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hg-intro p.hg-studio, .hg-intro p.hg-studio span { color: #8a8a8a !important; }
.hg-studio { font-size: 11px !important; line-height: 1.6 !important; letter-spacing: .14em; color: #8a8a8a !important; text-align: right; }
.hg-studio > span { white-space: nowrap; }
.hg-studio > span + span::before { content: "— "; color: #444 !important; }

/* 12C. Below WORK: the invitation to CONTACT */
.hg-outro {
	--hg-width: min(1170px, calc(100vw - 60px));
	box-sizing: border-box;
	width: var(--hg-width) !important;
	max-width: none !important;
	margin: clamp(-48px, -4vw, -24px) 0 clamp(64px, 9vw, 120px) calc((100% - var(--hg-width)) / 2) !important;
	font-family: Helvetica, "Helvetica Neue", Arial, sans-serif;
	text-transform: uppercase;
	color: #fff;
}
.hg-outro p { margin: 0 !important; padding: 0 !important; font-weight: 700; letter-spacing: .04em; }
.hg-outro-q { font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .14em !important; color: #8a8a8a !important; }
.hg-outro-a { color: #fff !important; font-size: clamp(26px, 3.4vw, 44px) !important; line-height: 1.1 !important; margin-top: 6px !important; }
.hg-outro-link {
	position: relative; display: inline-block;
	margin-top: 22px; padding: 0 0 8px;
	color: #fff !important; text-decoration: none !important;
	font: 700 13px/1 Helvetica, "Helvetica Neue", Arial, sans-serif; letter-spacing: .14em;
	overflow: hidden;
}
.hg-outro-link .husky-colors { display: inline-block; white-space: nowrap; }
.hg-outro-link::before, .hg-outro-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.hg-outro-link::after { background: rgba(255, 255, 255, .5); transition: background 300ms ease 200ms; }
.hg-outro-link::before { z-index: 1; width: 60%; background: linear-gradient(90deg, transparent, #ff1f1f, #ffe600, #00e64d, #00f0ff, #3d5cff, #ff2bd6, transparent); transform: translateX(-110%); }
.hg-outro-link:hover::after, .hg-outro-link:focus-visible::after { background: #00f0ff; }
.hg-outro-link:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
@media (prefers-reduced-motion: no-preference) {
	.hg-outro-link:hover::before, .hg-outro-link:focus-visible::before { animation: hc-sweep 520ms cubic-bezier(.3, .1, .3, 1) both; }
}

@media (max-width: 599px) {
	.hg-intro, .hg-outro { --hg-width: calc(100vw - 32px); }
	.hg-intro { display: block; margin-top: 36px !important; margin-bottom: 14px !important; }
	.hg-caps { font-size: 12px !important; line-height: 2 !important; letter-spacing: .12em; }
	.hg-cap-g { display: inline; }
	.hg-cap-br { display: inline; }
	button.hg-cap { padding: 6px 0 !important; margin: -6px 0 !important; }   /* taller tap target, same look */
	.hg-studio { margin-top: 8px !important; text-align: left; font-size: 10px !important; }
	.hg-studio > span { display: block; }
	.hg-studio > span + span::before { content: none; }
	.hg-outro { margin-top: -40px !important; }
}

/* FILTER with a count, e.g. "FILTER (1)": always one line, at every width */
a.hg-filter-link, a.hg-filter-link span, a.hg-filter-link .hg-count { white-space: nowrap !important; }
smp-nav-content:has(a.hg-filter-link) { flex-shrink: 0 !important; }

/* "Home" at the front of the capabilities line: a little house; its window drifts through RGB CMY */
button.hg-home {
	appearance: none; -webkit-appearance: none;
	position: relative; display: inline-block; vertical-align: middle; top: -1px;   /* (0.58.5) 'middle', not a baseline offset: Safari and Chrome put an empty button's baseline in different places */
	width: 20px; height: 18px; margin: 0 14px 0 0 !important; padding: 0 !important;
	background: none !important; border: 0; border-radius: 0; cursor: pointer; color: #fff;
}
button.hg-home svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: miter; stroke-linecap: square; transition: stroke .3s ease; }
.hg-home-win {
	position: absolute; left: 7px; top: 9px; width: 6px; height: 5px;
	background: linear-gradient(135deg, #ff1f3d, #ff2bd6 16%, #3d5cff 33%, #00f0ff 50%, #00e64d 66%, #ffe600 83%, #ff1f3d);
	background-size: 400% 400%;
	animation: ha-drift 7s linear infinite alternate;
}
button.hg-home:hover svg, button.hg-home:focus-visible svg { stroke: #00f0ff; }
button.hg-home:hover .hg-home-win, button.hg-home:focus-visible .hg-home-win { animation-duration: 2.4s; }
button.hg-home:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
button.hg-home[aria-pressed="false"] svg { stroke: #fff; }
@media (prefers-reduced-motion: reduce) { .hg-home-win { animation: none; background: #00f0ff; } }
@media (max-width: 599px) {
	button.hg-home { width: 22px; height: 20px; margin-right: 12px !important; }
	button.hg-home::after { content: ""; position: absolute; inset: -12px; }   /* bigger tap target, same look */
	.hg-home-win { left: 7.7px; top: 10px; width: 6.6px; height: 5.6px; }
}

/* SURPRISE ME ↗ — at the end of the capabilities line, quieter than the terms */
button.hg-surprise {
	appearance: none; -webkit-appearance: none;
	background: none !important; border: 0; border-radius: 0; margin: 0 0 0 18px !important; padding: 0 0 2px !important;
	color: #8a8a8a !important; font-size: inherit !important; font-weight: 700 !important; letter-spacing: inherit !important;
	cursor: pointer; white-space: nowrap;
	background-image: linear-gradient(currentColor, currentColor) !important; background-repeat: no-repeat !important;
	background-size: 0 1px !important; background-position: 0 100% !important;
	transition: background-size .3s ease, color .3s ease;
}
button.hg-surprise:hover, button.hg-surprise:focus-visible { color: var(--ha-rc, #fff) !important; background-size: 100% 1px !important; animation: ha-resume-rgb 3s linear infinite; }
button.hg-surprise:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { button.hg-surprise:hover, button.hg-surprise:focus-visible { animation: none; color: #00f0ff !important; } }
@media (max-width: 599px) { button.hg-surprise { margin-left: 14px !important; padding: 6px 0 !important; margin-top: -6px !important; margin-bottom: -6px !important; } }

/* First-visit prompt: floats over the top corner of the grid (no layout change) */
.husky-grid .hg-touch {
	position: absolute; left: 10px; top: 10px; z-index: 30; margin: 0 !important;
	padding: 7px 10px !important; background: rgba(0, 0, 0, .78);
	font: 700 11px/1 Helvetica, "Helvetica Neue", Arial, sans-serif !important; letter-spacing: .16em !important;
	text-transform: uppercase !important; color: #fff !important; pointer-events: none;
	opacity: 0; transform: translateY(-4px); transition: opacity .5s ease, transform .5s ease;
}
.husky-grid .hg-touch.is-on { opacity: 1; transform: none; color: var(--ha-rc, #fff) !important; animation: ha-resume-rgb 6s linear infinite; }
@media (prefers-reduced-motion: reduce) { .husky-grid .hg-touch { transform: none; } .husky-grid .hg-touch.is-on { animation: none; } }

/* HW.FM — lives here so the husky-sound plugin is untouched */
/* Oct 31: station-change reactions (~0.5 s, the now-playing line + waveform only) */
@media (prefers-reduced-motion: no-preference) {
	.hs-player.fm-react-ambient .fm-now, .hs-player.fm-react-ambient .fm-scope { animation: fm-r-ambient 600ms ease-out both; }
	.hs-player.fm-react-dub .fm-now, .hs-player.fm-react-dub .fm-scope { animation: fm-r-dub 560ms ease-out both; }
	.hs-player.fm-react-disco .fm-now, .hs-player.fm-react-disco .fm-scope { animation: fm-r-disco 520ms steps(6, end) both; }
	.hs-player.fm-react-electronic .fm-now, .hs-player.fm-react-electronic .fm-scope { animation: fm-r-electronic 420ms steps(5, end) both; }
	.hs-player.fm-react-electro .fm-now, .hs-player.fm-react-electro .fm-scope { animation: fm-r-electro 480ms cubic-bezier(.2, .7, .3, 1) both; }
	.hs-player.fm-react-classical .fm-now, .hs-player.fm-react-classical .fm-scope { animation: fm-r-classical 760ms cubic-bezier(.22, 1, .36, 1) both; }
}
/* Classical: a slow, warm swell — the line lifts a touch and brightens like a hall going quiet */
@keyframes fm-r-classical { 0% { opacity: .2; transform: translateY(3px); filter: sepia(.6) brightness(1.25); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes fm-r-ambient { 0% { opacity: .15; filter: blur(2.5px); } 100% { opacity: 1; filter: blur(0); } }
@keyframes fm-r-dub {
	0% { filter: drop-shadow(0 0 0 rgba(243, 189, 84, 0)); }
	35% { filter: drop-shadow(0 0 7px rgba(243, 189, 84, .95)) brightness(1.35); }
	100% { filter: drop-shadow(0 0 0 rgba(243, 189, 84, 0)); }
}
@keyframes fm-r-disco {
	0% { filter: saturate(3) hue-rotate(0deg) brightness(1.5); } 33% { filter: saturate(3) hue-rotate(120deg) brightness(1.5); }
	66% { filter: saturate(3) hue-rotate(240deg) brightness(1.3); } 100% { filter: none; }
}
@keyframes fm-r-electronic {
	0% { text-shadow: -2px 0 #ff1f3d, 2px 0 #00f0ff; filter: drop-shadow(-2px 0 #ff1f3d) drop-shadow(2px 0 #00f0ff); }
	50% { text-shadow: 2px 0 #ff1f3d, -2px 0 #00f0ff; filter: drop-shadow(2px 0 #ff1f3d) drop-shadow(-2px 0 #00f0ff); }
	100% { text-shadow: none; filter: none; }
}
@keyframes fm-r-electro { 0% { clip-path: inset(0 100% 0 0); filter: brightness(1.6); } 100% { clip-path: inset(0 0 0 0); filter: none; } }

/* right side of the WORK intro */
.hg-intro-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 599px) { .hg-intro-r { align-items: flex-start; } }

/* PROJECT MAGNETISM: neighbours' pictures lean toward the hovered project, inside their frames */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.husky-grid .hg-tile > .hg-hit > :is(.hg-media, .hg-tone) { transition: transform 620ms cubic-bezier(.34, 1.56, .64, 1); }
	.husky-grid .hg-tile.hg-mag > .hg-hit > :is(.hg-media, .hg-tone) { transform: translate(var(--hg-mx, 0), var(--hg-my, 0)) scale(1.03); transition-duration: 420ms; }
}
/* SURPRISE ME's reason ("Also Memphis, TN"), shown for a few seconds */
.hg-why { display: inline-block; margin-left: 10px; font-size: inherit; font-weight: 400; letter-spacing: .1em; color: #8a8a8a; opacity: 0; transition: opacity .4s ease; white-space: nowrap; }
.hg-why.is-on { opacity: 1; }
.hg-why:empty { display: none; }

/* ==================================================================
   FUNKYTOWN / SERIOUS MODE (Phase 4)
   ================================================================== */
/* the master switch in the menu */
.hw-mode-li { list-style: none; }
button.hw-mode {
	appearance: none; -webkit-appearance: none; background: none; border: 0; border-radius: 0; margin: 0; padding: 0;
	color: inherit; cursor: pointer; white-space: nowrap; text-transform: uppercase;
}
button.hw-mode:hover { color: var(--ha-rc, #fff); animation: ha-resume-rgb 3s linear infinite; }
html.hw-serious button.hw-mode:hover { animation: none; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
button.hw-mode:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 991px) {
	/* phones/tablets: the switch gets its own line under the menu, at the left */
	smp-nav-content[data-module=menu] nav ul { flex-wrap: wrap !important; }
	smp-nav-content[data-module=menu] nav ul > li.hw-mode-li { order: 9; flex-basis: 100%; margin-top: 10px !important; text-align: left; }
	#content-holder .transition-wrap { padding-top: 88px; }
}

/* --- Serious Mode: the artwork in its own colours, no overlays, no play --- */
.husky-grid .hg-tone, .husky-grid .hg-hit > .hg-tint, .husky-grid .hg-hit > .hg-wash { transition: opacity 700ms ease; }
html.hw-serious .husky-grid .hg-tone,
html.hw-serious .husky-grid .hg-hit > .hg-tint,
html.hw-serious .husky-grid .hg-hit > .hg-wash,
html.hw-serious .husky-grid .hg-shade { opacity: 0 !important; }
html.hw-serious .husky-grid .hg-mono .hg-img, html.hw-serious .husky-grid .hg-img { filter: none !important; }
html.hw-serious .husky-grid .hg-pv, html.hw-serious .husky-grid .hg-pv-tone { opacity: 0 !important; }
html.hw-serious .husky-grid .hg-hit { background: #0b0b0b; }
html.hw-serious .hg-audio-badge, html.hw-serious .hg-touch, html.hw-serious .hg-ghost { display: none !important; }
/* the grid composition: tiles carry a caption under the picture */
.husky-grid.hg-serious .hg-tile { overflow: visible; }
.husky-grid.hg-serious .hg-tile:not(.is-lifted) > .hg-hit { bottom: var(--hg-scap, 46px); }
.husky-grid.hg-serious[data-serious="a"] { --hg-scap: 50px; }
.husky-grid.hg-serious[data-serious="b"] { --hg-scap: 40px; }
.husky-grid.hg-serious[data-serious="c"] { --hg-scap: 46px; }
.husky-grid.hg-serious .hg-tile:not(.is-lifted) .hg-info { display: none; }
.hg-scap { display: none; }
.husky-grid.hg-serious .hg-tile:not(.is-lifted) > .hg-scap {
	position: absolute; left: 0; right: 0; bottom: 0; height: var(--hg-scap, 46px);
	display: flex; flex-direction: column; justify-content: flex-start; gap: 3px; padding-top: 12px; box-sizing: border-box;
	pointer-events: none; overflow: hidden; font-family: var(--hg-font);
}
.hg-scap-t { line-height: 1.3 !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-scap-m { line-height: 1.3 !important; font-size: 11px; letter-spacing: .06em; color: #7a7a7a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.husky-grid.hg-serious[data-serious="b"] .hg-scap-t { font-weight: 400; letter-spacing: .18em; font-size: 11px; }
.husky-grid.hg-serious[data-serious="b"] .hg-scap-m { display: none; }
.husky-grid.hg-serious[data-serious="a"] .hg-scap-t { font-size: 13px; letter-spacing: .1em; }
/* a quiet hover: the picture lifts a little, the title underlines */
.husky-grid.hg-serious .hg-hit .hg-img { transition: opacity .35s ease; }
.husky-grid.hg-serious .hg-tile:hover .hg-img { opacity: .88; }
.husky-grid.hg-serious .hg-tile:hover .hg-scap-t { text-decoration: underline; text-underline-offset: 4px; }
.husky-grid.hg-serious .hg-hit:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* the rest of the site steps out of its colours */
html.hw-serious .husky-logo .hl-letter, html.hw-serious .husky-colors .hl-letter { color: #fff !important; }
html.hw-serious .hs-char { display: none !important; }
html.hw-serious .hg-view-li { display: none !important; }
html.hw-serious .hg-home-win { animation: none !important; background: #fff !important; }
html.hw-serious button.hg-cap:hover, html.hw-serious button.hg-cap:focus-visible, html.hw-serious button.hg-cap[aria-pressed="true"] { color: #fff !important; }
html.hw-serious .husky-page .ha-resume, html.hw-serious button.hg-surprise:hover, html.hw-serious .hg-li-nav button, html.hw-serious .hg-li-count,
html.hw-serious .fm-caret, html.hw-serious .hg-wait.is-on { animation: none !important; }
html.hw-serious .husky-page .ha-resume { color: #fff !important; }
html.hw-serious .hg-li-nav button, html.hw-serious .hg-li-count { color: #fff !important; }
html.hw-serious [class*="fm-react-"] .fm-now, html.hw-serious [class*="fm-react-"] .fm-scope { animation: none !important; }
html.hw-serious .husky-grid .hg-tile:not(.is-expanded) .hg-hit:hover .hg-title { animation: none !important; }
html.hw-serious .husky-grid .hg-tile > .hg-hit > :is(.hg-media, .hg-tone) { transform: none !important; }

/* development-only picker for the three Serious layouts */
.hw-dev { position: fixed; left: 16px; bottom: 16px; z-index: 99990; display: flex; gap: 6px; align-items: center; padding: 8px 10px; background: rgba(20, 20, 20, .92); border: 1px solid #333; font: 700 10px/1 Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #777; }
.hw-dev button { appearance: none; background: none; border: 1px solid #444; color: #aaa; font: inherit; letter-spacing: inherit; padding: 6px 8px; cursor: pointer; }
.hw-dev button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
@media (prefers-reduced-motion: reduce) { .husky-grid .hg-tone, .husky-grid .hg-hit > .hg-tint, .husky-grid .hg-hit > .hg-wash { transition: none; } }

/* HW.FM steps out of its colours too (the music plays on) */
html.hw-serious .hs-player, html.hw-serious .fm-list, html.hw-serious .fm-opt { --fm-c: #ffffff !important; }
html.hw-serious .fm-st { color: #fff !important; }
html.hw-serious .fm-scope, html.hw-serious .fm-scope-panel { filter: grayscale(1) brightness(1.4); }
html.hw-serious .fm-sw { filter: grayscale(1); }

/* ==================================================================
   SERIOUS MODE — visual direction (Phase 4 addendum)
   A White space · B Black space · C Hybrid. Swiss-modernist: a shared 12-column grid, 1px construction
   lines through the empty space, oversized cropped type, small metadata, artwork in its own colours.
   ================================================================== */
:root { --hw-paper: #efede8; --hw-ink: #111110; --hw-night: #0b0b0b; --hw-soft: #eeece6; }
.husky-grid.hg-serious > .hg-stage { position: relative; z-index: 1; }
.hg-sdecor { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 800ms ease; }
.hg-sdecor.is-on { opacity: 1; }
html:not(.hw-serious) .hg-sdecor { opacity: 0; }
.hg-sband { position: absolute; overflow: hidden; }
.hg-sband.is-light { background: var(--hw-paper); }
.hg-sband.is-dark { background: var(--hw-night); }
.hg-sline { position: absolute; top: 0; bottom: 0; width: 1px; }
.hg-srule { position: absolute; left: 0; right: 0; height: 1px; }
.hg-sband.is-light .hg-sline, .hg-sband.is-light .hg-srule { background: rgba(17, 17, 16, .09); }
.hg-sband.is-dark .hg-sline, .hg-sband.is-dark .hg-srule { background: rgba(238, 236, 230, .075); }
/* the oversized word: cropped by the top of its section and by the right edge of the screen */
.hg-sword {
	position: absolute; top: 0; left: 0; right: 0; box-sizing: border-box;
	display: flex; align-items: flex-end; overflow: hidden; white-space: nowrap;
	font: 700 min(26vw, 460px)/.74 Helvetica, "Helvetica Neue", Arial, sans-serif; letter-spacing: .02em; text-transform: uppercase;
	padding-bottom: 0;
}
.hg-sband.is-light .hg-sword { color: var(--hw-ink); }
.hg-sband.is-dark .hg-sword { color: var(--hw-soft); }
html[data-hw-style="b"] .hg-sband.is-dark .hg-sword { color: #262624; }            /* B: the word as a quiet shadow */
@media (max-width: 599px) { .hg-sword { font-size: 30vw; } }

/* captions take the tone of their section */
.husky-grid.hg-serious .hg-tile.hg-on-light .hg-scap-t { color: var(--hw-ink); }
.husky-grid.hg-serious .hg-tile.hg-on-light .hg-scap-m { color: #6d6b66; }
.husky-grid.hg-serious .hg-tile.hg-on-light .hg-hit { background: #e2e0da; }
.husky-grid.hg-serious .hg-tile.hg-on-light .hg-hit:focus-visible { outline-color: var(--hw-ink); }
.husky-grid.hg-serious .hg-tile.hg-on-dark .hg-scap-t { color: var(--hw-soft); }

/* A — WHITE SPACE: the whole page turns to paper and ink */
html.hw-serious[data-hw-style="a"], html.hw-serious[data-hw-style="a"] body,
html.hw-serious[data-hw-style="a"] #content-holder, html.hw-serious[data-hw-style="a"] .content-container,
html.hw-serious[data-hw-style="a"] .transition-wrap, html.hw-serious[data-hw-style="a"] .smp-content-wrapper,
html.hw-serious[data-hw-style="a"] section, html.hw-serious[data-hw-style="a"] .semplice-footer { background-color: var(--hw-paper) !important; }
html.hw-serious[data-hw-style="a"] .hg-xp-glass { background: linear-gradient(to bottom, rgba(239, 237, 232, .92) 0%, rgba(239, 237, 232, .85) 60%, rgba(239, 237, 232, 0) 100%) !important; }
html.hw-serious[data-hw-style="a"] .hg-xp-glass-l { display: none !important; }
html.hw-serious[data-hw-style="a"] smp-nav-content a, html.hw-serious[data-hw-style="a"] smp-nav-content a span,
html.hw-serious[data-hw-style="a"] button.hw-mode, html.hw-serious[data-hw-style="a"] .hg-view button,
html.hw-serious[data-hw-style="a"] .husky-logo, html.hw-serious[data-hw-style="a"] .husky-logo .hl-letter,
html.hw-serious[data-hw-style="a"] .hs-toggle, html.hw-serious[data-hw-style="a"] .fm-st, html.hw-serious[data-hw-style="a"] .fm-dial,
html.hw-serious[data-hw-style="a"] .hg-caps, html.hw-serious[data-hw-style="a"] .hg-cap, html.hw-serious[data-hw-style="a"] .hg-outro, html.hw-serious[data-hw-style="a"] .hg-outro p,
html.hw-serious[data-hw-style="a"] .hg-outro-link { color: var(--hw-ink) !important; }
html.hw-serious[data-hw-style="a"] .hg-studio, html.hw-serious[data-hw-style="a"] .hg-studio span,
html.hw-serious[data-hw-style="a"] .fm-tr, html.hw-serious[data-hw-style="a"] .fm-now, html.hw-serious[data-hw-style="a"] button.hg-surprise,
html.hw-serious[data-hw-style="a"] button.hg-tv, html.hw-serious[data-hw-style="a"] .hg-outro-q, html.hw-serious[data-hw-style="a"] .hg-why { color: #6d6b66 !important; }
html.hw-serious[data-hw-style="a"] .hs-player, html.hw-serious[data-hw-style="a"] .fm-list, html.hw-serious[data-hw-style="a"] .fm-opt { --fm-c: var(--hw-ink) !important; }
html.hw-serious[data-hw-style="a"] .fm-list, html.hw-serious[data-hw-style="a"] .fm-deck { background: rgba(239, 237, 232, .97) !important; }
html.hw-serious[data-hw-style="a"] .fm-scope, html.hw-serious[data-hw-style="a"] .fm-scope-panel { filter: grayscale(1) invert(1) brightness(.6); }
html.hw-serious[data-hw-style="a"] .hg-home svg { stroke: var(--hw-ink); }
html.hw-serious[data-hw-style="a"] .hg-home-win { background: var(--hw-ink) !important; }
html.hw-serious[data-hw-style="a"] .hg-filter-panel { background: var(--hw-paper) !important; color: var(--hw-ink) !important; }
html.hw-serious[data-hw-style="a"] .hg-filter-panel button { color: var(--hw-ink) !important; }
html.hw-serious[data-hw-style="a"] .hg-outro-link::after { background: rgba(17, 17, 16, .4); }
html.hw-serious[data-hw-style="a"] button.hw-mode:focus-visible, html.hw-serious[data-hw-style="a"] .hg-intro button:focus-visible { outline-color: var(--hw-ink); }

/* B — BLACK SPACE: near-black, soft white, charcoal divisions */
html.hw-serious[data-hw-style="b"] body, html.hw-serious[data-hw-style="b"] #content-holder { background-color: var(--hw-night) !important; }
html.hw-serious[data-hw-style="b"] .husky-logo .hl-letter, html.hw-serious[data-hw-style="b"] smp-nav-content a span { color: var(--hw-soft) !important; }

/* the mode change itself: backgrounds and type ease over with the reflow */
html.hw-serious body, html body { transition: background-color 800ms ease; }
@media (prefers-reduced-motion: reduce) { .hg-sdecor, html body { transition: none !important; } }

/* Serious: architectural drawing layer — fine grid, row datums, registration crosses, drafting notes */
.hg-sline.is-fine { opacity: .45; }
.hg-sband.is-light .hg-sline.is-fine { background: rgba(17, 17, 16, .045); opacity: 1; }
.hg-sband.is-dark .hg-sline.is-fine { background: rgba(238, 236, 230, .035); opacity: 1; }
.hg-srule.is-row { opacity: .8; }
.hg-scross { position: absolute; width: 11px; height: 11px; margin: -5px 0 0 -5px; }
.hg-scross::before, .hg-scross::after { content: ""; position: absolute; }
.hg-scross::before { left: 5px; top: 0; width: 1px; height: 11px; }
.hg-scross::after { top: 5px; left: 0; height: 1px; width: 11px; }
.hg-sband.is-light .hg-scross::before, .hg-sband.is-light .hg-scross::after { background: rgba(17, 17, 16, .42); }
.hg-sband.is-dark .hg-scross::before, .hg-sband.is-dark .hg-scross::after { background: rgba(238, 236, 230, .38); }
.hg-snote {
	position: absolute; white-space: nowrap;
	font: 400 9px/1 "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; letter-spacing: .12em; text-transform: uppercase;
}
.hg-sband.is-light .hg-snote { color: rgba(17, 17, 16, .42); }
.hg-sband.is-dark .hg-snote { color: rgba(238, 236, 230, .36); }
.hg-snote.is-sec { text-align: right; line-height: 1.6; font-family: Helvetica, "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .16em; }
.hg-sband.is-light .hg-snote.is-sec { color: rgba(17, 17, 16, .7); }
.hg-sband.is-dark .hg-snote.is-sec { color: rgba(238, 236, 230, .6); }
/* the big word sits behind the section label */
.hg-sword { z-index: 0; }
.hg-snote, .hg-scross { z-index: 1; }

/* ---- Serious typography (Typography Lab) — see Grid.prototype.tfxBind --------------------------------
   Resting state is the normal state: these only hide/offset things while .tfx-* is set by the script,
   so without JS, with reduced motion, or after a reveal, everything reads as before. */
.hg-sw-d, .hg-sw-in { display: inline-block; }
.hg-snote.is-sec { overflow: hidden; }
.hg-snote.is-sec .hg-sw-in { display: block; }
/* A — Editorial Reveal: up 20px from behind the word's own clipping edge */
.hg-sdecor.tfx-a .hg-sw-in { transform: translate3d(0, 20px, 0); opacity: 0; transition: transform 750ms cubic-bezier(.22, 1, .36, 1), opacity 750ms cubic-bezier(.22, 1, .36, 1); }
.hg-sdecor.tfx-a .hg-snote.is-sec .hg-sw-in { transform: translate3d(0, 12px, 0); }
.hg-sdecor.tfx-a .hg-sband.is-in .hg-sw-in { transform: none; opacity: 1; }
/* B — Architectural Rule: the datum (and each row hairline) draws left → right */
.hg-sdecor.tfx-b .hg-srule { transform: scaleX(0); transform-origin: 0 50%; transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.hg-sdecor.tfx-b .hg-sband.is-in > .hg-srule:not(.is-row), .hg-sdecor.tfx-b .hg-srule.is-row.is-in { transform: none; }
/* the rule leads the word by 100ms; the small label follows the word */
.hg-sdecor.tfx-a .hg-snote.is-sec .hg-sw-in { transition-delay: 180ms; }
.hg-sdecor.tfx-a.tfx-b .hg-snote.is-sec .hg-sw-in { transition-delay: 280ms; }
/* the big word's transitions in one list, so A, C and J combine without fighting (delay from --tfx-d) */
.hg-sdecor:is(.tfx-a, .tfx-c, .tfx-j) .hg-sword .hg-sw-in {
	transition-property: transform, opacity, letter-spacing, color;
	transition-duration: 750ms, 750ms, 1400ms, 1100ms;
	transition-timing-function: cubic-bezier(.22, 1, .36, 1);
	transition-delay: var(--tfx-d, 0ms), var(--tfx-d, 0ms), var(--tfx-d, 0ms), calc(var(--tfx-d, 0ms) + 380ms);
}
.hg-sdecor.tfx-a.tfx-b .hg-sword .hg-sw-in { --tfx-d: 100ms; }
/* C — Letterspacing Breath (lab): arrives a little open, settles to the set spacing */
.hg-sdecor.tfx-c .hg-sword .hg-sw-in { letter-spacing: .055em; }
.hg-sdecor.tfx-c .hg-sband.is-in .hg-sword .hg-sw-in { letter-spacing: .02em; }
/* J — Outline to Ink (lab): a 1px outline first, then the ink fills in */
.hg-sdecor.tfx-j .hg-sband.is-light .hg-sword .hg-sw-in { color: rgba(17, 17, 16, 0); -webkit-text-stroke: 1px var(--hw-ink); }
.hg-sdecor.tfx-j .hg-sband.is-dark .hg-sword .hg-sw-in { color: rgba(238, 236, 230, 0); -webkit-text-stroke: 1px var(--hw-soft); }
html[data-hw-style="b"] .hg-sdecor.tfx-j .hg-sband.is-dark .hg-sword .hg-sw-in { color: rgba(38, 38, 36, 0); -webkit-text-stroke-color: #262624; }
.hg-sdecor.tfx-j .hg-sband.is-in .hg-sword .hg-sw-in { color: inherit; }
/* D / E move the outer span from script (transform only) */
.hg-sw-d { will-change: auto; }
/* rebuilding, or showing what was already seen: no transitions */
.hg-sdecor.tfx-instant *, .hg-sdecor.tfx-instant *::before, .hg-sdecor.tfx-instant *::after { transition: none !important; }
/* G — gallery-label captions: title, then the details 120ms later */
.husky-grid.tfx-g .hg-scap:not(.is-in) .hg-scap-t, .husky-grid.tfx-g .hg-scap:not(.is-in) .hg-scap-m { opacity: 0; transform: translate3d(0, 6px, 0); }
.husky-grid.tfx-g .hg-scap-t, .husky-grid.tfx-g .hg-scap-m { transition: opacity 600ms cubic-bezier(.22, 1, .36, 1), transform 600ms cubic-bezier(.22, 1, .36, 1); }
.husky-grid.tfx-g .hg-scap-m { transition-delay: 120ms; }
.husky-grid.tfx-g .hg-scap-t, .husky-grid.tfx-g .hg-scap-m { display: block; }
.husky-grid.tfx-instant .hg-scap * { transition: none !important; }
/* I — hairline underline under the caption title on hover / keyboard focus */
.husky-grid.tfx-i .hg-scap-t { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 520ms cubic-bezier(.22, 1, .36, 1); padding-bottom: 1px; }
.husky-grid.tfx-i .hg-tile:hover .hg-scap-t, .husky-grid.tfx-i .hg-tile:focus-within .hg-scap-t { background-size: 100% 1px; }
/* F — running head, fixed in the left margin (same type as the section label) */
.hg-runhead {
	position: fixed; left: 0; z-index: 40; pointer-events: none; overflow: hidden; text-align: right;
	font: 700 10px/1.6 Helvetica, "Helvetica Neue", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase;
	color: rgba(17, 17, 16, .7); opacity: 0; transition: opacity 400ms ease, color 400ms ease;
}
.hg-runhead.is-dark { color: rgba(238, 236, 230, .6); }
.hg-runhead.is-on { opacity: 1; }
html:not(.hw-serious) .hg-runhead { display: none; }
.hg-runhead-in { display: block; }
.hg-runhead-in.is-in { animation: hg-runhead-in 600ms cubic-bezier(.22, 1, .36, 1); }
@keyframes hg-runhead-in { from { transform: translate3d(0, 12px, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) { .hg-runhead { display: none; } }
@media (prefers-reduced-motion: reduce) {
	.hg-runhead-in.is-in { animation: none; }
	.husky-grid.tfx-g .hg-scap-t, .husky-grid.tfx-g .hg-scap-m { opacity: 1 !important; transform: none !important; transition: none !important; }
	.husky-grid.tfx-i .hg-scap-t { transition: none; }
	.hg-sdecor .hg-sw-in { color: inherit !important; -webkit-text-stroke: 0 !important; }
	.hg-sdecor .hg-sw-in, .hg-sdecor .hg-srule { transform: none !important; opacity: 1 !important; transition: none !important; }
	.hg-sw-d { transform: none !important; }
}
/* Typography Lab panel (administrators, Serious mode) — right-hand side, draggable like the others */
.hg-lab.hg-typelab { left: auto; right: 16px; top: 150px; bottom: auto; z-index: 99991; }
@media (max-width: 600px) { .hg-lab.hg-typelab { left: 8px; right: 8px; top: 76px; width: auto; } }
/* I replaces the plain hover underline */
.husky-grid.hg-serious.tfx-i .hg-tile:hover .hg-scap-t { text-decoration: none; }
.husky-grid.tfx-i .hg-scap-t { align-self: flex-start; max-width: 100%; box-sizing: border-box; }
/* #6 mock-up (lab only): the details line in an italic serif */
html[data-hw-serif] .husky-grid.hg-serious .hg-scap-m { font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 13px; }
html[data-hw-serif="instrument"] .husky-grid.hg-serious .hg-scap-m { font-family: "Instrument Serif", Georgia, serif; font-size: 14px; }
html[data-hw-serif="garamond"] .husky-grid.hg-serious .hg-scap-m { font-family: "EB Garamond", Georgia, serif; }
html[data-hw-serif="cormorant"] .husky-grid.hg-serious .hg-scap-m { font-family: "Cormorant Garamond", Georgia, serif; font-size: 14px; font-weight: 500; }
.hg-typelab .hg-lab-modes { margin-bottom: 4px; }
/* ---- Display-font experiment (Typography Lab only): the big section words, nothing else ---- */
html[data-hw-disp] .hg-sword { letter-spacing: -.012em; font-weight: 400; }
html[data-hw-disp="cooper"] .hg-sword { font-family: "Cooper Black Lab", Helvetica, Arial, sans-serif; font-weight: 900; }
html[data-hw-disp="bowlby"] .hg-sword { font-family: "Bowlby One", Helvetica, Arial, sans-serif; }
html[data-hw-disp="fredoka"] .hg-sword { font-family: Fredoka, Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: -.02em; }
html[data-hw-disp="fraunces"] .hg-sword { font-family: Fraunces, Helvetica, Arial, sans-serif; font-weight: 900; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -.02em; }
html[data-hw-disp][data-hw-disp-case="lower"] .hg-sword { text-transform: lowercase; }
html[data-hw-disp] .hg-sdecor.tfx-c .hg-sword .hg-sw-in { letter-spacing: .02em; }
html[data-hw-disp] .hg-sdecor.tfx-c .hg-sband.is-in .hg-sword .hg-sw-in { letter-spacing: inherit; }
.hg-sw-base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
/* the "flood" family: heavy geometric, round o's, packed so tight the letters touch */
html[data-hw-disp="poppins"] .hg-sword { font-family: Poppins, Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -.075em; }
html[data-hw-disp="lexend"] .hg-sword { font-family: Lexend, Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -.075em; }
html[data-hw-disp="outfit"] .hg-sword { font-family: Outfit, Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -.06em; }
html[data-hw-disp="montserrat"] .hg-sword { font-family: Montserrat, Helvetica, Arial, sans-serif; font-weight: 900; letter-spacing: -.07em; }
/* ---- Serious display face (site default): Outfit Black, SIL Open Font License (fonts/OFL-Outfit.txt) ---- */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: block; }   /* (6.2) block, not swap: no Helvetica-then-Outfit jump and re-fit of the big words while the page settles */
/* the display words use the font's own kerning plus the pair table in husky-grid.js (KERN) */
html[data-hw-disp] .hg-sword { font-kerning: normal; font-variant-ligatures: none; }
.hg-k { display: inline; }
/* "works" under HUSKY (Serious): same face, same tracking, placed in the descender zone by dispWorks() */
.hg-sw-d { position: relative; }
.hg-sw-sub { position: absolute; left: 0; top: 0; line-height: 1; white-space: nowrap; letter-spacing: -.06em; pointer-events: none; }
.hg-sw-subb { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
/* ---- Phase 5: Oversized Type Handoff (Serious) ---- */
/* the big words take their entrance from the scroll, so the timed reveal (A) stands down for them */
.hg-sdecor.tfx-k .hg-sword .hg-sw-in { transform: none !important; opacity: 1 !important; }
/* … and so does C (Letterspacing Breath): the big words keep one spacing, or a long word ("photography") snaps narrower mid-scroll */
.hg-sdecor.tfx-k .hg-sword .hg-sw-in { letter-spacing: inherit !important; transition-property: color !important; transition-duration: 1100ms !important; }
.hg-sw-d { will-change: transform; }
/* pictures follow a beat behind (a variable, so it never fights the grid's own placement of the tiles) */
html.hw-serious .husky-grid.tfx-k .hg-tile:not(.is-lifted):not(.is-expanded) > .hg-hit,
html.hw-serious .husky-grid.tfx-k .hg-tile:not(.is-lifted):not(.is-expanded) > .hg-scap { translate: 0 var(--hg-follow, 0px); }
@media (prefers-reduced-motion: reduce) {
	.hg-sw-d { transform: none !important; opacity: 1 !important; }
	html.hw-serious .husky-grid .hg-tile > .hg-hit, html.hw-serious .husky-grid .hg-tile > .hg-scap { translate: none !important; }
}
/* ---- Phase 5: HUSKY LABS dock (administrators only — built by husky-grid.js when the server allows labs) ---- */
.hw-labs { position: fixed; left: 16px; bottom: 16px; z-index: 99995; width: 312px; max-width: calc(100vw - 32px); font: 12px/1.3 Helvetica, "Helvetica Neue", Arial, sans-serif; color: #fff; }
.hw-labs[hidden] { display: none; }
.hw-labs-tab { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 12px; background: rgba(0, 0, 0, .9); border: 1px solid rgba(255, 255, 255, .22); font: 700 10px/1 Helvetica, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #fff;
	background-image: linear-gradient(90deg, #ff3b30, #ff8a00, #ffd400, #34c759, #00d1e0, #2f6bff, #8e44ff, #ff3fa4); background-size: 100% 2px; background-repeat: no-repeat; background-position: left bottom; }
.hw-labs-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hw-labs-n { color: rgba(255, 255, 255, .5); letter-spacing: .08em; }
.hw-labs-ch { margin-left: auto; transition: transform .2s ease; }
.hw-labs.is-open .hw-labs-ch { transform: rotate(180deg); }
.hw-labs-panel { display: none; flex-direction: column; gap: 6px; max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; margin-bottom: 6px; }
.hw-labs.is-open .hw-labs-panel { display: flex; }
.hw-labs { display: flex; flex-direction: column-reverse; }
.hw-labs .hg-lab, .hw-labs .hw-dev { position: static !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: auto !important; z-index: auto !important; margin: 0 !important; }
.hw-labs .hg-lab .hg-lab-body { max-height: none !important; min-height: 0 !important; }
.hw-labs .hg-lab-head { cursor: default; }
.hw-labs .hw-dev { flex-wrap: wrap; }
@media (max-width: 600px) { .hw-labs { left: 8px; bottom: 8px; width: calc(100vw - 16px); } }
/* ---- Phase 5: header in Serious — solid, no blur: it takes the colour of the section passing under it (ink over the
   black sections, paper over the off-white ones), with a short clean edge so the tops of the big words aren't veiled.
   Over paper the menu, logo and radio switch to ink so they stay readable. (husky-grid.js sets data-hw-head.) ---- */
html.hw-serious .hg-xp-glass {
	height: 96px !important;
	background: linear-gradient(to bottom, var(--hw-head-bg, #0b0b0b) 0%, var(--hw-head-bg, #0b0b0b) 82%, transparent 100%) !important;
	transition: --hw-head-bg .3s ease;
}
html.hw-serious .hg-xp-glass-l { display: none !important; }
html.hw-serious[data-hw-head="dark"] { --hw-head-bg: #0b0b0b; }
html.hw-serious[data-hw-head="light"] { --hw-head-bg: #efede8; }
html.hw-serious[data-hw-head="light"] smp-nav-content a, html.hw-serious[data-hw-head="light"] smp-nav-content a span,
html.hw-serious[data-hw-head="light"] button.hw-mode,
html.hw-serious[data-hw-head="light"] .husky-logo, html.hw-serious[data-hw-head="light"] .husky-logo .hl-letter,
html.hw-serious[data-hw-head="light"] .hs-toggle, html.hw-serious[data-hw-head="light"] .fm-st, html.hw-serious[data-hw-head="light"] .fm-dial { color: var(--hw-ink) !important; transition: color .3s ease; }
html.hw-serious[data-hw-head="light"] .fm-tr, html.hw-serious[data-hw-head="light"] .fm-now, html.hw-serious[data-hw-head="light"] .fm-stereo { color: #6d6b66 !important; }
html.hw-serious[data-hw-head="light"] .hs-player { --fm-c: var(--hw-ink) !important; }
html.hw-serious[data-hw-head="light"] .fm-scope { filter: grayscale(1) invert(1) brightness(.6); }
html.hw-serious .hg-xp-glass-l { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
/* the handoff: the grid's lines sit over the big word (it rises "behind the grid"); the held word is composited */
.hg-sdecor.tfx-k .hg-sline, .hg-sdecor.tfx-k .hg-srule, .hg-sdecor.tfx-k .hg-scross { z-index: 1; }
.hg-sdecor.tfx-k .hg-sword { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .hg-sdecor .hg-sword { transform: none !important; opacity: 1 !important; } }
/* the handoff's HELD phase, done natively: the band clips (overflow: clip keeps sticky working, unlike hidden), the
   word sticks just under the menu until its band ends — then the seam carries it away. No script in the loop. */
.hg-sdecor.tfx-k.is-hold .hg-sband { overflow: clip; }
.hg-sdecor.tfx-k.is-hold .hg-sword { position: -webkit-sticky; position: sticky; top: var(--hg-hold, 98px); left: auto; right: auto; width: 100%; }
/* Semplice's page wrapper clips with overflow: hidden, which makes it the "scroller" for sticky things — so the held
   word stuck to the wrapper instead of the window. overflow: clip clips exactly the same but isn't a scroller.
   (Only where clip is supported; theme files untouched.) */
@supports (overflow: clip) {
	html.hw-serious .sections { overflow: clip !important; }
}
@property --hw-head-bg { syntax: '<color>'; inherits: true; initial-value: #0b0b0b; }

/* ==== Phase 6: THE EDITORIAL TAKEOVER (Serious) — husky-grid.js "HWEd" ===========================================
   The menu bar retracts (letters evaporate, the curtain lifts); a quiet index on the grid's left edge and a small
   monochrome HW.FM replace it. Set in the Serious display face (Outfit). Without JavaScript nothing here applies. */
.hw-index, .hw-radio { display: none; }
html.hw-ed:not(.hw-ed-run) .smp-navbar { transform: translateY(calc(-100% - 40px)) !important; visibility: hidden !important; pointer-events: none !important; }
/* a Serious page load: no flash of the old bar — but if the script never arrives, the bar comes back after 4s */
html.hw-ed-pre .smp-navbar { visibility: hidden; animation: hw-ed-fallback 0s linear 4s forwards; }
@keyframes hw-ed-fallback { to { visibility: visible; } }
html.hw-ed-run .smp-navbar { pointer-events: none !important; }
.hw-ch { display: inline-block; white-space: pre; }
/* the space the bar used: the work page closes it (the index lives in what's left) */
html:is(.hw-ed, .hw-ed-pre) .blogposts-post:has(.husky-grid) .blogposts-post-content { padding-top: 0 !important; }
/* the page behind the first section matches the black sections, so the index area reads as part of the sheet, not a bar */
html.hw-ed:not([data-hw-style="a"]) body, html.hw-ed:not([data-hw-style="a"]) .transition-wrap { background-color: var(--hw-night, #0b0b0b) !important; }
/* FUNKYTOWN-only: hidden in Serious, untouched otherwise */
html.hw-serious .hg-intro .hg-surprise, html.hw-serious .hg-intro .hg-tv { display: none !important; }

/* the index: four quiet lines' worth of type on one row, aligned to the grid's left edge, no bar behind it */
html.hw-ed .hw-index {
	display: block; position: fixed; top: 22px; left: var(--hw-ed-left, 24px); right: 16px; z-index: 99990;
	color: #eceae6; mix-blend-mode: difference; pointer-events: none;   /* paper on the black sections, ink on paper, readable over the work */
}
.hw-ix { display: flex; flex-wrap: wrap; gap: 4px 34px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hw-ix li { margin: 0 !important; padding: 0 !important; list-style: none !important; opacity: 0; transform: translateY(8px); transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .5s cubic-bezier(.22, 1, .36, 1); }
html.hw-ed-in .hw-ix li { opacity: 1; transform: none; pointer-events: auto; }
html.hw-ed-in .hw-ix li:nth-child(2) { transition-delay: 60ms; }
html.hw-ed-in .hw-ix li:nth-child(3) { transition-delay: 120ms; }
html.hw-ed-in .hw-ix li:nth-child(4) { transition-delay: 180ms; }
.hw-ix-a, .hw-r-b {
	all: unset; box-sizing: border-box; cursor: pointer;
	font-family: Outfit, Helvetica, Arial, sans-serif !important; font-weight: 900 !important; font-size: 13px; line-height: 1;
	letter-spacing: .07em; text-transform: uppercase; color: inherit; -webkit-font-smoothing: antialiased;
}
.hw-ix-a { display: inline-flex; align-items: baseline; gap: 9px; padding: 8px 0; }
.hw-ix-n { font-size: 9px; letter-spacing: .12em; opacity: .5; }
.hw-ix-t { padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s cubic-bezier(.22, 1, .36, 1); }
.hw-ix-a:hover .hw-ix-t, .hw-ix-a:focus-visible .hw-ix-t { background-size: 100% 1px; }
.hw-ix-a:focus-visible, .hw-r-b:focus-visible, .hw-r-list li:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.hw-fl { display: inline; }
@media (prefers-reduced-motion: reduce) {
	.hw-ix li { transition: opacity .2s linear; transform: none; }
	.hw-ix-funk:hover .hw-ix-t, .hw-ix-funk:focus-visible .hw-ix-t { background-image: linear-gradient(90deg, #ff2a2a, #16d35a, #2b5cff, #00d7e8, #ff2bd6, #ffd400); background-size: 100% 2px; }
}

/* the radio: lower left on the same edge; inverts against whatever passes under it (black ↔ paper) */
html.hw-ed .hw-radio {
	display: block; position: fixed; left: var(--hw-ed-left, 24px); bottom: 20px; z-index: 99990; max-width: calc(100vw - 32px);
	opacity: 0; transform: translateY(8px); pointer-events: none;
	transition: opacity .5s cubic-bezier(.22, 1, .36, 1) .24s, transform .5s cubic-bezier(.22, 1, .36, 1) .24s;
}
html.hw-ed-in .hw-radio { opacity: 1; transform: none; pointer-events: auto; }
.hw-radio .hw-r-top, .hw-radio .hw-r-row { mix-blend-mode: difference; color: #eceae6; margin: 0 !important; padding: 0 !important; }
.hw-r-top { display: flex; gap: 12px; align-items: baseline; font: 900 9px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase; margin-bottom: 6px !important; }
.hw-r-brand { opacity: .55; }
.hw-r-state { display: inline-flex; align-items: center; gap: 6px; }
.hw-r-state::before { content: ""; width: 6px; height: 6px; box-sizing: border-box; border: 1px solid currentColor; }
.hw-radio[data-state="playing"] .hw-r-state::before { background: currentColor; }
.hw-radio[data-state="off"] .hw-r-state::before { border-style: dashed; }
.hw-r-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 22px; }
.hw-r-b { font-size: 11px; padding: 4px 0; }
.hw-r-play { min-width: 3.6em; }
.hw-r-gen { opacity: .55; }
.hw-r-caret { display: inline-block; width: 0; height: 0; margin-left: 8px; vertical-align: 2px; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid currentColor; transition: transform .2s ease; }
.hw-radio.is-open .hw-r-caret { transform: rotate(180deg); }
.hw-r-snd { opacity: .55; }
.hw-r-snd:hover, .hw-r-snd:focus-visible { opacity: 1; }
.hw-r-list {
	position: absolute; left: -12px; bottom: calc(100% + 10px); min-width: 300px; margin: 0 !important; padding: 8px 0 !important; list-style: none !important;
	background: #0b0b0b; color: #eceae6; border: 1px solid rgba(236, 234, 230, .22);
}
.hw-r-list[hidden] { display: none; }
.hw-r-list li { display: grid; grid-template-columns: 2.2em 1fr; column-gap: 8px; padding: 8px 12px !important; margin: 0 !important; cursor: pointer; font: 900 11px/1.25 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .07em; text-transform: uppercase; outline-offset: -3px !important; }
.hw-r-list li:hover, .hw-r-list li:focus-visible { background: rgba(236, 234, 230, .08); }
.hw-r-list li[aria-selected="true"] .hw-r-on::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-radius: 50%; background: currentColor; vertical-align: 2px; }   /* (6.3.3) drawn, not a glyph Outfit lacks */
.hw-r-ch { opacity: .45; grid-row: span 2; }
.hw-r-g { grid-column: 2; font-size: 9px; letter-spacing: .12em; opacity: .5; }
/* the labs dock (administrators) moves to the lower right so the radio keeps the corner */
html.hw-ed .hw-labs { left: auto; right: 16px; bottom: 64px; }
@media (max-width: 599px) {
	html.hw-ed .hw-index { top: 14px; }                       /* (left: on the grid's edge, like everything else) */
	.hw-ix { gap: 2px 18px; }
	.hw-ix-a { font-size: 11px; padding: 7px 0; gap: 6px; }
	html.hw-ed .hw-radio { left: 16px; bottom: 14px; }
	.hw-r-gen { display: none; }
	.hw-r-list { min-width: 0; width: calc(100vw - 32px); left: 0; }
	html.hw-ed .hw-labs { bottom: 84px; }
	html.hw-ed .hg-intro { margin-top: 4px !important; }      /* the index sits in the space above it */
}

/* ==== Phase 6.1: the editorial masthead (Serious) — the capabilities row as tiny labels on the page, not a control:
   no house icon, no box, set in the display face, smaller than the index; each word goes to its section. ==== */
html.hw-serious .hg-intro button.hg-home { display: none !important; }
html.hw-serious .hg-intro .hg-caps, html.hw-serious .hg-intro .hg-caps * { font-family: Outfit, Helvetica, Arial, sans-serif !important; }
html.hw-serious .hg-intro .hg-caps { font-size: 10px !important; font-weight: 900 !important; letter-spacing: .14em !important; line-height: 1.9 !important; color: var(--hw-soft, #eeece6) !important; -webkit-font-smoothing: antialiased; }
html.hw-serious .hg-intro .hg-cap { font-weight: 900 !important; color: var(--hw-soft, #eeece6) !important; }
html.hw-serious .hg-intro .hg-cap-sep { color: #57564f !important; }
html.hw-serious .hg-intro button.hg-cap {
	padding: 0 0 3px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background-color: transparent !important;
	background-image: linear-gradient(currentColor, currentColor) !important; background-size: 0 1px !important; background-position: 0 100% !important; background-repeat: no-repeat !important;
	transition: background-size .35s cubic-bezier(.22, 1, .36, 1) !important;
}
html.hw-serious .hg-intro button.hg-cap:hover, html.hw-serious .hg-intro button.hg-cap:focus-visible { color: var(--hw-soft, #eeece6) !important; background-size: 100% 1px !important; }
html.hw-serious .hg-intro button.hg-cap:focus-visible { outline: 1px solid currentColor !important; outline-offset: 5px !important; }
html.hw-serious[data-hw-style="a"] .hg-intro .hg-caps, html.hw-serious[data-hw-style="a"] .hg-intro .hg-cap,
html.hw-serious[data-hw-style="a"] .hg-intro button.hg-cap:hover, html.hw-serious[data-hw-style="a"] .hg-intro button.hg-cap:focus-visible { color: var(--hw-ink) !important; }
@media (prefers-reduced-motion: reduce) { html.hw-serious .hg-intro button.hg-cap { transition: none !important; } }
@media (max-width: 599px) { html.hw-serious .hg-intro button.hg-cap { padding: 6px 0 3px !important; margin: -6px 0 0 !important; } }
/* tablets and phones: Semplice pads the page for its (now retracted) mobile bar — the index needs far less */
html:is(.hw-ed, .hw-ed-pre) .transition-wrap { padding-top: 0 !important; }

/* ==== Phase 6.2: masthead — capabilities left, studio line right, one container on one baseline ==== */
html.hw-ed .hg-intro p.hg-studio, html.hw-ed .hg-intro p.hg-studio span { color: #a3a19b !important; }      /* a touch more contrast */
@media (min-width: 600px) {
	/* desktop / tablet: the whole masthead row is anchored under the index (the user's "anchored there") */
	html.hw-ed .hg-intro {
		position: fixed !important; top: var(--hw-ed-caps-top, 58px); left: var(--hw-ed-left, 24px); margin: 0 !important; z-index: 99990;
		align-items: baseline; justify-content: space-between; mix-blend-mode: difference;
		opacity: 0; pointer-events: none; transition: opacity .5s cubic-bezier(.22, 1, .36, 1) .15s;
	}
	html.hw-ed.hw-ed-in .hg-intro { opacity: 1; pointer-events: auto; }
	html.hw-ed .hg-intro .hg-cap, html.hw-ed .hg-intro .hg-caps, html.hw-ed .hg-intro button.hg-cap:hover, html.hw-ed .hg-intro button.hg-cap:focus-visible { color: #eceae6 !important; }
	html.hw-ed .hg-intro .hg-cap-sep { color: #6b6a64 !important; }
	html.hw-ed .hg-intro-r { align-items: flex-end; }
	/* the row left the page: keep its place so HUSKY WORKS starts where it did */
	html.hw-ed .blogposts-post:has(.husky-grid) .blogposts-post-content { padding-top: calc(clamp(28px, 3vw, 44px) + 40px) !important; }
}
@media (max-width: 599px) {
	/* phones: numbered index (fixed, wraps as it needs) · capabilities · studio line · HUSKY WORKS — each its own row */
	html.hw-ed .transition-wrap { padding-top: max(0px, calc(var(--hw-ed-ix-b, 84px) + 14px - 60px)) !important; }
	html.hw-ed .hg-intro { display: flex !important; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 0 !important; margin-bottom: 0 !important; }
	html.hw-ed .hg-intro-r { align-items: flex-start; }
	html.hw-ed .hg-intro .hg-caps { line-height: 2 !important; }
}

/* ==== Phase 6.2: HW.FM on phones — a compact two-row player above Safari's toolbar and the home indicator ==== */
@media (max-width: 599px) {
	html.hw-ed .hw-radio {
		left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom));
		max-width: none; box-sizing: border-box; padding: 9px 12px 8px; background: rgba(11, 11, 11, .94); border: 1px solid rgba(236, 234, 230, .16);
	}
	.hw-radio .hw-r-top, .hw-radio .hw-r-row { mix-blend-mode: normal; }
	.hw-r-top { margin-bottom: 5px !important; padding-right: 86px !important; }
	.hw-r-row { flex-wrap: nowrap; gap: 14px; }
	.hw-r-st { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.hw-r-snd { position: absolute !important; top: 5px; right: 12px; font-size: 9px !important; letter-spacing: .14em !important; }
	.hw-r-list { left: -1px; right: -1px; width: auto; bottom: calc(100% + 6px); }
	/* the last pictures can always scroll clear of it */
	html.hw-ed .blogposts-post:has(.husky-grid) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	html.hw-ed .hw-labs { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

.hw-edlab .hw-edlab-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0; font-size: 12px; }

/* ==== Phase 6.2: the opening feature (Serious) — DESTROYER OF WORLDS under HUSKY WORKS ==== */
.hg-open-v, .hg-open-w { display: none; }
html.hw-serious .hg-opening .hg-media { position: relative; }
html.hw-serious .hg-opening .hg-open-v { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; background: transparent; }
/* the W in front: an opaque copy of that one letter, clipped to the film, kept in place with the heading's motion */
html.hw-serious .hg-opening .hg-open-w { display: block; position: absolute; inset: 0; overflow: hidden; z-index: 2; pointer-events: none; }
.hg-open-w > span { position: absolute; left: 0; top: 0; display: block; white-space: pre; line-height: 1; font-family: Outfit, Helvetica, Arial, sans-serif; font-weight: 900; text-transform: lowercase; will-change: transform; -webkit-font-smoothing: antialiased; }
/* its label: 001 — DESTROYER OF WORLDS / MOTION / EXPERIMENTAL FILM, with a fine rule */
html.hw-serious .hg-scap.hg-scap-open { border-top: 1px solid rgba(236, 234, 230, .28); padding-top: 9px; margin-top: 2px; }
html.hw-serious .hg-on-light .hg-scap.hg-scap-open { border-top-color: rgba(17, 17, 16, .28); }
html.hw-serious .hg-scap.hg-scap-open .hg-scap-t { font-family: Outfit, Helvetica, Arial, sans-serif !important; font-weight: 900 !important; letter-spacing: .1em; }
/* the theme colours links on hover (it turned the index words black — invisible under the inversion): keep ours */
.hw-index a.hw-ix-a, .hw-index a.hw-ix-a:hover, .hw-index a.hw-ix-a:focus, .hw-index a.hw-ix-a *, .hw-index a.hw-ix-a:hover * { color: inherit !important; }   /* (links only: the Funkytown button's letters animate their colour) */
.hw-index .hw-ix-funk.is-snap .hw-fl { color: var(--c) !important; }

/* ==== Phase 6.3: PRECISION RULE (replaces the Ink Shift) — the words stay still; a 1px warm-white rule draws under
   the label and the number brightens; a click lets the rule run on a little; the current page keeps a quiet rule ==== */
.hw-ix-t { position: relative; display: inline-block; background: none !important; padding-bottom: 4px; }
.hw-ix-t::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #eceae6;
	transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s cubic-bezier(.22, 1, .36, 1), right .18s ease, opacity .22s ease;
}
.hw-ix-n { opacity: .5; transition: opacity .22s ease; }
.hw-ix-nn > span + span { display: none; }
@media (hover: hover) { .hw-ix-a:hover .hw-ix-t::after { transform: scaleX(1); } .hw-ix-a:hover .hw-ix-n { opacity: .95; } }
.hw-ix-a:focus-visible .hw-ix-t::after { transform: scaleX(1); }
.hw-ix-a:focus-visible .hw-ix-n { opacity: .95; }
.hw-ix-a[aria-current="page"] .hw-ix-t::after { transform: scaleX(1); opacity: .5; }
.hw-ix-a.is-press .hw-ix-t::after { transform: scaleX(1); right: -8px; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hw-ix-t::after, .hw-ix-n { transition: none !important; } }

/* ==== Phase 6.3: THE EDITORIAL INDEX (Serious) ==== */
div.hw-exh { display: none; }   /* (the host only — html.hw-exh is the page itself) */
html.hw-serious .hg-tile.hg-exh-off:not(.is-lifted) { display: none !important; }   /* (6.3.3) not waiting for the index to be set up: no frame of the old wall */
html.hw-serious.hw-exh .hw-exh { display: block; color: #eceae6; --x-rule: rgba(236, 234, 230, .17); --x-dim: #9f9d97; }
html.hw-serious.hw-exh-open .husky-grid:not(.hg-has-lift) { display: none !important; }
/* (6.3.1) a piece opened from the index or a chapter: the gallery's own lift, over a quiet backdrop */
html.hw-serious.hw-exh .husky-grid.hg-has-lift { position: relative; z-index: 9000; }
html.hw-serious.hw-exh .husky-grid.hg-has-lift .hg-stage { z-index: 30; }
html.hw-serious.hw-exh .husky-grid.hg-has-lift .hg-tile:not(.is-lifted) { visibility: hidden; }
html.hw-serious.hw-exh .husky-grid.hg-has-lift::before { content: ''; position: fixed; inset: 0; z-index: 25; background: rgba(9, 9, 9, .9); animation: hw-x-scrim 280ms ease both; }
html.hw-serious.hw-exh.hw-exh-light .husky-grid.hg-has-lift::before { background: rgba(239, 237, 232, .94); }
@keyframes hw-x-scrim { from { opacity: 0; } }
/* in a chapter the gallery itself is not on show: it rides above the page with no height, only the opened piece visible */
html.hw-serious.hw-exh-open .husky-grid.hg-has-lift { position: fixed !important; left: 0; right: 0; top: 0; height: 0; overflow: visible; }
html.hw-serious.hw-exh-open .husky-grid.hg-has-lift > :not(.hg-stage):not(.hg-pnav) { display: none !important; }
html.hw-serious.hw-exh-open .husky-grid.hg-has-lift .hg-stage { height: 0 !important; transition: none; }
html.hw-serious.hw-exh-open .husky-grid.hg-has-lift .hg-tile:not(.is-lifted) { visibility: hidden; }
.hw-exh [hidden] { display: none !important; }
.hw-exh a { color: inherit !important; text-decoration: none !important; }
.hw-exh .hw-x-n { font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .12em; opacity: .5; transition: opacity .22s ease; }
.hw-exh .hw-x-ar { display: inline-block; transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.hw-exh :is(a, button):focus-visible { outline: 1px solid currentColor !important; outline-offset: 6px; }
/* the four rows */
.hw-x-index { padding: 40px 0 120px; }
.hw-x-rows { list-style: none !important; margin: 0 !important; padding: 0 !important; border-top: 1px solid var(--x-rule); }
.hw-x-rows li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hw-x-row {
	position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.5fr) minmax(0, 1fr) 96px 36px; align-items: baseline; gap: 0 24px;
	padding: 30px 0 26px; border-bottom: 1px solid var(--x-rule);
}
.hw-x-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #eceae6; opacity: 0; transform-origin: 0 50%; transition: opacity .22s ease; }
.hw-x-t { font: 900 clamp(40px, 5.4vw, 88px)/.86 Outfit, Helvetica, Arial, sans-serif; letter-spacing: -.045em; text-transform: lowercase; white-space: nowrap; }
.hw-x-d, .hw-x-c { font: 500 11px/1.5 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--x-dim); }
.hw-x-c { text-align: right; }
.hw-x-row .hw-x-ar { font: 400 26px/1 Outfit, Helvetica, Arial, sans-serif; justify-self: end; color: var(--x-dim); transition: transform .22s cubic-bezier(.22, 1, .36, 1), color .22s ease; }
/* Quiet Reveal: the rule brightens, the arrow steps right, the number brightens; the title doesn't move */
@media (hover: hover) {
	.hw-x-row:hover::after { opacity: .55; }
	.hw-x-row:hover .hw-x-ar { transform: translateX(5px); color: #eceae6; }
	.hw-x-row:hover .hw-x-n { opacity: .95; }
}
.hw-x-row:focus-visible::after { opacity: .55; }
.hw-x-row:focus-visible .hw-x-ar { transform: translateX(5px); color: #eceae6; }
.hw-x-row:active .hw-x-ar { transform: translateX(5px); }
.hw-x-row.is-turning::after { opacity: 1; animation: hw-rule-draw .3s cubic-bezier(.22, 1, .36, 1); }
@keyframes hw-rule-draw { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
.hw-x-allp { margin: 34px 0 0 !important; text-align: right; }
.hw-x-all { position: relative; display: inline-flex; gap: 12px; align-items: baseline; font: 900 12px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 5px; }
.hw-x-all::after, .hw-x-chnav a::after, .hw-x-back::after, .hw-x-foot a::after, .hw-x-filt button::after, .hw-x-ct::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
@media (hover: hover) {
	.hw-x-all:hover::after, .hw-x-chnav a:hover::after, .hw-x-back:hover::after, .hw-x-foot a:hover::after, .hw-x-filt button:hover::after, .hw-x-card:hover .hw-x-ct::after { transform: scaleX(1); }
	.hw-x-all:hover .hw-x-ar { transform: translateX(5px); }
}
.hw-x-all:focus-visible::after, .hw-x-chnav a:focus-visible::after, .hw-x-back:focus-visible::after, .hw-x-foot a:focus-visible::after, .hw-x-card:focus-visible .hw-x-ct::after { transform: scaleX(1); }
.hw-x-chnav a[aria-current="page"]::after, .hw-x-filt button[aria-pressed="true"]::after { transform: scaleX(1); opacity: .6; }
/* a chapter */
.hw-x-view { padding: 28px 0 0; }
.hw-x-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--x-rule); }
.hw-x-back, .hw-x-chnav a, .hw-x-foot a, .hw-x-filt button { position: relative; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 5px; }
.hw-x-chnav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.hw-x-chnav a { display: inline-flex; gap: 8px; align-items: baseline; color: var(--x-dim) !important; }
.hw-x-chnav a[aria-current="page"], .hw-x-chnav a:hover { color: #eceae6 !important; }
.hw-x-chnav .hw-x-n { font-size: 9px; }
.hw-x-head { margin: 46px 0 54px; }
.hw-x-head > .hw-x-n { display: block; margin-bottom: 14px; }
.hw-x-title { margin: 0 !important; padding: 0 !important; font: 900 clamp(84px, 15vw, 230px)/.8 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: -.055em !important; text-transform: lowercase; color: #eceae6 !important; transform-origin: 0 0; outline: none; }
.hw-x-sub { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 26px 0 0 !important; padding: 12px 0 0 !important; border-top: 1px solid var(--x-rule); font: 500 11px/1.5 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--x-dim); }
.hw-x-card { display: block; }
.hw-x-media { position: relative; display: block; overflow: hidden; background: #161615; }
.hw-x-media img, .hw-x-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-x-cap { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin-top: 12px; }
.hw-x-cap > .hw-x-n { grid-row: span 2; padding-top: 2px; }
.hw-x-ct { position: relative; justify-self: start; font: 900 13px/1.3 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 3px; grid-column: 2; }
.hw-x-cm { grid-column: 2; font: 400 12px/1.5 Outfit, Helvetica, Arial, sans-serif; color: var(--x-dim); }
.hw-x-feat { width: 66.6%; }
.hw-x-sup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 72px; align-items: start; }
.hw-x-arch { margin-top: 104px; }
.hw-x-h2, .hw-x-h3 { display: flex; justify-content: space-between; margin: 0 !important; padding: 0 0 12px !important; border-bottom: 1px solid var(--x-rule); font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase; color: #eceae6 !important; }
.hw-x-h2 span + span, .hw-x-h3 span + span { color: var(--x-dim); font-weight: 500; }
.hw-x-h3 { margin-top: 48px !important; }
.hw-x-list { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.hw-x-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; border-bottom: 1px solid var(--x-rule); }
.hw-x-card.is-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center; padding: 12px 0; }
.hw-x-card.is-row .hw-x-media { aspect-ratio: 3 / 2 !important; }
.hw-x-card.is-row .hw-x-cap { margin: 0; }
.hw-x-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 110px; padding: 18px 0 150px; border-top: 1px solid var(--x-rule); }
/* the complete archive */
.hw-x-filt { display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 28px; }
.hw-x-filt button { all: unset; position: relative; cursor: pointer; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 5px; color: var(--x-dim); }
.hw-x-filt button[aria-pressed="true"] { color: #eceae6; }
.hw-x-grid { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 18px; }
.hw-x-grid li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hw-x-card.is-tile .hw-x-media { aspect-ratio: 1 / 1 !important; }
.hw-x-card.is-tile .hw-x-ct { font-size: 11px; }
.hw-x-card.is-tile .hw-x-cm { font-size: 11px; }
@media (max-width: 899px) {
	.hw-x-row { grid-template-columns: 44px minmax(0, 1fr) 28px; padding: 22px 0 18px; }
	.hw-x-row .hw-x-d, .hw-x-row .hw-x-c { grid-column: 2; text-align: left; }
	.hw-x-row .hw-x-ar { grid-column: 3; grid-row: 1; }
	.hw-x-feat { width: 100%; }
	.hw-x-sup { grid-template-columns: 1fr 1fr; }
	.hw-x-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.hw-x-index { padding: 56px 0 120px; }
	.hw-x-row { grid-template-columns: 34px minmax(0, 1fr) 22px; gap: 0 12px; }
	.hw-x-t { font-size: 44px; }
	.hw-x-head { margin: 32px 0 36px; }
	.hw-x-sup { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
	.hw-x-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.hw-x-card.is-row { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
	.hw-x-foot { flex-wrap: wrap; padding-bottom: 130px; }
	.hw-x-chnav { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) { .hw-exh *, .hw-exh *::after { transition: none !important; animation: none !important; } }
/* (the theme colours links and headings in this column: the exhibition keeps its own) */
html.hw-serious .hw-exh, html.hw-serious .hw-exh a, html.hw-serious .hw-exh a *, html.hw-serious .hw-exh h1, html.hw-serious .hw-exh h2, html.hw-serious .hw-exh h3, html.hw-serious .hw-exh button { color: #eceae6 !important; }
html.hw-serious .hw-exh .hw-x-d, html.hw-serious .hw-exh .hw-x-c, html.hw-serious .hw-exh .hw-x-cm, html.hw-serious .hw-exh .hw-x-sub, html.hw-serious .hw-exh .hw-x-sub *, html.hw-serious .hw-exh .hw-x-row .hw-x-ar,
html.hw-serious .hw-exh .hw-x-chnav a, html.hw-serious .hw-exh .hw-x-chnav a *, html.hw-serious .hw-exh .hw-x-filt button, html.hw-serious .hw-exh .hw-x-h2 span + span, html.hw-serious .hw-exh .hw-x-h3 span + span { color: #9f9d97 !important; }
html.hw-serious .hw-exh .hw-x-chnav a[aria-current="page"], html.hw-serious .hw-exh .hw-x-chnav a[aria-current="page"] *, html.hw-serious .hw-exh .hw-x-filt button[aria-pressed="true"] { color: #eceae6 !important; }
@media (hover: hover) { html.hw-serious .hw-exh .hw-x-row:hover .hw-x-ar, html.hw-serious .hw-exh .hw-x-chnav a:hover, html.hw-serious .hw-exh .hw-x-chnav a:hover *, html.hw-serious .hw-exh .hw-x-filt button:hover { color: #eceae6 !important; } }
html.hw-serious .hw-exh .hw-x-row:focus-visible .hw-x-ar { color: #eceae6 !important; }
/* the opening band's margin label would read "1 work" here: the chapters carry the counts */
html.hw-exh .hg-sdecor .hg-snote.is-sec { visibility: hidden; }
html.hw-serious .hw-exh .hw-x-title { white-space: nowrap; }
html.hw-serious .hw-exh .hw-x-sub, html.hw-serious .hw-exh .hw-x-sub span, html.hw-serious .hw-exh .hw-x-d, html.hw-serious .hw-exh .hw-x-c, html.hw-serious .hw-exh .hw-x-cm { font-family: Outfit, Helvetica, Arial, sans-serif !important; font-weight: 500 !important; font-size: 11px !important; letter-spacing: .14em !important; text-transform: uppercase !important; line-height: 1.5 !important; }
html.hw-serious .hw-exh .hw-x-cm { font-weight: 400 !important; letter-spacing: .02em !important; text-transform: none !important; font-size: 12px !important; }
html.hw-serious .hw-exh .hw-x-allp { font-size: 0 !important; }

/* ==== Serious: one typeface everywhere — Outfit (SIL OFL, the family of the big words), in four weights.
   Regular for reading, Medium for small labels, Bold where the old type was bold, Black for the display words.
   FUNKYTOWN keeps its own type. ==== */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-regular.woff2") format("woff2"); font-weight: 100 450; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-medium.woff2") format("woff2"); font-weight: 451 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-bold.woff2") format("woff2"); font-weight: 601 850; font-style: normal; font-display: swap; }
html.hw-serious body, html.hw-serious body *:not(svg):not(code):not(pre):not(kbd) { font-family: Outfit, Helvetica, Arial, sans-serif !important; }
/* (6.3.3) …and it wins over every older rule that set Helvetica more specifically (project details, About page, intro,
   outro): the :not(#hw-no) carries an id's weight. Icon fonts keep theirs. */
html.hw-serious:not(#hw-no) body *:not(svg):not(svg *):not(code):not(pre):not(kbd):not([class*="icon"]):not([class*="dashicons"]) { font-family: Outfit, Helvetica, Arial, sans-serif !important; }
html.hw-serious body { font-weight: 400; }
/* small uppercase labels that were Helvetica Bold read best one step lighter in Outfit */
html.hw-serious .hg-intro p.hg-studio, html.hw-serious .hg-intro p.hg-studio span,
html.hw-serious .hg-scap-m, html.hw-serious .hg-snote, html.hw-serious .hg-runhead { font-weight: 500 !important; }
html.hw-serious .hg-scap-t { font-weight: 700 !important; }
/* tall pieces never outgrow the window: the featured one stays within ~76% of its height, supporting ones ~56% */
.hw-x-feat .hw-x-media { width: min(100%, calc(76vh * var(--a, 1.5))); }
.hw-x-sup .hw-x-media { width: min(100%, calc(56vh * var(--a, 1.5))); }
html.hw-serious .hw-exh .hw-x-media img, html.hw-serious .hw-exh .hw-x-media video { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; margin: 0 !important; }
@media (max-width: 899px) { .hw-x-row .hw-x-d { margin-top: 12px; } }

/* ==== Phase 6.3.1: THE TYPOGRAPHIC TAKEOVER ==== */
.hw-x-fly {
	position: fixed; z-index: 99995; margin: 0; white-space: nowrap; pointer-events: none; transform-origin: 0 0; will-change: transform;
	font-family: Outfit, Helvetica, Arial, sans-serif !important; font-weight: 900; line-height: .82; letter-spacing: -.05em; text-transform: lowercase;
}
.hw-x-panel { position: fixed; inset: 0; z-index: 99985; pointer-events: none; }
.hw-x-panel.is-light { background: #efede8; }
.hw-x-panel.is-dark { background: #0b0b0b; }
/* PHOTOGRAPHY and DESIGN open on warm off-white; MOTION, PRODUCTION and the archive stay dark */
html.hw-serious.hw-exh-open.hw-exh-light body, html.hw-serious.hw-exh-open.hw-exh-light .transition-wrap { background-color: #efede8 !important; }
html.hw-serious.hw-exh-light .hw-exh { --x-rule: rgba(17, 17, 16, .16); --x-dim: #6d6b66; }
html.hw-serious.hw-exh-light .hw-exh, html.hw-serious.hw-exh-light .hw-exh a, html.hw-serious.hw-exh-light .hw-exh a *, html.hw-serious.hw-exh-light .hw-exh h1, html.hw-serious.hw-exh-light .hw-exh h2, html.hw-serious.hw-exh-light .hw-exh h3, html.hw-serious.hw-exh-light .hw-exh button, html.hw-serious.hw-exh-light .hw-exh .hw-x-title { color: #111110 !important; }
html.hw-serious.hw-exh-light .hw-exh .hw-x-d, html.hw-serious.hw-exh-light .hw-exh .hw-x-c, html.hw-serious.hw-exh-light .hw-exh .hw-x-cm, html.hw-serious.hw-exh-light .hw-exh .hw-x-sub, html.hw-serious.hw-exh-light .hw-exh .hw-x-sub *,
html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a, html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a *, html.hw-serious.hw-exh-light .hw-exh .hw-x-h2 span + span, html.hw-serious.hw-exh-light .hw-exh .hw-x-h3 span + span { color: #6d6b66 !important; }
html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a[aria-current="page"], html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a[aria-current="page"] * { color: #111110 !important; }
html.hw-serious.hw-exh-light .hw-x-media { background: #e3e1db; }
@media (hover: hover) { html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a:hover, html.hw-serious.hw-exh-light .hw-exh .hw-x-chnav a:hover * { color: #111110 !important; } }
@media (prefers-reduced-motion: reduce) { .hw-x-fly, .hw-x-panel { display: none !important; } }

/* ==== Phase 6.3.3: HW.FM broadcast strip (Serious) — a dedicated two-row player with its own ground, kept clear of the
   page: row 1 HW.FM / state; row 2 play-pause icon · station + selector (truncates) · sound. The page reserves room for
   it at its foot (--hw-strip-h, measured), so the footer stays in normal flow and never sits under it. ==== */
html.hw-ed .hw-radio {
	left: max(var(--hw-ed-left, 24px), env(safe-area-inset-left)); right: auto; bottom: calc(16px + env(safe-area-inset-bottom));
	width: min(360px, calc(100vw - 2 * var(--hw-ed-left, 24px))); max-width: none; box-sizing: border-box;
	padding: 9px 12px 8px; background: rgba(11, 11, 11, .94); color: #eceae6; border: 1px solid rgba(236, 234, 230, .16);
}
html.hw-ed.hw-exh-light .hw-radio { background: rgba(239, 237, 232, .95); color: #111110; border-color: rgba(17, 17, 16, .16); }
html.hw-ed .hw-radio .hw-r-top, html.hw-ed .hw-radio .hw-r-row { mix-blend-mode: normal; color: inherit; }
html.hw-ed .hw-r-top { margin: 0 0 6px !important; padding: 0 !important; }
html.hw-ed .hw-r-row { display: grid !important; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; }
html.hw-ed .hw-radio button { color: inherit !important; background: none !important; border: 0 !important; box-shadow: none !important; }
html.hw-ed .hw-r-play { width: 22px; min-width: 0; height: 22px; padding: 0 !important; display: grid; place-items: center; }
.hw-r-ico { display: block; width: 8px; height: 10px; box-sizing: border-box; }
.hw-r-play[data-act="pause"] .hw-r-ico { border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hw-r-play[data-act="play"] .hw-r-ico { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; margin-left: 2px; }
html.hw-ed .hw-r-st { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; padding: 4px 0 !important; }
html.hw-ed .hw-r-snd { position: static !important; font-size: 9px !important; letter-spacing: .14em !important; white-space: nowrap; }
html.hw-ed .hw-r-list { left: -1px; right: -1px; width: auto; min-width: 0; bottom: calc(100% + 6px); }
html.hw-ed.hw-exh-light .hw-r-list { background: #efede8; color: #111110; border-color: rgba(17, 17, 16, .2); }
html.hw-ed.hw-exh-light .hw-r-list li:hover, html.hw-ed.hw-exh-light .hw-r-list li:focus-visible { background: rgba(17, 17, 16, .06); }
/* the site's own last line (HUSKY WORKS — OBJECTS OF FASCINATION) keeps the room for the strip under it, on every Serious page */
html.hw-ed .husky-tagline { padding-bottom: calc(var(--hw-strip-h, 62px) + 30px + env(safe-area-inset-bottom)) !important; }
@media (max-width: 599px) {
	html.hw-ed .hw-radio { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right)); width: auto; bottom: calc(10px + env(safe-area-inset-bottom)); }
	html.hw-ed .hw-r-top { padding-right: 0 !important; }
}

/* ==== Phase 6.3.3: archive transitions — the architectural rule sweep and the fine rule under HUSKY WORKS ==== */
.hw-x-sub { position: relative; }
.hw-x-sub.is-sweeping { border-top-color: transparent !important; }
.hw-x-sweep { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: currentColor; opacity: .55; transform-origin: 0 50%; pointer-events: none; }
.hw-x-fline { position: fixed; z-index: 99980; height: 1px; background: #eceae6; opacity: 0; transform-origin: 0 50%; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hw-x-sweep, .hw-x-fline { display: none !important; } }

/* ==== Phase 6.3.3: the Project Reveal (prototype) — the travelling copy, the wait, the backdrop on the way out ==== */
.hw-rv-clone { position: fixed; z-index: 9001; overflow: hidden; background: #000; transform-origin: 50% 50%; will-change: transform, clip-path; pointer-events: none; }
.hw-rv-clone img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; margin: 0 !important; }
.hw-rv-scrim { position: fixed; inset: 0; z-index: 9000; background: rgba(9, 9, 9, .9); pointer-events: none; }
.hw-rv-scrim.is-light { background: rgba(239, 237, 232, .94); }
.husky-grid.hw-rv-wait .hg-tile.is-lifted { visibility: hidden !important; }
.husky-grid.hw-rv-wait .hg-lift-info { opacity: 0 !important; transform: translateX(-16px) !important; transition: none !important; }
/* the reveal is its own motion: no glow, no bounce on the piece it opens */
html.hw-exh .husky-grid.hg-has-lift .hg-tile.is-lifted .hg-hit { box-shadow: 0 30px 80px rgba(0, 0, 0, .45) !important; }
html.hw-exh.hw-exh-light .husky-grid.hg-has-lift .hg-tile.is-lifted .hg-hit { box-shadow: 0 24px 60px rgba(0, 0, 0, .18) !important; }

/* ==== Phase 6.3.3: the Quiet Index (← INDEX · PREVIOUS · NEXT →) and the Chapter Counter ==== */
.hw-x-qi { display: flex; gap: 8px 28px; }
.hw-x-qi a { position: relative; display: inline-flex; gap: 8px; align-items: baseline; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 5px; }
.hw-x-qi a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.hw-x-qi a:focus-visible::after { transform: scaleX(1); }
.hw-x-qi a span { display: inline-block; transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
	.hw-x-qi a:hover::after { transform: scaleX(1); }
	.hw-x-qi a[rel="next"]:hover span { transform: translateX(4px); }
	.hw-x-qi a[rel="prev"]:hover span { transform: translateX(-4px); }
}
html.hw-serious .hw-exh .hw-x-qi a { color: #9f9d97 !important; }
html.hw-serious .hw-exh .hw-x-qi a[rel="next"], html.hw-serious .hw-exh .hw-x-qi a:hover, html.hw-serious .hw-exh .hw-x-qi a:focus-visible { color: #eceae6 !important; }
html.hw-serious.hw-exh-light .hw-exh .hw-x-qi a { color: #6d6b66 !important; }
html.hw-serious.hw-exh-light .hw-exh .hw-x-qi a[rel="next"], html.hw-serious.hw-exh-light .hw-exh .hw-x-qi a:hover, html.hw-serious.hw-exh-light .hw-exh .hw-x-qi a:focus-visible { color: #111110 !important; }
.hw-exh .hw-x-cnt { margin: 0 0 16px !important; padding: 0 !important; font: 900 11px/1.2 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase; color: #9f9d97 !important; }
html.hw-serious.hw-exh-light .hw-exh .hw-x-cnt { color: #6d6b66 !important; }
.hw-x-cnt-n { display: inline-block; overflow: hidden; vertical-align: top; }
.hw-x-cnt-n > span { display: inline-block; color: #eceae6; }
html.hw-serious.hw-exh-light .hw-x-cnt-n > span { color: #111110; }
.hw-x-cnt-d { margin: 0 .35em; opacity: .55; }
@media (max-width: 599px) { .hw-x-qi { gap: 8px 18px; } }

/* ==== Phase 6.3.3: the Image Curtain ==== */
.hw-x-media.is-veiled { clip-path: inset(0 0 100% 0); }
@media (prefers-reduced-motion: reduce) { .hw-x-media.is-veiled { clip-path: none; } }

/* ==== Phase 6.3.3: the Contact Finale — warm off-white, full width, one per view; the page's own short invitation
   steps aside in the exhibition (FUNKYTOWN keeps it). It ends the page, so it carries the room for HW.FM itself. ==== */
html.hw-serious.hw-exh .hg-outro { display: none !important; }
html.hw-ed.hw-exh .blogposts-post:has(.husky-grid) { padding-bottom: 0 !important; }
html.hw-exh body { overflow-x: clip; }
.hw-exh .hw-x-fin {
	width: 100vw; margin: clamp(96px, 12vw, 180px) 0 0 calc(50% - 50vw) !important; box-sizing: border-box;
	padding: clamp(72px, 11vw, 168px) 0 clamp(64px, 8vw, 128px) !important;
	background: #efede8; color: #2b2a27;
}
html.hw-serious.hw-exh-light .hw-exh .hw-x-fin { border-top: 1px solid rgba(17, 17, 16, .14); }
.hw-x-fin-in { box-sizing: border-box; padding: 0 var(--hw-ed-left, 24px); max-width: calc(var(--hw-ed-left, 24px) * 2 + 1170px); }
.hw-exh .hw-x-fin-q { margin: 0 0 26px !important; padding: 0 !important; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .16em !important; text-transform: uppercase; color: #77756f !important; }
html.hw-serious .hw-exh a.hw-x-fin-a { display: block; color: #2b2a27 !important; transition: color .35s ease; }
.hw-x-fin-t { display: block; font: 900 clamp(40px, 7.2vw, 124px)/.94 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: -.015em !important; text-transform: uppercase; max-width: 12.5em; }
.hw-x-fin-sq { display: inline-block; width: .4em; height: .4em; margin-left: .16em; background: currentColor; vertical-align: .02em; }
.hw-x-fin-go { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 3.4vw, 46px); font: 900 12px/1 Outfit, Helvetica, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hw-x-fin-rule { display: block; width: 64px; height: 1px; background: currentColor; transition: width .55s cubic-bezier(.22, 1, .36, 1); }
.hw-x-fin-ar { display: inline-block; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) {
	html.hw-serious .hw-exh a.hw-x-fin-a:hover { color: #0b0b0b !important; }
	.hw-x-fin-a:hover .hw-x-fin-rule { width: 168px; }
	.hw-x-fin-a:hover .hw-x-fin-ar { transform: translateX(6px); }
}
html.hw-serious .hw-exh a.hw-x-fin-a:focus-visible { color: #0b0b0b !important; outline: 1px solid currentColor; outline-offset: 10px; }
.hw-x-fin-a:focus-visible .hw-x-fin-rule { width: 168px; }
@media (max-width: 599px) {
	.hw-x-fin-in { padding: 0 16px; }
	.hw-x-fin-t { font-size: clamp(34px, 11vw, 56px) !important; }
}
@media (prefers-reduced-motion: reduce) { .hw-x-fin-rule, .hw-x-fin-ar, .hw-x-fin-a { transition: none !important; } }
html.hw-serious .hw-exh .hw-x-fin-a * { color: inherit !important; }
html.hw-serious .hw-exh .hw-x-fin-q, html.hw-serious .hw-exh .hw-x-fin-t, html.hw-serious .hw-exh .hw-x-fin-go { text-transform: uppercase !important; }
/* the finale is the end of the page: nothing of the theme's own spacing after it */
html.hw-exh .hw-exh { margin-bottom: 0 !important; }
html.hw-exh .blogposts-post-content:has(> .hw-exh), html.hw-exh smp-content:has(.hw-exh) { padding-bottom: 0 !important; }
/* in the exhibition the finale runs on into that last line: one warm off-white ending, the strip clear below the words */
html.hw-exh smp-section:has(.husky-tagline) { background: #efede8; }
html.hw-exh .husky-tagline, html.hw-exh .husky-tagline * { color: #77756f !important; }

/* ==== Phase 6.3.4: THE EDITORIAL COVER — the rule into SELECT AN AREA OF WORK, and the cover held for its entrance ==== */
.hw-exh .hw-x-ixh { position: relative; margin: clamp(40px, 5vw, 72px) 0 6px !important; padding: 14px 0 0 !important; border-top: 1px solid var(--x-rule); }
.hw-exh .hw-x-ixh-in { display: flex; justify-content: space-between; gap: 16px; margin: 0 !important; padding: 0 !important; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--x-dim) !important; }
.hw-exh .hw-x-ixh-in span:first-child { color: #eceae6 !important; }
.hw-x-ixh.is-sweeping { border-top-color: transparent !important; }
/* held (opacity / a closed mask) until the entrance starts — only on a first arrival, never longer than 3 s */
html.hw-cover-pre .hg-sword .hg-sw-in, html.hw-cover-pre .hg-sword .hg-sw-sub,
html.hw-cover-pre .hg-tile.hg-opening > .hg-scap, html.hw-cover-pre .hw-exh .hw-x-ixh,
html.hw-cover-pre .hw-exh .hw-x-row, html.hw-cover-pre .hw-exh .hw-x-allp { opacity: 0; }
html.hw-cover-pre .hg-tile.hg-opening > .hg-hit { clip-path: inset(0 100% 0 0); }
@media (prefers-reduced-motion: reduce) { html.hw-cover-pre * { opacity: 1 !important; clip-path: none !important; } }
/* (6.3.4) Serious from the first frame: before the script has arranged the page, the plain gallery wall is never shown */
html.hw-serious .husky-grid:not(.hg-ready) .hg-tile { visibility: hidden; }
/* (6.3.4) the cover runs straight into the chapters: no gallery-length gap between them */
html.hw-serious.hw-exh .husky-grid { margin-bottom: 0 !important; }
html.hw-serious.hw-exh .hw-x-index { padding-top: 0 !important; }
html.hw-serious.hw-exh .hw-exh .hw-x-ixh { margin-top: clamp(36px, 4vw, 56px) !important; }
html.hw-exh .hg-sdecor.tfx-k.is-hold .hg-sword { position: relative !important; top: auto !important; }
/* (6.3.4) the opening film's own control — only when it isn't playing by itself (autoplay refused, reduced motion,
   Save-Data); it sits beside the project link, so a click on the film still opens the project */
.hg-open-play { display: none; }
html.hw-serious .hg-tile.hg-opening.hg-open-manual > .hg-open-play {
	display: block; position: absolute; left: 10px; top: 10px; z-index: 4; margin: 0; padding: 7px 10px 6px; cursor: pointer;
	font: 900 10px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .14em; text-transform: uppercase;
	color: #eceae6 !important; background: rgba(11, 11, 11, .82) !important; border: 1px solid rgba(236, 234, 230, .3) !important; border-radius: 0 !important;
}
html.hw-serious .hg-tile.hg-opening > .hg-open-play:focus-visible { outline: 1px solid #eceae6; outline-offset: 3px; }

/* (6.3.4) previous / next while a piece is open, in the exhibition's own voice: a quiet square with a hairline, the
   arrow and the name of where it leads; no colour wheel. Light chapters get dark ink. */
html.hw-exh .hg-pn { font-family: Outfit, Helvetica, Arial, sans-serif !important; color: #eceae6; }
html.hw-exh .hg-pn-ring { width: 48px; height: 48px; border-radius: 0; background: rgba(11, 11, 11, .55); box-shadow: inset 0 0 0 1px rgba(236, 234, 230, .32); }
html.hw-exh .hg-pn-ring::before { display: none; }
html.hw-exh .hg-pn-arrow { font-size: 18px; font-weight: 900; }
html.hw-exh .hg-pn:hover .hg-pn-ring, html.hw-exh .hg-pn:focus-visible .hg-pn-ring { background: #0b0b0b; transform: none; box-shadow: inset 0 0 0 1px #eceae6; }
html.hw-exh .hg-pn-label small { font-weight: 900; color: #9f9d97; }
html.hw-exh .hg-pn-label b { font-weight: 900; color: #eceae6; }
html.hw-exh.hw-exh-light .hg-pn { color: #111110; }
html.hw-exh.hw-exh-light .hg-pn-ring { background: rgba(239, 237, 232, .7); box-shadow: inset 0 0 0 1px rgba(17, 17, 16, .3); }
html.hw-exh.hw-exh-light .hg-pn:hover .hg-pn-ring, html.hw-exh.hw-exh-light .hg-pn:focus-visible .hg-pn-ring { background: #efede8; box-shadow: inset 0 0 0 1px #111110; }
html.hw-exh.hw-exh-light .hg-pn-label b { color: #111110; }
@media (max-width: 1399px) { html.hw-exh.hw-exh-light .hg-pn-label { background: rgba(239, 237, 232, .92); } }

/* ==== Phase 6.3.5: editorial cover refinements ==== */
/* the studio line leaves the masthead (kept for screen readers) and becomes the imprint beneath WORKS */
html.hw-serious .hg-intro .hg-studio { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.hg-sw-imp { display: none; }
html.hw-serious .hg-sw-imp {
	display: block; position: absolute; top: 0; right: 0; white-space: nowrap; text-align: right; pointer-events: none; letter-spacing: .16em !important;
	font: 900 10px/1.6 Outfit, Helvetica, Arial, sans-serif !important; text-transform: uppercase !important; -webkit-font-smoothing: antialiased;
}
html.hw-serious .hg-sw-imp > span { display: block; color: #eceae6; }
html.hw-serious .hg-sw-imp > span + span { color: #9f9d97; font-weight: 500 !important; }
@media (max-width: 599px) { html.hw-serious .hg-sw-imp { font-size: 8.5px !important; letter-spacing: .14em !important; } }
/* the film: its poster frame under it; the film fades in over it once it has a frame to show */
.hg-open-poster { display: none; }
html.hw-serious .hg-opening .hg-open-poster { display: block; position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; z-index: 1; pointer-events: none; margin: 0 !important; }
html.hw-serious .hg-opening .hg-open-v { z-index: 2; opacity: 0; transition: opacity .38s ease-out; }
html.hw-serious .hg-opening .hg-open-live .hg-open-v { opacity: 1; }
html.hw-cover-pre .hg-sw-imp { opacity: 0; }
/* (6.3.5) on the editorial cover the entrance is the cover sequence's alone: the older scroll reveal (A) does not also
   lift HUSKY (two motions on one word ended in a jump) */
html.hw-exh .hg-sdecor.tfx-a .hg-sband .hg-sword .hg-sw-in, html.hw-exh .hg-sdecor .hg-sband .hg-sword .hg-sw-in { transform: none; opacity: 1; transition: none; }
/* (6.3.5) changing modes: the pieces leaving the cover fade out in place; the Serious backdrop comes and goes quicker,
   so neither mode lingers as a ghost under the other */
html.hw-serious .hg-tile.hg-exh-off.hg-exh-leaving { display: block !important; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.hg-sdecor { transition-duration: 450ms; }
html:not(.hw-serious) .hg-sdecor { transition-duration: 260ms; }

/* (6.3.6) Serious's exit before the FUNKYTOWN splash: HUSKY drops away (its letters are pinned by !important rules elsewhere) */
html.hw-sx .hg-sdecor .hg-sword .hg-sw-in, html.hw-sx .hg-sdecor.tfx-k .hg-sword .hg-sw-in, html.hw-sx .hg-sdecor.tfx-a .hg-sband .hg-sword .hg-sw-in {
	transform: translateY(70%) !important; opacity: 0 !important; --hw-swo: 0;
	transition: transform .56s cubic-bezier(.55, 0, .8, .25) 60ms, opacity .3s ease-in .32s, --hw-swo .3s ease-in .32s !important;
}
@media (prefers-reduced-motion: reduce) { html.hw-sx .hg-sdecor .hg-sword .hg-sw-in { transition: none !important; } }

/* ==== Phase 6.3.6: the Grid Reveal — held on black until the pull back begins (released by husky-grid.js; ≤ 3 s) ==== */
html.hw-gr-pre .hg-sdecor > .hg-sband:first-child,
html.hw-gr-pre nav.hw-index, html.hw-gr-pre .hg-intro, html.hw-gr-pre section.hw-radio { opacity: 0 !important; }
html.hw-gr-pre .hg-sdecor .hg-srule { transition: none !important; }
@media (prefers-reduced-motion: reduce) { html.hw-gr-pre .hg-sdecor > .hg-sband:first-child, html.hw-gr-pre nav.hw-index, html.hw-gr-pre .hg-intro, html.hw-gr-pre section.hw-radio { opacity: 1 !important; } }

/* (6.3.6) HUSKY's opacity is pinned (!important) for the scroll effects; the cover sequence fades it through this number instead */
@property --hw-swo { syntax: '<number>'; inherits: false; initial-value: 1; }
html.hw-exh .hg-sdecor .hg-sband .hg-sword .hg-sw-in, html.hw-exh .hg-sdecor.tfx-k .hg-sband .hg-sword .hg-sw-in, html.hw-exh .hg-sdecor.tfx-a .hg-sband .hg-sword .hg-sw-in { opacity: var(--hw-swo, 1) !important; }
html.hw-cover-pre .hg-sdecor .hg-sword .hg-sw-in { --hw-swo: 0; }

/* ==== Phase 6.3.7: Serious-mode video loading — the still over the player (FUNKYTOWN keeps its 3 · 2 · 1) ==== */
.hg-svp { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; object-fit: contain; background: #000; z-index: 3; pointer-events: none; }
html:not(.hw-serious) .hg-svp { display: none; }
/* chapter / archive previews: the picture underneath is the poster; the film shows only once it has a frame */
.hw-x-media video { opacity: 0; transition: opacity .36s ease-out; }
.hw-x-media.is-live video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hw-x-media video { transition: none; } }

/* ==== Phase 6.3.8: the index scroll reveal (rows below the fold; started by husky-grid.js, once per page load) ==== */
html.hw-serious .hw-exh .hw-x-row.hw-rv-wait, html.hw-serious .hw-exh .hw-x-row.hw-rv-go { border-bottom-color: transparent; }
.hw-x-row.hw-rv-wait::before, .hw-x-row.hw-rv-go::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--x-rule); transform-origin: 0 50%; pointer-events: none; }
.hw-x-row.hw-rv-wait::before { transform: scaleX(0); }
.hw-x-row.hw-rv-wait .hw-x-n, .hw-x-row.hw-rv-wait .hw-x-t { opacity: 0; }
.hw-x-row.hw-rv-go::before { animation: hw-rv-rule 600ms cubic-bezier(.22, 1, .36, 1) both; }
.hw-x-row.hw-rv-go .hw-x-n { animation: hw-rv-n 300ms cubic-bezier(.22, 1, .36, 1) 150ms both; }
.hw-x-row.hw-rv-go .hw-x-t { animation: hw-rv-t 650ms cubic-bezier(.22, 1, .36, 1) 250ms both; }
@keyframes hw-rv-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hw-rv-n { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
/* the word rises whole behind a mask whose edge stays put (the clip moves against the lift) */
@keyframes hw-rv-t { from { opacity: 1; transform: translateY(130%); clip-path: inset(-30% -6% 100% -6%); } to { opacity: 1; transform: none; clip-path: inset(-30% -6% -30% -6%); } }
@media (prefers-reduced-motion: reduce) { .hw-x-row.hw-rv-wait .hw-x-n, .hw-x-row.hw-rv-wait .hw-x-t { opacity: 1; } .hw-x-row.hw-rv-wait::before { transform: none; } .hw-x-row.hw-rv-go::before, .hw-x-row.hw-rv-go .hw-x-n, .hw-x-row.hw-rv-go .hw-x-t { animation: none; } }

/* ==== Phase 6.3.8.1: the row's supporting parts move with it; the INDEX header and the archive link too ==== */
.hw-x-row.hw-rv-wait .hw-x-d, .hw-x-row.hw-rv-wait .hw-x-c, .hw-x-row.hw-rv-wait .hw-x-ar { opacity: 0; }
.hw-x-row.hw-rv-go .hw-x-d { animation: hw-rv-up6 400ms cubic-bezier(.22, 1, .36, 1) 325ms both; }
.hw-x-row.hw-rv-go .hw-x-c { animation: hw-rv-up4 325ms cubic-bezier(.22, 1, .36, 1) 400ms both; }
.hw-x-row.hw-rv-go .hw-x-ar { animation: hw-rv-ar 300ms cubic-bezier(.22, 1, .36, 1) 500ms both; }
@keyframes hw-rv-up6 { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes hw-rv-up4 { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes hw-rv-ar { from { opacity: 0; transform: translateX(-7px); } to { opacity: 1; transform: none; } }
/* the INDEX header: its top rule draws, then INDEX / 001–004 fade in; the rule above the first row draws a beat later */
html.hw-serious .hw-exh .hw-x-ixh.hw-rv-wait, html.hw-serious .hw-exh .hw-x-ixh.hw-rv-go,
html.hw-serious .hw-exh .hw-x-rows.hw-rv-wait, html.hw-serious .hw-exh .hw-x-rows.hw-rv-go { border-top-color: transparent !important; }
.hw-x-rows.hw-rv-wait, .hw-x-rows.hw-rv-go { position: relative; }
.hw-x-ixh.hw-rv-wait::before, .hw-x-ixh.hw-rv-go::before, .hw-x-rows.hw-rv-wait::before, .hw-x-rows.hw-rv-go::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--x-rule); transform-origin: 0 50%; pointer-events: none; }
.hw-x-ixh.hw-rv-wait::before, .hw-x-rows.hw-rv-wait::before { transform: scaleX(0); }
.hw-x-ixh.hw-rv-wait .hw-x-ixh-in { opacity: 0; }
.hw-x-ixh.hw-rv-go::before { animation: hw-rv-rule 600ms cubic-bezier(.22, 1, .36, 1) both; }
.hw-x-rows.hw-rv-go::before { animation: hw-rv-rule 600ms cubic-bezier(.22, 1, .36, 1) 120ms both; }
.hw-x-ixh.hw-rv-go .hw-x-ixh-in { animation: hw-rv-fade 400ms ease-out 200ms both; }
@keyframes hw-rv-fade { from { opacity: 0; } to { opacity: 1; } }
/* VIEW COMPLETE ARCHIVE: one quiet rise as it first comes into view */
.hw-x-allp.hw-rv-wait { opacity: 0; }
.hw-x-allp.hw-rv-go { animation: hw-rv-up8 450ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes hw-rv-up8 { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.hw-x-row.hw-rv-wait .hw-x-d, .hw-x-row.hw-rv-wait .hw-x-c, .hw-x-row.hw-rv-wait .hw-x-ar, .hw-x-ixh.hw-rv-wait .hw-x-ixh-in, .hw-x-allp.hw-rv-wait { opacity: 1; }
	.hw-x-ixh.hw-rv-wait::before, .hw-x-rows.hw-rv-wait::before { transform: none; }
	.hw-x-row.hw-rv-go *, .hw-x-ixh.hw-rv-go::before, .hw-x-rows.hw-rv-go::before, .hw-x-ixh.hw-rv-go .hw-x-ixh-in, .hw-x-allp.hw-rv-go { animation: none !important; }
}

/* ==== Phase 6.3.10: ARCHIVE's departure-board letters (held at their final widths while they flip) ==== */
.hw-x-title .hw-x-flap { display: inline-block; text-align: center; transform-origin: 50% 55%; }

/* ==== 6.3.11: the masthead's fourth word — ARCHIVE in Serious, PRODUCTION (the filter) in FUNKYTOWN ==== */
html.hw-serious .hg-cap .hg-cap-fl, html:not(.hw-serious) .hg-cap .hg-cap-sl { display: none; }

/* ==== Phase 6.3.11: THE LIVING STAGE — the grid drawn behind every Serious page; the outgoing page, kept a moment ==== */
.hw-stage { display: none; }
html.hw-serious .transition-wrap.hw-stage-host { isolation: isolate; }
html.hw-serious .hw-stage { display: block; position: fixed; left: 0; right: 0; top: 144px; bottom: 0; z-index: -1; pointer-events: none; }
html.hw-serious .hw-stage-l { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(238, 236, 230, .075); }
html.hw-serious .hw-stage-l.is-fine { opacity: .45; }
html.hw-serious.hw-exh-light .hw-stage-l { background: rgba(17, 17, 16, .09); }
.hw-ghost { position: fixed; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.hw-ghost.is-lineless .hw-stage, .hw-ghost.is-lineless .hg-sline { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .hw-ghost { display: none; } }

/* ==== Phase 6.3.10: CONTACT arrival — words rise from their baseline, then each field's line draws ==== */
html.hw-serious .hc-heading.hw-cr-head .hw-cw, html.hw-serious .hc-heading.hw-cr-head .husky-colors { display: inline-block; }
html.hw-serious .hc-field.hw-cr-drawing .hc-control input, html.hw-serious .hc-field.hw-cr-drawing .hc-control textarea { border-bottom-color: transparent !important; }
.hw-cr-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform-origin: 0 50%; pointer-events: none; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hw-cr-rule { display: none; } html.hw-serious .hc-field.hw-cr-drawing .hc-control input, html.hw-serious .hc-field.hw-cr-drawing .hc-control textarea { border-bottom-color: inherit; } }
html.hw-serious.hw-cr-pre .hc-heading, html.hw-serious.hw-cr-pre .hc-field label, html.hw-serious.hw-cr-pre .hc-submit { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.hw-serious.hw-cr-pre .hc-heading, html.hw-serious.hw-cr-pre .hc-field label, html.hw-serious.hw-cr-pre .hc-submit { opacity: 1; } }

/* ==== 6.3.11: Serious Archive on phones — three columns (square crops, tight gutters; the caption shrinks to fit) ==== */
@media (max-width: 599px) {
	.hw-x-view[data-view="archive"] .hw-x-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 8px; }
	.hw-x-view[data-view="archive"] .hw-x-grid .hw-x-cap { column-gap: 6px; margin-top: 8px; }
	.hw-x-view[data-view="archive"] .hw-x-grid .hw-x-n { font-size: 8px; }
	.hw-x-view[data-view="archive"] .hw-x-grid .hw-x-card.is-tile .hw-x-ct { font-size: 10px; line-height: 1.15; overflow-wrap: anywhere; }
	.hw-x-view[data-view="archive"] .hw-x-grid .hw-x-card.is-tile .hw-x-cm { font-size: 9px; line-height: 1.25; }
}

/* ==== Phase 6.3.12 — HUSKY · THE HUMAN ELEMENT (Serious) =========================================================
   A portrait spread: the words on the left, the portrait on the right, an oversized lowercase "husky." laid across
   the portrait's lower edge; a small "02 / THE HUMAN ELEMENT" eyebrow; the opening paragraph leads, the closing one
   steps back; "I love making things because it feels good." (the owner's own line) stands on its own. FUNKYTOWN
   keeps its layout exactly: none of this applies there. */
.husky-about .hv-head, .husky-about .hv-eyebrow { display: none; }
html.hw-serious .husky-about .hv-eyebrow { display: block; margin: 0 0 34px !important; font: 900 11px/1 Outfit, Helvetica, Arial, sans-serif !important; letter-spacing: .22em !important; text-transform: uppercase !important; font-style: normal !important; color: rgba(236, 234, 230, .55) !important; }
html.hw-serious .husky-about .hv-eyebrow b { font-weight: 900; color: rgba(236, 234, 230, .95); }
html.hw-serious .husky-about .hv-em { display: block; margin-top: .5em; font-size: 1.08em; font-weight: 500; color: #fff; letter-spacing: -.005em; }
html.hw-serious .husky-page .ha-bio p + p { color: rgba(236, 234, 230, .62) !important; font-size: .78em !important; line-height: 1.55 !important; max-width: 30em; }
html.hw-serious .husky-page .ha-resume { padding-bottom: 9px !important; letter-spacing: .16em !important; }
html.hw-serious .husky-page .ha-resume::after { height: 1px; background: rgba(236, 234, 230, .35); transform-origin: 0 50%; }
html.hw-serious .husky-page .ha-resume:hover::after, html.hw-serious .husky-page .ha-resume:focus-visible::after { background: #eceae6; }
html.hw-serious .husky-about:not(.ha-no-photo) .ha-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "text photo"; position: relative; align-items: start; }
html.hw-serious .husky-about:not(.ha-no-photo) .ha-portrait { grid-area: photo; }
html.hw-serious .husky-about:not(.ha-no-photo) .ha-text { grid-area: text; padding-top: 6px; }
html.hw-serious .husky-about .ha-bio { font-size: clamp(20px, 1.75vw, 28px); max-width: 24em; }
html.hw-serious .husky-about .hv-head { display: block; position: absolute; left: 0; right: 0; bottom: -.12em; z-index: 3; pointer-events: none; font-size: clamp(110px, 15vw, 270px); text-align: right; }
html.hw-serious .husky-about .hv-title { display: inline-block; margin-right: -.02em; font: 900 1em/.78 Outfit, Helvetica, Arial, sans-serif; letter-spacing: -.055em; color: #eceae6; white-space: nowrap; }
html.hw-serious .husky-about .hv-l { display: inline-block; }
html.hw-serious .husky-about .ha-portrait { will-change: auto; }
/* a fresh load waits (at most 1.5 s, script only) so nothing shows before its entrance */
html.hw-serious.hw-hr-pre .husky-about .ha-portrait, html.hw-serious.hw-hr-pre .husky-about .hv-head, html.hw-serious.hw-hr-pre .husky-about .ha-text { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.hw-serious.hw-hr-pre .husky-about .ha-portrait, html.hw-serious.hw-hr-pre .husky-about .hv-head, html.hw-serious.hw-hr-pre .husky-about .ha-text { opacity: 1; } }
@media (max-width: 899px) {
	html.hw-serious .husky-about:not(.ha-no-photo) .ha-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "head" "text"; row-gap: 0; }
	html.hw-serious .husky-about .hv-head { grid-area: head; position: relative; bottom: auto; margin: -.43em 0 28px; font-size: 30vw; }
	html.hw-serious .husky-about:not(.ha-no-photo) .ha-text { padding-top: 0; }
	html.hw-serious .husky-about .hv-eyebrow { margin-bottom: 22px !important; }
	html.hw-serious .husky-about .ha-bio { font-size: 19px; }
}
/* (6.3.12) DESIGN registration: each letter is its own box only while its plates pull into register */
.hw-x-title .hw-x-reg { display: inline-block; position: relative; z-index: 0; }
.hw-x-title .hw-x-plate { position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none; }

/* ==== Phase 6.3.13 — THE GRAND FINALE entrance (the same once-only reveal as the index rows; design unchanged) ===== */
.hw-x-fin.hw-rv-wait { clip-path: inset(14% 0 0 0); }
.hw-x-fin.hw-rv-wait .hw-x-fin-q, .hw-x-fin.hw-rv-wait .hw-x-fin-t, .hw-x-fin.hw-rv-wait .hw-x-fin-go > * { opacity: 0; }
.hw-x-fin.hw-rv-go { animation: hw-fin-panel 900ms cubic-bezier(.22, 1, .36, 1) both; }
.hw-x-fin.hw-rv-go .hw-x-fin-q { animation: hw-rv-up6 420ms cubic-bezier(.22, 1, .36, 1) 120ms both; }
.hw-x-fin .hw-fw { display: inline-block; }
.hw-x-fin.hw-rv-go .hw-fw { animation: hw-fin-w 760ms cubic-bezier(.22, 1, .36, 1) var(--fd, 220ms) both; }
.hw-x-fin.hw-rv-go .hw-x-fin-sq { animation: hw-fin-sq 520ms cubic-bezier(.22, 1, .36, 1) calc(var(--fl, 480ms) + 520ms) both; transform-origin: 50% 50%; }
.hw-x-fin.hw-rv-go .hw-x-fin-rule { transform-origin: 0 50%; animation: hw-rv-rule 620ms cubic-bezier(.22, 1, .36, 1) calc(var(--fl, 480ms) + 640ms) both; }
.hw-x-fin.hw-rv-go .hw-x-fin-go > span:not(.hw-x-fin-rule):not(.hw-x-fin-ar) { animation: hw-rv-up4 420ms cubic-bezier(.22, 1, .36, 1) calc(var(--fl, 480ms) + 760ms) both; }
.hw-x-fin.hw-rv-go .hw-x-fin-ar { animation: hw-rv-ar 380ms cubic-bezier(.22, 1, .36, 1) calc(var(--fl, 480ms) + 900ms) both; }
@keyframes hw-fin-panel { from { clip-path: inset(14% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hw-fin-w { from { transform: translateY(112%); clip-path: inset(-20% -8% 112% -8%); } to { transform: none; clip-path: inset(-20% -8% -20% -8%); } }
@keyframes hw-fin-sq { from { transform: scale(0); } 70% { transform: scale(1.06); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.hw-x-fin.hw-rv-wait { clip-path: none; }
	.hw-x-fin.hw-rv-wait .hw-x-fin-q, .hw-x-fin.hw-rv-wait .hw-x-fin-t, .hw-x-fin.hw-rv-wait .hw-x-fin-go > * { opacity: 1; }
	.hw-x-fin.hw-rv-go, .hw-x-fin.hw-rv-go * { animation: none !important; }
}
.hw-x-title .hw-x-foc { display: inline-block; transform-origin: 50% 60%; }
.hw-x-title .hw-x-kin { display: inline-block; transform-origin: 0 85%; }

/* (6.3.14) a page opened by its own address waits unseen (max 1.6 s, script only) for its entrance */
html.hw-pg-pre #content-holder .transition-wrap > :not(.hw-stage) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { html.hw-pg-pre #content-holder .transition-wrap > :not(.hw-stage) { opacity: 1; } }
/* (6.3.14) a page that has already faded away stays gone while the next scene arrives */
.content-container.hw-gone > .transition-wrap > * { visibility: hidden !important; }

/* (6.3.15) arriving at WORK by navigation or from FUNKYTOWN: the cover's first-load 800 ms fade-in does not run
   (it made HUSKY, WORKS and the grid start dim and brighten — the grey wordmark / darkening cover) */
html.hw-serious.hw-nav-in .hg-sdecor { transition: none !important; }
html.hw-sw-hold .hg-sword .hg-sw-in, html.hw-sw-hold .hg-sword .hg-sw-sub, html.hw-sw-hold .hg-sw-imp { opacity: 0 !important; --hw-swo: 0; }
@media (prefers-reduced-motion: reduce) { html.hw-sw-hold .hg-sword .hg-sw-in, html.hw-sw-hold .hg-sword .hg-sw-sub, html.hw-sw-hold .hg-sw-imp { opacity: 1 !important; --hw-swo: 1; } }
/* (6.3.15) FUNKYTOWN: the grid's tiles wait, unseen, the frame or two it takes them to be laid out before their wave */
.hw-fk-wait .husky-grid .hg-tile .hg-hit { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hw-fk-wait .husky-grid .hg-tile .hg-hit { opacity: 1; } }

/* (6.3.17) the page that is leaving fades OVER the one arriving: its own dark backdrop no longer hides the new page's
   entrance until it is removed (that hid the first part of every entrance, then cut to it mid-way) */
.hw-ghost .transition-wrap, .hw-ghost .content-container { background: transparent !important; }

/* (6.3.18) phones in Serious: the project arrows sit just above the radio bar, never under it */
@media (max-width: 899px) {
	html.hw-ed .hg-pn { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* (0.58.4) light chapters (PHOTOGRAPHY / DESIGN paper), phones: the chapter list under the menu takes the paper's ink
   (600 px and up it is already drawn in 'difference', which inverts it on paper by itself) */
@media (max-width: 599px) {
html.hw-serious.hw-exh-light .hg-intro, html.hw-serious.hw-exh-light .hg-intro .hg-caps, html.hw-serious.hw-exh-light .hg-intro .hg-cap,
html.hw-serious.hw-exh-light .hg-intro .hg-cap *, html.hw-serious.hw-exh-light .hg-intro button.hg-cap:hover, html.hw-serious.hw-exh-light .hg-intro button.hg-cap:focus-visible,
html.hw-serious.hw-exh-light .hg-intro button.hg-cap[aria-pressed="true"] { color: #111110 !important; }
html.hw-serious.hw-exh-light .hg-intro .hg-cap-sep { color: #8a8882 !important; }
}

/* ==== 0.58.6: the whole Serious site is black with white type — the Contact Finale and the last line join it ====
   (a hairline marks where the finale begins, now that it no longer changes colour) */
html.hw-serious .hw-exh .hw-x-fin { background: #0b0b0b; color: #eceae6; border-top: 1px solid rgba(236, 234, 230, .14); }
html.hw-serious .hw-exh .hw-x-fin-q { color: #9f9d97 !important; }
html.hw-serious .hw-exh a.hw-x-fin-a { color: #eceae6 !important; }
@media (hover: hover) { html.hw-serious .hw-exh a.hw-x-fin-a:hover { color: #fff !important; } }
html.hw-serious .hw-exh a.hw-x-fin-a:focus-visible { color: #fff !important; }
html.hw-serious.hw-exh smp-section:has(.husky-tagline) { background: #0b0b0b; }
html.hw-serious.hw-exh .husky-tagline, html.hw-serious.hw-exh .husky-tagline * { color: #9f9d97 !important; }

/* ==== 0.58.7: THE ARCHIVE BOARD — each card waits unseen until it flaps in (husky-grid.js board()) ==== */
.hw-x-grid > li.hw-x-wait .hw-x-media, .hw-x-grid > li.hw-x-wait .hw-x-cap { opacity: 0; }
.hw-x-media.is-flapping { transform-origin: 50% 55%; }
.hw-x-media .hw-x-lid { position: absolute; inset: 0; z-index: 2; background: #161615 center / cover no-repeat; pointer-events: none; }
/* the board's seam: a fine line across the middle while it flips, as on a split-flap panel */
.hw-x-media.is-flapping::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; z-index: 3; background: rgba(0, 0, 0, .55); pointer-events: none; }
.hw-x-cap .hw-x-flap { display: inline-block; text-align: center; transform-origin: 50% 55%; white-space: pre; }
@media (prefers-reduced-motion: reduce) { .hw-x-grid > li.hw-x-wait .hw-x-media, .hw-x-grid > li.hw-x-wait .hw-x-cap { opacity: 1; } }
