/*
Theme Name: HypnoOrgasm Trance
Theme URI: https://hypnoorgasm.com/
Author: Ryan Orrock
Description: Audio first. Plum night with rose and violet light, moire rings, a spiral and sound-wave lines. Dark by default, with a light version. Built from the Trance mockup (R01, 2026-11-28).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: ho-trance
*/

/* ---------- Palettes: night (default) and day, from the mockup ---------- */

:root,
:root[data-theme="dark"] {
	--bg: #0E0B14;
	--surface: #17121F;
	--raised: #201929;
	--band: #140F1C;
	--ink: #F2ECF7;
	--muted: #B8ACC6;
	--hair: #2E2538;
	--field: #5A4D6A;
	--accent: #EE8CC9;
	--accent-ink: #1E0A1A;
	--violet: #A98BE8;
	--violet-soft: #3D3060;
	--glow-a: #5B33A0;
	--glow-b: #A0306F;
	--glow-soft: #2A1736;
	--card-tint: #2A1C33;
	--line: #3B2C52;
	--line2: #5A2F5C;
	--shadow: rgba(0, 0, 0, 0.7);
	--player: #2A1C33;
	color-scheme: dark;
}

:root[data-theme="light"] {
	--bg: #F6F1F7;
	--surface: #FFFFFF;
	--raised: #EFE6F4;
	--band: #EEE3F3;
	--ink: #1C1426;
	--muted: #5F5470;
	--hair: #E0D4E8;
	--field: #8A7E98;
	--accent: #A3246A;
	--accent-ink: #FFFFFF;
	--violet: #6B4BB8;
	--violet-soft: #D6CCEB;
	--glow-a: #CDB6F0;
	--glow-b: #F2B9D7;
	--glow-soft: #F3E2F0;
	--card-tint: #F6E9F3;
	--line: #DCCDEB;
	--line2: #EDC5DC;
	--shadow: rgba(60, 30, 90, 0.35);
	--player: #3B2650;
	color-scheme: light;
}

:root {
	--display-font: "Fraunces", Georgia, serif;
	--display-weight: 600;
	--body-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Base ---------- */

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

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

body {
	margin: 0;
	background: var(--bg) url("assets/tiles/dust-dark.svg") repeat;
	color: var(--ink);
	font-family: var(--body-font);
	font-size: 18px;
	line-height: 1.6;
	overflow-x: hidden;
}

:root[data-theme="light"] body {
	background-image: url("assets/tiles/dust-light.svg");
}

a {
	color: var(--accent);
}

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

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.display {
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
}

.display em,
.brand__name em {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
}

.wrap {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--head {
	max-width: 940px;
}

.wrap--mid {
	max-width: 900px;
}

.wrap--text {
	max-width: 760px;
}

.sheet {
	position: relative;
	overflow: hidden;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 10;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 700;
}

.skip-link:focus {
	left: 8px;
}

.kicker {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--muted);
}

.kicker--violet {
	color: var(--violet);
}

.pill {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--violet);
	color: var(--violet);
	font-size: 14px;
	font-weight: 600;
}

.pill--small {
	min-height: 26px;
	padding: 0 10px;
	font-size: 13px;
}

/* ---------- Buttons ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 0;
	font-family: var(--body-font);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.button--accent {
	background: var(--accent);
	color: var(--accent-ink);
	box-shadow: 0 10px 30px -14px var(--accent);
}

.button--accent:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 34px -12px var(--accent);
}

.button--ghost {
	border: 1.5px solid var(--ink);
	color: var(--ink);
	background: transparent;
}

.button--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.button--big {
	min-height: 54px;
	padding: 0 28px;
	font-size: 17px;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--hair);
	background: transparent;
	color: var(--ink);
	font-family: var(--body-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.theme-toggle svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.theme-toggle:hover {
	border-color: var(--violet);
}

/* ---------- Play buttons ---------- */

