:root{
	--brook-ink:         #2A2620;
	--brook-forest:      #2F4538;
	--brook-forest-dark: #1E2E24;
	--brook-sand:        #F4EEE0;
	--brook-sand-deep:   #E7DCC4;
	--brook-clay:        #B8704A;
	--brook-clay-dark:   #9C5A38;
	--brook-gold:        #CBA45C;
	--brook-band-height: 128px;
	--brook-font-display: 'poppins', -apple-system, BlinkMacSystemFont, sans-serif;
	--brook-font-body:    'poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============ SHELL ============ */
.brook-hero-carousel-widget{
	position: relative;
}

.hero-carousel{
	position: relative;
}

.hero-carousel .carousel-item{
	height: 780px;
	background-color: var(--brook-forest-dark);
}

.hero-slide{
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-start;
	font-family: var(--brook-font-body);
}

.hero-bg{
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 1;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(720px 500px at 4% 12%, rgba(203, 164, 92, 0.18) 0%, rgb(0 0 0 / 29%) 60%), linear-gradient(105deg, rgb(0 0 0 / 82%) 0%, rgb(0 0 0 / 85%) 40%, rgba(47, 69, 56, 0.4) 68%, rgba(47, 69, 56, 0.2) 100%), linear-gradient(0deg, rgb(27 27 28) 0%, rgba(20, 30, 24, 0) 22%);
}
.hero-content{
	position: relative;
	z-index: 3;
	width: 100%;
	padding-top: 128px;
	padding-bottom: calc(var(--brook-band-height) + 40px);
}

/* ============ EYEBROW ============ */
.hero-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgb(99 8 168);
    border: 1px solid rgba(203,164,92,0.55);
    color: #ffffff;
    font-family: var(--brook-font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 9px 18px 9px 16px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: riseIn 0.7s ease-out 0.15s forwards;
}

.hero-eyebrow i{
	color: var(--brook-gold);
	font-size: 0.9rem;
}

/* ============ HEADLINE / COPY ============ */
.hero-headline {
    /* font-family: var(--brook-font-display); */
    color: var(--brook-sand);
    font-weight: 500;
    font-size: 63px;
    line-height: 1.12;
    letter-spacing: -0.01em;
    max-width: 640px;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: riseIn 0.75s ease-out 0.3s forwards;
}

.hero-description {
    color: rgb(241 241 241);
    font-size: 22px;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: riseIn 0.75s ease-out 0.45s forwards;
}

.hero-content .d-flex.gap-3{
	opacity: 0;
	animation: riseIn 0.75s ease-out 0.6s forwards;
}

/* ============ BUTTONS ============ */
.btn-brook-primary {
    background: #732da9;
    border: 2px solid transparent;
    color: #ffffff;
    font-family: var(--brook-font-body);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 26px rgba(184,112,74,0.35);
}

.btn-brook-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(184,112,74,0.45);
    background: #2d5e04;
}

