/* =========================================================================
   DuBois pages: Home, About, Transformations, Contact, Event.

   Order: shared bits (entrance, eyebrow, row controls, photo panels, page
   heads, contact rows) → Home sections → About → Transformations →
   Contact → Event (+ the RSVP form, quieted) → motion fallbacks.

   Tokens from tokens.css, components from base.css. Loaded after base.css.
   ====================================================================== */

/* ---------- shared ---------- */

/* Entrance on load (hero text, page heads). Plays again after every visit. */
.db-rise {
	animation: db-rise var(--db-t-reveal) var(--db-ease) both;
	animation-delay: var(--db-rise-delay, 0s);
}

/* The one eyebrow on the home page ("Client results"). */
.db-eyebrow {
	margin: 0;
	font-size: var(--db-fs-3xs);
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--db-green-ink);
}

/* Previous / next under a horizontal row. */
.db-rowctl { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.db-rowbtn { width: 48px; height: 48px; padding: 0; flex: none; }
.db-rowbtn--sm { width: 44px; height: 44px; }

/* A full photo with a glass card on it (quotes, story, CTAs). The card sits
   in normal flow at the bottom, so a long card grows the panel. */
.db-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height: 520px;
	padding: 16px;
	overflow: hidden;
	border-radius: var(--db-r-xl);
	background: var(--db-ink-3);
	isolation: isolate;
}
.db-panel--tall { min-height: 560px; }
.db-panel--end { align-items: flex-end; }
.db-panel__img {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%;
}
.db-panel__card {
	position: relative;
	width: min(560px, 100%);
	padding: 28px;
	border-radius: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.db-panel__card p { margin: 0; font-size: 16px; line-height: 1.6; }
.db-panel__card .db-actions { gap: 8px; margin-top: 6px; }
.db-panel__card--dark {
	background: var(--db-glass-dark);
	-webkit-backdrop-filter: var(--db-glass-blur-dark);
	backdrop-filter: var(--db-glass-blur-dark);
	border: 1px solid var(--db-glass-edge-dark);
	color: var(--db-white);
}
.db-panel__card--dark p { color: rgba(255, 255, 255, 0.86); line-height: 1.65; }
.db-panel__card--dark :focus-visible { outline-color: var(--db-white); }
.db-panel__card--light {
	background: var(--db-glass);
	-webkit-backdrop-filter: var(--db-glass-blur);
	backdrop-filter: var(--db-glass-blur);
	border: 1px solid var(--db-glass-edge);
	box-shadow: var(--db-sh-glass);
	color: var(--db-black);
	max-width: 520px;
}
.db-panel__card--light p { color: var(--db-ink-2); }
@media (max-width: 640px) {
	.db-panel { min-height: 480px; padding: 8px; border-radius: 20px; }
	.db-panel--tall { min-height: 500px; }
	.db-panel__card { padding: 20px; border-radius: 18px; }
}

/* Page head: title and line stacked and centred (Transformations). The
   owner's rule: no title on the left with its description on the right. */
.db-phead {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 40px;
	text-align: center;
}
.db-phead .db-h1 { max-width: 820px; text-wrap: balance; }
.db-phead .db-lead { max-width: 580px; }
.db-phead--flush { padding-top: 0; margin-bottom: 40px; }

/* A heading over its link ("Shop the gear" / "Shop all"), stacked and
   centred instead of split left and right. */
.db-sechead.db-sechead--center {
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	text-align: center;
}

/* Page banner (shop, categories, Contact): a real photo with the
   breadcrumb, title and line centred on it. Sweet Du's page head, in V6. */
.db-banner { padding-top: clamp(12px, 1.4vw, 20px); }
.db-banner__panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(300px, 22vw + 110px, 420px);
	padding: clamp(44px, 5vw, 72px) clamp(20px, 5vw, 72px);
	border-radius: var(--db-r-2xl);
	background: var(--db-ink-3);
	color: var(--db-white);
	text-align: center;
}
/* An even shade over the whole photo, a little deeper at the bottom, so
   white type reads on any picture. */
.db-banner__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 62% 58% at 50% 52%, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%),
		linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.46) 55%, rgba(0, 0, 0, 0.6) 100%);
	pointer-events: none;
}
.db-banner__media { position: absolute; inset: 0; z-index: -2; }
/* Two classes deep: WooCommerce's `.woocommerce img { height: auto }` must not win. */
.db-banner .db-banner__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 50% 35%;
	animation: db-banner-in 1.6s var(--db-ease-out) both;
	transition: opacity 0.7s ease;
}
.db-banner .db-banner__media img.is-incoming { opacity: 0; animation: none; }
@keyframes db-banner-in { from { transform: scale(1.06); } to { transform: none; } }
.db-banner__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	max-width: 760px;
}
.db-banner__title { margin: 0; color: var(--db-white); text-wrap: balance; }
.db-banner__lead { max-width: 560px; color: rgba(255, 255, 255, 0.9); }
.db-banner__title, .db-banner__lead, .db-banner__crumbs { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.28); }
.db-banner__lead[hidden] { display: none; }
.db-banner__crumbs { font-size: var(--db-fs-2xs); line-height: 1.4; color: rgba(255, 255, 255, 0.78); }
.db-banner__trail { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.db-banner__crumb + .db-banner__crumb::before { content: "/"; margin: 0 8px; color: rgba(255, 255, 255, 0.5); }
.db-banner__crumb a { color: inherit; text-decoration: none; transition: color var(--db-t-fast); }
.db-banner__crumb a:hover { color: var(--db-white); text-decoration: underline; text-underline-offset: 3px; }
.db-banner__crumb [aria-current] { color: var(--db-white); font-weight: 500; }
.db-banner :focus-visible { outline-color: var(--db-white); }
@media (max-width: 640px) {
	.db-banner { padding-top: 8px; }
	.db-banner__panel { min-height: 280px; padding: 40px 20px; border-radius: 22px; }
	.db-banner__body { gap: 12px; }
}

/* Contact rows: black icon tile, small label, value (Contact, Event). */
.db-crows {
	list-style: none;
	margin: 0;
	padding: 8px;
	border-radius: var(--db-r-xl);
	background: var(--db-mist);
	display: flex;
	flex-direction: column;
}
.db-crows > li { list-style: none; }
.db-crow {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 22px;
	color: var(--db-black);
	transition: background-color var(--db-t-fast);
}
a.db-crow:hover { background: var(--db-white); }
.db-crow__icon {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: var(--db-black);
	color: var(--db-white);
	display: flex;
	align-items: center;
	justify-content: center;
}
.db-crow__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.db-crow__label { font-size: var(--db-fs-xs); color: var(--db-muted); }
.db-crow__value { font-size: 18px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.db-crow { padding: 10px; gap: 12px; }
	.db-crow__icon { width: 44px; height: 44px; border-radius: 14px; }
	.db-crow__value { font-size: 16px; }
}

/* =========================================================================
   Home
   ====================================================================== */

/* ---------- hero ---------- */
.db-hero { padding-top: clamp(44px, 6vw, 88px); overflow: hidden; }
.db-hero__head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.db-hero__title { max-width: 920px; }
.db-hero__lead { max-width: 580px; }
.db-hero__actions { justify-content: center; }

/* Drifting photo strip: two identical sets, moved by half the track. */
.db-strip { --db-k: 1; margin-top: clamp(40px, 5vw, 64px); overflow: hidden; }
.db-strip__track { display: flex; width: max-content; animation: db-drift 80s linear infinite; }
.db-strip:hover .db-strip__track,
.db-strip.is-paused .db-strip__track { animation-play-state: paused; }
.db-strip__set { display: flex; align-items: flex-end; gap: 16px; padding-right: 16px; }
.db-strip__tile {
	position: relative;
	flex: none;
	width: calc(var(--db-w, 300px) * var(--db-k));
	height: calc(var(--db-h, 420px) * var(--db-k));
	margin: 0;
	overflow: hidden;
	border-radius: var(--db-r-xl);
	background: var(--db-mist);
}
.db-strip__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--db-pos, 50% 50%);
	transition: transform 1.2s var(--db-ease-out);
}
.db-strip__tile:hover .db-strip__img { transform: scale(1.04); }
.db-strip__cap {
	position: absolute;
	left: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 8px 14px;
	border-radius: 16px; /* a pill on one line; long product names wrap */
	background: var(--db-glass);
	-webkit-backdrop-filter: blur(20px) saturate(180%);
	backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid var(--db-glass-edge);
	font-size: var(--db-fs-2xs);
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
}
@keyframes db-drift { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
	.db-strip { --db-k: 0.68; }
	.db-strip__set { gap: 10px; padding-right: 10px; }
	.db-strip__tile { border-radius: 20px; }
	.db-strip__cap { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 10px; border-radius: 12px; font-size: var(--db-fs-3xs); }
}

