/*!
 * Loyalco — Dark Premium design system
 * Pure CSS, no framework, no build step required.
 * CSS custom properties = every color/spacing is a single edit point.
 */

/* -------------------------------------------------- */
/* 1. Design tokens                                    */
/* -------------------------------------------------- */
:root {
	--loyalco-bg: #0a0a0c;
	--loyalco-bg-elevated: #131316;
	--loyalco-bg-card: rgba(255, 255, 255, 0.04);
	--loyalco-border: rgba(255, 255, 255, 0.08);
	--loyalco-text: #f2f2f0;
	--loyalco-text-muted: #a3a3a8;
	--loyalco-accent: #cc1f2d;
	--loyalco-accent-soft: rgba(204, 31, 45, 0.15);
	--loyalco-gray-accent: #8a8a92;

	--loyalco-font-display: "Georgia", "Times New Roman", serif;
	--loyalco-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--loyalco-container: 1320px;
	--loyalco-radius: 14px;
	--loyalco-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------- */
/* 2. Reset & base                                     */
/* -------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--loyalco-bg);
	color: var(--loyalco-text);
	font-family: var(--loyalco-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
	font-family: var(--loyalco-font-display);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 400;
}

p {
	margin: 0 0 1em;
	color: var(--loyalco-text-muted);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.loyalco-skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--loyalco-accent);
	color: #fff;
	padding: 12px 20px;
	z-index: 9999;
	transition: top var(--loyalco-transition);
}
.loyalco-skip-link:focus {
	top: 0;
}

.loyalco-container {
	max-width: var(--loyalco-container);
	margin: 0 auto;
	padding: 0 24px;
}

/* -------------------------------------------------- */
/* 3. Buttons                                          */
/* -------------------------------------------------- */
.loyalco-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: transform var(--loyalco-transition), background var(--loyalco-transition), border-color var(--loyalco-transition);
	border: 1px solid transparent;
	cursor: pointer;
}
.loyalco-btn-primary {
	background: var(--loyalco-accent);
	color: #fff;
}
.loyalco-btn-primary:hover {
	transform: translateY(-2px);
	background: #e0222f;
}
.loyalco-btn-ghost {
	background: transparent;
	border-color: var(--loyalco-border);
	color: var(--loyalco-text);
}
.loyalco-btn-ghost:hover {
	border-color: var(--loyalco-accent);
	transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* 4. Header / nav                                     */
/* -------------------------------------------------- */
.loyalco-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 10, 12, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--loyalco-border);
}
.loyalco-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 84px;
}
.loyalco-logo-text {
	font-family: var(--loyalco-font-display);
	font-size: 22px;
	letter-spacing: 0.03em;
}
.loyalco-menu {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.loyalco-menu a {
	font-size: 15px;
	color: var(--loyalco-text-muted);
	transition: color var(--loyalco-transition);
}
.loyalco-menu a:hover,
.loyalco-menu .current-menu-item > a {
	color: var(--loyalco-text);
}
.loyalco-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.loyalco-burger span {
	width: 24px;
	height: 2px;
	background: var(--loyalco-text);
	transition: transform var(--loyalco-transition), opacity var(--loyalco-transition);
}
.loyalco-nav-mobile {
	display: none;
	flex-direction: column;
	padding: 12px 24px 28px;
	border-top: 1px solid var(--loyalco-border);
}
.loyalco-nav-mobile.is-open {
	display: flex;
}
.loyalco-menu-mobile {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.loyalco-menu-mobile a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid var(--loyalco-border);
	color: var(--loyalco-text);
}

@media (max-width: 880px) {
	.loyalco-nav {
		display: none;
	}
	.loyalco-burger {
		display: flex;
	}
}

/* -------------------------------------------------- */
/* 5. Hero                                             */
/* -------------------------------------------------- */
.loyalco-hero {
	position: relative;
	padding: 140px 0 100px;
	overflow: hidden;
}
.loyalco-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 0%, var(--loyalco-accent-soft), transparent 55%),
		radial-gradient(ellipse at 80% 100%, rgba(255,255,255,0.05), transparent 50%);
	pointer-events: none;
}
.loyalco-hero-inner {
	position: relative;
	max-width: 920px;
}
.loyalco-eyebrow {
	color: var(--loyalco-accent);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 20px;
}
.loyalco-hero-title {
	font-size: clamp(38px, 6vw, 72px);
	margin-bottom: 24px;
}
.loyalco-hero-sub {
	font-size: 19px;
	max-width: 640px;
	margin-bottom: 36px;
}
.loyalco-hero-cta {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* -------------------------------------------------- */
/* 6. Pillars grid                                     */
/* -------------------------------------------------- */
.loyalco-pillars {
	padding: 100px 0;
	border-top: 1px solid var(--loyalco-border);
}
.loyalco-section-title {
	font-size: clamp(28px, 4vw, 44px);
	margin-bottom: 56px;
	max-width: 640px;
}
.loyalco-pillar-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--loyalco-border);
	border: 1px solid var(--loyalco-border);
	border-radius: var(--loyalco-radius);
	overflow: hidden;
}
.loyalco-pillar-card {
	background: var(--loyalco-bg-elevated);
	padding: 40px 28px;
	transition: background var(--loyalco-transition);
}
.loyalco-pillar-card:hover {
	background: #17171b;
}
.loyalco-pillar-index {
	display: block;
	font-family: var(--loyalco-font-display);
	font-size: 14px;
	color: var(--loyalco-accent);
	margin-bottom: 24px;
}
.loyalco-pillar-card h3 {
	font-size: 21px;
	margin-bottom: 10px;
}
.loyalco-pillar-card p {
	font-size: 14.5px;
	margin: 0;
}

