:root {
	--ap-bg: #1e1e1e;
	--ap-bg-soft: #1e1e1e;
	--ap-surface: rgba(30, 30, 30, 0.9);
	--ap-surface-strong: #1e1e1e;
	--ap-border: rgba(255, 255, 255, 0.1);
	--ap-text: #eef4fb;
	--ap-text-soft: #aebccc;
	--ap-primary: #caa56a;
	--ap-primary-strong: #efd0a0;
	--ap-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	--ap-radius: 24px;
	--ap-shell: 1240px;
	--ap-shell-narrow: 860px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Manrope", sans-serif;
	background: var(--ap-bg);
	color: var(--ap-text);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
	margin: 0 0 16px;
	line-height: 1.05;
	font-weight: 700;
}

h1,
h2 {
	font-family: "Cormorant Garamond", serif;
	letter-spacing: -0.03em;
}

p {
	margin: 0 0 18px;
}

.site-shell {
	width: min(calc(100% - 32px), var(--ap-shell));
	margin: 0 auto;
}

.site-shell--narrow {
	width: min(calc(100% - 32px), var(--ap-shell-narrow));
}

.site-main {
	min-height: 60vh;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #020203;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 16px 0;
	gap: 16px;
}

.custom-logo {
	max-height: 54px;
	width: auto;
}

.site-branding__logo-link,
.site-footer__logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding__logo-image {
	max-height: 46px;
	width: auto;
}

.site-header__menu {
	justify-self: start;
}

.site-branding {
	justify-self: center;
}

.site-header__spacer {
	justify-self: end;
	width: 24px;
	height: 24px;
}

.site-branding__text {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.site-nav__menu,
.site-nav__menu a,
.site-footer__social a,
.site-footer__bottom a {
	color: var(--ap-text-soft);
	transition: color 0.25s ease;
}

.site-nav__menu a:hover,
.site-footer__social a:hover,
.site-footer__bottom a:hover {
	color: var(--ap-text);
}

.page-section {
	padding: 96px 0;
}

.page-section--muted {
	background: var(--ap-bg);
}

.section-kicker,
.pac-card__eyebrow,
.generic-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ap-primary);
}

.section-kicker::before,
.pac-card__eyebrow::before,
.generic-card__eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.hero-home {
	padding: 72px 0 40px;
}

.hero-home__grid,
.internal-hero__grid,
.split-section,
.content-grid,
.hero-home__content h1,
.internal-hero h1,
.archive-hero h1,
.page-hero h1 {
	font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-home__summary,
.internal-hero__summary,
.archive-hero p,
.pac-showcase__description {
	font-size: 1.08rem;
	color: var(--ap-text-soft);
	max-width: 680px;
}

.hero-home__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-home__panel {
	display: grid;
	gap: 20px;
}

.hero-home__card,
.benefits-card,
.generic-card,
.cta-band__inner,
.hero-home__card--accent {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--ap-border);
	border-radius: var(--ap-radius);
	box-shadow: var(--ap-shadow);
}

.hero-home__card,
.benefits-card {
	padding: 28px;
}

.hero-home__metric {
	font-size: 0.9rem;
	color: var(--ap-primary);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hero-home__card--accent {
	background: linear-gradient(160deg, rgba(202, 165, 106, 0.22), rgba(17, 31, 52, 0.92));
}

.pac-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-strong));
	color: #091321;
	font-weight: 800;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pac-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(202, 165, 106, 0.22);
}

.pac-button--ghost {
	background: transparent;
	color: var(--ap-text);
	border-color: rgba(202, 165, 106, 0.4);
}

.pac-showcase__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 20px;
}

.pac-showcase__title {
	font-size: 2rem;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.pac-showcase__nav {
	display: flex;
	gap: 6px;
}

.pac-showcase__arrow {
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ap-text);
	cursor: pointer;
	font-size: 1.45rem;
	line-height: 1;
	opacity: 0.9;
}