/* Trust line. */
.db-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 28px;
	padding-top: 28px;
	padding-bottom: 36px;
	font-size: var(--db-fs-xs);
	color: var(--db-muted);
	text-align: center;
}
.db-trust__rule { width: 1px; height: 14px; background: var(--db-ring-2); }
.db-trust__app { display: inline-flex; align-items: center; gap: 8px; color: var(--db-muted); transition: color var(--db-t-fast); }
.db-trust__app:hover { color: var(--db-black); }
.db-trust__app img { width: 22px; height: 22px; border-radius: 6px; }
@media (max-width: 640px) {
	.db-trust { flex-direction: column; gap: 8px; padding-top: 22px; padding-bottom: 28px; }
	.db-trust__rule { display: none; }
}

/* ---------- ticker ---------- */
.db-ticker { overflow: hidden; background: var(--db-green); color: var(--db-black); }
.db-ticker__track { display: flex; width: max-content; animation: db-drift 42s linear infinite; }
.db-ticker.is-paused .db-ticker__track { animation-play-state: paused; }
.db-ticker__set {
	display: flex;
	gap: 36px;
	padding: 18px 36px 18px 0;
	font-stretch: var(--db-stretch-wide);
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}
@media (max-width: 640px) {
	.db-ticker__set { gap: 24px; padding: 15px 24px 15px 0; font-size: 15px; }
}

/* ---------- client results ---------- */
/* Eyebrow, title, line and link stacked and centred. */
.db-results__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}
.db-results__title { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.db-results__title .db-h2 { text-wrap: balance; }
.db-results__intro { max-width: 600px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.db-results__track { gap: 16px; margin-top: 48px; padding-bottom: 4px; border-radius: var(--db-r-lg); }
.db-ba {
	position: relative;
	flex: 0 0 clamp(270px, 30vw, 430px);
	margin: 0;
	overflow: hidden;
	border-radius: var(--db-r-lg);
	background: var(--db-mist-3);
}
.db-ba__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 6 / 5;
	object-fit: cover;
	object-position: 50% 30%;
	transition: transform 1s var(--db-ease-out);
}
.db-ba:hover .db-ba__img { transform: scale(1.03); }
.db-ba__tag { position: absolute; top: 12px; height: 30px; padding: 0 12px; }
.db-ba__tag--before { left: 12px; }
.db-ba__tag--after { right: 12px; }
@media (max-width: 640px) {
	.db-results__track { gap: 10px; margin-top: 32px; border-radius: 20px; }
	.db-ba { border-radius: 20px; }
}

/* ---------- statement ---------- */
.db-statement__text {
	margin: 0;
	max-width: 1040px;
	font-stretch: var(--db-stretch-head);
	font-size: clamp(22px, 2.6vw, 38px);
	font-weight: 550;
	line-height: 1.22;
	letter-spacing: -0.025em;
	text-wrap: pretty;
}
.db-statement__muted { color: var(--db-muted); }
.db-statement__link { display: inline-block; margin-top: 28px; font-size: 16px; }

/* ---------- the Transformation Package (#program) ---------- */
.db-program { padding-bottom: clamp(72px, 9vw, 128px); scroll-margin-top: calc(var(--db-head-space) + 16px); }
.db-program__panel {
	position: relative;
	overflow: hidden;
	border-radius: var(--db-r-2xl);
	background: var(--db-black);
	color: var(--db-white);
	isolation: isolate;
}
.db-program__img {
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 62%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 32%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, var(--db-black) 48%);
	mask-image: linear-gradient(90deg, transparent 0%, var(--db-black) 48%);
}
.db-program__body {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 40px 64px;
	align-items: end;
	padding: clamp(28px, 5vw, 64px);
}
.db-program__intro { display: flex; flex-direction: column; gap: 20px; }
.db-program__intro .db-h2 { color: var(--db-white); }
.db-program__lead { margin: 0; max-width: 460px; font-size: var(--db-fs-lead); line-height: var(--db-lh-body); color: rgba(255, 255, 255, 0.76); }
.db-program__steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.db-program__step {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px 12px 12px;
	border-radius: var(--db-r-md);
	background: var(--db-glass-dark);
	-webkit-backdrop-filter: var(--db-glass-blur-dark);
	backdrop-filter: var(--db-glass-blur-dark);
	border: 1px solid var(--db-on-dark-line);
}
.db-program__n {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: var(--db-r-sm);
	background: var(--db-white);
	color: var(--db-black);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
}
.db-program__n.is-last { background: var(--db-green); }
.db-program__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.db-program__t { font-size: 15px; font-weight: 600; }
.db-program__b { font-size: var(--db-fs-xs); line-height: 1.45; color: var(--db-on-dark); }

