/* ==========================================================================
   The Polity — WordPress theme
   Warm editorial: paper surfaces, ink type, one orange, serif display.
   ========================================================================== */

:root {
	--brand-50: #fff6ed;
	--brand-100: #ffe8d1;
	--brand-200: #ffcea3;
	--brand-300: #ffab68;
	--brand-400: #ff9440;
	--brand-500: #ff8023;
	--brand-600: #e96408;
	--brand-700: #c04d06;
	--brand-800: #9a3d0b;

	--navy-400: #2c3050;
	--navy-500: #1b1e34;
	--navy-600: #15182a;
	--navy-700: #0f1120;
	--navy-800: #07080f;

	--ink: #14120e;
	--ink-muted: #55503f;
	--ink-subtle: #8a8371;
	--ink-inverse: #f7f5e7;

	--surface: #ffffff;
	--cream: #f7f5e7;
	--cream-deep: #f0ecda;
	--surface-sunken: #faf8ef;
	--surface-muted: #f2eee0;

	--line: #e3dfcd;
	--line-strong: #cfc9b2;

	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;

	--radius: 0.625rem;
	--header-h: 4.5rem;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow-soft: 0 1px 0 rgba(20, 18, 14, 0.04), 0 8px 24px -20px rgba(20, 18, 14, 0.4);
	--shadow-panel: 0 24px 48px -24px rgba(20, 18, 14, 0.3);
}

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

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

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

body {
	margin: 0;
	background-color: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 600;
	line-height: 1.18;
}

h1,
h2 {
	font-family: var(--font-display);
	font-weight: 500;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

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

img {
	height: auto;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

input,
textarea,
select {
	font: inherit;
	color: inherit;
}

address {
	font-style: normal;
}

::selection {
	background-color: var(--brand-500);
	color: #fff;
}

:focus-visible {
	outline: 2px solid var(--brand-500);
	outline-offset: 3px;
	border-radius: 3px;
}

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

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 200;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.65rem 1.1rem;
	clip-path: none;
	background: var(--ink);
	color: var(--ink-inverse);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 600;
}

/* ---------------------------------------------------------- Typography ---- */

.display {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.038em;
	font-weight: 500;
	color: var(--ink);
}

.headline {
	font-family: var(--font-display);
	font-size: clamp(2.125rem, 1.35rem + 3vw, 3.5rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 500;
	color: var(--ink);
}

.title {
	font-family: var(--font-display);
	font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
	line-height: 1.18;
	letter-spacing: -0.016em;
	font-weight: 500;
}

.eyebrow {
	margin: 0 0 1.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink-subtle);
}

.eyebrow--brand {
	color: var(--brand-600);
}

.eyebrow--invert {
	color: var(--brand-400);
}

.category-label {
	margin: 0;
	font-size: clamp(1.5rem, 0.9rem + 2.4vw, 2.75rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--ink-inverse);
}

.lede {
	margin-top: 1.5rem;
	max-width: 42rem;
	font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
	line-height: 1.65;
	color: var(--ink-muted);
}

.lede--invert {
	color: #d7d2c2;
}

.body-copy {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.body-copy + .body-copy {
	margin-top: 1rem;
}

.body-copy--small {
	font-size: 0.9375rem;
}

.body-copy--invert {
	color: #d7d2c2;
}

.text-brand {
	color: var(--brand-500);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--ink);
}

.text-link .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--ease);
}

.text-link:hover .icon {
	transform: translateX(3px);
}

.text-link--brand {
	color: var(--brand-600);
}

.text-link--brand:hover {
	color: var(--brand-700);
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink-muted);
}

.back-link:hover {
	color: var(--ink);
}

.back-link .icon {
	width: 1rem;
	height: 1rem;
}

/* ------------------------------------------------------------ Layout ---- */

