/* =========================================================================
   AN.C — design tokens + shared primitives
   Ported from anc-homepage_2.html. Everything is namespaced under .anc-*
   or the [data-anc] scope so it never leaks into Elementor's own UI.
   ========================================================================= */

:root {
	--anc-black: #0a0a0a;
	--anc-black-2: #0c0c11;
	--anc-near-black: #111114;
	--anc-gold: #a8907a;
	--anc-gold-light: #c9b298;
	--anc-white: #ffffff;
	--anc-grey: #9a9a9a;
	--anc-grey-dim: #6f6f6f;
	--anc-line: rgba(255, 255, 255, 0.09);
	--anc-ease: cubic-bezier(.16, .84, .44, 1);
	--anc-font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--anc-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--anc-container: 1280px;
}

/* ---- page-level dark canvas (single project template / full AN.C pages) ---- */
body.anc-dark {
	background: var(--anc-black);
	color: var(--anc-white);
	font-family: var(--anc-font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body.anc-dark a {
	color: inherit;
	text-decoration: none;
}

/* AN.C widgets: never inherit the theme/Kit link or :visited colour —
   components set their own accent colours explicitly. */
.anc-w a,
.anc-w a:link,
.anc-w a:visited,
.anc-w a:hover,
.anc-w a:focus {
	color: inherit;
	text-decoration: none;
}

/* ---- typography inside AN.C widgets ----
   :where() keeps this reset at zero specificity so the BEM component classes
   in widgets.css (.anc-hero__title, .anc-cta__title, …) always win with their
   own margins / weights without needing !important. */
.anc-w :where(h1, h2, h3, h4, h5) {
	font-family: var(--anc-font-head);
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 0;
}

.anc-w :where(p) {
	margin: 0;
}

.anc-w :where(img) {
	max-width: 100%;
	display: block;
}

/* container helper */
.anc-container {
	max-width: var(--anc-container);
	margin: 0 auto;
	padding: 0 40px;
}

/* ---- eyebrow ---- */
.anc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--anc-font-head);
	font-size: 12.5px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--anc-gold-light);
	font-weight: 600;
}

.anc-eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--anc-gold);
	display: inline-block;
}

.anc-eyebrow.is-centered {
	justify-content: center;
}

/* ---- buttons ---- */
.anc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 32px;
	font-family: var(--anc-font-head);
	font-weight: 500;
	font-size: 14.5px;
	letter-spacing: 0.03em;
	border-radius: 2px;
	transition: all .35s var(--anc-ease);
	cursor: pointer;
	border: 1px solid transparent;
	white-space: nowrap;
	text-decoration: none;
}

.anc-btn svg {
	width: 16px;
	height: 16px;
	transition: transform .3s var(--anc-ease);
}

.anc-btn:hover svg {
	transform: translateX(4px);
}

.anc-btn--primary {
	background: var(--anc-gold);
	color: #181410;
}

.anc-btn--primary:hover {
	background: var(--anc-gold-light);
	transform: translateY(-2px);
	color: #181410;
}

.anc-btn--outline {
	border-color: rgba(255, 255, 255, 0.28);
	color: var(--anc-white);
}

.anc-btn--outline:hover {
	border-color: var(--anc-gold-light);
	color: var(--anc-gold-light);
	transform: translateY(-2px);
}

/* ---- section head ---- */
.anc-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 64px;
}

.anc-section-head.is-centered {
	justify-content: center;
	text-align: center;
	flex-direction: column;
	align-items: center;
}

.anc-section-head__title {
	font-size: clamp(30px, 3.4vw, 46px);
	font-weight: 600;
	max-width: 620px;
	line-height: 1.15;
}

.anc-section-head__text {
	color: var(--anc-grey);
	max-width: 380px;
	font-size: 15.5px;
}

.anc-section-head__lead {
	color: var(--anc-gold-light);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 18px;
	display: block;
}

/* ---- scroll reveal ---- */
.anc-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .9s var(--anc-ease), transform .9s var(--anc-ease);
	will-change: opacity, transform;
}

.anc-reveal.is-in {
	opacity: 1;
	transform: translateY(0);
}

/* Elementor editor: never hide content behind the reveal state */
.elementor-editor-active .anc-reveal {
	opacity: 1;
	transform: none;
}

@media (max-width: 820px) {
	.anc-container {
		padding: 0 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.anc-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