.db-price {
	justify-self: end;
	width: 100%;
	max-width: 420px;
	padding: 28px;
	border-radius: var(--db-r-xl);
	background: var(--db-glass-strong);
	-webkit-backdrop-filter: var(--db-glass-blur-strong);
	backdrop-filter: var(--db-glass-blur-strong);
	box-shadow: var(--db-sh-float);
	color: var(--db-black);
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.db-price__label { font-size: var(--db-fs-xs); color: var(--db-muted); }
.db-price__amount { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.db-price__n {
	font-stretch: var(--db-stretch-head);
	font-size: clamp(44px, 4.4vw, 60px);
	font-weight: 650;
	line-height: 1;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
}
.db-price__cur { font-size: 15px; color: var(--db-muted); }
.db-price__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.db-price__perks li { display: flex; align-items: center; gap: 10px; font-size: var(--db-fs-xs); font-weight: 500; line-height: 1.3; }
.db-price__tick {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: var(--db-r-xs);
	background: var(--db-green);
	color: var(--db-black);
	display: flex;
	align-items: center;
	justify-content: center;
}
.db-price__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
@media (max-width: 760px) {
	.db-program__img {
		position: relative;
		display: block;
		width: 100%;
		height: 280px;
		-webkit-mask-image: linear-gradient(180deg, var(--db-black) 55%, transparent 100%);
		mask-image: linear-gradient(180deg, var(--db-black) 55%, transparent 100%);
	}
	.db-program__body { margin-top: -80px; }
	/* Here the card sits on black, not on the photo: keep it white. */
	.db-price { justify-self: stretch; max-width: none; background: var(--db-white); }
}
@media (max-width: 640px) {
	.db-program__panel { border-radius: 22px; }
	.db-program__body { padding: 20px 12px 12px; gap: 28px; }
	.db-program__intro { padding: 0 8px; }
	.db-price { padding: 20px; border-radius: 20px; }
}
@media (max-width: 400px) {
	.db-price__perks { grid-template-columns: 1fr; }
}

/* ---------- shop the gear ---------- */
.db-gear { padding-bottom: clamp(72px, 9vw, 128px); }
.db-gear__head { margin-bottom: 12px; }
/* The shop's own category tabs (shop.css .db-tabs), "All" on. */
.db-gear__cats { margin-bottom: clamp(28px, 3vw, 40px); }
.db-gear__all { display: flex; justify-content: center; margin: clamp(36px, 4vw, 56px) 0 0; }
/* Three rows of two is plenty on a phone. */
@media (max-width: 760px) { .db-gear__grid > :nth-child(n+7) { display: none; } }

/* ---------- client quotes ---------- */
.db-voices { padding-bottom: clamp(72px, 9vw, 128px); }
.db-voices__card { gap: 20px; }
.db-voices__stage { display: grid; }
.db-voices__quote { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.db-voices__quote.is-off { visibility: hidden; opacity: 0; }
.db-voices__quote.is-in { animation: db-swap 0.5s var(--db-ease) both; }
.db-voices__text {
	margin: 0;
	font-stretch: var(--db-stretch-head);
	font-size: clamp(19px, 1.8vw, 24px);
	font-weight: 550;
	line-height: 1.35;
	letter-spacing: -0.015em;
}
.db-voices__who { font-size: 15px; color: rgba(255, 255, 255, 0.75); }
.db-voices__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-voices__pos { font-size: var(--db-fs-xs); color: var(--db-on-dark); font-variant-numeric: tabular-nums; }
.db-voices__ctl { display: flex; gap: 8px; }
@keyframes db-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- the SD Fitness app (#app) ---------- */
.db-app { padding-bottom: clamp(72px, 9vw, 128px); scroll-margin-top: calc(var(--db-head-space) + 16px); }
.db-app__panel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	align-items: center;
	overflow: hidden;
	border-radius: var(--db-r-2xl);
	background: var(--db-black);
	color: var(--db-white);
}
.db-app__panel :focus-visible { outline-color: var(--db-white); }
.db-app__info { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 22px; }
.db-app__info .db-h2 { color: var(--db-white); }
.db-app__id { display: flex; align-items: center; gap: 14px; }
.db-app__icon { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.db-app__meta { display: flex; flex-direction: column; gap: 2px; }
.db-app__name { font-size: 17px; font-weight: 650; }
.db-app__by { font-size: var(--db-fs-xs); color: rgba(255, 255, 255, 0.65); }
.db-app__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: var(--db-fs-xs); color: rgba(255, 255, 255, 0.85); }
.db-app__score { white-space: nowrap; }
.db-app__stars { display: inline-flex; gap: 1px; color: var(--db-green); }
.db-app__lead { margin: 0; max-width: 460px; font-size: var(--db-fs-lead); line-height: var(--db-lh-body); color: rgba(255, 255, 255, 0.74); }
.db-app__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.db-app__shots { position: relative; min-width: 0; padding: clamp(20px, 3vw, 40px) 0; }
.db-app__track { gap: 14px; padding: 0 clamp(20px, 3vw, 40px); scroll-padding-inline: clamp(20px, 3vw, 40px); }
.db-app__shot {
	flex: none;
	display: block;
	width: auto;
	height: 480px;
	aspect-ratio: 860 / 1861;
	border-radius: 22px;
	background: var(--db-ink-3);
	object-fit: cover;
}
.db-rowctl--dark { margin-top: 0; padding: 16px clamp(20px, 3vw, 40px) 0; }
@media (max-width: 640px) {
	.db-app__panel { border-radius: 22px; }
	/* Phones: a compact, centred card. No screenshots or arrows. */
	.db-app__info { padding: 32px 20px; gap: 16px; align-items: center; text-align: center; }
	.db-app__id { flex-direction: column; gap: 10px; }
	.db-app__meta { align-items: center; }
	.db-app__rating { justify-content: center; }
	.db-app__lead { margin-inline: auto; }
	.db-app__badges { justify-content: center; }
	.db-app__shots, .db-app .db-rowctl { display: none; }
}

/* About: see "About, told in chapters" near the end of this file. */

/* =========================================================================
   Transformations
   ====================================================================== */
.db-tr {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 32px 56px;
	align-items: start;
	padding-top: 40px;
	padding-bottom: clamp(72px, 9vw, 128px);
}
@media (min-width: 961px) {
	/* The photo stays in view while you browse the thumbnails. */
	.db-compare { position: sticky; top: calc(var(--db-head-space) + 20px); }
}

.db-compare__stage {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--db-r-xl);
	background: var(--db-mist-3);
	cursor: ew-resize;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.db-compare__stage:has(.db-compare__range:focus-visible) { outline: 2px solid var(--db-black); outline-offset: 3px; }
/* Each collage is before | after: the image is twice the frame's width, so
   one half fills it. The clip shows the after half from the divider on. */
.db-compare__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 0% 25%;
	pointer-events: none;
	-webkit-user-drag: none;
}
.db-compare__clip { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--db-pos, 50%)); }
.db-compare__after { left: -100%; }
.db-compare__stage.is-swap .db-compare__img { animation: db-dim-in 0.5s ease both; }
.db-compare__line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--db-pos, 50%);
	width: 2px;
	margin-left: -1px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 0 14px rgba(0, 0, 0, 0.22);
	pointer-events: none;
}
.db-compare__handle {
	position: absolute;
	top: 50%;
	left: var(--db-pos, 50%);
	width: 48px;
	height: 72px;
	margin: -36px 0 0 -24px;
	border-radius: var(--db-r-pill);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--db-black);
	pointer-events: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgba(0, 0, 0, 0.16);
	transition: transform 0.3s var(--db-ease-spring);
}
.db-compare__stage.is-dragging .db-compare__handle { transform: scale(1.06); }
.db-compare__tag { position: absolute; top: 14px; height: 32px; padding: 0 12px; font-size: var(--db-fs-2xs); font-weight: 600; pointer-events: none; }
.db-compare__tag--before { left: 14px; }
.db-compare__tag--after { right: 14px; }
.db-compare__range {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	opacity: 0;
}
@keyframes db-dim-in { from { opacity: 0.2; } to { opacity: 1; } }

.db-tr__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.db-tr__count { opacity: 0.6; font-variant-numeric: tabular-nums; }
.db-tr__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.db-tr__thumb {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	padding: 0;
	border: 0;
	overflow: hidden;
	border-radius: 18px;
	background: var(--db-mist);
	cursor: pointer;
	opacity: 0.55;
	transition: opacity var(--db-t-ui), box-shadow var(--db-t-ui);
	-webkit-tap-highlight-color: transparent;
}
.db-tr__thumb:hover, .db-tr__thumb[aria-pressed="true"] { opacity: 1; }
.db-tr__thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--db-black); }
.db-tr__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 25% 30%; }
.db-tr__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 14px 14px 14px 20px;
	border-radius: 22px;
	background: var(--db-mist);
}
.db-tr__pos { margin: 0; font-size: 15px; color: var(--db-muted); }
.db-tr__ctl { display: flex; gap: 6px; flex: none; }
.db-tr__btn { background: var(--db-white); }
.db-tr__btn:hover { background: var(--db-mist-2); }
@media (max-width: 960px) {
	.db-tr { gap: 20px; }
	.db-tr__bar { order: -1; } /* previous / next right under the photo on phones */
}
@media (max-width: 760px) {
	.db-tr__thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
	.db-tr__thumb { border-radius: 12px; }
}
@media (max-width: 640px) {
	.db-tr { padding-top: 28px; }
	.db-tr__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.db-compare__stage { border-radius: 20px; }
	.db-tr__bar { padding: 10px 10px 10px 16px; }
	.db-tr__pos { font-size: var(--db-fs-xs); }
}

/* =========================================================================
   Contact
   ====================================================================== */
