/*
Theme Name: Dom Maior Theme
Theme URI:
Author:
Author URI:
Description: Custom theme for Dom Maior website
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dommaior_theme
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
	--warm: 40 100% 98%;
	--background: 0 0% 100%;
	--foreground: 223 67% 21%;
	--card: 0 0% 100%;
	--card-foreground: 0 0% 3.9%;
	--popover: 0 0% 100%;
	--popover-foreground: 0 0% 3.9%;
	--primary: 0 0% 9%;
	--primary-foreground: 0 0% 98%;
	--secondary: 208 100% 95%;
	--secondary-foreground: 0 0% 9%;
	--muted: 0 0% 96.1%;
	--muted-foreground: 0 0% 33%;
	--accent: 0 72% 50%;
	--accent-foreground: 0 0% 9%;
	--destructive: 0 84.2% 60.2%;
	--destructive-foreground: 0 0% 98%;
	--border: 0 0% 89.8%;
	--input: 0 0% 89.8%;
	--ring: 0 0% 3.9%;
	--radius: 0.5rem;
	--font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
	--font-serif: 'Playfair Display', ui-serif, Georgia, serif;
}

html {
	overscroll-behavior: none;
}

html.high-contrast {
	--warm: var(--background);
	--background: 0 0% 0%;
	--foreground: 0 0% 100%;
	--card: 0 0% 0%;
	--card-foreground: 0 0% 100%;
	--popover: 0 0% 0%;
	--popover-foreground: 0 0% 100%;
	--primary: 0 0% 100%;
	--primary-foreground: 0 0% 0%;
	--secondary: 0 0% 12%;
	--secondary-foreground: 0 0% 100%;
	--muted: 0 0% 12%;
	--muted-foreground: 0 0% 80%;
	--accent: 60 100% 50%;
	--accent-foreground: 0 0% 0%;
	--destructive: 0 100% 60%;
	--destructive-foreground: 0 0% 100%;
	--border: 0 0% 100%;
	--input: 0 0% 100%;
	--ring: 60 100% 50%;
}

html.large-font {
	font-size: 120%;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: hsl(var(--border));
}

body {
	font-family: var(--font-sans);
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
	overflow-x: hidden;
	margin: 0;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ─── Typography reset ───────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

/* ─── Heading scale ──────────────────────────────────────────────────────────── */

h1 {
	line-height: 1.1;
	max-width: 56rem;
	font-size: 1.875rem;
	letter-spacing: -0.025em;
	font-weight: 500;
	text-wrap: balance;
}
@media (min-width: 640px) {
	h1 {
		font-size: 2.25rem;
	}
}
@media (min-width: 768px) {
	h1 {
		font-size: 3.75rem;
	}
}
@media (min-width: 1536px) {
	h1 {
		font-size: 4.5rem;
		max-width: 72rem;
	}
}

h2 {
	font-size: 2.5rem;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.2;
	text-wrap: balance;
}

h3 {
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

h4 {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.4;
}

h5 {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.5;
}

h6 {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
}

p {
	line-height: 1.5;
}

/* ─── Prose — editorial content from the WP editor ──────────────────────────── */
/* Apply .prose to any element that outputs freeform content (single-content,    */
/* page editor output, etc.). Margins live here, not globally.                   */

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}
.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child {
	margin-top: 0;
}

.prose p {
	margin-bottom: 1.25rem;
	line-height: 1.8;
}
.prose p:last-child {
	margin-bottom: 0;
}

.prose ul,
.prose ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
	line-height: 1.8;
}
.prose li {
	margin-bottom: 0.375rem;
}

.prose blockquote {
	border-left: 3px solid hsl(var(--accent));
	padding-left: 1.5rem;
	margin-block: 1.5rem;
	font-style: italic;
}

.prose img {
	border-radius: 1rem;
	margin-block: 1.5rem;
	max-width: 100%;
	height: auto;
}

.prose a {
	color: hsl(var(--accent));
	text-decoration: underline;
	text-underline-offset: 3px;
}

.container {
	margin-inline: auto;
	padding-inline: 2rem;
	width: 100%;
}
@media (width >= 1400px) {
	.container {
		max-width: 1400px;
	}
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	background-color: hsl(var(--background));
	transform: translateY(-100%);
}

.nav-topbar {
	height: 2rem;
	background-color: hsl(var(--secondary));
	color: hsl(var(--foreground));
	font-size: 0.875rem;
	display: none;
}
@media (min-width: 1024px) {
	.nav-topbar {
		display: block;
	}
}

.nav-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.nav-topbar-contacts {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav-topbar-contacts a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.15s;
}
.nav-topbar-contacts a:hover {
	opacity: 0.75;
}

