/* ==========================================================================
   SoftBeauty — base styles
   Tokens, reset, typography, layout, buttons and shared components.
   ========================================================================== */

:root {
	/* Palette */
	--sb-blush: #D98F9B;
	--sb-rose: #B96F7D;
	--sb-mauve: #9B7180;
	--sb-champagne: #D8B98A;
	--sb-ivory: #FFF9F5;
	--sb-rose-bg: #F8EDEF;
	--sb-text: #3D3034;
	--sb-muted: #75666B;
	--sb-ink: #95525F;
	--sb-btn-1: #A45E6D;
	--sb-btn-2: #85606E;
	--sb-deep: #2F2427;
	--sb-white: #FFFFFF;
	--sb-line: rgba(61, 48, 52, 0.12);
	--sb-line-strong: rgba(61, 48, 52, 0.24);
	--sb-gold-line: rgba(216, 185, 138, 0.6);

	/* Gradients */
	--sb-grad-blush: linear-gradient(120deg, #F4D7DC 0%, #FFF9F5 50%, #EEDCC0 100%);
	--sb-grad-rose: linear-gradient(135deg, #8E5A68 0%, #75505F 52%, #5C4451 100%);
	--sb-grad-btn: linear-gradient(135deg, var(--sb-btn-1) 0%, var(--sb-btn-2) 100%);
	--sb-grad-text: linear-gradient(135deg, #C98493 0%, #B99466 100%);

	/* Type */
	--sb-font-serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, "Times New Roman", serif;
	--sb-font-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", serif;
	--sb-font-sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

	/* Layout */
	--sb-container: 1240px;
	--sb-container-wide: 1440px;
	--sb-container-narrow: 860px;
	--sb-gutter: clamp(20px, 4vw, 48px);
	--sb-section: clamp(72px, 8.4vw, 128px);
	--sb-header-h: 92px;
	--sb-radius-sm: 12px;
	--sb-radius: 22px;
	--sb-radius-lg: 36px;
	--sb-arch: 999px 999px 26px 26px;

	/* Depth & motion */
	--sb-shadow: 0 34px 70px -44px rgba(61, 48, 52, 0.5);
	--sb-shadow-soft: 0 20px 44px -30px rgba(61, 48, 52, 0.38);
	--sb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--sb-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1023px) {
	:root {
		--sb-header-h: 76px;
	}
}

/* Reset ------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--sb-header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--sb-ivory);
	color: var(--sb-muted);
	font-family: var(--sb-font-sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
}

body.sb-lock {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--sb-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.3s var(--sb-ease);
}

a:hover {
	color: var(--sb-text);
}

p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

ul,
ol {
	padding: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--sb-ink);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: rgba(217, 143, 155, 0.35);
	color: var(--sb-text);
}

[hidden] {
	display: none !important;
}

/* 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;
	word-wrap: normal !important;
}

.sb-skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--sb-text);
	color: #fff;
	font-size: 0.875rem;
	text-decoration: none;
	transform: translateY(-160%);
	transition: transform 0.3s var(--sb-ease);
}

.sb-skip-link:focus {
	transform: none;
	color: #fff;
}

.sb-main:focus {
	outline: none;
}

.sb-anchor {
	display: block;
	height: 0;
}

/* Typography --------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: var(--sb-text);
	font-family: var(--sb-font-serif);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.sb-script {
	display: inline;
	padding: 0 0.04em;
	color: var(--sb-rose);
	font-family: var(--sb-font-script);
	font-size: 1.3em;
	font-style: normal;
	font-weight: 400;
	line-height: 0.8;
	letter-spacing: 0;
	text-transform: none;
}

/* Without the script font, fall back to an elegant serif italic. */
.sb-fonts-system .sb-script {
	font-family: var(--sb-font-serif);
	font-style: italic;
	font-size: 1em;
}

.sb-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 20px;
	color: var(--sb-ink);
	font-family: var(--sb-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.3em;
	line-height: 1.5;
	text-transform: uppercase;
}

.sb-eyebrow::before {
	content: "";
	flex: none;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--sb-champagne));
}

.sb-eyebrow--center::after,
.sb-heading--center .sb-eyebrow::after {
	content: "";
	flex: none;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, var(--sb-champagne), transparent);
}

