/* ==========================================================================
   StageVolt
   One idea carries the design: the wire and ring from the logo.
   Black and white like the logo, one tungsten accent, colour from the photos.
   ========================================================================== */

:root {
	--bg: #000000;
	--surface: #16151a;
	--text: #f5f4f7;
	--muted: #a6a2af;
	--line: #ffffff;
	--accent: #ffb238;
	--accent-hover: #ffc566;
	--accent-ink: #000000;
	--focus: #ffb238;
	--field-border: #6f6b78;
	--error: #ff7a7a;
	color-scheme: dark;

	--font: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wide: 78rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--pad-x: max(var(--gutter), calc((100% - var(--wide)) / 2));
	--header-h: 4.5rem;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) {
		--bg: #ffffff;
		--surface: #f2f1f4;
		--text: #000000;
		--muted: #57535f;
		--line: #000000;
		--accent-hover: #ffa21a;
		--focus: #000000;
		--field-border: #85818d;
		--error: #c62828;
		color-scheme: light;
	}
}

:root[data-theme="light"] {
	--bg: #ffffff;
	--surface: #f2f1f4;
	--text: #000000;
	--muted: #57535f;
	--line: #000000;
	--accent-hover: #ffa21a;
	--focus: #000000;
	--field-border: #85818d;
	--error: #c62828;
	color-scheme: light;
}

/* Logo artwork: white for dark mode, black for light mode */
.sv-for-light { display: none !important; }

@media (prefers-color-scheme: light) {
	:root:not([data-theme="dark"]) .sv-for-light { display: block !important; }
	:root:not([data-theme="dark"]) .sv-for-dark { display: none !important; }
}

:root[data-theme="light"] .sv-for-light { display: block !important; }
:root[data-theme="light"] .sv-for-dark { display: none !important; }

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

html {
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

a:hover { text-decoration-color: var(--accent); }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}

::selection {
	background: var(--accent);
	color: #000;
}

h1, h2, h3, h4 {
	font-stretch: 125%;
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin: 0;
}

p { text-wrap: pretty; }

.sv-main:focus { outline: none; }

.sv-skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
}

.sv-skip:focus { top: 0.75rem; }

/* -------------------------------------------------------------- Header --- */

.sv-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
}

.sv-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: var(--wide);
	height: var(--header-h);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.sv-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-right: auto;
	text-decoration: none;
	border-radius: 999px;
}

.sv-brand__mark {
	width: 38px;
	height: 38px;
}

.sv-brand__word {
	width: 128px;
	height: auto;
}

.sv-nav {
	display: flex;
	align-items: center;
	gap: 2.25rem;
}

.sv-nav__list {
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-nav__list a {
	color: var(--muted);
	font-size: 0.9375rem;
	font-stretch: 112%;
	font-weight: 500;
	text-decoration: none;
}

.sv-nav__list a:hover,
.sv-nav__list .current-menu-item > a { color: var(--text); }

.sv-nav__tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.sv-langs {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-langs a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	min-height: 2.5rem;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.875rem;
	font-stretch: 112%;
	font-weight: 600;
	text-decoration: none;
}

.sv-langs a:hover { color: var(--text); }

/* Current language gets the ring from the logo */
.sv-langs a[aria-current] {
	color: var(--text);
	box-shadow: inset 0 0 0 2px var(--line);
}

.sv-theme-toggle {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--text);
	cursor: pointer;
}

.sv-menu-toggle { display: none; }