.nav-main {
	height: 4rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
@media (min-width: 1024px) {
	.nav-main {
		height: 5rem;
		gap: 2rem;
	}
}

.nav-logo {
	display: block;
	position: relative;
	height: 3rem;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	flex-shrink: 0;
	text-decoration: none;
}
@media (min-width: 1024px) {
	.nav-logo {
		height: 4rem;
	}
}

.nav-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nav-menu-desktop {
	display: none;
	flex: 1;
}
@media (min-width: 1024px) {
	.nav-menu-desktop {
		display: block;
	}
}

.nav-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	height: 100%;
	align-items: center;
}

.nav-menu-item {
	position: relative;
	height: 100%;
	font-size: 0.875rem;
}

.nav-menu-item > a {
	height: 100%;
	white-space: nowrap;
	display: flex;
	align-items: center;
	padding-inline: 0.75rem;
	color: hsl(var(--foreground));
	text-decoration: none;
	transition: color 0.15s;
}
.nav-menu-item > a:hover {
	color: hsl(var(--accent-foreground));
}

.nav-item-dot {
	display: inline-block;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background-color: hsl(var(--accent));
	flex-shrink: 0;
	margin-left: 0.375rem;
}

.mega-trigger {
	height: 100%;
	display: flex;
	align-items: center;
	padding-inline: 0.75rem;
	gap: 0.375rem;
	color: hsl(var(--foreground));
	white-space: nowrap;
	background: none;
	border: none;
	font-size: inherit;
	font-family: inherit;
	cursor: pointer;
	letter-spacing: -0.025em;
	transition: color 0.15s;
}
.mega-trigger:hover,
.mega-trigger[aria-expanded='true'] {
	color: hsl(var(--accent-foreground));
}

.mega-trigger-icon {
	width: 0.75rem;
	height: 0.75rem;
	transition: transform 0.3s;
	flex-shrink: 0;
}
.mega-trigger[aria-expanded='true'] .mega-trigger-icon {
	transform: rotate(45deg);
}

.mega-menu {
	position: absolute;
	z-index: 100;
	top: 100%;
	left: 0;
	width: max-content;
	background-color: hsl(var(--background));
	padding: 1rem;
	border-radius: 0 0 var(--radius) var(--radius);
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition:
		opacity 0.3s,
		visibility 0.3s;
}
.mega-menu.is-open {
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.mega-menu-grid {
	display: grid;
	grid-template-columns: 1fr;
}
.mega-menu-grid.two-cols {
	grid-template-columns: 1fr 1fr;
}

.mega-menu-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
	text-decoration: none;
	color: hsl(var(--foreground));
	white-space: nowrap;
	transition: background-color 0.3s;
	overflow: hidden;
}
.mega-menu-item:hover {
	background-color: hsl(var(--secondary) / 0.4);
}

.mega-menu-item-number {
	font-size: 0.875rem;
	font-family: var(--font-serif);
	font-style: italic;
	font-variant-numeric: lining-nums;
	flex-shrink: 0;
	background-color: hsl(var(--secondary) / 0.4);
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	transition: background-color 0.2s;
}
.mega-menu-item:hover .mega-menu-item-number {
	background-color: hsl(var(--secondary));
}

.mega-menu-item-title {
	transition: color 0.3s;
}
.mega-menu-item:hover .mega-menu-item-title {
	color: hsl(var(--foreground));
}

.mega-menu-item::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	width: 100%;
	background-color: hsl(var(--accent));
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s;
}
.mega-menu-item:hover::after {
	transform: scaleX(1);
}

.mega-backdrop {
	position: fixed;
	left: 0;
	top: 7rem;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.2);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 40;
}
.mega-backdrop.is-visible {
	opacity: 1;
}

.nav-actions {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.75rem;
}

.a11y-buttons {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	z-index: 1;
}
@media (min-width: 1024px) {
	.a11y-buttons {
		margin-inline-end: -3.5rem;
	}
}

.a11y-btn {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: calc(var(--radius) - 2px);
	border: none;
	background: none;
	color: hsl(var(--foreground));
	cursor: pointer;
	transition:
		background-color 0.15s,
		color 0.15s;
	padding: 0;
}
.a11y-btn:hover {
	background-color: hsl(var(--foreground) / 0.1);
}
.a11y-btn[aria-pressed='true'] {
	background-color: hsl(var(--foreground));
	color: hsl(var(--background));
}
.a11y-btn:focus-visible {
	outline: 2px solid hsl(var(--ring));
	outline-offset: 2px;
}

.a11y-icon {
	width: 1rem;
	height: 1rem;
	stroke-width: 1.5;
}

.nav-cta {
	display: flex;
	align-items: center;
	color: hsl(var(--background));
	font-size: 0.875rem;
	white-space: nowrap;
	text-decoration: none;
}