.sb-lead {
	margin-bottom: 18px;
	color: var(--sb-text);
	font-family: var(--sb-font-serif);
	font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
	font-weight: 400;
	line-height: 1.45;
}

.sb-heading {
	max-width: 760px;
	margin-bottom: clamp(44px, 6vw, 76px);
}

.sb-heading--center {
	margin-inline: auto;
	text-align: center;
}

.sb-heading--center .sb-eyebrow {
	justify-content: center;
}

.sb-heading__title {
	font-size: clamp(2.3rem, 1.55rem + 2.8vw, 3.9rem);
	line-height: 1.12;
}

.sb-heading__text {
	margin-top: 22px;
	font-size: 1.0625rem;
}

.sb-heading__text p + p {
	margin-top: 12px;
}

.sb-heading--left {
	text-align: left;
}

/* Layout ------------------------------------------------------------------ */

.sb-container {
	width: 100%;
	max-width: calc(var(--sb-container) + var(--sb-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sb-gutter);
}

.sb-container--wide {
	max-width: calc(var(--sb-container-wide) + var(--sb-gutter) * 2);
}

.sb-container--narrow {
	max-width: calc(var(--sb-container-narrow) + var(--sb-gutter) * 2);
}

.sb-section {
	position: relative;
	padding-block: var(--sb-section);
	overflow: hidden;
	overflow: clip;
}

.sb-section--tight {
	padding-block: calc(var(--sb-section) * 0.62);
}

.sb-section--white {
	background: var(--sb-white);
}

.sb-section--rose {
	background: var(--sb-rose-bg);
}

.sb-section--deep {
	background: var(--sb-grad-rose);
	color: rgba(255, 249, 245, 0.82);
}

.sb-section--deep h1,
.sb-section--deep h2,
.sb-section--deep h3 {
	color: #fff;
}

.sb-section--deep .sb-eyebrow {
	color: #F2D9B8;
}

.sb-section--deep .sb-script {
	color: #F6C9D1;
}

.sb-split-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(44px, 6vw, 72px);
}

.sb-split-head .sb-heading {
	margin-bottom: 0;
}

.sb-split-head__action {
	flex: none;
}

.sb-empty {
	padding: 48px 24px;
	border: 1px dashed var(--sb-line-strong);
	border-radius: var(--sb-radius);
	text-align: center;
	color: var(--sb-muted);
}

/* Buttons ----------------------------------------------------------------- */

.sb-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 16px;
	margin-top: 36px;
}

.sb-actions--center {
	justify-content: center;
}

.sb-btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 0 32px;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--sb-font-sans);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.45s var(--sb-ease), box-shadow 0.45s var(--sb-ease), background-color 0.35s var(--sb-ease), border-color 0.35s var(--sb-ease), color 0.35s var(--sb-ease);
}

.sb-btn .sb-icon {
	flex: none;
	transition: transform 0.45s var(--sb-ease);
}

.sb-btn:hover .sb-icon {
	transform: translateX(4px);
}

.sb-btn--primary {
	color: #fff;
	background: var(--sb-grad-btn);
	box-shadow: 0 16px 34px -18px rgba(133, 96, 110, 0.85);
}

.sb-btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
	transform: translateX(-130%);
	transition: transform 0.9s var(--sb-ease);
}

.sb-btn--primary:hover,
.sb-btn--primary:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 22px 40px -18px rgba(133, 96, 110, 0.95);
}

.sb-btn--primary:hover::after {
	transform: translateX(130%);
}

.sb-btn--outline {
	color: var(--sb-text);
	border-color: var(--sb-line-strong);
	background: transparent;
}

