/*!
 * XYZ Apparel Network - main stylesheet
 * Where Fashion Meets Operational Excellence
 * Mobile-first. Custom properties, CSS grid, no framework dependency.
 */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--xyz-navy: #1b2a4a;
	--xyz-navy-dark: #111c33;
	--xyz-slate: #4a5568;
	--xyz-gold: #c9a96e;
	--xyz-gold-dark: #a98a4e;
	--xyz-bg: #f8f9fa;
	--xyz-surface: #ffffff;
	--xyz-text: #2d3748;
	--xyz-muted: #718096;
	--xyz-border: #e2e8f0;
	--xyz-line: rgba(201, 169, 110, 0.35);

	--xyz-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--xyz-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;

	--xyz-radius-sm: 2px;
	--xyz-radius: 4px;
	--xyz-radius-lg: 8px;

	--xyz-shadow-sm: 0 1px 2px rgba(17, 28, 51, 0.06);
	--xyz-shadow: 0 12px 32px -18px rgba(17, 28, 51, 0.35);
	--xyz-shadow-lg: 0 28px 60px -30px rgba(17, 28, 51, 0.45);

	--xyz-container: 1240px;
	--xyz-content: 760px;
	--xyz-gutter: clamp(1.25rem, 4vw, 2.5rem);
	--xyz-section: clamp(3.5rem, 7vw, 6.5rem);
	--xyz-header-h: 84px;
	--xyz-transition: 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Base / reset
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background-color: var(--xyz-bg);
	color: var(--xyz-text);
	font-family: var(--xyz-font-body);
	font-size: 1rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.admin-bar {
	--xyz-header-h: 116px;
}

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

img {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--xyz-font-heading);
	color: var(--xyz-navy);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.1;
}

h2 {
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
}

h3 {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

h4 {
	font-family: var(--xyz-font-body);
	font-size: 1.25rem;
	font-weight: 700;
}

p {
	margin: 0 0 1.25em;
}

a {
	color: var(--xyz-navy);
	text-decoration: none;
	transition: color var(--xyz-transition);
}

a:hover,
a:focus {
	color: var(--xyz-gold-dark);
}

ul,
ol {
	margin: 0 0 1.25em;
	padding-left: 1.25em;
}

blockquote {
	margin: 1.5rem 0;
	padding-left: 1.5rem;
	border-left: 4px solid var(--xyz-gold);
	font-family: var(--xyz-font-heading);
	font-size: 1.25rem;
	font-style: italic;
	color: var(--xyz-slate);
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

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

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

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--xyz-container);
	margin-inline: auto;
	padding-inline: var(--xyz-gutter);
}

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

.section--tint {
	background-color: var(--xyz-surface);
	background-image: linear-gradient(180deg, #fff 0%, #f4f6f9 100%);
}

.section--navy {
	background-color: var(--xyz-navy);
	color: rgba(255, 255, 255, 0.86);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
	color: #fff;
}

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

.layout__main {
	min-width: 0;
}

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

.section-empty,
.filter-empty {
	padding: 2rem;
	border: 1px dashed var(--xyz-border);
	border-radius: var(--xyz-radius);
	color: var(--xyz-muted);
	text-align: center;
}

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

.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--xyz-navy);
	color: #fff;
	border-radius: 0 0 var(--xyz-radius) var(--xyz-radius);
}

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

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.95em 2em;
	border: 2px solid transparent;
	border-radius: var(--xyz-radius-sm);
	background: var(--xyz-navy);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background var(--xyz-transition), color var(--xyz-transition), border-color var(--xyz-transition), transform var(--xyz-transition);
}

.btn:hover,
.btn:focus {
	color: #fff;
	transform: translateY(-2px);
}

.btn .icon {
	width: 1.05em;
	height: 1.05em;
}

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

.btn--primary:hover,
.btn--primary:focus {
	background: var(--xyz-navy-dark);
	color: #fff;
}

.btn--accent {
	background: var(--xyz-gold);
	color: var(--xyz-navy-dark);
}

.btn--accent:hover,
.btn--accent:focus {
	background: var(--xyz-gold-dark);
	color: #fff;
}

.btn--outline {
	background: transparent;
	border-color: currentColor;
	color: var(--xyz-navy);
}

.btn--outline:hover,
.btn--outline:focus {
	background: var(--xyz-navy);
	border-color: var(--xyz-navy);
	color: #fff;
}

.section--navy .btn--outline,
.hero .btn--outline {
	color: #fff;
}

.btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.65);
	color: #fff;
	backdrop-filter: blur(4px);
}

.btn--ghost:hover,
.btn--ghost:focus {
	background: #fff;
	border-color: #fff;
	color: var(--xyz-navy);
}

.btn--link {
	padding: 0;
	background: none;
	border: 0;
	color: var(--xyz-navy);
	letter-spacing: 0.04em;
}

.btn--link:hover,
.btn--link:focus {
	background: none;
	color: var(--xyz-gold-dark);
	transform: none;
}

.btn--link .icon {
	transition: transform var(--xyz-transition);
}