.nav-cta-circle {
	width: 3.5rem;
	height: 3.5rem;
	background-color: hsl(var(--accent));
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-cta-circle-left {
	transform: translateX(3.5rem) scale(0);
	transform-origin: left center;
	transition: transform 0.5s ease-in-out;
}
.nav-cta:hover .nav-cta-circle-left {
	transform: translateX(3.5rem) scale(1);
}

.nav-cta-pill {
	border: 1px solid hsl(var(--accent));
	background-color: hsl(var(--accent));
	border-radius: 9999px;
	height: 3.5rem;
	padding-inline: 2rem;
	display: flex;
	align-items: center;
	transform: translateX(0);
	transition: transform 0.5s ease-in-out;
}
.nav-cta:hover .nav-cta-pill {
	transform: translateX(3.5rem);
}

.nav-cta-circle-right {
	transform: scale(1);
	transform-origin: right center;
	transition: transform 0.5s ease-in-out;
}
.nav-cta:hover .nav-cta-circle-right {
	transform: scale(0);
}

.nav-cta-arrow {
	width: 1rem;
	height: 1rem;
	stroke-width: 1.5;
	transform: rotate(-45deg);
	transition: transform 0.5s ease-in-out;
}
.nav-cta:hover .nav-cta-arrow {
	transform: rotate(0deg);
}

.nav-cta-desktop {
	display: none;
}
@media (min-width: 1024px) {
	.nav-cta-desktop {
		display: flex;
	}
}

.mobile-menu-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	aspect-ratio: 1;
	background: none;
	border: none;
	cursor: pointer;
	color: hsl(var(--foreground));
	padding: 0;
}
.mobile-menu-btn:hover {
	background: none;
}
@media (min-width: 1024px) {
	.mobile-menu-btn {
		display: none;
	}
}

.mobile-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.3s,
		visibility 0.3s;
}
.mobile-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.mobile-drawer {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	max-width: 400px;
	background-color: hsl(var(--background));
	z-index: 101;
	padding: 4rem 2rem 2rem;
	transform: translateX(-100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	overflow-y: auto;
}
.mobile-drawer.is-open {
	transform: translateX(0);
}

.mobile-close-btn {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: none;
	border: none;
	cursor: pointer;
	color: hsl(var(--foreground));
	border-radius: calc(var(--radius) - 2px);
	transition: background-color 0.15s;
}
.mobile-close-btn:hover {
	background-color: hsl(var(--foreground) / 0.1);
}

.mobile-menu-scroll {
	height: calc(100vh - 8rem);
	padding-bottom: 2.5rem;
	overflow-y: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.mobile-menu-scroll::-webkit-scrollbar {
	display: none;
}

.mobile-menu-items {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-menu-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-block: 0.75rem;
	font-size: 1.125rem;
	color: hsl(var(--foreground));
	text-decoration: none;
	transition: color 0.15s;
}
.mobile-menu-link:hover {
	color: hsl(var(--accent-foreground));
}

.mobile-accordion {
	border-bottom: 1px solid hsl(var(--border) / 0.4);
}

.mobile-accordion-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding-block: 0.75rem;
	font-size: 1.125rem;
	color: hsl(var(--foreground));
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.15s;
	text-align: left;
	font-family: inherit;
}
.mobile-accordion-trigger:hover {
	color: hsl(var(--accent-foreground));
}

.mobile-accordion-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.mobile-accordion-chevron {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
	transition: transform 0.2s;
}
.mobile-accordion-trigger[aria-expanded='true'] .mobile-accordion-chevron {
	transform: rotate(180deg);
}

.mobile-accordion-content {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.3s ease-in-out,
		opacity 0.3s ease-in-out;
}
.mobile-accordion-content.is-open {
	grid-template-rows: 1fr;
	opacity: 1;
	margin-bottom: 0.75rem;
}

.mobile-accordion-inner {
	overflow: hidden;
}

.mobile-accordion-children {
	padding-left: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mobile-child-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem 0.75rem;
	border-radius: var(--radius);
	text-decoration: none;
	color: hsl(var(--foreground));
	font-size: 1rem;
	transition:
		background-color 0.15s,
		color 0.15s;
}
.mobile-child-link:hover {
	background-color: hsl(var(--accent) / 0.15);
	color: hsl(var(--foreground));
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
	.site-header {
		transform: translateY(0) !important;
		transition: none !important;
	}
}

.site-footer {
	background-color: hsl(var(--warm));
	padding-top: 3rem;
}
@media (min-width: 768px) {
	.site-footer {
		padding-top: 4rem;
	}
}

.footer-inner {
	max-width: 80rem;
	margin-inline: auto;
}

.footer-top {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}
@media (min-width: 640px) {
	.footer-top {
		flex-direction: row;
		justify-content: space-between;
	}
}
@media (min-width: 768px) {
	.footer-top {
		gap: 3rem;
	}
}

.footer-brand {
	display: flex;
	flex-direction: column;
}

.footer-logo-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.footer-logo-img {
	width: 3rem;
	height: 3rem;
	overflow: hidden;
	flex-shrink: 0;
}
.footer-logo-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.footer-logo-name {
	font-size: 1.125rem;
	font-weight: 700;
	color: hsl(var(--foreground));
}
@media (min-width: 768px) {
	.footer-logo-name {
		font-size: 1.25rem;
	}
}

.footer-socials {
	display: flex;
	gap: 0.75rem;
	color: hsl(var(--background));
}

.social-link {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: hsl(var(--background));
	flex-shrink: 0;
}

.social-link--active {
	background-color: hsl(var(--accent));
	transition: opacity 0.15s;
}
.social-link--active:hover {
	opacity: 0.8;
}

.social-link--inactive {
	background-color: hsl(var(--accent) / 0.2);
	opacity: 0.5;
	cursor: default;
}

.social-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.footer-contact {
	display: flex;
	flex-direction: column;
}

.footer-contact-heading {
	margin-bottom: 1rem;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: hsl(var(--foreground));
}
@media (min-width: 768px) {
	.footer-contact-heading {
		font-size: 1.875rem;
	}
}

.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	color: hsl(var(--muted-foreground));
	font-weight: 500;
	font-size: 0.875rem;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-contact-item a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}