.pac-showcase__arrow:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.pac-showcase__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.pac-filter {
	padding: 9px 22px;
	border-radius: 10px;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	background: transparent;
	color: rgba(255, 255, 255, 0.92);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pac-filter.is-active {
	color: #1d1d1d;
	background: #f2efe8;
	border-color: #f2efe8;
}

.pac-showcase__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(320px, 320px);
	gap: 18px;
	overflow-x: auto;
	padding-bottom: 0;
	background: transparent;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pac-showcase__track::-webkit-scrollbar {
	display: none;
}

.pac-showcase__track::-webkit-scrollbar-thumb {
	background: rgba(202, 165, 106, 0.4);
	border-radius: 999px;
}

.pac-card {
	scroll-snap-align: start;
	overflow: hidden;
	position: relative;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.pac-card.is-hidden {
	display: none;
}

.pac-card__media,
.generic-card__media,
.internal-hero__media {
	position: relative;
	overflow: hidden;
}

.pac-card__media img,
.generic-card__media img,
.internal-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pac-card__media img {
	filter: grayscale(1);
	transition: filter 0.35s ease, transform 0.35s ease;
}

.pac-card:hover .pac-card__media img,
.pac-card:focus-within .pac-card__media img {
	filter: grayscale(0);
	transform: scale(1.02);
}

.pac-card__media {
	aspect-ratio: 5 / 3;
	border-radius: 0;
	background: #020203;
}

.pac-card__placeholder,
.internal-hero__placeholder {
	min-height: 100%;
	background: linear-gradient(135deg, rgba(202, 165, 106, 0.28), rgba(17, 31, 52, 0.9));
}

.pac-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 12, 18, 0.04) 0%, rgba(8, 12, 18, 0.18) 36%, rgba(8, 12, 18, 0.72) 74%, rgba(4, 7, 12, 0.92) 100%);
}

.pac-card__content,
.generic-card__content {
	padding: 24px;
}

.pac-card__content {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 8px;
	text-align: left;
	padding: 22px 20px 18px;
}

.pac-card__eyebrow {
	display: none;
}

.pac-card__title,
.generic-card h2 {
	font-size: 2rem;
}

.pac-card__title {
	margin: 0;
	max-width: 80%;
	font-family: "Manrope", sans-serif;
	font-size: 1.22rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: none;
	line-height: 1.15;
	text-wrap: pretty;
	color: #fff;
}

.pac-card__summary,
.generic-card p,
.content-entry,
.split-section p {
	color: var(--ap-text-soft);
}

.pac-card__summary {
	display: none;
}

.pac-card__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #fff;
	font-size: 0.98rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.pac-card__link span {
	font-size: 1.2rem;
	line-height: 1;
}

.internal-hero {
	padding: 48px 0 24px;
}

.internal-hero__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--ap-radius);
	border: 1px solid var(--ap-border);
}

.content-entry {
	font-size: 1.02rem;
}

.post-single__header {
	padding-top: 0;
}

.post-single__meta {
	color: var(--ap-text-soft);
	font-size: 0.95rem;
}

.post-single__media {
	margin-bottom: 28px;
	overflow: hidden;
	border: 1px solid var(--ap-border);
	border-radius: var(--ap-radius);
	box-shadow: var(--ap-shadow);
}

.post-single__media img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}

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

.post-related {
	margin-top: 72px;
}

.post-related__header {
	margin-bottom: 28px;
}

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

.post-related__card h2 {
	font-size: 2.4rem;
}

.content-entry ul,
.content-entry ol {
	padding-left: 20px;
}