.container {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.container--wide {
	max-width: 90rem;
}

.container--narrow {
	max-width: 52rem;
}

.section {
	position: relative;
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

.section--tight {
	padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

.section--cream {
	background-color: var(--cream);
}

.section--surface {
	background-color: var(--surface);
}

.section--navy {
	background-color: var(--navy-800);
	color: var(--ink-inverse);
}

.section--ink {
	background-color: var(--navy-700);
	color: var(--ink-inverse);
}

.section--navy .headline,
.section--navy .title,
.section--navy .display,
.section--ink .headline,
.section--ink .title,
.section--ink .display {
	color: var(--ink-inverse);
}

.section--accent-top {
	border-top: 4px solid var(--brand-500);
}

.section--accent-bottom {
	border-bottom: 4px solid var(--brand-500);
}

.section-heading {
	max-width: 44rem;
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading .lede {
	margin-inline: auto;
}

.section-heading--center .lede {
	margin-top: 1.25rem;
}

.section-heading__action {
	margin-top: 1.75rem;
}

.section-heading-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.section-heading + .value-grid,
.section-heading + .work-grid,
.section-heading + .post-grid {
	margin-top: 2.75rem;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.button-row--center {
	justify-content: center;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.8rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.btn .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.btn--sm {
	padding: 0.55rem 1.05rem;
	font-size: 0.875rem;
}

.btn--lg {
	padding: 0.95rem 1.7rem;
	font-size: 1rem;
}

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

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

.btn--secondary {
	background-color: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn--secondary:hover {
	border-color: var(--brand-500);
	color: var(--brand-700);
}

.btn--inverse {
	background-color: var(--cream);
	color: var(--ink);
}

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

.btn--ghost {
	background-color: transparent;
	border-color: var(--line-strong);
	color: var(--ink);
}

.btn--ghost-invert {
	border-color: rgba(247, 245, 231, 0.35);
	color: var(--ink-inverse);
}

.btn--ghost-invert:hover {
	border-color: var(--brand-500);
	color: var(--brand-400);
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background-color: var(--surface-sunken);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--brand-600);
}

/* -------------------------------------------------------------- Icons ---- */

.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(247, 245, 231, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
	box-shadow: var(--shadow-soft);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.brand-logo {
	width: auto;
	height: 2.5rem;
	max-width: 12rem;
	object-fit: contain;
}

.site-header .brand-logo {
	height: 2.25rem;
}

.primary-nav {
	display: none;
	align-items: center;
	gap: 0.25rem;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.nav-list .menu-item {
	position: relative;
}

.nav-list .menu-item > a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.5rem 0.8rem;
	border-radius: 999px;
	font-size: 0.875rem;
	color: var(--ink-muted);
	white-space: nowrap;
}

.nav-list .menu-item > a:hover,
.nav-list .menu-item.current-menu-item > a,
.nav-list .menu-item.current-menu-ancestor > a,
.nav-list .menu-item.current_page_item > a,
.nav-list .menu-item.current_page_ancestor > a {
	color: var(--brand-600);
}

.nav-list .menu-item-has-children > a::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	margin-left: 0.15rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease;
}

.nav-list .menu-item-has-children:hover > a::after,
.nav-list .menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translateY(-1px);
}

.nav-list .sub-menu {
	position: absolute;
	left: 0;
	top: calc(100% + 0.5rem);
	z-index: 120;
	min-width: 15rem;
	padding: 0.5rem;
	background-color: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-panel);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.35rem);
	transition: opacity 0.2s ease, transform 0.2s var(--ease), visibility 0.2s;
}

.nav-list .menu-item:hover > .sub-menu,
.nav-list .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-list .sub-menu .menu-item > a {
	display: block;
	padding: 0.6rem 0.8rem;
	border-radius: 0.45rem;
	font-size: 0.875rem;
	white-space: normal;
}

.nav-list .sub-menu .menu-item > a:hover {
	background-color: var(--cream);
	color: var(--ink);
}

.nav-list .sub-menu .menu-item-has-children > a::after {
	float: right;
	margin-top: 0.35rem;
	transform: rotate(-45deg);
}

.nav-list .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	margin: 0.15rem 0 0.35rem 0.75rem;
	opacity: 1;
	visibility: visible;
	transform: none;
	box-shadow: none;
	border: 0;
	border-left: 1px solid var(--line);
	border-radius: 0;
	padding: 0 0 0 0.5rem;
	background: transparent;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.header-cta {
	display: none;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.menu-toggle:hover {
	border-color: var(--brand-500);
	color: var(--brand-600);
}

.menu-toggle .icon {
	width: 1.15rem;
	height: 1.15rem;
}

.menu-toggle__icon {
	display: inline-flex;
}

.menu-toggle__icon[data-icon-close] {
	display: none;
}

.site-header.is-open .menu-toggle__icon[data-icon-open] {
	display: none;
}

.site-header.is-open .menu-toggle__icon[data-icon-close] {
	display: inline-flex;
}

.mobile-nav__cta {
	display: flex;
	margin-top: 1.5rem;
	width: 100%;
}

/* Mobile navigation panel. The same list is repurposed, never duplicated. */
@media (max-width: 1023px) {
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 95;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 1.5rem;
		overflow-y: auto;
		background-color: var(--cream);
		border-top: 1px solid var(--line);
	}

	.site-header.is-open .primary-nav {
		display: flex;
	}

	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-list .menu-item > a {
		display: flex;
		justify-content: space-between;
		padding: 0.95rem 0;
		border-radius: 0;
		border-bottom: 1px solid var(--line);
		font-size: 1.125rem;
		color: var(--ink);
	}

	.nav-list .menu-item-has-children > a::after {
		margin-left: auto;
	}

	.nav-list .sub-menu {
		position: static;
		min-width: 0;
		margin: 0;
		padding: 0 0 0 1rem;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: transparent;
	}

	.nav-list .sub-menu .menu-item > a {
		padding: 0.7rem 0;
		border-bottom: 1px solid var(--line);
		font-size: 1rem;
		color: var(--ink-muted);
	}

	.nav-list .sub-menu .sub-menu {
		margin-left: 0.75rem;
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (min-width: 1024px) {
	.primary-nav {
		display: flex;
	}

	.header-cta {
		display: inline-flex;
	}

	.menu-toggle,
	.mobile-nav__cta {
		display: none;
	}
}

/* ----------------------------------------------------------- Page hero ---- */

.page-hero {
	padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
	background-color: var(--cream);
	border-bottom: 1px solid var(--line);
}

.page-hero--surface {
	background-color: var(--surface-sunken);
}

.page-hero--navy {
	background-color: var(--navy-800);
	border-bottom: 0;
}

.page-hero--navy .display,
.page-hero--navy .headline {
	color: var(--ink-inverse);
}

.page-hero--navy .lede {
	color: #d7d2c2;
}

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

.page-hero--center .lede,
.page-hero--center .display {
	margin-inline: auto;
}

.page-hero .display {
	max-width: 22ch;
}

.page-hero--center .display {
	max-width: 20ch;
}

.page-hero .hero-actions {
	margin-top: 1.75rem;
}

/* ------------------------------------------------------------ Homepage ---- */

.home-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(46rem, calc(100svh - var(--header-h)));
	padding-block: clamp(5rem, 3rem + 10vw, 9rem);
	overflow: hidden;
	background-color: var(--navy-800);
	color: var(--ink-inverse);
	isolation: isolate;
}

.home-hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.home-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: polity-kenburns 22s ease-out infinite alternate;
}

.home-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(100deg, rgba(7, 8, 15, 0.94) 0%, rgba(7, 8, 15, 0.78) 45%, rgba(7, 8, 15, 0.32) 100%),
		linear-gradient(0deg, rgba(7, 8, 15, 0.85) 0%, rgba(7, 8, 15, 0) 55%);
}

.home-hero__accent {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--brand-500), rgba(255, 128, 35, 0));
}

