
/*EDITS_15-09-25*/
@media (min-width: 1200px) and (max-width: 1550px) {
	.phone-cover p.h3 {
		font-size: clamp(1.2rem, -0.6857rem + 2.5143vw, 1.75rem);
	}
	
	.phone-cover p.h2 {
		font-size: clamp(1.1rem, -0.2714rem + 1.8286vw, 1.5rem);
	}
}

/* =====================================================================
   SPRING SALE BANNER (added 2026-09-11) - mirrors the main site banner
   (mrgrout.com.au Spring Sale) with the Mr Grout logo kept at the top
   and the phone / servicing details kept at top-left.
   Header markup lives in src/master.php; original header is kept in
   src/master-backup-2026-09-11.php - restore it to revert.
   ===================================================================== */
@font-face {
	font-family: 'CCThisManThisMonster';
	src: url('fonts/CCThisManThisMonster.woff2') format('woff2');
	font-weight: normal;
	font-display: swap;
}

/* stage ------------------------------------------------------------- */
header.banner.spring-banner {
	position: relative;
	height: 700px;
	padding: 0;
	overflow: hidden;
	border-bottom: 4px solid #000;
	background: #e02f25 url('../images/spring-banner-bg.jpg') center / cover no-repeat;
}

/* logo at the top --------------------------------------------------- */
header.spring-banner .spring-logo {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	z-index: 4;
	margin: 0;
}

header.spring-banner .spring-logo .logo {
	width: 100%;
	max-width: 100%;
}

/* phone / servicing details ----------------------------------------- */
header.spring-banner .spring-details {
	position: absolute;
	top: 90px;
	left: 0;
	width: 100%;
	padding: 0 16px;
	transform: rotate(-8deg);
	z-index: 5;
}

header.spring-banner .spring-details .h2,
header.spring-banner .spring-details .h3 {
	-webkit-text-stroke: 1px #000;
	text-shadow: 3px 3px 0 #000;
}

/* artwork ----------------------------------------------------------- */
header.spring-banner .spring-palms,
header.spring-banner .spring-guy,
header.spring-banner .spring-bubble-bg {
	position: absolute;
	height: auto;
	pointer-events: none;
}

header.spring-banner .spring-palms {
	left: -40px;
	bottom: -6px;
	width: 220px;
	z-index: 1;
}

header.spring-banner .spring-guy {
	right: -40px;
	bottom: 0;
	width: 220px;
	z-index: 3;
}

header.spring-banner .spring-bubble-bg {
	display: none;
	left: 50%;
	top: 50%;
	width: 1150px;
	transform: translate(-50%, -46%);
	z-index: 2;
}

/* copy -------------------------------------------------------------- */
header.spring-banner .spring-content {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 992px;
	padding: 0 8%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #000;
	z-index: 3;
}

header.spring-banner .spring-content > * {
	margin: 0 0 22px;
}

header.spring-banner .spring-content > *:last-child {
	margin-bottom: 0;
}

