/* ============================================================
 * Our Apps Showcase — front-end styles
 *
 * Design language:
 *   - Calm, modern, app-store-grade visual hierarc
 *   - Indigo/violet primary (#4f46e5 -> #7c3aed gradient)
 *   - Soft surfaces, generous whitespace, fluid type
 *   - Screenshots: clean 9:16 portrait, no device frame
 *   - Centered layouts for both archive + single pages
 * ============================================================ */

:root {
	--fdas-primary: #4f46e5;
	--fdas-primary-dark: #4338ca;
	--fdas-primary-soft: #eef2ff;
	--fdas-accent: #7c3aed;
	--fdas-success: #10b981;
	--fdas-text: #0f172a;
	--fdas-text-muted: #64748b;
	--fdas-text-subtle: #94a3b8;
	--fdas-bg: #ffffff;
	--fdas-bg-alt: #f8fafc;
	--fdas-bg-soft: #f1f5f9;
	--fdas-border: #e2e8f0;
	--fdas-border-strong: #cbd5e1;
	--fdas-radius-sm: 10px;
	--fdas-radius: 16px;
	--fdas-radius-lg: 24px;
	--fdas-radius-pill: 999px;
	--fdas-shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
	--fdas-shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
	--fdas-shadow: 0 4px 14px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .04);
	--fdas-shadow-lg: 0 18px 40px rgba(15, 23, 42, .14), 0 6px 12px rgba(15, 23, 42, .06);
	--fdas-shadow-hover: 0 14px 32px rgba(79, 70, 229, .22);
	--fdas-gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
	--fdas-container: 1200px;
	--fdas-container-narrow: 760px;
	--fdas-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--fdas-font-display: var(--fdas-font-base);
	--fdas-transition: .25s cubic-bezier(.4, 0, .2, 1);
	--fdas-focus-ring: 0 0 0 3px rgba(79, 70, 229, .35);
}

/* ============================================================
 * Accessibility helpers
 * ============================================================ */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
 * Reset + base
 * =========================================================== */
.fdas-archive-main,
.fdas-single-main {
	box-sizing: border-box;
	display: block;
	width: 100%;
	margin-left: auto !important;
	margin-right: auto !important;
	margin-top: 0;
	margin-bottom: 0;
	padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 24px) clamp(40px, 6vw, 80px);
	font-family: var(--fdas-font-base);
	color: var(--fdas-text);
	line-height: 1.6;
	text-align: center;
	/* Center inline children too */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.fdas-archive-main {
	max-width: var(--fdas-container);
}

.fdas-single-main {
	max-width: var(--fdas-container-narrow);
}

/* Re-justify block-level text content that should remain left-aligned */
.fdas-single__content {
	text-align: left;
}

.fdas-archive-main *,
.fdas-single-main *,
.fdas-archive-main *::before,
.fdas-archive-main *::after,
.fdas-single-main *::before,
.fdas-single-main *::after {
	box-sizing: inherit;
}

.fdas-archive-main img,
.fdas-single-main img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--fdas-primary);
}

.fdas-archive-main a:focus-visible,
.fdas-single-main a:focus-visible,
.fdas-archive-main button:focus-visible,
.fdas-single-main button:focus-visible {
	outline: none;
	box-shadow: var(--fdas-focus-ring);
	border-radius: var(--fdas-radius-sm);
}

/* ============================================================
 * Type scale
 * ============================================================ */
.fdas-archive__title,
.fdas-single__title {
	font-family: var(--fdas-font-display);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	font-size: clamp(1.85rem, 1.4rem + 2vw, 2.85rem);
	line-height: 1.1;
}

.fdas-section__title {
	font-family: var(--fdas-font-display);
	font-weight: 700;
	font-size: clamp(1.3rem, 1rem + .8vw, 1.65rem);
	margin: 0 0 18px;
	color: var(--fdas-text);
	letter-spacing: -0.01em;
	line-height: 1.25;
}

/* ============================================================
 * Archive / Home — Hero (centered)
 * ============================================================ */