.home-hero__content {
	position: relative;
	width: 100%;
}

.home-hero__title {
	max-width: 17ch;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1rem + 6.4vw, 7rem);
	line-height: 0.96;
	letter-spacing: -0.045em;
	font-weight: 500;
	color: var(--ink-inverse);
}

.home-hero__lede {
	margin-top: 1.75rem;
	max-width: 40rem;
	font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.3125rem);
	line-height: 1.6;
	color: #ded9c9;
}

.hero-checklist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.75rem;
	margin-top: 2.25rem;
	font-size: 0.875rem;
	color: #e4dfd0;
}

.hero-checklist li,
.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.hero-checklist .icon,
.check-list .icon {
	width: 1rem;
	height: 1rem;
	margin-top: 0.28rem;
	color: var(--brand-500);
}

.check-list {
	display: grid;
	gap: 0.6rem;
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

.check-list--invert {
	color: #d7d2c2;
}

.coverage .section-heading {
	max-width: 52rem;
}

.proof-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 0;
	overflow: hidden;
	border: 1px solid rgba(247, 245, 231, 0.16);
	border-radius: var(--radius);
	background-color: rgba(247, 245, 231, 0.16);
}

.proof {
	padding: 1.75rem 1.25rem;
	background-color: var(--navy-800);
	text-align: center;
}

.proof dt {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--ink-inverse);
}

.proof dd {
	margin: 0.6rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #b9b4a5;
}

@media (min-width: 640px) {
	.proof-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* -------------------------------------------------------------- Marquee ---- */

.marquee-band {
	padding-block: 1.25rem;
	overflow: hidden;
	background-color: var(--navy-800);
	border-top: 1px solid rgba(247, 245, 231, 0.1);
	border-bottom: 1px solid rgba(247, 245, 231, 0.1);
}

.marquee {
	overflow: hidden;
	padding-block: 0.4rem;
}

.marquee__track {
	display: flex;
	width: max-content;
	animation: polity-marquee var(--marquee-duration, 52s) linear infinite;
}

.marquee__track:hover {
	animation-play-state: paused;
}

.marquee__track--reverse {
	animation-name: polity-marquee-reverse;
}

.marquee__group {
	display: flex;
	flex: none;
	gap: 0.85rem;
	padding-right: 0.85rem;
}

.marquee__tile {
	flex: none;
	width: 15rem;
	height: 10rem;
	overflow: hidden;
	border-radius: 6px;
	background-color: var(--navy-700);
}

.marquee__tile--wide {
	width: 21rem;
}

.marquee__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.marquee__tile:hover img {
	transform: scale(1.04);
}

@media (max-width: 640px) {
	.marquee__tile {
		width: 11rem;
		height: 8rem;
	}

	.marquee__tile--wide {
		width: 15rem;
	}
}

/* ---------------------------------------------------------------- Split ---- */

.split {
	display: grid;
	gap: clamp(2rem, 1.5rem + 3vw, 4.5rem);
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		align-items: start;
	}

	.split--wide {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	}
}

.split__aside .btn {
	margin-top: 1.75rem;
}

.split__aside .body-copy {
	margin-top: 1.25rem;
	max-width: 30rem;
}

.split__main {
	min-width: 0;
}

/* Bulleted list used inside detail cards. */
.dot-list {
	display: grid;
	gap: 0.55rem;
	margin-top: 1rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--ink-muted);
}

.dot-list li {
	position: relative;
	padding-left: 1.1rem;
}

.dot-list li::before {
	content: "";
	position: absolute;
	top: 0.6rem;
	left: 0;
	width: 0.35rem;
	height: 0.35rem;
	border-radius: 999px;
	background-color: var(--brand-500);
}

/* --------------------------------------------------------- Service rows ---- */

.service-list {
	display: grid;
	gap: 0;
}

.service-row {
	padding-block: 1.75rem;
	border-top: 1px solid rgba(247, 245, 231, 0.16);
}

.service-row:last-child {
	border-bottom: 1px solid rgba(247, 245, 231, 0.16);
}

.service-row__grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.service-row__grid {
		grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
	}
}

.service-row .category-label {
	font-size: clamp(1.35rem, 1rem + 1.6vw, 2rem);
	color: var(--ink-inverse);
}

.service-row__body {
	display: grid;
	gap: 1rem;
}

.service-row__media {
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 16 / 7;
}

.service-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.service-row:hover .service-row__media img {
	transform: scale(1.03);
}

.service-row__body .text-link {
	margin-top: 0.25rem;
}

/* ---------------------------------------------------------- Numbered list ---- */

.numbered-list {
	display: grid;
	gap: 1.75rem;
	margin-top: 2rem;
}

.numbered-list li {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.numbered-list--invert li {
	border-color: rgba(247, 245, 231, 0.16);
}

.numbered-list__index {
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--brand-500);
}

.numbered-list h3 {
	font-size: 1.0625rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.numbered-list p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.numbered-list--invert p {
	color: #bdb8a9;
}

.panel {
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
}

.panel--invert {
	border-color: rgba(247, 245, 231, 0.18);
	background-color: rgba(247, 245, 231, 0.04);
}

.panel .category-label {
	font-size: 1.5rem;
	color: inherit;
	margin-bottom: 1.5rem;
}

.step-list {
	display: grid;
	gap: 0;
}

.step-list li {
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	padding-block: 0.9rem;
	border-bottom: 1px solid rgba(247, 245, 231, 0.12);
}

.step-list li:last-child {
	border-bottom: 0;
}

.step-list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.65rem;
	height: 1.65rem;
	border-radius: 999px;
	background-color: var(--brand-500);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
}

