/*
Theme Name: ANCHOR Pittsburgh
Theme URI: https://github.com/dendritecorp/template-anchorpgh
Author: Dendrite Corp
Description: Classic PHP theme with Gutenberg patterns for ANCHOR Pittsburgh.
Version: 2.1.0
Text Domain: anchorpgh
*/

@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("https://anchorpgh.gagadomains.com/static/themes/anchorpgh/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url("https://anchorpgh.gagadomains.com/static/themes/anchorpgh/assets/fonts/schibsted-grotesk.woff2") format("woff2");
}

@font-face {
	font-family: "Schibsted Grotesk";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("https://anchorpgh.gagadomains.com/static/themes/anchorpgh/assets/fonts/schibsted-grotesk-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Newsreader";
	font-style: italic;
	font-weight: 400 500;
	font-display: swap;
	src: url("https://anchorpgh.gagadomains.com/static/themes/anchorpgh/assets/fonts/newsreader-italic.woff2") format("woff2");
}

:root {
	--ap-ink: #000209;
	--ap-navy: #001350;
	--ap-orange: #ff5d00;
	--ap-orange-hover: #e05200;
	--ap-paper: #f4f2ee;
	--ap-cream: #eae9e6;
	--ap-white: #ffffff;
	--ap-body: #1c1c1c;
	--ap-muted: #5c5a56;
	--ap-heading: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
	--ap-sans: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
	--ap-serif: "Newsreader", Georgia, serif;
	--ap-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
	--ap-max: 1320px;
	--ap-pad: clamp(1.25rem, 4vw, 2.5rem);
	--ap-header: 5.125rem;
	--ap-line: rgba(0, 2, 9, 0.14);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ap-header) + 0.75rem);
}

body {
	margin: 0;
	font-family: var(--ap-sans);
	color: var(--ap-body);
	background: var(--ap-white);
	font-size: 17px;
	line-height: 1.62;
	letter-spacing: -0.005em;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ap-navy); text-decoration: none; transition: color 0.22s ease; }
a:hover { color: var(--ap-orange); }

h1, h2, h3, h4, h5, h6,
.rb-block-heading,
.rb-block-heading {
	font-family: var(--ap-heading);
	color: var(--ap-ink);
	line-height: 0.96;
	letter-spacing: -0.042em;
	font-weight: 700;
	margin: 0 0 0.7em;
	text-wrap: balance;
}

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

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 2000;
	padding: 0.6rem 1rem;
	background: var(--ap-ink);
	color: var(--ap-white);
	text-decoration: none;
}

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

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

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	isolation: isolate;
	background: var(--ap-white);
	border-bottom: 1px solid var(--ap-line);
}

.header-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 28px;
	min-height: var(--ap-header);
	max-width: var(--ap-max);
	margin-inline: auto;
	padding: 12px var(--ap-pad);
}

.site-logo {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-decoration: none;
	color: var(--ap-navy);
	line-height: 1;
}

.site-logo__word {
	display: inline-flex;
	align-items: center;
	font-family: var(--ap-heading);
	font-weight: 450;
	font-size: 1.5rem;
	letter-spacing: 0.19em;
	color: inherit;
	white-space: nowrap;
}