.benefits-list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.benefits-list li {
	display: flex;
	align-items: start;
	gap: 12px;
	padding: 0 0 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.benefits-list li::before {
	content: "";
	width: 10px;
	height: 10px;
	margin-top: 8px;
	border-radius: 999px;
	background: var(--ap-primary);
	flex: 0 0 auto;
}

.cta-band__inner {
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.generic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.generic-card {
	overflow: hidden;
}

.generic-card--blog {
	border-radius: 18px;
}

.generic-card--blog.is-hidden {
	display: none;
}

.generic-card__link {
	display: block;
	height: 100%;
}

.generic-card__link--blog {
	display: flex;
	flex-direction: column;
}

.generic-card__media {
	aspect-ratio: 16 / 10;
}

.blog-archive__filters {
	margin-bottom: 28px;
}

.blog-archive__grid {
	align-items: stretch;
}

.blog-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.blog-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--ap-primary-strong);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.blog-card__cta {
	margin-top: 10px;
	padding: 12px 20px;
}

.archive-hero,
.page-hero--simple {
	padding-bottom: 24px;
}

.pagination-wrap {
	margin-top: 32px;
}

.split-section {
	align-items: start;
}

.site-footer {
	padding: 86px 0 18px;
	background: var(--ap-bg);
	border-top: 0;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 28px;
}

.site-footer__logo .custom-logo {
	max-height: 46px;
}

.site-footer__logo-image {
	max-height: 46px;
	width: auto;
}

.site-footer__brand-text {
	font-family: "Montserrat", sans-serif;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.site-footer__tagline p {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #ffffff;
}

.site-footer__social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 10px 0 30px;
	padding: 0;
	list-style: none;
}

.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #d8d2b6;
	border: 0;
}

.site-footer__social svg {
	width: 20px;
	height: 20px;
	fill: #ffffff;
}

.site-footer__bottom {
	width: 100%;
	max-width: none;
	margin-top: 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	font-size: 0.88rem;
	color: #ffffff;
}

.site-footer__bottom p {
	margin: 0;
	text-align: center;
	line-height: 1.6;
}

/* Footer legacy Elementor markup fallback (blog/posts/pages rendered by theme). */
.site-footer--elementor .elementor-element-7659e3ad {
	padding: 64px 16px 24px;
	background: var(--ap-bg);
}

.site-footer--elementor .elementor-element-7659e3ad > .e-con-inner {
	width: min(calc(100% - 32px), var(--ap-shell));
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.site-footer--elementor .elementor-widget-image img {
	width: auto;
	max-width: min(300px, 70vw);
	height: auto;
}

.site-footer--elementor .elementor-social-icons-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.site-footer--elementor .elementor-grid-item {
	display: inline-flex;
}

.site-footer--elementor .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #d8d2b6;
	color: #1e1f26;
}

.site-footer--elementor .elementor-icon .e-font-icon-svg {
	width: 20px;
	height: 20px;
	display: block;
	flex: 0 0 20px;
}

.site-footer--elementor .elementor-icon .e-font-icon-svg path {
	fill: currentColor;
}

.site-footer--elementor .elementor-widget-text-editor p {
	margin: 10px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.88rem;
	line-height: 1.6;
	text-align: center;
	color: #ffffff;
}

.site-footer--elementor .elementor-widget-text-editor a {
	color: inherit;
}

@media (max-width: 960px) {
	.hero-home__grid,
	.internal-hero__grid,
	.split-section,
	.content-grid,
	.generic-grid,
	.post-related__grid {
		grid-template-columns: 1fr;
	}

	.cta-band__inner,
	.pac-showcase__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__social {
		gap: 12px 18px;
	}
}

@media (max-width: 640px) {
	.page-section {
		padding: 72px 0;
	}

	.site-header__inner {
		grid-template-columns: auto 1fr auto;
	}

	.site-branding {
		justify-self: center;
	}

	.hero-home__content h1,
	.internal-hero h1,
	.archive-hero h1,
	.page-hero h1 {
		font-size: 2.9rem;
	}

	.pac-showcase__track {
		grid-auto-columns: minmax(280px, 82vw);
	}

	.hero-home {
		padding-top: 40px;
	}
}