.step-list p {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #d7d2c2;
}

.panel__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(247, 245, 231, 0.14);
	font-size: 0.875rem;
	color: #b9b4a5;
}

/* -------------------------------------------------------------- Accordion ---- */

.accordion {
	display: grid;
	gap: 0.75rem;
	margin-top: 2.5rem;
}

.accordion__item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.accordion__item[open] {
	border-color: var(--line-strong);
}

.accordion--invert .accordion__item {
	border-color: rgba(247, 245, 231, 0.16);
	background-color: rgba(247, 245, 231, 0.04);
}

.accordion__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.15rem 1.35rem;
	cursor: pointer;
	list-style: none;
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--ink);
}

.accordion--invert .accordion__item summary {
	color: var(--ink-inverse);
}

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

.accordion__icon {
	position: relative;
	width: 0.9rem;
	height: 0.9rem;
	flex: none;
}

.accordion__icon::before,
.accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	background-color: var(--brand-500);
	transition: transform 0.2s ease;
}

.accordion__icon::after {
	transform: rotate(90deg);
}

.accordion__item[open] .accordion__icon::after {
	transform: rotate(0deg);
}

.accordion__item > p,
.accordion__body {
	padding: 0 1.35rem 1.35rem;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.accordion--invert .accordion__item > p {
	color: #bdb8a9;
}

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

.accordion__body > *:last-child {
	margin-bottom: 0;
}

/* ---------------------------------------------------------------- Cards ---- */

.card {
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.card--lg {
	padding: clamp(1.75rem, 1.4rem + 2vw, 2.75rem);
}

.card:hover {
	border-color: var(--line-strong);
}

.card .headline {
	margin-top: 0.5rem;
}

.card .body-copy {
	margin-top: 1rem;
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.25rem;
	border-radius: var(--radius);
	background-color: var(--brand-100);
	color: var(--brand-700);
}

.card__icon .icon {
	width: 1.5rem;
	height: 1.5rem;
}

.card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--ink);
}

.two-up {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.two-up {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.two-up--detail {
	align-items: stretch;
}

.feature-grid {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.feature-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.feature-card {
	padding: 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.feature-card:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.feature-card__icon {
	width: 2rem;
	height: 2rem;
	margin-bottom: 1.1rem;
	color: var(--brand-500);
}

.feature-card h2 {
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.service-card-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.service-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.service-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.service-card:hover {
	border-color: var(--brand-300);
	transform: translateY(-2px);
}

.service-card .eyebrow {
	margin-bottom: 0;
}

.service-card .headline {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
}

.service-card .text-link {
	margin-top: auto;
	padding-top: 0.75rem;
}

.service-card__children {
	display: grid;
	gap: 0.4rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--line);
}

.service-card__children a {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0;
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

.service-card__children a:hover {
	color: var(--brand-600);
}

.service-card__children .icon {
	width: 1rem;
	height: 1rem;
	color: var(--brand-500);
}

/* --------------------------------------------------------- Media cards ---- */

.media-grid {
	display: grid;
	gap: 1.5rem;
}

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

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

.media-card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.media-card:hover {
	border-color: var(--brand-300);
	transform: translateY(-2px);
}

.media-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: var(--radius);
	background-color: var(--brand-50);
	color: var(--brand-600);
}

.media-card__icon .icon {
	width: 2rem;
	height: 2rem;
}

.media-card .headline {
	font-size: clamp(1.65rem, 1.4rem + 1vw, 2rem);
}

.media-card .text-link {
	margin-top: auto;
	padding-top: 0.5rem;
}

/* ---------------------------------------------------------------- Values ---- */

.value-grid {
	display: grid;
	gap: 1px;
	margin-top: 2.5rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--line);
}

@media (min-width: 640px) {
	.value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.value-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.value-grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.value-card,
.process-card,
.shortcut-card {
	padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
	background-color: var(--surface);
}

.value-card__index {
	margin-bottom: 1.25rem;
	font-family: var(--font-display);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--brand-500);
}

.value-card h3,
.process-card h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
}

.value-card p,
.process-card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.process-card h3 {
	font-family: var(--font-sans);
}

.shortcut-card {
	display: block;
	border: 1px solid transparent;
	transition: background-color 0.2s ease;
}

.shortcut-card:hover {
	background-color: var(--surface-sunken);
}

.shortcut-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 999px;
	background-color: var(--brand-100);
	color: var(--brand-700);
}

.shortcut-card h2 {
	font-size: 1.25rem;
	margin-bottom: 0.4rem;
}

.shortcut-card p {
	font-size: 0.9375rem;
	color: var(--ink-muted);
}

/* ------------------------------------------------------------ Leadership ---- */

.leadership-card {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 900px) {
	.leadership-card {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 3.5rem;
	}
}

.leadership-card .body-copy {
	margin-top: 1.1rem;
}

.profile-card {
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
}

.profile-card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.profile-card > p {
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.profile-card__facts {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
}

.profile-card__facts p {
	margin-bottom: 0.5rem;
	color: var(--ink-muted);
}

.profile-card__facts strong {
	color: var(--ink);
}

/* ------------------------------------------------------------- CTA panel ---- */

.cta-panel {
	padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	text-align: center;
}

.cta-panel .lede {
	margin-inline: auto;
}

.cta-panel .button-row {
	justify-content: center;
}

.closing-cta {
	padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}

.closing-cta__title {
	max-width: 20ch;
	margin-top: 0.5rem;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.4rem + 4.5vw, 5.5rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
	font-weight: 500;
	color: var(--ink-inverse);
}

.section--navy .closing-cta__title,
.section--ink .closing-cta__title {
	color: var(--ink-inverse);
}

.closing-cta__note {
	max-width: 34rem;
}

.availability {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.25rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--brand-400);
}

.availability span {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background-color: var(--brand-500);
	box-shadow: 0 0 0 4px rgba(255, 128, 35, 0.18);
}

/* ------------------------------------------------------------ Post cards ---- */

.post-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 640px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.post-card {
	display: flex;
	flex-direction: column;
}

.post-card__media {
	display: block;
	margin-bottom: 1.25rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
	background-color: var(--surface-muted);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}

.post-card:hover .post-card__media img {
	transform: scale(1.03);
}

.post-card:hover .post-card__media {
	border-color: var(--brand-300);
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	color: var(--ink-subtle);
}

.post-card__meta .badge {
	color: var(--brand-700);
	background-color: var(--brand-50);
	border-color: var(--brand-200);
}

.post-card__title {
	font-family: var(--font-sans);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 0.6rem;
}

.post-card__title a:hover {
	color: var(--brand-600);
}

.post-card__excerpt {
	margin-bottom: 1rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.post-card .text-link {
	margin-top: auto;
}

.post-card--invert .post-card__title {
	color: var(--ink-inverse);
}

.post-card--invert .post-card__title a:hover {
	color: var(--brand-400);
}

.post-card--invert .post-card__media {
	border-color: rgba(247, 245, 231, 0.14);
	background-color: var(--navy-700);
}

.post-card--invert .post-card__meta {
	color: #a8a394;
}

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

.work-grid {
	display: grid;
	gap: 3rem 2rem;
	margin-top: 2.5rem;
}

@media (min-width: 768px) {
	.work-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.work-card__media {
	display: block;
	margin-bottom: 1.25rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
	background-color: var(--surface-muted);
}

.work-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s var(--ease);
}

.work-card:hover .work-card__media img {
	transform: scale(1.04);
}

.work-card:hover .work-card__media {
	border-color: var(--line-strong);
}

.work-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.work-card__count {
	font-size: 0.8125rem;
	color: var(--ink-subtle);
}

.work-card .title {
	margin-bottom: 0.5rem;
}

.work-card .title a:hover {
	color: var(--brand-600);
}

.work-card__excerpt {
	max-width: 42rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}

.filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ink-muted);
	transition: all 0.2s ease;
}