.spring-title {
	font-family: 'CCThisManThisMonster', KomikaTitle, sans-serif;
	font-size: 60px;
	line-height: 1;
	letter-spacing: -1.2px;
	position: relative;
	display: inline-block;
	padding-bottom: .06em;
	color: transparent;
	background-image: linear-gradient(180deg, #ffbd3c 30%, #f08dff 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

.spring-title::before {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #000;
	-webkit-text-stroke: 8px #000;
	text-shadow: 4px 4px 0 #000;
	z-index: -1;
}

.spring-copy {
	font-family: KomikaTitle, sans-serif;
	font-size: 16px;
	line-height: 1.2;
}

.spring-copy span {
	position: relative;
	color: #ffbd3c;
	white-space: nowrap;
}

.spring-copy span::before {
	content: attr(data-text);
	position: absolute;
	top: 1px;
	left: 0;
	width: 100%;
	height: 100%;
	color: #000;
	-webkit-text-stroke: 6px #000;
	z-index: -1;
}

.spring-small {
	font-family: Gilroy, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
}

.spring-btn {
	display: inline-block;
	background: #e02f25;
	color: #fff;
	border: 4px solid #000;
	padding: 12px;
	font-family: KomikaTitle, sans-serif;
	font-size: 14px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .3s, color .3s;
}

.spring-btn:hover,
.spring-btn:focus {
	background: #fff;
	color: #000;
	text-decoration: none;
}

/* T&C's tab --------------------------------------------------------- */
.spring-tc {
	position: absolute;
	left: 0;
	bottom: 80px;
	z-index: 20;
	max-width: 320px;
	color: #fff;
}

.spring-tc summary {
	list-style: none;
	display: inline-block;
	background: #0d385d;
	padding: 12px;
	font-family: KomikaTitle, sans-serif;
	font-size: 18px;
	cursor: pointer;
	transition: background .3s, color .3s;
}

.spring-tc summary::-webkit-details-marker {
	display: none;
}

.spring-tc summary:hover {
	background: #fff;
	color: #000;
}

.spring-tc .spring-tc-body {
	background: #0d385d;
	padding: 12px 16px 16px;
	font-family: Gilroy, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.3;
}

/* contact form: overlap the banner like the main site and sit above the artwork */
header.spring-banner + section.form {
	position: relative;
	z-index: 10;
	margin-top: -4rem;
}

header.spring-banner + section.form .form-card::before {
	display: none;
}

/* breakpoints (match the main site's sm / md / lg / xl / 2xl) --------- */
@media (min-width: 576px) {
	header.spring-banner .spring-palms,
	header.spring-banner .spring-guy {
		width: 300px;
	}
}

@media (min-width: 768px) {
	header.banner.spring-banner {
		border-bottom-width: 10px;
	}

	header.spring-banner .spring-palms {
		left: 0;
	}

	header.spring-banner .spring-guy {
		right: 0;
	}

	header.spring-banner .spring-details {
		width: 60%;
		left: 20%;
	}

	.spring-title {
		font-size: 70px;
	}

	.spring-copy {
		font-size: 20px;
	}

	.spring-tc summary {
		font-size: 24px;
	}

	.spring-tc .spring-tc-body {
		font-size: 16px;
	}
}

@media (min-width: 1024px) {
	header.banner.spring-banner {
		height: 760px;
	}

	header.spring-banner .spring-logo {
		width: 300px;
	}

	header.spring-banner .spring-details {
		width: 400px;
		left: 20px;
		top: 130px;
		transform: rotate(-20deg);
		padding: 0;
	}

	header.spring-banner .spring-palms,
	header.spring-banner .spring-guy {
		width: 400px;
	}

	header.spring-banner .spring-bubble-bg {
		display: block;
		top: calc(50% + 40px);
	}

	header.spring-banner .spring-content {
		top: calc(50% + 40px);
		transform: translate(-50%, -52%);
		padding: 0 16px;
	}
}

@media (min-width: 1200px) {
	header.spring-banner + section.form {
		margin-top: -10rem;
	}

	.spring-tc {
		bottom: 160px;
	}
}

@media (min-width: 1280px) {
	.spring-title {
		font-size: 90px;
	}

	.spring-title::before {
		-webkit-text-stroke: 12px #000;
		text-shadow: 7px 7px 0 #000;
	}

	.spring-copy {
		font-size: 24px;
	}

	.spring-copy span::before {
		-webkit-text-stroke: 8px #000;
	}

	.spring-btn {
		font-size: 16px;
	}
}

@media (min-width: 1920px) {
	header.banner.spring-banner {
		height: 990px;
	}

	header.spring-banner .spring-logo {
		width: 380px;
	}

	header.spring-banner .spring-details {
		width: 480px;
		left: 40px;
		top: 170px;
		transform: rotate(-25deg);
	}

	header.spring-banner .spring-palms {
		width: 661px;
	}

	header.spring-banner .spring-guy {
		width: 644px;
	}

	header.spring-banner .spring-bubble-bg {
		width: 1350px;
		top: calc(50% + 60px);
	}

	header.spring-banner .spring-content {
		top: calc(50% + 60px);
	}

	.spring-title {
		font-size: 128px;
		letter-spacing: -2.5px;
	}

	.spring-btn {
		padding: 12px 32px;
	}
}

/* laptop widths: keep Mr Grout and the copy clear of each other (same tweak as the main site) */
@media (min-width: 1024px) and (max-width: 1535.98px) {
	header.spring-banner .spring-guy {
		width: 370px;
		right: -40px;
	}

	header.spring-banner .spring-content {
		max-width: 860px;
	}

	.spring-copy {
		font-size: 20px;
	}
}

/* phones / tablets: the 3-line contact block needs a little more room above the title */
@media (max-width: 1023.98px) {
	header.banner.spring-banner {
		height: 760px;
	}

	header.spring-banner .spring-content {
		top: calc(50% + 50px);
	}
}

/* 1536-1919px viewports (a 1920 laptop at 125% Windows scaling reports 1536 CSS px):
   scale the whole banner in proportion to the 1920 design so the copy never runs
   into Mr Grout - every value below is the 1920px value divided by 19.2.
   From 1920px up the fixed pixel values above take over again. */
@media (min-width: 1536px) and (max-width: 1919.98px) {
	header.banner.spring-banner { height: 51.56vw; }                    /* 990px */
	header.spring-banner .spring-logo { width: 19.79vw; top: 0.63vw; }  /* 380px / 12px */
	header.spring-banner .spring-details { width: 25vw; left: 2.08vw; top: 8.85vw; transform: rotate(-25deg); }  /* 480px / 40px / 170px */
	header.spring-banner .spring-details .display-3 { font-size: 3.75vw; }  /* 72px */
	header.spring-banner .spring-details .h2 { font-size: 1.67vw; }         /* 32px */
	header.spring-banner .spring-details .h3 { font-size: 1.46vw; }         /* 28px */
	header.spring-banner .spring-palms { width: 34.43vw; }              /* 661px */
	header.spring-banner .spring-guy { width: 33.54vw; right: 0; }      /* 644px */
	header.spring-banner .spring-bubble-bg { width: 70.31vw; top: calc(50% + 3.125vw); }  /* 1350px / +60px */
	header.spring-banner .spring-content { max-width: 51.67vw; top: calc(50% + 3.125vw); padding: 0 0.83vw; }  /* 992px / +60px / 16px */
	header.spring-banner .spring-content > * { margin-bottom: 1.15vw; } /* 22px */
	.spring-title { font-size: 6.67vw; letter-spacing: -0.13vw; }       /* 128px / -2.5px */
	.spring-title::before { -webkit-text-stroke: 0.625vw #000; text-shadow: 0.36vw 0.36vw 0 #000; }  /* 12px / 7px */
	.spring-copy { font-size: 1.25vw; }                                 /* 24px */
	.spring-copy span::before { -webkit-text-stroke: 0.42vw #000; }     /* 8px */
	.spring-small { font-size: 0.73vw; }                                /* 14px */
	.spring-btn { font-size: 0.83vw; padding: 0.625vw 1.67vw; border-width: 0.21vw; }  /* 16px / 12px 32px / 4px */
	.spring-tc { bottom: 8.33vw; }                                      /* 160px */
}

/* Footer service-area map: the Google My Maps embed puts a title bar at the top
   showing the map name and its owner's Google account name. Crop it off by
   over-sizing the iframe and clipping the first 72px. */
.service-area-map {
	position: relative;
	width: 100%;
	height: 250px;
	overflow: hidden;
}

.service-area-map iframe {
	position: absolute;
	top: -72px;
	left: 0;
	width: 100%;
	height: 322px;
	border: 0;
}
