/* ------------------------------------------------------------------
   JL Hockey — Front-end styles (v1.2)
   - Anton display font
   - Full-bleed sections, zero inter-section gap
   - Cinematic hero with rink image fading into navy
   - Hover, animations, accessible
------------------------------------------------------------------ */

:root {
	--jlh-radius-lg: 22px;
	--jlh-shadow-soft: 0 10px 30px -10px rgba(13, 27, 42, 0.18);
	--jlh-shadow-deep: 0 30px 60px -20px rgba(13, 27, 42, 0.35);
	--jlh-transition: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
	--jlh-navy: #0d1b2a;
	--jlh-navy-deep: #0b1220;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Anton has only weight 400 — give all heading elements a clean baseline */
h1, h2, h3, .jlh-hero-title {
	font-weight: 400 !important;
}

a {
	transition: color var(--jlh-transition), opacity var(--jlh-transition);
}

/* ===== KILL WORDPRESS' DEFAULT INTER-SECTION GAP ==================== */
/* Each section is a full-bleed pattern; we don't want the default
   ~1.25rem margin-block-start between them. */
.jlh-main > *,
.jlh-main > .alignfull,
.jlh-main > .wp-block-group,
.jlh-main > .wp-block-template-part {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Reset margin between top-level sections in post-content too (sub-pages) */
.wp-block-post-content > *,
.wp-block-post-content > .alignfull {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* ===== WP BUTTON HOVER ============================================= */
.wp-block-button__link {
	transition: transform var(--jlh-transition), background-color var(--jlh-transition), color var(--jlh-transition), box-shadow var(--jlh-transition);
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -12px rgba(230, 57, 70, 0.45);
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08);
	box-shadow: none;
}

/* ===== HEADER ====================================================== */
.jlh-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(140%) blur(8px);
	background: rgba(13, 27, 42, 0.92) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jlh-header .wp-block-site-title a {
	color: #fff;
	text-decoration: none;
}

.jlh-logo-mark {
	display: inline-flex;
	width: 36px;
	height: 36px;
	margin-right: 0.65rem;
	transition: transform var(--jlh-transition);
}

.jlh-logo-mark:hover { transform: rotate(-6deg); }

.jlh-header .wp-block-navigation a {
	color: #e8eef6 !important;
	opacity: 0.85;
}

.jlh-header .wp-block-navigation a:hover,
.jlh-header .wp-block-navigation .current-menu-item > a {
	opacity: 1;
	color: #fff !important;
}

.jlh-cta-btn .wp-block-button__link {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 25px -10px rgba(230, 57, 70, 0.6);
}

/* ===== HERO — CINEMATIC, FULL-BLEED ================================ */
.jlh-hero {
	position: relative;
	overflow: hidden;
	background: var(--jlh-navy);
	min-height: 78vh;
	display: flex;
	align-items: center;
}

/* The rink image sits absolutely on the right, starting just past the text,
   and intentionally overflows the right edge of the viewport. */
.jlh-hero__rink {
	position: absolute;
	top: 50%;
	left: 48%;
	transform: translateY(-50%);
	width: 78vw;
	max-width: 1500px;
	height: 105%;
	pointer-events: none;
	z-index: 0;
}

.jlh-hero__rink::before {
	/* Soft fade from navy on the LEFT edge of the image so it blends with text */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
		var(--jlh-navy) 0%,
		rgba(13, 27, 42, 0.92) 6%,
		rgba(13, 27, 42, 0.45) 18%,
		rgba(13, 27, 42, 0.05) 32%,
		rgba(13, 27, 42, 0) 60%);
	z-index: 1;
}

.jlh-hero__rink::after {
	/* Small bottom & top vignette to keep things cinematic */
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(13, 27, 42, 0.35) 0%,
		rgba(13, 27, 42, 0) 25%,
		rgba(13, 27, 42, 0) 75%,
		rgba(13, 27, 42, 0.45) 100%);
	z-index: 1;
}

.jlh-hero__rink-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
	display: block;
	filter: saturate(108%) contrast(106%) brightness(0.95);
	z-index: 0;
}

