/* =========================================================================
   Heavenly Sun
   Twilight, not midnight. Light on water. Gold foil on deep indigo.
   ========================================================================= */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
	/* Twilight — between deep blue and violet, never black */
	--hs-twilight:        #1c1738;
	--hs-twilight-deep:   #131029;
	--hs-twilight-raised: #282050;

	/* Warm light */
	--hs-cream:       #faf5ec;
	--hs-cream-shade: #f2ead9;
	--hs-cream-line:  #e5dbc6;

	/* Ink, on cream */
	--hs-ink:      #241f33;
	--hs-ink-soft: #544c66;
	--hs-ink-mute: #8b8175;

	/* Moonlight, on twilight */
	--hs-moon:      #f4eee2;
	--hs-moon-soft: rgba(244, 238, 226, 0.72);
	--hs-moon-mute: rgba(244, 238, 226, 0.48);
	--hs-moon-line: rgba(244, 238, 226, 0.16);

	/* Accents */
	--hs-gold:      #d9a84e;
	--hs-gold-lit:  #f0d391;
	--hs-gold-deep: #a97b2c;
	--hs-rose:      #9c4f66;
	--hs-rose-lit:  #c4788d;
	--hs-water:     #4f8391;

	--hs-foil: linear-gradient(
		115deg,
		#8f6420 0%, #f2d698 18%, #c48f33 34%,
		#fdf3d4 52%, #cf9c3e 68%, #f6e2ad 84%, #8f6420 100%
	);

	/* Type */
	--hs-font-display: Newsreader, Georgia, "Times New Roman", serif;
	--hs-font-body:    Karla, -apple-system, "Segoe UI", Helvetica, sans-serif;
	--hs-font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--hs-font-script:  Sacramento, "Snell Roundhand", cursive;

	/* Shape */
	--hs-radius: 4px;
	--hs-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.34);
	--hs-shadow-md: 0 14px 34px rgba(0, 0, 0, 0.26);
	--hs-shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.2);

	--hs-shell: 1280px;
	--hs-gutter: 24px;
}