.btn--link:hover .icon {
	transform: translateX(4px);
}

.btn--block {
	width: 100%;
	justify-content: center;
}

.section--navy .btn--link,
.leadership .btn--link {
	color: #fff;
}

.check-list {
	display: grid;
	gap: 0.65rem;
	margin: 1.5rem 0;
	padding: 0;
	list-style: none;
}

.check-list li {
	position: relative;
	padding-left: 1.9rem;
}

.check-list li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 0;
	width: 1.1rem;
	height: 0.62rem;
	border-left: 2px solid var(--xyz-gold);
	border-bottom: 2px solid var(--xyz-gold);
	transform: rotate(-45deg);
}

.check-list--invert li {
	color: rgba(255, 255, 255, 0.88);
}

.textile-pattern,
.page-hero__pattern,
.cta-band__pattern,
.brand-hero__pattern,
.site-footer__pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
	background-repeat: repeat;
}

.textile-pattern--herringbone {
	opacity: 0.28;
	background-image: url("../patterns/herringbone.svg");
	background-size: 48px 48px;
}

.textile-pattern--twill {
	opacity: 0.22;
	background-image: url("../patterns/twill.svg");
	background-size: 40px 40px;
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	border-bottom: 1px solid var(--xyz-border);
	transition: box-shadow var(--xyz-transition), transform var(--xyz-transition);
}

/* Frosted-glass backdrop lives on a pseudo-element so the header never becomes
   a containing block for the fixed navigation (desktop sidebar + mobile drawer). */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: saturate(1.1) blur(10px);
	backdrop-filter: saturate(1.1) blur(10px);
	pointer-events: none;
}

.site-header.is-stuck {
	box-shadow: var(--xyz-shadow-sm);
}

.admin-bar .site-header {
	top: 32px;
}

.header__bar {
	position: relative;
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: var(--xyz-header-h);
}

.site-branding {
	flex: 0 0 auto;
}

.site-branding__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.site-branding__mark svg {
	display: block;
	border-radius: 10px;
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.site-branding__title {
	font-family: var(--xyz-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--xyz-navy);
	letter-spacing: 0.01em;
}

.site-branding__tagline {
	font-size: 0.6875rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--xyz-gold-dark);
}

.main-navigation {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu-item {
	position: relative;
}

.menu-link {
	display: inline-flex;
	align-items: center;
	padding: 0.6rem 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--xyz-navy);
	border-radius: var(--xyz-radius-sm);
}

.menu-link:hover,
.menu-link:focus {
	color: var(--xyz-gold-dark);
	background: rgba(201, 169, 110, 0.1);
}

.menu-item--mega {
	position: static;
	display: flex;
	align-items: center;
}

.mega-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--xyz-navy);
}

.mega-toggle__chevron {
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform var(--xyz-transition);
}

.menu-item--mega.is-open > .mega-toggle .mega-toggle__chevron,
.menu-item--mega:hover > .mega-toggle .mega-toggle__chevron {
	transform: rotate(-135deg) translateY(-2px);
}

.mega-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 850;
	background: var(--xyz-surface);
	border-top: 3px solid var(--xyz-gold);
	border-bottom: 1px solid var(--xyz-border);
	box-shadow: var(--xyz-shadow-lg);
}

.mega-panel[hidden] {
	display: none;
}

.mega__grid {
	display: grid;
	gap: 2.5rem;
	padding: 2.5rem 0;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

.mega__grid--brands {
	grid-template-columns: 220px minmax(0, 1fr) 300px;
}

.mega__grid--services {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.mega__col {
	min-width: 0;
}

.mega__label {
	margin: 0 0 1rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--xyz-gold-dark);
}

.mega__list,
.mega__brands,
.mega__services {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.mega__list a {
	display: block;
	padding: 0.35rem 0;
	font-weight: 500;
	color: var(--xyz-text);
}

.mega__list a:hover {
	color: var(--xyz-navy);
	padding-left: 0.4rem;
}

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

.mega__brand a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	padding: 0.75rem;
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
	background: #fff;
	transition: border-color var(--xyz-transition), transform var(--xyz-transition);
}

.mega__brand a:hover {
	border-color: var(--xyz-gold);
	transform: translateY(-2px);
}

.mega__brand-logo {
	max-height: 44px;
	width: auto;
}

.mega__brand-name {
	font-weight: 600;
	color: var(--xyz-navy);
	text-align: center;
}

.mega__services {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 2rem;
}

.mega__service a {
	display: flex;
	gap: 0.75rem;
	padding: 0.6rem 0;
}

.mega__service-icon {
	color: var(--xyz-gold-dark);
}

.mega__service-icon .icon {
	width: 26px;
	height: 26px;
}

.mega__service-title {
	display: block;
	font-weight: 600;
	color: var(--xyz-navy);
}

.mega__service-summary {
	display: block;
	font-size: 0.8125rem;
	color: var(--xyz-muted);
}

.mega__promo {
	padding: 1.5rem;
	background: var(--xyz-bg);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
}

.mega__promo-text {
	font-size: 0.9375rem;
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.header__search-toggle,
.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.55rem;
	border: 1px solid transparent;
	border-radius: var(--xyz-radius-sm);
	background: transparent;
	cursor: pointer;
	color: var(--xyz-navy);
}

.header__search-toggle:hover,
.menu-toggle:hover {
	background: rgba(201, 169, 110, 0.14);
}

.header__cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 0.55rem;
	color: var(--xyz-navy);
}

