.front-holder {
	margin-top: 2rem;
}
.front-page {
	background: none;
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	width: 90%;
	padding: clamp(1.5rem, 4vw, 3rem);
	border-radius:50px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: white;
}
.front-page .welcome {
	font-family: var(--font-heading) !important;
	font-weight: 700;
	color: #fff9f0;
}
.front-page .subwelcome {
	color: #fdf5e6;
	font-size: 1.3rem !important;
	font-weight: 600;
}
/* Layered hero background uses ::before, ::after, and a `.bg-third` child. */
.front-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/left.avif");
  background-size: contain;
  background-position: left;
  clip-path: polygon(0 0, 40% 0, 20% 100%, 0 100%);
  z-index: -1;
}

.front-page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/middle.avif");
  background-size: contain;
  background-position: center;
  clip-path: polygon(40% 0, 80% 0, 60% 100%, 20% 100%);
  z-index: -1;
}

.bg-third {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/right.avif");
  background-size: contain;
  background-position: right;
  clip-path: polygon(80% 0, 100% 0, 100% 100%, 60% 100%);
  z-index: -1;
}

.rhombus {
	display: inline-block;
	background: linear-gradient(90deg, #a03521, #7a2417); /* Warm brick accent for the hero badge */
	clip-path: polygon(7% 10%, 97% 10%, 92% 100%, 2% 100%); /* Rhombus shape */
        color:#fff9f0;
	padding: 1.25rem 3.75rem;
	z-index: 1;
}
.mobile-button {
	display: none !important;
}
.desktop-button {
	display: inline-block !important;
}

#home-sections {
	padding-inline: var(--page-gutter);
}
#home-sections > .row {
	margin-inline: 0;
	--bs-gutter-x: clamp(1.5rem, 4vw, 3rem);
}
#home-sections > .row > .col-5 { width: 50%; }
#home-sections > .row > .col-6 { width: 50%; }
.rhombus {
	max-width: calc(100% - 2 * var(--page-gutter));
}

.image-caption{
	width: 100%;
	text-align: center;
	padding: 1.5rem;
	margin: 0;
}
.image-caption h3 { margin-bottom: 0; }
.image-caption .btn { margin-top: 1.5rem !important; }
.home-story-image { display: block; width: 100%; height: auto; object-fit: contain; background: #f2e5d0; }
.home-first-section .fade-visible.fade-in-right,
.home-first-section .fade-visible.fade-in-left {
	animation-duration: 1.4s;
	animation-timing-function: ease-out;
}
@media (max-width: 991px) {
	.rhombus {
		display: none;
	}
	.mobile-button {
		display: inline-block !important;
	}
	.desktop-button {
		display: none !important;
	}
	.front-page{
		width: 100%;
		height: 100%;
		min-height: 50vh;
		border-radius: 50px;
	}
	.front-page::before, .front-page::after, .bg-third {
		background-size: cover;
	}
    .front-holder {
		margin: 5vh 5vw;
	}
    .image-caption{
		margin: 0;
		padding: 1.5rem .5rem 0;
	}
	#home-sections > .row > .col-5,
	#home-sections > .row > .col-6 { width: 100%; padding-inline: 0; }
	#home-sections > .home-first-section > .col-5 { padding-inline: clamp(2rem, 8vw, 3rem); }
}

.front-holder { margin: clamp(1rem, 3vw, 2.5rem) var(--page-gutter) 0; }
.front-page {
	width: 100%;
	max-width: 1500px;
	min-height: clamp(28rem, 66vh, 46rem);
	isolation: isolate;
	margin-inline: auto;
	border-radius: clamp(1.25rem, 3vw, 2.5rem);
	background: #4a321f;
	box-shadow: var(--shadow-soft);
}
.front-page::before, .front-page::after, .bg-third { z-index: -2; background-size: contain; }
.front-page::after { opacity: .95; }
.front-page::before { opacity: .88; }
.bg-third { opacity: .88; }
.front-page::after { content: ''; }
.front-page::before { filter: saturate(.88); }
.front-page > .welcome, .front-page > .subwelcome, .front-page > .btn { position: relative; z-index: 1; }
.front-page .welcome { max-width: 13ch; margin: 0 auto 1rem; font-size: clamp(3.2rem, 8vw, 6rem) !important; line-height: .98; letter-spacing: -.04em; text-wrap: balance; text-shadow: 0 3px 24px rgba(24,15,8,.28); }
.front-page .subwelcome { margin-bottom: 1.5rem !important; font-size: clamp(1.05rem, 2vw, 1.35rem) !important; font-weight: 500; letter-spacing: .015em; text-shadow: 0 2px 12px rgba(24,15,8,.35); }
.front-page .btn { padding: .9rem 1.5rem; font-size: 1.05rem !important; }
.home-order-cta { margin-block: 1rem !important; }
#home-sections { max-width: 1500px; margin: 0 auto; padding-block: 1rem var(--section-space); }
#home-sections > .row { align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem) !important; }
#home-sections > .row:last-child { margin-bottom: 0 !important; }
#home-sections > .row {
	padding: clamp(1rem, 3vw, 2rem);
	border: 1px solid var(--line);
	border-radius: 1.25rem;
	background: var(--cream-card);
	box-shadow: var(--shadow-soft);
}
.home-story-image { border-radius: 1.15rem; box-shadow: var(--shadow-soft); }
.image-caption { max-width: 42rem; margin-inline: auto; padding: clamp(1rem, 3vw, 2rem); }
.image-caption h3 { font-size: clamp(1.65rem, 3vw, 2.35rem) !important; line-height: 1.25; text-wrap: balance; }
.image-caption .btn { margin-top: 1.2rem !important; }
.front-page::before, .front-page::after, .front-page .bg-third { background-attachment: scroll; }
@media (min-width: 992px) {
	.home-order-cta { display: none; }
}
@media (max-width: 991px) {
	.front-holder { margin: 1rem .65rem 0; }
	.front-page { min-height: clamp(27rem, 72svh, 40rem); border-radius: 1.25rem; }
	.front-page::before, .front-page::after, .front-page .bg-third { background-size: cover; }
	#home-sections { padding-block: 1rem 2.5rem; }
	#home-sections > .row { gap: 1rem; margin-bottom: 3rem !important; }
	#home-sections > .row { padding: 1rem; border-radius: 1rem; }
	#home-sections > .home-first-section > .col-5 { padding-inline: .5rem !important; }
}

@media (max-width: 767px) {
	.front-page { min-height: clamp(20rem, 52svh, 30rem); }
}