.footer-contact-item a:hover {
	color: hsl(var(--foreground));
}

.footer-contact-icon {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.footer-bottom {
	border-top: 1px solid hsl(var(--foreground) / 0.2);
	padding-top: 2rem;
	padding-bottom: 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	font-size: 0.875rem;
	gap: 0.5rem;
	justify-content: space-between;
	color: hsl(var(--foreground));
}
@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
		text-align: left;
	}
}

.footer-bottom p {
	font-weight: 500;
}

.footer-credits-link {
	letter-spacing: -0.05em;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.15s;
}
.footer-credits-link:hover {
	opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
	.social-link--active,
	.footer-contact-item a,
	.footer-credits-link {
		transition: none;
	}
}

.btn {
	display: inline-flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	border-radius: 9999px;
	font-weight: 500;
	font-family: inherit;
	letter-spacing: -0.025em;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.3s ease-in-out;
	outline-offset: 2px;
}
.btn:focus-visible {
	outline: 2px solid hsl(var(--ring));
}
.btn:disabled {
	pointer-events: none;
	opacity: 0.5;
}

.btn {
	height: 3.5rem;
	padding-inline: 2rem;
	font-size: 1rem;
}

.btn-sm {
	height: 2.5rem;
	padding-inline: 1.5rem;
	font-size: 0.875rem;
}

.btn-lg {
	height: 3.5rem;
	padding-inline: 1.25rem;
	font-size: 1.125rem;
}
@media (min-width: 768px) {
	.btn-lg {
		height: 4rem;
		padding-inline: 1.5rem;
	}
}

.btn-primary {
	background-color: hsl(var(--accent));
	color: hsl(var(--background));
	border-color: hsl(var(--accent));
}

.btn-outline {
	border-color: hsl(var(--border));
	background-color: hsl(var(--background));
	color: hsl(var(--foreground));
}

.btn-ghost {
	background-color: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: hsl(var(--background));
}
.btn:hover {
	transform: scale(1.02);
}

.badge {
	display: inline-flex;
	align-items: center;
	border-radius: 9999px;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	background-color: hsl(var(--secondary));
	color: hsl(var(--primary));
	width: fit-content;
}

.craft-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1rem;
}
@media (min-width: 640px) {
	.craft-container {
		padding-inline: 1.5rem;
	}
}
@media (min-width: 768px) {
	.craft-container {
		padding-inline: 2rem;
	}
}

.section {
	padding-block: 2rem;
}
@media (min-width: 768px) {
	.section {
		padding-block: 3rem;
	}
}

.section--sm {
	padding-block: 3rem;
}
@media (min-width: 640px) {
	.section--sm {
		padding-block: 4rem;
	}
}

.bg-warm {
	background: hsl(var(--warm));
}

/* ─── Section header ─────────────────────────────────────────────────────────── */
.section-header {
	margin-bottom: 3rem;
}

.section-header--center {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}
.section-header--center .section-desc {
	margin-inline: auto;
}

.section-header--wide {
	max-width: 1200px;
	margin-inline: auto;
}
.section-header--center.section-header--wide {
	text-align: center;
}

.section-desc {
	color: hsl(var(--muted-foreground));
	max-width: 36rem;
	line-height: 1.75;
}

.section-cta {
	margin-top: 2.5rem;
	text-align: center;
}