.header__cart-count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 1.15rem;
	padding: 0 0.25rem;
	border-radius: 999px;
	background: var(--xyz-gold);
	color: var(--xyz-navy-dark);
	font-size: 0.6875rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.15rem;
}

.header__search {
	border-top: 1px solid var(--xyz-border);
	background: var(--xyz-surface);
	padding-block: 1.5rem;
}

.menu-toggle {
	display: none;
}

.menu-toggle__bars {
	display: grid;
	gap: 4px;
	width: 20px;
}

.menu-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform var(--xyz-transition), opacity var(--xyz-transition);
}

.menu-toggle__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(600px, 82vh, 860px);
	overflow: hidden;
	background: var(--xyz-navy-dark);
	color: #fff;
}

.hero__media {
	position: absolute;
	inset: 0;
}

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

.hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(17, 28, 51, 0.94) 0%, rgba(17, 28, 51, 0.72) 45%, rgba(17, 28, 51, 0.35) 100%);
}

.hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(3.5rem, 8vw, 6rem);
	max-width: 880px;
}

.hero__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--xyz-gold);
}

.hero__title {
	color: #fff;
	max-width: 18ch;
}

.hero__subtitle {
	max-width: 60ch;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 2rem 0 3rem;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stat {
	display: flex;
	flex-direction: column-reverse;
	gap: 0.15rem;
}

.hero__stat-label {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.68);
}

.hero__stat-value {
	margin: 0;
	font-family: var(--xyz-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	color: var(--xyz-gold);
	line-height: 1;
}

/* ==========================================================================
   7. Intro / collage
   ========================================================================== */
.intro__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
}

.intro__title {
	max-width: 22ch;
}

.intro__lead {
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
	color: var(--xyz-slate);
}

.collage {
	position: relative;
	padding-bottom: 18%;
}

.collage__main {
	width: 100%;
	border-radius: var(--xyz-radius-lg);
	box-shadow: var(--xyz-shadow-lg);
	object-fit: cover;
	aspect-ratio: 9 / 11;
}

.collage__inset {
	position: absolute;
	width: 46%;
	border: 6px solid #fff;
	border-radius: var(--xyz-radius);
	box-shadow: var(--xyz-shadow);
	object-fit: cover;
	aspect-ratio: 3 / 2;
}

.collage__inset--one {
	right: 0;
	top: 12%;
}

.collage__inset--two {
	left: 0;
	bottom: 0;
}

/* ==========================================================================
   8. Section headings
   ========================================================================== */
.section-heading {
	max-width: 720px;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

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

.section-heading--split {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1.5rem;
	max-width: none;
}

.section-heading__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--xyz-gold-dark);
}

.section-heading--invert .section-heading__eyebrow {
	color: var(--xyz-gold);
}

.section-heading__title {
	margin: 0;
}

.section-heading__text {
	margin: 1rem 0 0;
	font-size: 1.0625rem;
	color: var(--xyz-muted);
}

/* ==========================================================================
   9. Brand portfolio
   ========================================================================== */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.brand-card {
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius-lg);
	overflow: hidden;
	transition: transform var(--xyz-transition), box-shadow var(--xyz-transition), border-color var(--xyz-transition);
}

.brand-card:hover,
.brand-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(201, 169, 110, 0.6);
	box-shadow: var(--xyz-shadow);
}

.brand-card[hidden] {
	display: none;
}

.brand-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
}

.brand-card__link:hover {
	color: inherit;
}

.brand-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 1.75rem;
	background: linear-gradient(150deg, #1b2a4a 0%, #111c33 100%);
}

.brand-card__logo {
	max-height: 68px;
	width: auto;
	object-fit: contain;
}

.brand-card__monogram {
	font-family: var(--xyz-font-heading);
	font-size: 3rem;
	color: var(--xyz-gold);
	line-height: 1;
}

.brand-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1 1 auto;
	padding: 1.5rem 1.5rem 0.75rem;
}

.brand-card__title {
	margin: 0;
	font-size: 1.25rem;
}

.brand-card__tagline {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.brand-card__channels {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.brand-card__channels li {
	padding: 0.2rem 0.6rem;
	border: 1px solid var(--xyz-border);
	border-radius: 999px;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--xyz-slate);
}

.brand-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--xyz-border);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--xyz-navy);
}

.brand-card__cta .icon {
	width: 1rem;
	height: 1rem;
	transition: transform var(--xyz-transition);
}

.brand-card:hover .brand-card__cta .icon {
	transform: translateX(4px);
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
	margin-bottom: 2.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--xyz-border);
}