.play {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.play:hover {
	transform: scale(1.06);
}

.play svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.play__off,
.play.is-playing .play__on {
	display: none;
}

.play.is-playing .play__off {
	display: block;
}

.play--card {
	width: 48px;
	height: 48px;
}

.play--card svg {
	width: 18px;
	height: 18px;
}

.play--orb {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 96px;
	height: 96px;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 14px var(--surface), 0 0 0 16px var(--accent);
}

.play--orb:hover {
	transform: translate(-50%, -50%) scale(1.05);
}

.play--orb svg {
	width: 34px;
	height: 34px;
}

@media (prefers-reduced-motion: no-preference) {
	.play.is-playing {
		animation: ho-pulse 2.4s ease-in-out infinite;
	}

	.play--orb.is-playing {
		animation: none;
	}

	.hero__moire .moire__s,
	.orb__s {
		animation: ho-spin 140s linear infinite;
	}

	.orb__stage:has(.is-playing) .orb__s {
		animation-duration: 24s;
	}
}

@keyframes ho-pulse {
	0%, 100% { box-shadow: 0 0 0 0 var(--glow-b); }
	50% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes ho-spin {
	to { transform: rotate(360deg); }
}

/* ---------- Ornaments ---------- */

.moire {
	position: absolute;
	aspect-ratio: 1;
	pointer-events: none;
}

.moire svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-width: 1.2;
}

.moire__a,
.moire__b {
	stroke: var(--line);
}

.moire .moire__s {
	stroke: var(--line2);
	stroke-width: 1.4;
}

.moire .moire__s--b {
	opacity: 0.6;
}

.waves {
	position: absolute;
	left: 0;
	width: 100%;
	fill: none;
	stroke: var(--line2);
	stroke-width: 1;
	pointer-events: none;
}

/* ---------- Top line and header ---------- */

.topline {
	position: relative;
	background: linear-gradient(90deg, var(--raised), var(--glow-soft) 55%, var(--raised));
	border-bottom: 1px solid var(--hair);
	font-size: 14px;
}

.topline__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	justify-content: space-between;
	align-items: center;
}

.topline__adults {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--muted);
}

.badge-18 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 24px;
	padding: 0 6px;
	border-radius: 6px;
	border: 1px solid var(--muted);
	color: var(--ink);
	font-weight: 700;
	font-size: 14px;
}

.topline__news {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
}

.topline__news:hover {
	text-decoration: underline;
}

.site-head {
	position: relative;
	border-bottom: 1px solid var(--hair);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
}

.site-head__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	align-items: center;
	justify-content: space-between;
	padding-block: 10px;
}

.brand {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	color: var(--ink);
	text-decoration: none;
}

.brand__name {
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: 30px;
	line-height: 1;
	letter-spacing: -0.01em;
}

.brand__sub {
	margin-top: 5px;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
}

.brand--small .brand__name {
	font-size: 26px;
}

.site-head__right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	min-width: 0;
}

.site-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	overflow: hidden;
}

.hero__glow,
.entry-head__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(46% 60% at 72% 48%, color-mix(in srgb, var(--glow-a) 55%, transparent), transparent 70%),
		radial-gradient(40% 50% at 18% 20%, color-mix(in srgb, var(--glow-b) 32%, transparent), transparent 70%);
}

.hero__moire {
	left: 74%;
	top: 50%;
	width: 1100px;
	transform: translate(-50%, -50%);
}

.hero__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 40px 64px;
	align-items: center;
	padding-block: clamp(44px, 6vw, 100px);
}

.hero__text {
	flex: 999 1 520px;
	min-width: 0;
}

.hero__text .kicker {
	margin-bottom: 18px;
}

.hero__title {
	margin: 0;
	font-size: clamp(50px, 7.4vw, 108px);
	line-height: 0.98;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hero__lede {
	margin: 26px 0 0;
	max-width: 40ch;
	font-size: clamp(18px, 1.6vw, 21px);
	color: var(--muted);
}

.hero__actions {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.orb {
	flex: 1 1 340px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.orb__stage {
	position: relative;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 1;
}

.orb__disc {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--glow-b) 70%, transparent), color-mix(in srgb, var(--glow-a) 35%, transparent) 60%, transparent 71%);
}

.orb__disc svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	fill: none;
	stroke-width: 1.3;
}

.orb__a {
	stroke: var(--violet);
	stroke-opacity: 0.55;
}

.orb__b {
	stroke: var(--accent);
	stroke-opacity: 0.45;
}

.orb__disc .orb__s {
	stroke: var(--accent);
	stroke-opacity: 0.8;
	stroke-width: 1.6;
}

