/* ==========================================================================
   Archform
   Tokens, base, layout, components, WordPress core classes
   ========================================================================== */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-stretch: 75% 100%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Atkinson Hyperlegible";
	src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--porcelain: #F7F9FB;
	--enamel: #FFFFFF;
	--stone: #E4EBF2;
	--line: #C9D4DF;
	--ink: #13202C;
	--ink-soft: #445464;
	--blue: #1F4FD1;
	--blue-deep: #173BA0;
	--gold: #C8962E;

	--font-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Atkinson Hyperlegible", Verdana, "Segoe UI", sans-serif;

	--wrap: 74rem;
	--gutter: clamp(1.25rem, 4vw, 3rem);
	--band: clamp(3.5rem, 7vw, 6rem);
	--radius: 10px;
}

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

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

body {
	margin: 0;
	background: var(--porcelain);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	font-family: var(--font-display);
	font-weight: 650;
	font-stretch: 88%;
	line-height: 1.08;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}

h3 {
	font-size: 1.35rem;
	font-stretch: 92%;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

p,
ul,
ol,
dl {
	margin: 0 0 1.1em;
}

a {
	color: var(--blue);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--blue-deep);
}

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

.band--ink :focus-visible {
	outline-color: var(--gold);
}

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

.skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius);
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

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

/* Buttons and links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: inherit;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
	background: var(--blue);
	color: #fff;
}

.btn--primary:hover {
	background: var(--blue-deep);
	color: #fff;
}

.btn--ghost {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	color: #fff;
}

.btn--light {
	background: var(--enamel);
	color: var(--ink);
}

.btn--light:hover {
	background: var(--stone);
	color: var(--ink);
}

.btn--small {
	padding: 0.6rem 1rem;
	font-size: 0.98rem;
}

.btn--block {
	width: 100%;
}

.text-link {
	font-weight: 700;
	text-decoration-thickness: 2px;
}

/* Header
   ========================================================================== */

.site-header {
	background: var(--enamel);
	border-bottom: 1px solid var(--line);
}

.site-header__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.25rem;
	padding-block: 0.9rem;
}

.brand {
	flex: 1;
	min-width: 0;
}

.brand__name {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
	font-weight: 700;
	font-stretch: 85%;
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-decoration: none;
}

.brand img {
	display: block;
	max-height: 56px;
	width: auto;
}

/* Phone and consultation button. On phones the fixed bar at the bottom does this job. */
.site-header__actions {
	display: none;
	align-items: center;
	gap: 1.25rem;
}

.site-header__phone {
	color: var(--ink);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	white-space: nowrap;
}

@media (min-width: 48em) {
	.site-header__actions {
		display: flex;
	}
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.55rem 0.9rem;
	background: none;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	color: var(--ink);
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before {
	display: block;
	width: 1.1rem;
	height: 2px;
	background: currentColor;
}

.nav-toggle__bars {
	position: relative;
	top: -3px;
}

.nav-toggle__bars::before {
	content: "";
	position: absolute;
	top: 6px;
}

.site-nav {
	display: none;
	flex-basis: 100%;
}

.site-nav.is-open {
	display: block;
}

.site-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu a {
	display: block;
	padding: 0.7rem 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a {
	color: var(--blue);
}

.site-nav .sub-menu a {
	padding-left: 1.25rem;
	font-weight: 400;
}

@media (min-width: 62em) {
	.site-header__row {
		padding-bottom: 0;
	}

	.nav-toggle {
		display: none;
	}

	.site-nav {
		display: block;
		margin-top: 0.4rem;
		border-top: 1px solid var(--line);
	}

	.site-nav .menu {
		display: flex;
		flex-wrap: wrap;
		gap: 0 2rem;
	}

	.site-nav .menu > li {
		position: relative;
	}

	.site-nav .menu a {
		padding: 0.8rem 0;
		border: 0;
		font-size: 1.02rem;
		white-space: nowrap;
	}

	.site-nav .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: 0.42em;
		height: 0.42em;
		margin-left: 0.45em;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-0.2em) rotate(45deg);
	}

	.site-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -1rem;
		z-index: 20;
		min-width: 15.5rem;
		padding: 0.5rem 0;
		background: var(--enamel);
		border: 1px solid var(--line);
		border-radius: 0 0 var(--radius) var(--radius);
		box-shadow: 0 14px 30px -18px rgba(19, 32, 44, 0.45);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.12s, visibility 0.12s;
	}

	.site-nav .menu > li:hover > .sub-menu,
	.site-nav .menu > li:focus-within > .sub-menu {
		visibility: visible;
		opacity: 1;
	}

	.site-nav .sub-menu a {
		padding: 0.5rem 1rem;
		font-weight: 400;
	}
}

