/**
 * Azurespec Alliance — mobile-first (Ceramicolor-style layout)
 */

:root {
	--az-navy: #0c2d4a;
	--az-navy-deep: #081f35;
	--az-blue: #1a5a8a;
	--az-link: #1e6cb0;
	--az-text: #2b2b2b;
	--az-muted: #6b7280;
	--az-border: #d8dee6;
	--az-bg-soft: #f4f6f8;
	--az-white: #ffffff;
	--font-serif: "Libre Baskerville", Georgia, serif;
	--font-sans: "Source Sans 3", system-ui, sans-serif;
	--container: min(100% - 1.25rem, 72rem);
	--header-height: 4.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--az-text);
	background: var(--az-white);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--az-link);
	text-decoration: none;
}

a:hover,
a:focus-visible {
	text-decoration: underline;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 9999;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: var(--az-navy);
	color: var(--az-white);
	clip: auto;
}

.site-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
}

/* Utility bar */
.utility-bar {
	background: var(--az-navy-deep);
	color: var(--az-white);
	font-size: 0.75rem;
}

.utility-inner {
	width: var(--container);
	margin: 0 auto;
	padding: 0.45rem 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem 1rem;
}

.utility-date {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	flex: 1 1 100%;
}

.utility-date-icon {
	width: 0.85rem;
	height: 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 2px;
}

.utility-search {
	flex: 1 1 100%;
}

.search-form {
	display: flex;
	align-items: stretch;
	max-width: 100%;
}

.search-field {
	flex: 1;
	border: 0;
	padding: 0.45rem 0.65rem;
	font: inherit;
	border-radius: 2px 0 0 2px;
	min-width: 0;
}

.search-submit {
	border: 0;
	background: var(--az-blue);
	color: var(--az-white);
	padding: 0.45rem 0.85rem;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.7rem;
	border-radius: 0 2px 2px 0;
	cursor: pointer;
}

.utility-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: 1 1 100%;
	justify-content: space-between;
}

.social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.35rem;
}

.social-list a {
	color: var(--az-white);
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.15rem 0.35rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 2px;
}