.orb__caption {
	margin: 0;
	font-size: 16px;
	color: var(--muted);
	text-align: center;
}

.orb__caption a {
	color: var(--ink);
	font-weight: 700;
}

/* ---------- Section heads ---------- */

.section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	justify-content: space-between;
	align-items: flex-end;
}

.section-head__title {
	margin: 0;
	font-size: clamp(36px, 4.4vw, 58px);
	line-height: 1.05;
}

.section-head__note {
	margin: 0;
	color: var(--muted);
}

.section-head__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Free samples ---------- */

.samples {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, var(--surface), var(--band));
	border-top: 1px solid var(--hair);
	border-bottom: 1px solid var(--hair);
}

.samples__waves--top {
	top: 0;
	height: 46%;
}

.samples__waves--bottom {
	bottom: 0;
	height: 40%;
	transform: scaleX(-1);
	stroke: var(--line);
}

.samples__inner {
	position: relative;
	padding-block: clamp(52px, 6vw, 92px);
}

.sample-list {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.listen-next .sample-list {
	margin-top: 14px;
}

.sample {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 20px 24px;
	border-radius: 20px;
	background: linear-gradient(100deg, var(--raised), var(--card-tint));
	border: 1px solid var(--hair);
	box-shadow: 0 18px 40px -28px var(--shadow);
}

.sample__text {
	flex: 1 1 260px;
	min-width: 0;
}

.sample__title {
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: clamp(22px, 2vw, 27px);
	line-height: 1.2;
	color: var(--ink);
	text-decoration: none;
}

.sample__title:hover {
	color: var(--accent);
}

.sample__note {
	margin: 4px 0 0;
	font-size: 16px;
	color: var(--muted);
}

.quote {
	margin: 40px 0 0;
	max-width: 760px;
}

.quote__text {
	margin: 0;
	font-style: italic;
	font-size: clamp(26px, 2.8vw, 36px);
	line-height: 1.25;
}

.quote__by {
	margin-top: 12px;
	font-size: 16px;
	color: var(--muted);
}

.quote__by a {
	color: var(--ink);
}

/* ---------- Ways in ---------- */

.paths {
	padding-block: clamp(56px, 7vw, 104px) 0;
}

.paths__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 20px;
	margin-top: 32px;
}

.path {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px;
	border-radius: 22px;
	border: 1px solid var(--hair);
	background: linear-gradient(160deg, var(--surface), var(--card-tint));
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.path svg {
	position: absolute;
	right: -34px;
	top: -34px;
	width: 150px;
	height: 150px;
	fill: none;
}

.path__rings {
	stroke: var(--violet);
	stroke-opacity: 0.45;
	stroke-width: 1;
}

.path__spiral {
	stroke: var(--accent);
	stroke-opacity: 0.6;
	stroke-width: 1.1;
}

.path__title {
	position: relative;
	font-size: 32px;
	line-height: 1.1;
}

.path__line {
	position: relative;
	max-width: 30ch;
	font-size: 17px;
	color: var(--muted);
}

.path__cta {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 700;
	color: var(--accent);
}

/* ---------- Stories ---------- */

.stories {
	padding-block: clamp(56px, 7vw, 104px) 0;
}

.stories__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 32px;
}

.story {
	position: relative;
	overflow: hidden;
	min-width: 0;
	border-radius: 24px;
	border: 1px solid var(--hair);
}

.story--lead {
	flex: 999 1 560px;
	padding: clamp(26px, 3vw, 44px);
	background: radial-gradient(120% 90% at 100% 100%, var(--glow-soft), var(--raised) 60%);
}

.story__rings {
	position: absolute;
	right: -150px;
	bottom: -170px;
	width: 420px;
	height: 420px;
	fill: none;
	stroke: var(--line2);
	stroke-width: 1.2;
}

.story__rings--b {
	stroke: var(--line);
}

.story__body {
	position: relative;
}

.story__title {
	margin: 12px 0 0;
	font-size: clamp(30px, 3.2vw, 44px);
	line-height: 1.1;
	text-wrap: balance;
}

.story__title a {
	color: var(--ink);
	text-decoration: none;
}

.story__title a:hover {
	color: var(--accent);
}

.story__in {
	margin: 20px 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--muted);
}

