/* ============================================================================
 * FABULA — shared theme
 *
 * Aesthetic derived from the Fabula Ultima core rulebook (Need Games /
 * Rooster Games): deep teal #2b4a42, Atlas blue #416476, parchment, gold and
 * crimson accents, Antonio headings and PT Sans body text. The same tokens
 * dress the landing page and the session archive, so the whole site reads as
 * one book.
 *
 * Browsers: Firefox + Chrome. No vendor prefixes required.
 * ========================================================================== */

/* --- Fonts (self-hosted; OFL) -------------------------------------------- */

@font-face {
	font-family: "Cinzel";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("fonts/cinzel-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Cinzel";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("fonts/cinzel-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Antonio";
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url("fonts/antonio-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Antonio";
	font-style: normal;
	font-weight: 100 700;
	font-display: swap;
	src: url("fonts/antonio-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/ptsans-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/ptsans-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/ptsans-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "PT Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/ptsans-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "PT Sans Narrow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/ptsansnarrow-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "PT Sans Narrow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/ptsansnarrow-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens -------------------------------------------------------------- */

:root {
	color-scheme: light;

	/* Brand */
	--fu-teal: #2b4a42;          /* core rulebook accent */
	--fu-teal-deep: #1b332c;
	--fu-teal-soft: #3f6b5f;
	--fu-blue: #416476;          /* Atlas: Techno Fantasy accent */
	--fu-gold: #b08d2f;
	--fu-gold-bright: #d3ac4a;
	--fu-crimson: #8e2f3c;

	/* Surfaces */
	--fu-bg: #f2ead9;
	--fu-bg-alt: #e9dfc8;
	--fu-panel: #fbf6ea;
	--fu-panel-alt: #f6efdd;

	/* Ink */
	--fu-ink: #22302b;
	--fu-ink-dim: #5b6a63;
	--fu-ink-faint: #8a948d;

	/* Lines & effects */
	--fu-rule: rgb(43 74 66 / 26%);
	--fu-rule-soft: rgb(43 74 66 / 14%);
	--fu-gold-line: rgb(176 141 47 / 55%);
	--fu-mark-bg: #f4e07f;
	--fu-mark-ink: #2b2410;
	--fu-shadow: 0 10px 30px rgb(27 51 44 / 14%);
	--fu-shadow-sm: 0 3px 10px rgb(27 51 44 / 10%);

	/* Speaker accent defaults (consumed by the archive's inline HSL colours) */
	--speaker-l: 32%;
	--speaker-bg-l: 80%;
	--speaker-bg-a: 0.20;

	/* Type */
	--fu-font-display: "Cinzel", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--fu-font-head: "Antonio", "PT Sans Narrow", "Arial Narrow", sans-serif;
	--fu-font-body: "PT Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--fu-font-meta: "PT Sans Narrow", "Arial Narrow", sans-serif;

	/* Metrics */
	--fu-shell: 1120px;
	--fu-radius: 3px;

	/* Motion — short and settling, never a performance the page has to wait on */
	--fu-dur-fast: 130ms;
	--fu-dur: 260ms;
	--fu-dur-reveal: 620ms;
	--fu-ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
	--fu-ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
	--fu-stagger: 60ms;
}

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

		--fu-teal: #6db3a0;
		--fu-teal-deep: #0f1d18;
		--fu-teal-soft: #4e8d7c;
		--fu-blue: #7fa6bd;
		--fu-gold: #d8b64a;
		--fu-gold-bright: #e7cd7c;
		--fu-crimson: #d0717f;

		--fu-bg: #101a16;
		--fu-bg-alt: #16241f;
		--fu-panel: #1a2b25;
		--fu-panel-alt: #20342c;

		--fu-ink: #ece6d7;
		--fu-ink-dim: #aab5ad;
		--fu-ink-faint: #79857d;

		--fu-rule: rgb(216 182 74 / 24%);
		--fu-rule-soft: rgb(216 182 74 / 12%);
		--fu-gold-line: rgb(216 182 74 / 50%);
		--fu-mark-bg: #d8b64a;
		--fu-mark-ink: #1a1508;
		--fu-shadow: 0 12px 34px rgb(0 0 0 / 45%);
		--fu-shadow-sm: 0 3px 12px rgb(0 0 0 / 35%);

		--speaker-l: 74%;
		--speaker-bg-l: 26%;
		--speaker-bg-a: 0.30;
	}
}

/* --- Reset / base -------------------------------------------------------- */

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

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

body {
	margin: 0;
	min-height: 100vh;
	background-color: var(--fu-bg);
	background-image:
		radial-gradient(1200px 600px at 50% -200px, rgb(255 255 255 / 45%), transparent 70%),
		repeating-linear-gradient(0deg, rgb(43 74 66 / 2.5%) 0 1px, transparent 1px 4px);
	background-attachment: fixed;
	color: var(--fu-ink);
	font-family: var(--fu-font-body);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizelegibility;
}

@media (prefers-color-scheme: dark) {
	body {
		background-image:
			radial-gradient(1200px 600px at 50% -200px, rgb(109 179 160 / 8%), transparent 70%),
			repeating-linear-gradient(0deg, rgb(216 182 74 / 2%) 0 1px, transparent 1px 4px);
	}
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.4em;
	line-height: 1.15;
	font-weight: 700;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--fu-teal-soft);
	text-decoration-color: var(--fu-gold-line);
	text-underline-offset: 2px;
}

a:hover {
	color: var(--fu-gold);
}

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

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

::selection {
	background: var(--fu-gold);
	color: #1a1508;
}

/* Honour a reduced-motion preference: the theme's hover lifts and fades are
   decorative, never load-bearing. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fu-shell {
	width: min(100% - 2rem, var(--fu-shell));
	margin-inline: auto;
}

/* --- Masthead ------------------------------------------------------------ */

.fu-masthead {
	position: relative;
	border-bottom: 1px solid var(--fu-gold-line);
	background:
		linear-gradient(180deg, var(--fu-teal-deep), var(--fu-teal) 140%);
	color: #f4efe2;
	box-shadow: var(--fu-shadow-sm);
}

.fu-masthead a {
	color: inherit;
}

.fu-masthead__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-block: 0.85rem;
}

.fu-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.35rem;
	font-family: var(--fu-font-head);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.86rem;
}