.fdas-archive__hero {
	text-align: center;
	margin: 0 auto clamp(32px, 5vw, 56px);
	max-width: 720px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 14px;
}

.fdas-archive__eyebrow {
	display: inline-block;
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--fdas-primary);
	background: var(--fdas-primary-soft);
	padding: 6px 16px;
	border-radius: var(--fdas-radius-pill);
}

.fdas-archive__title {
	text-align: center;
}

.fdas-archive__lead {
	color: var(--fdas-text-muted);
	max-width: 560px;
	margin: 0 auto;
	font-size: clamp(1rem, .95rem + .25vw, 1.15rem);
	text-align: center;
	line-height: 1.55;
}

/* ============================================================
 * Archive / Home — Grid (centered, generous)
 * ============================================================ */
.fdas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: clamp(20px, 2.5vw, 28px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
	justify-items: center;
}

.fdas-card {
	background: var(--fdas-bg);
	border: 1px solid var(--fdas-border);
	border-radius: var(--fdas-radius-lg);
	overflow: hidden;
	transition: -webkit-transform var(--fdas-transition), transform var(--fdas-transition), box-shadow var(--fdas-transition), border-color var(--fdas-transition);
	box-shadow: var(--fdas-shadow-sm);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	will-change: transform;
	max-width: 340px;
	width: 100%;
}

.fdas-card:hover,
.fdas-card:focus-within {
	-webkit-transform: translateY(-6px);
	transform: translateY(-6px);
	box-shadow: var(--fdas-shadow-hover);
	border-color: var(--fdas-primary-soft);
}

