/* Buttons */
.ah-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.9rem 1.35rem;
	border-radius: 0.375rem;
	border: 1px solid transparent;
	font-family: var(--ah-font-body);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition:
		background-color 200ms var(--ah-ease),
		color 200ms var(--ah-ease),
		border-color 200ms var(--ah-ease),
		box-shadow 200ms var(--ah-ease),
		transform 200ms var(--ah-ease);
}

.ah-btn svg {
	width: 0.9rem;
	height: 0.9rem;
	flex-shrink: 0;
	transition: transform 200ms var(--ah-ease);
}

.ah-btn:hover svg {
	transform: translateX(2px);
}

.ah-btn:focus-visible {
	outline: 2px solid var(--ah-gold);
	outline-offset: 3px;
}

.ah-btn--primary {
	background: var(--ah-gold);
	border-color: var(--ah-gold);
	color: var(--ah-on-gold);
}

.ah-btn--primary:hover,
.ah-btn--primary:focus-visible {
	background: var(--ah-gold-soft);
	border-color: var(--ah-gold-soft);
	color: var(--ah-on-gold);
	box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.25);
}

.ah-btn--primary:active {
	background: var(--ah-gold-deep);
	border-color: var(--ah-gold-deep);
	color: var(--ah-on-gold);
	box-shadow: none;
}

.ah-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: var(--ah-text);
}

.ah-btn--ghost:hover,
.ah-btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.85);
	color: var(--ah-text);
}

.ah-btn--ghost:active {
	background: rgba(255, 255, 255, 0.1);
	color: var(--ah-text);
}

.ah-btn--outline-gold {
	background: transparent;
	border-color: var(--ah-gold);
	color: var(--ah-gold);
}

.ah-btn--outline-gold:hover,
.ah-btn--outline-gold:focus-visible {
	background: var(--ah-gold);
	border-color: var(--ah-gold);
	color: var(--ah-on-gold);
}

.ah-btn--outline-gold:active {
	background: var(--ah-gold-deep);
	border-color: var(--ah-gold-deep);
	color: var(--ah-on-gold);
}

.ah-btn--lg {
	padding: 1.05rem 1.7rem;
	font-size: 0.75rem;
}

/* Section header */
.ah-section-header {
	max-width: 42rem;
}

.ah-section-header--center {
	margin-inline: auto;
	text-align: center;
}

.ah-section-header--center:not(:has(.ah-heading)) {
	max-width: none;
	margin-bottom: 2rem;
}

.ah-section-header--center .ah-lead {
	margin-inline: auto;
}

.ah-section-header .ah-heading {
	font-weight: 700;
	letter-spacing: -0.025em;
}

/* Cards — What We Do */
.ah-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--ah-card);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	padding: 2rem 1.75rem 1.75rem;
	transition:
		background var(--ah-duration) var(--ah-ease),
		border-color var(--ah-duration) var(--ah-ease),
		transform var(--ah-duration) var(--ah-ease);
}

.ah-card:hover {
	border-color: var(--ah-border-strong);
}

.ah-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.5rem;
	border: 1px solid var(--ah-border-strong);
	border-radius: 2px;
	color: var(--ah-gold);
	background: rgba(197, 160, 89, 0.04);
}

.ah-card__icon svg {
	width: 1.35rem;
	height: 1.35rem;
}

.ah-card__title {
	margin: 0 0 0.75rem;
	min-height: calc(1.25em * 2);
	font-family: var(--ah-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.ah-card__text {
	margin: 0;
	color: var(--ah-text-muted);
	font-size: 0.9rem;
	line-height: 1.65;
}

.ah-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 1.5rem;
	color: var(--ah-gold);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ah-card__link:hover {
	color: var(--ah-gold-soft);
}

/* Focus card — image with icon at left-bottom, copy below */
.ah-focus-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: var(--ah-card);
	isolation: isolate;
}

.ah-focus-card__media {
	position: relative;
	aspect-ratio: 16 / 11;
	overflow: hidden;
	background: #0a0a0a;
}

.ah-focus-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 500ms var(--ah-ease);
}