/* Hero
   ========================================================================== */

.hero {
	padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.hero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

.hero__title {
	margin-bottom: 0.35em;
	font-size: clamp(2.75rem, 6.4vw, 5.25rem);
	font-weight: 700;
	font-stretch: 78%;
	line-height: 0.96;
	letter-spacing: -0.022em;
}

.hero__text {
	max-width: 34rem;
	color: var(--ink-soft);
	font-size: clamp(1.15rem, 1.6vw, 1.35rem);
	line-height: 1.5;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.75rem 0 1.25rem;
}

.hero__areas {
	margin: 0;
	color: var(--ink-soft);
	font-size: 1rem;
}

@media (min-width: 60em) {
	.hero__grid {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: clamp(2.5rem, 5vw, 5rem);
	}
}

/* Arch chart
   ========================================================================== */

.arch-chart {
	padding: clamp(1.25rem, 2.5vw, 2rem);
	background: var(--enamel);
	border: 1px solid var(--line);
	border-radius: 1.5rem;
}

.arch-chart__figure {
	max-width: 15.5rem;
	margin: 0 auto 1rem;
}

.arch-chart__svg {
	display: block;
	width: 100%;
}

.tooth {
	fill: var(--porcelain);
	stroke: var(--ink);
	stroke-width: 1.6;
	transition: fill 0.25s;
}

.tooth.is-on {
	fill: var(--gold);
}

.arch-chart__label {
	fill: var(--ink-soft);
	font-family: var(--font-body);
	font-size: 14px;
}

.arch-chart__question {
	margin-bottom: 0.7rem;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 650;
	font-stretch: 90%;
	line-height: 1.2;
}

.arch-chart__options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.chip {
	padding: 0.5rem 0.85rem;
	background: var(--enamel);
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s;
}

.chip:hover {
	background: var(--stone);
}

.chip[aria-pressed="true"] {
	background: var(--gold);
	font-weight: 700;
}

.arch-chart__answers {
	min-height: 6.2em;
}

.arch-chart__answer {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.5;
}

.arch-chart__answer a {
	display: inline-block;
	font-weight: 700;
}

.arch-chart__note {
	margin: 0.9rem 0 0;
	color: var(--ink-soft);
	font-size: 0.9rem;
}

@media (prefers-reduced-motion: no-preference) {
	.arch-chart .tooth {
		animation: tooth-in 0.4s both;
		animation-delay: calc(var(--i) * 30ms + 150ms);
	}

	@keyframes tooth-in {
		from {
			opacity: 0;
			fill: var(--gold);
		}

		to {
			opacity: 1;
		}
	}
}

/* Bands and section layout
   ========================================================================== */

.band {
	padding-block: var(--band);
}

.band--stone {
	background: var(--stone);
}

.band--line {
	border-top: 1px solid var(--line);
}

.band--ink {
	background: var(--ink);
	color: var(--porcelain);
}

.band--ink a:not(.btn) {
	color: #fff;
}

.section-head {
	max-width: 40rem;
	margin-bottom: 2.5rem;
}

.section-head p {
	color: var(--ink-soft);
}

.split {
	display: grid;
	gap: 2rem;
}

.split__lead p {
	max-width: 32rem;
}

@media (min-width: 56em) {
	.split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		gap: clamp(2.5rem, 6vw, 5.5rem);
	}
}

/* Home lists
   ========================================================================== */

.sign-list,
.plain-list,
.treatment-list,
.steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sign-list li {
	position: relative;
	padding: 0.95rem 0 0.95rem 2.1rem;
	border-top: 1px solid var(--ink);
}

.sign-list li:last-child {
	border-bottom: 1px solid var(--ink);
}

.sign-list li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 1.35rem;
	width: 0.95rem;
	height: 0.8rem;
	background: var(--gold);
	border: 1.5px solid var(--ink);
	border-radius: 4px;
}

.plain-list li {
	padding: 0.7rem 0;
	border-top: 1px solid var(--line);
}

.band--stone .plain-list li {
	border-color: #B4C2CF;
}

