/* ==========================================================================
   Firestarter custom widgets — matches the original approved HTML/CSS
   design exactly. Brand tokens (hard-coded here since custom widgets
   don't have access to Elementor's CSS variable system the same way):
   background: #15171c | foreground: #ffffff | accent (brand red): #c62c26
   font-heading: 'League Spartan' | font-body: 'Montserrat'
   ========================================================================== */

/* ---------- Chapter (hero + story chapters) ---------- */

.fs-chapter {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	text-align: center;
	padding: 6rem 1.25rem;
}

.fs-chapter__video {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background-color: #15171c;
}

.fs-chapter__video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fs-chapter__scrim {
	position: absolute;
	inset: 0;
}

.fs-chapter__gradient {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.65) 100%),
		linear-gradient(to top, rgba(198,44,38,0.16) 0%, transparent 35%);
}

.fs-chapter__content {
	position: relative;
	z-index: 10;
	max-width: 48rem;
	margin-inline: auto;
	text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

.fs-chapter__title {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-size: 2.25rem;
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0;
}

@media (min-width: 640px) {
	.fs-chapter__title { font-size: 3rem; }
}
@media (min-width: 768px) {
	.fs-chapter__title { font-size: 4.25rem; }
}

.fs-chapter__subtitle {
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.65;
	margin: 1.5rem 0 0;
	text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}

@media (min-width: 640px) {
	.fs-chapter__subtitle { font-size: 1.1875rem; }
}

/* ---------- Story Showcase ("Welcome to Firestarter!") ---------- */

.fs-showcase {
	position: relative;
	background-color: #15171c;
	padding-block: 6rem;
}

@media (min-width: 768px) {
	.fs-showcase { padding-block: 8rem; }
}

.fs-showcase__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: start;
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 1.25rem;
	text-align: center;
}

@media (min-width: 1024px) {
	.fs-showcase__grid {
		grid-template-columns: 0.6fr 1.4fr;
		text-align: left;
	}
}