.db-contact-page { padding-top: clamp(16px, 2vw, 24px); padding-bottom: clamp(72px, 9vw, 120px); }
.db-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}
.db-contact__aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.db-visit { flex: 1; min-height: 380px; padding: 12px; } /* fills down to the form's height */
@media (max-width: 960px) {
	/* One column: ways to reach us, then the form, then the gym. */
	.db-contact { grid-template-columns: minmax(0, 1fr); }
	.db-contact__aside { display: contents; }
	.db-contact .db-crows { order: 1; }
	.db-contact__card { order: 2; }
	.db-visit { order: 3; }
}
@media (max-width: 640px) { .db-visit { min-height: 300px; padding: 8px; } }
.db-visit__bar {
	position: relative;
	width: 100%;
	padding: 16px 16px 16px 22px;
	border-radius: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.db-visit__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.db-visit__label { font-size: var(--db-fs-xs); color: var(--db-ink-2); }
.db-visit__addr { font-size: 17px; font-weight: 600; line-height: 1.35; }

.db-contact__card {
	min-width: 0;
	padding: clamp(20px, 3vw, 36px);
	border-radius: var(--db-r-xl);
	background: var(--db-mist);
	outline: none;
	scroll-margin-top: calc(var(--db-head-space) + 16px);
}
.db-cform { display: flex; flex-direction: column; gap: 16px; }
.db-cform__alert {
	padding: 12px 16px;
	border-radius: var(--db-r-field);
	background: var(--db-red-tint);
	color: var(--db-red);
	font-size: var(--db-fs-sm);
	font-weight: 500;
}
.db-cform__topics { margin: 0; padding: 0; border: 0; min-width: 0; }
.db-cform__legend { padding: 0; margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.db-cform__topic { height: 42px; padding: 0 16px; box-shadow: inset 0 0 0 1px var(--db-line-2); }
.db-cform__topic:has(input:checked) { background: var(--db-black); color: var(--db-white); box-shadow: none; }
.db-cform__topic:has(input:focus-visible) { outline: 2px solid var(--db-black); outline-offset: 3px; }
.db-cform__radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.db-cform__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.db-cform__label { padding-left: 6px; font-weight: 500; }
.db-cform__input { height: 52px; box-shadow: none; }
textarea.db-cform__input { height: auto; min-height: 150px; }
.db-cform .db-field__error { padding-left: 6px; }
.db-cform__note { margin: 0; text-align: center; font-size: var(--db-fs-2xs); color: var(--db-muted); }
.db-cform.is-busy .db-cform__input { opacity: 0.7; }
@media (max-width: 640px) { .db-cform__two { grid-template-columns: 1fr; } }

.db-cdone {
	min-height: 460px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
}
.db-cdone__tick {
	width: 64px;
	height: 64px;
	border-radius: 22px;
	background: var(--db-green);
	color: var(--db-black);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: db-pop 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}
.db-cdone__title { font-size: 28px; outline: none; }
.db-cdone__text { max-width: 320px; }
.db-cdone__again { padding: 6px; font-size: 15px; }
@keyframes db-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .db-cdone { min-height: 340px; } }

/* "Good to know": the heading centred over the questions. */
.db-faq {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(24px, 3vw, 40px);
	padding-block: clamp(64px, 8vw, 112px);
}
.db-faq__title { margin: 0; text-align: center; }
.db-faq > .db-acc { width: 100%; max-width: 800px; }

/* =========================================================================
   Event
   ====================================================================== */
.db-event {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px 64px;
	align-items: center;
	padding-top: 40px;
}
.db-event__info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.db-event__info .db-lead { max-width: 520px; }
.db-event__rows { margin-top: 4px; }
.db-event__poster { background: var(--db-mist); }
.db-event__poster .db-media__img { height: auto; max-height: 760px; object-fit: contain; }
@media (max-width: 960px) {
	.db-event { grid-template-columns: 1fr; gap: 28px; }
	.db-event__poster { max-width: 560px; }
}
@media (max-width: 640px) { .db-event { padding-top: 24px; } .db-event__poster { border-radius: 20px; } }

.db-event__rsvp {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(20px, 4vw, 48px);
	border-radius: var(--db-r-xl);
	background: var(--db-white);
	box-shadow: inset 0 0 0 1px var(--db-line-2), 0 24px 64px -32px rgba(0, 0, 0, 0.18);
}
.db-event__rsvphead { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.db-event__rsvphead .db-muted { margin: 0; }
.db-event__closed { margin: 0; color: var(--db-muted); }
@media (max-width: 640px) { .db-event__rsvp { border-radius: 22px; } }

/* The RSVP plugin's form, quieted to match (its own sheet still loads; it
   uses !important on fields, so the field rules here need it too). */
.db-event__form .sd-rsvp-form-wrap,
.db-event__form .sd-rsvp-success-wrap { font-family: var(--db-font); }
.db-event__form .sd-rsvp-form-wrap { padding: 0; border-radius: 0; }
.db-event__form .sd-rsvp-form-wrap h3 {
	margin: 28px 0 12px;
	font-family: var(--db-font);
	font-stretch: var(--db-stretch-head);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-transform: none;
}
.db-event__form .sd-rsvp-form-wrap form > h3:first-of-type { margin-top: 0; }
.db-event__form .sd-rsvp-form-wrap p { margin: 0 0 14px; }
.db-event__form .sd-rsvp-form-wrap label { font-size: var(--db-fs-xs); font-weight: 600; line-height: 1.4; color: var(--db-black); }
.db-event__form .sd-rsvp-form-wrap input[type="text"],
.db-event__form .sd-rsvp-form-wrap input[type="email"],
.db-event__form .sd-rsvp-form-wrap textarea,
.db-event__form .sd-rsvp-form-wrap select {
	margin-top: 7px;
	min-height: 54px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: var(--db-r-field) !important;
	background: var(--db-mist) !important;
	box-shadow: none !important;
	font-family: var(--db-font);
	font-size: 16px;
	color: var(--db-black);
}
.db-event__form .sd-rsvp-form-wrap textarea { min-height: 110px; padding: 14px 18px !important; line-height: 1.6; }
.db-event__form .sd-rsvp-form-wrap input:focus,
.db-event__form .sd-rsvp-form-wrap textarea:focus,
.db-event__form .sd-rsvp-form-wrap select:focus {
	background: var(--db-white) !important;
	box-shadow: inset 0 0 0 1px var(--db-green), 0 0 0 3px var(--db-green-glow) !important;
}
.db-event__form .sd-rsvp-help,
.db-event__form .sd-rsvp-guests-title { font-size: var(--db-fs-2xs); line-height: 1.5; color: var(--db-muted); }
.db-event__form .sd-rsvp-help { margin-top: 6px; }
.db-event__form .sd-rsvp-form-wrap button[type="submit"],
.db-event__form .sd-rsvp-success-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 24px;
	border-radius: var(--db-r-pill);
	background: var(--db-black);
	color: var(--db-white);
	font-family: var(--db-font);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	transition: background-color 0.25s, transform 0.35s var(--db-ease-spring);
}
.db-event__form .sd-rsvp-form-wrap button[type="submit"]:hover,
.db-event__form .sd-rsvp-success-link:hover { background: var(--db-ink-2); color: var(--db-white); transform: none; filter: none; }
.db-event__form .sd-rsvp-form-wrap button[type="submit"]:active { transform: scale(0.97); box-shadow: none; }
.db-event__form .sd-rsvp-alert-error { border: 0; border-radius: var(--db-r-field); background: var(--db-red-tint); color: var(--db-red); font-size: var(--db-fs-xs); }
.db-event__form .sd-rsvp-success-title { font-family: var(--db-font); font-stretch: var(--db-stretch-head); font-size: 24px; letter-spacing: -0.02em; }
.db-event__form p.sd-rsvp-success-sub { border: 0; border-radius: var(--db-r-field); background: var(--db-green-tint); color: var(--db-green-deep); }

/* ---------- motion and transparency fallbacks ---------- */
@media (prefers-reduced-motion: reduce) {
	/* Nothing loops: the strip becomes a row you can swipe, the ticker holds still. */
	.db-strip { overflow-x: auto; scrollbar-width: none; }
	.db-strip::-webkit-scrollbar { display: none; }
	.db-strip__track, .db-ticker__track { animation: none; }
	.db-strip__set { padding-left: 16px; }
	.db-strip__set[data-db-dup] { display: none; }
	.db-strip__tile:hover .db-strip__img, .db-ba:hover .db-ba__img { transform: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.db-strip__cap, .db-panel__card--light { background: rgba(255, 255, 255, 0.96); }
	.db-panel__card--dark, .db-program__step { background: rgba(20, 20, 22, 0.9); }
	.db-price { background: var(--db-white); }
}
@media (prefers-reduced-transparency: reduce) {
	.db-strip__cap, .db-panel__card--light, .db-price { background: var(--db-white); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.db-panel__card--dark, .db-program__step { background: var(--db-ink-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Full-screen photo hero (Home and About), owner's 2026-11-03 pass. The
   header sits transparent on top of it until the page scrolls (base.css). */
.db-vhero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	margin-top: calc(-1 * var(--db-head-space, 0px));
	padding: calc(var(--db-head-space, 72px) + 24px) 0 28px;
	overflow: hidden;
	background: var(--db-black);
	color: var(--db-white);
	text-align: center;
}
.db-vhero__media, .db-vhero__shade { position: absolute; inset: 0; z-index: -1; }
.db-vhero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 40%; animation: db-vhero-zoom 14s var(--db-ease-out) both; }
@keyframes db-vhero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.db-vhero__shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0.62) 0%, rgba(10, 10, 10, 0.5) 40%, rgba(10, 10, 10, 0.82) 100%); }
.db-vhero__inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.db-vhero__title { max-width: 14ch; margin: 0; color: var(--db-white); }
.db-vhero__lead { max-width: 560px; margin: 0; color: rgba(255, 255, 255, 0.84); }
.db-vhero__actions { justify-content: center; }
.db-vhero__trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 36px;
	margin: 0 auto;
	width: fit-content;
	max-width: 100%;
	padding: 14px 28px;
	border-radius: var(--db-r-pill);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	font-size: var(--db-fs-xs);
	color: rgba(255, 255, 255, 0.86);
}
.db-vhero__fact { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.db-vhero__fact strong { color: var(--db-white); font-weight: 650; }
.db-vhero__fact > svg { flex: none; color: var(--db-green); }
.db-vhero__fact img { flex: none; width: 22px; height: 22px; border-radius: 6px; }
.db-vhero__stars { display: inline-flex; gap: 1px; color: var(--db-green); }
a.db-vhero__fact:hover { color: var(--db-white); }
@media (max-width: 760px) {
	.db-vhero { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } /* clear the floating dock */
	.db-vhero__inner { gap: 14px; }
	.db-vhero__lead { font-size: 15px; }
	.db-vhero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; gap: 10px; }
	.db-vhero__trust { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 18px; border-radius: var(--db-r-lg); font-size: 13px; }
	.db-vhero__img { object-position: 50% 30%; }
}
@media (prefers-reduced-motion: reduce) { .db-vhero__img { animation: none; } }