.site-logo__crescent {
	width: 0.52em;
	height: 1em;
	margin: 0 0.02em 0 -0.11em;
	color: var(--ap-orange);
	overflow: visible;
	flex-shrink: 0;
	transform-origin: 40% 50%;
	transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-logo:hover .site-logo__crescent {
	transform: rotate(-18deg);
}

.site-logo__url {
	font-family: var(--ap-mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ap-orange);
	font-weight: 500;
}

.desktop-nav { display: none; }

.header-cta {
	display: none;
	align-items: center;
	gap: 20px;
}

.header-phone {
	color: var(--ap-ink);
	text-decoration: none;
	font-weight: 600;
	font-size: 15.5px;
	letter-spacing: -0.01em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	transition: color 0.22s ease;
}

.header-eval {
	background: var(--ap-orange);
	color: var(--ap-white) !important;
	font-family: var(--ap-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 14px 22px;
	display: inline-block;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.header-eval:hover {
	background: var(--ap-orange-hover);
	color: var(--ap-white) !important;
	transform: translateX(4px);
	box-shadow: -4px 0 0 var(--ap-ink);
}
.header-phone:hover { color: var(--ap-orange); }

.hamburger {
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--ap-ink);
	background: transparent;
	color: var(--ap-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.hamburger:hover {
	border-color: var(--ap-orange);
	color: var(--ap-orange);
}

.hamburger svg line {
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
	transform-origin: center;
	transform-box: fill-box;
}

.hamburger.active svg line:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.hamburger.active svg line:nth-child(2) {
	opacity: 0;
}

.hamburger.active svg line:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	width: min(22rem, 88vw);
	height: 100vh;
	background: var(--ap-ink);
	color: var(--ap-white);
	z-index: 1001;
	transform: translateX(100%);
	transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
	overflow-y: auto;
	padding: 1.25rem 1.5rem 2rem;
}

.mobile-nav.active { transform: translateX(0); }

.mobile-nav-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.site-logo--light,
.site-logo--light .site-logo__word { color: var(--ap-white); }

.mobile-nav-close {
	background: none;
	border: none;
	color: var(--ap-white);
	cursor: pointer;
	padding: 0.4rem;
}

.mobile-menu-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-menu-items a {
	display: block;
	color: var(--ap-white);
	text-decoration: none;
	font-family: var(--ap-heading);
	font-size: 1.65rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	transition: color 0.22s ease, padding-left 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-items a:hover {
	color: var(--ap-orange);
	padding-left: 0.4rem;
}

.mobile-nav-cta {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}

.mobile-nav-cta .header-phone { color: var(--ap-white); }

.mobile-nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 2, 9, 0.5);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

.mobile-nav-overlay.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

body.menu-open { overflow: hidden; }

@media (min-width: 1100px) {
	.desktop-nav { display: block; flex: 1; }

	.desktop-nav .nav-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px 30px;
		list-style: none;
		margin: 0;
		padding: 0;
		font-size: 14.5px;
		font-weight: 500;
	}

	.desktop-nav .nav-menu a {
		color: var(--ap-ink);
		text-decoration: none;
		background-image: linear-gradient(var(--ap-orange), var(--ap-orange));
		background-position: 0 100%;
		background-repeat: no-repeat;
		background-size: 0 1.5px;
		padding-bottom: 3px;
		transition: color 0.22s ease, background-size 0.32s cubic-bezier(0.16, 1, 0.3, 1);
	}

	.desktop-nav .nav-menu a:hover {
		color: var(--ap-orange);
		background-size: 100% 1.5px;
	}

	.header-cta { display: flex; }

	.hamburger,
	.mobile-nav,
	.mobile-nav-overlay { display: none !important; }
}

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

.site-footer {
	background: var(--ap-ink);
	color: rgba(255, 255, 255, 0.82);
	padding: clamp(56px, 7vw, 88px) var(--ap-pad) 28px;
}

.footer-grid {
	max-width: var(--ap-max);
	margin: 0 auto;
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-tag {
	max-width: 22ch;
	color: rgba(255, 255, 255, 0.7);
	font-size: 17px;
	line-height: 1.5;
	margin: 18px 0 26px;
}

.footer-contact {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 16.5px;
	font-variant-numeric: tabular-nums;
}

.footer-contact a,
.footer-menu a {
	color: inherit;
	text-decoration: none;
	transition: color 0.22s ease;
}

.footer-contact a:hover,
.footer-menu a:hover { color: var(--ap-orange); }

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 15px;
}

.footer-copy {
	max-width: var(--ap-max);
	margin: 0 auto;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-family: var(--ap-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 800px) {
	.footer-grid {
		grid-template-columns: 1.3fr 1fr 0.9fr;
		align-items: start;
	}
}

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

.ap-btn,
.rb-block-button__link,
.rb-block-button__link,
.rb-element-button {
	display: inline-block;
	padding: 18px 34px;
	border-radius: 0;
	border: 1px solid var(--ap-orange);
	background: var(--ap-orange);
	color: var(--ap-white) !important;
	text-decoration: none;
	font-family: var(--ap-mono);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.ap-btn:hover,
.rb-block-button__link:hover,
.rb-block-button__link:hover,
.rb-element-button:hover {
	background: var(--ap-orange-hover);
	border-color: var(--ap-orange-hover);
	color: var(--ap-white) !important;
	transform: translateX(4px);
	box-shadow: -4px 0 0 var(--ap-ink);
}

.rb-block-button.is-style-outline .rb-block-button__link,
.rb-block-button.is-style-outline .rb-block-button__link,
.ap-btn--ghost {
	background: transparent;
	border-color: var(--ap-ink);
	color: var(--ap-ink) !important;
}

.rb-block-button.is-style-outline .rb-block-button__link:hover,
.rb-block-button.is-style-outline .rb-block-button__link:hover,
.ap-btn--ghost:hover {
	background: var(--ap-ink);
	border-color: var(--ap-ink);
	color: var(--ap-white) !important;
	box-shadow: -4px 0 0 var(--ap-orange);
}

.ap-btn--ghost.ap-btn--ghost,
.site-footer .ap-btn--ghost {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--ap-white) !important;
	padding: 15px 28px;
}

.site-footer .ap-btn--ghost:hover {
	background: var(--ap-white);
	border-color: var(--ap-white);
	color: var(--ap-ink) !important;
	box-shadow: -4px 0 0 var(--ap-orange);
}

.rb-block-buttons,
.rb-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0 0 1rem;
}

.has-navy-background-color .rb-block-button.is-style-outline .rb-block-button__link,
.has-navy-background-color .rb-block-button.is-style-outline .rb-block-button__link {
	border-color: var(--ap-white);
	color: var(--ap-white) !important;
}

/* -------------------------------------------------------------------------- */
/* Layout / Gutenberg (rb-block + rb-block for gagadomains rewrite)           */
/* -------------------------------------------------------------------------- */

.site-main { padding: 0; }

.entry-content {
	max-width: none;
}

.entry-content > .alignfull,
.rb-block-cover.alignfull,
.rb-block-cover.alignfull,
.rb-block-group.alignfull,
.rb-block-group.alignfull,
.rb-block-columns.alignfull,
.rb-block-columns.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.ap-hero {
	background-color: var(--ap-paper);
}

.entry-content .ap-hero .rb-block-columns,
.entry-content .ap-hero .rb-block-columns {
	display: grid !important;
	grid-template-columns:
		minmax(var(--ap-pad), calc((100% - var(--ap-max)) / 2 + var(--ap-pad)))
		minmax(0, 1fr)
		50%;
	align-items: stretch;
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

.entry-content .ap-hero .rb-block-columns > *,
.entry-content .ap-hero .rb-block-columns > * {
	max-width: none !important;
	margin-inline: 0 !important;
}

.entry-content .ap-hero .ap-hero__copy,
.entry-content .ap-hero .rb-block-column:first-child,
.entry-content .ap-hero .rb-block-column:first-child {
	grid-column: 2;
	min-width: 0;
	max-width: none;
	padding-left: 0 !important;
}

.entry-content .ap-hero .ap-hero__media,
.entry-content .ap-hero .rb-block-column:last-child,
.entry-content .ap-hero .rb-block-column:last-child {
	grid-column: 3;
	min-width: 0;
	max-width: none;
}

.entry-content .ap-hero .ap-hero__media > .rb-block-cover,
.entry-content .ap-hero .ap-hero__media > .rb-block-cover,
.entry-content .ap-hero .rb-block-column:last-child > .rb-block-cover,
.entry-content .ap-hero .rb-block-column:last-child > .rb-block-cover,
.entry-content .ap-hero .rb-block-column:last-child > .rb-block-cover,
.entry-content .ap-hero .rb-block-column:last-child > .rb-block-cover {
	width: 100%;
	height: 100%;
}

@media (max-width: 781px) {
	.entry-content .ap-hero .rb-block-columns,
	.entry-content .ap-hero .rb-block-columns {
		grid-template-columns: var(--ap-pad) minmax(0, 1fr) var(--ap-pad);
	}

	.entry-content .ap-hero .ap-hero__copy,
	.entry-content .ap-hero .rb-block-column:first-child,
	.entry-content .ap-hero .rb-block-column:first-child {
		grid-column: 2;
		grid-row: 1;
		padding-right: 0 !important;
	}

	.entry-content .ap-hero .ap-hero__media,
	.entry-content .ap-hero .rb-block-column:last-child,
	.entry-content .ap-hero .rb-block-column:last-child {
		grid-column: 1 / -1;
		grid-row: 2;
	}
}

.rb-block-columns,
.rb-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin: 0 0 1rem;
}

.rb-block-column,
.rb-block-column {
	flex-grow: 1;
	flex-basis: 0;
	min-width: min(100%, 16rem);
}

@media (min-width: 782px) {
	.rb-block-columns,
	.rb-block-columns {
		flex-wrap: nowrap;
	}

	.rb-block-column,
	.rb-block-column {
		min-width: 0;
	}
}

.rb-block-cover,
.rb-block-cover {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 24rem;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.rb-block-cover__image-background,
.rb-block-cover__image-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-block-cover:hover .rb-block-cover__image-background,
.rb-block-cover:hover .rb-block-cover__image-background,
.rb-block-cover:hover .rb-block-cover__image-background {
	transform: scale(1.05);
}

.rb-block-cover__inner-container,
.rb-block-cover__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.rb-block-column > .rb-block-cover,
.rb-block-column > .rb-block-cover,
.rb-block-column > .rb-block-cover,
.rb-block-column > .rb-block-cover {
	height: 100%;
	min-height: 32rem;
}

.rb-block-image,
.rb-block-image {
	margin: 0 0 1rem;
	overflow: hidden;
}

.rb-block-image img,
.rb-block-image img {
	width: 100%;
	height: auto;
	transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.rb-block-image:hover img,
.rb-block-image:hover img {
	transform: scale(1.045);
}

.rb-block-quote,
.rb-block-quote {
	margin: 0 0 1.4rem;
	padding: 0;
	border: 0;
	font-family: var(--ap-serif);
	font-style: italic;
	font-size: clamp(1.35rem, 2.3vw, 1.9rem);
	line-height: 1.32;
	letter-spacing: -0.015em;
	color: var(--ap-ink);
}

.rb-block-separator,
.rb-block-separator {
	border: 0;
	border-top: 1px solid var(--ap-line);
	margin: 1.5rem 0;
}

.is-style-kicker,
.has-kicker-font-size.has-mono-font-family,
.has-mono-font-family.has-primary-color {
	font-family: var(--ap-mono) !important;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 500;
}

.is-style-kicker {
	font-size: 11px !important;
	color: var(--ap-orange) !important;
	margin-bottom: 1.25rem;
}

.is-style-card {
	border: 1px solid var(--ap-line);
}

#about, #team, #approach, #testimonials, #contact, #values, #affiliates {
	scroll-margin-top: calc(var(--ap-header) + 0.5rem);
}

.has-navy-background-color {
	color: var(--ap-white);
}

.has-navy-background-color .rb-block-heading,
.has-navy-background-color .rb-block-heading,
.has-navy-background-color h1,
.has-navy-background-color h2,
.has-navy-background-color h3 {
	color: var(--ap-white);
}

.has-base-background-color { background-color: var(--ap-paper); }
.has-cream-background-color { background-color: var(--ap-cream); }
.has-primary-background-color { background-color: var(--ap-orange); }
.has-white-background-color { background-color: var(--ap-white); }
.has-contrast-color { color: var(--ap-ink); }
.has-muted-color { color: var(--ap-muted); }
.has-primary-color { color: var(--ap-orange); }
.has-navy-color { color: var(--ap-navy); }
.has-white-color { color: var(--ap-white); }

.has-heading-font-family { font-family: var(--ap-heading); }
.has-serif-font-family { font-family: var(--ap-serif); }
.has-mono-font-family { font-family: var(--ap-mono); }

.has-xx-large-font-size { font-size: clamp(3rem, 6.6vw, 6rem); }
.has-x-large-font-size { font-size: clamp(2.125rem, 4.4vw, 3.625rem); }

.editor-styles-wrapper {
	font-family: var(--ap-sans);
	color: var(--ap-body);
	background: var(--ap-white);
}

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

.ap-contact-form,
.repraesent-lead-form {
	display: grid;
	gap: 18px;
	max-width: 620px;
}

.ap-form-row {
	display: grid;
	gap: 18px;
}

@media (min-width: 640px) {
	.ap-form-row { grid-template-columns: 1fr 1fr; }
}

.ap-contact-form label,
.ap-contact-form legend {
	display: block;
	font-family: var(--ap-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--ap-ink);
	margin-bottom: 8px;
}

.ap-contact-form input[type="text"],
.ap-contact-form input[type="email"],
.ap-contact-form input[type="tel"],
.ap-contact-form textarea {
	width: 100%;
	padding: 14px;
	border: 1px solid rgba(0, 2, 9, 0.28);
	background: var(--ap-white);
	font: inherit;
	font-size: 16px;
	border-radius: 0;
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.ap-contact-form input:focus,
.ap-contact-form textarea:focus {
	border-color: var(--ap-orange);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 93, 0, 0.16);
}

.ap-form-method {
	border: 0;
	padding: 0;
	margin: 0;
}

.ap-form-method div,
.ap-form-options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.ap-form-method label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--ap-sans);
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 400;
	margin: 0;
}

.ap-form-method input { accent-color: var(--ap-orange); }

.ap-contact-form button[type="submit"] {
	background: var(--ap-orange);
	color: var(--ap-white);
	border: none;
	border-radius: 0;
	padding: 18px 34px;
	font-family: var(--ap-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.ap-contact-form button[type="submit"]:hover {
	background: var(--ap-orange-hover);
	transform: translateX(4px);
	box-shadow: -4px 0 0 var(--ap-ink);
}

.ap-form-note {
	font-family: var(--ap-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	color: var(--ap-muted);
}

.ap-form-submit {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin: 6px 0 0;
}

.repraesent-response-output { margin-top: 0.5rem; }
.repraesent-response-output.success { color: #14532d; }
.repraesent-response-output.error { color: #9b1c1c; }

/* -------------------------------------------------------------------------- */
/* Inner pages / 404                                                          */
/* -------------------------------------------------------------------------- */

.cl-not-found,
.archive-header,
.search-result {
	max-width: var(--ap-max);
	margin-inline: auto;
	padding: 4rem var(--ap-pad);
}

:focus-visible {
	outline: 2px solid var(--ap-orange);
	outline-offset: 3px;
}

/* -------------------------------------------------------------------------- */
/* Motion — CSS only, front-end chrome only (not the block editor canvas)     */
/* -------------------------------------------------------------------------- */

@keyframes ap-header-in {
	from { transform: translateY(-12px); opacity: 0; }
	to { transform: none; opacity: 1; }
}

@keyframes ap-rule {
	0% { transform: scaleX(0); opacity: 1; }
	65% { transform: scaleX(1); opacity: 1; }
	100% { transform: scaleX(1); opacity: 0; }
}

@keyframes ap-crescent {
	from { transform: rotate(-28deg); opacity: 0; }
	to { transform: none; opacity: 1; }
}

@keyframes ap-threshold {
	from {
		opacity: 0;
		transform: translateY(16px);
		clip-path: inset(0 42% 0 0);
	}
	to {
		opacity: 1;
		transform: none;
		clip-path: inset(0 0 0 0);
	}
}

@keyframes ap-photo-settle {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

@keyframes ap-reveal {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes ap-kicker {
	from { letter-spacing: 0.42em; opacity: 0; }
	to { letter-spacing: 0.22em; opacity: 1; }
}

.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--ap-orange);
	transform: scaleX(0);
	transform-origin: left center;
	pointer-events: none;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	box-shadow: 0 10px 28px rgba(0, 2, 9, 0.08);
	opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
	.site-header {
		animation: ap-header-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
	}

	.site-header::after {
		animation: ap-rule 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
	}

	.site-header .site-logo__crescent {
		animation: ap-crescent 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards;
	}

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *,
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *,
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *,
	.site-main .ap-hero .rb-block-column:first-child > *,
	.site-main .ap-hero .rb-block-column:first-child > * {
		animation: ap-threshold 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
	}

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(1),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(1),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(1),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(1) {
		animation-name: ap-kicker;
		animation-duration: 0.7s;
		animation-delay: 0.08s;
	}

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(2),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(2),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(2),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(2) { animation-delay: 0.16s; }

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(3),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(3),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(3),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(3) { animation-delay: 0.24s; }

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(4),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(4),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(4),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(4) { animation-delay: 0.32s; }

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(5),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(5),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(5),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(5) { animation-delay: 0.4s; }

	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(n+6),
	.site-main .entry-content > .rb-block-columns:first-child > .rb-block-column:first-child > *:nth-child(n+6),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(n+6),
	.site-main .ap-hero .rb-block-column:first-child > *:nth-child(n+6) { animation-delay: 0.48s; }

	.site-main .entry-content > .rb-block-columns:first-child .rb-block-cover__image-background,
	.site-main .entry-content > .rb-block-columns:first-child .rb-block-cover__image-background,
	.site-main .entry-content > .rb-block-columns:first-child .rb-block-cover__image-background,
	.site-main .ap-hero .rb-block-cover__image-background,
	.site-main .ap-hero .rb-block-cover__image-background {
		animation: ap-photo-settle 1.35s cubic-bezier(0.16, 1, 0.3, 1) backwards;
	}

	.mobile-nav.active .mobile-menu-items li {
		animation: ap-reveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
	}

	.mobile-nav.active .mobile-menu-items li:nth-child(1) { animation-delay: 0.06s; }
	.mobile-nav.active .mobile-menu-items li:nth-child(2) { animation-delay: 0.12s; }
	.mobile-nav.active .mobile-menu-items li:nth-child(3) { animation-delay: 0.18s; }
	.mobile-nav.active .mobile-menu-items li:nth-child(4) { animation-delay: 0.24s; }
	.mobile-nav.active .mobile-menu-items li:nth-child(5) { animation-delay: 0.3s; }
	.mobile-nav.active .mobile-menu-items li:nth-child(n+6) { animation-delay: 0.36s; }

	.mobile-nav.active .mobile-nav-cta {
		animation: ap-reveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
	}
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.site-main .entry-content > .rb-block-group:not(.ap-hero),
		.site-main .entry-content > .rb-block-group:not(.ap-hero) {
			animation: ap-reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 42%;
		}

		.site-footer {
			animation: ap-reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 50%;
		}
	}
}

@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.site-header::before {
			animation: ap-header-depth linear both;
			animation-timeline: scroll();
			animation-range: 0 5rem;
		}
	}
}

@keyframes ap-header-depth {
	from { opacity: 0; }
	to { opacity: 1; }
}

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

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