@media (max-width: 960px) {
	.sv-header__inner { flex-wrap: wrap; }

	.js .sv-header__inner { flex-wrap: nowrap; }

	.js .sv-menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.65rem;
		min-height: 2.75rem;
		padding: 0 0.25rem;
		border: 0;
		background: none;
		color: var(--text);
		font: inherit;
		font-size: 1rem;
		font-weight: 500;
		cursor: pointer;
	}

	.sv-menu-toggle__bars,
	.sv-menu-toggle__bars::before,
	.sv-menu-toggle__bars::after {
		display: block;
		width: 22px;
		height: 2px;
		background: currentColor;
	}

	.sv-menu-toggle__bars { position: relative; }

	.sv-menu-toggle__bars::before,
	.sv-menu-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.sv-menu-toggle__bars::before { top: -7px; }
	.sv-menu-toggle__bars::after { top: 7px; }

	.sv-header.is-open .sv-menu-toggle__bars { background: transparent; }
	.sv-header.is-open .sv-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.sv-header.is-open .sv-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

	.js .sv-nav {
		display: none;
		position: fixed;
		inset: var(--header-h) 0 0 0;
		flex-direction: column;
		align-items: stretch;
		justify-content: space-between;
		gap: 2rem;
		padding: 1.5rem var(--gutter) 2rem;
		background: var(--bg);
		overflow-y: auto;
	}

	.js .sv-header.is-open .sv-nav { display: flex; }

	.js .sv-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.js .sv-nav__list a {
		display: block;
		padding: 0.9rem 0;
		border-bottom: 2px solid var(--surface);
		color: var(--text);
		font-size: 1.75rem;
		font-stretch: 125%;
		font-weight: 600;
	}

	.js .sv-nav__tools { justify-content: space-between; }
}

html.sv-menu-open { overflow: hidden; }

/* ----------------------------------------------------- Shared sections --- */

/* Section wrappers handle their own spacing */
.sv-home .wp-block-group { margin-block: 0; }

.sv-section {
	padding: clamp(4.5rem, 10vw, 8.5rem) var(--pad-x);
}

.sv-home > .sv-section + .sv-section { padding-top: 0; }

.sv-home > .sv-hero + .sv-section { padding-top: clamp(3rem, 6vw, 5rem); }

.sv-section .sv-section__head {
	display: grid;
	gap: 1.1rem;
	margin: 0 0 clamp(2.5rem, 6vw, 4.25rem);
}

.sv-section__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.sv-section__intro {
	max-width: 56ch;
	margin: 0;
	color: var(--muted);
	font-size: 1.1875rem;
}


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

.sv-main .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.sv-main .wp-block-button { margin: 0; }

.sv-main .wp-block-button__link,
.sv-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	padding: 0.7rem 1.6rem;
	border: 2px solid var(--accent);
	border-radius: 999px;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--font);
	font-size: 1rem;
	font-stretch: 112%;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.sv-main .wp-block-button__link:hover,
.sv-button:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--accent-ink);
}

.sv-main .wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: var(--line);
	background: transparent;
	color: var(--text);
}

.sv-main .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--line);
	color: var(--bg);
}

/* ----------------------------------------------------------------- Hero ---
   The logo, turned into a window: a ring on a wire that runs edge to edge,
   with a stage photo where the bolt would be. The wire splits the headline.
   ------------------------------------------------------------------------ */

.sv-hero {
	--D: clamp(15rem, 40vw, 33rem);
	--t: calc(var(--D) * 0.0625); /* ring and wire thickness, same ratio as the logo */
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--D);
	grid-template-rows: minmax(0, 1fr) var(--t) minmax(0, 1fr);
	column-gap: clamp(2rem, 5vw, 5.5rem);
	min-height: min(calc(100svh - var(--header-h)), 58rem);
	box-sizing: border-box;
	padding: clamp(2.5rem, 5vw, 4rem) var(--pad-x);
	overflow: hidden;
}

.sv-hero::before {
	content: "";
	grid-column: 1 / -1;
	grid-row: 2;
	margin-inline: calc((100% - 100vw) / 2);
	background: var(--line);
}

.sv-hero__lamp.wp-block-image {
	position: relative;
	z-index: 1;
	grid-column: 2;
	grid-row: 1 / 4;
	align-self: center;
	box-sizing: border-box;
	width: var(--D);
	aspect-ratio: 1;
	margin: 0;
	padding: calc(var(--t) * 0.55);
	border: var(--t) solid var(--line);
	border-radius: 50%;
	background: var(--bg);
}