.utility-member {
	color: var(--az-white);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.68rem;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

/* Header */
.site-header {
	background: var(--az-white);
	border-bottom: 1px solid var(--az-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	width: var(--container);
	margin: 0 auto;
	padding: 0.75rem 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.brand-mark {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--az-navy);
	text-decoration: none;
}

.brand-mark:hover {
	text-decoration: none;
}

.brand-mark img {
	width: 3.25rem;
	height: 3.25rem;
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid var(--az-border);
}

.brand-text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.brand-title {
	font-family: var(--font-serif);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.brand-tagline {
	font-size: 0.68rem;
	color: var(--az-muted);
	max-width: 16rem;
	line-height: 1.35;
}

.nav-toggle {
	border: 1px solid var(--az-border);
	background: var(--az-white);
	padding: 0.45rem 0.75rem;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	cursor: pointer;
	color: var(--az-navy);
}

.primary-navigation {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--az-white);
	border-bottom: 1px solid var(--az-border);
	box-shadow: 0 0.5rem 1rem rgba(8, 31, 53, 0.08);
}

.primary-navigation.is-open {
	display: block;
}

.primary-menu,
.fallback-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.primary-menu li,
.fallback-menu li {
	border-bottom: 1px solid var(--az-border);
}

.primary-menu a,
.fallback-menu a {
	display: block;
	padding: 0.75rem 1rem;
	color: var(--az-navy);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.primary-menu a:hover,
.fallback-menu a:hover {
	background: var(--az-bg-soft);
	text-decoration: none;
}

.site-header {
	position: relative;
}

/* Hero */
.hero-carousel {
	position: relative;
	background: #111;
	overflow: hidden;
}

.hero-track {
	position: relative;
	min-height: 14rem;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.55s ease;
}

.hero-slide.is-active {
	position: relative;
	opacity: 1;
	pointer-events: auto;
}

.hero-slide img {
	width: 100%;
	height: 14rem;
	object-fit: cover;
}

.hero-caption {
	position: absolute;
	left: 0.75rem;
	bottom: 0.75rem;
	right: 0.75rem;
	max-width: 20rem;
	background: rgba(255, 255, 255, 0.92);
	padding: 0.75rem 0.85rem;
	border-left: 4px solid var(--az-link);
}

.hero-caption h2 {
	margin: 0 0 0.45rem;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	line-height: 1.35;
	color: var(--az-navy);
}

.hero-read {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--az-link);
}

.hero-dots {
	display: flex;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.55rem 0 0.65rem;
	background: var(--az-white);
}

.hero-dots button {
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	border: 0;
	background: #c5ced8;
	padding: 0;
	cursor: pointer;
}

.hero-dots button.is-active {
	background: var(--az-navy);
}

/* News rail */
.news-rail-section {
	width: var(--container);
	margin: 0 auto;
	padding: 1.25rem 0 1.5rem;
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.section-heading h2 {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--az-navy);
}

.section-archive {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	border: 1px solid var(--az-border);
	padding: 0.35rem 0.65rem;
	color: var(--az-navy);
	white-space: nowrap;
}

.news-rail-wrap {
	position: relative;
}

.news-rail {
	display: flex;
	gap: 0.85rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.35rem;
	scrollbar-width: thin;
}

.news-card {
	flex: 0 0 86%;
	max-width: 22rem;
	scroll-snap-align: start;
	border: 1px solid var(--az-border);
	background: var(--az-white);
}

.news-card-image img {
	width: 100%;
	height: 10rem;
	object-fit: cover;
}

.news-card-body {
	padding: 0.75rem 0.85rem 1rem;
}

.news-meta {
	margin: 0 0 0.45rem;
	font-size: 0.68rem;
	color: var(--az-muted);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.news-cat {
	color: var(--az-link);
	font-weight: 700;
}

.news-card-title {
	margin: 0 0 0.45rem;
	font-size: 0.95rem;
	line-height: 1.35;
}

.news-card-title a {
	color: var(--az-link);
}

.news-card-excerpt {
	margin: 0;
	font-size: 0.82rem;
	color: var(--az-muted);
}

.rail-arrow {
	display: none;
}

/* Promo grid */
.promo-grid-section {
	background: var(--az-bg-soft);
	padding: 1.25rem 0 1.75rem;
}

.promo-grid {
	width: var(--container);
	margin: 0 auto;
	display: grid;
	gap: 0.85rem;
}

.promo-tile {
	border: 1px solid var(--az-border);
	background: var(--az-white);
	overflow: hidden;
}

.promo-tile a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.promo-tile img {
	width: 100%;
	height: 9rem;
	object-fit: cover;
}

.promo-tile-body {
	padding: 0.85rem;
}

.promo-tile h3 {
	margin: 0 0 0.35rem;
	font-size: 0.95rem;
	color: var(--az-navy);
}

.promo-tile p {
	margin: 0 0 0.5rem;
	font-size: 0.82rem;
	color: var(--az-muted);
}

.promo-more {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--az-link);
}

/* Inner pages */
.content-wrap {
	width: var(--container);
	margin: 0 auto;
	padding: 1.25rem 0 2rem;
}

.entry-title {
	font-family: var(--font-serif);
	color: var(--az-navy);
}

.entry-content {
	font-size: 1rem;
}

.archive-grid,
.entry-card,
.search-item {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--az-border);
}

.button-outline {
	display: inline-block;
	border: 1px solid var(--az-navy);
	color: var(--az-navy);
	padding: 0.45rem 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

/* Footer */
.site-footer {
	margin-top: auto;
}

.footer-promo {
	background: var(--az-navy);
	color: var(--az-white);
	padding: 1.25rem 0;
}

.footer-promo-inner {
	width: var(--container);
	margin: 0 auto;
}

.footer-promo-title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.footer-promo p {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	opacity: 0.92;
}

.footer-promo .button-outline {
	border-color: var(--az-white);
	color: var(--az-white);
}

.footer-office {
	padding: 1.25rem 0;
	border-top: 1px solid var(--az-border);
}

.footer-office-inner {
	width: var(--container);
	margin: 0 auto;
}

.footer-office-title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	text-transform: uppercase;
	color: var(--az-navy);
}

.footer-office address {
	font-style: normal;
	font-size: 0.88rem;
	line-height: 1.6;
	margin-bottom: 0.65rem;
}

.footer-map-link {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
}

.footer-link-row {
	background: var(--az-bg-soft);
	border-top: 1px solid var(--az-border);
	padding: 0.75rem 0;
}

.footer-link-row-inner {
	width: var(--container);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.85rem;
	align-items: center;
	justify-content: flex-start;
}

.footer-link-row-inner a {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--az-navy);
	white-space: nowrap;
}

