/*
	Very Serious Massage — site styles

	Started from "Indivisible" by Pixelarity
	(pixelarity.com | hello@pixelarity.com | License: pixelarity.com/license).
	Reorganised Nov 2026: unused template rules and old browser prefixes
	removed, colours gathered into variables, dark mode added, fonts
	served from this site instead of Google Fonts.

	 1. Colours (light, then dark)
	 2. Fonts
	 3. Reset
	 4. Page and type
	 5. Layout helpers
	 6. Headers
	 7. Lists and button rows
	 8. Buttons
	 9. Forms
	10. Intake form
	11. Tooltip
	12. Wrapper and panels
	13. Panel transitions (page load and switching panels)
	14. Footer

	Breakpoints, as in the template: 1680, 1280, 980, 736, 480 and 360px.
	After changing this file, bump ?v= on its <link> in index.html
	(browsers keep CSS for a week).
*/

/* 1. Colours
   Dark mode follows the visitor's device setting. Every colour lives
   here, so a change to the palette is made in one place. */

	:root {
		color-scheme: light dark;

		--page: #f4f4f4;              /* behind the panels */
		--surface: #ffffff;           /* panel text side */
		--text: #444;                 /* body copy */
		--heading: #555;              /* headings, labels, button text */
		--faint: #bbb;                /* placeholders, copyright line */
		--line: #cccccc;              /* borders, rules, button outlines */
		--field: rgba(144, 144, 144, 0.075);   /* inside text boxes and tick boxes */
		--ink: #555;                  /* filled shapes: ticked boxes, tooltip */
		--on-ink: #ffffff;            /* text and ticks on --ink */
		--photo: #777;                /* behind panel photos while they load */
		--accent: #45d1a9;            /* the green */
		--accent-strong: #2db68f;     /* green with more contrast against --surface */
		--accent-tint: rgba(69, 209, 169, 0.05);
		--on-accent: #10302a;         /* text on green buttons, both modes (as on the booking pages) */
		--primary-hover: #555;        /* green button, hovered */
		--whisper: #ddd;              /* the footer easter-egg link */

		/* Drawings can't use the variables above, so each theme has its own. */
		--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='96' viewBox='0 0 112 96'%3E%3Cg stroke='%23cccccc' stroke-width='4'%3E%3Cline x1='0' y1='46' x2='112' y2='46'/%3E%3Cline x1='24' y1='22' x2='0' y2='46'/%3E%3Cline x1='24' y1='70' x2='0' y2='46'/%3E%3C/g%3E%3C/svg%3E");
		--arrow-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='96' viewBox='0 0 112 96'%3E%3Cg stroke='%2345d1a9' stroke-width='4'%3E%3Cline x1='0' y1='46' x2='112' y2='46'/%3E%3Cline x1='24' y1='22' x2='0' y2='46'/%3E%3Cline x1='24' y1='70' x2='0' y2='46'/%3E%3C/g%3E%3C/svg%3E");
		--tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.5l3.6 3.6 7.2-8' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	}

	@media (prefers-color-scheme: dark) {

		:root {
			--page: #141414;
			--surface: #1f1f1f;
			--text: #c8c8c8;
			--heading: #b8b8b8;
			--faint: #6b6b6b;
			--line: #444444;
			--field: rgba(255, 255, 255, 0.04);
			--ink: #b8b8b8;
			--on-ink: #1f1f1f;
			--photo: #333;
			--accent-strong: #6fdcbe;
			--primary-hover: #2e2e2e;
			--whisper: #1c1c1c;

			--arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='96' viewBox='0 0 112 96'%3E%3Cg stroke='%23555555' stroke-width='4'%3E%3Cline x1='0' y1='46' x2='112' y2='46'/%3E%3Cline x1='24' y1='22' x2='0' y2='46'/%3E%3Cline x1='24' y1='70' x2='0' y2='46'/%3E%3C/g%3E%3C/svg%3E");
			--tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.5l3.6 3.6 7.2-8' fill='none' stroke='%231f1f1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
		}

	}

/* 2. Fonts
   Served from this site's fonts/ folder; no outside font service.
   These are the exact files Google Fonts used to send: Raleway in its
   regular weight only and Montserrat Bold, Western European letters.
   Raleway text set lighter or heavier in the rules below (300, 500,
   bold) is drawn from the regular file, as it always has been.
   Fonts are cached for a year, so give a replacement file a new name.

   Raleway: Copyright 2010 The Raleway Project Authors.
   Montserrat: Copyright 2011 The Montserrat Project Authors.
   Both under the SIL Open Font License 1.1 (openfontlicense.org);
   the notices are also inside each font file. */

	@font-face {
		font-family: "Raleway";
		font-style: normal;
		font-weight: 400;
		src: url("/fonts/raleway-400.woff2") format("woff2");
	}

	@font-face {
		font-family: "Montserrat";
		font-style: normal;
		font-weight: 700;
		src: url("/fonts/montserrat-700.woff2") format("woff2");
	}

/* 3. Reset */

	html, body, div, span, a, p, h1, h2, h3, h4, h5, h6, em, strong, b, i,
	small, img, ul, ol, li, form, label, fieldset, legend, article, section,
	header, footer, nav {
		margin: 0;
		padding: 0;
		border: 0;
		font: inherit;
		vertical-align: baseline;
	}

	html {
		box-sizing: border-box;
	}

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

	input, textarea {
		appearance: none;
	}

/* 4. Page and type
   The three font sizes on body set the scale of the whole site. */

	body {
		background: var(--page);
		-webkit-text-size-adjust: none;
	}

	body, input, textarea {
		color: var(--text);
		font-family: "Raleway", Helvetica, sans-serif;
		font-size: 16pt;
		font-weight: 300;
		line-height: 1.75;
		letter-spacing: 0.05em;
	}

	a {
		transition: color 0.2s ease, border-bottom-color 0.2s ease;
		text-decoration: none;
		border-bottom: dotted 1px;
		color: inherit;
	}

	a:hover {
		color: var(--accent) !important;
		border-bottom-color: transparent;
	}

	strong, b {
		color: var(--heading);
		font-weight: 500;
	}

	em, i {
		font-style: italic;
	}

	p {
		margin: 0 0 2em 0;
	}

	h1, h2, h3, h4, h5, h6 {
		color: var(--heading);
		font-family: "Montserrat", sans-serif;
		font-weight: 700;
		line-height: 1.5;
		margin: 0 0 1em 0;
		text-transform: uppercase;
		letter-spacing: 0.25em;
	}

	h1 { font-size: 2em; }
	h2 { font-size: 1.75em; }
	h3 { font-size: 1.25em; }
	h4 { font-size: 1em; }
	h5 { font-size: 0.9em; }
	h6 { font-size: 0.7em; }

	@media screen and (max-width: 1680px) {

		body, input, textarea {
			font-size: 13pt;
		}

	}

	@media screen and (max-width: 736px) {

		h1 { font-size: 1.5em; }
		h2 { font-size: 1.25em; }

	}

	@media screen and (max-width: 480px) {

		html, body {
			min-width: 320px;
		}

	}

	@media screen and (max-width: 360px) {

		body, input, textarea {
			font-size: 11pt;
		}

	}

/* 5. Layout helpers */

	.align-center {
		text-align: center;
	}

	.no-padding {
		padding: 0 !important;
	}

	/* Two columns side by side on wider screens (Services prices, intake form). */
	@media screen and (min-width: 770px) {

		.container {
			display: flex;
		}

		.container .flex-half {
			flex: 1;
		}

		.container .flex-half:first-child {
			padding: 0 15px 0 0;
		}

		.container .flex-half:last-child {
			padding: 0 0 0 15px;
		}

	}

/* 6. Headers
   The first line of a <header> gets a short rule under it. */

	header {
		margin: 3em 0;
	}

	header > :first-child {
		margin-bottom: 0;
	}

	header > :first-child:after {
		content: '';
		display: block;
		background-color: var(--line);
		height: 1px;
		margin: 1.5rem 0 1.75rem 0;
		width: 5rem;
	}

	.special header > :first-child:after {
		margin-left: auto;
		margin-right: auto;
	}

	header p {
		font-size: 0.9em;
		letter-spacing: 0.25em;
		margin-bottom: 0;
		text-transform: uppercase;
	}

	@media screen and (max-width: 736px) {

		header {
			margin: 2em 0;
		}

		header > :first-child:after {
			margin: 1.25rem 0 1.5rem 0;
		}

		header p {
			font-size: 0.8em;
		}

		header p br {
			display: none;
		}

	}

/* 7. Lists and button rows */

	ul {
		list-style: disc;
		margin: 0 0 2em 0;
		padding-left: 1em;
	}

	ul li {
		padding-left: 0.5em;
	}

	/* A row of buttons. */
	ul.actions {
		cursor: default;
		list-style: none;
		margin-left: -1em;
		margin-top: -1em;
		padding-left: 0;
	}

	ul.actions li {
		display: inline-block;
		margin: 1em 0 0 1em;
		padding-left: 0;
		vertical-align: middle;
	}

	/* Buttons in a column (home page), joined by short lines when .special. */
	ul.actions.stacked {
		margin-top: 0;
		margin-left: 0;
	}

	ul.actions.stacked li {
		display: block;
		margin: 0;
		padding: 1.5em 0 0 0;
		position: relative;
	}

	ul.actions.stacked li:first-child {
		padding-top: 0;
	}

	ul.actions.stacked li > * {
		margin-bottom: 0;
	}

	ul.actions.stacked li > .button {
		min-width: 15em;
	}

	ul.actions.stacked.special li:after {
		background-color: var(--line);
		content: '';
		display: block;
		height: 1.5em;
		left: 50%;
		position: absolute;
		top: 100%;
		width: 1px;
	}

	ul.actions.stacked.special li:last-child:after {
		display: none;
	}

	@media screen and (max-width: 736px) {

		ul.actions.stacked.special li {
			padding: 1em 0 0 0;
		}

		ul.actions.stacked.special li:after {
			height: 1em;
		}

	}

	/* A clicked button spins before the panels change (see main.js). */
	ul.actions.animated li {
		perspective: 1000px;
	}

	ul.actions.animated li a {
		transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.5s ease-in;
	}

	ul.actions.animated.spinX li a.active {
		transform: rotateX(480deg);
	}

	ul.actions.animated.spinY li a.active {
		transform: rotateY(480deg);
	}

/* 8. Buttons */

	input[type="submit"],
	button,
	.button {
		appearance: none;
		transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
		background-color: transparent;
		border-radius: 8px;
		border: 0;
		box-shadow: inset 0 0 0 1px var(--line);
		color: var(--heading) !important;
		cursor: pointer;
		display: inline-block;
		font-size: 0.8em;
		font-weight: 500;
		height: 3.5em;
		letter-spacing: 0.25em;
		line-height: 3.5em;
		padding: 0 2em;
		position: relative;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}

	/* Back: an arrow that turns green on hover (two arrows, cross-faded). */
	.button.back {
		padding-left: 4.75em;
	}

	.button.back:before,
	.button.back:after {
		transition: opacity 0.2s ease;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		content: '';
		display: inline-block;
		height: inherit;
		left: 2em;
		position: absolute;
		top: 0;
		vertical-align: middle;
		width: 2em;
	}

	.button.back:before {
		background-image: var(--arrow);
		opacity: 1;
	}

	.button.back:after {
		background-image: var(--arrow-hover);
		opacity: 0;
	}

	.button.back:hover:before,
	.button.back.active:before {
		opacity: 0;
	}

	.button.back:hover:after,
	.button.back.active:after {
		opacity: 1;
	}

	.button.small {
		font-size: 0.7em;
	}

	input[type="submit"]:hover,
	button:hover,
	.button:hover,
	.button.active {
		box-shadow: inset 0 0 0 1px var(--accent);
		color: var(--accent) !important;
	}

	input[type="submit"]:active,
	button:active,
	.button:active,
	.button.active {
		background-color: var(--accent-tint);
	}

	/* Green button (Book Online, Submit). */
	input[type="submit"].primary,
	button.primary,
	.button.primary {
		box-shadow: none;
		background-color: var(--accent);
		color: var(--on-accent) !important;
	}

	input[type="submit"].primary:hover,
	button.primary:hover,
	.button.primary:hover {
		background-color: var(--primary-hover);
		box-shadow: 5px 5px var(--accent);
		color: var(--accent) !important;
	}

	input[type="submit"].primary:active,
	button.primary:active,
	.button.primary:active {
		background-color: var(--accent-strong);
	}

/* 9. Forms */

	form {
		margin: 0 0 2em 0;
	}

	form > :last-child {
		margin-bottom: 0;
	}

	/* Fields wrap in rows; .half puts two on a line. */
	form .fields {
		display: flex;
		flex-wrap: wrap;
		width: calc(100% + 3em);
		margin: -1.5em 0 2em -1.5em;
		align-items: flex-end;
	}

	form .fields .field {
		flex-grow: 0;
		flex-shrink: 0;
		padding: 1.5em 0 0 1.5em;
		width: calc(100% - 1.5em);
	}

	form .fields .field.half {
		width: calc(50% - 0.75em);
	}

	@media screen and (max-width: 480px) {

		form .fields .field.half {
			width: calc(100% - 1.5em);
		}

	}

	label {
		color: var(--heading);
		display: block;
		font-size: 0.8em;
		font-weight: 500;
		margin: 0 0 1em 0;
		text-transform: uppercase;
		letter-spacing: 0.25em;
	}

	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"],
	textarea {
		background: var(--field);
		border-radius: 8px;
		border: solid 1px var(--line);
		color: inherit;
		display: block;
		outline: 0;
		padding: 0 1em;
		text-decoration: none;
		width: 100%;
	}

	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="number"] {
		height: 2.75em;
	}

	textarea {
		padding: 0.75em 1em;
	}

	input[type="text"]:invalid,
	input[type="email"]:invalid,
	input[type="tel"]:invalid,
	input[type="number"]:invalid,
	textarea:invalid {
		box-shadow: none;
	}

	input[type="text"]:focus,
	input[type="email"]:focus,
	input[type="tel"]:focus,
	input[type="number"]:focus,
	textarea:focus {
		border-color: var(--accent);
		box-shadow: 0 0 0 1px var(--accent);
	}

	::placeholder {
		color: var(--faint) !important;
		opacity: 1;
	}

	/* Tick boxes and round buttons: the real input is hidden, and the
	   label's :before draws the box. */
	input[type="checkbox"],
	input[type="radio"] {
		display: block;
		float: left;
		margin-right: -2em;
		opacity: 0;
		width: 1em;
		z-index: -1;
	}

	input[type="checkbox"] + label,
	input[type="radio"] + label {
		text-decoration: none;
		color: var(--text);
		cursor: pointer;
		display: inline-block;
		font-size: 0.8em;
		font-weight: 300;
		margin: 0 0 0.5em 0;
		padding-left: 2.9em;
		padding-right: 0.75em;
		position: relative;
	}

	input[type="checkbox"] + label:before,
	input[type="radio"] + label:before {
		background: var(--field);
		border: solid 1px var(--line);
		content: '';
		display: inline-block;
		height: 1.65em;
		left: 0;
		line-height: 1.58125em;
		position: absolute;
		text-align: center;
		top: 0;
		width: 1.65em;
		font-size: 1em;
		letter-spacing: 0;
	}

	input[type="checkbox"] + label:before {
		border-radius: 4px;
	}

	input[type="radio"] + label:before {
		border-radius: 100%;
	}

	input[type="checkbox"]:checked + label:before,
	input[type="radio"]:checked + label:before {
		background: var(--ink) var(--tick) center / 72% no-repeat;
		border-color: var(--ink);
	}

	input[type="checkbox"]:focus + label:before,
	input[type="radio"]:focus + label:before {
		border-color: var(--accent);
		box-shadow: 0 0 0 1px var(--accent);
	}

	/* Spam trap for a form field named "your-name" (planned honeypot). */
	#your-name {
		display: none;
	}

