/*
Theme Name: JGW Counsel
Author: The Law Office of Joshua G. White, P.A.
Description: Single landing page theme for The Law Office of Joshua G. White, P.A. Page content lives in front-page.php; contact details, biography, and photos are edited under Appearance > Customize > Firm details.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jgw-counsel
*/

:root {
	--navy: #0a1b3d;
	--navy-deep: #06122b;
	--blue: #234a84;
	--ink: #1b2430;
	--slate: #5a6472;
	--slate-band: #565b63;
	--mist: #f2f5f9;
	--line: #d6dde6;
	--seat: #1f7a6c;
	--seat-bg: #e4f2ef;
	--white: #ffffff;

	--display: "Montserrat", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
	--body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
	--step-4: clamp(1.9rem, 1.3rem + 2.8vw, 3.25rem);

	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.25rem, 7vw, 5.5rem);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 1rem;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--body);
	font-size: var(--step-0);
	line-height: 1.7;
}

h1,
h2,
h3 {
	margin: 0;
	font-family: var(--display);
	line-height: 1.2;
	color: var(--navy);
}

h2 {
	font-size: var(--step-3);
	font-weight: 300;
}

h3 {
	font-size: var(--step-0);
	font-weight: 700;
	line-height: 1.35;
	color: var(--blue);
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

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

a:focus-visible,
button:focus-visible {
	outline: 3px solid #6aa5ff;
	outline-offset: 3px;
	border-radius: 2px;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

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

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

.wrap--narrow {
	max-width: 46rem;
}

.wrap--text {
	max-width: 52rem;
}

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

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	padding: 0.75rem 1rem;
	background: var(--white);
	color: var(--navy);
	z-index: 20;
}

.skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

.icon {
	display: block;
}

/* Buttons */

.btn {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 6px;
	font-family: var(--body);
	font-size: var(--step-0);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--pill {
	padding: 1rem 2.5rem;
	border-radius: 999px;
	border-color: rgba(255, 255, 255, 0.75);
	background: var(--blue);
	color: var(--white);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.btn--pill:hover {
	background: var(--white);
	color: var(--navy);
}

.btn--outline {
	border-color: var(--blue);
	color: var(--blue);
	background: transparent;
}

.btn--outline:hover {
	background: var(--blue);
	color: var(--white);
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--white);
}

.btn--ghost:hover,
.btn--light:hover {
	background: var(--white);
	color: var(--navy);
}

.btn--light {
	background: var(--white);
	color: var(--navy);
}

.btn--light:hover {
	background: var(--mist);
}

/* Top bar */

.topbar {
	background: var(--white);
	color: var(--navy);
	font-size: var(--step--1);
	border-bottom: 1px solid var(--line);
}

.topbar__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem 1.25rem;
	padding-block: 0.55rem;
	text-align: center;
}

.topbar__phone {
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

@media (min-width: 60rem) {
	.topbar__inner {
		justify-content: flex-end;
	}
}

/* Header */

.site-header {
	position: relative;
	z-index: 10;
	background: var(--white);
	box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.1rem;
}

.site-logo img {
	display: block;
	max-height: 88px;
	width: auto;
}

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

.brand img {
	display: block;
	width: auto;
	height: clamp(3rem, 2rem + 4vw, 5.25rem);
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.wordmark {
	display: flex;
	align-items: center;
	gap: clamp(0.6rem, 0.3rem + 1.2vw, 1.1rem);
	min-width: 0;
	color: var(--navy);
	text-decoration: none;
}

.wordmark__mono {
	display: grid;
	place-items: center;
	width: clamp(3.4rem, 2.6rem + 3.4vw, 4.75rem);
	height: clamp(3.4rem, 2.6rem + 3.4vw, 4.75rem);
	border: 3px solid var(--navy);
	background: var(--navy);
	color: var(--white);
	font-family: var(--display);
	font-size: clamp(1rem, 0.75rem + 1vw, 1.4rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	flex: none;
}

.wordmark__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.wordmark__name {
	font-family: var(--display);
	font-size: clamp(1.12rem, 0.62rem + 2.1vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.wordmark__role {
	margin-top: 0.3rem;
	font-family: var(--display);
	font-size: clamp(0.62rem, 0.5rem + 0.5vw, 0.82rem);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--slate);
}

.nav-toggle {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--navy);
	cursor: pointer;
	flex: none;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 1.75rem;
	height: 3px;
	background: currentColor;
	content: "";
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before {
	position: absolute;
	top: -9px;
}

.nav-toggle__bars::after {
	position: absolute;
	top: 9px;
}

.site-nav {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--navy);
	padding: 0.5rem var(--gutter) 1.25rem;
}

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

.site-nav a,
.sub-toggle {
	display: block;
	width: 100%;
	padding: 0.85rem 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	background: transparent;
	color: var(--white);
	font-family: var(--display);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.sub-toggle::after {
	content: "";
	display: inline-block;
	margin-left: 0.5rem;
	border: 5px solid transparent;
	border-top-color: currentColor;
	transform: translateY(3px);
}

.sub-menu {
	display: none;
	padding-left: 1rem;
}

.has-sub.is-open .sub-menu {
	display: block;
}

.sub-menu a {
	font-weight: 400;
}

@media (min-width: 72rem) {
	.nav-toggle {
		display: none;
	}

	.site-nav,
	.site-nav.is-open {
		display: block;
		position: static;
		background: transparent;
		padding: 0;
	}

	.site-nav > ul {
		display: flex;
		align-items: center;
		gap: 1.35rem;
	}

	.site-nav a,
	.sub-toggle {
		width: auto;
		padding: 0.5rem 0;
		border-bottom: 2px solid transparent;
		color: var(--navy);
		font-size: 0.85rem;
	}

	.site-nav > ul > li > a:hover,
	.sub-toggle:hover {
		border-bottom-color: var(--blue);
	}

	.has-sub {
		position: relative;
	}

	.sub-menu {
		position: absolute;
		left: -1rem;
		top: 100%;
		min-width: 19rem;
		padding: 0.5rem 0;
		background: var(--navy);
		box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
	}

	.has-sub:hover .sub-menu,
	.has-sub:focus-within .sub-menu,
	.has-sub.is-open .sub-menu {
		display: block;
	}

	.sub-menu a {
		padding: 0.7rem 1.1rem;
		border: 0;
		color: var(--white);
	}

	.sub-menu a:hover {
		background: var(--blue);
	}
}

/* Home hero */

.hero {
	position: relative;
	background-color: var(--navy-deep);
	background-image:
		radial-gradient(ellipse at 20% 0%, rgba(58, 96, 160, 0.55), transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgba(122, 78, 72, 0.4), transparent 50%),
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px);
	background-size: cover;
	background-position: center;
	color: var(--white);
	text-align: center;
}

.hero--photo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(6, 18, 43, 0.62), rgba(6, 18, 43, 0.78));
}

.hero__inner {
	position: relative;
	padding-block: clamp(4rem, 11vw, 8rem);
}

.hero h1 {
	max-width: 22ch;
	margin-inline: auto;
	color: var(--white);
	font-size: var(--step-4);
	font-weight: 300;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.hero__rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin: 1.75rem auto;
	max-width: 30rem;
}

.hero__rule span {
	flex: 1;
	height: 2px;
	background: var(--white);
}

.hero__rule .icon {
	width: 2.5rem;
	height: 2.5rem;
}

.hero__sub {
	margin: 0 auto 0.75rem;
	max-width: 44rem;
	font-family: var(--display);
	font-size: clamp(1.15rem, 0.9rem + 1.2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.35;
	text-transform: uppercase;
}

.hero__place {
	margin: 0 auto 2.25rem;
	font-family: var(--display);
	font-size: var(--step-0);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: no-preference) {
	.hero__rule span {
		animation: rule-draw 0.9s ease 0.2s both;
	}
}

@keyframes rule-draw {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

/* Bands */

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

.band--navy {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.9);
}

.band--navy h2 {
	margin-bottom: 1.5rem;
	color: var(--white);
	text-align: center;
}

.band--navy .btn {
	margin-top: 0.75rem;
	width: 100%;
}

@media (min-width: 40rem) {
	.band--navy .btn {
		width: auto;
	}
}

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

.band--slate {
	background: var(--slate-band);
	color: rgba(255, 255, 255, 0.92);
}

.band__title {
	padding-bottom: 1.5rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	color: var(--white);
}

/* Practice cards */

.band__heading {
	margin-bottom: clamp(2rem, 5vw, 3.25rem);
	text-align: center;
}

.cards .card h3 {
	display: flex;
	align-items: center;
	min-height: 2.4em;
}

.card__list {
	margin-top: 1.1rem;
	width: 100%;
	max-width: 22rem;
}

.card__list li {
	padding: 0.6rem 0;
	border-top: 1px solid var(--line);
}

.card__list li:last-child {
	border-bottom: 1px solid var(--line);
}


.cards {
	display: grid;
	gap: 3rem 2.5rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	text-align: center;
}

.card {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.card .icon {
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 0.9rem;
	color: #9aa1ab;
}

.card h3 {
	font-size: var(--step-2);
	line-height: 1.2;
}

.card p {
	margin: 0.9rem 0 1.5rem;
	max-width: 24rem;
}

.card .btn {
	margin-top: auto;
}

/* About strip */

.about-strip {
	display: grid;
	gap: 2rem clamp(2rem, 5vw, 4rem);
	align-items: center;
}

@media (min-width: 48rem) {
	.about-strip {
		grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
	}
}

.about-strip h2 {
	margin-bottom: 1rem;
}

.about-strip .btn {
	margin-top: 0.75rem;
}

.portrait {
	display: block;
	width: 100%;
	max-width: 20rem;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 6px;
}

/* Inner page band */

.page-band {
	background-color: var(--navy);
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 22px);
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	color: var(--white);
}

.page-title {
	color: var(--white);
	font-size: var(--step-3);
	font-weight: 300;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.page-lede {
	margin: 1rem 0 0;
	max-width: 44rem;
	font-size: var(--step-1);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.85);
}

/* Sections on inner pages */

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

.section--mist {
	background: var(--mist);
}

.section__head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__head p,
.split__head p {
	margin-top: 1rem;
	color: var(--slate);
}

.split {
	display: grid;
	gap: clamp(1.75rem, 5vw, 4rem);
}

@media (min-width: 56rem) {
	.split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	}

	.split--about {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
	}
}

.signs li,
.fields > div {
	padding: 1.05rem 0;
	border-top: 1px solid var(--line);
}

.signs li:last-child,
.fields > div:last-child {
	border-bottom: 1px solid var(--line);
}

.signs li {
	font-size: var(--step-1);
	line-height: 1.45;
}

.fields dt {
	font-family: var(--display);
	font-size: var(--step-1);
	font-weight: 600;
	color: var(--blue);
}

.fields dd {
	margin: 0.25rem 0 0;
	color: var(--slate);
}

.scope {
	display: grid;
	gap: 2rem clamp(1.5rem, 4vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.scope__item {
	padding-top: 1rem;
	border-top: 2px solid var(--navy);
}

.scope--titles {
	gap: 1.5rem clamp(1.5rem, 4vw, 3rem);
}

.scope--titles h3 {
	font-family: var(--display);
	font-size: var(--step-1);
	font-weight: 600;
}

.scope-note {
	margin-top: clamp(2rem, 5vw, 3rem);
	color: var(--slate);
}

.scope__item p,
.steps__item p {
	margin-top: 0.4rem;
	color: var(--slate);
	font-size: 1rem;
}

.aside {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
	max-width: 48rem;
	background: var(--white);
	border-left: 3px solid var(--blue);
}

.aside p {
	margin-top: 0.5rem;
	color: var(--slate);
	font-size: 1rem;
}

.steps {
	display: grid;
	gap: 2rem clamp(1.5rem, 4vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	counter-reset: step;
}

.steps__item {
	counter-increment: step;
}

.steps__item::before {
	content: counter(step);
	display: block;
	margin-bottom: 0.6rem;
	font-family: var(--display);
	font-size: var(--step-3);
	font-weight: 300;
	line-height: 1;
	color: var(--blue);
}

.levels {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.level {
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem 1.5rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 6px;
}

.level h3 {
	font-size: var(--step-2);
}

.level__for {
	margin: 0.35rem 0 1.25rem;
	color: var(--slate);
}

.level ul {
	margin-bottom: 1.5rem;
}

.level li,
.checks li {
	position: relative;
	padding: 0.45rem 0 0.45rem 1.35rem;
	font-size: 1rem;
}

.level li::before,
.checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.15em;
	width: 0.6rem;
	height: 2px;
	background: var(--blue);
}

.level__fee {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-weight: 700;
	color: var(--navy);
}

.list-title {
	margin-bottom: 0.5rem;
	font-size: var(--step-1);
}

.split--about h2 {
	margin-bottom: 1.25rem;
}

.creds {
	margin-top: 1.5rem;
	font-size: var(--step--1);
	color: var(--slate);
}

.creds li {
	padding: 0.45rem 0;
	border-top: 1px solid var(--line);
}

.bio {
	max-width: 42rem;
	font-size: var(--step-1);
	line-height: 1.7;
}

.form-note {
	color: var(--slate);
	font-size: var(--step--1);
}

/* Outside GC hero and roster */

.ogc-hero {
	background-color: var(--navy);
	background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 22px);
	color: var(--white);
	padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 5.5rem);
}

.ogc-hero__grid {
	display: grid;
	gap: clamp(2.5rem, 6vw, 4.5rem);
	align-items: center;
}

@media (min-width: 56rem) {
	.ogc-hero__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	}
}

.ogc-hero h1,
.ogc-hero h2 {
	max-width: 20ch;
	color: var(--white);
	font-size: var(--step-4);
	font-weight: 300;
	line-height: 1.15;
}

.ogc-hero__lede {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-size: var(--step-1);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.ogc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.75rem;
	margin-top: 2rem;
}

.ogc-hero__textlink {
	color: var(--white);
	font-weight: 600;
}

.roster {
	background: var(--white);
	color: var(--ink);
	border-radius: 6px;
	padding: 1.5rem 1.5rem 1.25rem;
	box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

.roster__title {
	margin: 0 0 0.5rem;
	font-size: var(--step--1);
	font-weight: 700;
	color: var(--slate);
}

.roster__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.15rem 1rem;
	padding: 0.9rem 0;
	border-top: 1px solid var(--line);
}

.roster__role {
	font-family: var(--display);
	font-size: var(--step-1);
	font-weight: 600;
	color: var(--navy);
}

.roster__status {
	font-size: var(--step--1);
	color: var(--slate);
}

.roster__row--gc {
	margin: 0 -0.75rem;
	padding: 1rem 0.75rem;
	border-top: 0;
	border-radius: 4px;
	background: var(--seat-bg);
}

.roster__status--gc {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--seat);
}

.roster__dot {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--seat);
	flex: none;
}