/* Optional subtle grid overlay across the whole hero */
.jlh-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 90px 90px;
	mask-image: radial-gradient(ellipse at 25% 50%, #000 25%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 25% 50%, #000 25%, transparent 70%);
	z-index: 1;
	pointer-events: none;
}

/* Blue glow behind the text */
.jlh-hero__glow {
	position: absolute;
	left: -10%;
	top: -10%;
	width: 60%;
	height: 70%;
	background: radial-gradient(closest-side, rgba(29, 111, 224, 0.22), transparent 70%);
	z-index: 1;
	pointer-events: none;
	filter: blur(8px);
}

@media (max-width: 1000px) {
	.jlh-hero__rink {
		top: 0;
		left: 0;
		transform: none;
		width: 100%;
		height: 100%;
		max-width: none;
	}
	.jlh-hero__rink::before {
		background: linear-gradient(180deg,
			rgba(13, 27, 42, 0.55) 0%,
			rgba(13, 27, 42, 0.85) 50%,
			var(--jlh-navy) 100%);
	}
	.jlh-hero__rink-img {
		opacity: 0.45;
		object-position: center;
	}
	.jlh-hero__glow { display: none; }
}

.jlh-hero__content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.jlh-hero__col {
	max-width: 680px;
}

.jlh-hero-title {
	font-size: clamp(3rem, 8.5vw, 7rem) !important;
	line-height: 0.92 !important;
	letter-spacing: 0 !important;
	margin: 1.25rem 0 1.5rem !important;
	color: #fff;
}

.jlh-hero-title .jlh-accent {
	color: var(--wp--preset--color--accent);
	background: linear-gradient(135deg, #ff5d6c 0%, #e63946 60%, #f4c430 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.jlh-hero-lead {
	font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
	line-height: 1.6 !important;
	max-width: 580px;
}

.jlh-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 0.6rem;
	padding: 0.4rem 0.85rem 0.4rem 0.5rem;
	background: rgba(29, 111, 224, 0.18);
	border: 1px solid rgba(29, 111, 224, 0.4);
	border-radius: 999px;
	width: max-content;
	margin-bottom: 0 !important;
}

.jlh-pill p { margin: 0 !important; }

.jlh-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
	animation: jlh-pulse 2s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes jlh-pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50%      { transform: scale(1.15); opacity: 0.75; }
}

.jlh-hero-cta { gap: 0.75rem !important; flex-wrap: wrap; }

.jlh-hero-meta {
	gap: 1.5rem !important;
	flex-wrap: wrap;
}

.jlh-hero-meta p { margin: 0 !important; }

/* ===== SECTION HEADINGS (shared) =================================== */
.jlh-section-eyebrow {
	font-family: var(--wp--preset--font-family--display);
	font-size: 0.9rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	margin: 0 0 0.5rem !important;
}

/* ===== STATS ======================================================= */
.jlh-stats {
	border-block: 1px solid rgba(13, 27, 42, 0.06);
}

.jlh-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.4rem;
}

.jlh-stat__icon {
	display: inline-flex;
	width: 44px;
	height: 44px;
	color: var(--wp--preset--color--primary);
	background: rgba(29, 111, 224, 0.12);
	border-radius: 12px;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.25rem;
}

.jlh-stat__icon svg { width: 24px; height: 24px; }

.jlh-stat-num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
	background: linear-gradient(135deg, var(--jlh-navy) 0%, #1d6fe0 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0 !important;
}

.jlh-stat-label {
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0 !important;
	font-weight: 600;
}

/* ===== ABOUT ======================================================= */
.jlh-coach-card {
	position: relative;
	max-width: 360px;
	margin-inline: auto;
}

.jlh-coach-card__photo {
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--jlh-shadow-deep);
	transform: rotate(-1.5deg);
	transition: transform var(--jlh-transition);
}

.jlh-coach-card__photo:hover { transform: rotate(0); }

.jlh-coach-card__photo svg {
	width: 100%;
	height: auto;
	display: block;
}

.jlh-coach-card__badge {
	position: absolute;
	background: #fff;
	border-radius: 16px;
	padding: 0.7rem 1rem;
	box-shadow: var(--jlh-shadow-soft);
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	bottom: 8%;
	left: -14px;
	border: 1px solid #eef2f7;
}