.filter-bar__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--xyz-muted);
}

.filter-bar__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.filter-bar__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--xyz-border);
	border-radius: 999px;
	background: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--xyz-slate);
	transition: all var(--xyz-transition);
}

.filter-bar__link:hover,
.filter-bar__link.is-active {
	background: var(--xyz-navy);
	border-color: var(--xyz-navy);
	color: #fff;
}

.filter-bar__count {
	font-size: 0.6875rem;
	opacity: 0.7;
}

/* ==========================================================================
   10. Services
   ========================================================================== */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.service-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-top: 3px solid var(--xyz-gold);
	border-radius: var(--xyz-radius);
	box-shadow: var(--xyz-shadow-sm);
	transition: transform var(--xyz-transition), box-shadow var(--xyz-transition);
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--xyz-shadow);
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: var(--xyz-radius);
	background: rgba(201, 169, 110, 0.14);
	color: var(--xyz-gold-dark);
}

.service-card__icon .icon {
	width: 28px;
	height: 28px;
}

.service-card__title {
	margin: 0;
	font-size: 1.25rem;
}

.service-card__title a {
	color: inherit;
}

.service-card__summary {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.service-card__metric {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: auto 0 0;
}

.service-card__metric-value {
	font-family: var(--xyz-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--xyz-navy);
}

.service-card__metric-label {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--xyz-muted);
}

.service-card .btn--link {
	margin-top: 0.5rem;
}

/* ==========================================================================
   11. Leadership
   ========================================================================== */
.leader-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.leader-grid--wide {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.leader-card {
	overflow: hidden;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
}

.section--navy .leader-card {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.12);
}

.leader-card__image {
	width: 100%;
	aspect-ratio: 6 / 7;
	object-fit: cover;
	filter: grayscale(12%);
}

.leader-card__body {
	padding: 1.5rem;
}

.leader-card__name {
	margin: 0 0 0.15rem;
	font-size: 1.15rem;
}

.leader-card__role {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--xyz-gold-dark);
}

.section--navy .leader-card__role {
	color: var(--xyz-gold);
}

.leader-card__bio {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.section--navy .leader-card__bio {
	color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   12. CTA band
   ========================================================================== */
.cta-band {
	position: relative;
	overflow: hidden;
	background: var(--xyz-navy);
	color: rgba(255, 255, 255, 0.88);
}

.cta-band__pattern {
	background-image: url("../patterns/herringbone.svg");
	background-size: 48px 48px;
	opacity: 0.12;
}

.cta-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2rem;
	align-items: center;
	padding-block: var(--xyz-section);
}

.cta-band__title {
	color: #fff;
	max-width: 24ch;
}

.cta-band__text {
	max-width: 60ch;
	margin: 0;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
	position: relative;
	overflow: hidden;
	background: var(--xyz-navy-dark);
	color: rgba(255, 255, 255, 0.76);
}

.site-footer__pattern {
	background-image: url("../patterns/twill.svg");
	background-size: 40px 40px;
	opacity: 0.08;
}

.site-footer .container {
	position: relative;
	z-index: 1;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-block: clamp(3rem, 6vw, 4.5rem);
}

.site-footer__logo img {
	max-width: 220px;
	height: auto;
}

.site-footer__intro {
	max-width: 38ch;
	margin-top: 1.25rem;
	font-size: 0.9375rem;
}

.site-footer .widget__title {
	color: #fff;
}

.footer-menu,
.legal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li {
	margin-bottom: 0.6rem;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9375rem;
}

.footer-menu a:hover {
	color: var(--xyz-gold);
}

.site-footer__address {
	font-style: normal;
	font-size: 0.9375rem;
	line-height: 1.8;
}

.site-footer__address a {
	color: rgba(255, 255, 255, 0.78);
}

.site-footer__address a:hover {
	color: var(--xyz-gold);
}

.social-links {
	display: flex;
	gap: 0.6rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.83);
	transition: all var(--xyz-transition);
}

.social-links a:hover {
	background: var(--xyz-gold);
	border-color: var(--xyz-gold);
	color: var(--xyz-navy-dark);
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-block: 1.5rem;
}

.site-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
}

.legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.legal-menu a {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}

.legal-menu a:hover {
	color: var(--xyz-gold);
}

/* ==========================================================================
   14. Page hero, breadcrumbs, anchor nav
   ========================================================================== */
.page-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--xyz-navy) 0%, var(--xyz-navy-dark) 100%);
	color: rgba(255, 255, 255, 0.86);
}

.page-hero__pattern {
	background-image: url("../patterns/herringbone.svg");
	background-size: 48px 48px;
	opacity: 0.14;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(3rem, 7vw, 5.5rem);
	max-width: 900px;
}

.page-hero__eyebrow {
	margin: 0 0 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--xyz-gold);
}

.page-hero__title {
	margin: 0;
	color: #fff;
}

.page-hero__subtitle {
	max-width: 62ch;
	margin: 1.25rem 0 0;
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
	margin: 0 0 1.5rem;
	font-size: 0.8125rem;
	color: var(--xyz-muted);
}

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

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