.filter-pill:hover {
	border-color: var(--ink-subtle);
	color: var(--ink);
}

.filter-pill.is-active {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--cream);
}

/* ------------------------------------------------------------- Empty state ---- */

.empty-state {
	max-width: 38rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 2rem + 2vw, 4rem) 1.5rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	background-color: var(--surface);
	text-align: center;
}

.empty-state__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1.25rem;
	border-radius: 999px;
	background-color: var(--surface-muted);
	color: var(--ink-subtle);
}

.empty-state__icon .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.empty-state .headline {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	margin-bottom: 0.85rem;
}

.empty-state .body-copy {
	margin-bottom: 1.75rem;
}

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

.work-intro {
	margin-bottom: 2.5rem;
}

.gallery-grid {
	columns: 1;
	column-gap: 1rem;
}

@media (min-width: 640px) {
	.gallery-grid {
		columns: 2;
	}
}

@media (min-width: 1024px) {
	.gallery-grid {
		columns: 3;
	}
}

.gallery-item {
	display: block;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0;
	overflow: hidden;
	break-inside: avoid;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface-muted);
	cursor: zoom-in;
	transition: border-color 0.2s ease;
}

.gallery-item:hover {
	border-color: var(--line-strong);
}

.gallery-item img {
	width: 100%;
	transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
	transform: scale(1.02);
}

.work-video {
	margin-top: 3rem;
}

.work-video .headline {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	margin-bottom: 1.25rem;
}

.work-video video {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--navy-800);
}

.album-nav {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (min-width: 640px) {
	.album-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.album-nav__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.album-nav__item:hover {
	border-color: var(--line-strong);
}

.album-nav__item--next {
	justify-content: flex-end;
	text-align: right;
}

.album-nav__item .icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	color: var(--ink-subtle);
}

.album-nav__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-subtle);
}

.album-nav__title {
	display: block;
	margin-top: 0.2rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: var(--ink);
}

/* ------------------------------------------------------------- Lightbox ---- */

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background-color: rgba(7, 8, 15, 0.96);
}

.lightbox[hidden] {
	display: none;
}

.lightbox__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
	height: 100%;
}

.lightbox__image {
	max-width: 100%;
	max-height: calc(100% - 3rem);
	object-fit: contain;
	border-radius: 4px;
}

.lightbox__close,
.lightbox__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background-color: rgba(247, 245, 231, 0.12);
	color: var(--cream);
	transition: background-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
	background-color: rgba(247, 245, 231, 0.22);
}

.lightbox__close {
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
}

.lightbox__nav--prev {
	top: 50%;
	left: 0.25rem;
	transform: translateY(-50%);
}

.lightbox__nav--next {
	top: 50%;
	right: 0.25rem;
	transform: translateY(-50%);
}

.lightbox__counter {
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.875rem;
	color: rgba(247, 245, 231, 0.8);
}

@media (min-width: 768px) {
	.lightbox {
		padding: 2.5rem;
	}

	.lightbox__close {
		top: 1.25rem;
		right: 1.25rem;
	}

	.lightbox__nav--prev {
		left: 1.5rem;
	}

	.lightbox__nav--next {
		right: 1.5rem;
	}
}

/* ------------------------------------------------------------ Slideshow ---- */

.slideshow {
	max-width: 76rem;
	margin-inline: auto;
}

.slideshow__stage {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--navy-800);
	aspect-ratio: 16 / 9;
}

.slideshow__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.slideshow__nav,
.slideshow__expand {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background-color: rgba(7, 8, 15, 0.55);
	color: #fff;
	transition: background-color 0.2s ease;
}

