/*
 * Forge Studio Architecture - main stylesheet.
 * Mobile-first, custom properties, accessible contrast. No framework.
 */

:root {
	--fsa-bg: #ffffff;
	--fsa-bg-alt: #f4f6f9;
	--fsa-ink: #1b2430;
	--fsa-ink-soft: #45515f;
	--fsa-line: rgba(27, 36, 48, 0.12);
	--fsa-graphite: #0f1620;
	--fsa-graphite-2: #18222f;
	--fsa-on-dark: #eef2f7;
	--fsa-on-dark-soft: #b6c2d0;
	--fsa-accent: #2f9e8f;       /* calm teal */
	--fsa-accent-ink: #ffffff;
	--fsa-accent-strong: #267f73;
	--fsa-radius: 14px;
	--fsa-radius-sm: 10px;
	--fsa-btn-radius: 999px;
	--fsa-shadow: 0 1px 3px rgba(15, 22, 32, 0.07), 0 8px 24px rgba(15, 22, 32, 0.06);
	--fsa-container: 1120px;
	--fsa-gap: 22px;
	/* Header / logo sizing — overridden inline from Forge Studio Design settings. */
	--fsa-logo-desktop-height: 84px;
	--fsa-logo-mobile-height: 48px;
	--fsa-logo-max-width: 320px;
	--fsa-header-pad: 12px;
	--fsa-header-pad-mobile: 8px;
	--fsa-brand-size: 20px;
	--fsa-brand-size-mobile: 16px;
	--fsa-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--fsa-font);
	color: var(--fsa-ink);
	background: var(--fsa-bg);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--fsa-accent-strong); }
a:hover, a:focus { color: var(--fsa-accent); }

h1, h2, h3 { line-height: 1.2; color: var(--fsa-ink); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin: 0 0 14px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }
p { margin: 0 0 16px; }

.fsa-container {
	width: 100%;
	max-width: var(--fsa-container);
	margin: 0 auto;
	padding-left: clamp(18px, 5vw, 32px);
	padding-right: clamp(18px, 5vw, 32px);
}

.fsa-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fsa-graphite);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
	border-radius: 0 0 8px 0;
}
.fsa-skip-link:focus { left: 0; }

/* Header ------------------------------------------------------------ */
.fsa-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--fsa-line);
}
.fsa-site-header__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	padding-top: var(--fsa-header-pad, 16px);
	padding-bottom: var(--fsa-header-pad, 16px);
}
.fsa-brand { font-weight: 800; letter-spacing: 0.2px; line-height: 1; display: flex; align-items: center; min-width: 0; }
.fsa-brand__text { color: var(--fsa-ink); text-decoration: none; white-space: nowrap; font-size: var(--fsa-brand-size, 20px); }
.fsa-logo-link { display: inline-flex; align-items: center; }
.fsa-brand .fsa-logo-img,
.fsa-brand img,
.fsa-brand .custom-logo,
.fsa-brand__logo img {
	height: auto;
	width: auto;
	max-height: var(--fsa-logo-desktop-height, 72px);
	max-width: var(--fsa-logo-max-width, 280px);
	object-fit: contain;
	display: block;
}

.fsa-primary-nav { margin-left: auto; }
.fsa-header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.fsa-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.fsa-menu a {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--fsa-ink-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.97rem;
}
.fsa-menu a:hover, .fsa-menu .current-menu-item > a, .fsa-menu .current_page_item > a {
	color: var(--fsa-ink);
	background: var(--fsa-bg-alt);
}

.fsa-langswitch {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}
.fsa-langswitch__current { color: var(--fsa-ink); }
.fsa-langswitch__sep { color: var(--fsa-line); }
.fsa-langswitch__link { color: var(--fsa-ink-soft); text-decoration: none; }
.fsa-langswitch__link:hover { color: var(--fsa-accent-strong); }

.fsa-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--fsa-line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	flex: 0 0 auto;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.fsa-nav-toggle:hover { background: var(--fsa-bg-alt); border-color: var(--fsa-ink-soft); }
.fsa-nav-toggle__icon,
.fsa-nav-toggle__icon::before,
.fsa-nav-toggle__icon::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--fsa-ink);
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.fsa-nav-toggle__icon { position: relative; }
.fsa-nav-toggle__icon::before,
.fsa-nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.fsa-nav-toggle__icon::before { top: -7px; }
.fsa-nav-toggle__icon::after { top: 7px; }
.fsa-nav-toggle[aria-expanded="true"] .fsa-nav-toggle__icon { background: transparent; }
.fsa-nav-toggle[aria-expanded="true"] .fsa-nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
.fsa-nav-toggle[aria-expanded="true"] .fsa-nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