.story__chapters {
	margin: 0 0 24px;
	padding-left: 22px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 6px 28px;
	font-size: 17px;
}

.story__chapters li::marker {
	color: var(--accent);
	font-weight: 700;
}

.story--side {
	flex: 1 1 380px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(26px, 3vw, 40px);
	background: linear-gradient(200deg, var(--card-tint), var(--surface));
	color: var(--ink);
	text-decoration: none;
}

.story--side:hover {
	border-color: var(--violet);
}

.story--side .story__title {
	margin: 0;
	font-size: clamp(28px, 2.6vw, 36px);
}

.story__lede {
	font-size: 17px;
	color: var(--muted);
}

/* ---------- Lately ---------- */

.latest {
	padding-block: clamp(56px, 7vw, 104px);
}

.latest__grid {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 16px;
}

.tile {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	padding: 22px 24px;
	border-radius: 18px;
	border: 1px solid var(--hair);
	background: var(--surface);
}

.tile--audio {
	background: linear-gradient(140deg, var(--surface), var(--card-tint));
}

.tile .kicker {
	font-size: 14px;
}

.tile__title {
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: 22px;
	line-height: 1.2;
	color: var(--ink);
	text-decoration: none;
}

.tile__title:hover {
	color: var(--accent);
}

/* ---------- Subscribe ---------- */

.subscribe__panel {
	position: relative;
	overflow: hidden;
	background: radial-gradient(80% 120% at 85% 50%, var(--glow-soft), var(--band) 70%);
	border-top: 1px solid var(--hair);
}

.subscribe__moire {
	left: 88%;
	top: 50%;
	width: 900px;
	transform: translate(-50%, -50%);
	opacity: 0.85;
}

.subscribe__moire .moire__b {
	stroke: var(--line2);
}

.subscribe__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 32px 72px;
	align-items: center;
	padding-block: clamp(56px, 7vw, 104px);
}

.subscribe__text {
	flex: 1 1 420px;
	min-width: 0;
}

.subscribe__title {
	margin: 0;
	font-size: clamp(36px, 4.6vw, 62px);
	line-height: 1.04;
	text-wrap: balance;
}

.subscribe__lede {
	margin: 20px 0 0;
	max-width: 46ch;
	color: var(--muted);
}

.signature {
	margin: 12px 0 0;
	font-family: var(--display-font);
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-style: italic;
	font-size: 22px;
}