.footer-base {
	background: var(--az-navy-deep);
	color: rgba(255, 255, 255, 0.85);
	padding: 0.65rem 0;
	font-size: 0.72rem;
	text-align: center;
}

.footer-base p {
	margin: 0;
}

/* Tablet */
@media (min-width: 640px) {
	.utility-date {
		flex: 0 1 auto;
	}

	.utility-search {
		flex: 1 1 12rem;
	}

	.utility-actions {
		flex: 0 1 auto;
		margin-left: auto;
	}

	.hero-slide img {
		height: 18rem;
	}

	.hero-track {
		min-height: 18rem;
	}

	.news-card {
		flex-basis: 45%;
	}

	.promo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Desktop — Ceramicolor-style horizontal nav */
@media (min-width: 960px) {
	:root {
		--container: min(100% - 2.5rem, 76rem);
	}

	.site-header {
		position: sticky;
	}

	.nav-toggle {
		display: none;
	}

	.primary-navigation {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
	}

	.primary-menu,
	.fallback-menu {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		gap: 0.15rem 0.35rem;
		padding: 0;
	}

	.primary-menu li,
	.fallback-menu li {
		border: 0;
	}

	.primary-menu a,
	.fallback-menu a {
		padding: 0.35rem 0.55rem;
		font-size: 0.72rem;
	}

	.primary-menu .sub-menu {
		display: none;
		position: absolute;
		min-width: 12rem;
		background: var(--az-white);
		border: 1px solid var(--az-border);
		box-shadow: 0 0.35rem 0.85rem rgba(8, 31, 53, 0.12);
		padding: 0.35rem 0;
		z-index: 20;
	}

	.primary-menu li {
		position: relative;
	}

	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		text-transform: none;
		font-size: 0.78rem;
		font-weight: 600;
	}

	.brand-title {
		font-size: 1.15rem;
	}

	.hero-slide img {
		height: 26rem;
	}

	.hero-track {
		min-height: 26rem;
	}

	.hero-caption {
		left: 2rem;
		bottom: 2rem;
		padding: 1rem 1.15rem;
		max-width: 26rem;
	}

	.hero-caption h2 {
		font-size: 1.25rem;
	}

	.news-rail-wrap {
		padding: 0 2.25rem;
	}

	.rail-arrow {
		display: block;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 2rem;
		height: 2rem;
		border: 1px solid var(--az-border);
		background: var(--az-white);
		color: var(--az-navy);
		font-size: 1.35rem;
		line-height: 1;
		cursor: pointer;
		z-index: 2;
	}

	.rail-prev {
		left: 0;
	}

	.rail-next {
		right: 0;
	}

	.news-card {
		flex-basis: 31%;
		max-width: none;
	}

	.promo-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.footer-link-row-inner {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: thin;
		padding-bottom: 0.15rem;
	}
}
