/* Site-wide chrome for "Gold Dial": brand font, transparent + glass header, dark page titles, footer. */
@font-face {
	font-family: 'Archivo';
	src: url('fonts/archivo-latin-wght-normal.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
body, button, input, select, textarea, .site { font-family: 'Archivo', system-ui, sans-serif; }
h1, h2, h3, .entry-title { font-family: 'Archivo', system-ui, sans-serif; letter-spacing: -0.02em; }

/* Header: transparent at the top, frosted dial glass once it sticks. */
#masthead .site-header-row-container-inner { transition: background-color 0.2s ease, border-color 0.2s ease; }
body.m30-scrolled #masthead .kadence-sticky-header .site-header-row-container-inner,
body.m30-scrolled #mobile-header .kadence-sticky-header .site-header-row-container-inner {
	/* Kadence paints the sticky row white via its own rule; the light nav needs the dark glass. */
	background: rgba(16, 24, 22, 0.72) !important;
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid rgba(217, 154, 18, 0.28);
}
body.m30-scrolled #masthead .header-navigation .menu > li > a,
body.m30-scrolled #masthead .menu-toggle-open { color: #f6f5ef; }
body.m30-scrolled #masthead .header-navigation .menu > li > a:hover { color: #fde463; }
#masthead .header-navigation .menu > li > a { font-weight: 600; position: relative; }
#masthead .header-navigation .menu > li > a::after {
	content: '';
	position: absolute;
	left: calc(0.6em);
	right: calc(0.6em);
	bottom: 0.55em;
	height: 2px;
	background: #d99a12;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}
#masthead .header-navigation .menu > li > a:hover::after,
#masthead .header-navigation .menu > li.current-menu-item > a::after { transform: scaleX(1); }
#masthead .header-button { font-weight: 700; letter-spacing: 0; box-shadow: 0 6px 20px rgba(217, 154, 18, 0.25); }
#masthead a:focus-visible, #masthead button:focus-visible { outline: 3px solid #fde463; outline-offset: 3px; }

/* Inner page titles sit on the dial so the transparent header stays readable. */
.entry-hero.page-hero-section .entry-hero-container-inner {
	background: radial-gradient(50% 120% at 85% 0%, rgba(217, 154, 18, 0.16), transparent 60%), #101816;
}
.entry-hero.page-hero-section .entry-header h1, .entry-hero.page-hero-section .entry-title { color: #f6f5ef; font-weight: 800; }

/* Home hero clears the transparent header. */
body.transparent-header .m30h-hero { padding-top: 168px; }
@media (max-width: 1024px) { body.transparent-header .m30h-hero { padding-top: 120px; } }

/* Mobile menu popup on the dial. */
#mobile-drawer .drawer-inner { background: #101816; }

/* Footer */
.m30f { background: #101816; color: #b9c2bd; font-size: 0.95rem; line-height: 1.6; border-top: 3px solid #d99a12; }
.m30f-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.m30f-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 24px 48px; }
.m30f a { color: #f6f5ef; text-decoration: none; }
.m30f a:hover { color: #fde463; }
.m30f a:focus-visible { outline: 3px solid #fde463; outline-offset: 3px; }
.m30f-logo { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.1rem; line-height: 1.15; letter-spacing: -0.01em; }
.m30f-logo img { width: 72px; height: 72px; }
.m30f-brand p { margin: 16px 0 20px; max-width: 36ch; }
.m30f .m30f-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 8px; background: #d99a12; color: #101816; font-weight: 700; }
.m30f .m30f-btn:hover { background: #fde463; color: #101816; }
.m30f-col h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #d99a12; margin: 6px 0 14px; font-weight: 700; }
.m30f ul { list-style: none; margin: 0; padding: 0; }
.m30f-col li { margin: 0 0 10px; }
.m30f-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; padding: 20px 24px 28px; border-top: 1px solid rgba(246, 245, 239, 0.1); font-size: 0.85rem; }
.m30f-bottom p { margin: 0; }
.m30f-legal { display: flex; gap: 18px; }
.m30f-note { margin-left: auto !important; }
@media (max-width: 900px) {
	.m30f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.m30f-brand { grid-column: 1 / -1; }
	.m30f-note { margin-left: 0 !important; }
}
@media (max-width: 520px) {
	.m30f-grid { grid-template-columns: minmax(0, 1fr); padding: 48px 16px 32px; gap: 28px; }
	.m30f-wrap, .m30f-bottom { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	#masthead .header-navigation .menu > li > a::after, #masthead .site-header-row-container-inner { transition: none; }
}
.m30f-dev { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 0.8rem; color: #8a9590; }
.m30f .m30f-dev a { color: #b9c2bd; text-decoration: underline; text-decoration-color: rgba(217, 154, 18, 0.6); text-underline-offset: 3px; }
.m30f .m30f-dev a:hover { color: #fde463; }