@media (max-width: 980px) {
	.loyalco-pillar-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.loyalco-pillar-grid {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------- */
/* 7. CTA band                                         */
/* -------------------------------------------------- */
.loyalco-cta-band {
	padding: 110px 0;
	text-align: center;
	border-top: 1px solid var(--loyalco-border);
}
.loyalco-cta-inner h2 {
	font-size: clamp(30px, 5vw, 52px);
	margin-bottom: 20px;
}
.loyalco-cta-inner p {
	font-size: 20px;
	color: var(--loyalco-text);
}
.loyalco-cta-inner a:hover {
	color: var(--loyalco-accent);
}

/* -------------------------------------------------- */
/* 8. Post grid / cards                                */
/* -------------------------------------------------- */
.loyalco-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 40px;
}
.loyalco-card {
	background: var(--loyalco-bg-card);
	border: 1px solid var(--loyalco-border);
	border-radius: var(--loyalco-radius);
	overflow: hidden;
	transition: transform var(--loyalco-transition), border-color var(--loyalco-transition);
}
.loyalco-card:hover {
	transform: translateY(-4px);
	border-color: var(--loyalco-accent);
}
.loyalco-card-body {
	padding: 24px;
}
.loyalco-card-date {
	font-size: 12.5px;
	color: var(--loyalco-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.loyalco-card-title {
	font-size: 19px;
	margin: 10px 0;
}
.loyalco-card-excerpt {
	font-size: 14px;
	margin: 0;
}

@media (max-width: 980px) {
	.loyalco-post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.loyalco-post-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- */
/* 9. Footer + scrolling contact ticker                */
/* -------------------------------------------------- */
.loyalco-footer {
	border-top: 1px solid var(--loyalco-border);
	margin-top: 80px;
}

.loyalco-ticker {
	overflow: hidden;
	background: rgba(255, 255, 255, 0.9);
	border-top: 2px solid var(--loyalco-accent);
	border-bottom: 2px solid var(--loyalco-accent);
	white-space: nowrap;
	padding: 14px 0;
}
.loyalco-ticker-track {
	display: inline-block;
	color: #111;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	animation: loyalco-scroll 28s linear infinite;
	padding-left: 100%;
}
.loyalco-ticker-dot {
	color: var(--loyalco-accent);
	margin: 0 18px;
}
@keyframes loyalco-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
	.loyalco-ticker-track {
		animation: none;
	}
}

.loyalco-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 60px 24px;
}
.loyalco-footer-brand p {
	font-size: 14px;
	margin-top: 16px;
}
.loyalco-footer-title {
	font-size: 15px;
	margin-bottom: 16px;
}
@media (max-width: 880px) {
	.loyalco-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.loyalco-footer-grid {
		grid-template-columns: 1fr;
	}
}

.loyalco-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 24px;
	border-top: 1px solid var(--loyalco-border);
	font-size: 13px;
	color: var(--loyalco-text-muted);
}
.loyalco-footer-menu {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------- */
/* 10. Pages / single / 404 / search / comments        */
/* -------------------------------------------------- */
.loyalco-page,
.loyalco-single,
.loyalco-archive {
	padding: 60px 24px 100px;
}
.loyalco-page-header h1,
.loyalco-archive-header h1 {
	font-size: clamp(30px, 5vw, 48px);
}
.loyalco-page-media {
	margin: 32px 0;
	border-radius: var(--loyalco-radius);
	overflow: hidden;
}
.loyalco-page-content {
	max-width: 760px;
	font-size: 17px;
}
.loyalco-page-content p {
	color: var(--loyalco-text);
}

.loyalco-404 {
	text-align: center;
	padding: 140px 24px;
}
.loyalco-404-search {
	max-width: 420px;
	margin: 32px auto 0;
}

.loyalco-search-form {
	display: flex;
	gap: 10px;
}
.loyalco-search-field {
	flex: 1;
	background: var(--loyalco-bg-card);
	border: 1px solid var(--loyalco-border);
	border-radius: 999px;
	padding: 12px 20px;
	color: var(--loyalco-text);
}
.loyalco-search-submit {
	background: var(--loyalco-accent);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	cursor: pointer;
}

.loyalco-comments {
	max-width: 760px;
	margin-top: 60px;
}
.loyalco-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* -------------------------------------------------- */
/* 11. Elementor compatibility polish                  */
/* -------------------------------------------------- */
/* Full-bleed sections inside Elementor containers stay dark by default
   so a new section always starts on-brand before any styling is added. */
.elementor-section,
.e-con {
	background-color: transparent;
}
body.elementor-page {
	background: var(--loyalco-bg);
}