/* Client results: centred head, then an edge-to-edge strip that scrolls by itself. */
.db-results { padding-bottom: clamp(56px, 7vw, 96px); }
.db-results__headwrap { padding-bottom: 0; }
.db-results__head--center { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.db-results__head--center .db-h2, .db-results__head--center .db-lead { margin: 0; }
.db-marquee { overflow: hidden; width: 100%; }
.db-marquee__track { display: flex; width: max-content; animation: db-marquee var(--db-marquee-dur, 60s) linear infinite; }
.db-marquee:hover .db-marquee__track { animation-play-state: paused; }
.db-marquee__set { display: flex; gap: 16px; padding-right: 16px; }
.db-marquee .db-ba { flex: none; width: clamp(260px, 26vw, 380px); margin: 0; }
@keyframes db-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.db-marquee { overflow-x: auto; }
	.db-marquee__track { animation: none; }
	.db-marquee__set[aria-hidden="true"] { display: none; }
}
/* Logged-in admins: the admin bar takes part of the screen, keep the trust bar in view. */
.admin-bar .db-vhero { min-height: calc(100svh - 32px); }
@media (max-width: 782px) { .admin-bar .db-vhero { min-height: calc(100svh - 46px); } }
@media (max-width: 760px) { .db-vhero { padding-bottom: calc(112px + env(safe-area-inset-bottom)); } }