.breadcrumbs a:hover {
	color: var(--xyz-navy);
}

.breadcrumb__sep {
	margin-inline: 0.35rem;
	opacity: 0.6;
}

.page-hero .breadcrumbs,
.article-hero .breadcrumbs,
.brand-hero .breadcrumbs,
.service-hero .breadcrumbs {
	color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumbs a,
.article-hero .breadcrumbs a,
.brand-hero .breadcrumbs a,
.service-hero .breadcrumbs a {
	color: rgba(255, 255, 255, 0.82);
}

.page-hero .breadcrumbs a:hover,
.article-hero .breadcrumbs a:hover,
.brand-hero .breadcrumbs a:hover,
.service-hero .breadcrumbs a:hover {
	color: var(--xyz-gold);
}

.anchor-nav {
	position: sticky;
	top: var(--xyz-header-h);
	z-index: 500;
	background: var(--xyz-surface);
	border-bottom: 1px solid var(--xyz-border);
}

.admin-bar .anchor-nav {
	top: calc(var(--xyz-header-h) + 32px);
}

.anchor-nav ul {
	display: flex;
	flex-wrap: nowrap;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.anchor-nav a {
	display: inline-block;
	padding: 1rem 0;
	border-bottom: 2px solid transparent;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--xyz-slate);
	white-space: nowrap;
}

.anchor-nav a:hover {
	border-bottom-color: var(--xyz-gold);
	color: var(--xyz-navy);
}

/* ==========================================================================
   15. Split, timeline, pillars, channels, process, stats
   ========================================================================== */
.split {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.split__media img {
	width: 100%;
	border-radius: var(--xyz-radius-lg);
	box-shadow: var(--xyz-shadow);
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.split__content h2 {
	max-width: 24ch;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin: clamp(3rem, 6vw, 4.5rem) 0 0;
	padding: 0;
	list-style: none;
	counter-reset: timeline;
}

.timeline__item {
	position: relative;
	padding-top: 1.75rem;
	border-top: 2px solid var(--xyz-border);
}

.timeline__item::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--xyz-gold);
}

.timeline__year {
	display: block;
	font-family: var(--xyz-font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--xyz-navy);
}

.timeline__title {
	margin: 0.35rem 0 0.5rem;
	font-size: 1.05rem;
}

.timeline__text {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.pillar-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.pillar-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
	box-shadow: var(--xyz-shadow-sm);
}

.pillar-card h3 {
	margin-top: 1rem;
}

.channel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

.channel-card {
	padding: 1.75rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--xyz-radius);
}

.channel-card .service-card__icon {
	background: rgba(201, 169, 110, 0.2);
	color: var(--xyz-gold);
}

.channel-card p {
	margin: 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.76);
}

.process {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: process;
}

.process__step {
	position: relative;
	padding: 1.75rem 1.5rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
}

.process__number {
	display: block;
	font-family: var(--xyz-font-heading);
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--xyz-gold);
	line-height: 1;
	margin-bottom: 0.75rem;
}

.process__step h3 {
	font-size: 1.05rem;
}

.process__step p {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.stat-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--xyz-navy);
	border-radius: var(--xyz-radius-lg);
}

.stat-strip__item {
	text-align: center;
	padding: 0.5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-strip__item:last-child {
	border-right: 0;
}

.stat-strip dt {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.stat-strip dd {
	margin: 0.35rem 0 0;
	font-family: var(--xyz-font-heading);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	color: var(--xyz-gold);
}

/* ==========================================================================
   16. Blog / posts
   ========================================================================== */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.post-grid--cards {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius-lg);
	transition: transform var(--xyz-transition), box-shadow var(--xyz-transition);
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--xyz-shadow);
}

.post-card__media {
	overflow: hidden;
}

.post-card__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 600ms ease;
}

.post-card:hover .post-card__image {
	transform: scale(1.04);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.5rem;
}

.post-card__meta {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--xyz-muted);
}

.post-card__title {
	margin: 0;
	font-size: 1.25rem;
}

.post-card__title a {
	color: inherit;
}

.post-card__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

.post-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.post-card__link .icon {
	width: 1rem;
	height: 1rem;
	transition: transform var(--xyz-transition);
}

.post-card:hover .post-card__link .icon {
	transform: translateX(4px);
}

.article-hero {
	background: linear-gradient(135deg, var(--xyz-navy) 0%, var(--xyz-navy-dark) 100%);
	color: rgba(255, 255, 255, 0.84);
}

.article-hero__inner {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	max-width: 820px;
}

.article-hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--xyz-gold);
}

.article-hero__title {
	margin: 0;
	color: #fff;
}

.article-hero__dek {
	margin: 1rem 0 0;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.82);
}

.article-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	margin-top: 1.5rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}

.article-hero__meta a {
	color: var(--xyz-gold);
}

.entry__media {
	margin: 0;
}

.entry__media--wide {
	max-width: 1400px;
	margin-inline: auto;
}