/* 10. Intake form */

	.intake-title {
		margin-top: 1em;
	}

	.the-fine-print {
		font-size: 0.8em;
		line-height: 1.25;
	}

	/* Health rows: a condition name, then Current / Past / None. */
	.intake-cell:first-child {
		border-top: 1px solid var(--line);
	}

	.intake-cell:first-child label {
		margin: 10px 0;
		font-weight: bold;
	}

	.intake-cell input[type="radio"] + label {
		margin: 0;
	}

	/* From 480px, each row is a table row and the choices are words in
	   pills (no round buttons); the chosen one is outlined in green. */
	@media screen and (min-width: 480px) {

		.intake-row {
			display: table-row;
		}

		.intake-cell {
			display: table-cell;
			padding: 5px;
			border-top: 1px solid var(--line);
		}

		.intake-cell * {
			margin-bottom: 0 !important;
		}

		.intake-cell input[type="radio"] + label:before {
			content: none !important;
		}

		.intake-cell input[type="radio"] + label {
			border: 1px solid transparent;
			border-radius: 20px;
			padding-left: 0.5em;
			padding-right: 0.25em;
		}

		.intake-cell input[type="radio"]:checked + label {
			border: 1px solid var(--accent-strong);
			color: var(--accent-strong);
		}

		/* Keyboard users see which pill they're on. */
		.intake-cell input[type="radio"]:focus-visible + label {
			box-shadow: 0 0 0 1px var(--accent);
		}

	}