.sv-hero__lamp img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.sv-hero__text { display: contents; }

.sv-hero__title {
	grid-column: 1;
	grid-row: 1;
	align-self: end;
	margin: 0 0 clamp(1rem, 2.2vw, 1.6rem);
	font-size: clamp(2.5rem, 5.4vw, 4.6rem);
	line-height: 1.02;
}

.sv-hero__below {
	grid-column: 1;
	grid-row: 3;
	align-self: start;
	padding-top: clamp(1rem, 2.2vw, 1.6rem);
}

.sv-hero__line {
	margin: 0;
	font-size: clamp(1.4rem, 2.5vw, 2.125rem);
	font-stretch: 125%;
	font-weight: 500;
	line-height: 1.15;
	text-wrap: balance;
}

.sv-hero__lede {
	max-width: 46ch;
	margin: 1.5rem 0 0;
	color: var(--muted);
	font-size: 1.125rem;
}

.sv-hero__actions.wp-block-buttons { margin-top: 2rem; }

@media (prefers-reduced-motion: no-preference) {
	/* The wire runs in from the left; the photo strikes on like a lamp when it reaches the ring. */
	.sv-hero::before {
		transform-origin: left center;
		animation: sv-wire 1.15s var(--ease) both;
	}

	.sv-hero__lamp img { animation: sv-strike 1.5s linear both; }
}

@keyframes sv-wire {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes sv-strike {
	0%, 52% { opacity: 0; }
	55% { opacity: 0.85; }
	58% { opacity: 0.12; }
	63% { opacity: 1; }
	66% { opacity: 0.55; }
	72%, 100% { opacity: 1; }
}

@media (max-width: 860px) {
	.sv-hero {
		--D: min(74vw, 22rem);
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		min-height: 0;
		padding-top: 2rem;
	}

	.sv-hero::before {
		grid-row: 1;
		align-self: center;
		height: var(--t);
	}

	.sv-hero__lamp.wp-block-image {
		grid-column: 1;
		grid-row: 1;
		justify-self: center;
	}

	.sv-hero .sv-hero__title {
		grid-row: 2;
		margin: 2.5rem 0 0;
	}

	.sv-hero__below {
		grid-row: 3;
		padding-top: 1rem;
	}

	.sv-hero__line { color: var(--muted); }
}

/* ------------------------------------------------------------- Services --- */

.sv-services__list {
	display: grid;
}

.sv-service {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 1.25rem 3rem;
	padding: 2.25rem 0 3rem;
	border-top: 2px solid var(--line);
}

/* A junction on the wire where each service starts */
.sv-service::before {
	content: "";
	position: absolute;
	top: -9px;
	left: 0;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 2px solid var(--line);
	border-radius: 50%;
	background: var(--bg);
}

.sv-service__title {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.sv-service__body p {
	max-width: 56ch;
	margin: 0 0 1.5rem;
}

.sv-dashes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 1rem;
}

.sv-dashes li {
	position: relative;
	padding-left: 1.6rem;
}

.sv-dashes li::before {
	content: "";
	position: absolute;
	top: 0.8em;
	left: 0;
	width: 0.9rem;
	height: 2px;
	background: var(--accent);
}

@media (max-width: 760px) {
	.sv-service { grid-template-columns: minmax(0, 1fr); }
	.sv-dashes { grid-template-columns: minmax(0, 1fr); }
}

/* ----------------------------------------------------------------- Work --- */

.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.5rem, 1.2vw, 1rem);
	margin: 0;
}

.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: auto;
	margin: 0;
	aspect-ratio: 3 / 4;
	background: var(--surface);
}

/* The first photo is landscape and takes two columns */
.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child {
	grid-column: span 2;
	aspect-ratio: auto;
}