.fdas-card__link {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	padding: 24px;
	color: inherit;
	text-decoration: none;
	gap: 14px;
	text-align: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.fdas-card__icon {
	width: clamp(72px, 9vw, 96px);
	aspect-ratio: 1 / 1;
	-webkit-aspect-ratio: 1 / 1;
	border-radius: 24%;
	overflow: hidden;
	background: var(--fdas-bg-soft);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	box-shadow: var(--fdas-shadow-xs);
	-ms-flex-negative: 0;
	flex-shrink: 0;
	margin: 0 auto;
}

.fdas-card__icon-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.fdas-card__title {
	font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem);
	font-weight: 700;
	margin: 0;
	color: var(--fdas-text);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.fdas-card__desc {
	color: var(--fdas-text-muted);
	font-size: .92rem;
	line-height: 1.55;
	margin: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 32ch;
}

.fdas-card__meta {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 6px;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-pill {
	display: inline-block;
	font-size: .72rem;
	background: var(--fdas-primary-soft);
	color: var(--fdas-primary-dark);
	padding: 4px 10px;
	border-radius: var(--fdas-radius-pill);
	font-weight: 700;
	letter-spacing: .02em;
}

.fdas-card__cta {
	color: var(--fdas-primary);
	font-weight: 700;
	font-size: .95rem;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 4px;
	transition: gap var(--fdas-transition);
}

.fdas-card:hover .fdas-card__cta,
.fdas-card:focus-within .fdas-card__cta {
	gap: 10px;
}

.fdas-empty {
	text-align: center;
	color: var(--fdas-text-muted);
	padding: 60px 0;
	font-size: 1.1rem;
}

/* Pagination */
.fdas-pagination {
	margin-top: clamp(32px, 5vw, 56px);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-pagination .page-numbers {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-pagination a,
.fdas-pagination span {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: var(--fdas-radius-pill);
	border: 1px solid var(--fdas-border);
	background: var(--fdas-bg);
	color: var(--fdas-text);
	text-decoration: none;
	font-weight: 600;
	min-height: 44px;
	min-width: 44px;
	transition: background var(--fdas-transition), color var(--fdas-transition), border-color var(--fdas-transition);
}

.fdas-pagination a:hover {
	background: var(--fdas-primary-soft);
	border-color: var(--fdas-primary);
	color: var(--fdas-primary-dark);
}

.fdas-pagination .current {
	background: var(--fdas-primary);
	color: #fff;
	border-color: var(--fdas-primary);
}

/* ============================================================
 * Single App — Breadcrumbs
 * ============================================================ */
.fdas-breadcrumbs {
	font-size: .9rem;
	color: var(--fdas-text-muted);
	margin-bottom: clamp(16px, 2vw, 24px);
}

.fdas-breadcrumbs__list {
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-breadcrumbs__item a {
	color: var(--fdas-primary);
	text-decoration: none;
	font-weight: 500;
}

.fdas-breadcrumbs__item a:hover {
	text-decoration: underline;
}

.fdas-breadcrumbs__item--current {
	color: var(--fdas-text);
	font-weight: 600;
	max-width: 50ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fdas-breadcrumbs__sep {
	color: var(--fdas-text-subtle);
}

/* ============================================================
 * Single App — Hero (centered)
 * ============================================================ */
.fdas-single__hero {
	background: var(--fdas-gradient-hero);
	color: #fff;
	border-radius: var(--fdas-radius-lg);
	padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px);
	margin-bottom: clamp(24px, 3vw, 36px);
	box-shadow: var(--fdas-shadow-lg);
	position: relative;
	overflow: hidden;
	text-align: center;
}

.fdas-single__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .18), transparent 55%);
	pointer-events: none;
}

.fdas-single__hero-inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 18px;
	position: relative;
	z-index: 1;
}

.fdas-single__icon {
	width: clamp(96px, 16vw, 144px);
	aspect-ratio: 1 / 1;
	-webkit-aspect-ratio: 1 / 1;
	border-radius: 30%;
	background: rgba(255, 255, 255, .15);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	margin: 0 auto;
}

.fdas-single__icon-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.fdas-single__title {
	color: #fff;
	margin: 0;
}

.fdas-single__developer {
	font-size: clamp(.9rem, .85rem + .15vw, 1rem);
	margin: 0;
	opacity: .9;
	color: #fff;
}

.fdas-single__rating {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	gap: 8px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: rgba(255, 255, 255, .14);
	padding: 6px 14px;
	border-radius: var(--fdas-radius-pill);
	font-size: .9rem;
	color: #fff;
	margin: 0;
}

.fdas-rating-stars {
	color: #fbbf24;
	letter-spacing: 2px;
	font-size: 1rem;
}

.fdas-rating-value {
	font-weight: 700;
}

/* ============================================================
 * In-page nav
 * ============================================================ */
.fdas-inpage-nav {
	background: var(--fdas-bg);
	border: 1px solid var(--fdas-border);
	border-radius: var(--fdas-radius-pill);
	padding: 6px;
	margin: 0 auto clamp(20px, 3vw, 28px);
	box-shadow: var(--fdas-shadow-sm);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	max-width: max-content;
}

.fdas-inpage-nav::-webkit-scrollbar {
	display: none;
}

.fdas-inpage-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 4px;
	min-width: max-content;
}

.fdas-inpage-nav__link {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 10px 18px;
	min-height: 40px;
	border-radius: var(--fdas-radius-pill);
	color: var(--fdas-text);
	text-decoration: none;
	font-weight: 600;
	font-size: .92rem;
	transition: background var(--fdas-transition), color var(--fdas-transition);
	white-space: nowrap;
}

.fdas-inpage-nav__link:hover,
.fdas-inpage-nav__link:focus-visible {
	background: var(--fdas-primary-soft);
	color: var(--fdas-primary-dark);
}

.fdas-inpage-nav__link.is-active {
	background: var(--fdas-primary);
	color: #fff;
}

.fdas-inpage-nav.is-sticky {
	position: sticky;
	top: 12px;
	z-index: 10;
	box-shadow: var(--fdas-shadow);
}

/* ============================================================
 * Single App — Sections
 * ============================================================ */
.fdas-single__section {
	margin: clamp(24px, 3vw, 36px) 0;
	padding: clamp(24px, 3vw, 40px);
	background: var(--fdas-bg);
	border: 1px solid var(--fdas-border);
	border-radius: var(--fdas-radius-lg);
	box-shadow: var(--fdas-shadow-sm);
	scroll-margin-top: 80px;
	text-align: center;
}