/* --- 2. Base ------------------------------------------------------------ */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--hs-twilight);
	color: var(--hs-moon);
	font-family: var(--hs-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video { max-width: 100%; height: auto; }

a { color: var(--hs-gold); text-decoration: none; }
a:hover { color: var(--hs-gold-lit); }

button,
input,
textarea,
select { font: inherit; color: inherit; }

::selection { background: var(--hs-gold); color: var(--hs-twilight); }

:focus-visible {
	outline: 2px solid var(--hs-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.hs-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--hs-gold);
	color: var(--hs-twilight);
	padding: 12px 18px;
	font-family: var(--hs-font-mono);
	font-size: 12px;
}
.hs-skip:focus { left: 12px; top: 12px; }

/* --- 3. Caustics: light on water --------------------------------------- */

.hs-caustics {
	position: fixed;
	inset: -25%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(38% 26% at 20% 16%, rgba(217, 168, 78, 0.22), transparent 70%),
		radial-gradient(34% 24% at 82% 10%, rgba(107, 152, 172, 0.22), transparent 70%),
		radial-gradient(46% 30% at 66% 72%, rgba(156, 79, 102, 0.18), transparent 72%),
		radial-gradient(30% 22% at 6% 76%, rgba(217, 168, 78, 0.16), transparent 70%),
		radial-gradient(28% 20% at 46% 44%, rgba(140, 120, 200, 0.16), transparent 72%);
	filter: blur(24px);
	animation: hs-drift 52s ease-in-out infinite alternate;
}

@keyframes hs-drift {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	50%  { transform: translate3d(-2.5%, 1.8%, 0) scale(1.06); }
	100% { transform: translate3d(2%, -2.2%, 0) scale(1.02); }
}

/* Scanned-from-life grain. Subtle enough to feel rather than see. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.035;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hs-site { position: relative; z-index: 2; }

/* --- 4. Foil stars ------------------------------------------------------ */

.hs-star {
	display: inline-block;
	width: var(--hs-star-size, 20px);
	height: var(--hs-star-size, 20px);
	/* Nudge moves a star off its scatter anchor so clusters can overlap. Only
	   ever paired with a flat rotation — scaling one axis reads as the sticker
	   tipping away from the page, which fights the scans' own lighting. */
	transform:
		translate(var(--hs-star-nudge-x, 0), var(--hs-star-nudge-y, 0))
		rotate(var(--hs-star-rotate, 0deg));
	line-height: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
	vertical-align: middle;
}
.hs-star svg,
.hs-star img { display: block; width: 100%; height: 100%; }
.hs-star--scan img { object-fit: contain; }

/* Confetti — a handful thrown across the page, sitting behind the content */
.hs-starfield {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.hs-star--confetti {
	position: absolute;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}
.hs-site > *:not(.hs-starfield) { position: relative; z-index: 1; }

/* Fixed stars — set into the type rather than thrown behind it. Unlike the
   confetti these are placed by hand, one per spot, and never move. */

/* Tucked after a heading, riding the x-height rather than the baseline. */
.hs-star--section {
	margin-left: 9px;
	vertical-align: 0.26em;
}

/* Asterism closing a piece of writing — a dinkus, not a rule. */
.hs-star-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 44px;
}
/* The middle star rides a little high, so the three read as thrown down
   together rather than set on a line. */
.hs-star-rule .hs-star:nth-child(2) { margin-bottom: 7px; }

/* --- 5. Header ---------------------------------------------------------- */

.hs-header {
	max-width: var(--hs-shell);
	margin: 0 auto;
	padding: 34px var(--hs-gutter) 26px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.hs-wordmark {
	margin: 0;
	font-family: var(--hs-font-script);
	font-weight: 400;
	font-size: 58px;
	line-height: 0.9;
	letter-spacing: 0.005em;
}
.hs-wordmark a {
	background: var(--hs-foil);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.hs-wordmark a:hover { filter: brightness(1.12); }
.hs-star--wordmark { margin-left: 2px; vertical-align: super; }

.hs-wordmark--sm {
	font-size: 34px;
	background: var(--hs-foil);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	margin-bottom: 10px;
}

/* The drawn lockup, in place of the name set in Sacramento. It is lettered in
   white with its own confetti already around it, so the foil text-clip above
   has nothing to clip and the wordmark star is left to the text fallback. */
.hs-wordmark--img {
	background: none;
	color: inherit;
	-webkit-text-fill-color: currentColor;
	line-height: 0;
}
.hs-wordmark--img a {
	display: inline-block;
	background: none;
	color: inherit;
	-webkit-text-fill-color: currentColor;
}
.hs-wordmark__img {
	display: block;
	/* Sized off the viewport rather than the type scale — this is artwork with
	   its own margins, and matching it to a font-size only ever half-fits. */
	width: clamp(212px, 25vw, 292px);
	height: auto;
}
.hs-wordmark--img.hs-wordmark--sm { margin-bottom: 4px; }
.hs-wordmark--img.hs-wordmark--sm .hs-wordmark__img { width: 188px; }

.hs-tagline {
	margin: 8px 0 0;
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--hs-gold);
}

.hs-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	padding-bottom: 8px;
}
.hs-nav__list {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hs-nav__list a {
	font-size: 14px;
	color: var(--hs-moon-soft);
	border-bottom: 1px solid transparent;
	padding-bottom: 3px;
}
.hs-nav__list a:hover,
.hs-nav__list .current-menu-item > a {
	color: var(--hs-gold);
	border-bottom-color: var(--hs-gold);
}

.hs-nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--hs-moon-line);
	border-radius: var(--hs-radius);
	padding: 10px 12px;
	cursor: pointer;
}
.hs-nav-toggle__bars,
.hs-nav-toggle__bars::before,
.hs-nav-toggle__bars::after {
	display: block;
	width: 18px; height: 1.5px;
	background: var(--hs-moon);
	position: relative;
}
.hs-nav-toggle__bars::before,
.hs-nav-toggle__bars::after {
	content: "";
	position: absolute;
}
.hs-nav-toggle__bars::before { top: -6px; }
.hs-nav-toggle__bars::after  { top: 6px; }

/* --- 6. Layout shell ---------------------------------------------------- */

.hs-shell {
	max-width: var(--hs-shell);
	margin: 0 auto;
	padding: 8px var(--hs-gutter) 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 316px;
	gap: 44px;
	align-items: start;
}

.hs-main {
	display: flex;
	flex-direction: column;
	gap: 62px;
	min-width: 0;
}

.hs-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* --- 7. Shared pieces --------------------------------------------------- */

.hs-card-surface {
	background: var(--hs-cream);
	color: var(--hs-ink);
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-lg);
}

/* The two .hs-panel selectors are widget titles from the block widget editor.
   A Legacy Widget block renders via the_widget(), which supplies core's own
   <h2 class="widgettitle"> in place of the sidebar's before_title, and a heading
   typed into a block area arrives as .wp-block-heading. Both are this label by
   another name, so they are dressed as one rather than left as bare headings. */
.hs-label,
.hs-panel .widgettitle,
.hs-panel .wp-block-heading,
.hs-panel__label {
	display: block;
	margin: 0 0 12px;
	font-family: var(--hs-font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--hs-ink-mute);
}
.hs-label--gold { color: var(--hs-gold); }
.hs-label--rose { color: var(--hs-rose); }

.hs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--hs-rose);
	color: var(--hs-rose);
	padding: 5px 11px 4px;
	border-radius: 2px;
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.hs-eyebrow__dot {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--hs-rose);
}