.sb-btn--outline:hover,
.sb-btn--outline:focus-visible {
	color: var(--sb-ink);
	border-color: var(--sb-rose);
	background: rgba(255, 255, 255, 0.65);
	transform: translateY(-2px);
}

.sb-btn--light {
	color: var(--sb-text);
	background: #fff;
	box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.45);
}

.sb-btn--light:hover,
.sb-btn--light:focus-visible {
	color: var(--sb-ink);
	transform: translateY(-2px);
}

.sb-btn--ghost-light {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.04);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.sb-btn--ghost-light:hover,
.sb-btn--ghost-light:focus-visible {
	color: var(--sb-text);
	border-color: #fff;
	background: #fff;
	transform: translateY(-2px);
}

.sb-btn--text {
	min-height: 0;
	padding: 6px 0;
	border-radius: 0;
	overflow: visible;
	color: var(--sb-ink);
	background: none;
	letter-spacing: 0.2em;
}

.sb-btn--text span {
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	padding-bottom: 4px;
	transition: background-size 0.45s var(--sb-ease);
}

.sb-btn--text:hover {
	color: var(--sb-text);
}

.sb-btn--text:hover span {
	background-size: 40% 1px;
}

.sb-btn--sm {
	min-height: 46px;
	padding: 0 24px;
	font-size: 0.72rem;
}

.sb-link-btn {
	padding: 4px 2px;
	border: 0;
	background: none;
	color: var(--sb-ink);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-color: var(--sb-gold-line);
	text-underline-offset: 0.35em;
}

.sb-link-btn:hover {
	color: var(--sb-text);
}

.sb-round-btn {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid var(--sb-line-strong);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	color: var(--sb-text);
	transition: all 0.35s var(--sb-ease);
}

.sb-round-btn:hover,
.sb-round-btn:focus-visible {
	border-color: transparent;
	background: var(--sb-grad-btn);
	color: #fff;
}

@media (max-width: 479px) {
	.sb-btn {
		padding: 0 24px;
		letter-spacing: 0.14em;
	}

	.sb-actions .sb-btn:not(.sb-btn--text) {
		flex: 1 1 100%;
	}
}

/* Placeholders & ornaments ---------------------------------------------- */

.sb-ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(70% 60% at 30% 25%, rgba(255, 255, 255, 0.7), transparent 60%),
		var(--sb-grad-blush);
	color: rgba(185, 111, 125, 0.45);
}

.sb-ph__art {
	width: 46%;
	max-width: 180px;
}

.sb-ornament {
	max-width: none;
	pointer-events: none;
}

.sb-spin .sb-badge-svg {
	animation: sb-spin 28s linear infinite;
}

@keyframes sb-spin {
	to {
		transform: rotate(360deg);
	}
}

.sb-badge-svg {
	width: 100%;
	height: 100%;
	color: var(--sb-ivory);
}

.sb-badge-svg .sb-badge__bg {
	fill: #fff;
}

.sb-badge__text {
	fill: var(--sb-ink);
	font-family: var(--sb-font-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
}

/* Page hero ---------------------------------------------------------------- */

.sb-page-hero {
	position: relative;
	overflow: hidden;
	overflow: clip;
	padding: calc(var(--sb-header-h) + clamp(40px, 6vw, 88px)) 0 clamp(72px, 9vw, 128px);
	background:
		radial-gradient(55% 70% at 88% 18%, rgba(217, 143, 155, 0.28), transparent 62%),
		radial-gradient(45% 60% at 6% 96%, rgba(216, 185, 138, 0.26), transparent 62%),
		var(--sb-ivory);
}

.sb-page-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--sb-gold-line), transparent);
}

.sb-page-hero__bloom {
	position: absolute;
	top: -140px;
	right: -140px;
	width: 560px;
	color: rgba(185, 111, 125, 0.13);
}

.sb-page-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: clamp(40px, 6vw, 110px);
}

