/* ==========================================================================
   MURA — component styles
   Tokens come from theme.json; this file styles the sections that use
   raw markup (hero, gallery, FAQ, footer) plus a few shared primitives.
   ========================================================================== */

:root {
	--mura-base: var( --wp--preset--color--base, #f7f6f3 );
	--mura-surface: var( --wp--preset--color--surface, #eae7e0 );
	--mura-sand: var( --wp--preset--color--sand, #e6e2d8 );
	--mura-white: var( --wp--preset--color--white, #fff );
	--mura-contrast: var( --wp--preset--color--contrast, #2c2b29 );
	--mura-ink: var( --wp--preset--color--primary, #1a1918 );
	--mura-accent: var( --wp--preset--color--accent, #8b7355 );

	--mura-radius: 1rem;
	--mura-radius-lg: 2rem;
	--mura-shadow-soft: 0 1px 2px rgba( 0, 0, 0, 0.04 ), 0 8px 24px -16px rgba( 0, 0, 0, 0.12 );
	--mura-shadow-float: 0 30px 60px -20px rgba( 0, 0, 0, 0.16 );
	--mura-ease: cubic-bezier( 0.2, 0.7, 0.3, 1 );
	--mura-header-h: 5rem;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: var( --mura-header-h );
}

@media ( prefers-reduced-motion: reduce ) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

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

.mura-lede {
	color: rgba( 44, 43, 41, 0.66 );
	font-weight: 300;
	font-size: 1.0625rem;
	line-height: 1.7;
}

.mura-section--dark .mura-lede,
.mura-footer .mura-lede {
	color: rgba( 255, 255, 255, 0.62 );
}

.mura-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 1.4rem;
	padding: 0.4rem 0.9rem;
	background: var( --mura-surface );
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --mura-contrast );
}

.mura-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var( --mura-accent );
	flex: none;
}

.mura-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 200ms var( --mura-ease ), color 200ms var( --mura-ease ), transform 200ms var( --mura-ease );
}

.mura-btn--dark {
	background: var( --mura-ink );
	color: var( --mura-white );
}

.mura-btn--dark:hover {
	background: var( --mura-accent );
	color: var( --mura-white );
	transform: translateY( -1px );
}

.mura-round {
	width: 2.5rem;
	height: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var( --mura-surface );
	border-radius: 50%;
	background: transparent;
	color: var( --mura-contrast );
	cursor: pointer;
	transition: background-color 180ms var( --mura-ease ), border-color 180ms var( --mura-ease );
}

.mura-round:hover {
	background: var( --mura-base );
	border-color: var( --mura-accent );
}

.mura-reveal {
	animation: mura-rise 700ms var( --mura-ease ) both;
}

@keyframes mura-rise {
	from { opacity: 0; transform: translateY( 18px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

/* --- header -------------------------------------------------------------- */

.mura-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba( 247, 246, 243, 0.88 );
	backdrop-filter: saturate( 180% ) blur( 12px );
	-webkit-backdrop-filter: saturate( 180% ) blur( 12px );
	border-bottom: 1px solid rgba( 234, 231, 224, 0.9 );
}

.mura-header__inner {
	/* The group block also carries a flex layout, but declaring it here keeps
	   the header intact even if WP's generated layout CSS is not present. */
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp( 1.25rem, 4vw, 3rem );
	height: var( --mura-header-h );
	gap: 1.5rem;
}

.mura-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var( --mura-ink );
	text-decoration: none !important;
}

.mura-logo--light { color: var( --mura-white ); }

.mura-logo__mark { display: inline-flex; color: currentColor; }

.mura-logo__word {
	font-family: var( --wp--preset--font-family--serif );
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
}

.mura-nav a {
	color: var( --mura-contrast );
	font-weight: 500;
	text-decoration: none !important;
	transition: color 180ms var( --mura-ease );
}

.mura-nav a:hover { color: var( --mura-accent ); }

@media ( max-width: 900px ) {
	.mura-header .mura-header__cta { display: none; }
}

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

.mura-hero {
	display: grid;
	grid-template-columns: 1fr;
	min-height: calc( 100vh - var( --mura-header-h ) );
}

@media ( min-width: 1024px ) {
	.mura-hero { grid-template-columns: 1fr 1fr; }
}

.mura-hero__copy {
	display: flex;
	align-items: center;
	padding: clamp( 3rem, 7vw, 6rem ) clamp( 1.5rem, 5vw, 5rem );
	background: var( --mura-base );
}

.mura-hero__inner { max-width: 34rem; }

.mura-hero__title {
	font-family: var( --wp--preset--font-family--serif );
	font-size: clamp( 2.75rem, 6vw, 4.5rem );
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 1.25rem;
	color: var( --mura-ink );
}

.mura-hero__title em {
	font-style: italic;
	color: var( --mura-accent );
}

.mura-hero__lede {
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.75;
	color: rgba( 44, 43, 41, 0.72 );
	margin: 0 0 2.5rem;
	max-width: 30rem;
}

.mura-hero__proof {
	display: flex;
	align-items: center;
	gap: clamp( 1rem, 3vw, 2rem );
	padding-top: 1.75rem;
	border-top: 1px solid var( --mura-surface );
	flex-wrap: wrap;
}

.mura-proof {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.mura-proof__label {
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba( 44, 43, 41, 0.45 );
}

.mura-proof strong {
	font-family: var( --wp--preset--font-family--serif );
	font-size: 1.25rem;
	font-weight: 600;
	color: var( --mura-ink );
}

.mura-proof__note {
	font-size: 0.75rem;
	color: rgba( 44, 43, 41, 0.55 );
}

.mura-proof__rule {
	width: 1px;
	height: 2.25rem;
	background: var( --mura-surface );
}

.mura-hero__panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp( 1.5rem, 4vw, 3rem );
	background: var( --mura-sand );
	overflow: hidden;
	min-height: 34rem;
}

.mura-hero__glow {
	position: absolute;
	top: 12%;
	right: -18%;
	width: 32rem;
	height: 32rem;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.55 );
	filter: blur( 80px );
	pointer-events: none;
}

#mura-quote {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 28rem;
}

/* --- section scaffolding ------------------------------------------------- */

.mura-section {
	padding-top: clamp( 4rem, 8vw, 6.5rem );
	padding-bottom: clamp( 4rem, 8vw, 6.5rem );
}

.mura-section--flush {
	padding-left: 0;
	padding-right: 0;
	overflow: hidden;
}

.mura-section__head { margin-bottom: clamp( 2.5rem, 5vw, 4rem ); }
.mura-section__head--left { margin-left: 0; }

/* --- how it works -------------------------------------------------------- */

.mura-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp( 2rem, 4vw, 3rem );
	position: relative;
}

@media ( min-width: 768px ) {
	.mura-steps { grid-template-columns: repeat( 3, 1fr ); }
	.mura-steps::before {
		content: "";
		position: absolute;
		top: 3rem;
		left: 16.6%;
		right: 16.6%;
		height: 1px;
		background: var( --mura-surface );
	}
}

.mura-step {
	position: relative;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mura-step__ring {
	width: 6rem;
	height: 6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	border-radius: 50%;
	background: var( --mura-base );
	border: 1px solid var( --mura-white );
	box-shadow: var( --mura-shadow-soft );
	color: var( --mura-ink );
	transition: border-color 400ms var( --mura-ease ), transform 400ms var( --mura-ease );
}

.mura-step:hover .mura-step__ring {
	border-color: rgba( 139, 115, 85, 0.4 );
	transform: translateY( -3px );
}

.mura-step h3 {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var( --mura-ink );
}

.mura-step p {
	margin: 0;
	max-width: 21rem;
	font-size: 0.9375rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba( 44, 43, 41, 0.62 );
}

/* --- feature cards ------------------------------------------------------- */

.mura-cards {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat( auto-fit, minmax( 17rem, 1fr ) );
}

.mura-card {
	background: var( --mura-white );
	border: 1px solid rgba( 0, 0, 0, 0.03 );
	border-radius: var( --mura-radius );
	padding: 2rem;
	box-shadow: var( --mura-shadow-soft );
	transition: box-shadow 250ms var( --mura-ease ), transform 250ms var( --mura-ease );
}

.mura-card:hover {
	box-shadow: 0 20px 40px -20px rgba( 0, 0, 0, 0.16 );
	transform: translateY( -2px );
}

.mura-card--accent {
	background: linear-gradient( 160deg, #fff 0%, rgba( 234, 231, 224, 0.6 ) 100% );
}

.mura-card__icon {
	display: inline-flex;
	margin-bottom: 1.1rem;
	color: var( --mura-accent );
}

.mura-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var( --mura-ink );
}

.mura-card p {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba( 44, 43, 41, 0.62 );
}

/* --- gallery ------------------------------------------------------------- */

.mura-gallery__head {
	max-width: 1400px;
	margin: 0 auto clamp( 1.75rem, 4vw, 2.5rem );
	padding: 0 clamp( 1.25rem, 4vw, 3rem );
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.mura-gallery__head h2 {
	margin: 0 0 0.5rem;
	font-family: var( --wp--preset--font-family--serif );
	font-size: clamp( 2rem, 4vw, 2.75rem );
	font-weight: 500;
	color: var( --mura-ink );
}

.mura-gallery__head .mura-lede { margin: 0; max-width: 32rem; }

.mura-gallery__nav { display: none; gap: 0.5rem; flex: none; }

@media ( min-width: 768px ) {
	.mura-gallery__nav { display: flex; }
}

.mura-gallery__strip {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 clamp( 1.25rem, 4vw, 3rem ) 2rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.mura-gallery__strip::-webkit-scrollbar { display: none; }

.mura-tile {
	position: relative;
	flex: none;
	width: min( 85vw, 34rem );
	aspect-ratio: 4 / 3;
	margin: 0;
	border-radius: var( --mura-radius );
	overflow: hidden;
	scroll-snap-align: center;
	isolation: isolate;
}

.mura-tile--nocturne { background: var( --wp--preset--gradient--nocturne, linear-gradient( 135deg, #2f3a34, #55604f 45%, #8b7355 ) ); }
.mura-tile--dune     { background: var( --wp--preset--gradient--dune, linear-gradient( 135deg, #e6e2d8, #cfc6b5 55%, #a2917a ) ); }
.mura-tile--verdant  { background: var( --wp--preset--gradient--verdant, linear-gradient( 135deg, #3c4a3e, #7e8c6a 60%, #d7d2c2 ) ); }
.mura-tile--deco     { background: var( --wp--preset--gradient--deco, linear-gradient( 135deg, #1a1918, #4a403a 50%, #8b7355 ) ); }
.mura-tile--atelier  { background: var( --wp--preset--gradient--atelier, linear-gradient( 135deg, #e7d8ce, #c8a78f 55%, #8b7355 ) ); }

/* A woven texture built from repeating gradients — no photography needed. */
.mura-tile__grain {
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient( 45deg, rgba( 255, 255, 255, 0.06 ) 0 2px, transparent 2px 7px ),
		repeating-linear-gradient( -45deg, rgba( 0, 0, 0, 0.05 ) 0 2px, transparent 2px 9px ),
		radial-gradient( circle at 30% 25%, rgba( 255, 255, 255, 0.22 ), transparent 55% );
	mix-blend-mode: overlay;
	transition: transform 700ms var( --mura-ease );
}

.mura-tile:hover .mura-tile__grain { transform: scale( 1.06 ); }

.mura-tile figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	color: #fff;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.62 ), transparent );
}

.mura-tile figcaption strong { font-weight: 500; font-size: 1rem; }
.mura-tile figcaption span { font-size: 0.8125rem; font-weight: 300; color: rgba( 255, 255, 255, 0.75 ); }

/* --- testimonials -------------------------------------------------------- */

.mura-section--dark { position: relative; overflow: hidden; }

.mura-section--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient( circle at 50% 0%, rgba( 234, 231, 224, 0.14 ), transparent 60% );
	pointer-events: none;
}

.mura-quotes {
	position: relative;
	display: grid;
	gap: clamp( 2rem, 4vw, 3rem );
	grid-template-columns: repeat( auto-fit, minmax( 17rem, 1fr ) );
}

.mura-testimonial {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.mura-testimonial__mark {
	font-family: var( --wp--preset--font-family--serif );
	font-size: 3.5rem;
	line-height: 0.6;
	color: var( --mura-accent );
	margin-bottom: 1.5rem;
	opacity: 0.85;
}

.mura-testimonial blockquote {
	margin: 0 0 1.5rem;
	padding: 0;
	border: 0;
	flex-grow: 1;
	font-family: var( --wp--preset--font-family--serif );
	font-size: 1.1875rem;
	line-height: 1.6;
	color: rgba( 255, 255, 255, 0.94 );
}

.mura-testimonial figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.mura-testimonial figcaption strong { font-size: 0.875rem; font-weight: 600; color: #fff; }
.mura-testimonial figcaption span { font-size: 0.75rem; font-weight: 300; color: rgba( 255, 255, 255, 0.5 ); }

/* --- FAQ ----------------------------------------------------------------- */

.mura-faq { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2.5rem; }

.mura-faq__item {
	border: 1px solid var( --mura-surface );
	border-radius: var( --mura-radius );
	background: rgba( 247, 246, 243, 0.5 );
	overflow: hidden;
	transition: border-color 200ms var( --mura-ease ), background-color 200ms var( --mura-ease );
}

.mura-faq__item[open] {
	background: var( --mura-white );
	border-color: rgba( 139, 115, 85, 0.35 );
}

.mura-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 1.25rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-weight: 500;
	color: var( --mura-ink );
}

.mura-faq__item summary::-webkit-details-marker { display: none; }
.mura-faq__item summary:focus-visible { outline: 2px solid var( --mura-accent ); outline-offset: -4px; }

.mura-faq__sign {
	position: relative;
	flex: none;
	width: 1rem;
	height: 1rem;
	transition: transform 250ms var( --mura-ease );
}

.mura-faq__sign::before,
.mura-faq__sign::after {
	content: "";
	position: absolute;
	background: rgba( 44, 43, 41, 0.5 );
	border-radius: 1px;
}

.mura-faq__sign::before { inset: 45% 0 45% 0; }
.mura-faq__sign::after  { inset: 0 45% 0 45%; }

.mura-faq__item[open] .mura-faq__sign { transform: rotate( 135deg ); }

.mura-faq__body {
	padding: 0 1.5rem 1.35rem;
	animation: mura-fade 250ms var( --mura-ease ) both;
}

.mura-faq__body p {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 300;
	line-height: 1.75;
	color: rgba( 44, 43, 41, 0.7 );
}

@keyframes mura-fade {
	from { opacity: 0; transform: translateY( -4px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}

/* --- closing CTA --------------------------------------------------------- */

.mura-cta {
	padding: clamp( 3.5rem, 7vw, 5.5rem ) clamp( 1.25rem, 4vw, 3rem );
	background: var( --mura-sand );
	text-align: center;
}

.mura-cta__inner { max-width: 34rem; margin: 0 auto; }

.mura-cta h2 {
	margin: 0 0 0.75rem;
	font-family: var( --wp--preset--font-family--serif );
	font-size: clamp( 1.85rem, 4vw, 2.5rem );
	font-weight: 500;
	color: var( --mura-ink );
}

.mura-cta p {
	margin: 0 0 2rem;
	font-weight: 300;
	color: rgba( 44, 43, 41, 0.68 );
}

/* --- footer -------------------------------------------------------------- */

/* WordPress insets this group via .has-global-padding. Repeating the exact
   same custom property here keeps the footer correct in contexts where that
   class is not applied, without ever doubling the padding. */
.mura-footer {
	padding-left: var( --wp--style--root--padding-left, clamp( 1.25rem, 4vw, 3rem ) );
	padding-right: var( --wp--style--root--padding-right, clamp( 1.25rem, 4vw, 3rem ) );
}

.mura-footer__grid,
.mura-footer__base,
.mura-footer__disclaimer {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

.mura-footer__grid {
	display: grid;
	gap: clamp( 2rem, 4vw, 3rem );
	grid-template-columns: repeat( auto-fit, minmax( 13rem, 1fr ) );
	padding-bottom: clamp( 2.5rem, 5vw, 4rem );
}

.mura-footer__brand { max-width: 22rem; }

.mura-footer__brand .mura-logo { margin-bottom: 1.25rem; }

.mura-footer__blurb {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.7;
	color: rgba( 255, 255, 255, 0.6 );
}

.mura-footer__badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.75rem;
	color: rgba( 255, 255, 255, 0.45 );
}

.mura-footer__col h4 {
	margin: 0 0 1.1rem;
	font-family: var( --wp--preset--font-family--sans );
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}

.mura-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 0.875rem;
	font-weight: 300;
	color: rgba( 255, 255, 255, 0.6 );
}

.mura-footer__col a {
	color: rgba( 255, 255, 255, 0.6 );
	text-decoration: none !important;
	transition: color 180ms var( --mura-ease );
}

.mura-footer__col a:hover { color: #fff; }

.mura-footer__address { padding-top: 0.35rem; line-height: 1.6; }

.mura-footer__base {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.75rem;
	border-top: 1px solid rgba( 255, 255, 255, 0.1 );
	font-size: 0.75rem;
	font-weight: 300;
	color: rgba( 255, 255, 255, 0.4 );
}

.mura-footer__base p { margin: 0; }
.mura-footer__legal { display: flex; gap: 0.75rem; }
.mura-footer__legal a { color: rgba( 255, 255, 255, 0.4 ); text-decoration: none !important; }
.mura-footer__legal a:hover { color: #fff; }

.mura-footer__disclaimer {
	margin: 2rem 0 0;
	text-align: center;
	font-size: 0.6875rem;
	letter-spacing: 0.04em;
	color: rgba( 255, 255, 255, 0.28 );
}

/* --- misc ---------------------------------------------------------------- */

.mura-postlist { gap: 2rem; }

:where( .wp-block-navigation__responsive-container.is-menu-open ) {
	background: var( --mura-base );
}