.hs-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hs-ink-mute);
}
.hs-meta__dot { opacity: 0.5; }
.hs-meta--foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--hs-cream-line);
}

.hs-cat {
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.hs-cat--sm { font-size: 10px; }
.hs-cat--gold  { color: var(--hs-gold-deep); }
.hs-cat--rose  { color: var(--hs-rose); }
.hs-cat--water { color: var(--hs-water); }
.hs-cat:hover { color: var(--hs-ink); }

.hs-btn {
	display: inline-block;
	font-family: var(--hs-font-mono);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 13px 22px 12px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.hs-btn:active { transform: translate(1px, 1px); }

.hs-btn--gold {
	background: var(--hs-gold);
	color: var(--hs-twilight);
	padding: 9px 15px 8px;
	font-size: 11px;
	box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
}
.hs-btn--gold:hover { background: var(--hs-moon); color: var(--hs-twilight); }

.hs-btn--rose {
	background: var(--hs-rose);
	color: var(--hs-cream);
	box-shadow: 3px 3px 0 rgba(36, 31, 51, 0.22);
}
.hs-btn--rose:hover { background: var(--hs-twilight); color: var(--hs-cream); }

.hs-btn--indigo {
	background: var(--hs-twilight);
	color: var(--hs-cream);
	box-shadow: 3px 3px 0 rgba(217, 168, 78, 0.5);
}
.hs-btn--indigo:hover { background: var(--hs-rose); }

.hs-more {
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hs-rose);
}
.hs-more:hover { color: var(--hs-gold-deep); }
/* The rule under it was at 1.9:1 — under the 3:1 a border needs to register.
   Hover used to go cream, which on gold is 2:1: the link got *harder* to read
   the moment you pointed at it. It deepens instead. */
.hs-more--dark { color: var(--hs-twilight); border-bottom: 1px solid rgba(28, 23, 56, 0.55); padding-bottom: 2px; }
.hs-more--dark:hover { color: var(--hs-twilight-deep); border-bottom-color: var(--hs-twilight-deep); }

.hs-thumb--empty {
	width: 100%;
	height: 100%;
	min-height: inherit;
	background:
		repeating-linear-gradient(135deg, #e9e0cd 0 9px, #f4ecdc 9px 18px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.hs-thumb--empty span {
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-ink-mute);
}

/* --- 8. Sections -------------------------------------------------------- */

.hs-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	border-bottom: 1px dashed var(--hs-moon-line);
	padding-bottom: 12px;
	margin-bottom: 28px;
}
.hs-section__title {
	margin: 0;
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: 26px;
	color: var(--hs-moon);
}
.hs-section__more {
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-gold);
	white-space: nowrap;
}
.hs-section__more:hover { color: var(--hs-moon); }

/* --- 9. Hero ----------------------------------------------------------- */

.hs-hero {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	overflow: hidden;
}
.hs-hero__body { padding: 48px 44px 44px; }

.hs-hero__title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: clamp(34px, 4vw, 50px);
	line-height: 1.06;
	letter-spacing: -0.02em;
	margin: 20px 0 0;
	text-wrap: pretty;
}
.hs-hero__title a { color: var(--hs-ink); }
.hs-hero__title a:hover { color: var(--hs-rose); }

.hs-hero__excerpt {
	font-size: 16.5px;
	line-height: 1.72;
	color: var(--hs-ink-soft);
	margin: 18px 0 26px;
	max-width: 44ch;
	text-wrap: pretty;
}
.hs-hero .hs-btn--rose { margin-top: 28px; }

.hs-hero__media {
	position: relative;
	border-left: 1px solid var(--hs-cream-line);
	min-height: 440px;
	display: flex;
}
.hs-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hs-stamp {
	position: absolute;
	top: 24px; right: 22px;
	transform: rotate(4deg);
	background: var(--hs-gold);
	color: var(--hs-twilight);
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 7px 16px;
	box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24);
}

/* Stickers, placed on the image the way you'd actually stick them on a photo */
.hs-star--hero-a { position: absolute; top: 28px; left: 26px; }
.hs-star--hero-b { position: absolute; top: 92px; left: 84px; }

/* --- 10. Card grid ------------------------------------------------------ */

.hs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.hs-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: var(--hs-shadow-md);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hs-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
}

.hs-card__media {
	display: block;
	height: 178px;
	border-bottom: 1px solid var(--hs-cream-line);
	overflow: hidden;
}
.hs-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.hs-card__body {
	padding: 22px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.hs-card__title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: 23px;
	line-height: 1.22;
	margin: 0;
	text-wrap: pretty;
}
.hs-card__title a { color: var(--hs-ink); }
.hs-card__title a:hover { color: var(--hs-rose); }
.hs-card__excerpt {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.66;
	color: var(--hs-ink-soft);
}

/* --- 11. Archive list --------------------------------------------------- */