.slideshow__nav:hover,
.slideshow__expand:hover {
	background-color: rgba(7, 8, 15, 0.78);
}

.slideshow__nav {
	top: 50%;
	transform: translateY(-50%);
}

.slideshow__nav--prev {
	left: 0.5rem;
}

.slideshow__nav--next {
	right: 0.5rem;
}

.slideshow__expand {
	top: 0.6rem;
	right: 0.6rem;
}

.slideshow__counter {
	position: absolute;
	top: 0.6rem;
	left: 0.6rem;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background-color: rgba(7, 8, 15, 0.55);
	font-size: 0.75rem;
	color: #fff;
}

.slideshow__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1rem;
}

.slideshow__dot {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background-color: rgba(20, 18, 14, 0.2);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.slideshow__dot:hover {
	background-color: rgba(20, 18, 14, 0.4);
}

.slideshow__dot.is-active {
	background-color: var(--brand-500);
	transform: scale(1.15);
}

.slideshow__hint {
	margin-top: 1.25rem;
	font-size: 0.875rem;
	text-align: center;
	color: var(--ink-subtle);
}

@media (min-width: 768px) {
	.slideshow__nav {
		width: 3rem;
		height: 3rem;
	}

	.slideshow__nav--prev {
		left: 1rem;
	}

	.slideshow__nav--next {
		right: 1rem;
	}

	.slideshow__expand {
		top: 1rem;
		right: 1rem;
	}

	.slideshow__counter {
		top: 1rem;
		left: 1rem;
		font-size: 0.8125rem;
	}
}

/* -------------------------------------------------------------- Reviews ---- */

.stats-grid {
	display: grid;
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--line);
}

@media (min-width: 640px) {
	.stats-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.stat {
	padding: 1.75rem 1.25rem;
	background-color: var(--surface);
	text-align: center;
}

.stat dt {
	font-family: var(--font-sans);
	font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.stat dt span {
	margin-left: 0.15rem;
	font-size: 0.5em;
	color: var(--ink-subtle);
}

.stat dd {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--ink-muted);
}

.review-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.review-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.review-card {
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.review-card:hover {
	border-color: var(--line-strong);
}

.rating {
	display: flex;
	gap: 0.15rem;
}

.rating__star {
	color: var(--line-strong);
}

.rating__star .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.rating__star.is-filled {
	color: var(--brand-500);
}

.rating__star.is-filled .icon {
	fill: currentColor;
}

.review-card__quote {
	flex: 1;
	margin: 1.25rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.review-card__quote p {
	margin-bottom: 0.75rem;
}

.review-card__quote p:last-child {
	margin-bottom: 0;
}

.review-card__author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
}

.avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	flex: none;
	border-radius: 999px;
	background-color: var(--surface-muted);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink-muted);
	text-transform: uppercase;
}

.review-card__name {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink);
}

.review-card__role {
	display: block;
	font-size: 0.8125rem;
	color: var(--ink-subtle);
}

/* ----------------------------------------------------------------- Team ---- */

.team-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	text-align: center;
	transition: border-color 0.2s ease;
}

.team-card:hover {
	border-color: var(--brand-300);
}

.team-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 8rem;
	height: 8rem;
	margin-bottom: 1.4rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 999px;
	background-color: var(--surface-muted);
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 600;
	color: var(--ink-subtle);
}

.team-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__name {
	font-family: var(--font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.team-card__role {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--brand-600);
	margin-bottom: 0.9rem;
}

.team-card__bio {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.team-card__bio p {
	margin-bottom: 0.6rem;
}

.team-card__bio p:last-child {
	margin-bottom: 0;
}

.team-card__contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	margin-top: 1.4rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink-muted);
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.team-card__contact:hover {
	border-color: var(--brand-500);
	background-color: var(--brand-500);
	color: #fff;
}

.team-card__contact .icon {
	width: 1.1rem;
	height: 1.1rem;
}

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

.contact-layout {
	display: grid;
	gap: 1.5rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.contact-layout {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
		gap: 2rem;
	}
}

.contact-panel {
	padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
}

.contact-panel > .body-copy {
	margin-top: 0.85rem;
}

.info-list {
	display: grid;
	gap: 0.85rem;
	margin-top: 2rem;
}

.info-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface-sunken);
}

.info-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	height: 2.9rem;
	flex: none;
	border-radius: var(--radius);
	background-color: var(--brand-500);
	color: var(--navy-800);
}

.info-card__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-subtle);
}

.info-card__value {
	margin-top: 0.15rem;
	font-size: 1rem;
	color: var(--ink);
	word-break: break-word;
}

.info-card__value a:hover {
	color: var(--brand-600);
}