.entry__image {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.entry__content {
	max-width: var(--xyz-content);
	font-size: 1.0625rem;
}

.entry__content > * {
	margin-bottom: 1.35rem;
}

.entry__content h2 {
	margin-top: 2.5rem;
}

.entry__content h3 {
	margin-top: 2rem;
}

.entry__content ul,
.entry__content ol {
	padding-left: 1.5rem;
}

.entry__content li {
	margin-bottom: 0.5rem;
}

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

.entry__footer {
	max-width: var(--xyz-content);
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--xyz-border);
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.tag-list a {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--xyz-border);
	border-radius: 999px;
	font-size: 0.75rem;
	color: var(--xyz-slate);
}

.post-navigation {
	display: grid;
	gap: 1rem;
}

.post-navigation .nav-links {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.25rem;
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
	color: var(--xyz-text);
	transition: border-color var(--xyz-transition);
}

.post-navigation a:hover {
	border-color: var(--xyz-gold);
}

.post-navigation__label {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--xyz-muted);
}

.post-navigation__title {
	font-family: var(--xyz-font-heading);
	font-size: 1.05rem;
	color: var(--xyz-navy);
}

.pagination,
.navigation.pagination {
	margin-top: 3rem;
}

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

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius-sm);
	background: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--xyz-slate);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--xyz-navy);
	border-color: var(--xyz-navy);
	color: #fff;
}

/* ==========================================================================
   17. Sidebar / widgets
   ========================================================================== */
.widget-area,
.sidebar {
	display: grid;
	gap: 2rem;
	align-content: start;
}

.widget {
	padding: 1.5rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
}

.widget__title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-family: var(--xyz-font-body);
	font-weight: 700;
	letter-spacing: 0.02em;
}

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

.widget li {
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--xyz-border);
	font-size: 0.9375rem;
}

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

.widget_calendar table {
	width: 100%;
}

/* ==========================================================================
   18. Contact
   ========================================================================== */
.contact-layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-layout__form h2 {
	margin-bottom: 1.5rem;
}

.contact-layout__details {
	display: grid;
	gap: 1.5rem;
	align-content: start;
}

.contact-card {
	padding: 1.75rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-left: 3px solid var(--xyz-gold);
	border-radius: var(--xyz-radius);
}

.contact-card__title {
	margin: 1rem 0 0.5rem;
	font-size: 1.15rem;
}

.contact-card address {
	font-style: normal;
	line-height: 1.8;
}

.contact-card__meta {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: var(--xyz-muted);
}

.division-contacts {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.85rem;
}

.division-contacts li {
	font-size: 0.9375rem;
	line-height: 1.5;
}

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

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

.form-field {
	margin: 0;
}

.form-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--xyz-slate);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius-sm);
	color: var(--xyz-text);
	transition: border-color var(--xyz-transition), box-shadow var(--xyz-transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--xyz-gold);
	box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.22);
	outline: none;
}

.form-field--hp {
	position: absolute;
	left: -9999px;
}

.required {
	color: #c53030;
}

.form-consent {
	font-size: 0.875rem;
	color: var(--xyz-slate);
}

.form-consent label {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.form-feedback {
	font-size: 0.9375rem;
}

.form-feedback.is-error {
	color: #c53030;
}

.form-feedback.is-success {
	color: #2f855a;
}

.notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-radius: var(--xyz-radius);
	border-left: 4px solid;
	font-size: 0.9375rem;
}

.notice--success {
	background: #f0fff4;
	border-color: #38a169;
	color: #22543d;
}

.notice--error {
	background: #fff5f5;
	border-color: #e53e3e;
	color: #742a2a;
}

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

.map-section .section-heading__title {
	margin-bottom: 2rem;
}

.map-section__embed {
	margin-top: 1rem;
	line-height: 0;
}

.map-section__placeholder {
	position: relative;
}

.map-section__placeholder img {
	width: 100%;
}

.map-section__note {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	width: max-content;
	max-width: 90%;
	padding: 0.6rem 1rem;
	background: rgba(17, 28, 51, 0.85);
	color: #fff;
	font-size: 0.8125rem;
	border-radius: var(--xyz-radius);
}

/* ==========================================================================
   19. Brand single
   ========================================================================== */
.brand-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--xyz-navy) 0%, var(--xyz-navy-dark) 100%);
	color: rgba(255, 255, 255, 0.84);
	text-align: center;
}

.brand-hero__pattern {
	background-image: url("../patterns/twill.svg");
	background-size: 40px 40px;
	opacity: 0.12;
}

.brand-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(3rem, 6vw, 5rem);
	max-width: 760px;
}

.brand-hero .breadcrumbs {
	justify-content: center;
}

.brand-hero .breadcrumbs ol {
	justify-content: center;
}

.brand-hero__logo {
	margin: 0 auto 1.5rem;
	max-width: 280px;
}

.brand-hero__logo-img {
	margin-inline: auto;
	max-height: 110px;
	width: auto;
}