.hs-list {
	background: var(--hs-cream);
	color: var(--hs-ink);
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-md);
	padding: 6px 30px;
}
.hs-row {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 20px;
	padding: 21px 0;
	border-bottom: 1px solid var(--hs-cream-line);
}
.hs-row:last-child { border-bottom: none; }

.hs-row__link {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 20px;
	align-items: baseline;
	color: var(--hs-ink);
	min-width: 0;
}
.hs-row__link:hover { color: var(--hs-rose); }
.hs-row__date {
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hs-ink-mute);
}
.hs-row__title {
	font-family: var(--hs-font-display);
	font-size: 21px;
	line-height: 1.3;
	text-wrap: pretty;
}

/* --- 12. Sidebar panels ------------------------------------------------- */

.hs-panel {
	background: var(--hs-cream);
	color: var(--hs-ink);
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-md);
	padding: 24px;
	font-size: 14.5px;
	line-height: 1.7;
}
.hs-panel p { margin: 0 0 14px; color: var(--hs-ink-soft); }
.hs-panel ul { margin: 0; padding: 0; list-style: none; }
.hs-panel a { color: var(--hs-rose); }
.hs-panel a:hover { color: var(--hs-gold-deep); }

.hs-portrait {
	position: relative;
	height: 148px;
	margin-bottom: 18px;
	border: 1px solid var(--hs-cream-line);
	background: repeating-linear-gradient(135deg, #e9e0cd 0 9px, #f4ecdc 9px 18px);
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Overhanging the corner, the way a sticker ends up on a photo. */
.hs-star--portrait { position: absolute; right: -10px; bottom: -11px; }
.hs-portrait span {
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-ink-mute);
}

.hs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-tag {
	font-size: 13px;
	padding: 6px 11px;
	border: 1px solid var(--hs-cream-line);
	border-radius: 2px;
	color: var(--hs-ink);
}
.hs-tag span { color: var(--hs-ink-mute); }
.hs-tag:hover {
	background: var(--hs-twilight);
	border-color: var(--hs-twilight);
	color: var(--hs-cream);
}
.hs-tag:hover span { color: var(--hs-gold); }

/* Tag cloud — sizes come from wp_tag_cloud's inline font-size.
   Covers the theme's own markup, core's Tag Cloud widget (.tagcloud) and the
   Tag Cloud *block* (.wp-block-tag-cloud), which shares none of the widget's
   classes. */
.hs-cloud,
.hs-panel .tagcloud,
.hs-panel .wp-block-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	line-height: 1.5;
}
.hs-cloud a,
.hs-panel .tagcloud a,
.hs-panel .wp-block-tag-cloud a {
	color: var(--hs-ink-soft);
	border-bottom: 1px solid transparent;
	font-family: var(--hs-font-display);
}
.hs-cloud a:hover,
.hs-panel .tagcloud a:hover,
.hs-panel .wp-block-tag-cloud a:hover {
	color: var(--hs-rose);
	border-bottom-color: var(--hs-rose);
}
.hs-cloud .tag-cloud-link { display: inline-block; }

/* Social row in the author panel */
.hs-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
/* Scoped under .hs-social so `.hs-panel a` can't win the colour. */
.hs-social .hs-social__link {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hs-cream-shade);
	color: var(--hs-social-color, var(--hs-ink));
	transition: background-color 0.18s ease, transform 0.18s ease;
}
.hs-social .hs-social__link svg { width: 16px; height: 16px; display: block; }
.hs-social .hs-social__link:hover {
	background: var(--hs-social-color, var(--hs-ink));
	color: #fff;
	transform: translateY(-2px);
}

/* Outline panel — sits on the twilight, not on cream */
.hs-panel--outline {
	/* Near-opaque rather than transparent, so background confetti can't
	   drift through and land on the text. */
	background: rgba(19, 16, 41, 0.88);
	box-shadow: none;
	border: 1px solid rgba(217, 168, 78, 0.42);
	color: var(--hs-moon);
	padding: 22px;
}
.hs-panel--outline .hs-panel__label--gold { color: var(--hs-gold); }
.hs-currently { display: flex; flex-direction: column; gap: 12px; }
.hs-currently li {
	display: grid;
	grid-template-columns: 74px 1fr;
	gap: 10px;
	align-items: baseline;
	color: var(--hs-moon-soft);
	font-size: 14px;
}
.hs-currently__kind {
	font-family: var(--hs-font-mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-gold);
}

/* The Currently plugin, dressed for this theme. It exposes custom
   properties, so none of this needs to override its rules. */