.fs-showcase__title {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-size: 2.25rem;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.fs-showcase__body {
	margin-top: 1.5rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
	max-width: 32rem;
	margin-inline: auto;
}

@media (min-width: 1024px) {
	.fs-showcase__body { margin-inline: 0; }
}

.fs-showcase__video {
	width: 100%;
	border-radius: 0.5rem;
	display: block;
}

/* ---------- Final CTA ---------- */

.fs-final-cta {
	position: relative;
	display: flex;
	min-height: 40vh;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: #15171c;
	padding-block: 4.5rem;
}

@media (min-width: 768px) {
	.fs-final-cta { padding-block: 5.5rem; }
}

.fs-final-cta__inner {
	max-width: 42rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.fs-final-cta__title {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 400;
	font-size: 2.1rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #f3ead9;
	margin: 0;
}

@media (min-width: 640px) {
	.fs-final-cta__title { font-size: 2.75rem; }
}
@media (min-width: 768px) {
	.fs-final-cta__title { font-size: 3.25rem; }
}

.fs-final-cta__subtitle {
	margin-top: 1.5rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1.125rem;
	line-height: 1.6;
	color: rgba(243,234,217,0.82);
}

@media (min-width: 640px) {
	.fs-final-cta__subtitle { font-size: 1.375rem; }
}

/* Eyebrow label above the CTA heading, e.g. "Have a Story Like This One?" */
.fs-final-cta__eyebrow {
	display: block;
	margin-bottom: 1rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: #c62c26;
}

/* Compact variant used for the story-page closing card. Matches the
   preview's .tl-newsletter (padding-block 4.5rem, no forced min-height,
   narrower 34rem inner column, smaller title). */
.fs-final-cta--compact {
	min-height: 0;
	padding-block: 4.5rem;
}

.fs-final-cta--compact .fs-final-cta__inner {
	max-width: 34rem;
}

.fs-final-cta--compact .fs-final-cta__title {
	font-size: 2.1rem;
}

.fs-final-cta--compact .fs-final-cta__subtitle {
	margin-top: 1rem;
	font-size: 1rem;
}

/* ---------- About page narrow content column ---------- */
/* Matches the approved preview's .about-page__inner { max-width: 46rem }.
   Applied via _css_classes on the specific Elementor sections that hold
   the "Our Experience / Why We Exist / What We Do" narrative copy, so
   only those sections narrow, not the full-width masthead or team grid. */
.fs-about-narrow > .elementor-container {
	max-width: 46rem;
}

/* ---------- Shared buttons ---------- */

.fs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 3rem;
	padding-inline: 1.75rem;
	border-radius: 999px;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	margin-top: 2rem;
	transition: background 0.2s ease;
}

.fs-btn--outline {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: #ffffff;
}

.fs-btn--outline:hover {
	background: rgba(255,255,255,0.08);
}

.fs-btn--warm-outline {
	background: transparent;
	border: 1px solid #c62c26;
	color: #f3ead9;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	padding-inline: 2rem;
}

.fs-btn--warm-outline:hover {
	background: rgba(198,44,38,0.12);
}

/* ---------- Masthead (About / Story / FAQ / Contact / Privacy) ---------- */

.fs-masthead {
	position: relative;
	background-color: #15171c;
	padding-block: 8.5rem 4rem;
	overflow: hidden;
}

.fs-masthead__inner {
	max-width: 1400px;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.fs-masthead__eyebrow {
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: #c62c26;
}

.fs-masthead__title {
	margin-top: 1.25rem;
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 400;
	font-size: 2.75rem;
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: #ffffff;
}

@media (min-width: 768px) {
	.fs-masthead__title { font-size: 3.5rem; }
}

.fs-masthead__lede {
	margin-top: 1.5rem;
	max-width: 40rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(255,255,255,0.7);
}

.fs-masthead__meta {
	margin-top: 1rem;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.55);
}

/* ---------- Card Grid (Problem / Pillars / Why) ---------- */

.fs-card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 1400px;
	margin-inline: auto;
	padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
	.fs-card-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
	.fs-card-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
	.fs-card-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.fs-card-grid--dark { background-color: #15171c; }

.fs-card-grid__item {
	padding: 1.75rem;
	border-radius: 0.75rem;
	background-color: #ffffff;
	border: 1px solid rgba(0,0,0,0.08);
}

.fs-card-grid--dark .fs-card-grid__item {
	background-color: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.08);
}

.fs-card-grid__title {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	color: #15171c;
	margin: 0;
}

.fs-card-grid--dark .fs-card-grid__title { color: #ffffff; }

.fs-card-grid__text {
	margin-top: 0.5rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(21,23,28,0.7);
}

.fs-card-grid--dark .fs-card-grid__text { color: rgba(255,255,255,0.7); }

/* ---------- Process Steps ---------- */

.fs-process {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: 1400px;
	margin-inline: auto;
	padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
	.fs-process { grid-template-columns: repeat(4, 1fr); }
}

.fs-process__num {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-size: 1.5rem;
	color: #c62c26;
}

.fs-process__title {
	margin-top: 0.75rem;
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	color: #ffffff;
}

.fs-process__text {
	margin-top: 0.5rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
}

/* ---------- FAQ Accordion ---------- */

.fs-faq {
	max-width: 800px;
	margin-inline: auto;
	padding: 1rem 1.25rem;
}

.fs-faq__item {
	border-bottom: 1px solid rgba(21,23,28,0.1);
}

.fs-faq__question {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1rem 0;
	border: 0;
	background: none;
	text-align: left;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	color: #15171c;
	cursor: pointer;
}

.fs-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
}

.fs-faq__icon::before,
.fs-faq__icon::after {
	content: '';
	position: absolute;
	background: #c62c26;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.fs-faq__icon::before { width: 100%; height: 2px; }
.fs-faq__icon::after { width: 2px; height: 100%; transition: transform 0.2s ease; }

.fs-faq__item.is-open .fs-faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }

.fs-faq__answer {
	display: none;
	padding-bottom: 1rem;
}

.fs-faq__item.is-open .fs-faq__answer {
	display: block;
}

.fs-faq__answer > p {
	margin: 0;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.92rem;
	line-height: 1.6;
	color: rgba(21,23,28,0.7);
}

/* ---------- Team Grid ---------- */

.fs-team-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	max-width: 900px;
	margin-inline: auto;
	padding: 2rem 1.25rem;
	text-align: center;
}

@media (min-width: 768px) {
	.fs-team-grid { grid-template-columns: repeat(3, 1fr); }
}

.fs-team-grid__photo {
	width: 100%;
	max-width: 200px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 999px;
	margin-inline: auto;
}

.fs-team-grid__name {
	margin-top: 1rem;
	font-family: 'League Spartan', system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 600;
	color: #ffffff;
}

.fs-team-grid__role {
	margin-top: 0.15rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.6);
}

/* ---------- Service Hero ---------- */

.fs-service-hero {
	background-color: #15171c;
	padding-block: 6rem;
}

.fs-service-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
	/* Matches the approved preview's .svc-hero__inner { max-width: 46rem }.
	   The preview's hero has no media column at all (text-only, icon +
	   title + lede + two buttons); this widget keeps its existing
	   text+image layout per the current architecture, but the overall
	   column must not stretch to the full 1400px Kit width the way a
	   boxed section would default to. */
	max-width: 46rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}