.fdas-single__section--cta {
	background: linear-gradient(180deg, var(--fdas-primary-soft) 0%, var(--fdas-bg) 100%);
	border-color: var(--fdas-primary-soft);
}

.fdas-single__content {
	font-size: 1rem;
	line-height: 1.75;
	color: var(--fdas-text);
	text-align: left;
	max-width: 64ch;
	margin: 0 auto;
}

.fdas-single__content>*:first-child {
	margin-top: 0;
}

.fdas-single__content p {
	margin: 0 0 16px;
}

.fdas-single__content img,
.fdas-single__content video,
.fdas-single__content iframe {
	max-width: 100%;
	height: auto;
	border-radius: var(--fdas-radius-sm);
}

.fdas-single__content iframe {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.fdas-single__content pre,
.fdas-single__content code {
	overflow-x: auto;
	max-width: 100%;
}

.fdas-single__cta-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-single__cta-row--center {
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-top: 16px;
}

/* ============================================================
 * Download buttons
 * ============================================================ */
.fdas-downloads {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 12px;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-btn {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	min-width: 170px;
	min-height: 56px;
	padding: 10px 22px;
	border-radius: var(--fdas-radius);
	background: #000;
	color: #fff !important;
	text-decoration: none;
	line-height: 1.1;
	transition: -webkit-transform var(--fdas-transition), transform var(--fdas-transition), box-shadow var(--fdas-transition);
	box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
	font-family: var(--fdas-font-base);
}

.fdas-btn:hover,
.fdas-btn:focus-visible {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, .32);
}

.fdas-btn:active {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.fdas-btn--android {
	background: var(--fdas-success);
}

.fdas-btn__small {
	font-size: .68rem;
	opacity: .85;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.fdas-btn__big {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -.01em;
}

/* ============================================================
 * Features
 * ============================================================ */
.fdas-features {
	position: relative;
}

.fdas-features__toggle {
	display: none;
	margin: 0 auto 14px;
	padding: 10px 18px;
	background: var(--fdas-primary);
	color: #fff;
	border: 0;
	border-radius: var(--fdas-radius);
	cursor: pointer;
	font-weight: 600;
	font-size: .9rem;
	transition: background var(--fdas-transition);
	min-height: 40px;
}

.fdas-features__toggle:hover,
.fdas-features__toggle:focus-visible {
	background: var(--fdas-primary-dark);
}

.fdas-features__list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	text-align: left;
	max-width: 720px;
}

.fdas-features__list li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 10px;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	padding: 14px 16px;
	background: var(--fdas-bg-alt);
	border-radius: var(--fdas-radius);
	color: var(--fdas-text);
	font-size: .95rem;
	line-height: 1.45;
	text-align: left;
	border: 1px solid transparent;
	transition: border-color var(--fdas-transition), -webkit-transform var(--fdas-transition);
	transition: border-color var(--fdas-transition), transform var(--fdas-transition);
}

.fdas-features__list li:hover {
	border-color: var(--fdas-primary-soft);
	-webkit-transform: translateX(2px);
	transform: translateX(2px);
}

.fdas-features__bullet {
	color: var(--fdas-success);
	font-weight: 700;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	font-size: 1.15rem;
	line-height: 1.2;
}

/* ============================================================
 * Gallery — clean 9:16 portrait screenshots
 * Horizontal row that scrolls if more than fit on screen.
 * ============================================================ */
.fdas-gallery {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	gap: clamp(16px, 2.5vw, 24px);
	margin: 0 auto;
	padding: 8px 0;
	list-style: none;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: -ms-autohiding-scrollbar;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--fdas-border-strong) transparent;
	/* When content fits (≤ ~3 screenshots), center it. */
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.fdas-gallery::-webkit-scrollbar {
	height: 8px;
}

.fdas-gallery::-webkit-scrollbar-thumb {
	background: var(--fdas-border-strong);
	border-radius: 999px;
}

.fdas-gallery::-webkit-scrollbar-track {
	background: transparent;
}

.fdas-gallery__shot {
	margin: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	width: clamp(160px, 22vw, 240px);
	aspect-ratio: 9 / 16;
	-webkit-aspect-ratio: 9 / 16;
	border-radius: var(--fdas-radius-lg);
	overflow: hidden;
	background: var(--fdas-bg-soft);
	box-shadow: var(--fdas-shadow);
	transition: -webkit-transform var(--fdas-transition), transform var(--fdas-transition), box-shadow var(--fdas-transition);
	position: relative;
	scroll-snap-align: center;
	-ms-scroll-snap-align: center;
}

.fdas-gallery__shot:hover {
	-webkit-transform: translateY(-4px);
	transform: translateY(-4px);
	box-shadow: var(--fdas-shadow-lg);
}

.fdas-gallery__shot img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	display: block;
}