.hs-panel .liminal-currently {
	--lc-gap: 12px;
	--lc-kind-width: 74px;
	--lc-kind-size: 9.5px;
	--lc-kind-spacing: 0.16em;
	--lc-kind-color: var(--hs-gold);
	--lc-kind-font: var(--hs-font-mono);
	--lc-title-color: var(--hs-moon);
	--lc-byline-color: var(--hs-moon-soft);
	--lc-note-color: var(--hs-moon-soft);
	font-size: 14px;
}
.hs-panel .liminal-currently__link { color: var(--hs-moon); border-bottom: 1px solid rgba(217, 168, 78, 0.45); }
.hs-panel .liminal-currently__link:hover { color: var(--hs-gold); text-decoration: none; border-bottom-color: var(--hs-gold); }

/* Inside a cream panel instead of an outlined one. */
.hs-panel:not(.hs-panel--outline) .liminal-currently {
	--lc-kind-color: var(--hs-gold-deep);
	--lc-title-color: var(--hs-ink);
	--lc-byline-color: var(--hs-ink-soft);
	--lc-note-color: var(--hs-ink-mute);
}
.hs-panel:not(.hs-panel--outline) .liminal-currently__link { color: var(--hs-ink); border-bottom-color: rgba(156, 79, 102, 0.35); }

.hs-portrait--img { padding: 0; border: none; background: none; height: auto; }
.hs-portrait--img img { width: 100%; height: 148px; object-fit: cover; display: block; border: 1px solid var(--hs-cream-line); }

.hs-panel--gold {
	background: var(--hs-gold);
	color: var(--hs-twilight);
	box-shadow: var(--hs-shadow-md);
}
/* The gold panel only ever restyled .hs-label, but a widget title comes
   through as .hs-panel__label — so it kept the cream panel's ink-mute and sat
   at 1.8:1 on the foil, which is barely there. All four forms of the label are
   covered now, at 6.2:1: still softer than the lede above it, but legible. */
.hs-panel--gold .hs-label,
.hs-panel--gold .hs-panel__label,
.hs-panel--gold .widgettitle,
.hs-panel--gold .wp-block-heading { color: rgba(28, 23, 56, 0.86); }
.hs-panel__lede {
	font-family: var(--hs-font-display);
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 12px;
	color: var(--hs-twilight) !important;
}

/* --- 13. Newsletter ----------------------------------------------------- */

.hs-newsletter { padding: 12px; }
.hs-newsletter__inner {
	position: relative;
	border: 1px dashed #c9bfa8;
	padding: 42px 44px;
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: 36px;
	align-items: center;
}
.hs-newsletter__title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.14;
	letter-spacing: -0.015em;
	margin: 0 0 12px;
	text-wrap: pretty;
}
.hs-newsletter__lede {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--hs-ink-soft);
	max-width: 46ch;
}
/* Sat over the dashed rule at opposite corners, like tape holding a card down.
   Kept clear of the label and the form, which is why neither is on a corner. */
.hs-star--letter-a { position: absolute; top: -16px; right: 34px; }
.hs-star--letter-b { position: absolute; bottom: 30px; left: -9px; }
/* The Letters plugin renders the form. It reads these; it sets no colours of
   its own, so everything it draws belongs to the theme. */
.hs-newsletter {
	--llt-message-bg:      var(--hs-cream-shade);
	--llt-message-ink:     var(--hs-ink);
	--llt-message-padding: 13px 15px;
	--llt-message-radius:  2px;
	--llt-message-size:    14.5px;
}
.hs-newsletter .liminal-letters__message {
	border-left: 2px solid var(--hs-rose);
	line-height: 1.6;
}
.hs-newsletter .liminal-letters__message--bad {
	border-left-color: var(--hs-gold-deep);
}
.hs-newsletter__form { display: flex; flex-direction: column; gap: 12px; }
.hs-newsletter__form input[type="email"] {
	border: 1px solid #c9bfa8;
	border-radius: 2px;
	background: #fffdf8;
	padding: 15px 16px;
	font-size: 15px;
	color: var(--hs-ink);
	outline-offset: 2px;
}
.hs-newsletter__note {
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--hs-ink-mute);
}

/* --- 14. Single post ---------------------------------------------------- */

.hs-single { padding: 52px 56px 48px; }
.hs-single__head { position: relative; margin-bottom: 32px; }
.hs-single__title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: clamp(32px, 4.2vw, 46px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 14px 0 18px;
	text-wrap: pretty;
	max-width: 22ch;
}
.hs-star--single { position: absolute; top: -12px; right: -14px; }

.hs-single__thumb { margin: 0 0 32px; }
.hs-single__thumb img { width: 100%; border-radius: 2px; display: block; }
.hs-single__thumb figcaption {
	margin-top: 10px;
	font-family: var(--hs-font-mono);
	font-size: 11px;
	color: var(--hs-ink-mute);
}

.hs-single__tags {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid var(--hs-cream-line);
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
}
.hs-single__tags .hs-label { margin: 0; }
.hs-single__tags a {
	font-size: 13px;
	color: var(--hs-rose);
	border-bottom: 1px solid rgba(156, 79, 102, 0.3);
}