.jlh-coach-card__badge--alt {
	bottom: auto;
	left: auto;
	top: 8%;
	right: -14px;
}

.jlh-coach-card__badge-label {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #5b6b80;
}

.jlh-coach-card__badge-value {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	font-size: 1.25rem;
	color: #0d1b2a;
	letter-spacing: 0.02em;
}

.jlh-creds {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 1.75rem;
}

.jlh-creds li {
	padding: 0.4rem 0 0.4rem 1.75rem;
	position: relative;
	color: #1b263b;
}

.jlh-creds li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #1d6fe0 0 6px, transparent 7px), #e6f1fb;
	border: 1px solid #c7dbf2;
}

/* ===== SERVICES ==================================================== */
.jlh-services .wp-block-group.is-layout-grid {
	justify-content: center;
}

.jlh-service-card {
	transition: transform var(--jlh-transition), box-shadow var(--jlh-transition), border-color var(--jlh-transition);
	position: relative;
	overflow: hidden;
}

.jlh-service-card:hover {
	transform: translateY(-3px);
	border-color: #c7dbf2 !important;
	box-shadow: var(--jlh-shadow-soft);
}

.jlh-service-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.jlh-service-card__icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--wp--preset--color--ice);
	align-items: center;
	justify-content: center;
}

.jlh-service-card__icon svg { width: 30px; height: 30px; }

.jlh-service-card__tag {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	letter-spacing: 0.14em;
	font-size: 0.85rem;
	color: #1d6fe0;
	background: rgba(29, 111, 224, 0.08);
	border: 1px solid rgba(29, 111, 224, 0.2);
	border-radius: 999px;
	padding: 0.3rem 0.7rem;
	text-transform: uppercase;
}

.jlh-service-card__link a {
	text-decoration: none;
	color: #0d1b2a !important;
	border-bottom: 2px solid #e63946;
	padding-bottom: 1px;
}

.jlh-service-card__link a:hover { color: #e63946 !important; }

/* ===== PILLARS ===================================================== */
.jlh-pillar {
	transition: border-color var(--jlh-transition), transform var(--jlh-transition);
	background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.jlh-pillar:hover {
	border-color: #1d6fe0 !important;
	transform: translateY(-3px);
}

.jlh-pillar-num { font-weight: 400; }

/* ===== TESTIMONIALS / PRICING GRIDS — CENTERED ===================== */
.jlh-testimonials .wp-block-group.is-layout-grid,
.jlh-pricing .wp-block-group.is-layout-grid {
	justify-content: center;
}

.jlh-testimonial,
.jlh-plan {
	background: #fff;
	transition: transform var(--jlh-transition), box-shadow var(--jlh-transition);
}

.jlh-testimonial:hover,
.jlh-plan:hover {
	transform: translateY(-3px);
	box-shadow: var(--jlh-shadow-soft);
}

.jlh-testimonial-foot {
	gap: 0.75rem !important;
	align-items: center;
	margin-top: 1.25rem;
}

.jlh-avatar {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	letter-spacing: 0.06em;
}

.jlh-plan--featured {
	box-shadow: 0 0 0 1px rgba(29, 111, 224, 0.15), 0 25px 50px -25px rgba(29, 111, 224, 0.45);
}

.jlh-plan__badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #e63946 0%, #f4c430 100%);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	letter-spacing: 0.14em;
	font-size: 0.85rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	text-transform: uppercase;
	box-shadow: 0 8px 20px -8px rgba(230, 57, 70, 0.6);
}

.jlh-plan-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}
.jlh-plan-list li {
	position: relative;
	padding: 0.4rem 0 0.4rem 1.5rem;
	color: #1b263b;
}
.jlh-plan-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.4rem;
	width: 18px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1d6fe0;
	font-weight: 700;
}

/* ===== CTA ========================================================= */
.jlh-cta {
	position: relative;
	overflow: hidden;
}