.subscribe__cta {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.subscribe__fine {
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

.subscribe--boxed {
	margin-top: clamp(40px, 5vw, 64px);
}

.subscribe--boxed .subscribe__panel {
	border: 1px solid var(--hair);
	border-radius: 24px;
	background: radial-gradient(90% 130% at 90% 50%, var(--glow-soft), var(--surface) 70%);
}

.subscribe--boxed .subscribe__inner {
	padding: clamp(26px, 4vw, 44px);
	gap: 24px 40px;
}

.subscribe--boxed .subscribe__moire {
	left: 100%;
	width: 640px;
}

.subscribe--boxed .subscribe__title {
	font-size: clamp(30px, 3.4vw, 44px);
}

/* ---------- Posts and pages ---------- */

.entry-head,
.list-head,
.lost {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--hair);
}

.entry-head__moire {
	left: 80%;
	top: 46%;
	width: 1000px;
	transform: translate(-50%, -50%);
}

.entry-head__inner {
	position: relative;
	padding-block: clamp(44px, 6vw, 92px) clamp(30px, 4vw, 56px);
}

.entry-head__inner .kicker {
	margin-bottom: 18px;
}

.entry-head__title {
	margin: 0;
	font-size: clamp(38px, 5.4vw, 76px);
	line-height: 1.02;
	letter-spacing: -0.02em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.byline {
	margin: 22px 0 0;
	color: var(--muted);
}

.entry-image {
	margin-top: 32px;
}

.entry-image img {
	display: block;
	border-radius: 20px;
}

.entry-content {
	padding-block: clamp(32px, 4vw, 52px) 0;
	font-size: 19px;
	line-height: 1.7;
	overflow-wrap: break-word;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content p {
	margin: 0 0 1em;
}

.entry-content h1,
.entry-content h2 {
	margin: 1.6em 0 0.6em;
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: clamp(30px, 3.2vw, 42px);
	line-height: 1.1;
}

.entry-content h3,
.entry-content h4 {
	margin: 1.4em 0 0.4em;
	font-size: 22px;
	line-height: 1.35;
}

.entry-content a {
	color: var(--accent);
	text-underline-offset: 3px;
}

.entry-content img {
	border-radius: 14px;
}

.entry-content .aligncenter {
	display: block;
	margin-inline: auto;
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.2em 0.8em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 0.8em 1.2em;
}

.entry-content hr {
	height: 1px;
	margin: 2em 0;
	border: 0;
	background: linear-gradient(90deg, transparent, var(--violet), var(--accent), transparent);
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--accent);
	font-family: var(--display-font);
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-style: italic;
	font-size: 1.15em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li::marker {
	color: var(--accent);
}

.entry-content iframe,
.entry-content video,
.entry-content embed {
	max-width: 100%;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption-text {
	font-size: 15px;
	color: var(--muted);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content td,
.entry-content th {
	padding: 8px 10px;
	border-bottom: 1px solid var(--hair);
}

/* WordPress's audio player (MediaElement) in the plum colours. */
.entry-content .wp-audio-shortcode {
	margin: 1.4em 0;
}

.mejs-container.wp-audio-shortcode {
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--hair), 0 16px 34px -22px var(--glow-b);
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
	background: var(--player) !important;
}

.mejs-controls .mejs-time-rail .mejs-time-total {
	background: rgba(255, 255, 255, 0.18);
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
	background: rgba(255, 255, 255, 0.28);
}

.mejs-controls .mejs-time-rail .mejs-time-current,
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #EE8CC9 !important;
}

/* The Mailjet sign-up form is a white widget; give it a card. */
.entry-content--signup iframe {
	display: block;
	width: 100%;
	margin: 1.2em 0;
	border-radius: 20px;
	background: #FFFFFF;
	box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -30px var(--glow-b);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	border: 1px solid var(--violet);
	color: var(--violet);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.chip:hover {
	background: var(--violet);
	color: var(--bg);
}

.listen-next {
	margin-top: clamp(48px, 6vw, 80px);
}

.listen-next__label {
	margin: 0;
}

.pager {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 14px;
	margin-top: clamp(32px, 4vw, 48px);
}

.pager__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 24px;
	border-radius: 18px;
	border: 1px solid var(--hair);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
}

.pager__link--older {
	text-align: right;
}

.pager__link:hover {
	border-color: var(--violet);
}

.pager__title {
	font-family: var(--display-font);
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: 21px;
	line-height: 1.25;
}

/* ---------- Lists: archives, search, older pages ---------- */

.list-head__moire {
	left: 86%;
	top: 50%;
	width: 820px;
	transform: translate(-50%, -50%);
}

.list-head::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(50% 80% at 82% 40%, color-mix(in srgb, var(--glow-a) 45%, transparent), transparent 70%);
}

.list-head__inner {
	position: relative;
	padding-block: clamp(40px, 5vw, 80px);
}

.list-head__title {
	margin: 10px 0 0;
	font-size: clamp(40px, 5.6vw, 76px);
	line-height: 1.02;
}

.list-head__desc {
	max-width: 60ch;
	margin-top: 14px;
	color: var(--muted);
}

.list-head__search {
	margin-top: 20px;
	max-width: 520px;
}

.list-body {
	padding-block: clamp(32px, 4vw, 56px);
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px;
	border-radius: 20px;
	border: 1px solid var(--hair);
	background: var(--surface);
}

.card--audio {
	background: linear-gradient(100deg, var(--raised), var(--card-tint));
}

.card__text {
	min-width: 0;
}

.card__title {
	margin: 6px 0 0;
	font-family: var(--display-font);
	font-optical-sizing: none;
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
}

.card__title a {
	color: var(--ink);
	text-decoration: none;
}

.card__title a:hover {
	color: var(--accent);
}

.card__lede {
	margin: 8px 0 0;
	font-size: 17px;
	color: var(--muted);
}

.empty {
	color: var(--muted);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--hair);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}

a.page-numbers:hover {
	border-color: var(--accent);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Not found ---------- */

.lost__moire {
	left: 50%;
	top: 50%;
	width: 1000px;
	transform: translate(-50%, -50%);
}

.lost__inner {
	position: relative;
	padding-block: clamp(64px, 9vw, 140px);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.lost__title {
	margin: 0;
	font-size: clamp(46px, 7vw, 96px);
	line-height: 1;
}

.lost__lede {
	margin: 0;
	color: var(--muted);
}

.lost__search {
	width: 100%;
	max-width: 480px;
}

/* ---------- Forms ---------- */

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
	width: 100%;
	min-height: 50px;
	padding: 10px 16px;
	border-radius: 14px;
	border: 1.5px solid var(--field);
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body-font);
	font-size: 17px;
}

textarea {
	min-height: 140px;
}

.search-submit,
.form-submit .submit {
	min-height: 50px;
	padding: 0 22px;
	border-radius: 999px;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--body-font);
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Comments ---------- */

.comments {
	margin-top: clamp(48px, 6vw, 80px);
}

.comments__title {
	margin: 0 0 20px;
	font-size: clamp(30px, 3vw, 40px);
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	margin-left: clamp(16px, 4vw, 40px);
}

.comment__body {
	margin-bottom: 14px;
	padding: 18px 22px;
	border-radius: 18px;
	border: 1px solid var(--hair);
	background: var(--surface);
}

.comment__meta {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--muted);
}