.brand-hero__monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	height: 96px;
	border: 1px solid rgba(201, 169, 110, 0.6);
	border-radius: 50%;
	font-family: var(--xyz-font-heading);
	font-size: 2.75rem;
	color: var(--xyz-gold);
}

.brand-hero__title {
	margin: 0;
	color: #fff;
}

.brand-hero__tagline {
	margin: 1rem 0 0;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.8);
}

.term-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.term-chip a {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border: 1px solid rgba(201, 169, 110, 0.5);
	border-radius: 999px;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--xyz-gold);
}

.term-chip a:hover {
	background: var(--xyz-gold);
	color: var(--xyz-navy-dark);
}

.brand-layout {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

.brand-facts {
	padding: 2rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
	box-shadow: var(--xyz-shadow-sm);
}

.brand-facts__title {
	margin: 0 0 1.25rem;
	font-size: 1.15rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--xyz-gold);
}

.brand-facts dl {
	margin: 0 0 1.5rem;
}

.brand-facts__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--xyz-border);
	font-size: 0.9375rem;
}

.brand-facts__row dt {
	font-weight: 600;
	color: var(--xyz-slate);
}

.brand-facts__row dd {
	margin: 0;
	text-align: right;
}

/* ==========================================================================
   20. Service single
   ========================================================================== */
.service-hero {
	background: linear-gradient(135deg, var(--xyz-navy) 0%, var(--xyz-navy-dark) 100%);
	color: rgba(255, 255, 255, 0.84);
}

.service-hero__inner {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
	max-width: 820px;
}

.service-hero .breadcrumbs a,
.service-hero .breadcrumbs {
	color: rgba(255, 255, 255, 0.75);
}

.service-hero__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1rem;
	border-radius: var(--xyz-radius);
	background: rgba(201, 169, 110, 0.18);
	color: var(--xyz-gold);
}

.service-hero__icon .icon {
	width: 30px;
	height: 30px;
}

.service-hero__title {
	margin: 0;
	color: #fff;
}

.service-hero__summary {
	margin: 1rem 0 0;
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.8);
}

.metric-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.75rem;
	margin-bottom: 2rem;
	background: var(--xyz-navy);
	border-radius: var(--xyz-radius);
	text-align: center;
}

.metric-card__value {
	font-family: var(--xyz-font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--xyz-gold);
	line-height: 1;
}

.metric-card__label {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.sidebar-cta {
	padding: 1.75rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius);
}

.sidebar-cta p {
	font-size: 0.9375rem;
	color: var(--xyz-muted);
}

/* ==========================================================================
   21. Search
   ========================================================================== */
.search-form__field {
	position: relative;
	display: flex;
	align-items: center;
	max-width: 640px;
}

.search-form__input {
	width: 100%;
	padding: 0.9rem 3.25rem 0.9rem 1.15rem;
	background: var(--xyz-surface);
	border: 1px solid var(--xyz-border);
	border-radius: var(--xyz-radius-sm);
	font-size: 1rem;
}

.search-form__input:focus {
	border-color: var(--xyz-gold);
	box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.22);
	outline: none;
}

.search-form__submit {
	position: absolute;
	right: 0.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	background: transparent;
	color: var(--xyz-navy);
	cursor: pointer;
}

.search-form__submit:hover {
	color: var(--xyz-gold-dark);
}

/* ==========================================================================
   22. 404
   ========================================================================== */
.error-404__inner {
	padding-block: var(--xyz-section);
	text-align: center;
	max-width: 720px;
}

.error-404__code {
	margin: 0;
	font-family: var(--xyz-font-heading);
	font-size: clamp(4rem, 12vw, 8rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(201, 169, 110, 0.4);
}

.error-404__title {
	margin-top: -1rem;
}

.error-404__text {
	color: var(--xyz-muted);
}

.error-404__search {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

.error-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}

.error-404__recent {
	margin-top: 3rem;
}

.link-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.5rem;
}

/* ==========================================================================
   23. Front page extras
   ========================================================================== */
.front-widgets .widget {
	background: transparent;
	border: 0;
	padding: 0;
}

.front-content {
	padding-bottom: 0;
}