.jlh-cta::after {
	content: "";
	position: absolute;
	right: -100px;
	top: -100px;
	width: 320px;
	height: 320px;
	background: radial-gradient(circle, rgba(244, 196, 48, 0.35) 0%, rgba(244, 196, 48, 0) 70%);
	pointer-events: none;
}

/* ===== CONTACT FORM — REBUILT ===================================== */
.jlh-form {
	box-shadow: var(--jlh-shadow-soft);
}

.jlh-form-grid {
	display: grid;
	gap: 1.1rem;
	margin: 0;
}

.jlh-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.1rem;
}

@media (max-width: 600px) {
	.jlh-form-row { grid-template-columns: 1fr; }
}

.jlh-form-grid label {
	display: grid;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #1b263b;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

.jlh-form-grid label > span {
	display: block;
	color: #5b6b80;
}

.jlh-form-grid input,
.jlh-form-grid select,
.jlh-form-grid textarea {
	font: inherit;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #0d1b2a;
	padding: 0.9rem 1.05rem;
	border: 1px solid #d8dee8;
	border-radius: 12px;
	background: #fdfefe;
	width: 100%;
	box-sizing: border-box;
	transition: border-color var(--jlh-transition), box-shadow var(--jlh-transition);
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--wp--preset--font-family--body);
}

.jlh-form-grid select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231b263b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

.jlh-form-grid textarea {
	resize: vertical;
	min-height: 110px;
	font-family: var(--wp--preset--font-family--body);
}

.jlh-form-grid input:focus,
.jlh-form-grid select:focus,
.jlh-form-grid textarea:focus {
	outline: none;
	border-color: #1d6fe0;
	box-shadow: 0 0 0 4px rgba(29, 111, 224, 0.15);
}

.jlh-form-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 1.05rem;
	padding: 1rem 1.75rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background var(--jlh-transition), transform var(--jlh-transition), box-shadow var(--jlh-transition);
	margin-top: 0.25rem;
	box-shadow: 0 10px 25px -12px rgba(230, 57, 70, 0.6);
	width: max-content;
}

.jlh-form-submit:hover {
	background: var(--jlh-navy);
	transform: translateY(-1px);
	box-shadow: 0 14px 30px -12px rgba(13, 27, 42, 0.45);
}

.jlh-form-success {
	background: #e7f7ef;
	border: 1px solid #b3e5c7;
	color: #1f6e3c;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	font-size: 0.95rem;
	margin: 0;
}

.jlh-form-fallback {
	font-size: 0.9rem;
	color: #5b6b80;
	margin: 0.5rem 0 0;
}

/* ===== POST CARDS / FOOTER ========================================= */
.jlh-post-card {
	transition: transform var(--jlh-transition), box-shadow var(--jlh-transition), border-color var(--jlh-transition);
	background: #fff;
}

.jlh-post-card:hover {
	transform: translateY(-3px);
	border-color: #c7dbf2 !important;
	box-shadow: var(--jlh-shadow-soft);
}

.jlh-footer .wp-block-site-title a {
	color: #fff;
	text-decoration: none;
}

.jlh-footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.jlh-footer-list li {
	padding: 0.3rem 0;
}

.jlh-footer-list a,
.jlh-footer a {
	color: #d3dbe7;
	text-decoration: none;
	font-size: 0.95rem;
}

.jlh-footer-list a:hover,
.jlh-footer a:hover { color: #fff; }

/* ===== PAGE HERO =================================================== */
.jlh-page-hero {
	position: relative;
	overflow: hidden;
}

.jlh-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(600px 300px at 80% 0%, rgba(29, 111, 224, 0.25), transparent 70%);
	pointer-events: none;
}

.jlh-page-hero > * { position: relative; z-index: 1; }

/* ===== UTILITIES =================================================== */
.jlh-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 600ms ease, transform 600ms ease;
}

.jlh-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	.jlh-reveal { opacity: 1; transform: none; }
}

/* ===== MOBILE ====================================================== */
@media (max-width: 781px) {
	.jlh-header .wp-block-buttons { display: none; }
	.jlh-coach-card__badge { display: none; }
	.jlh-hero { min-height: 64vh; }
	.jlh-hero-title { font-size: clamp(2.5rem, 11vw, 4rem) !important; }
}
