/*
 * About page (page-about.php); also the base for Support (page-support.php + support.css). Loaded only on those two. Custom classes because tailwind.css holds only the utilities the
 * original Make build generated. Display type is a condensed system stack until a brand face is chosen.
 */

.fh-about {
	--ab-ink: #0f0d0d;
	--ab-ink-2: #171313;
	--ab-cream: #F3EEE4;
	--ab-red: #8B0000;
	--ab-red-hover: #6B0000;
	--ab-slate: rgba(100, 116, 139, 0.85);
	--ab-display: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
	background: var(--ab-cream);
	color: oklch(37.3% .034 259.733);
}
.fh-ab-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .fh-ab-wrap { padding: 0 3rem; } }

.fh-ab-eyebrow {
	display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
	font-size: .72rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ab-red);
}
.fh-ab-eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.fh-ab-h2 {
	font-family: var(--ab-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: .98;
	font-size: clamp(2.1rem, 4.6vw, 3.6rem); color: var(--ab-ink); margin: 0 0 1.25rem;
}

.fh-ab-btn {
	display: inline-block; padding: .95rem 1.9rem; background: var(--ab-red); color: var(--ab-cream); text-decoration: none;
	font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--ab-red);
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.fh-ab-btn:hover { background: var(--ab-red-hover); border-color: var(--ab-red-hover); color: var(--ab-cream); }
.fh-ab-btn-ghost { background: transparent; border-color: rgba(243, 238, 228, .6); }
.fh-ab-btn-ghost:hover { background: var(--ab-cream); border-color: var(--ab-cream); color: var(--ab-ink); }
.fh-about a:focus-visible { outline: 2px solid var(--ab-red); outline-offset: 3px; }

/* ---------- Hero ---------- */
.fh-ab-hero {
	position: relative; margin-top: 64px; height: calc(100svh - 64px); min-height: 540px; max-height: 1000px;
	overflow: hidden; background: var(--ab-ink); color: var(--ab-cream);
}
.fh-ab-hero-img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%;
	transform-origin: 30% 60%; animation: fh-ab-drift 26s ease-out both;
}
.fh-ab-hero-shade {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 8, 8, .62) 0%, rgba(10, 8, 8, .18) 38%, rgba(10, 8, 8, 0) 58%, rgba(10, 8, 8, .78) 100%);
}
.fh-ab-hero-copy {
	position: absolute; left: 0; right: 0; top: 13%; padding: 0 1.5rem; text-align: center;
	animation: fh-ab-rise 1.1s cubic-bezier(.2, .7, .2, 1) .15s both;
}
.fh-ab-kicker {
	display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1.1rem;
	font-size: .72rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: rgba(243, 238, 228, .82);
}
.fh-ab-kicker::before, .fh-ab-kicker::after { content: ""; width: 2.25rem; height: 2px; background: var(--ab-red); }
.fh-ab-title {
	margin: 0; font-family: var(--ab-display); font-weight: 800; text-transform: uppercase; line-height: .86;
	font-size: clamp(4.2rem, 15vw, 11.5rem); letter-spacing: .015em; color: var(--ab-cream);
	text-shadow: 0 4px 40px rgba(0, 0, 0, .45);
}
.fh-ab-tagline {
	margin: 1.4rem auto 0; max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .06em;
	color: rgba(243, 238, 228, .88);
}
@media (max-width: 640px) {
	.fh-ab-hero-img { object-position: 12% 60%; transform-origin: 12% 60%; } /* keep the shooter in frame on phones */
	.fh-ab-kicker { letter-spacing: .24em; font-size: .64rem; }
	.fh-ab-kicker::before, .fh-ab-kicker::after { width: 1.25rem; }
}
.fh-ab-cue {
	position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none;
	font-size: .66rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 238, 228, .8);
	transition: color .2s ease;
}
.fh-ab-cue:hover { color: #fff; }
.fh-ab-cue svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; animation: fh-ab-bob 2.2s ease-in-out infinite; }

@keyframes fh-ab-drift { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes fh-ab-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fh-ab-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Story ---------- */
.fh-ab-story { padding: clamp(4rem, 9vw, 7.5rem) 0; scroll-margin-top: 64px; }
.fh-ab-story-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .fh-ab-story-grid { grid-template-columns: 5fr 7fr; gap: 4.5rem; align-items: start; } }
.fh-ab-prose p { margin: 0 0 1.25rem; font-size: 1.12rem; line-height: 1.75; }
.fh-ab-prose p:first-child { font-size: 1.3rem; line-height: 1.6; color: var(--ab-ink); }