.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	box-sizing: border-box;
	padding: 3rem 0.9rem 0.8rem;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0) 100%);
	color: #fff;
	font-size: 0.875rem;
	line-height: 1.35;
	text-align: left;
	text-shadow: none;
}

@media (max-width: 900px) {
	.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sv-main .sv-work__gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image):first-child {
		aspect-ratio: 16 / 10;
	}
}

/* ---------------------------------------------------------------- About --- */

.sv-about {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	gap: clamp(2rem, 7vw, 7rem);
}

.sv-about__photo.wp-block-image {
	margin: 0;
}

.sv-about__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.sv-about__photo figcaption {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.875rem;
	text-align: left;
}

.sv-about__text p {
	max-width: 50ch;
	margin: 1.25rem 0 0;
	font-size: 1.1875rem;
}

.sv-about__text .sv-section__title { margin-bottom: 0.5rem; }

@media (max-width: 760px) {
	.sv-about { grid-template-columns: minmax(0, 1fr); }
}

/* -------------------------------------------------------------- Process --- */

.sv-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: sv-step;
}

/* The wire the steps hang on */
.sv-steps::before {
	content: "";
	position: absolute;
	top: 1.375rem;
	right: calc((100% - 100vw) / 2);
	left: 0;
	height: 2px;
	background: var(--line);
	transform: translateY(-50%);
}

.sv-steps li {
	position: relative;
	padding-top: 4.25rem;
	color: var(--muted);
	font-size: 1rem;
	counter-increment: sv-step;
}

.sv-steps li::before {
	content: counter(sv-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 2.75rem;
	height: 2.75rem;
	border: 2px solid var(--line);
	border-radius: 50%;
	background: var(--bg);
	color: var(--text);
	font-size: 1rem;
	font-stretch: 112%;
	font-weight: 600;
}

.sv-steps li strong {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text);
	font-size: 1.375rem;
	font-stretch: 125%;
	font-weight: 600;
	line-height: 1.15;
}

.sv-steps br { display: none; }

.sv-process { overflow-x: clip; }

.sv-process__note {
	max-width: 62ch;
	margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
	color: var(--muted);
}

@media (max-width: 900px) {
	.sv-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.25rem;
	}

	.sv-steps::before {
		top: 0;
		bottom: 0;
		left: 1.375rem;
		right: auto;
		width: 2px;
		height: auto;
		transform: translateX(-50%);
	}

	.sv-steps li {
		padding: 0.35rem 0 0 4.25rem;
	}
}

/* -------------------------------------------------------------- Contact --- */

.sv-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	align-items: start;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.sv-contact__intro .sv-section__intro { margin-top: 1.1rem; }

.sv-details {
	display: grid;
	gap: 1.1rem;
	margin: 2.5rem 0 0;
}

.sv-details__row { display: grid; gap: 0.1rem; }

.sv-details dt {
	color: var(--muted);
	font-size: 0.875rem;
}

.sv-details dd {
	margin: 0;
	font-size: 1.25rem;
	font-stretch: 112%;
	font-weight: 500;
	overflow-wrap: anywhere;
}

.sv-details a {
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
}

.sv-form-wrap {
	padding: clamp(1.5rem, 4vw, 2.75rem);
	border-radius: 1.25rem;
	background: var(--surface);
}

.sv-form {
	display: grid;
	gap: 1.35rem;
}

.sv-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.35rem;
}

.sv-field {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.sv-field label,
.sv-field legend {
	padding: 0;
	font-size: 0.9375rem;
	font-weight: 500;
}

.sv-field legend { margin-bottom: 0.6rem; }

.sv-field input,
.sv-field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 3.1rem;
	padding: 0.75rem 0.9rem;
	border: 2px solid var(--field-border);
	border-radius: 0.625rem;
	background: var(--bg);
	color: var(--text);
	font: inherit;
	font-size: 1rem;
}

.sv-field textarea {
	min-height: 9rem;
	resize: vertical;
}