.fu-nav a {
	display: inline-block;
	padding: 0.4rem 0.7rem;
	color: rgb(244 239 226 / 82%);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.fu-nav a:hover {
	color: var(--fu-gold-bright);
}

.fu-nav a[aria-current="page"] {
	color: var(--fu-gold-bright);
	border-bottom-color: var(--fu-gold-bright);
}

/* --- Ornamental rule ----------------------------------------------------- */

.fu-rule {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--fu-gold);
	font-size: 0.8rem;
	margin: 2.2rem 0;
}

.fu-rule::before,
.fu-rule::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--fu-gold-line), transparent);
}

.fu-rule--tight {
	margin: 1.2rem 0;
}

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

.fu-hero {
	position: relative;
	text-align: center;
	padding: 4.5rem 1rem 3.5rem;
	overflow: hidden;
}

.fu-hero__kicker {
	font-family: var(--fu-font-head);
	text-transform: uppercase;
	letter-spacing: 0.4em;
	font-size: 1.8rem;
	color: var(--fu-crimson);
	margin-bottom: 0.2rem;
}

@media (prefers-color-scheme: dark) {
	.fu-hero__kicker {
		color: var(--fu-gold);
	}
}

.fu-hero__title {
	font-family: var(--fu-font-display);
	font-weight: 700;
	font-size: clamp(2.8rem, 9vw, 5.4rem);
	letter-spacing: 0.1em;
	line-height: 1;
	margin: 0;
	color: var(--fu-teal);
	text-shadow: 0 1px 0 rgb(255 255 255 / 40%);
}

@media (prefers-color-scheme: dark) {
	.fu-hero__title {
		color: var(--fu-ink);
		text-shadow: 0 2px 20px rgb(109 179 160 / 25%);
	}
}

.fu-hero__title .fu-hero__accent {
	color: var(--fu-gold);
}

.fu-hero__sub {
	max-width: 42rem;
	margin: 1.1rem auto 0;
	font-size: 1.08rem;
	color: var(--fu-ink-dim);
}

.fu-hero__orn {
	width: min(320px, 70%);
	margin: 1.6rem auto 0;
	display: block;
	color: var(--fu-gold);
}

/* --- Portal cards -------------------------------------------------------- */

.fu-portals {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 0 0 3rem;
}

.fu-portal {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 1.9rem 1.7rem 1.7rem;
	background:
		linear-gradient(180deg, var(--fu-panel), var(--fu-panel-alt));
	border: 1px solid var(--fu-rule);
	border-top: 3px solid var(--fu-teal);
	border-radius: var(--fu-radius);
	box-shadow: var(--fu-shadow-sm);
	color: inherit;
	text-decoration: none;
	transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.fu-portal:hover,
.fu-portal:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--fu-shadow);
	border-top-color: var(--fu-gold);
	color: inherit;
}