/* Prose — the reading experience */
.hs-prose {
	max-width: 68ch;
	font-size: 17px;
	line-height: 1.78;
	color: var(--hs-ink);
}
/* `.hs-prose p { margin: 0 }` would out-specify the sibling rule below and
   flatten every paragraph gap — scope the reset to direct children instead. */
.hs-prose > * { margin: 0; }
.hs-prose > * + * { margin-top: 1.2em; }
.hs-prose a {
	color: var(--hs-rose);
	border-bottom: 1px solid rgba(156, 79, 102, 0.35);
}
.hs-prose a:hover { color: var(--hs-gold-deep); border-bottom-color: var(--hs-gold-deep); }

.hs-prose h2,
.hs-prose h3,
.hs-prose h4 {
	font-family: var(--hs-font-display);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin-top: 1.9em;
	margin-bottom: 0.5em;
	color: var(--hs-ink);
}
.hs-prose h2 { font-size: 31px; }
.hs-prose h3 { font-size: 24px; }
.hs-prose h4 { font-size: 20px; }

.hs-prose ul,
.hs-prose ol { padding-left: 1.3em; }
.hs-prose li + li { margin-top: 0.45em; }

.hs-prose blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--hs-gold);
	font-family: var(--hs-font-display);
	font-size: 21px;
	line-height: 1.5;
	color: var(--hs-ink-soft);
}
.hs-prose blockquote p { margin: 0; }

.hs-prose img { border-radius: 2px; }
.hs-prose figure { margin: 2em 0; }
.hs-prose figcaption {
	margin-top: 10px;
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--hs-ink-mute);
}

.hs-prose code {
	font-family: var(--hs-font-mono);
	font-size: 0.86em;
	background: var(--hs-cream-shade);
	padding: 2px 5px;
	border-radius: 2px;
}
.hs-prose pre {
	background: var(--hs-twilight);
	color: var(--hs-moon);
	padding: 20px 22px;
	border-radius: var(--hs-radius);
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.65;
}
.hs-prose pre code { background: none; padding: 0; color: inherit; }

.hs-prose hr {
	border: none;
	border-top: 1px dashed var(--hs-cream-line);
	margin: 2.6em 0;
}

.hs-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hs-prose th,
.hs-prose td { padding: 10px 12px; border-bottom: 1px solid var(--hs-cream-line); text-align: left; }
.hs-prose th { font-family: var(--hs-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hs-ink-mute); }

/* --- 14b. Recipe Card plugin -------------------------------------------- */

.hs-prose .liminal-recipe {
	--lrc-border: var(--hs-cream-line);
	--lrc-rule: var(--hs-cream-line);
	--lrc-bg: var(--hs-cream-shade);
	--lrc-radius: var(--hs-radius);
	--lrc-accent: var(--hs-gold-deep);
	--lrc-muted: var(--hs-ink-soft);
	--lrc-label-font: var(--hs-font-mono);
	--lrc-label-size: 10px;
	--lrc-label-spacing: 0.18em;
	--lrc-title-font: var(--hs-font-display);
}

.hs-prose .liminal-recipe__title { font-size: 32px; letter-spacing: -0.015em; }
.hs-prose .liminal-recipe__print:hover { color: var(--hs-cream); }
.hs-prose .liminal-recipe__step-number { color: var(--hs-rose); }
.hs-prose .liminal-recipe__meta dd { font-family: var(--hs-font-display); font-weight: 400; font-size: 19px; }

/* --- 14c. Related Posts plugin ------------------------------------------ */

/* Variables only — no rule overrides. The plugin's stylesheet loads after
   this one, so anything set as a rule here would lose. */
.liminal-related {
	--lrp-margin: 0;
	--lrp-gap: 26px;
	--lrp-rule: rgba(244, 238, 226, 0.28);
	--lrp-accent: var(--hs-gold);
	--lrp-muted: var(--hs-ink-mute);
	--lrp-bg: var(--hs-cream);
	--lrp-text: var(--hs-ink);
	--lrp-radius: var(--hs-radius);
	--lrp-shadow: var(--hs-shadow-md);
	--lrp-shadow-hover: 0 20px 42px rgba(0, 0, 0, 0.32);
	--lrp-link-gap: 0;
	--lrp-title-font: var(--hs-font-display);
	--lrp-title-size: 20px;
	--lrp-body-pad: 20px 22px 22px;
	--lrp-label-font: var(--hs-font-mono);
	--lrp-media-height: 132px;
	--lrp-media-radius: 0;
	--lrp-date-pad: 12px;
	--lrp-date-border: 1px solid var(--hs-cream-line);
	--lrp-date-size: 10.5px;

	--lrp-heading-font: var(--hs-font-display);
	--lrp-heading-size: 26px;
	--lrp-heading-weight: 400;
	--lrp-heading-spacing: normal;
	--lrp-heading-transform: none;
	--lrp-heading-color: var(--hs-moon);
	--lrp-heading-border-style: dashed;
}