/* Statement: a centred card that lifts in on scroll, its icon following. */
.db-statement .db-statement__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(36px, 6vw, 72px) clamp(24px, 6vw, 72px);
	border-radius: 32px;
	background: var(--db-mist);
	text-align: center;
}
html.db-js .db-statement .db-statement__card[data-reveal] { opacity: 0; transform: translateY(32px) scale(0.94); transition: opacity 0.8s var(--db-ease-out), transform 1s var(--db-ease); }
html.db-js .db-statement .db-statement__card[data-reveal].is-revealed { opacity: 1; transform: none; }
.db-statement__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 22px; background: var(--db-black); color: var(--db-green); }
.db-statement__card.is-revealed .db-statement__icon { animation: db-icon-lift 1.2s var(--db-ease) 0.35s both; }
@keyframes db-icon-lift { 0% { transform: translateY(14px) rotate(-12deg); opacity: 0; } 60% { transform: translateY(-6px) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.db-statement__big { margin: 0; max-width: 18ch; font-stretch: var(--db-stretch-head); font-weight: var(--db-w-head); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--db-black); }
.db-statement__sub { margin: 0; max-width: 560px; font-size: var(--db-fs-sm); line-height: 1.6; color: var(--db-muted); }

/* Reviews: equal cards on a black band; a swipeable row on phones. */
.db-reviews { padding: clamp(64px, 8vw, 112px) 0; background: var(--db-black); color: var(--db-white); }
.db-reviews__head { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.db-reviews__head .db-h2 { margin: 0; color: var(--db-white); }
.db-reviews__head .db-lead { margin: 0; color: rgba(255, 255, 255, 0.72); }
.db-reviews__score { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: var(--db-fs-xs); font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.db-reviews__stars, .db-review__stars { display: inline-flex; gap: 2px; color: var(--db-green); }
.db-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.db-review { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 26px; border-radius: 24px; background: #151515; border: 1px solid rgba(255, 255, 255, 0.09); }
.db-review__text {
	flex: 1;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: calc(1.6em * 5);
}
.db-review__who { display: flex; align-items: center; gap: 12px; }
.db-review__initial { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--db-green); color: var(--db-black); font-weight: 700; }
.db-review__meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.db-review__meta strong { font-size: 15px; color: var(--db-white); }
@media (max-width: 960px) { .db-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.db-reviews__grid { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.db-reviews__grid::-webkit-scrollbar { display: none; }
	.db-review { flex: none; width: 80%; padding: 22px; scroll-snap-align: center; }
	.db-review__text { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .db-statement__card.is-revealed .db-statement__icon { animation: none; } }

/* Reviews, stories style (replaces the black card grid). */
.db-stories { margin: clamp(56px, 7vw, 96px) 0; padding: clamp(56px, 7vw, 104px) 0; background: var(--db-green); color: var(--db-black); overflow: hidden; }
.db-stories__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 36px); text-align: center; }
.db-stories__head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.db-stories__stars { display: inline-flex; gap: 3px; color: var(--db-black); }
.db-stories__title { margin: 0; font-size: var(--db-fs-sm); font-weight: 650; letter-spacing: 0; }
.db-stories__bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; width: min(560px, 100%); }
.db-stories__bar { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, 0.16); overflow: hidden; }
.db-stories__bar i { display: block; height: 100%; width: 100%; background: var(--db-black); transform: scaleX(0); transform-origin: left center; }
.db-stories__bar.is-done i { transform: scaleX(1); }
.db-stories__bar.is-on i { animation: db-story-fill var(--db-story-ms, 7000ms) linear forwards; }
.db-stories.is-paused .db-stories__bar.is-on i { animation-play-state: paused; }
@keyframes db-story-fill { to { transform: scaleX(1); } }
.db-stories__stage { display: grid; width: 100%; max-width: 1040px; }
.db-story { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(24px); filter: blur(6px); transition: opacity 0.55s var(--db-ease-out), transform 0.7s var(--db-ease), filter 0.55s, visibility 0s 0.55s; }
.db-story.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 0.55s var(--db-ease-out), transform 0.7s var(--db-ease), filter 0.55s, visibility 0s; }
.db-story__q { margin: 0; padding: 0; border: 0; font-stretch: 112%; font-weight: 750; font-size: clamp(26px, 3.6vw, 54px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.db-story__who { display: flex; flex-direction: column; gap: 2px; font-size: var(--db-fs-sm); }
.db-story__who span { color: rgba(0, 0, 0, 0.62); }
.db-stories__names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.db-stories__name { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: var(--db-r-pill); background: transparent; color: var(--db-black); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.db-stories__name span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 10px; background: var(--db-black); color: var(--db-green); font-size: 13px; }
.db-stories__name:hover { border-color: var(--db-black); }
.db-stories__name[aria-selected="true"] { background: var(--db-black); border-color: var(--db-black); color: var(--db-white); }
.db-stories__name[aria-selected="true"] span { background: var(--db-green); color: var(--db-black); }
@media (max-width: 640px) {
	.db-story__q { font-size: 24px; }
	.db-stories__name { height: 36px; font-size: 13px; padding-right: 12px; }
	.db-stories__name span { width: 24px; height: 24px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) { .db-story, .db-story.is-on { transition: none; transform: none; filter: none; } }

/* Home rework (owner's pass): faceless hero photo, category cards, gear band. */
.db-vhero__img { object-position: center; }
.db-cats { padding: clamp(64px, 8vw, 112px) 0; }
.db-cats .db-sechead { margin-bottom: clamp(28px, 4vw, 44px); }
.db-cats .db-sechead .db-lead { margin: 0; }
.db-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.db-catcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--db-mist); color: var(--db-white); text-decoration: none; isolation: isolate; }
.db-catcard__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.1s var(--db-ease-out); }
.db-catcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 45%, rgba(10, 10, 10, 0.72) 100%); }
.db-catcard__body { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.db-catcard__name { font-stretch: var(--db-stretch-head); font-weight: var(--db-w-head); font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.015em; }
.db-catcard__go { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: var(--db-white); color: var(--db-black); transition: transform 0.35s var(--db-ease-spring), background-color 0.25s; }
.db-catcard:hover .db-catcard__img { transform: scale(1.06); }
.db-catcard:hover .db-catcard__go { background: var(--db-green); transform: translateX(3px); }
.db-catcard--all { background: var(--db-black); }
.db-catcard--all::after { display: none; }
.db-catcard--all .db-catcard__body { top: 18px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.db-catcard--all .db-catcard__name { font-size: clamp(22px, 2vw, 30px); max-width: 8ch; line-height: 1.05; }
.db-catcard--all .db-catcard__go { background: var(--db-green); }
.db-gear { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.db-gear::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--db-mist); }
.db-gear__head .db-lead { margin: 0; }
.db-gear__all { display: flex; justify-content: center; margin: clamp(28px, 4vw, 44px) 0 0; }
.db-program { margin-block: clamp(64px, 8vw, 112px); }
@media (max-width: 760px) {
	.db-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.db-catcard { border-radius: 20px; }
	.db-catcard__body { left: 14px; right: 14px; bottom: 14px; }
	.db-catcard__go { width: 36px; height: 36px; border-radius: 12px; }
}
.db-gear { isolation: isolate; }

/* Owner's pass: one section rhythm on Home (same space above and below). */
:root { --db-sec: clamp(64px, 8vw, 112px); }
.db-cats, .db-gear { padding-block: var(--db-sec); }
.db-program { margin-block: var(--db-sec); padding-bottom: 0; }
.db-results { padding-bottom: var(--db-sec); }
.db-results__headwrap { padding-top: var(--db-sec); }
.db-stories { margin: 0 0 var(--db-sec); padding-block: var(--db-sec); }
.db-app { padding-bottom: var(--db-sec); }

/* Hero: the original site's video, 60vh tall, the facts as a plain row. */
.db-vhero { min-height: max(60vh, 560px); }
.admin-bar .db-vhero { min-height: max(60vh, 560px); }
video.db-vhero__media { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; animation: none; }
.db-vhero__trust { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; gap: 10px 40px; }
@media (max-width: 760px) {
	.db-vhero, .admin-bar .db-vhero { min-height: 0; padding-bottom: 28px; }
	.db-vhero__trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; align-items: start; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 12px; line-height: 1.3; }
	.db-vhero__fact { flex-direction: column; gap: 6px; white-space: normal; text-align: center; }
	.db-vhero__stars { display: none; }
}

/* Category cards: smaller names, a plain arrow, a photo mosaic for "See everything". */
.db-catcard__name { font-size: clamp(16px, 1.25vw, 19px); }
.db-catcard__go { width: auto; height: auto; background: none; color: var(--db-white); border-radius: 0; }
.db-catcard:hover .db-catcard__go { background: none; color: var(--db-green); transform: translateX(5px); }
.db-catcard--all { background: var(--db-black); }
.db-catcard--all::after { display: block; background: linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.78) 100%); }
.db-catcard__mosaic { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.db-catcard__mosaic img { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.1s var(--db-ease-out); }
.db-catcard--all:hover .db-catcard__mosaic img { transform: scale(1.06); }
.db-catcard--all .db-catcard__body { top: auto; flex-direction: row; align-items: center; justify-content: space-between; }
.db-catcard--all .db-catcard__name { font-size: clamp(16px, 1.25vw, 19px); max-width: none; }
.db-catcard--all .db-catcard__go { background: none; color: var(--db-white); }

/* Hero height: 91vh on desktop, 80vh on phones. */
.db-vhero, .admin-bar .db-vhero { min-height: 91vh; min-height: 91svh; }
@media (max-width: 760px) { .db-vhero, .admin-bar .db-vhero { min-height: 80vh; min-height: 80svh; } }

/* Category cards: five across, smaller names, a swipe row on phones (2 + a peek). */
.db-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.db-catcard__name, .db-catcard--all .db-catcard__name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.db-catcard--all::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, 0.78) 100%); }
@media (max-width: 960px) and (min-width: 761px) { .db-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.db-cats__grid { display: flex; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
	.db-cats__grid::-webkit-scrollbar { display: none; }
	.db-catcard { flex: none; width: calc((100% - 12px) / 2.2); scroll-snap-align: start; }
	.db-catcard__name, .db-catcard--all .db-catcard__name { font-size: 13.5px; }
}

/* Hero fills the first screen except the ticker, so the ticker always shows
   at the bottom of it (on phones, above the floating dock too). */
:root { --db-ticker-h: 56px; --db-dock-space: 0px; --db-adminbar: 0px; }
.admin-bar { --db-adminbar: 32px; }
.db-ticker { height: var(--db-ticker-h); box-sizing: border-box; display: flex; align-items: center; overflow: hidden; }
.db-vhero, .admin-bar .db-vhero { min-height: calc(100vh - var(--db-ticker-h) - var(--db-dock-space) - var(--db-adminbar)); min-height: calc(100svh - var(--db-ticker-h) - var(--db-dock-space) - var(--db-adminbar)); }
@media (max-width: 782px) { .admin-bar { --db-adminbar: 46px; } }
@media (max-width: 760px) {
	:root { --db-ticker-h: 45px; --db-dock-space: 84px; }
	.db-vhero, .admin-bar .db-vhero { min-height: calc(100svh - var(--db-ticker-h) - var(--db-dock-space) - var(--db-adminbar)); }
}

/* =========================================================================
   Heroes share one type size: Home and About (vhero), Shop, Contact and
   Transformations (banner), bag and checkout (.db-cohero in checkout.css).
   ====================================================================== */
:root {
	--db-fs-hero: clamp(30px, 1.7vw + 19px, 44px);
	--db-fs-hero-lead: clamp(15px, 0.2vw + 14.3px, 17px);
}
.db-vhero__title, .db-banner__title { font-size: var(--db-fs-hero); line-height: 1.04; }
.db-vhero__lead, .db-banner__lead { font-size: var(--db-fs-hero-lead); line-height: 1.55; }
@media (max-width: 760px) { .db-vhero__lead { font-size: var(--db-fs-hero-lead); } }

/* The banner runs edge to edge, straight under the header (no gap above). */
.db-wrap.db-banner { max-width: none; padding: 0; }
.db-banner__panel, .db-shop__banner .db-banner__panel { border-radius: 0; min-height: clamp(300px, 20vw + 120px, 440px); }
@media (max-width: 640px) {
	.db-wrap.db-banner { padding: 0; }
	.db-banner__panel, .db-shop__banner .db-banner__panel { min-height: 300px; border-radius: 0; padding-inline: var(--db-gutter); }
}
.db-contact-page { padding-top: clamp(32px, 4vw, 56px); }

/* =========================================================================
   About, told in chapters
   ====================================================================== */
/* Hero: the whole first screen (no ticker under it), Shontelle on the right. */
.db-vhero.db-vhero--full,
.admin-bar .db-vhero.db-vhero--full { min-height: calc(100vh - var(--db-adminbar)); min-height: calc(100svh - var(--db-adminbar)); }
.db-vhero--about .db-vhero__img { object-position: 72% 30%; }
/* A studio photo on white: a deeper shade, darkest behind the words. */
.db-vhero--about .db-vhero__shade { background: radial-gradient(ellipse 52% 42% at 50% 54%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%), linear-gradient(180deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0.88) 100%); }
@media (max-width: 760px) { .db-vhero--about .db-vhero__shade { background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.4) 35%, rgba(10, 10, 10, 0.9) 78%, rgba(10, 10, 10, 0.94) 100%); } }
.db-vhero--about .db-vhero__title, .db-vhero--about .db-vhero__lead { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3); }
@media (max-width: 760px) {
	.db-vhero.db-vhero--full,
	.admin-bar .db-vhero.db-vhero--full { min-height: calc(100svh - var(--db-adminbar)); padding-bottom: calc(var(--db-dock-space) + 20px + env(safe-area-inset-bottom)); }
	/* Her face stays clear: the words sit low on the photo. */
	.db-vhero--about .db-vhero__inner { justify-content: flex-end; }
	.db-vhero--about .db-vhero__img { object-position: 78% 20%; }
}