.contact-meta {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.contact-meta {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

/* ---------------------------------------------------------------- Forms ---- */

.contact-form-wrap {
	margin-top: 1.75rem;
}

.contact-form {
	display: grid;
	gap: 1.25rem;
}

.form-grid {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.field {
	display: block;
}

.field > span {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	font-size: 1rem;
	color: var(--ink);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
	color: var(--ink-subtle);
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px rgba(255, 128, 35, 0.15);
}

.contact-form > .btn {
	justify-self: start;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-alert {
	margin-bottom: 1.25rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid;
	border-radius: var(--radius);
	font-size: 0.9375rem;
}

.form-alert--success {
	border-color: var(--brand-200);
	background-color: var(--brand-50);
	color: var(--brand-800);
}

.form-alert--error {
	border-color: #e4b9b0;
	background-color: #fdf2ef;
	color: #8a2f1c;
}

/* ----------------------------------------------------------- Newsletter ---- */

.newsletter-form {
	margin-top: 1.1rem;
}

.newsletter-form__row {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgba(247, 245, 231, 0.24);
	border-radius: 999px;
	background-color: rgba(247, 245, 231, 0.06);
	transition: border-color 0.2s ease;
}

.newsletter-form__row:focus-within {
	border-color: var(--brand-500);
}

.newsletter-form input[type="email"] {
	width: 100%;
	min-width: 0;
	padding: 0.7rem 1rem;
	border: 0;
	background: transparent;
	font-size: 0.875rem;
	color: var(--ink-inverse);
}

.newsletter-form input[type="email"]::placeholder {
	color: #9d9888;
}

.newsletter-form input[type="email"]:focus {
	outline: none;
}

.newsletter-form input[type="email"]:-webkit-autofill {
	-webkit-text-fill-color: var(--ink-inverse);
	box-shadow: inset 0 0 0 100px rgba(247, 245, 231, 0.06);
}

.newsletter-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.9rem;
	flex: none;
	border: 0;
	background-color: var(--brand-500);
	color: #fff;
	transition: background-color 0.2s ease;
}

.newsletter-form__submit:hover {
	background-color: var(--brand-400);
}

.newsletter-form__submit svg {
	width: 0.9rem;
	height: 0.9rem;
	fill: currentColor;
}

.newsletter-form__note {
	margin-top: 0.7rem;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #9d9888;
}

.newsletter-form__status {
	min-height: 1.2rem;
	margin-top: 0.4rem;
	font-size: 0.8125rem;
}

.newsletter-form__status .is-success {
	color: var(--brand-400);
}

.newsletter-form__status .is-error {
	color: #f0a08a;
}

.newsletter-panel {
	max-width: 32rem;
	margin-top: 1.5rem;
}

.newsletter-panel .newsletter-form {
	margin-top: 0;
}

.newsletter-panel .newsletter-form__row {
	border-color: rgba(247, 245, 231, 0.28);
	background-color: rgba(247, 245, 231, 0.08);
}

.closing-cta__note + .newsletter-panel {
	margin-top: 1.75rem;
}

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

.site-footer {
	background-color: var(--navy-800);
	color: var(--ink-inverse);
}

.site-footer__top {
	padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
}

.footer-grid {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 640px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.footer-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.65fr) minmax(0, 1.25fr);
		gap: 2.5rem;
	}
}

.footer-brand .brand-logo {
	height: 2.5rem;
}

.footer-brand__text {
	margin: 1.25rem 0 1.5rem;
	max-width: 22rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #b9b4a5;
}

.footer-heading {
	font-family: var(--font-sans);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #8f8a7b;
	margin-bottom: 1rem;
}

.footer-links {
	display: grid;
	gap: 0.55rem;
}

.footer-links a,
.footer-address a {
	font-size: 0.9375rem;
	color: #d7d2c2;
}

.footer-links a:hover,
.footer-address a:hover {
	color: var(--brand-400);
}

.footer-address {
	display: grid;
	gap: 0.35rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #b9b4a5;
}

.footer-address p {
	margin: 0;
}

.footer-phone {
	display: block;
	font-weight: 600;
	color: var(--ink-inverse);
}

.footer-phone:hover {
	color: var(--brand-400);
}

.footer-newsletter {
	margin-top: 2rem;
}

.footer-socials {
	display: flex;
	gap: 0.6rem;
	margin-top: 1.5rem;
}

.footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid rgba(247, 245, 231, 0.2);
	border-radius: 999px;
	color: #d7d2c2;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
	border-color: var(--brand-500);
	background-color: var(--brand-500);
	color: #fff;
}

.footer-socials .icon {
	width: 1rem;
	height: 1rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(247, 245, 231, 0.12);
	font-size: 0.8125rem;
	color: #8f8a7b;
}

.site-footer__bottom p {
	margin: 0;
}

/* --------------------------------------------------------------- Journal ---- */

.entry__header .display {
	max-width: 24ch;
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: var(--ink-subtle);
}

.entry__meta .badge {
	background-color: var(--brand-50);
	border-color: var(--brand-200);
	color: var(--brand-700);
}

.entry__media {
	margin: 0 0 2.5rem;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.entry__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.entry__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 2.5rem;
}

.post-nav {
	display: grid;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
	.post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.post-nav__item {
	display: block;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.post-nav__item:hover {
	border-color: var(--line-strong);
}

.post-nav__item--next {
	text-align: right;
}

.post-nav__label {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-subtle);
}

.post-nav__title {
	display: block;
	margin-top: 0.3rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--ink);
}

/* ----------------------------------------------------------------- Prose ---- */

.prose {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--ink-muted);
}

.prose--spaced {
	margin-top: 1rem;
}

.prose > * + * {
	margin-top: 1.35rem;
}

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2.25rem;
	color: var(--ink);
}

.prose h2 {
	font-size: clamp(1.65rem, 1.4rem + 1.2vw, 2.25rem);
}

.prose h3 {
	font-family: var(--font-sans);
	font-size: 1.375rem;
	font-weight: 700;
}

.prose h4 {
	font-size: 1.125rem;
	font-weight: 700;
}

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

.prose a {
	color: var(--brand-600);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:hover {
	color: var(--brand-700);
}

.prose ul,
.prose ol {
	padding-left: 1.35rem;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.5rem;
}

.prose li > ul,
.prose li > ol {
	margin-top: 0.5rem;
}

.prose blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.35rem;
	border-left: 3px solid var(--brand-500);
	font-family: var(--font-display);
	font-size: 1.35rem;
	line-height: 1.4;
	color: var(--ink);
}

.prose blockquote p {
	margin: 0;
}

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

.prose figure {
	margin: 2rem 0;
}

.prose figcaption {
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	color: var(--ink-subtle);
	text-align: center;
}

.prose code {
	padding: 0.15rem 0.35rem;
	border-radius: 4px;
	background-color: var(--surface-muted);
	font-size: 0.9em;
}

