/* =========================================================================
   Be Kind Tattooing — home.css
   Hero · Intro · Artists grid · Studio band · New start · Booking · Contact
   ========================================================================= */

/* --- Hero -------------------------------------------------------------- */
.home-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 75vh;
	overflow: hidden;
}
/* Shorter hero on phones so the page doesn't open too tall */
@media (max-width: 767px) {
	.home-hero { min-height: 68vh; }
}
.home-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
	z-index: 0;
}
.home-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(26, 22, 15, 0.45);
}
.home-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}
.home-hero__title {
	color: var(--bk-white);
	font-size: clamp(3rem, 1.2rem + 6.6vw, 5.75rem); /* ~48px mobile → ~92px desktop, matching the PDF */
	line-height: 1.05;
	max-width: 13ch; /* forces a wrap; balance picks "Tattoo &" / "Piercing Studio" */
	text-wrap: balance;
	margin-bottom: var(--bk-space-3);
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

/* --- Intro (charcoal band) -------------------------------------------- */
.home-intro { padding-block: clamp(2rem, 1rem + 2.4vw, 3.5rem); }
.home-intro__inner { max-width: 900px; margin-inline: auto; }
.home-intro__rule {
	border: 0;
	border-top: 1px solid rgba(250, 245, 237, 0.25);
	margin: var(--bk-space-2) 0 var(--bk-space-4);
}
.home-intro__body {
	color: var(--bk-white);
	font-size: clamp(1.25rem, 1rem + 1.15vw, 1.9rem);
	line-height: 1.5;
	max-width: 30ch;
	margin-left: auto;
}

/* --- The artists (sage band) ------------------------------------------ */
.home-artists { padding-block: clamp(2rem, 1rem + 2.6vw, 3.75rem); }
.home-artists__heading { color: var(--bk-white); margin-bottom: clamp(2rem, 4vw, 3rem); }
/* .bk-artist-grid / .bk-artist-tile styles live in components.css (shared). */

/* --- Studio band ------------------------------------------------------- */
/* Full-bleed image shown in its entirety (no crop) so the whole crew fits.
   width/height attributes on the <img> reserve the right space (no layout
   shift); height:auto keeps the natural aspect at any screen width. */
.home-studio { font-size: 0; } /* kill the inline-image baseline gap */
.home-studio__img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Need a new start -------------------------------------------------- */
.home-newstart {
	position: relative;
	background: var(--bk-sage);
	padding-block: clamp(2rem, 1rem + 2.6vw, 3.75rem);
	overflow: hidden;
}
/* White diagonal panel behind the illustration (desktop) */
.home-newstart::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 56%;
	background: #ffffff;
	clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
	z-index: 0;
}
.home-newstart__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(2rem, 5vw, 4rem);
	row-gap: var(--bk-space-2);
	align-items: center;
	grid-template-areas:
		"media heading"
		"media text";
}
.home-newstart__media { grid-area: media; }
.home-newstart__heading { grid-area: heading; align-self: end; color: var(--bk-charcoal); margin: 0; }
.home-newstart__text { grid-area: text; align-self: start; }
.home-newstart__media img { max-width: 400px; margin-inline: auto; }
.home-newstart__text p {
	color: #ffffff;
	max-width: 40ch;
	margin-bottom: var(--bk-space-4);
	font-size: 1.05rem;
}
@media (max-width: 768px) {
	/* One image with a colour split: a WHITE zone (illustration + heading) sits
	   directly above a SAGE zone (copy + button), no gap between them. */
	.home-newstart { padding-block: 0; }
	.home-newstart::before { display: none; }
	.home-newstart__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"media"
			"heading"
			"text";
		row-gap: 0;
		max-width: none;
		padding-inline: 0;
		align-items: stretch;
	}
	/* White zone */
	.home-newstart__media {
		background: #ffffff;
		padding: 1.25rem var(--bk-gutter) 0.25rem;
		text-align: center;
	}
	.home-newstart__media img { max-width: 96px; margin-inline: auto; }
	.home-newstart__heading {
		background: #ffffff;
		padding: 0 var(--bk-gutter) 1.1rem;
		text-align: center;
	}
	/* Sage zone — tight top padding so it hugs the white above. */
	.home-newstart__text {
		padding: var(--bk-space-2) var(--bk-gutter) var(--bk-space-5);
		text-align: center;
	}
	.home-newstart__text p { margin-inline: auto; }
}