.roster__note {
	margin: 1rem 0 0;
	font-size: var(--step--1);
	color: var(--slate);
}

/* Contact band */

.contact {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.88);
	padding-block: var(--section);
}

.contact h2 {
	color: var(--white);
}

.contact h2 + p {
	margin-top: 1rem;
	max-width: 32rem;
}

.contact .btn {
	margin-top: 0.5rem;
}

.contact__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 56rem) {
	.contact__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		align-items: start;
	}
}

.contact__line {
	margin: 0;
	padding: 0.85rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-family: var(--display);
	font-size: var(--step-2);
	font-weight: 600;
	line-height: 1.25;
}

.contact__line span,
.contact__addresses span {
	display: block;
	font-family: var(--body);
	font-size: var(--step--1);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.65);
}

.contact__line a {
	color: var(--white);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact__line a:hover {
	text-decoration: underline;
}

.contact__addresses {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 1rem 2rem;
	padding: 1.1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 1rem;
	line-height: 1.55;
}

.contact__addresses p {
	margin: 0;
}

.contact__fine {
	margin: 0;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	font-size: var(--step--1);
	color: rgba(255, 255, 255, 0.65);
}

/* Contact form */

.cform {
	margin-top: 1.75rem;
	max-width: 34rem;
}

.cform p {
	margin: 0 0 1rem;
}

.cform__row {
	display: grid;
	gap: 0 1rem;
	grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.cform label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--white);
}