.prose pre {
	padding: 1.1rem;
	overflow-x: auto;
	border-radius: var(--radius);
	background-color: var(--navy-800);
	color: var(--ink-inverse);
}

.prose pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.prose hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid var(--line);
}

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

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

.prose th {
	background-color: var(--surface-sunken);
	color: var(--ink);
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
	font-size: 0.875rem;
	color: var(--ink-subtle);
}

/* ------------------------------------------------------------ Pagination ---- */

.pagination {
	margin-top: 3rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 0.7rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background-color: var(--surface);
	font-size: 0.875rem;
	color: var(--ink-muted);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.pagination .page-numbers:hover {
	border-color: var(--line-strong);
	color: var(--ink);
}

.pagination .page-numbers.current {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--cream);
}

/* ---------------------------------------------------------------- Search ---- */

.search-panel {
	max-width: 32rem;
	margin-top: 1.75rem;
}

.search-form {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background-color: var(--surface);
	transition: border-color 0.2s ease;
}

.search-form:focus-within {
	border-color: var(--brand-500);
}

.search-form__field {
	width: 100%;
	min-width: 0;
	padding: 0.85rem 1.15rem;
	border: 0;
	background: transparent;
	font-size: 0.9375rem;
}

.search-form__field:focus {
	outline: none;
}

.search-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.1rem;
	flex: none;
	border: 0;
	background-color: var(--brand-500);
	color: #fff;
	transition: background-color 0.2s ease;
}

.search-form__submit:hover {
	background-color: var(--brand-400);
}

.search-form__submit .icon {
	width: 1rem;
	height: 1rem;
}

.error-page .hero-actions,
.error-page .button-row {
	margin-top: 2rem;
}

.error-page .search-panel {
	margin-inline: auto;
}

.error-page .button-row .btn {
	width: auto;
}

/* -------------------------------------------------------------- Comments ---- */

.comments {
	margin-top: 3.5rem;
}

.comments__title {
	font-family: var(--font-sans);
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.comment-list {
	display: grid;
	gap: 1.25rem;
	margin-bottom: 2.5rem;
}

.comment-list .comment-body {
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
}

.comment-list .children {
	margin-top: 1.25rem;
	padding-left: 1.25rem;
	border-left: 1px solid var(--line);
}

.comment-list .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	color: var(--ink-subtle);
}

.comment-list .comment-author img {
	border-radius: 999px;
}

.comment-list .comment-author .fn {
	font-style: normal;
	font-weight: 600;
	color: var(--ink);
}

.comment-list .comment-content {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--ink-muted);
}

.comment-list .reply a {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--brand-600);
}

.comment-respond .comment-form {
	display: grid;
	gap: 1rem;
}

.comment-respond .comment-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"],
.comment-respond .comment-form input[type="url"],
.comment-respond .comment-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background-color: var(--surface);
	font-size: 1rem;
}

.comment-respond .comment-form input:focus,
.comment-respond .comment-form textarea:focus {
	outline: none;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px rgba(255, 128, 35, 0.15);
}

.comment-respond .comment-form .form-submit {
	margin: 0.5rem 0 0;
}

.comment-respond .comment-form .submit {
	padding: 0.8rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background-color: var(--brand-500);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

.comment-respond .comment-form .submit:hover {
	background-color: var(--brand-400);
}

.comment-respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--ink-muted);
}

.comment-respond .comment-form-cookies-consent label {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.comments__notes,
.comments__closed {
	margin-bottom: 1.25rem;
	font-size: 0.875rem;
	color: var(--ink-subtle);
}

/* ----------------------------------------------------- WordPress blocks ---- */

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

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

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

.alignwide {
	max-width: 72rem;
	margin-inline: auto;
}

.alignfull {
	width: 100%;
	max-width: none;
}

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

.wp-caption-text {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: var(--ink-subtle);
	text-align: center;
}

.sticky {
	position: relative;
}

.bypostauthor {
	position: relative;
}

/* ---------------------------------------------------------------- Motion ---- */

.reveal {
	opacity: 0;
	transform: translateY(0.9rem);
	transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes polity-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@keyframes polity-marquee-reverse {
	from {
		transform: translateX(-50%);
	}
	to {
		transform: translateX(0);
	}
}

@keyframes polity-kenburns {
	from {
		transform: scale(1.04) translate3d(0, 0, 0);
	}
	to {
		transform: scale(1.16) translate3d(0, -1.4%, 0);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.home-hero__image,
	.marquee__track {
		animation: none !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

/* ---------------------------------------------------------------- Mobile ---- */

@media (max-width: 767px) {
	.container {
		padding-inline: 1.15rem;
	}

	.section-heading-row {
		align-items: flex-start;
	}

	.hero-actions .btn,
	.button-row .btn {
		width: 100%;
	}

	.closing-cta__title {
		max-width: none;
	}

	.page-hero .display {
		max-width: none;
	}

	.lightbox__nav--prev {
		left: 0;
	}

	.lightbox__nav--next {
		right: 0;
	}

	.footer-grid {
		gap: 2rem;
	}
}

@media (max-width: 400px) {
	.newsletter-form__row {
		border-radius: var(--radius);
	}

	.newsletter-form input[type="email"] {
		padding-inline: 0.85rem;
	}
}

/* Keep long words from breaking narrow layouts. */
h1,
h2,
h3,
p,
a {
	overflow-wrap: break-word;
}

/* Utility states used by the front-end script. */
[hidden] {
	display: none !important;
}

body.nav-open,
body.lightbox-open {
	overflow: hidden;
}

.slideshow__image {
	cursor: zoom-in;
}

.slideshow__stage:fullscreen {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: auto;
	height: 100%;
	border: 0;
	border-radius: 0;
	background-color: var(--navy-800);
}

.slideshow__stage:fullscreen .slideshow__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	cursor: zoom-out;
}
