/* Home hero — on-system, tokenized, no JS. Editable via the "Home Hero" pattern.
   Loads on the front page + in the block editor. Page bg (cream) is inherited. */
.jl-hero { padding-block: clamp(1rem, 2.6vw, 2.8rem) clamp(2.2rem, 4vw, 4.4rem); }

/* Higher specificity (3 classes) to beat WP's .wp-block-columns.is-layout-flex */
.jl-hero .wp-block-columns.jl-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(1.6rem, 3.2vw, 3.35rem);
}
.jl-hero__grid > .wp-block-column { flex-basis: auto !important; margin: 0; }

.jl-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 0.7rem; margin: 0;
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--jl2-color-gold);
}
.jl-hero__eyebrow::before { content: ""; width: 1.15rem; height: 1px; background: currentColor; }

.jl-hero__h1 {
	margin: 1rem 0 0; max-width: 12ch;
	font-family: var(--jl2-font-display);
	font-size: clamp(2.6rem, 1rem + 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.02em;
	color: var(--jl2-color-ink); text-wrap: balance;
}
.jl-hero__h1 em { color: var(--jl2-color-gold); font-style: normal; }

.jl-hero__sub { max-width: 44ch; margin: 1.25rem 0 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--jl2-color-ink-2); }
.jl-hero__body { max-width: 52ch; margin: 0.9rem 0 0; font-size: 0.96rem; line-height: 1.7; color: var(--jl2-color-mute); }

.jl-hero__actions { margin-top: 1.45rem; gap: 0.85rem; }
.jl-hero__pills { display: flex; flex-wrap: wrap; align-items: center; margin-top: 1.25rem; gap: 0.55rem; }
.jl-hero__pill {
	margin: 0; padding: 0.6rem 0.85rem; border: 1px solid var(--jl2-color-line);
	border-radius: 999px; background: var(--jl2-color-white);
	font-size: 0.74rem; font-weight: 700; color: var(--jl2-color-ink); white-space: nowrap;
}

.jl-hero__media { margin: 0; }
.jl-hero__img { margin: 0; }
.jl-hero__img img {
	display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 16px; box-shadow: 0 30px 80px rgba(52, 39, 24, 0.18);
}

/* Button styling is canonical in shared/buttons/buttons.css (jl-primary / jl-ghost). */

@media (max-width: 900px) {
	.jl-hero { padding-inline: clamp(1.15rem, 5vw, 2rem); }
	.jl-hero .wp-block-columns.jl-hero__grid { grid-template-columns: 1fr; gap: 1.4rem; }
	.jl-hero__media { order: -1; }
	.jl-hero__h1 { font-size: clamp(2.5rem, 9vw, 4rem); }
}
@media (max-width: 560px) {
	.jl-hero__actions .wp-block-button { flex: 1 1 100%; }
	.jl-hero__actions .wp-block-button__link { width: 100%; justify-content: center; }
}