.sb-page-hero--plain .sb-page-hero__grid {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.sb-page-hero--plain .sb-eyebrow {
	justify-content: center;
}

.sb-page-hero--plain .sb-eyebrow::after {
	content: "";
	flex: none;
	width: 36px;
	height: 1px;
	background: linear-gradient(90deg, var(--sb-champagne), transparent);
}

.sb-page-hero--plain .sb-breadcrumb ol {
	justify-content: center;
}

.sb-page-hero--plain .sb-page-hero__text {
	margin-inline: auto;
}

.sb-page-hero__title {
	font-size: clamp(2.75rem, 1.55rem + 4.4vw, 5.4rem);
	font-weight: 400;
	line-height: 1.02;
}

.sb-page-hero__text {
	max-width: 560px;
	margin-top: 26px;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
	line-height: 1.7;
}

.sb-page-hero__meta {
	display: inline-block;
	margin-top: 26px;
	padding: 8px 18px;
	border: 1px solid var(--sb-gold-line);
	border-radius: 999px;
	color: var(--sb-ink);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sb-page-hero__media {
	position: relative;
	justify-self: end;
	width: min(100%, 460px);
}

.sb-page-hero__media::before {
	content: "";
	position: absolute;
	inset: -18px 18px 18px -18px;
	border: 1px solid var(--sb-gold-line);
	border-radius: var(--sb-arch);
}

.sb-page-hero__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--sb-arch);
	background: var(--sb-grad-blush);
	box-shadow: var(--sb-shadow);
}

.sb-page-hero__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: sb-hero-zoom 2.4s var(--sb-ease-out) both;
}

@keyframes sb-hero-zoom {
	from {
		transform: scale(1.08);
	}
}

.sb-page-hero__badge {
	position: absolute;
	left: -58px;
	bottom: 46px;
	width: 136px;
	height: 136px;
	border-radius: 50%;
	filter: drop-shadow(0 18px 30px rgba(61, 48, 52, 0.18));
}

.sb-page-hero__badge-icon,
.sb-about-home__badge-icon {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--sb-rose);
}

@media (max-width: 1023px) {
	.sb-page-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		text-align: center;
	}

	.sb-page-hero .sb-eyebrow,
	.sb-page-hero .sb-breadcrumb ol {
		justify-content: center;
	}

	.sb-page-hero__text {
		margin-inline: auto;
	}

	.sb-page-hero__media {
		justify-self: center;
		width: min(78%, 360px);
		margin-top: 12px;
	}

	.sb-page-hero__badge {
		left: -38px;
		bottom: 30px;
		width: 104px;
		height: 104px;
	}
}

@media (max-width: 479px) {
	.sb-page-hero__badge {
		left: -22px;
		width: 88px;
		height: 88px;
	}
}

/* Breadcrumb */

.sb-breadcrumb {
	margin-bottom: 28px;
}

.sb-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	list-style: none;
	font-size: 0.72rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.sb-breadcrumb li {
	display: inline-flex;
	align-items: center;
}

.sb-breadcrumb li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 14px;
	transform: rotate(45deg);
	border: 1px solid var(--sb-champagne);
}

.sb-breadcrumb a {
	color: var(--sb-muted);
	text-decoration: none;
}

.sb-breadcrumb a:hover {
	color: var(--sb-ink);
}

.sb-breadcrumb [aria-current] {
	color: var(--sb-ink);
}

/* Filters (gallery & FAQ) --------------------------------------------------- */

.sb-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.sb-filter--center {
	justify-content: center;
}

.sb-filter__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 1px solid var(--sb-line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	color: var(--sb-text);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: all 0.35s var(--sb-ease);
}

.sb-filter__btn:hover {
	border-color: var(--sb-rose);
	color: var(--sb-ink);
}

.sb-filter__btn.is-active {
	border-color: transparent;
	background: var(--sb-grad-btn);
	color: #fff;
	box-shadow: 0 12px 26px -16px rgba(133, 96, 110, 0.9);
}

.sb-filter__count {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sb-rose-bg);
	color: var(--sb-ink);
	font-size: 0.68rem;
	letter-spacing: 0;
}

.sb-filter__btn.is-active .sb-filter__count {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}