.ah-focus-card:hover .ah-focus-card__media img {
	transform: scale(1.06);
}

.ah-focus-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 45%,
		rgba(0, 0, 0, 0.35) 100%
	);
	pointer-events: none;
}

.ah-focus-card__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid var(--ah-border-strong);
	color: var(--ah-gold);
	backdrop-filter: blur(6px);
}

.ah-focus-card__badge svg {
	width: 1.35rem;
	height: 1.35rem;
}

.ah-focus-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.25rem 1.4rem;
}

.ah-focus-card__title {
	margin: 0 0 0.45rem;
	min-height: calc(1.3em * 2);
	font-family: var(--ah-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.ah-focus-card__text {
	margin: 0;
	flex: 1;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8rem;
	line-height: 1.5;
}

/* Insight card — full-bleed image overlay style */
.ah-insight-card {
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(1.25rem, 1fr) auto auto auto;
	align-content: stretch;
	height: 100%;
	min-height: 22rem;
	padding: 1.25rem;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: var(--ah-card);
	isolation: isolate;
	row-gap: 0.55rem;
}

.ah-insight-card__link {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}

.ah-insight-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.ah-insight-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 500ms var(--ah-ease);
}

.ah-insight-card:hover .ah-insight-card__media img {
	transform: scale(1.06);
}

.ah-insight-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.35) 0%,
		rgba(0, 0, 0, 0.55) 42%,
		rgba(0, 0, 0, 0.92) 100%
	);
}