/* ---------- Proof points ---------- */
.fh-ab-points { background: var(--ab-ink); color: var(--ab-cream); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.fh-ab-points-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
@media (min-width: 900px) { .fh-ab-points-grid { grid-template-columns: repeat(4, 1fr); } }
.fh-ab-points li { border-top: 2px solid var(--ab-red); padding-top: 1.1rem; }
.fh-ab-points strong {
	display: block; font-family: var(--ab-display); font-weight: 800; text-transform: uppercase; line-height: 1;
	font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: .55rem;
}
.fh-ab-points span { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 238, 228, .62); line-height: 1.5; }

/* ---------- Split sections ---------- */
.fh-ab-split { display: grid; background: var(--ab-cream); }
@media (min-width: 900px) { .fh-ab-split { grid-template-columns: 1fr 1fr; min-height: 560px; } }
.fh-ab-split-img { margin: 0; position: relative; min-height: 320px; overflow: hidden; background: var(--ab-ink-2); }
.fh-ab-split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.fh-ab-split:hover .fh-ab-split-img img { transform: scale(1.04); }
.fh-ab-split-copy { align-self: center; padding: clamp(2.75rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem); max-width: 40rem; }
.fh-ab-split-copy p:not(.fh-ab-eyebrow) { font-size: 1.08rem; line-height: 1.75; margin: 0 0 1.75rem; }
.fh-ab-split-rev { background: var(--ab-ink-2); color: rgba(243, 238, 228, .78); }
.fh-ab-split-rev .fh-ab-h2 { color: var(--ab-cream); }
.fh-ab-split-rev .fh-ab-eyebrow { color: #d9534a; } /* accent red lifted for contrast on the dark band */
@media (min-width: 900px) { .fh-ab-split-rev .fh-ab-split-img { order: 2; } }

/* ---------- Lineup ---------- */
.fh-ab-lineup { padding: clamp(4rem, 9vw, 7rem) 0; }
.fh-ab-cards { list-style: none; display: grid; gap: 1.25rem; margin-top: 2.25rem; }
@media (min-width: 700px) { .fh-ab-cards { grid-template-columns: repeat(3, 1fr); } }
.fh-ab-card {
	display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1.5rem 1.6rem; text-decoration: none; color: inherit;
	background: linear-gradient(180deg, #fbf8f2 0%, #ebe4d7 100%); border: 1px solid rgba(100, 116, 139, .18);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fh-ab-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15, 13, 13, .45); border-color: rgba(139, 0, 0, .35); }
.fh-ab-card-img { display: block; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.fh-ab-card-img img { width: 100%; height: 100%; object-fit: contain; }
.fh-ab-card-name { font-family: var(--ab-display); font-weight: 800; text-transform: uppercase; font-size: 1.7rem; line-height: 1; color: var(--ab-ink); }
.fh-ab-card-sub { margin-top: .45rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ab-slate); }
.fh-ab-card-state { margin-top: auto; padding-top: 1.1rem; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ab-red); }

/* ---------- Closing band ---------- */
.fh-ab-cta { position: relative; overflow: hidden; background: var(--ab-ink); color: rgba(243, 238, 228, .85); text-align: center; }
.fh-ab-cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 82%; opacity: .55; }
.fh-ab-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15, 13, 13, .85), rgba(15, 13, 13, .45) 50%, rgba(15, 13, 13, .9)); }
.fh-ab-cta-copy { position: relative; z-index: 2; max-width: 46rem; margin: 0 auto; padding: clamp(5rem, 11vw, 8.5rem) 1.5rem; }
.fh-ab-cta .fh-ab-h2 { color: var(--ab-cream); }
.fh-ab-cta-copy p { font-size: 1.08rem; line-height: 1.7; margin: 0 0 2rem; }
.fh-ab-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }

/* Scroll reveals where the browser supports scroll-driven animations; content is fully visible everywhere else. */
@supports (animation-timeline: view()) {
	.fh-ab-story-grid > *, .fh-ab-points li, .fh-ab-split-copy, .fh-ab-cards li, .fh-ab-cta-copy {
		animation: fh-ab-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fh-about *, .fh-about *::before, .fh-about *::after { animation: none !important; transition: none !important; }
}