@media (max-width: 599px) {
	.sb-filter {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(var(--sb-gutter) * -1);
		padding: 2px var(--sb-gutter) 10px;
		scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--sb-gutter), #000 calc(100% - var(--sb-gutter)), transparent);
		mask-image: linear-gradient(90deg, transparent, #000 var(--sb-gutter), #000 calc(100% - var(--sb-gutter)), transparent);
	}

	.sb-filter::-webkit-scrollbar {
		display: none;
	}

	.sb-filter--center {
		justify-content: flex-start;
	}

	.sb-filter__btn {
		flex: none;
	}
}

/* Help box (FAQ & legal) --------------------------------------------------- */

.sb-help-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px 32px;
	margin-top: clamp(48px, 7vw, 80px);
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--sb-gold-line);
	border-radius: var(--sb-radius-lg);
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(217, 143, 155, 0.18), transparent 60%),
		#fff;
	box-shadow: var(--sb-shadow-soft);
}

.sb-help-box__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sb-rose-bg);
	color: var(--sb-ink);
}

.sb-help-box__title {
	font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem);
}

.sb-help-box__text p {
	margin-top: 6px;
}

.sb-help-box .sb-actions {
	margin-top: 0;
}

@media (max-width: 767px) {
	.sb-help-box {
		grid-template-columns: minmax(0, 1fr);
		justify-items: center;
		text-align: center;
	}
}

/* Prose (editor content) ------------------------------------------------------ */

.sb-prose {
	color: var(--sb-muted);
}

.sb-prose > * + * {
	margin-top: 1.1em;
}

.sb-prose h2,
.sb-prose h3,
.sb-prose h4 {
	margin-top: 1.6em;
}

.sb-prose h2 {
	font-size: clamp(1.9rem, 1.6rem + 1vw, 2.5rem);
}

.sb-prose h3 {
	font-size: 1.6rem;
}

.sb-prose h4 {
	font-size: 1.3rem;
}

.sb-prose ul,
.sb-prose ol {
	padding-left: 1.3em;
}

.sb-prose li + li {
	margin-top: 0.45em;
}

.sb-prose ul li::marker {
	color: var(--sb-rose);
}

.sb-prose blockquote {
	padding: 6px 0 6px 24px;
	border-left: 2px solid var(--sb-champagne);
	color: var(--sb-text);
	font-family: var(--sb-font-serif);
	font-size: 1.4rem;
	font-style: italic;
	line-height: 1.5;
}

.sb-prose strong {
	color: var(--sb-text);
	font-weight: 500;
}

.sb-prose img {
	border-radius: var(--sb-radius-sm);
}

.sb-prose--lead > p:first-child {
	color: var(--sb-text);
	font-family: var(--sb-font-serif);
	font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.65rem);
	line-height: 1.5;
}

.sb-prose--lead > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	color: var(--sb-rose);
	font-family: var(--sb-font-serif);
	font-size: 3.6em;
	font-weight: 400;
	line-height: 0.82;
}

.sb-entry .alignwide,
.sb-entry .alignfull {
	margin-inline: 0;
}

.sb-page-links {
	margin-top: 32px;
}

/* Blog cards ------------------------------------------------------------------- */

.sb-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 40px 32px;
}

.sb-post-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--sb-radius);
	background: var(--sb-grad-blush);
}

.sb-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--sb-ease-out);
}

.sb-post-card:hover .sb-post-card__media img {
	transform: scale(1.05);
}

.sb-post-card__body {
	padding-top: 20px;
}

.sb-post-card__date {
	color: var(--sb-ink);
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.sb-post-card__title {
	margin: 8px 0 10px;
	font-size: 1.8rem;
}

.sb-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.sb-post-card__title a:hover {
	color: var(--sb-ink);
}

.navigation.pagination,
.navigation.post-navigation {
	margin-top: 56px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.nav-links a,
.nav-links span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--sb-line-strong);
	border-radius: 999px;
	color: var(--sb-text);
	text-decoration: none;
}

