/* Hero — photo + centered intro (right) + glass quick links flush to the left edge (PSD 1920: 900px high) */
.home .block-hero {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; justify-content: flex-end;
	background-color: var(--color-primary-darkest);
}

/* Narrow screens: the photo sits on top, the text starts below the face on a fade to the page colour */
.home .block-hero .slider {position: absolute; inset: 0 0 auto 0; z-index: 0; height: min(120vw, 48rem);}
.home .block-hero .slider:after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(to bottom, transparent 45%, var(--color-primary-darkest) 100%);
}
.home .block-hero .slider .slide {position: absolute; inset: 0; background-size: cover; background-position: 38% 0;}

.home .block-hero .content {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
	padding: calc(var(--layout-header-height-mobile) + 62vw) 1.25rem 2.5rem;
}

.home .block-hero .intro {display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center;}
.home .block-hero .intro .mTitle {width: auto; height: auto; overflow: visible; line-height: 1.25;}
.home .block-hero .intro .mTitle.mTitle > h1 {float: none; margin: 0; line-height: 1.25; font-size: 2.25rem; font-weight: 700; color: #fff;}
.home .block-hero .intro .subtitle {
	margin: .5rem 0 0; line-height: 1.25; font-family: var(--font-decorative-he); font-size: 1.5rem; font-weight: 400; color: var(--color-accent-bright);
}
.home .block-hero .intro p {max-width: 29rem; margin: 1.25rem 0 0; line-height: 1.4; font-size: 1rem; color: #fff;}
.home .block-hero .intro .mButton {margin-top: 2rem;}

.home .block-hero .signature {display: none;}

/* Quick links — duplicate the Essential Stops teasers further down the page */
.home .block-hero .quickLinks {display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 28rem;}
.home .block-hero .quickLink {
	position: relative; display: flex; align-items: center; gap: 1.25rem; min-height: 6.5rem; padding: 1rem 1.25rem; border-radius: 10px;
	background-color: rgba(255,255,255,.13);
	transition: background-color .2s ease;
}
.home .block-hero .quickLink:hover {background-color: rgba(255,255,255,.17);}

/* Active card — accent gradient border */
.home .block-hero .quickLink.active:before {
	content: ''; position: absolute; inset: -1px 0 -1px -1px; border-radius: inherit; padding: 1px 1px 1px 0;
	background: linear-gradient(to left, var(--color-accent-bright), var(--color-accent) 20%, color-mix(in srgb, var(--color-accent) 20%, transparent));
	mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	mask-composite: exclude; -webkit-mask-composite: xor; pointer-events: none;
}

.home .block-hero .quickLink .icon {
	display: flex; flex-shrink: 0; align-items: center; justify-content: center;
	width: 4.75rem; height: 3.5rem; padding-inline-end: 1.25rem; border-inline-end: 2px solid rgba(255,255,255,.3);
}
.home .block-hero .quickLink .icon img {display: block; max-width: 100%; max-height: 100%; width: auto; height: auto;}
.home .block-hero .quickLink .arrow i {display: block; transform: translate(-.03em, .07em);}
.home .block-hero .quickLink .text {flex-grow: 1; display: flex; flex-direction: column; gap: .3rem; text-align: right; padding-bottom: .5rem;}
.home .block-hero .quickLink .text b {line-height: 1.2; font-size: 1.25rem; font-weight: 700; color: #fff;}
.home .block-hero .quickLink .text span {line-height: 1.3; font-size: .9rem; font-weight: 400; color: #fff;}
.home .block-hero .quickLink .arrow {
	display: flex; flex-shrink: 0; align-items: center; justify-content: center;
	width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--color-accent-bright); color: var(--color-accent-bright); font-size: .8rem;
}

@media screen and (min-width: 40em) {
	.home .block-hero .content {padding: calc(var(--layout-header-height) + 55vw) 3rem 3rem;}
	.home .block-hero .intro .mTitle.mTitle > h1 {font-size: 3rem;}
	.home .block-hero .intro .subtitle {font-size: 2.25rem;}
	.home .block-hero .intro p {font-size: 1.15rem;}
}

@media screen and (min-width: 64em) {
	.home .block-hero {height: 100vh; min-height: 40rem; justify-content: center;}
	.home .block-hero .slider {inset: 0; height: 100vh; min-height: 40rem;}
	.home .block-hero .slider:after {display: none;}
	.home .block-hero .slider .slide {background-position: center;}
	.home .block-hero .content {
		height: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem;
		padding: calc(var(--layout-header-height) + 1rem) 4.8vw 1rem 0; box-sizing: border-box;
	}

	.home .block-hero .intro {flex: 0 0 auto; width: clamp(22rem, 33vw, 40rem);}
	.home .block-hero .intro .mTitle.mTitle > h1 {font-size: clamp(2.25rem, 3.07vw, 3.7rem);}
	.home .block-hero .intro .subtitle {margin-top: .75rem; font-size: clamp(1.6rem, 2.05vw, 2.6rem);}
	.home .block-hero .intro p {max-width: clamp(20rem, 24.5vw, 29.5rem); margin-top: 1.5rem; font-size: clamp(1rem, 1.14vw, 1.4rem);}
	.home .block-hero .intro .mButton {margin-top: clamp(1.75rem, 2.2vw, 2.75rem);}

	.home .block-hero .signature {
		position: absolute; left: 33%; bottom: 3%; z-index: 1; display: block; width: clamp(6rem, 7.4vw, 9rem); height: auto;
	}

	.home .block-hero .quickLinks {flex: 0 0 auto; gap: clamp(.75rem, .94vw, 1.15rem); width: clamp(19rem, 24vw, 28.75rem); max-width: none;}
	.home .block-hero .quickLink {
		gap: clamp(.75rem, 1.2vw, 1.5rem); min-height: clamp(6.5rem, 7.1vw, 8.6rem); padding: 1rem clamp(1rem, 1.4vw, 1.75rem); border-radius: 0 10px 10px 0;
	}
	.home .block-hero .quickLink .icon {width: clamp(3.5rem, 3.9vw, 4.75rem); padding-inline-end: clamp(.75rem, 1vw, 1.25rem);}
	.home .block-hero .quickLink .text b {font-size: clamp(1.15rem, 1.41vw, 1.7rem);}
	.home .block-hero .quickLink .text span {font-size: clamp(.85rem, .85vw, 1rem);}
}