.cform label span {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.65);
}

.cform input[type="text"],
.cform input[type="email"],
.cform input[type="tel"],
.cform select,
.cform textarea {
	display: block;
	width: 100%;
	padding: 0.75rem 0.85rem;
	border: 1px solid transparent;
	border-radius: 4px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

.cform textarea {
	resize: vertical;
	min-height: 8rem;
}

.cform input:focus-visible,
.cform select:focus-visible,
.cform textarea:focus-visible {
	outline: 3px solid #6aa5ff;
	outline-offset: 2px;
}

.cform__ack label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem;
	align-items: start;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
}

.cform__ack input {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.2rem;
}

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

.cform__status {
	padding: 1rem 1.15rem;
	border-radius: 4px;
	font-weight: 600;
}

.cform__status--ok {
	background: var(--seat-bg);
	color: #14574c;
}

.cform__status--err {
	background: #fde8e6;
	color: #8a1f14;
}

/* Footer */

.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, 0.65);
	font-size: var(--step--1);
	padding-block: 3rem;
	text-align: center;
}

.site-footer__logo {
	display: block;
	width: min(100%, 26rem);
	height: auto;
	margin: 0 auto 2.25rem;
}

.site-footer__firm {
	margin: 0;
	color: var(--white);
	font-family: var(--display);
	font-size: var(--step-1);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.site-footer__tag {
	margin: 0.4rem 0 2rem;
	font-family: var(--display);
	font-size: 0.72rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.site-footer__legal {
	max-width: 48rem;
	margin-inline: auto;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.9);
}

.site-footer__link {
	margin-left: 0.75rem;
}

/* Generic content */

.prose {
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

.prose h2 {
	margin: 2.25rem 0 0.6rem;
	font-size: var(--step-2);
	font-weight: 600;
}

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

.prose ul,
.prose ol {
	margin: 0 0 1em;
	padding-left: 1.25rem;
	list-style: revert;
}

.entry {
	padding-bottom: 2rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--line);
}

.entry h2 a {
	color: var(--navy);
	text-decoration: none;
}

.entry h2 a:hover {
	text-decoration: underline;
}

.entry__date {
	color: var(--slate);
	font-size: var(--step--1);
}