.btn-brook-secondary{
	background-color: transparent;
	border: 2px solid rgba(244,238,224,0.55);
	color: var(--brook-sand);
	font-family: var(--brook-font-body);
	font-weight: 600;
	padding: 12px 30px;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.btn-brook-secondary:hover{
	background-color: var(--brook-sand);
	color: var(--brook-forest-dark);
	border-color: var(--brook-sand);
	transform: translateY(-3px);
}

/* ============ IMAGE COLUMN — the window ============ */
.hero-image-panel{
	position: relative;
	z-index: 3;
	max-width: 380px;
	margin: 0 auto;
	padding-top: 46px;
	opacity: 0;
	animation: riseIn 0.9s ease-out 0.35s forwards;
}

.hero-image-wrap{
	position: relative;
	overflow: hidden;
	border-radius: 220px 220px 18px 18px;
	border: 6px solid rgba(244,238,224,0.9);
	box-shadow: 0 30px 60px rgba(15,20,16,0.45);
	transform: rotate(-1.4deg);
	animation: floatImage 6.5s ease-in-out infinite;
}

.hero-image-wrap img{
	width: 100%;
	height: 460px;
	object-fit: cover;
	display: block;
}

@keyframes floatImage{
	0%, 100% { transform: rotate(-1.4deg) translateY(0); }
	50%      { transform: rotate(-1.4deg) translateY(-12px); }
}

/* Hanging nameplate sign above the window */
.glass-info-card {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(1.2deg);
    background: #141612;
    border: 1px solid rgba(203,164,92,0.45);
    border-radius: 14px;
    padding: 13px 18px;
    box-shadow: 0 16px 34px rgba(15,20,16,0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 250px;
    white-space: nowrap;
}

.glass-info-card::before{
	/* the string the sign hangs from */
	content: "";
	position: absolute;
	top: -18px;
	left: 50%;
	width: 1px;
	height: 18px;
	background: rgba(203,164,92,0.6);
}

.glass-info-card .icon-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(203,164,92,0.16);
    border: 1px solid rgba(203,164,92,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.05rem;
}

.glass-info-card .glass-title {
    font-family: var(--brook-font-body);
    font-weight: 700;
    font-size: 18px;
    color: var(--brook-sand);
    margin-bottom: 1px;
    white-space: normal;
}

.glass-info-card .glass-subtitle{
	font-size: 0.74rem;
	color: rgba(244,238,224,0.65);
	white-space: normal;
}

/* ============ SLIDE NAV — numbered counter + arrows ============ */
.hero-slide-nav{
	position: absolute;
	z-index: 6;
	left: max(1.75rem, calc((100% - 1140px) / 2));
	bottom: calc(var(--brook-band-height) + 34px);
	display: none;
	align-items: center;
	gap: 18px;
}

.hero-slide-nav .carousel-control-prev,
.hero-slide-nav .carousel-control-next{
	position: static;
	width: 38px;
	height: 38px;
	background: rgba(244,238,224,0.08);
	border: 1px solid rgba(244,238,224,0.3);
	border-radius: 50%;
	color: var(--brook-sand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	opacity: 1;
	transition: all 0.3s ease;
}

.hero-slide-nav .carousel-control-prev:hover,
.hero-slide-nav .carousel-control-next:hover{
	background: var(--brook-clay);
	border-color: var(--brook-clay);
	transform: scale(1.08);
}

.carousel-indicators{
	position: static;
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
}

.carousel-indicators [data-bs-target]{
	width: auto;
	height: auto;
	padding: 2px 2px;
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	color: rgba(244,238,224,0.45);
	font-family: var(--brook-font-body);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	opacity: 1;
	text-indent: 0;
	transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active{
	color: var(--brook-gold);
	border-bottom-color: var(--brook-gold);
}

.carousel-indicators .slide-total{
	color: rgba(244,238,224,0.4);
	font-family: var(--brook-font-body);
	font-size: 0.9rem;
	margin-left: 2px;
}

/* ============ STATS — porch band pinned to hero bottom ============ */
.stats-bar-wrap{
	position: absolute;
	z-index: 5;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0;
	max-width: none;
}

.stats-bar {
    background: #02918c;
    border-top: 1px solid rgba(203,164,92,0.28);
    border-radius: 0;
    box-shadow: none;
    padding: 1.5rem 1.75rem;
    max-width: 1140px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
    text-align: left;
    border-right: 2px solid #fff;
}

.stats-bar .row > div:last-child .stat-item {
    border-right: none;
}

.stat-item .stat-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(203,164,92,0.14);
    border: 1px solid rgba(203,164,92,0.4);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    transition: transform 0.3s ease, background 0.3s ease;
    background: #ffffff;
}

.stat-item:hover .stat-icon {
    background: #daebea;
    color: var(--brook-forest-dark);
    transform: rotate(-6deg) scale(1.06);
}

.stat-item .stat-title{
	font-family: var(--brook-font-body);
	font-weight: 700;
	font-size: 19px;
	color: var(--brook-sand);
	margin-bottom: 0;
}

.stat-item .stat-sub {
    font-size: 15px;
    color: rgb(255 255 255 / 98%);
}

.stat-divider{
	width: 1px;
	background: rgba(203,164,92,0.22);
	height: 40px;
}

.stats-bar .row > div:not(:last-child) .stat-item{
	position: relative;
}

.stats-bar .row > div:not(:last-child) .stat-item::after{
	content: "";
	position: absolute;
	right: -14px;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 34px;
	background: rgba(203,164,92,0.2);
}

/* ============ MOTION ============ */
@keyframes riseIn{
	from{ opacity: 0; transform: translateY(18px); }
	to  { opacity: 1; transform: translateY(0); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px){
	:root{ --brook-band-height: 190px; }

	.hero-carousel .carousel-item{
		height: auto;
		min-height: 100%;
	}
	.hero-content{
		padding-top: 100px;
		padding-bottom: calc(var(--brook-band-height) + 30px);
	}
	.hero-headline{
		font-size: 2.15rem;
	}
	.hero-image-panel{
		max-width: 300px;
		margin-top: 1rem;
		padding-top: 40px;
	}
	.hero-image-wrap img{
		height: 320px;
	}
	.hero-slide-nav{
		left: 1.5rem;
		bottom: calc(var(--brook-band-height) + 24px);
	}
	.stats-bar{
		padding: 1.5rem 1.25rem;
	}
	.stats-bar .row > div:not(:last-child) .stat-item::after{
		display: none;
	}
}

@media (max-width: 575.98px){
	:root{ --brook-band-height: 260px; }

	.hero-headline{
		font-size: 1.7rem;
	}
	.hero-description {
    font-size: 18px;
}
	.hero-image-panel{
		max-width: 220px;
	}
	.hero-image-wrap img{
		height: 260px;
	}
	.glass-info-card{
		max-width: 190px;
		white-space: normal;
	}
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce){
	.hero-image-wrap{
		animation: none;
	}
	.hero-eyebrow,
	.hero-headline,
	.hero-description,
	.hero-content .d-flex.gap-3,
	.hero-image-panel{
		opacity: 1;
		animation: none;
		transform: none;
	}
	.hero-image-wrap{
		transform: rotate(-1.4deg);
	}
	.btn-brook-primary, .btn-brook-secondary, .stat-item .stat-icon,
	.hero-slide-nav .carousel-control-prev, .hero-slide-nav .carousel-control-next{
		transition: none;
	}
}