.treatment-list li {
	border-top: 1px solid var(--ink);
}

.treatment-list li:last-child {
	border-bottom: 1px solid var(--ink);
}

.treatment-list a {
	display: grid;
	gap: 0.25rem 2rem;
	padding: 1.35rem 0;
	color: var(--ink);
	text-decoration: none;
}

.treatment-list__name {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
	font-weight: 650;
	font-stretch: 85%;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.treatment-list__text {
	color: var(--ink-soft);
}

.treatment-list a:hover .treatment-list__name {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

@media (min-width: 48em) {
	.treatment-list a {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		align-items: baseline;
	}
}

.steps {
	display: grid;
	gap: 2rem 2.5rem;
	margin-bottom: 2.5rem;
	counter-reset: step;
}

.steps li {
	padding-top: 1rem;
	border-top: 2px solid var(--ink);
	counter-increment: step;
}

.steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: 0.4rem;
	color: var(--blue);
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 700;
	font-stretch: 75%;
	line-height: 1;
}

.steps p {
	margin: 0;
	color: var(--ink-soft);
}

@media (min-width: 40em) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60em) {
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* FAQ
   ========================================================================== */

.faq {
	border-top: 1px solid var(--ink);
}

.faq:last-child {
	border-bottom: 1px solid var(--ink);
}

.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.1rem 0;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	font-stretch: 92%;
	line-height: 1.25;
	list-style: none;
	cursor: pointer;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	margin: 0.3rem 0.3rem 0 0;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: rotate(45deg);
	transition: transform 0.15s;
}

.faq[open] summary::after {
	transform: translateY(0.3rem) rotate(-135deg);
}

.faq summary:hover {
	color: var(--blue);
}

.faq__answer {
	max-width: 42rem;
	padding-bottom: 0.4rem;
}

/* Forms
   ========================================================================== */

.consult-form form {
	margin: 0;
}

.field {
	margin: 0 0 1.1rem;
}

.field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.field input,
.field select,
.field textarea {
	display: block;
	width: 100%;
	padding: 0.8rem 0.9rem;
	background: var(--enamel);
	border: 1.5px solid #5B6B7A;
	border-radius: 8px;
	color: var(--ink);
	font: inherit;
}

.field textarea {
	resize: vertical;
}

.field-row {
	display: grid;
	gap: 0 1rem;
}

@media (min-width: 35em) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.field--trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field--submit {
	margin-top: 1.5rem;
}

.form-fineprint {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.band--ink .form-fineprint {
	color: #B9C6D2;
}

.band--ink .btn--primary {
	background: var(--enamel);
	color: var(--ink);
}

.band--ink .btn--primary:hover {
	background: var(--stone);
}

.form-note {
	padding: 0.9rem 1.1rem;
	border-radius: 8px;
	font-weight: 700;
}

.form-note--ok {
	background: #DFF3E6;
	color: #0D4526;
}

.form-note--error {
	background: #FBE4E1;
	color: #7A1410;
}

/* Details list (phone, office, hours)
   ========================================================================== */

.details {
	margin: 1.5rem 0 0;
}

.details dt {
	font-size: 0.95rem;
	font-weight: 700;
}

.details dd {
	margin: 0 0 0.9rem;
}

.band--ink .details dt {
	color: #B9C6D2;
}

/* Inner pages
   ========================================================================== */

.page-head {
	padding-block: clamp(2rem, 5vw, 3.75rem);
	background: var(--stone);
}

.page-head__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(2.2rem, 4.8vw, 3.75rem);
	font-weight: 700;
	font-stretch: 80%;
	line-height: 1;
	letter-spacing: -0.02em;
}

.page-head__meta {
	margin: 1rem 0 0;
	color: var(--ink-soft);
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: 0.95rem;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	color: var(--ink-soft);
}

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

.breadcrumbs [aria-current] {
	color: var(--ink-soft);
}

.page-body {
	display: grid;
	gap: 3rem;
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 62em) {
	.page-body {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: clamp(3rem, 6vw, 5.5rem);
		align-items: start;
	}

	.page-aside {
		position: sticky;
		top: 1.5rem;
	}
}

.consult-box {
	padding: 1.6rem;
	background: var(--enamel);
	border: 1px solid var(--line);
	border-radius: 1rem;
	font-size: 1.05rem;
}

.consult-box__title {
	font-size: 1.5rem;
}