.ah-insight-card__tag,
.ah-insight-card__grow,
.ah-insight-card__title,
.ah-insight-card__excerpt,
.ah-insight-card__meta {
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.ah-insight-card__tag {
	grid-row: 1;
	display: inline-flex;
	align-self: start;
	justify-self: start;
	margin: 0;
	padding: 0.3rem 0.55rem;
	border: 1px solid var(--ah-border-strong);
	border-radius: 2px;
	color: var(--ah-gold);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ah-insight-card__tag--empty {
	padding: 0;
	border: 0;
	min-height: 1.4rem;
}

.ah-insight-card__grow {
	grid-row: 2;
	min-height: 1.25rem;
}

.ah-insight-card__title {
	grid-row: 3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	min-height: calc(1.3em * 2);
	font-family: var(--ah-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--ah-text);
}

.ah-insight-card:hover .ah-insight-card__title {
	color: var(--ah-gold-soft);
}

.ah-insight-card__excerpt {
	grid-row: 4;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	min-height: calc(1.55em * 3);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.82rem;
	line-height: 1.55;
}

.ah-insight-card__excerpt--empty {
	min-height: 0;
}

.ah-insight-card__meta {
	grid-row: 5;
	display: block;
	margin: 0.4rem 0 0;
	min-height: 1.2em;
	color: var(--ah-text-dim);
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ah-insight-card__meta--empty {
	min-height: 1.2em;
}

/* Insights intro — text block, not a card */
.ah-insight-intro {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 0.25rem 0 0;
}

.ah-insight-intro .ah-heading {
	margin-top: 0.15rem;
}

.ah-insight-intro .ah-lead {
	margin-top: 0.85rem;
	max-width: 28rem;
	font-size: 0.95rem;
	color: var(--ah-text-muted);
}

.ah-insight-intro__action {
	margin-top: 1.5rem;
}

/* Stat row — no card chrome; rows align like card columns */
.ah-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	text-align: center;
	padding: 0.5rem 1.35rem;
}

.ah-stat__eyebrow {
	margin: 0 0 0.65rem;
	color: var(--ah-gold);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ah-stat__value {
	margin: 0;
	color: var(--ah-gold);
	font-family: var(--ah-font-display);
	font-size: var(--ah-text-stat);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.ah-stat__label {
	margin: 0.65rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ah-text);
}

.ah-stat__text {
	margin: 0.4rem 0 0;
	color: var(--ah-text-muted);
	font-size: 0.75rem;
	line-height: 1.45;
}

@supports not (grid-template-rows: subgrid) {
	.ah-stat__value {
		min-height: calc(1.15em * 2);
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.ah-stat__label {
		min-height: calc(1.35em * 2);
	}

	.ah-stat__text {
		margin-top: auto;
		padding-top: 0.4rem;
	}
}

/* Philosophy strip (legacy strip styles — kept for any residual use) */
.ah-philosophy-item {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.ah-philosophy-item__icon {
	flex-shrink: 0;
	color: var(--ah-gold);
	margin-top: 0.05rem;
}

.ah-philosophy-item__icon svg {
	width: 1.85rem;
	height: 1.85rem;
}

.ah-philosophy-item__title {
	margin: 0 0 0.3rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.35;
}

.ah-philosophy-item__text {
	margin: 0;
	color: var(--ah-text-muted);
	font-size: 0.75rem;
	line-height: 1.45;
}

/* Discord CTA */
.ah-cta-discord {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.75rem;
	padding: 2rem 2.25rem;
	background: linear-gradient(180deg, #171717 0%, #101010 100%);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
}

.ah-cta-discord__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 4.25rem;
	height: 4.25rem;
	border-radius: 999px;
	border: 1px solid var(--ah-border-strong);
	background: rgba(197, 160, 89, 0.06);
	color: var(--ah-gold);
}

.ah-cta-discord__icon svg {
	width: 2.35rem;
	height: 2.35rem;
}

.ah-cta-discord__content {
	flex: 1 1 16rem;
}

.ah-cta-discord__eyebrow {
	margin: 0 0 0.4rem;
	color: var(--ah-gold);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ah-cta-discord__title {
	margin: 0;
	font-family: var(--ah-font-display);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ah-cta-discord__text {
	margin: 0.45rem 0 0;
	color: var(--ah-text-muted);
	font-size: 0.9rem;
	max-width: 34rem;
}

.ah-cta-discord .ah-btn {
	margin-left: auto;
}

@media (max-width: 800px) {
	.ah-cta-discord .ah-btn {
		margin-left: 0;
		width: 100%;
	}
}

/* Header */
.ah-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--ah-header-h);
	display: flex;
	align-items: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.28) 100%);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition:
		background var(--ah-duration) var(--ah-ease),
		border-color var(--ah-duration) var(--ah-ease);
}

.ah-header.is-scrolled {
	background: rgba(0, 0, 0, 0.94);
	border-bottom-color: rgba(255, 255, 255, 0.06);
}

.ah-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: min(100% - (var(--ah-gutter) * 2), var(--ah-container));
	margin-inline: auto;
}

.ah-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	flex-shrink: 0;
}

/* Beat body.ah-body img { height: auto; max-width: 100% } */
body.ah-body .ah-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}

/* Header + footer wordmark — shared size */
body.ah-body .ah-logo__img--text,
body.ah-body .ah-logo__img--full {
	height: 5.5rem;
	width: auto;
	max-width: 20rem;
	object-fit: contain;
}

/* Footer only — image file has extra padding; keep header logo optically centered */
body.ah-body .ah-logo--footer .ah-logo__img--text,
body.ah-body .ah-logo--footer .ah-logo__img--full {
	margin-top: -1.35rem;
	margin-left: -0.35rem;
}

@media (min-width: 960px) {
	body.ah-body .ah-logo__img--text,
	body.ah-body .ah-logo__img--full {
		height: 6rem;
		max-width: 22rem;
	}

	body.ah-body .ah-logo--footer .ah-logo__img--text,
	body.ah-body .ah-logo--footer .ah-logo__img--full {
		margin-top: -1.5rem;
		margin-left: -0.4rem;
	}
}