.fu-portal--archive {
	border-top-color: var(--fu-blue);
}

.fu-portal--archive:hover,
.fu-portal--archive:focus-visible {
	border-top-color: var(--fu-gold);
}

.fu-portal--characters {
	border-top-color: var(--fu-crimson);
}

.fu-portal--characters:hover,
.fu-portal--characters:focus-visible {
	border-top-color: var(--fu-gold);
}

.fu-portal__icn {
	width: 2.6rem;
	height: 2.6rem;
	color: var(--fu-teal);
}

.fu-portal--archive .fu-portal__icn {
	color: var(--fu-blue);
}

.fu-portal__title {
	font-family: var(--fu-font-display);
	font-size: 1.6rem;
	letter-spacing: 0.04em;
	color: var(--fu-teal);
	margin: 0;
}

.fu-portal--archive .fu-portal__title {
	color: var(--fu-blue);
}

.fu-portal--characters .fu-portal__icn {
	color: var(--fu-crimson);
}

.fu-portal--characters .fu-portal__title {
	color: var(--fu-crimson);
}

.fu-portal__desc {
	margin: 0;
	color: var(--fu-ink-dim);
	font-size: 0.97rem;
}

.fu-portal__meta {
	margin-top: auto;
	padding-top: 0.6rem;
	font-family: var(--fu-font-head);
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.76rem;
	color: var(--fu-ink-faint);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.fu-portal__meta::after {
	content: "➤";
	color: var(--fu-gold);
	font-size: 0.9rem;
	transition: transform 140ms ease;
}

.fu-portal:hover .fu-portal__meta::after {
	transform: translateX(3px);
}

/* --- Section heading ----------------------------------------------------- */

.fu-section {
	margin: 0 0 1.2rem;
}

.fu-section__title {
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
	font-family: var(--fu-font-display);
	font-size: 1.35rem;
	letter-spacing: 0.06em;
	color: var(--fu-teal);
	margin: 0;
}

.fu-section__title::before {
	content: "◆";
	color: var(--fu-gold);
	font-size: 0.7em;
}

.fu-section__note {
	margin: 0.3rem 0 0;
	color: var(--fu-ink-faint);
	font-size: 0.9rem;
}

/* --- Link grid (quick links into the tools) ------------------------------ */

.fu-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.fu-link {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.8rem 0.95rem;
	background: var(--fu-panel);
	border: 1px solid var(--fu-rule-soft);
	border-left: 3px solid var(--fu-teal);
	border-radius: var(--fu-radius);
	color: var(--fu-ink);
	text-decoration: none;
	font-family: var(--fu-font-head);
	text-transform: uppercase;
	letter-spacing: 0.07em;
	font-size: 0.88rem;
	transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.fu-link:hover,
.fu-link:focus-visible {
	border-left-color: var(--fu-gold);
	background: var(--fu-panel-alt);
	color: var(--fu-teal);
	transform: translateX(2px);
}

.fu-link__icn {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	color: var(--fu-gold);
}

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

.fu-footer {
	margin-top: 3rem;
	border-top: 1px solid var(--fu-gold-line);
	background: var(--fu-teal-deep);
	color: rgb(244 239 226 / 72%);
	font-size: 0.86rem;
}

.fu-footer a {
	color: var(--fu-gold-bright);
}

.fu-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.6rem;
}

.fu-footer p {
	margin: 0 0 0.35rem;
	max-width: 46rem;
}

.fu-footer__meta {
	font-family: var(--fu-font-meta);
	letter-spacing: 0.05em;
}

/* --- Motion --------------------------------------------------------------
 *
 * A restrained motion vocabulary: components settle into place as they scroll
 * into view, and ornaments (the hero's rules, the section diamond, the ❖ rule)
 * draw rather than appear. Everything is fenced behind
 * `prefers-reduced-motion: no-preference` and the `.js` class set in the page
 * head, so a reduced-motion reader — or one without scripting — sees the
 * finished page immediately.
 *
 * `assets/motion.js` adds `.is-in` as each element enters the viewport; the
 * hidden state is expressed there, never here, so nothing can be left
 * invisible. This is exactly the rule the archive entries follow via the
 * `fu-enter` class the log script applies to its first paint.
 * ------------------------------------------------------------------------- */

@keyframes fu-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fu-draw {
	from {
		stroke-dashoffset: 260;
	}

	to {
		stroke-dashoffset: 0;
	}
}

@keyframes fu-pop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fu-gem-turn {
	from {
		opacity: 0;
		transform: rotate(-45deg) scale(0.4);
	}

	to {
		opacity: 1;
		transform: rotate(0) scale(1);
	}
}

@keyframes fu-rule-grow {
	from {
		transform: scaleX(0);
	}

	to {
		transform: scaleX(1);
	}
}

/* Reveal-on-scroll, driven by `assets/motion.js`. */
@media (prefers-reduced-motion: no-preference) {
	.js .fu-reveal {
		opacity: 0;
		transform: translateY(14px);
	}

	.js .fu-reveal--left {
		transform: translateX(-12px);
	}

	.js .fu-reveal--fade {
		transform: none;
	}

	.js .fu-reveal.is-in {
		opacity: 1;
		transform: none;
		transition:
			opacity var(--fu-dur-reveal) var(--fu-ease-out),
			transform var(--fu-dur-reveal) var(--fu-ease-out);
		transition-delay: calc(var(--fu-i, 0) * var(--fu-stagger));
	}

	/* A short cascade: the hero assembles first, then the portals and the
	   link grid populate. Stagger is capped so the grid never crawls. */
	.fu-hero__kicker { --fu-i: 0; }
	.fu-hero__title { --fu-i: 1; }
	.fu-hero__sub { --fu-i: 2; }
	.fu-hero__orn { --fu-i: 3; }
	.fu-portal:nth-child(2) { --fu-i: 1; }

	.fu-links li:nth-child(2) .fu-link { --fu-i: 1; }
	.fu-links li:nth-child(3) .fu-link { --fu-i: 2; }
	.fu-links li:nth-child(4) .fu-link { --fu-i: 3; }
	.fu-links li:nth-child(5) .fu-link { --fu-i: 4; }
	.fu-links li:nth-child(6) .fu-link { --fu-i: 5; }
	.fu-links li:nth-child(7) .fu-link { --fu-i: 6; }
	.fu-links li:nth-child(8) .fu-link { --fu-i: 7; }

	/* The hero's ornament is drawn, not faded: the rule strokes sweep out as
	   the diamond and markers pop into place. */
	.fu-hero__orn path,
	.fu-hero__orn circle {
		transform-box: fill-box;
		transform-origin: center;
	}

	.fu-hero__orn path:first-of-type {
		stroke-dasharray: 260;
	}

	.js .fu-hero__orn.is-in path:first-of-type {
		animation: fu-draw 700ms var(--fu-ease-out) 120ms both;
	}

	.js .fu-hero__orn.is-in path:not(:first-of-type),
	.js .fu-hero__orn.is-in circle {
		animation: fu-pop 520ms var(--fu-ease-settle) 260ms both;
	}

	/* Portal icon and section diamond arrive a beat after their block. */
	.js .fu-portal.is-in .fu-portal__icn {
		animation: fu-pop 480ms var(--fu-ease-settle) 160ms both;
	}

	.js .fu-section.is-in .fu-section__title::before {
		animation: fu-gem-turn 520ms var(--fu-ease-settle) 120ms both;
	}

	/* The ❖ rules are drawn outward from the ornament. */
	.js .fu-rule.is-in::before,
	.js .fu-rule.is-in::after {
		animation: fu-rule-grow 640ms var(--fu-ease-out) both;
	}

	.js .fu-rule.is-in::before {
		transform-origin: left center;
	}

	.js .fu-rule.is-in::after {
		transform-origin: right center;
	}
}

/* Cross-page continuity. Where the browser supports cross-document view
   transitions (Chrome today; Firefox ignores the rule), Hub and Archive
   cross-fade instead of blinking. The landing is a cover and the Archive is
   the only page with a running header, so there is no shared element to morph
   across — the pages are what carry. */
@view-transition {
	navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
	animation-duration: 180ms;
}

@media (width <= 640px) {
	.fu-masthead__inner {
		justify-content: center;
		text-align: center;
	}

	.fu-hero {
		padding-top: 3rem;
	}
}

@media print {
	.fu-masthead,
	.fu-footer {
		background: none;
		color: #000;
	}

	/* Nothing may print mid-reveal. */
	.fu-reveal,
	.fu-enter {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.fu-hero__orn path:first-of-type {
		stroke-dasharray: none !important;
	}
}