.sv-field input:focus-visible,
.sv-field textarea:focus-visible {
	border-color: var(--line);
	outline: 3px solid var(--focus);
	outline-offset: 1px;
}

.sv-field__hint {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.sv-choice__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sv-choice__option { position: relative; }

.sv-choice__option input {
	position: absolute;
	inset: 0;
	opacity: 0;
	margin: 0;
	cursor: pointer;
}

.sv-choice__option span {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.45rem 1.1rem;
	border: 2px solid var(--field-border);
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 500;
}

.sv-choice__option input:checked + span {
	border-color: var(--line);
	background: var(--line);
	color: var(--bg);
}

.sv-choice__option input:focus-visible + span {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.sv-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.sv-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: 0.25rem;
}

.sv-form__privacy {
	max-width: 34ch;
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
}

.sv-notice {
	margin: 0 0 1.5rem;
	padding: 0.9rem 1.1rem;
	border-left: 4px solid var(--accent);
	border-radius: 0.5rem;
	background: var(--bg);
	font-weight: 500;
}

.sv-notice--error { border-left-color: var(--error); }

.sv-notice:focus { outline: none; }

@media (max-width: 860px) {
	.sv-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
	.sv-form__row { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------- Footer ---
   The full logo closes the page: ring on a wire that runs edge to edge.
   ------------------------------------------------------------------------ */

.sv-footer {
	padding: clamp(4rem, 10vw, 7rem) 0 2rem;
	overflow: hidden;
}

.sv-footer__logo {
	--D: clamp(6.5rem, 16vw, 10rem);
	position: relative;
	display: grid;
	justify-items: center;
	text-decoration: none;
}

.sv-footer__wire {
	position: absolute;
	top: calc(var(--D) / 2);
	right: 0;
	left: 0;
	height: calc(var(--D) * 0.0625);
	background: var(--line);
	transform: translateY(-50%);
}

.sv-footer__mark {
	position: relative;
	z-index: 1;
	width: var(--D);
	height: var(--D);
	border-radius: 50%;
	background: var(--bg);
}

.sv-footer__word {
	width: calc(var(--D) * 1.22);
	height: auto;
	margin-top: calc(var(--D) * 0.06);
}

.sv-footer__logo:focus-visible { outline-offset: 8px; }

.sv-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	max-width: var(--wide);
	margin: clamp(3rem, 7vw, 4.5rem) auto 0;
	padding: 0 var(--gutter);
	color: var(--muted);
	font-size: 0.9375rem;
}

.sv-footer__line { margin: 0; }

.sv-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}

.sv-footer__links a { text-decoration-color: var(--muted); }

/* ------------------------------------------------- Pages, posts, prose --- */

.sv-article {
	max-width: 46rem;
	margin: 0 auto;
	padding: clamp(3rem, 8vw, 6rem) var(--gutter);
}

.sv-article__head { margin-bottom: 2.5rem; }

.sv-article__title { font-size: clamp(2.25rem, 5vw, 3.5rem); }

.sv-article__date {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.9375rem;
}

.sv-prose > * { margin-block: 0; }
.sv-prose > * + * { margin-top: 1.15em; }
.sv-prose h2 { margin-top: 2em; font-size: 1.75rem; }
.sv-prose h3 { margin-top: 1.75em; font-size: 1.3rem; }
.sv-prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.sv-prose ul, .sv-prose ol { padding-left: 1.25em; }

.sv-posts { display: grid; gap: 2.5rem; }
.sv-post { padding-top: 1.5rem; border-top: 2px solid var(--line); }
.sv-post__title { font-size: 1.6rem; }
.sv-post__title a { text-decoration: none; }

.sv-404 .sv-button { margin-top: 1rem; }

/* Blocks people may add in their own pages */
.sv-main .wp-block-image figcaption { color: var(--muted); font-size: 0.875rem; }
.sv-main .wp-block-separator { border: 0; border-top: 2px solid var(--line); }
.sv-main .wp-block-quote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--accent); }