/* --- 15. Archive header, post nav, pagination --------------------------- */

.hs-archive-head { padding-bottom: 6px; }
.hs-archive-head .hs-label { margin-bottom: 10px; }
.hs-archive-title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
	color: var(--hs-moon);
}
.hs-archive-desc { color: var(--hs-moon-soft); max-width: 56ch; }

.hs-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.hs-postnav__item {
	border: 1px solid var(--hs-moon-line);
	border-radius: var(--hs-radius);
	padding: 20px 22px;
	color: var(--hs-moon);
}
.hs-postnav__item:hover { border-color: var(--hs-gold); color: var(--hs-gold); }
.hs-postnav__item--next { text-align: right; grid-column: 2; }
.hs-postnav__item .hs-label { color: var(--hs-gold); margin-bottom: 8px; }
.hs-postnav__title { font-family: var(--hs-font-display); font-size: 19px; line-height: 1.3; }

.hs-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.hs-pagination .page-numbers {
	padding: 9px 13px;
	border: 1px solid var(--hs-moon-line);
	color: var(--hs-moon-soft);
}
.hs-pagination .page-numbers:hover { border-color: var(--hs-gold); color: var(--hs-gold); }
.hs-pagination .page-numbers.current {
	background: var(--hs-gold);
	border-color: var(--hs-gold);
	color: var(--hs-twilight);
}
.hs-pagination .screen-reader-text { position: absolute !important; }

/* --- 16. Empty states --------------------------------------------------- */

.hs-none {
	padding: 56px 48px;
	text-align: center;
}
.hs-none h1,
.hs-none h2 {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: 34px;
	letter-spacing: -0.015em;
	margin: 16px 0 12px;
}
.hs-none p { color: var(--hs-ink-soft); margin: 0 auto 22px; max-width: 46ch; }
.hs-none .hs-search { justify-content: center; margin-bottom: 22px; }

.hs-search { display: flex; gap: 8px; }
.hs-search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid #c9bfa8;
	border-radius: 2px;
	background: #fffdf8;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--hs-ink);
}
.hs-search button {
	border: none;
	background: var(--hs-twilight);
	color: var(--hs-cream);
	padding: 12px 18px;
	border-radius: 2px;
	font-family: var(--hs-font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.hs-search button:hover { background: var(--hs-rose); }

.hs-archive-head .hs-search input[type="search"] { max-width: 340px; }

/* --- 17. Comments ------------------------------------------------------- */

.hs-comments { padding: 40px 48px 44px; }
.hs-comments__title {
	font-family: var(--hs-font-display);
	font-weight: 400;
	font-size: 26px;
	margin: 0 0 22px;
}
.hs-comments__list { list-style: none; margin: 0 0 32px; padding: 0; }
.hs-comments__list ol { list-style: none; padding-left: 28px; }
.hs-comments__list .comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--hs-cream-line);
	font-size: 15px;
	color: var(--hs-ink-soft);
}
.hs-comments__list .fn { font-style: normal; font-weight: 600; color: var(--hs-ink); }
.hs-comments__list .comment-metadata,
.hs-comments__list .reply {
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.hs-comments__note { font-size: 13.5px; color: var(--hs-ink-mute); }
.hs-comments input[type="text"],
.hs-comments input[type="email"],
.hs-comments input[type="url"],
.hs-comments textarea {
	width: 100%;
	border: 1px solid #c9bfa8;
	border-radius: 2px;
	background: #fffdf8;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--hs-ink);
}
.hs-comments label { font-family: var(--hs-font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hs-ink-mute); }

/* --- 18. Footer --------------------------------------------------------- */

.hs-footer {
	margin-top: 78px;
	border-top: 1px solid var(--hs-moon-line);
	background: var(--hs-twilight-deep);
}
.hs-footer__inner {
	max-width: var(--hs-shell);
	margin: 0 auto;
	padding: 48px var(--hs-gutter) 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
}
.hs-footer__brand { flex: 0 1 340px; }
.hs-footer__col { flex: 0 1 auto; min-width: 140px; }
.hs-footer__brand p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--hs-moon-mute);
	max-width: 34ch;
}
.hs-footer__brand .hs-star { margin: 14px 8px 0 0; }
.hs-footer__col .hs-label { color: var(--hs-gold); }
.hs-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hs-footer__list a { font-size: 14px; color: var(--hs-moon-soft); }
.hs-footer__list a:hover { color: var(--hs-gold); }

.hs-footer__base {
	max-width: var(--hs-shell);
	margin: 0 auto;
	padding: 18px var(--hs-gutter);
	border-top: 1px solid rgba(244, 238, 226, 0.1);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hs-moon-mute);
}
/* Between the two lines of the base bar, doing the job a · would do. */
.hs-star--base { align-self: center; flex: 0 0 auto; opacity: 0.75; }