/* Section heads: title over line, centred. */
.db-ab-head { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.db-ab-head .db-h2 { margin: 0; text-wrap: balance; }
.db-ab-head .db-lead { margin: 0; text-wrap: balance; }
.db-ab-head--dark .db-h2 { color: var(--db-white); }
.db-ab-head--dark .db-lead { color: rgba(255, 255, 255, 0.7); }

/* Her story. Desktop: a photo pinned on the left that changes with the
   chapter you're reading; the chapters scroll past on the right. */
.db-ab-story { padding-block: var(--db-sec) clamp(40px, 5vw, 72px); }
.db-ab-story__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.db-ab-story__media { position: sticky; top: calc(var(--db-head-space) + 20px); }
.db-ab-story__frame { position: relative; height: min(calc(100svh - var(--db-head-space) - 40px), 780px); min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--db-ink-3); isolation: isolate; }
.db-ab-story__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.9s var(--db-ease-out), transform 1.6s var(--db-ease-out); }
.db-ab-story__img.is-on { opacity: 1; transform: none; }
.db-ab-story__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10, 10, 10, 0.34) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 62%, rgba(10, 10, 10, 0.62) 100%); pointer-events: none; }
.db-ab-story__bars { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.db-ab-story__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.db-ab-story__bar i { display: block; height: 100%; background: var(--db-white); transform: scaleX(0); transform-origin: left center; transition: transform 0.6s var(--db-ease); }
.db-ab-story__bar.is-done i { transform: scaleX(1); }
.db-ab-story__bar.is-on i { transform: scaleX(1); background: var(--db-green); }
.db-ab-story__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; margin: 0; color: var(--db-white); font-stretch: var(--db-stretch-head); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.db-ab-story__cap span { display: inline-block; }
.db-ab-story__cap span.is-in { animation: db-swap 0.5s var(--db-ease) both; }

.db-ab-chapters { list-style: none; margin: 0; padding: 0; }
.db-ab-chapter { display: flex; flex-direction: column; justify-content: center; min-height: min(72svh, 640px); }
.db-ab-chapter__media { display: none; }
.db-ab-chapter__text { display: flex; flex-direction: column; gap: 16px; max-width: 500px; transition: opacity 0.6s var(--db-ease-out), transform 0.8s var(--db-ease); }
html.db-js .db-ab-chapter__text { opacity: 0.28; transform: translateY(14px); }
html.db-js .db-ab-chapter.is-on .db-ab-chapter__text { opacity: 1; transform: none; }
.db-ab-chapter__n { margin: 0; font-size: var(--db-fs-xs); font-weight: 600; color: var(--db-green-ink); font-variant-numeric: tabular-nums; }
.db-ab-chapter__t { margin: 0; font-stretch: var(--db-stretch-head); font-weight: var(--db-w-head); font-size: clamp(28px, 1.6vw + 16px, 42px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.db-ab-chapter__b { margin: 0; font-size: var(--db-fs-lead); line-height: 1.65; color: var(--db-ink-2); text-wrap: pretty; }
.db-ab-chapter__link { align-self: flex-start; margin-top: 4px; font-weight: 600; }

/* Phones and tablets: each chapter brings its own photo. */
@media (max-width: 960px) {
	.db-ab-story__grid { display: block; }
	.db-ab-story__media { display: none; }
	.db-ab-chapters { display: flex; flex-direction: column; gap: clamp(48px, 9vw, 72px); }
	.db-ab-chapter { min-height: 0; gap: 22px; }
	.db-ab-chapter__media { display: block; margin: 0; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--db-ink-3); }
	.db-ab-chapter__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.4s var(--db-ease-out); }
	.db-ab-chapter__text { max-width: 620px; }
	html.db-js .db-ab-chapter__img { transform: scale(1.08); }
	html.db-js .db-ab-chapter__text, html.db-js .db-ab-chapter.is-on .db-ab-chapter__text { opacity: 0; transform: translateY(18px); }
	html.db-js .db-ab-chapter.is-seen .db-ab-chapter__img { transform: none; }
	html.db-js .db-ab-chapter.is-seen .db-ab-chapter__text { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
	.db-ab-chapter { gap: 18px; }
	.db-ab-chapter__media { border-radius: 20px; }
	.db-ab-chapter__text { gap: 12px; }
	.db-ab-chapter__t { font-size: 26px; }
}

/* Transforming lives, building power: on black, each value lights up as it
   reaches the middle of the screen (the one in view turns green). */
.db-ab-values { padding-block: var(--db-sec); background: var(--db-black); color: var(--db-white); }
.db-ab-values__list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: flex; flex-direction: column; gap: clamp(40px, 7vw, 96px); text-align: center; }
.db-ab-value { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.db-ab-value__t { margin: 0; font-stretch: 112%; font-weight: 750; font-size: clamp(32px, 3.4vw + 10px, 60px); line-height: 1.02; letter-spacing: -0.03em; color: var(--db-white); transition: color 0.6s var(--db-ease-out); text-wrap: balance; }
.db-ab-value__b { margin: 0; max-width: 540px; font-size: var(--db-fs-lead); line-height: 1.6; color: rgba(255, 255, 255, 0.72); transition: opacity 0.6s var(--db-ease-out); }
html.db-js .db-ab-value__t { color: rgba(255, 255, 255, 0.2); }
html.db-js .db-ab-value__b { opacity: 0.25; }
html.db-js .db-ab-value.is-lit .db-ab-value__t { color: var(--db-white); }
html.db-js .db-ab-value.is-lit .db-ab-value__b { opacity: 1; }
html.db-js .db-ab-value.is-on .db-ab-value__t { color: var(--db-green); }
.db-ab-values__close { max-width: 30ch; margin: clamp(56px, 8vw, 112px) auto 0; text-align: center; font-stretch: var(--db-stretch-head); font-weight: 600; font-size: clamp(20px, 1vw + 14px, 28px); line-height: 1.25; letter-spacing: -0.015em; color: rgba(255, 255, 255, 0.86); text-wrap: balance; }

/* Join the DuBois Army: the team photo opens out to the full width. */
.db-ab-army { padding-block: var(--db-sec); }
.db-ab-army__frame { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, 60vw, 860px); overflow: hidden; color: var(--db-white); background: var(--db-ink-3); }
.db-ab-army__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }
.db-ab-army__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 10, 10, 0.1) 0%, rgba(10, 10, 10, 0.18) 40%, rgba(10, 10, 10, 0.86) 100%); }
.db-ab-army__body { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; padding-block: clamp(40px, 6vw, 88px); text-align: center; }
.db-ab-army__title { margin: 0; color: var(--db-white); font-size: clamp(32px, 2.2vw + 18px, 52px); line-height: 1.02; text-wrap: balance; }
.db-ab-army__lead { max-width: 560px; margin: 0; color: rgba(255, 255, 255, 0.84); }
.db-ab-army__actions { justify-content: center; margin-top: 6px; }
.db-ab-army :focus-visible { outline-color: var(--db-white); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.db-ab-army__frame { animation: db-ab-open linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
		.db-ab-army__img { animation: db-ab-settle linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
	}
}
@keyframes db-ab-open { from { clip-path: inset(0 max(var(--db-gutter), calc((100% - var(--db-maxw)) / 2)) round 24px); } to { clip-path: inset(0 0 round 0); } }
@keyframes db-ab-settle { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1) translateY(3%); } }
@media (max-width: 640px) {
	.db-ab-army__frame { min-height: min(82svh, 640px); }
	.db-ab-army__img { object-position: 30% 45%; }
	.db-ab-army__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
	html.db-js .db-ab-story__img, html.db-js .db-ab-chapter__img, html.db-js .db-ab-chapter__text, html.db-js .db-ab-chapter.is-on .db-ab-chapter__text { transition: none; transform: none; opacity: 1; }
	html.db-js .db-ab-story__img:not(.is-on) { opacity: 0; }
	html.db-js .db-ab-value__t { color: var(--db-white); }
	html.db-js .db-ab-value.is-on .db-ab-value__t { color: var(--db-green); }
	html.db-js .db-ab-value__b { opacity: 1; }
}