.nav-links .current {
	border-color: transparent;
	background: var(--sb-grad-btn);
	color: #fff;
}

.post-navigation .nav-links {
	justify-content: space-between;
}

.post-navigation .nav-links a {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	height: auto;
	padding: 14px 22px;
	border-radius: var(--sb-radius);
}

.sb-post-nav__label {
	color: var(--sb-ink);
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.sb-post-nav__title {
	font-family: var(--sb-font-serif);
	font-size: 1.2rem;
}

/* Comments (kept simple) */

.comments-area {
	margin-top: 64px;
}

.comment-list {
	list-style: none;
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--sb-line-strong);
	border-radius: var(--sb-radius-sm);
	background: #fff;
}

.comment-form .submit {
	min-height: 50px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--sb-grad-btn);
	color: #fff;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* 404 ---------------------------------------------------------------------------- */

.sb-404 {
	min-height: 80vh;
	display: grid;
	align-items: center;
}

.sb-404__inner {
	position: relative;
	text-align: center;
}

.sb-404__code {
	display: block;
	margin-bottom: -0.18em;
	background: var(--sb-grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-family: var(--sb-font-serif);
	font-size: clamp(7rem, 5rem + 10vw, 13rem);
	font-style: italic;
	font-weight: 300;
	line-height: 1;
	opacity: 0.55;
}

/* Floating helpers ----------------------------------------------------------------- */

.sb-to-top,
.sb-float-wa {
	position: fixed;
	right: clamp(16px, 2.4vw, 32px);
	z-index: 90;
	display: grid;
	place-items: center;
	border-radius: 50%;
	box-shadow: 0 16px 34px -16px rgba(47, 36, 39, 0.55);
	transition: transform 0.45s var(--sb-ease), opacity 0.45s var(--sb-ease), visibility 0.45s;
}

.sb-float-wa {
	bottom: clamp(16px, 2.4vw, 32px);
	width: 56px;
	height: 56px;
	background: #fff;
	color: #1f9d55;
}

.sb-float-wa:hover {
	color: #178a48;
	transform: translateY(-3px) scale(1.04);
}

.sb-to-top {
	bottom: calc(clamp(16px, 2.4vw, 32px) + 70px);
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--sb-line);
	background: rgba(255, 249, 245, 0.92);
	color: var(--sb-text);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.sb-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sb-to-top:hover {
	background: var(--sb-grad-btn);
	color: #fff;
}

body:not(:has(.sb-float-wa)) .sb-to-top {
	bottom: clamp(16px, 2.4vw, 32px);
}

/* Scroll reveal ---------------------------------------------------------------------- */

/*
 * Reveal uses an animation on the independent `translate` property, so it
 * never fights with components' own hover transforms or transitions.
 */
.js .sb-reveal {
	opacity: 0;
}

.js .sb-reveal.is-visible {
	animation: sb-reveal 1.15s var(--sb-ease-out) var(--sb-delay, 0ms) both;
}

@keyframes sb-reveal {
	from {
		opacity: 0;
		translate: 0 34px;
	}
	to {
		opacity: 1;
		translate: none;
	}
}

.sb-no-animations .sb-reveal,
.sb-no-animations .sb-reveal.is-visible,
.sb-no-animations .sb-spin .sb-badge-svg {
	opacity: 1 !important;
	translate: none !important;
	animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.js .sb-reveal,
	.js .sb-reveal.is-visible {
		opacity: 1;
		translate: none;
		animation: none;
	}

	.sb-spin .sb-badge-svg,
	.sb-page-hero__frame img {
		animation: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Print -------------------------------------------------------------------------------- */

@media print {
	.sb-header,
	.sb-mobile-menu,
	.sb-footer,
	.sb-to-top,
	.sb-float-wa,
	.sb-cta {
		display: none !important;
	}

	.js .sb-reveal {
		opacity: 1;
		animation: none;
	}

	.sb-acc-item__panel {
		display: block !important;
		visibility: visible !important;
	}
}