/* --- How to book (booking intro) -------------------------------------- */
.how-to-book { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.how-to-book__heading {
	color: var(--bk-charcoal);
	margin: 0 0 var(--bk-space-4);
}
.how-to-book__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	counter-reset: htb;
}
.how-to-book__step {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}
.how-to-book__num {
	flex: 0 0 auto;
	font-family: var(--bk-font-head);
	font-weight: 700;
	font-size: clamp(2.25rem, 1.4rem + 3vw, 3.25rem);
	line-height: 1;
	color: var(--bk-mustard);
}
.how-to-book__title {
	font-size: var(--bk-h4);
	color: var(--bk-green);
	margin: 0.15rem 0 0.4rem;
}
.how-to-book__text p { margin: 0; color: var(--bk-body); }
@media (max-width: 760px) {
	.how-to-book__steps { grid-template-columns: 1fr; gap: 1.25rem; }
	.how-to-book__step { gap: 0.85rem; }
}

/* --- Booking (Tattoo / Piercing tabs) --------------------------------- */
.home-booking { padding-block: clamp(2rem, 1rem + 2.6vw, 3.75rem); }
.home-booking__tabs {
	display: flex;
	gap: 1rem;
	margin: 0; /* spacing handled by the layout grid row-gap */
}
.home-booking__tab {
	flex: 1;
	padding: 0.62em 1.4em; /* longer + thinner pills, per the PDF */
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius-pill);
	background: #ffffff;
	color: var(--bk-body);
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.home-booking__tab:hover { border-color: var(--bk-charcoal); }
.home-booking__tab.is-active { background: var(--bk-charcoal); color: #ffffff; border-color: var(--bk-charcoal); }

/* How-to-book + tabs span the top; form and photo share the row below.
   Grid areas let the photo jump to the very top on mobile (one image, no dupe). */
.home-booking__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: clamp(2rem, 4vw, 3.5rem);
	row-gap: clamp(2rem, 4vw, 3rem);
	align-items: start;
	grid-template-areas:
		"howto  howto"
		"tabs   tabs"
		"forms  media";
}
.home-booking__layout .how-to-book { grid-area: howto; margin-bottom: 0; }
.home-booking__tabs { grid-area: tabs; }
.home-booking__forms { grid-area: forms; }
.home-booking__media { grid-area: media; align-self: stretch; }
.home-booking__title { color: var(--bk-sage); margin-bottom: var(--bk-space-3); }
.home-booking__panel[hidden] { display: none; }
.home-booking__media picture { display: block; height: 100%; }
.home-booking__media img {
	width: 100%;
	height: 100%;
	max-height: 640px;
	object-fit: cover;
	border-radius: var(--bk-radius);
}
.bk-form-slot {
	background: var(--bk-white);
	border: 1px solid var(--bk-line);
	border-radius: var(--bk-radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.bk-form-slot__admin {
	font-size: 0.82rem;
	color: var(--bk-green);
	background: var(--bk-mint);
	padding: 0.6rem 0.8rem;
	border-radius: var(--bk-radius-sm);
	margin-bottom: var(--bk-space-2);
}
@media (max-width: 860px) {
	/* Single column; photo leads, then how-to-book, tabs, form. */
	.home-booking__layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"media"
			"howto"
			"tabs"
			"forms";
	}
	.home-booking__media img { max-height: 340px; }
}

/* --- Get in touch ------------------------------------------------------ */
.home-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 460px;
}
.home-contact__panel {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4rem);
}
.home-contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.home-contact__scrim { position: absolute; inset: 0; z-index: 1; background: rgba(26, 22, 15, 0.55); }
.home-contact__content { position: relative; z-index: 2; color: var(--bk-white); max-width: 40ch; }
.home-contact__content h2 { color: var(--bk-white); margin-bottom: var(--bk-space-2); }
.home-contact__content p { margin-bottom: var(--bk-space-3); }
.home-contact__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (max-width: 860px) {
	.home-contact__grid { grid-template-columns: 1fr; }
	.home-contact__panel { min-height: 340px; }
	.home-contact__map iframe { min-height: 320px; }
}