/* --- 18b. Ad slots ------------------------------------------------------ */

.hs-ad {
	display: block;
	text-align: center;
	margin: 0 auto;
}

.hs-ad__label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--hs-font-mono);
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--hs-moon-mute);
}

/* The height is reserved here, before the ad script runs, so arriving ads
   don't shove the page down. */
.hs-ad__inner {
	min-height: var(--hs-ad-height, 250px);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.hs-ad__placeholder {
	width: 100%;
	height: var(--hs-ad-height, 250px);
	display: grid;
	place-items: center;
	align-content: center;
	gap: 6px;
	border: 1px dashed rgba(244, 238, 226, 0.28);
	border-radius: 2px;
	background: rgba(244, 238, 226, 0.03);
}
.hs-ad__slot-name {
	font-family: var(--hs-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hs-moon-soft);
}
.hs-ad__sizes {
	font-family: var(--hs-font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	color: var(--hs-gold);
}

.hs-ad--header {
	max-width: var(--hs-shell);
	padding: 6px var(--hs-gutter) 22px;
}

.hs-ad--sidebar { margin-top: 4px; }

.hs-ad--post-end { margin-top: 4px; }

/* Inside the article, the box sits on cream instead of twilight. */
.hs-prose .hs-ad {
	margin: 2.2em 0;
}
.hs-prose .hs-ad__label { color: var(--hs-ink-mute); }
.hs-prose .hs-ad__placeholder {
	border-color: var(--hs-cream-line);
	background: rgba(36, 31, 51, 0.02);
}
.hs-prose .hs-ad__slot-name { color: var(--hs-ink-soft); }
.hs-prose .hs-ad__sizes { color: var(--hs-gold-deep); }

@media (max-width: 600px) {
	.hs-ad__inner,
	.hs-ad__placeholder { min-height: var(--hs-ad-height-mobile, 250px); height: var(--hs-ad-height-mobile, 250px); }
}

/* --- 19. Responsive ----------------------------------------------------- */

@media (max-width: 1080px) {
	.hs-shell { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hs-sidebar { position: static; }
	.hs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.hs-header {
		flex-wrap: wrap;
		align-items: center;
		padding-top: 26px;
	}
	.hs-header__brand { flex: 1 1 auto; }
	.hs-nav-toggle { display: block; order: 2; flex: 0 0 auto; }
	.hs-nav {
		order: 3;
		width: 100%;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 18px;
		padding: 20px 0 4px;
		border-top: 1px solid var(--hs-moon-line);
		margin-top: 18px;
	}
	.hs-nav-open .hs-nav { display: flex; }
	.hs-nav__list { flex-direction: column; align-items: flex-start; gap: 14px; }

	.hs-wordmark { font-size: 46px; }

	.hs-hero { grid-template-columns: minmax(0, 1fr); }
	.hs-hero__media { min-height: 260px; border-left: none; border-top: 1px solid var(--hs-cream-line); order: -1; }
	.hs-star--hero-a, .hs-star--hero-b { display: none; }
	.hs-hero__body { padding: 34px 28px 32px; }

	.hs-newsletter__inner { grid-template-columns: minmax(0, 1fr); padding: 32px 26px; }
	.hs-single { padding: 36px 28px 32px; }
	.hs-comments { padding: 32px 28px; }
	.hs-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hs-main { gap: 48px; }
}

@media (max-width: 600px) {
	:root { --hs-gutter: 18px; }
	/* Thin the confetti — the same count reads as clutter on a narrow page. */
	.hs-starfield .hs-star--confetti:not(:nth-child(3n + 1)) { display: none; }
	.hs-grid { grid-template-columns: minmax(0, 1fr); }
	.hs-list { padding: 4px 20px; }
	.hs-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.hs-row__link { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.hs-postnav { grid-template-columns: minmax(0, 1fr); }
	.hs-postnav__item--next { grid-column: 1; text-align: left; }
	.hs-footer__inner { grid-template-columns: minmax(0, 1fr); }
	.hs-footer__base { flex-direction: column; gap: 8px; }
	.hs-single__title { max-width: none; }
	.hs-star--single { display: none; }
}

/* --- 20. Motion & print ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.hs-caustics { animation: none; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.hs-caustics, .hs-nav, .hs-sidebar, .hs-footer, .hs-newsletter, .hs-postnav { display: none !important; }
	body { background: #fff; color: #000; }
	.hs-card-surface { box-shadow: none; }
	.hs-shell { display: block; }
	/* The lockup is lettered in white, which is nothing at all on paper. Flatten
	   the whole thing to ink — it prints as a solid black mark, confetti and
	   all, which is what a masthead should do in one colour anyway. */
	.hs-wordmark__img { filter: brightness(0); width: 184px; }
}