/* ==========================================================================
   24. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.form-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 782px) {
	body.admin-bar {
		--xyz-header-h: 116px;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

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

	.split--reverse .split__content {
		order: 2;
	}

	.intro__grid {
		grid-template-columns: 1.05fr 0.95fr;
	}

	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
	}

	.contact-layout {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}

	.brand-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.cta-band__inner {
		grid-template-columns: minmax(0, 1.6fr) auto;
	}

	.site-footer__grid {
		grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 340px;
	}

	.site-footer__grid {
		grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
	}
}

/* Mobile navigation */
@media (max-width: 1024px) {
	.menu-toggle {
		display: inline-flex;
		order: 3;
	}

	.header__actions {
		order: 2;
	}

	.main-navigation {
		position: fixed;
		inset: var(--xyz-header-h) 0 0 0;
		z-index: 880;
		display: block;
		padding: 1.5rem var(--xyz-gutter) 4rem;
		background: var(--xyz-surface);
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform var(--xyz-transition);
		visibility: hidden;
	}

	.admin-bar .main-navigation {
		top: calc(var(--xyz-header-h) + 32px);
	}

	.main-navigation.is-open {
		transform: translateX(0);
		visibility: visible;
	}

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

	.menu-link {
		width: 100%;
		padding: 1rem 0;
		border-bottom: 1px solid var(--xyz-border);
		border-radius: 0;
		font-size: 0.9375rem;
	}

	.menu-item--mega {
		flex-wrap: wrap;
	}

	.menu-item--mega .menu-link {
		width: auto;
		flex: 1 1 auto;
		border-bottom: 0;
	}

	.mega-toggle {
		width: 3rem;
		height: auto;
		border-bottom: 1px solid var(--xyz-border);
	}

	.mega-panel {
		position: static;
		width: 100%;
		border-top: 0;
		border-bottom: 1px solid var(--xyz-border);
		box-shadow: none;
	}

	.mega__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.5rem 0;
	}

	.mega__brands {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mega__services {
		grid-template-columns: 1fr;
	}

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

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

@media (min-width: 1025px) {
	.mega-panel {
		display: none;
	}

	.menu-item--mega:hover .mega-panel,
	.menu-item--mega:focus-within .mega-panel,
	.menu-item--mega.is-open .mega-panel {
		display: block;
	}
}

/* ==========================================================================
   Left vertical navigation
   Enabled from Appearance > Customize > XYZ Apparel Options > Navigation Layout.
   Desktop only; smaller screens keep the slide-in drawer.
   ========================================================================== */
@media (min-width: 1025px) {
	body.xyz-nav-left {
		--xyz-sidebar-w: 272px;
	}

	body.xyz-nav-left .main-navigation {
		position: fixed;
		top: var(--xyz-header-h);
		left: 0;
		bottom: 0;
		width: var(--xyz-sidebar-w);
		display: block;
		justify-content: flex-start;
		padding: 1.75rem 1.25rem 3rem;
		background: var(--xyz-surface);
		border-right: 1px solid var(--xyz-border);
		overflow: visible;
	}

	body.admin-bar.xyz-nav-left .main-navigation {
		top: calc(var(--xyz-header-h) + 32px);
	}

	body.xyz-nav-left .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0.125rem;
	}

	body.xyz-nav-left .menu-link {
		width: 100%;
		padding: 0.7rem 0.85rem;
		border-radius: var(--xyz-radius-sm);
	}

	body.xyz-nav-left .menu-item--mega {
		position: relative;
		flex-wrap: wrap;
	}

	body.xyz-nav-left .menu-item--mega .menu-link--mega {
		flex: 1 1 auto;
	}

	body.xyz-nav-left .mega-toggle {
		margin-left: auto;
	}

	body.xyz-nav-left .mega-panel {
		top: 0;
		left: 100%;
		right: auto;
		width: min(760px, calc(100vw - var(--xyz-sidebar-w) - 1.5rem));
		max-height: calc(100vh - var(--xyz-header-h) - 1.5rem);
		overflow-y: auto;
		border-top: 0;
		border-left: 3px solid var(--xyz-gold);
		border-bottom: 1px solid var(--xyz-border);
		border-radius: 0 var(--xyz-radius-lg) var(--xyz-radius-lg) 0;
	}

	body.xyz-nav-left .mega-panel .container {
		padding-inline: 2rem;
	}

	body.xyz-nav-left .mega__grid {
		padding: 2rem 0;
	}

	body.xyz-nav-left .mega__grid--brands {
		grid-template-columns: minmax(0, 1fr) 260px;
	}

	body.xyz-nav-left .mega__grid--services {
		grid-template-columns: minmax(0, 1fr);
	}

	body.xyz-nav-left #content,
	body.xyz-nav-left .site-footer {
		margin-left: var(--xyz-sidebar-w);
	}

	body.xyz-nav-left .alignfull {
		width: auto;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 599px) {
	.hero__actions .btn,
	.cta-band__actions .btn {
		width: 100%;
		justify-content: center;
	}

	.stat-strip__item {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.stat-strip__item:last-child {
		border-bottom: 0;
	}

	.collage__inset {
		width: 52%;
	}
}

/* ==========================================================================
   25. Accessibility & motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ==========================================================================
   26. WordPress core alignment classes
   ========================================================================== */
.alignleft {
	float: left;
	margin: 0.5rem 1.5rem 1.5rem 0;
}

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

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

.alignwide {
	max-width: var(--xyz-container);
	width: 100%;
	margin-inline: auto;
}

.alignfull {
	max-width: 100vw;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

.wp-caption-text,
.wp-block-image figcaption {
	font-size: 0.8125rem;
	color: var(--xyz-muted);
	text-align: center;
}

.sticky {
	border-left: 3px solid var(--xyz-gold);
}

.screen-reader-shortcut:focus,
.screen-reader-text:focus {
	position: fixed !important;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1.25rem;
	clip: auto;
	clip-path: none;
	background: var(--xyz-navy);
	color: #fff;
}