/* 11. Tooltip
   The "?" by the consent text; the summary shows on hover. */

	.tooltip {
		position: relative;
		display: inline-block;
		color: var(--on-ink);
		background-color: var(--ink);
		border-radius: 50%;
		width: 24px;
		height: 24px;
		text-align: center;
	}

	.tooltip .tooltiptext {
		visibility: hidden;
		width: 333px;
		max-width: 50vw;
		background-color: var(--ink);
		color: var(--on-ink);
		text-align: left;
		padding: 10px;
		border-radius: 6px;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: 50%;
		margin-left: -18px;
		opacity: 0;
		transition: opacity 0.3s;
	}

	/* The little arrow under the bubble. */
	.tooltip .tooltiptext::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 5%;
		margin-left: -5px;
		border-width: 5px;
		border-style: solid;
		border-color: var(--ink) transparent transparent transparent;
	}

	.tooltip:hover .tooltiptext {
		visibility: visible;
		opacity: 1;
	}

	.tooltiptext h6 {
		color: var(--on-ink);
	}

	.tooltiptext ul {
		margin: 0;
	}

	.tooltiptext ul li {
		padding-left: 0;
	}

/* 12. Wrapper and panels
   Each panel is a photo on one side and text on the other; on narrower
   screens the photo goes on top. Only one panel shows at a time. */

	#wrapper {
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
		perspective: 1000px;
		min-height: 100vh;
		padding: 3em;
		width: 100%;
	}

	.panel {
		display: flex;
		align-items: stretch;
		justify-content: center;
		transition: opacity 0.5s ease, transform 0.5s ease;
		max-width: calc(100vw - 6em);
		width: 86em;
	}

	/* main.js turns the <img> into this box's background. */
	.panel > .image {
		position: relative;
		transition: transform 0.5s ease;
		background-color: var(--photo);
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		min-height: 50em;
		width: 50%;
		z-index: 1;
	}

	.panel > .image img {
		display: block;
		height: 100%;
		object-fit: cover;
		object-position: center;
		width: 100%;
	}

	.panel > .content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		transition: transform 0.5s ease;
		background-color: var(--surface);
		padding: 3em;
		width: 50%;
	}

	.panel > .content.fullwidth {
		width: 100%;
	}

	.panel.special {
		text-align: center;
	}

	.panel.special > .content > .inner > :nth-child(n+2):nth-last-child(n+2) {
		margin: 3em 0;
	}

	/* Secondary panels: Back button at the top, text in the middle. */
	.panel.secondary > .content {
		justify-content: space-between;
	}

	.panel.secondary > .content > .actions {
		margin-bottom: 0;
	}

	.panel.secondary > .content:after {
		content: '';
		display: block;
		width: 100%;
	}

	@media screen and (max-width: 1680px) {

		.panel {
			width: 75em;
		}

		.panel > .image {
			min-height: 45em;
		}

	}

	@media screen and (max-width: 1280px) {

		#wrapper {
			padding: 1.5em;
		}

		.panel {
			max-width: calc(100vw - 3em);
		}

		.panel > .image {
			min-height: 35em;
		}

		.panel > .content {
			padding: 3em 2.5em;
		}

	}

	@media screen and (max-width: 980px) {

		#wrapper {
			padding: 2em;
		}

		.panel {
			flex-direction: column;
		}

		.panel > .image {
			min-height: 60vh;
			width: 100%;
		}

		.panel > .content {
			display: block;
			padding: 3em;
			width: 100%;
		}

		.panel > .content:after {
			display: none;
		}

	}

	@media screen and (max-width: 736px) {

		#wrapper {
			padding: 1em;
		}

		.panel {
			max-width: calc(100vw - 2em);
			width: 30em;
		}

		.panel > .image {
			min-height: 18em;
			max-height: 30vh;
		}

		.panel > .image.tall {
			min-height: 30em;
			max-height: 30vh;
		}

		.panel > .content {
			padding: 2em;
		}

		.panel.special > .content > .inner > :nth-child(n+2):nth-last-child(n+2) {
			margin: 2em 0;
		}

	}

	@media screen and (max-width: 480px) {

		.panel > .content {
			padding: 2em 1.5em;
		}

	}

	@media screen and (max-width: 360px) {

		.panel > .image {
			min-height: 15em;
		}

	}