.ah-nav {
	display: none;
	align-items: center;
	gap: clamp(1.1rem, 1.8vw, 1.85rem);
}

.ah-nav a {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.ah-nav a:hover {
	color: var(--ah-gold);
}

.ah-nav a.is-active {
	color: var(--ah-gold);
}

.ah-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.ah-header__discord {
	display: none;
	padding: 0.7rem 1rem;
}

.ah-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 3px;
	background: transparent;
	color: var(--ah-text);
	cursor: pointer;
	transition:
		border-color var(--ah-duration) var(--ah-ease),
		background var(--ah-duration) var(--ah-ease);
}

.ah-nav-toggle:hover,
.ah-nav-toggle:focus-visible {
	border-color: var(--ah-border-strong);
	background: rgba(255, 255, 255, 0.04);
}

.ah-nav-toggle[aria-expanded="true"] {
	border-color: var(--ah-gold);
	color: var(--ah-gold);
}

.ah-nav-toggle svg {
	width: 1.15rem;
	height: 1.15rem;
}

.ah-mobile-nav {
	display: none;
	position: fixed;
	inset: var(--ah-header-h) 0 auto;
	z-index: 99;
	padding: 1.25rem var(--ah-gutter) 1.75rem;
	background: rgba(0, 0, 0, 0.97);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ah-mobile-nav.is-open {
	display: block;
}

.ah-mobile-nav a {
	display: block;
	padding: 0.85rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ah-mobile-nav .ah-btn {
	margin-top: 1.25rem;
	width: 100%;
}

@media (min-width: 960px) {
	.ah-nav {
		display: flex;
	}

	.ah-header__discord {
		display: inline-flex;
	}

	.ah-nav-toggle {
		display: none;
	}

	.ah-mobile-nav,
	.ah-mobile-nav.is-open {
		display: none;
	}
}

/* Footer */
.ah-footer {
	padding-top: 5rem;
	padding-bottom: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: #050505;
}

.ah-footer__grid {
	display: grid;
	gap: 2.5rem;
}

.ah-footer__brand p {
	margin: 0;
	max-width: 22rem;
	color: var(--ah-text-muted);
	font-size: 0.85rem;
	line-height: 1.6;
}

.ah-footer__social {
	display: flex;
	gap: 0.65rem;
	margin-top: 1.35rem;
}

.ah-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	color: var(--ah-gold);
}

.ah-footer__social a:hover,
.ah-footer__social a:focus-visible {
	border-color: var(--ah-gold);
	color: var(--ah-text);
}

.ah-footer__col h3 {
	margin: 0 0 1.15rem;
	color: var(--ah-gold);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ah-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ah-footer__col li + li {
	margin-top: 0.7rem;
}

.ah-footer__col a:not(.ah-btn) {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.875rem;
}

.ah-footer__col a:not(.ah-btn):hover {
	color: var(--ah-gold);
}

.ah-footer__col .ah-btn {
	font-size: 0.7rem;
}

.ah-footer__cta {
	margin-top: 1.25rem;
}

.ah-footer__col .ah-btn--outline-gold:hover,
.ah-footer__col .ah-btn--outline-gold:focus-visible {
	background: var(--ah-gold);
	border-color: var(--ah-gold);
	color: var(--ah-on-gold);
}

.ah-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.35rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--ah-text-dim);
	font-size: 0.72rem;
}

.ah-footer__disclaimer {
	margin: 0;
	max-width: 52rem;
	line-height: 1.55;
	color: var(--ah-text-dim);
}

.ah-footer__disclaimer strong {
	color: rgba(255, 255, 255, 0.55);
	font-weight: 600;
}

.ah-footer__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
}

.ah-footer__legal {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.ah-footer__col .ah-footer__social {
	margin-top: 0.85rem;
}

@media (min-width: 800px) {
	.ah-footer__grid {
		grid-template-columns: 1.45fr 1fr 1.1fr;
	}
}