.consult-box__urgent {
	margin: 1.25rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: 0.98rem;
}

.consult-box > :last-child {
	margin-bottom: 0;
}

/* Editor content */

.prose {
	max-width: 43rem;
}

.prose > :first-child {
	margin-top: 0;
}

.prose h2 {
	margin-top: 2.2em;
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

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

.prose h2 a:hover {
	color: var(--blue);
}

.prose h3 {
	margin-top: 1.8em;
}

.prose ul,
.prose ol {
	padding-left: 1.3rem;
}

.prose li {
	margin-bottom: 0.45em;
	padding-left: 0.2rem;
}

.prose li::marker {
	color: var(--blue);
	font-weight: 700;
}

.prose blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 3px solid var(--gold);
	font-size: 1.2rem;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
}

.prose th,
.prose td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose figure {
	margin: 2rem 0;
}

.prose img {
	border-radius: var(--radius);
}

.prose figcaption,
.wp-caption-text,
.gallery-caption {
	margin-top: 0.5rem;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.prose .wp-block-button__link {
	padding: 0.85rem 1.4rem;
	background: var(--blue);
	border-radius: var(--radius);
	color: #fff;
	font-weight: 700;
}

.prose .faq-list {
	margin-top: 2rem;
}

.alignleft {
	float: left;
	margin: 0.4rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.4rem 0 1rem 1.5rem;
}

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

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

.sticky,
.bypostauthor {
	display: block;
}

/* Dentist profile */

.about-doctor {
	padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.doctor {
	display: grid;
	gap: 2rem;
}

.doctor__photo img {
	display: block;
	width: 100%;
	border-radius: 1rem;
}

.doctor__name {
	margin-bottom: 0.2em;
}

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

.doctor__body p {
	max-width: 40rem;
}

@media (min-width: 48em) {
	.doctor--photo {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(2rem, 5vw, 4.5rem);
		align-items: center;
	}
}

/* Blog */

.post-item {
	padding: 1.75rem 0;
	border-top: 1px solid var(--ink);
}

.post-item__title {
	font-size: 1.7rem;
}

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

.post-item__title a:hover {
	color: var(--blue);
	text-decoration: underline;
}

.post-item__date {
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ink);
}

.nav-links .page-numbers {
	padding: 0.4rem 0.8rem;
	border: 1.5px solid var(--ink);
	border-radius: 8px;
	color: var(--ink);
	text-decoration: none;
}

.nav-links .current {
	background: var(--ink);
	color: #fff;
}

/* Closing call to action
   ========================================================================== */

.cta-band__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
}

.cta-band__title {
	margin-bottom: 0.3em;
}

.cta-band__row p {
	margin: 0;
	color: #C9D4DF;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.cta-band__phone {
	font-weight: 700;
	white-space: nowrap;
}

/* Footer
   ========================================================================== */

.site-footer {
	padding-block: 3.5rem 2rem;
	background: var(--enamel);
	border-top: 1px solid var(--line);
	font-size: 1.02rem;
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 48em) {
	.site-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	}
}

.site-footer p {
	margin-bottom: 0.6em;
}

.site-footer__name {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	font-stretch: 85%;
	line-height: 1.15;
}

.site-footer__heading {
	font-weight: 700;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer li {
	margin-bottom: 0.45rem;
}

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

.site-footer a:hover {
	color: var(--blue);
}

.site-footer__areas,
.site-footer__legal {
	color: var(--ink-soft);
}

.site-footer__legal {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

.site-footer__legal .sep {
	margin-inline: 0.4rem;
}

/* Mobile action bar
   ========================================================================== */

.action-bar {
	position: fixed;
	inset: auto 0 0;
	z-index: 50;
	display: flex;
	gap: 0.6rem;
	padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
	background: var(--enamel);
	border-top: 1px solid var(--line);
}

.action-bar a {
	flex: 1;
	padding: 0.75rem 0.5rem;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	color: var(--ink);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.action-bar .action-bar__cta {
	flex: 2;
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

body {
	padding-bottom: 4.75rem;
}

@media (min-width: 48em) {
	.action-bar {
		display: none;
	}

	body {
		padding-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}

@media print {
	.site-nav,
	.nav-toggle,
	.action-bar,
	.cta-band,
	.page-aside {
		display: none !important;
	}

	body {
		padding: 0;
		background: #fff;
	}
}