/* 13. Panel transitions
   main.js adds .inactive to fade a panel out, and removes the
   is-preload classes from <body> once the page has loaded. */

	body.is-preload-0 *,
	body.is-preload-0 *:before,
	body.is-preload-0 *:after {
		animation: none !important;
		transition: none !important;
	}

	.panel.inactive {
		opacity: 0;
	}

	.panel.inactive > .image {
		transform: translateY(1em);
	}

	.panel.inactive > .content {
		transform: translateY(-1em);
	}

	.panel.special.inactive {
		transform: translateZ(-2em);
	}

	.panel.special.inactive > .image,
	.panel.special.inactive > .content {
		transform: none;
	}

	@media screen and (max-width: 980px) {

		.panel.inactive > .image {
			transform: translateX(1em);
		}

		.panel.inactive > .content {
			transform: translateX(-1em);
		}

	}

	/* On first load the panel slides in from both sides. */
	body.is-preload-0 .panel {
		opacity: 0;
	}

	body.is-preload-0 .panel > .image {
		transform: translateX(4em);
	}

	body.is-preload-0 .panel > .content {
		transform: translateX(-4em);
	}

	@media screen and (max-width: 980px) {

		body.is-preload-0 .panel {
			transform: translateZ(-2em);
		}

		body.is-preload-0 .panel > .image,
		body.is-preload-0 .panel > .content {
			transform: none;
		}

	}

	body.is-preload-1 .panel {
		transition: opacity 2s ease, transform 0.5s ease;
	}

	body.is-preload-1 .panel > .image,
	body.is-preload-1 .panel > .content {
		transition: transform 1s ease;
	}

/* 14. Footer */

	#footer {
		transition: opacity 0.5s ease;
		margin: 3em 0 0 0;
		opacity: 1;
		text-align: center;
	}

	#footer .copyright {
		color: var(--faint);
		font-size: 0.8em;
		letter-spacing: 0.25em;
		margin-bottom: 0;
		text-transform: uppercase;
	}

	#footer.inactive {
		opacity: 0;
	}

	body.is-preload-0 #footer {
		opacity: 0;
	}

	@media screen and (max-width: 1680px) {

		#footer {
			margin: 2em 0 0 0;
		}

	}

	@media screen and (max-width: 1280px) {

		#footer {
			margin: 1.5em 0 0 0;
		}

	}

	/* Very Serious Message: a quiet link in the bottom corner. */
	.vsmsg {
		position: absolute;
		bottom: 0;
		left: 10px;
		color: var(--whisper);
		border-bottom: 0;
	}