@media (min-width: 1024px) {
	.fs-service-hero__grid { grid-template-columns: 1fr 1fr; }
}

.fs-service-hero__title {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.1;
	color: #ffffff;
	margin: 0;
}

@media (min-width: 768px) {
	.fs-service-hero__title { font-size: 2.75rem; }
}

.fs-service-hero__lede {
	margin-top: 1.25rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
}

.fs-service-hero__media img {
	width: 100%;
	border-radius: 0.75rem;
	display: block;
}

/* ---------- Stat Block ---------- */

.fs-stat {
	text-align: center;
	padding: 2rem 1.25rem;
}

.fs-stat__number {
	font-family: 'League Spartan', system-ui, sans-serif;
	font-weight: 400;
	font-size: 4.5rem;
	line-height: 1;
	color: #c62c26;
}

.fs-stat__label {
	margin-top: 0.5rem;
	font-family: 'Montserrat', system-ui, sans-serif;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #737373;
}

/* ==========================================================================
   Elementor wrapper normalization
   --------------------------------------------------------------------------
   The self-section widgets below render their own <section> with their own
   full-width layout, max-width, and padding. Elementor's default
   `.elementor-element-populated` class adds 10px padding to the widget-wrap
   and its widget-container, which pushes the widget's own <section> inward
   by 10px on every side. That breaks the full-bleed video hero and shifts
   every masthead / showcase / final-cta by 10px inside boxed sections too.
   Zero the wrap padding *only* for these specific widgets so the widget's
   own layout system owns the visual result. No !important; this is
   deliberately narrow.
   ========================================================================== */

.elementor-widget-firestarter_chapter,
.elementor-widget-firestarter_masthead,
.elementor-widget-firestarter_showcase,
.elementor-widget-firestarter_final_cta,
.elementor-widget-firestarter_service_hero {
	padding: 0;
	margin: 0;
}

.elementor-widget-firestarter_chapter > .elementor-widget-container,
.elementor-widget-firestarter_masthead > .elementor-widget-container,
.elementor-widget-firestarter_showcase > .elementor-widget-container,
.elementor-widget-firestarter_final_cta > .elementor-widget-container,
.elementor-widget-firestarter_service_hero > .elementor-widget-container {
	padding: 0;
	margin: 0;
}

/* The section that hosts a fs-chapter needs its own padding to actually be
   zero as well; it's set to zero in the page-data JSON, but Elementor's
   built-in .elementor-section-full_width still applies a default max-width
   through its container. Ensure the full_width section's container really
   is 100% wide so the video and content span the whole viewport. */
.elementor-section.elementor-section-full_width > .elementor-container {
	max-width: 100%;
}

/* The .elementor-element-populated class from Elementor puts 10px padding
   on every widget-wrap that contains at least one widget. That's fine for
   the contained widgets (fs-card-grid etc.) but the SECTION column that
   wraps a fs-chapter needs to be zero. Neutralize when the column contains
   the full-bleed widget. */
.elementor-column:has(.elementor-widget-firestarter_chapter) > .elementor-widget-wrap,
.elementor-column:has(.elementor-widget-firestarter_masthead) > .elementor-widget-wrap,
.elementor-column:has(.elementor-widget-firestarter_showcase) > .elementor-widget-wrap,
.elementor-column:has(.elementor-widget-firestarter_final_cta) > .elementor-widget-wrap,
.elementor-column:has(.elementor-widget-firestarter_service_hero) > .elementor-widget-wrap {
	padding: 0;
}

/* Hero chapter (first section on Home): the title steps up further than
   the regular chapter title, matching the preview's `.chapter--hero
   .chapter-title` sizes. */
.fs-chapter--hero .fs-chapter__title {
	font-size: 2.75rem;
}
@media (min-width: 640px) {
	.fs-chapter--hero .fs-chapter__title { font-size: 4.5rem; }
}
@media (min-width: 768px) {
	.fs-chapter--hero .fs-chapter__title { font-size: 6rem; }
}

/* ---------- Service page narrow section heads ---------- */
/* Matches the approved preview's .svc-section__head { max-width: 42rem;
   margin-inline: auto; text-align: center }. Applied via _css_classes on
   the specific sections holding a section heading + lede (the "Problem",
   "Solution", and closing statement heads across every service page),
   never on the full-width card grids, process steps, or hero/final-cta,
   which intentionally span the full container. */
.fs-svc-narrow-head > .elementor-container {
	max-width: 42rem;
	text-align: center;
}