/* When the gallery overflows, allow it to start from the left edge. */
.fdas-gallery.is-scrollable {
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}

/* ============================================================
 * Back nav
 * ============================================================ */
.fdas-back-nav {
	margin: clamp(28px, 4vw, 40px) auto 0;
	text-align: center;
}

.fdas-back-nav__link {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	gap: 8px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 12px 22px;
	background: var(--fdas-bg);
	border: 1px solid var(--fdas-border);
	border-radius: var(--fdas-radius-pill);
	color: var(--fdas-primary);
	text-decoration: none;
	font-weight: 600;
	transition: background var(--fdas-transition), color var(--fdas-transition), border-color var(--fdas-transition);
}

.fdas-back-nav__link:hover,
.fdas-back-nav__link:focus-visible {
	background: var(--fdas-primary);
	color: #fff;
	border-color: var(--fdas-primary);
}

/* ============================================================
 * Responsive — Tablet
 * ============================================================ */
@media (max-width: 1024px) {
	.fdas-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}
}

/* ============================================================
 * Responsive — Mobile
 * ============================================================ */
@media (max-width: 768px) {
	.fdas-features__toggle {
		display: inline-block;
	}

	.fdas-features.is-collapsed .fdas-features__list {
		max-height: 240px;
		overflow: hidden;
		position: relative;
	}

	.fdas-features.is-collapsed .fdas-features__list::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 80px;
		background: -webkit-linear-gradient(top, rgba(248, 250, 252, 0), var(--fdas-bg) 90%);
		background: linear-gradient(to bottom, rgba(248, 250, 252, 0), var(--fdas-bg) 90%);
		pointer-events: none;
	}

	.fdas-features__list {
		grid-template-columns: 1fr;
	}

	.fdas-breadcrumbs__item--current {
		max-width: 18ch;
	}

	.fdas-gallery {
		gap: 14px;
		justify-content: flex-start;
		/* mobile: always start-aligned so swipes work naturally */
	}

	.fdas-gallery__shot {
		width: clamp(140px, 35vw, 200px);
	}
}

/* ============================================================
 * Responsive — Small phones
 * ============================================================ */
@media (max-width: 480px) {
	.fdas-grid {
		grid-template-columns: 1fr;
	}

	.fdas-card__icon {
		width: 80px;
	}

	.fdas-btn {
		min-width: 100%;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.fdas-gallery {
		gap: 10px;
	}

	.fdas-gallery__shot {
		width: clamp(130px, 38vw, 170px);
	}
}

/* ============================================================
 * Smooth scroll
 * ============================================================ */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ============================================================
 * Reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {

	.fdas-archive-main *,
	.fdas-single-main * {
		-webkit-animation-duration: 0s !important;
		animation-duration: 0s !important;
		-webkit-transition-duration: 0s !important;
		transition-duration: 0s !important;
		scroll-behavior: auto !important;
	}
}

/* ============================================================
 * High-contrast / forced colors
 * ============================================================ */
@media (forced-colors: active) {

	.fdas-btn,
	.fdas-card,
	.fdas-single__section,
	.fdas-single__hero,
	.fdas-gallery__shot {
		border: 1px solid CanvasText;
	}
}