.comment__meta a {
	color: var(--muted);
}

.comment__author {
	color: var(--ink);
	font-weight: 700;
}

.comment__text p {
	margin: 0 0 0.6em;
}

.comment-reply-link {
	font-size: 15px;
	font-weight: 700;
}

.comment-respond {
	margin-top: 28px;
}

.comment-reply-title {
	margin: 0 0 10px;
	font-family: var(--display-font);
	font-variation-settings: 'opsz' 24, 'SOFT' 100;
	font-weight: var(--display-weight);
	font-size: 28px;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-weight: 500;
}

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

.site-foot {
	position: relative;
	margin-top: clamp(56px, 7vw, 96px);
	border-top: 1px solid var(--hair);
}

.site-foot__waves {
	top: 0;
	height: 100%;
	opacity: 0.6;
	stroke: var(--line);
}

.site-foot__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	justify-content: space-between;
	align-items: center;
	padding-block: 36px 52px;
}

.site-foot__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 22px;
}

.site-foot__nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.site-foot__nav a:hover {
	color: var(--accent);
}

.site-foot__search {
	flex: 1 1 280px;
	max-width: 420px;
}

.site-foot__copy {
	flex-basis: 100%;
	margin: 0;
	font-size: 15px;
	color: var(--muted);
}

/* ---------- Phones ---------- */

@media (max-width: 720px) {
	body {
		font-size: 17px;
	}

	.topline__news {
		min-height: 0;
		padding-bottom: 10px;
	}

	.site-head__inner {
		gap: 4px 8px;
	}

	.site-head__right {
		display: contents;
	}

	.brand__name {
		font-size: 24px;
	}

	.brand {
		margin-right: auto;
	}

	.theme-toggle {
		width: 44px;
		padding: 0;
		justify-content: center;
	}

	.site-head__subscribe {
		min-height: 44px;
		padding: 0 16px;
		font-size: 15px;
	}

	.theme-toggle .theme-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.site-nav {
		order: 3;
		flex-basis: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
	}

	.site-nav__list {
		flex-wrap: nowrap;
		white-space: nowrap;
		gap: 0 20px;
	}

	.hero__moire {
		left: 50%;
		top: 32%;
		width: 760px;
	}

	.orb__stage {
		max-width: 300px;
	}

	.play--orb {
		width: 80px;
		height: 80px;
	}

	.sample {
		padding: 18px;
		gap: 12px 16px;
	}

	.subscribe__moire {
		left: 100%;
	}

	.entry-head__moire,
	.list-head__moire {
		left: 70%;
		width: 640px;
	}

	.entry-content {
		font-size: 18px;
	}

	.card {
		padding: 18px;
		gap: 14px;
	}

	.pager__link--older {
		text-align: left;
	}
}

/* The home and archive pages end on the full-width band: no gap before the footer. */
.site-main:has(> .subscribe:not(.subscribe--boxed):last-child) + .site-foot {
	margin-top: 0;
}