/* =========================================================================
   Transformations: reviews and the closing split
   ====================================================================== */
.db-tq { padding-block: var(--db-sec); overflow: hidden; }
.db-tq__head { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.db-tq__head .db-h2, .db-tq__head .db-lead { margin: 0; }
.db-tq__row + .db-tq__row { margin-top: 16px; }
.db-tq__row--ltr .db-marquee__track { animation-direction: reverse; } /* top row drifts left to right */
.db-marquee.is-paused .db-marquee__track { animation-play-state: paused; }
.db-tq__card { flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; width: clamp(280px, 28vw, 400px); min-height: 248px; margin: 0; padding: 26px; border-radius: 24px; background: var(--db-mist); transition: background-color 0.3s; }
.db-tq__card:hover { background: var(--db-mist-2); }
.db-tq__text { margin: 0; padding: 0; border: 0; font-stretch: var(--db-stretch-head); font-size: clamp(17px, 0.5vw + 14px, 20px); font-weight: 500; line-height: 1.4; letter-spacing: -0.012em; color: var(--db-black); }
.db-tq__who { display: flex; align-items: center; gap: 12px; }
.db-tq__initial { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--db-black); color: var(--db-green); font-weight: 700; }
.db-tq__meta { display: flex; flex-direction: column; gap: 1px; font-size: 13px; color: var(--db-muted); }
.db-tq__meta strong { font-size: 15px; color: var(--db-black); }
@media (max-width: 640px) {
	.db-tq__card { width: 280px; min-height: 236px; padding: 22px; border-radius: 22px; }
	.db-tq__row + .db-tq__row { margin-top: 12px; }
	.db-tq .db-marquee__set { gap: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.db-tq__row { padding-inline: var(--db-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
	.db-tq__row::-webkit-scrollbar { display: none; }
	.db-tq__card { scroll-snap-align: start; }
}

/* Your story is next: photo on the left half, the card inset on the right. */
.db-tr-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(520px, 44vw, 760px); background: var(--db-mist); }
.db-tr-next__media { position: relative; min-height: 100%; overflow: hidden; background: var(--db-ink-3); }
.db-tr-next__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; transition: transform 1.4s var(--db-ease-out); }
.db-tr-next:hover .db-tr-next__img { transform: scale(1.03); }
.db-tr-next__side { display: flex; align-items: center; justify-content: center; padding: 10%; }
.db-tr-next__card { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 560px; padding: clamp(28px, 3.4vw, 52px); border-radius: 24px; background: var(--db-white); box-shadow: var(--db-sh-soft); }
.db-tr-next__card .db-h2 { margin: 0; }
.db-tr-next__card p { margin: 0; font-size: var(--db-fs-lead); line-height: 1.6; color: var(--db-ink-2); }
.db-tr-next__card .db-actions { gap: 8px; margin-top: 8px; }
@media (max-width: 760px) {
	.db-tr-next { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.db-tr-next__media { aspect-ratio: 4 / 3; min-height: 0; }
	.db-tr-next__side { padding: 10% max(16px, 6%); }
	.db-tr-next__card { padding: 24px; border-radius: 22px; }
	.db-tr-next__card .db-actions { flex-direction: column; align-items: stretch; }
}

/* =========================================================================
   Contact: topic cards (radios), 2 columns on phones, 3 + 2 on desktop
   ====================================================================== */
.db-cform__legend { margin-bottom: 12px; }
.db-topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.db-topic { grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; height: auto; padding: 16px; border-radius: 18px; background: var(--db-white); color: var(--db-black); box-shadow: inset 0 0 0 1px var(--db-line); cursor: pointer; transition: box-shadow 0.25s, transform 0.25s var(--db-ease-spring); -webkit-tap-highlight-color: transparent; }
.db-topic:nth-child(n+4) { grid-column: span 3; }
.db-topic:hover { box-shadow: inset 0 0 0 1px var(--db-ink-2); }
.db-topic:active { transform: scale(0.98); }
.db-topic__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--db-mist); color: var(--db-black); transition: background-color 0.25s, color 0.25s; }
.db-topic__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.db-topic__t { font-size: 15px; font-weight: 650; line-height: 1.25; }
.db-topic__h { font-size: 13px; line-height: 1.35; color: var(--db-muted); }
.db-topic__tick { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: var(--db-green); color: var(--db-black); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.3s var(--db-ease-spring); }
.db-topic:has(input:checked) { box-shadow: inset 0 0 0 2px var(--db-black); }
.db-topic:has(input:checked) .db-topic__icon { background: var(--db-green); }
.db-topic:has(input:checked) .db-topic__tick { opacity: 1; transform: none; }
.db-topic:has(input:focus-visible) { outline: 2px solid var(--db-black); outline-offset: 3px; }
.db-cform__topic.db-topic { height: auto; padding: 16px; } /* beat the old chip size */
@media (max-width: 640px) {
	.db-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.db-topic, .db-topic:nth-child(n+4) { grid-column: auto; }
	.db-topic:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; }
	.db-topic { padding: 14px; gap: 10px; border-radius: 16px; }
	.db-cform__topic.db-topic { padding: 14px; }
	.db-topic__icon { width: 38px; height: 38px; border-radius: 11px; }
	.db-topic__t { font-size: 14px; }
	.db-topic__h { font-size: 12.5px; }
}