/* Hero -------------------------------------------------------------- */
.fsa-hero {
	background: radial-gradient(1200px 500px at 80% -10%, var(--fsa-graphite-2), var(--fsa-graphite));
	color: var(--fsa-on-dark);
}
.fsa-hero__inner {
	padding-top: clamp(48px, 9vw, 96px);
	padding-bottom: clamp(48px, 9vw, 96px);
	max-width: 880px;
}
.fsa-hero__title {
	color: #fff;
	font-size: clamp(2rem, 6vw, 3.1rem);
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}
.fsa-hero__subtitle {
	color: var(--fsa-on-dark-soft);
	font-size: clamp(1.05rem, 2.4vw, 1.25rem);
	margin: 0 0 28px;
	max-width: 60ch;
}

/* Buttons ----------------------------------------------------------- */
.fsa-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fsa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: var(--fsa-btn-radius, 999px);
	background: var(--fsa-accent);
	color: var(--fsa-accent-ink);
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s ease, transform 0.15s ease;
}
.fsa-btn:hover, .fsa-btn:focus { background: var(--fsa-accent-strong); color: #fff; }
.fsa-btn--ghost {
	background: transparent;
	color: var(--fsa-on-dark);
	border-color: rgba(255, 255, 255, 0.35);
}
.fsa-btn--ghost:hover, .fsa-btn--ghost:focus { background: rgba(255, 255, 255, 0.1); color: #fff; }
/* Ghost buttons on light sections */
.fsa-content .fsa-btn--ghost, .fsa-empty .fsa-btn--ghost {
	color: var(--fsa-accent-strong);
	border-color: var(--fsa-accent);
}
.fsa-content .fsa-btn--ghost:hover, .fsa-content .fsa-btn--ghost:focus, .fsa-empty .fsa-btn--ghost:hover, .fsa-empty .fsa-btn--ghost:focus { background: rgba(47, 158, 143, 0.1); color: var(--fsa-accent-strong); }

/* Content + sections ------------------------------------------------ */
.fsa-section { padding-top: clamp(40px, 7vw, 64px); padding-bottom: clamp(40px, 7vw, 64px); }
.fsa-section--tight { padding-top: 0; }
.fsa-content { max-width: 980px; }
.fsa-content > h2 { margin-top: 8px; }
.fsa-content > * + h2 { margin-top: 40px; }
.fsa-content ul, .fsa-content ol { margin: 0 0 16px; padding-left: 22px; }
.fsa-content li { margin: 6px 0; }
.fsa-lead { font-size: 1.15rem; color: var(--fsa-ink-soft); }

.fsa-page-header {
	background: var(--fsa-bg-alt);
	border-bottom: 1px solid var(--fsa-line);
	padding: clamp(28px, 6vw, 52px) 0;
}
.fsa-page-header__title { margin: 0; font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.fsa-page-header__intro { margin: 12px 0 0; color: var(--fsa-ink-soft); max-width: 60ch; }
.fsa-page-header__meta { color: var(--fsa-ink-soft); font-weight: 600; margin-bottom: 8px; }

/* Cards ------------------------------------------------------------- */
.fsa-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--fsa-gap);
	margin: 8px 0 24px;
}
.fsa-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--fsa-line);
	border-radius: var(--fsa-radius);
	box-shadow: var(--fsa-shadow);
	padding: 22px 22px;
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.fsa-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 6px rgba(15, 22, 32, 0.08), 0 16px 36px rgba(15, 22, 32, 0.09);
}
.fsa-card__title { margin: 0 0 8px; font-size: 1.18rem; }
.fsa-card__title a { color: var(--fsa-ink); text-decoration: none; }
.fsa-card__title a:hover { color: var(--fsa-accent-strong); }
.fsa-card__text { margin: 0; color: var(--fsa-ink-soft); }
.fsa-card__meta { font-size: 0.85rem; color: var(--fsa-ink-soft); margin-bottom: 6px; }
.fsa-card .fsa-btn, .fsa-card a.fsa-cardlink { margin-top: 12px; }
.fsa-cardlink { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }

.fsa-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	background: #eaf5f3;
	color: var(--fsa-accent-strong);
	font-size: 0.8rem;
	font-weight: 700;
}

/* Portfolio cards + media ------------------------------------------- */
.fsa-portfolio-card { padding: 0; display: flex; flex-direction: column; }
.fsa-portfolio-card__media { display: block; aspect-ratio: 4 / 3; background: var(--fsa-bg-alt); overflow: hidden; }
.fsa-portfolio-card__img { width: 100%; height: 100%; object-fit: cover; }
.fsa-portfolio-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #e8edf3, #dde4ec); }
.fsa-portfolio-card .fsa-card__body { padding: 18px 20px 22px; }

/* Empty state ------------------------------------------------------- */
.fsa-empty {
	text-align: center;
	border: 1px dashed var(--fsa-line);
	border-radius: 16px;
	background: var(--fsa-bg-alt);
	padding: clamp(28px, 6vw, 48px) 22px;
}
.fsa-empty__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 480px; margin: 0 auto 20px; }
.fsa-empty__tiles span { display: block; aspect-ratio: 4 / 3; border-radius: 12px; background: linear-gradient(135deg, #e8edf3, #dbe3ec); }
.fsa-empty__title { margin: 0 0 10px; }
.fsa-empty__text { margin: 0 auto 18px; color: var(--fsa-ink-soft); max-width: 52ch; }

.fsa-single-portfolio__media { margin-top: 24px; }
.fsa-single-portfolio__img { border-radius: var(--fsa-radius); width: 100%; }

.fsa-pagination { margin-top: 16px; }
.fsa-pagination .page-numbers { display: inline-block; padding: 8px 12px; border: 1px solid var(--fsa-line); border-radius: 8px; margin: 0 4px 4px 0; text-decoration: none; }
.fsa-pagination .current { background: var(--fsa-accent); color: #fff; border-color: var(--fsa-accent); }

/* Footer ------------------------------------------------------------ */
.fsa-site-footer {
	background: var(--fsa-graphite);
	color: var(--fsa-on-dark-soft);
	margin-top: 24px;
}
.fsa-site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	padding-top: 44px;
	padding-bottom: 28px;
}
.fsa-footer__brand { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 10px; }
.fsa-footer__tag { margin: 0; max-width: 52ch; }
.fsa-footer__title { color: #fff; font-weight: 700; margin-bottom: 10px; }
.fsa-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fsa-footer__links a { color: var(--fsa-on-dark-soft); text-decoration: none; }
.fsa-footer__links a:hover { color: #fff; }
.fsa-site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: 28px; font-size: 0.9rem; }

/* Tablet ------------------------------------------------------------ */
@media (min-width: 600px) {
	.fsa-cards-2, .fsa-cards-3, .fsa-cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
	.fsa-cards-3 { grid-template-columns: repeat(3, 1fr); }
	.fsa-cards-4 { grid-template-columns: repeat(4, 1fr); }
	.fsa-site-footer__inner { grid-template-columns: 2fr 1fr; }
}

/* Mobile header + menu --------------------------------------------- */
@media (max-width: 860px) {
	/* Solid (opaque) header on mobile so page/hero text never bleeds through the bar while
	   it is pinned. The translucent blur is kept for desktop only. */
	.fsa-site-header {
		position: static;
		background: var(--fsa-bg);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	/* Default mobile header is non-sticky (scrolls away with the page). When the "Sticky
	   mobile header" option is on, the body gets .fsa-sticky-mobile and the header pins to
	   the top with position:sticky (not fixed), so the open push-down menu stays attached. */
	.fsa-sticky-mobile .fsa-site-header { position: sticky; top: 0; z-index: 100; }
	/* Keep a long open menu within the viewport when the header is pinned. */
	.fsa-sticky-mobile .fsa-primary-nav.is-open { max-height: 70vh; overflow-y: auto; }

	/* One clean row: brand left, actions (language switch + menu button) right. The open
	   menu wraps to a full-width second row that PUSHES content down — no overlay. */
	.fsa-site-header__inner {
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding-top: var(--fsa-header-pad-mobile, 8px);
		padding-bottom: var(--fsa-header-pad-mobile, 8px);
	}
	.fsa-brand { flex: 1 1 auto; min-width: 0; }
	.fsa-brand__text {
		display: block;
		max-width: 100%;
		font-size: var(--fsa-brand-size-mobile, 16px);
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.fsa-brand .fsa-logo-img,
	.fsa-brand img,
	.fsa-brand .custom-logo,
	.fsa-brand__logo img { max-height: var(--fsa-logo-mobile-height, 44px); }
	.fsa-header-actions { flex: 0 0 auto; margin-left: auto; gap: 10px; }
	.fsa-nav-toggle { display: inline-flex; }

	/* Push-down panel: full-width, in normal flow below the header row. */
	.fsa-primary-nav {
		order: 10;
		flex-basis: 100%;
		width: 100%;
		margin: 0;
		display: none;
		background: var(--fsa-bg);
		border-top: 1px solid var(--fsa-line);
	}
	.fsa-primary-nav.is-open { display: block; }
	.fsa-menu {
		flex-direction: column;
		gap: 2px;
		padding: 8px 0 6px;
	}
	.fsa-menu a { display: block; padding: 13px 12px; border-radius: 10px; font-size: 1.02rem; }
	.fsa-menu a:hover,
	.fsa-menu .current-menu-item > a,
	.fsa-menu .current_page_item > a { background: var(--fsa-bg-alt); }
}

/* Compact mobile header (design setting): tighten spacing only, so the configured
   logo / brand-text sizes are still respected. */
@media (max-width: 860px) {
	.fsa-compact-header .fsa-site-header__inner { min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
	/* Keep the toggle at the 44x44 accessible tap-target even in the compact header. */
}

/* Admin-bar offset for sticky headers — scoped to .admin-bar (logged-in only), using
   WordPress's own 782px breakpoint:
   - >= 783px the admin bar is FIXED (32px), so the sticky header sits 32px below it.
   - <= 782px the admin bar is ABSOLUTE (46px) and scrolls away with the page, so the mobile
     sticky header must pin to top:0. Offsetting it by 46px here would leave a 46px gap once
     the bar scrolls off — that gap is exactly what let hero text appear above the header. */
@media (min-width: 783px) {
	.admin-bar .fsa-site-header { top: 32px; }
}
@media (max-width: 782px) {
	.admin-bar.fsa-sticky-mobile .fsa-site-header { top: 0; }
}

/* Footer extras ----------------------------------------------------- */
.fsa-footer__contact { margin: 12px 0 0; }
.fsa-footer__contact a { color: #fff; text-decoration: none; }
.fsa-footer__contact a:hover { text-decoration: underline; }
.fsa-site-footer__bottom { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; }
.fsa-footer__secondary { color: var(--fsa-on-dark-soft); opacity: 0.85; }

/* Back-to-top ------------------------------------------------------- */
.fsa-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: var(--fsa-accent);
	color: #fff;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(15, 22, 32, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
	z-index: 80;
}
.fsa-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fsa-to-top:hover, .fsa-to-top:focus { background: var(--fsa-accent-strong); }
.fsa-to-top[hidden] { display: none; }
@media (max-width: 600px) {
	.fsa-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* AI / feature card structure -------------------------------------- */
.fsa-card__list { margin: 10px 0 14px; padding-left: 18px; color: var(--fsa-ink-soft); line-height: 1.55; }
.fsa-card__list li { margin: 6px 0; }
.fsa-card__status {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 5px 11px;
	border-radius: 999px;
	background: #fff5e6;
	color: #8a5300;
	font-size: 0.8rem;
	font-weight: 700;
}
.fsa-badge--prep { background: #fff5e6; color: #8a5300; }

/* Portfolio: featured badge + category cards + gallery -------------- */
.fsa-portfolio-card { position: relative; }
.fsa-portfolio-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(15, 22, 32, 0.82);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.fsa-empty__cats { margin-top: 26px; }
.fsa-empty__cats .fsa-card { text-align: left; }

.fsa-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 8px 0 8px;
	list-style: none;
	padding: 0;
}
.fsa-gallery li { margin: 0; }
.fsa-gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--fsa-radius-sm); background: var(--fsa-bg-alt); }
.fsa-gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 700px) { .fsa-gallery { grid-template-columns: repeat(3, 1fr); } }

.fsa-meta-list { list-style: none; margin: 0 0 20px; padding: 16px 18px; background: var(--fsa-bg-alt); border: 1px solid var(--fsa-line); border-radius: var(--fsa-radius); display: grid; gap: 8px; }
.fsa-meta-list li { display: flex; gap: 10px; flex-wrap: wrap; }
.fsa-meta-list .fsa-meta-list__k { font-weight: 700; color: var(--fsa-ink); min-width: 92px; }
.fsa-meta-list .fsa-meta-list__v { color: var(--fsa-ink-soft); }

/* Content components (v1.7): intro panels, callouts, steps, checklists,
   status chips, CTA sections. Lightweight, reuse existing tokens. ----- */
/* Stacked card paragraphs need breathing room (card__text resets p margins). */
.fsa-card__text + .fsa-card__text { margin-top: 10px; }
.fsa-intro-panel {
	background: var(--fsa-bg-alt);
	border: 1px solid var(--fsa-line);
	border-left: 4px solid var(--fsa-accent);
	border-radius: var(--fsa-radius);
	padding: 20px 22px;
	margin: 0 0 28px;
	max-width: 76ch;
}
.fsa-intro-panel p { max-width: none; }
.fsa-intro-panel p:last-child { margin-bottom: 0; }

.fsa-callout {
	background: #eaf5f3;
	border: 1px solid rgba(47, 158, 143, 0.35);
	border-radius: var(--fsa-radius-sm);
	padding: 14px 18px;
	margin: 0 0 24px;
	color: var(--fsa-ink);
	max-width: 76ch;
}
.fsa-callout p:last-child { margin-bottom: 0; }

.fsa-steps { counter-reset: fsa-step; list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 14px; max-width: 70ch; }
.fsa-steps li { position: relative; padding-left: 46px; min-height: 32px; }
.fsa-steps li::before {
	counter-increment: fsa-step;
	content: counter(fsa-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--fsa-accent);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fsa-checklist { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 10px; max-width: 70ch; }
.fsa-checklist li { position: relative; padding-left: 28px; }
.fsa-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--fsa-accent-strong); font-weight: 700; }

.fsa-chip {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	white-space: nowrap;
}
.fsa-chip--ready { background: #e7f5ee; color: #1d6b43; }
.fsa-chip--dev { background: #fff5e6; color: #8a5300; }
.fsa-chip--future { background: #eef2f7; color: #45515f; }

.fsa-cta-section {
	background: radial-gradient(900px 360px at 80% -20%, var(--fsa-graphite-2), var(--fsa-graphite));
	color: var(--fsa-on-dark);
	border-radius: var(--fsa-radius);
	padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 36px);
	text-align: center;
	margin: 40px 0 8px;
}
.fsa-cta-section h2 { color: #fff; margin-top: 0; }
.fsa-cta-section p { color: var(--fsa-on-dark-soft); max-width: 56ch; margin-left: auto; margin-right: auto; }
.fsa-cta-section .fsa-cta-row { justify-content: center; margin-top: 18px; }
/* Ghost buttons inside the dark CTA section revert to on-dark styling. */
.fsa-content .fsa-cta-section .fsa-btn--ghost { color: var(--fsa-on-dark); border-color: rgba(255, 255, 255, 0.35); }
.fsa-content .fsa-cta-section .fsa-btn--ghost:hover,
.fsa-content .fsa-cta-section .fsa-btn--ghost:focus { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Rhythm + mobile typography polish -------------------------------- */
.fsa-content > p, .fsa-content > ul, .fsa-content > ol { max-width: 70ch; }
.fsa-content > h3 { margin-top: 24px; }
@media (max-width: 600px) {
	body { font-size: 16px; line-height: 1.6; }
	.fsa-hero__inner { padding-top: 40px; padding-bottom: 40px; }
	.fsa-hero__title { font-size: clamp(1.7rem, 8vw, 2.3rem); line-height: 1.18; }
	.fsa-hero__subtitle { font-size: 1.02rem; }
	.fsa-cta-row .fsa-btn { width: 100%; }
	.fsa-card { padding: 20px; }
	.fsa-card__list { padding-left: 20px; }
	.fsa-meta-list .fsa-meta-list__k { min-width: 0; }
	.fsa-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--fsa-accent); outline-offset: 2px; }
