/*
Theme Name: HVG
Theme URI: https://www.huronvalleyguns.com
Author: CSDI
Author URI: https://csdisystems.com
Description: Huron Valley Guns block theme. Aligned to the Cornerstone OS HVG design system for a low-friction cutover — navy (#1A2744) + red (#C1272D), cream/white "modern" surfaces, photographic navy hero, Playfair Display headlines + Inter body.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hvg
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
	/* Brand — aligned to Cornerstone OS HVG tenant branding (cutover consistency) */
	--navy:        #1A2744;   /* Cornerstone --color-primary */
	--navy-light:  #2E3F63;
	--red:         #C1272D;   /* Cornerstone --color-accent */
	--red-bright:  #E0353B;

	/* Ink — dark navy surface, derived from the brand navy */
	--ink:    #111B33;
	--ink-2:  #1A2744;        /* the brand navy itself */
	--ink-3:  #233152;

	/* Paper — Cornerstone cream background + white surface */
	--paper:   #F7F5F0;       /* Cornerstone --color-bg */
	--paper-2: #ECE7DC;
	--surface: #FFFFFF;       /* Cornerstone --color-surface */

	/* Text — Cornerstone */
	--on-dark:        #F7F5F0;
	--on-dark-muted:  #9AA6B8;
	--on-paper:       #2A2A2A;  /* Cornerstone --color-text */
	--on-paper-muted: #6B6B6B;  /* Cornerstone --color-muted */

	/* Lines */
	--line-light: rgba(244,241,234,0.14);
	--line-dark:  rgba(25,33,46,0.14);

	/* System */
	--header-h: 78px;
	--wrap: 1240px;
	--font-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--on-paper);
	background: var(--paper);
	font-size: 17px;
	line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Fine grain over everything for tactile depth */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hvg-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); width: 100%; }
.hvg-section { padding-block: clamp(3rem, 5.5vw, 5.5rem); }
/* collapse the doubled gap where two same-padding sections meet */
.hvg-section + .hvg-section { padding-top: clamp(2rem, 3.5vw, 3.5rem); }

/* Kill WordPress' default ~24px block-gap between our full-bleed top-level
   sections — it rendered as cream/white stripes between every band
   (incl. right under the hero). Each section owns its own spacing. */
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/* Editorial kicker / eyebrow */
.hvg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.72rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 1.4rem;
}
.hvg-kicker::before {
	content: "";
	width: 2.4rem;
	height: 2px;
	background: var(--red);
	display: inline-block;
}
.hvg-kicker--center { justify-content: center; }

/* ============================================================
   Header — translucent, intensifies on scroll
   ============================================================ */
.hvg-topbar {
	background: var(--ink);
	color: var(--on-dark-muted);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--line-light);
}
.hvg-topbar .hvg-wrap { display: flex; flex-wrap: wrap; gap: 1.6rem; padding-block: 0.55rem; align-items: center; }
.hvg-topbar a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s var(--ease); }
.hvg-topbar a:hover { color: var(--on-dark); }
.hvg-topbar .hvg-topbar__spacer { margin-left: auto; }
.hvg-topbar strong { color: #E2654D; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; }

.hvg-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--navy);
	color: var(--on-dark);
	border-bottom: 1px solid var(--line-light);
	transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.hvg-header.scrolled {
	background: var(--ink);
	box-shadow: 0 18px 40px -24px rgba(0,0,0,0.9);
	border-bottom-color: rgba(193,39,45,0.5);
}
.hvg-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 2rem; height: var(--header-h);
}
.hvg-logo { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--on-dark); }
.hvg-logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.hvg-logo__text { display: flex; flex-direction: column; line-height: 1; }
.hvg-logo__name { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: 0.01em; }
.hvg-logo__sub { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(244,241,234,0.55); margin-top: 0.32rem; font-weight: 600; }

.hvg-nav { display: flex; align-items: center; gap: 1.9rem; }
.hvg-nav a {
	color: rgba(244,241,234,0.82);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	position: relative;
	padding-block: 0.4rem;
}
.hvg-nav a::after {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 100%; height: 2px; background: var(--red);
	transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--ease);
}
.hvg-nav a:hover { color: var(--on-dark); }
.hvg-nav a:hover::after { transform: scaleX(1); }
.hvg-nav .hvg-nav__cta {
	background: var(--red); color: #fff; padding: 0.6rem 1.2rem;
	letter-spacing: 0.1em; transition: background .25s var(--ease), transform .25s var(--ease);
}
.hvg-nav .hvg-nav__cta::after { display: none; }
.hvg-nav .hvg-nav__cta:hover { background: var(--red-bright); transform: translateY(-1px); color: #fff; }

/* mobile menu button (hidden on desktop) */
.hvg-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin: -8px -8px -8px 0; }
.hvg-burger span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.hvg-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hvg-burger.is-open span:nth-child(2) { opacity: 0; }
.hvg-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.hvg-header__inner { flex-wrap: wrap; height: auto; padding-block: 0.7rem; }
	.hvg-burger { display: flex; }
	.hvg-nav {
		flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
		max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
	}
	.hvg-header.nav-open .hvg-nav { max-height: 70vh; margin-top: 0.4rem; }
	.hvg-nav a { padding: 0.85rem 0.2rem; border-top: 1px solid var(--line-light); font-size: 0.9rem; letter-spacing: 0.08em; }
	.hvg-nav a::after { display: none; }
	.hvg-nav .hvg-nav__cta { text-align: center; margin-top: 0.7rem; border-radius: 8px; padding: 0.85rem; }
	.hvg-topbar .hvg-wrap { justify-content: center; gap: 0.6rem 1.2rem; }
	.hvg-topbar .hvg-topbar__spacer { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.hvg-btn {
	display: inline-flex; align-items: center; gap: 0.7rem;
	padding: 0.95rem 1.7rem;
	font-family: var(--font-body);
	font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
	text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hvg-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.hvg-btn:hover svg { transform: translateX(4px); }
.hvg-btn--primary { background: var(--red); color: #fff; }
.hvg-btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.hvg-btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(244,241,234,0.4); }
.hvg-btn--ghost:hover { border-color: var(--on-dark); background: rgba(244,241,234,0.08); }
.hvg-btn--dark { background: var(--ink); color: var(--on-dark); }
.hvg-btn--dark:hover { background: var(--navy); transform: translateY(-2px); }
/* red-outline secondary, matching Cornerstone's "View Memberships" button */
.hvg-btn--outline { background: transparent; color: #fff; border-color: rgba(224,53,59,0.75); }
.hvg-btn--outline:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.hvg-btn--navy { background: var(--navy); color: #fff; }
.hvg-btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); }

/* ============================================================
   Hero
   ============================================================ */
.hvg-hero {
	position: relative;
	min-height: clamp(620px, 92vh, 940px);
	margin-top: calc(var(--header-h) * -1);
	display: flex; align-items: flex-end;
	background-size: cover; background-position: center 30%;
	color: var(--on-dark);
	overflow: hidden;
}
.hvg-hero::before {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(17,27,51,0.58) 0%, rgba(17,27,51,0.14) 26%, rgba(17,27,51,0.66) 64%, rgba(17,27,51,0.97) 100%),
		linear-gradient(90deg, rgba(17,27,51,0.90) 0%, rgba(17,27,51,0.40) 48%, rgba(17,27,51,0) 100%);
}
.hvg-hero__inner { position: relative; z-index: 2; padding-block: clamp(3rem, 7vw, 6rem); padding-top: calc(var(--header-h) + 2rem); width: 100%; }
.hvg-hero__grid { display: grid; grid-template-columns: minmax(0, 760px) 1fr; gap: 2rem; align-items: end; }
/* hero kicker = red pill, matching the Cornerstone OS HVG hero */
.hvg-hero .hvg-kicker {
	display: inline-block; padding: 0.5rem 1.15rem; border-radius: 999px;
	border: 1px solid rgba(224,53,59,0.5); background: rgba(224,53,59,0.14);
	color: #F09089; letter-spacing: 0.12em; gap: 0;
}
.hvg-hero .hvg-kicker::before { display: none; }
.hvg-hero h1 {
	font-family: var(--font-display); font-weight: 800;
	font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 0.98; letter-spacing: -0.02em;
	margin: 0 0 1.5rem; text-wrap: balance;
	color: #F8F5EF; text-shadow: 0 2px 34px rgba(0,0,0,0.5);
}
/* one red accent word, matching Cornerstone (white headline + red key word) */
.hvg-hero h1 em { font-style: normal; color: var(--red-bright); text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
.hvg-hero__lede { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: rgba(244,241,234,0.92); line-height: 1.6; margin: 0 0 2.2rem; max-width: 52ch; text-shadow: 0 1px 18px rgba(0,0,0,0.45); }
.hvg-hero__btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* vertical location label on the right */
.hvg-hero__aside { justify-self: end; align-self: end; text-align: right; }
.hvg-hero__coords {
	writing-mode: vertical-rl;
	font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase;
	color: rgba(244,241,234,0.55); display: inline-block;
}
.hvg-hero__coords span { color: #E2654D; }

/* hero entrance animation */
.js .hvg-hero__inner > * > .hvg-anim { opacity: 0; transform: translateY(26px); animation: hvgRise 0.9s var(--ease) forwards; }
.hvg-kicker.hvg-anim { animation-delay: .15s; }
.hvg-hero h1.hvg-anim { animation-delay: .28s; }
.hvg-hero__lede.hvg-anim { animation-delay: .44s; }
.hvg-hero__btns.hvg-anim { animation-delay: .58s; }
.js .hvg-hero .hvg-anim { opacity: 0; transform: translateY(26px); animation: hvgRise .9s var(--ease) forwards; }
@keyframes hvgRise { to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
	.hvg-hero__grid { grid-template-columns: 1fr; }
	.hvg-hero__aside { display: none; }
}

/* ============================================================
   Trust marquee strip
   ============================================================ */
.hvg-trust {
	background: var(--ink);
	color: var(--on-dark-muted);
	border-bottom: 1px solid var(--line-light);
}
.hvg-trust__row {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: clamp(1.2rem, 4vw, 3rem); padding-block: 1.4rem;
	font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
}
.hvg-trust__row span { display: inline-flex; align-items: center; gap: 0.6rem; }
.hvg-trust__row span::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }

/* ============================================================
   Stats — spec sheet
   ============================================================ */
.hvg-stats { background: var(--ink-2); color: var(--on-dark); }
.hvg-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hvg-stat { padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.2rem, 2.5vw, 2.2rem); border-left: 1px solid var(--line-light); position: relative; }
.hvg-stat:first-child { border-left: none; }
.hvg-stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.hvg-stat__num span { color: var(--red); }
.hvg-stat__label { margin-top: 0.7rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 720px) {
	.hvg-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.hvg-stat:nth-child(3) { border-left: none; }
	.hvg-stat { border-top: 1px solid var(--line-light); }
	.hvg-stat:nth-child(-n+2) { border-top: none; }
}

/* ============================================================
   Services — editorial numbered grid (paper)
   ============================================================ */
.hvg-services { background: var(--paper); }
.hvg-services__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.hvg-services__head h2 {
	font-family: var(--font-display); font-weight: 800; color: var(--navy);
	font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.7rem;
}
.hvg-services__head h2 em { font-style: normal; color: var(--red); }
.hvg-services__head p { color: var(--on-paper-muted); margin: 0; font-size: 1.1rem; }

.hvg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hvg-card {
	position: relative; padding: 1.85rem;
	border: 1px solid #E7E3D9; border-radius: 14px;
	text-decoration: none; color: var(--on-paper); background: var(--surface);
	box-shadow: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
	display: flex; flex-direction: column;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.hvg-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.06); border-color: rgba(193,39,45,0.3); }
.hvg-card__num { display: none; }
.hvg-card__icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(193,39,45,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.hvg-card__icon svg { width: 26px; height: 26px; stroke: var(--red); fill: none; stroke-width: 1.7; }
.hvg-card h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.28rem; font-weight: 700; margin: 0 0 0.5rem; line-height: 1.15; }
.hvg-card p { font-size: 0.95rem; line-height: 1.6; color: var(--on-paper-muted); margin: 0; }
.hvg-card__more { margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.45rem; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hvg-card:hover .hvg-card__more { opacity: 1; transform: none; }

@media (max-width: 980px) { .hvg-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hvg-cards { grid-template-columns: 1fr; } }

/* ============================================================
   Gallery — cinematic asymmetric (dark)
   ============================================================ */
.hvg-gallery { background: var(--surface); color: var(--on-paper); }
.hvg-gallery__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.hvg-gallery__head h2 { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.7rem; }
.hvg-gallery__head h2 em { font-style: normal; color: var(--red); }
.hvg-gallery .hvg-kicker { color: var(--red); justify-content: center; }
.hvg-gallery__head p { color: var(--on-paper-muted); margin: 0 auto; font-size: 1.1rem; }

.hvg-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hvg-figure { position: relative; overflow: hidden; margin: 0; border-radius: 14px; height: 300px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.hvg-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hvg-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(26,39,68,0.85)); }
.hvg-figure:hover img { transform: scale(1.06); }
.hvg-figure figcaption {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.2rem; color: #fff;
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.hvg-figure figcaption b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.hvg-figure figcaption span { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
@media (max-width: 820px) { .hvg-gallery__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hvg-gallery__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Manifesto pull-quote (dark, navy wash)
   ============================================================ */
.hvg-manifesto { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: var(--on-dark); position: relative; overflow: hidden; }
.hvg-manifesto::before {
	content: "\201C"; position: absolute; top: -0.2em; left: -0.04em;
	font-family: var(--font-display); font-size: 34rem; line-height: 1; color: rgba(204,34,0,0.07); pointer-events: none;
}
.hvg-manifesto__inner { position: relative; max-width: 980px; }
.hvg-manifesto p {
	font-family: var(--font-display); font-weight: 600; font-style: italic;
	font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.28; letter-spacing: -0.01em; margin: 0;
	text-wrap: balance;
}
.hvg-manifesto p em { color: var(--red); font-style: italic; }
.hvg-manifesto__by { margin-top: 2rem; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ============================================================
   CTA — membership
   ============================================================ */
.hvg-cta { background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 55%, var(--paper-2) 100%); color: var(--on-paper); text-align: center; }
.hvg-cta__inner { max-width: 720px; margin-inline: auto; }
.hvg-cta h2 { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1rem; }
.hvg-cta h2 em, .hvg-cta h2 .hl { font-style: normal; color: var(--red); }
.hvg-cta p { font-size: 1.15rem; color: var(--on-paper-muted); margin: 0 auto; max-width: 48ch; }
.hvg-cta__btns { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.hvg-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-light); }
.hvg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem); }
.hvg-footer__brand .hvg-logo { color: var(--on-dark); margin-bottom: 1.2rem; }
.hvg-footer__brand p { font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.hvg-footer h4 { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 1.2rem; }
.hvg-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.hvg-footer a { text-decoration: none; color: var(--on-dark-muted); font-size: 0.92rem; transition: color .2s var(--ease); }
.hvg-footer a:hover { color: var(--red-bright); }
.hvg-footer__bar { border-top: 1px solid var(--line-light); padding-block: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; letter-spacing: 0.04em; }
.hvg-footer__bar span strong { color: var(--red-bright); font-weight: 600; }
@media (max-width: 820px) { .hvg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hvg-footer__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Scroll reveal (progressive enhancement)
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

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

/* ============================================================
   Inner pages (page.html / single.html)
   ============================================================ */
/* Branded title band (navy) under the header */
.hvg-page-hero { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hvg-page-hero .wp-block-post-title {
	font-family: var(--font-display); font-weight: 800; color: #fff;
	font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; margin: 0;
}
.hvg-page-hero .wp-block-post-title em { font-style: normal; color: var(--red-bright); }

/* Readable content body on cream */
.hvg-page { background: var(--paper); }
.hvg-page__body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hvg-page__body :where(.wp-block-post-content) { max-width: 800px; }
.hvg-page__body :where(h2, h3, h4) { font-family: var(--font-display); color: var(--navy); letter-spacing: -0.01em; }
.hvg-page__body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.4rem 0 0.8rem; }
.hvg-page__body h3 { font-size: 1.4rem; margin: 1.8rem 0 0.6rem; }
.hvg-page__body p, .hvg-page__body li { color: var(--on-paper); line-height: 1.75; }
.hvg-page__body a:not(.hvg-btn) { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.hvg-page__body a:not(.hvg-btn):hover { color: var(--red-bright); }
.hvg-page__body img { border-radius: 14px; }
.hvg-page__body :where(ul, ol) { padding-left: 1.3rem; }
.hvg-page__body li { margin-block: 0.35rem; }
.hvg-page__body blockquote { border-left: 3px solid var(--red); margin: 1.6rem 0; padding-left: 1.2rem; color: var(--on-paper-muted); font-style: italic; }
.hvg-page__body hr { border: none; border-top: 1px solid var(--line-dark); margin: 2.4rem 0; }
.hvg-page__body table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; }
.hvg-page__body th, .hvg-page__body td { border: 1px solid var(--line-dark); padding: 0.7rem 0.9rem; text-align: left; }
.hvg-page__body th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 600; }

/* Formidable forms — on-brand styling */
.hvg-page .frm_forms { max-width: 720px; }
.hvg-page .frm_forms .frm_form_field { margin-bottom: 1.1rem; }
.hvg-page .frm_primary_label { font-family: var(--font-body); font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; display: block; }
.hvg-page .frm_forms input[type="text"],
.hvg-page .frm_forms input[type="email"],
.hvg-page .frm_forms input[type="tel"],
.hvg-page .frm_forms input[type="number"],
.hvg-page .frm_forms input[type="date"],
.hvg-page .frm_forms input[type="url"],
.hvg-page .frm_forms textarea,
.hvg-page .frm_forms select {
	width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #d8d3c6; border-radius: 8px;
	font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--on-paper);
}
.hvg-page .frm_forms textarea { min-height: 130px; }
.hvg-page .frm_forms input:focus, .hvg-page .frm_forms textarea:focus, .hvg-page .frm_forms select:focus {
	outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,39,68,0.12);
}
.hvg-page .frm_checkbox label, .hvg-page .frm_radio label { font-weight: 400; color: var(--on-paper); }
/* Select: match text-input height + brand chevron (Formidable forces a short, clipped height) */
.hvg-page .frm_forms select {
	height: auto !important; min-height: 46px; line-height: 1.4; box-sizing: border-box;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%231A2744'%20stroke-width='2.5'%3E%3Cpath%20d='M6%209l6%206%206-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 0.8rem;
	padding-right: 2.4rem !important;
}
.hvg-page .frm_submit { margin-top: 1.2rem; }
.hvg-page .frm_forms .frm_button_submit,
.hvg-page .with_frm_style .frm_button_submit,
.hvg-page .frm_forms .frm_submit button,
.hvg-page .frm_forms .frm_submit input[type="submit"] {
	background: var(--red) !important; background-image: none !important; color: #fff !important;
	border: none !important; padding: 0.9rem 1.8rem !important; border-radius: 8px !important;
	font-family: var(--font-body) !important; font-weight: 600 !important; font-size: 0.85rem !important;
	letter-spacing: 0.1em !important; text-transform: uppercase !important; cursor: pointer;
	text-shadow: none !important; box-shadow: none !important; transition: background .2s var(--ease), transform .2s var(--ease);
}
.hvg-page .frm_forms .frm_button_submit:hover,
.hvg-page .with_frm_style .frm_button_submit:hover,
.hvg-page .frm_forms .frm_submit button:hover,
.hvg-page .frm_forms .frm_submit input[type="submit"]:hover {
	background: var(--red-bright) !important; transform: translateY(-2px);
}
.hvg-page .frm_required { color: var(--red); }
.hvg-page .frm_error, .hvg-page .frm_error_style { color: var(--red); }
.hvg-page .frm_message { background: rgba(193,39,45,0.06); border-left: 3px solid var(--red); padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; }
/* Waiver legal-text scroll box */
.hvg-waiver-text { max-height: 340px; overflow-y: auto; border: 1px solid #d8d3c6; border-radius: 10px; padding: 1rem 1.2rem; background: #fff; font-size: 0.9rem; line-height: 1.6; }
.hvg-waiver-text p { margin: 0.5rem 0; }
.hvg-waiver-text strong { color: var(--navy); }
/* Moving photo strip (homepage) — two rows auto-scrolling opposite directions */
.hvg-photostrip { overflow: hidden; background: var(--navy); padding: 0.55rem 0; }
.hvg-photostrip__row { overflow: hidden; }
.hvg-photostrip__row + .hvg-photostrip__row { margin-top: 0.55rem; }
.hvg-photostrip__track { display: flex; gap: 0.55rem; width: max-content; will-change: transform; }
.hvg-photostrip__row--ltr .hvg-photostrip__track { animation: hvg-marq-l 70s linear infinite; }
.hvg-photostrip__row--rtl .hvg-photostrip__track { animation: hvg-marq-r 70s linear infinite; }
.hvg-photostrip__track img { height: 170px; width: auto; max-width: none; display: block; flex: 0 0 auto; object-fit: cover; border-radius: 8px; }
.hvg-photostrip:hover .hvg-photostrip__track { animation-play-state: paused; }
@keyframes hvg-marq-l { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hvg-marq-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 640px) { .hvg-photostrip__track img { height: 115px; } }
@media (prefers-reduced-motion: reduce) { .hvg-photostrip__track { animation: none !important; } }
/* Box Alarm BBQ promo bar (above the hero) */
.hvg-promobar { display: flex; align-items: center; justify-content: center; gap: 0.7rem; flex-wrap: wrap; background: var(--red); color: #fff; text-decoration: none; padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; line-height: 1.4; text-align: center; transition: background .2s var(--ease); }
.hvg-promobar:hover { background: var(--red-bright); color: #fff; }
.hvg-promobar__img { height: 64px; width: auto; max-width: 200px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; }
.hvg-promobar__tag { font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; background: rgba(255,255,255,0.18); padding: 0.22rem 0.65rem; border-radius: 999px; flex: 0 0 auto; }
.hvg-promobar__text { flex: 0 1 auto; }
.hvg-promobar__cta { font-weight: 700; text-decoration: underline; white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 600px) { .hvg-promobar { font-size: 0.82rem; padding: 0.55rem 1rem; gap: 0.5rem; } .hvg-promobar__img { height: 44px; max-width: 110px; } }
/* Age verification gate (matches Cornerstone OS 18+ modal) */
.hvg-agegate { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; background: rgba(26,39,68,0.95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 1.5rem; }
.hvg-agegate.is-visible { display: flex; }
.hvg-agegate__card { background: #fff; border-radius: 18px; padding: 2.3rem 2rem; max-width: 440px; width: 100%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.hvg-agegate__logo { display: block; margin: 0 auto 1rem; width: 64px; height: 64px; object-fit: contain; }
.hvg-agegate__badge { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(193,39,45,0.1); color: var(--red); font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1rem; }
.hvg-agegate__card h2 { font-family: var(--font-display); color: var(--navy); font-size: 1.55rem; margin: 0 0 0.6rem; }
.hvg-agegate__card > p { color: var(--on-paper-muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 1.4rem; }
.hvg-agegate__btns { display: flex; gap: 0.8rem; }
.hvg-agegate__btns .hvg-btn { flex: 1; justify-content: center; text-align: center; }
/* "No, Exit" outline button sits on the WHITE card — give it a visible navy outline (the default outline style is for dark sections) */
.hvg-agegate .hvg-btn--outline { color: var(--navy); border-color: #d3cdbf; background: #fff; }
.hvg-agegate .hvg-btn--outline:hover { background: #f3f0e9; border-color: var(--navy); color: var(--navy); }
.hvg-agegate__fine { font-size: 0.74rem; color: var(--on-paper-muted); margin: 1.1rem 0 0; line-height: 1.5; }
/* "Sign the waiver" slide-in banner */
.hvg-waiver-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--navy); color: #fff; transform: translateY(110%); transition: transform .45s var(--ease); box-shadow: 0 -6px 28px rgba(0,0,0,0.28); }
.hvg-waiver-banner.is-visible { transform: translateY(0); }
.hvg-waiver-banner__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 1.1rem; padding: 0.9rem 1.3rem; }
.hvg-waiver-banner__text { flex: 1; font-size: 0.95rem; line-height: 1.4; }
.hvg-waiver-banner__text strong { color: #fff; }
.hvg-waiver-banner .hvg-btn { white-space: nowrap; flex-shrink: 0; }
.hvg-waiver-banner__close { background: transparent; border: 0; color: rgba(255,255,255,0.65); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 0.2rem; flex-shrink: 0; transition: color .2s var(--ease); }
.hvg-waiver-banner__close:hover { color: #fff; }
@media (max-width: 640px) {
	.hvg-waiver-banner__inner { flex-wrap: wrap; padding: 0.8rem 1rem 0.9rem; gap: 0.6rem 0.9rem; }
	.hvg-waiver-banner__text { flex: 1 1 100%; font-size: 0.88rem; }
	.hvg-waiver-banner__close { position: absolute; top: 0.4rem; right: 0.6rem; }
}
/* Form section headers (used on the waiver to group fields) */
.hvg-form-section { margin: 2rem 0 0.4rem; padding-top: 1.4rem; border-top: 2px solid #e6e1d6; }
.hvg-form-section h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.35rem; margin: 0 0 0.3rem; position: relative; padding-left: 0.75rem; }
.hvg-form-section h3::before { content: ""; position: absolute; left: 0; top: 0.15em; bottom: 0.15em; width: 4px; background: var(--red); border-radius: 2px; }
.hvg-form-section__intro { color: var(--on-paper-muted); font-size: 0.92rem; line-height: 1.55; }
.hvg-form-section__intro p { margin: 0.4rem 0; }
/* First section (right after the agreement box) shouldn't double up the rule */
.hvg-page .frm_forms .frm_form_field:first-of-type .hvg-form-section { margin-top: 0.5rem; border-top: 0; padding-top: 0; }
/* Repeating-section (multi-participant) Add / Remove buttons — brand styled + separated from the fields above */
.hvg-page .frm_repeat_buttons { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed #d8d3c6; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hvg-page .frm_add_form_row,
.hvg-page .frm_remove_form_row {
	display: inline-flex; align-items: center; gap: 0.45rem;
	padding: 0.55rem 1.1rem !important; border-radius: 8px;
	font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
	text-decoration: none !important; cursor: pointer; box-shadow: none !important;
	transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.hvg-page .frm_add_form_row { background: var(--red) !important; color: #fff !important; border: 1px solid var(--red) !important; }
.hvg-page .frm_add_form_row:hover { background: var(--red-bright) !important; }
.hvg-page .frm_remove_form_row { background: #fff !important; color: var(--navy) !important; border: 1px solid #d8d3c6 !important; }
.hvg-page .frm_remove_form_row:hover { background: #f3f0e9 !important; border-color: var(--navy) !important; }
.hvg-page .frm_repeat_buttons .frm_icon_font { color: inherit !important; font-size: 0.9em; }

/* CPT cards (Classes / Barbers) — reuse the service-card look on archives */
.hvg-cpt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 980px) { .hvg-cpt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hvg-cpt-grid { grid-template-columns: 1fr; } }

/* CPT archive (Classes / Barbers) — branded title band + entry cards */
.hvg-page-hero .hvg-archive-title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; margin: 0; }
.hvg-page .wp-block-post-template { gap: 1.5rem; padding: 0; margin: 0; }
.hvg-page .wp-block-post-template > li {
	background: var(--surface); border: 1px solid #E7E3D9; border-radius: 14px; padding: 1.4rem; list-style: none;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hvg-page .wp-block-post-template > li:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.12); }
.hvg-page .wp-block-post-template > li img { width: 100%; object-fit: cover; border-radius: 12px; }
.hvg-page .wp-block-post-template > li .wp-block-post-title { font-family: var(--font-display); font-size: 1.3rem; margin: 0.9rem 0 0.4rem; line-height: 1.2; }
.hvg-page .wp-block-post-template > li .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.hvg-page .wp-block-post-template > li .wp-block-post-title a:hover { color: var(--red); }
.hvg-page .wp-block-post-template > li .wp-block-post-excerpt { color: var(--on-paper-muted); font-size: 0.95rem; line-height: 1.6; }

/* ============================================================
   Rich flagship-page sections (Barber, Memberships, Classes, Range)
   Full-bleed bands that break out of the centered content column.
   ============================================================ */
.hvg-page__body .hvg-rich { width: 100vw; margin-left: calc(50% - 50vw); padding-block: clamp(2.6rem, 5vw, 4.5rem); }
.hvg-page__body .hvg-rich:first-child { padding-top: 0; }
.hvg-rich--cream { background: var(--paper); }
.hvg-rich--white { background: var(--surface); }
.hvg-rich--navy  { background: var(--ink-2); color: #fff; }
.hvg-rich > .hvg-wrap { max-width: var(--wrap); }
.hvg-rich__head { text-align: center; max-width: 660px; margin: 0 auto clamp(1.8rem, 3.5vw, 2.6rem); }
.hvg-rich__head h2 { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.hvg-rich--navy .hvg-rich__head h2 { color: #fff; }
.hvg-rich__head h2 em { font-style: normal; color: var(--red); }
.hvg-rich--navy .hvg-rich__head h2 em { color: var(--red-bright); }
.hvg-rich__head p { color: var(--on-paper-muted); margin: 0; font-size: 1.05rem; }
.hvg-rich--navy .hvg-rich__head p { color: var(--on-dark-muted); }
.hvg-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--on-paper); max-width: 780px; margin: 0 auto; text-align: center; }

/* service / price menu */
.hvg-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.8rem; max-width: 900px; margin: 0 auto; }
.hvg-menu__row { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.72rem 0; border-bottom: 1px solid rgba(25,33,46,0.1); }
.hvg-menu__row .name { font-weight: 500; color: var(--on-paper); }
.hvg-menu__row .dots { flex: 1; border-bottom: 1px dotted rgba(25,33,46,0.32); transform: translateY(-4px); }
.hvg-menu__row .price { font-family: var(--font-display); font-weight: 700; color: var(--red); white-space: nowrap; }
@media (max-width: 680px) { .hvg-menu { grid-template-columns: 1fr; gap: 0; } }

/* tier pricing cards */
.hvg-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.hvg-tier { background: var(--surface); border: 1px solid #E7E3D9; border-radius: 16px; padding: 1.9rem 1.6rem; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.hvg-tier--featured { border: 2px solid var(--red); box-shadow: 0 14px 36px rgba(193,39,45,0.18); position: relative; }
.hvg-tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; padding: 0.32rem 0.85rem; border-radius: 999px; white-space: nowrap; }
.hvg-tier h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.4rem; margin: 0 0 0.3rem; }
.hvg-tier__price { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: 2.3rem; line-height: 1; }
.hvg-tier__price span { font-size: 0.85rem; font-weight: 500; color: var(--on-paper-muted); font-family: var(--font-body); }
.hvg-tier__note { color: var(--on-paper-muted); font-size: 0.82rem; margin: 0.35rem 0 0.6rem; }
.hvg-tier__desc { color: var(--on-paper); font-size: 0.9rem; line-height: 1.5; margin: 0 0 1rem; }
.hvg-tier ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.hvg-tier li { padding-left: 1.4rem; position: relative; color: var(--on-paper); }
.hvg-tier li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }
.hvg-tier .hvg-btn { margin-top: auto; justify-content: center; }
@media (max-width: 900px) { .hvg-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hvg-tiers { grid-template-columns: 1fr; } }

/* simple plan cards */
.hvg-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.hvg-plan { background: var(--surface); border: 1px solid #E7E3D9; border-radius: 14px; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.hvg-plan h3 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.2rem; font-size: 1.2rem; }
.hvg-plan .price { color: var(--red); font-weight: 700; font-family: var(--font-display); }
.hvg-plan p { color: var(--on-paper-muted); font-size: 0.92rem; margin: 0.5rem 0 0; line-height: 1.55; }
@media (max-width: 680px) { .hvg-plans { grid-template-columns: 1fr; } }

/* info cards (hours / stylists / rentals) */
.hvg-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; max-width: 900px; margin: 0 auto; }
.hvg-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hvg-infocard { background: var(--surface); border: 1px solid #E7E3D9; border-radius: 14px; padding: 1.6rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.hvg-infocard h3 { font-family: var(--font-display); color: var(--navy); margin: 0 0 0.8rem; font-size: 1.15rem; }
.hvg-infocard ul { list-style: none; margin: 0; padding: 0; }
.hvg-infocard li { padding: 0.4rem 0; border-bottom: 1px solid rgba(25,33,46,0.08); display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.hvg-infocard li:last-child { border-bottom: none; }
@media (max-width: 780px) { .hvg-2col, .hvg-cols3 { grid-template-columns: 1fr; } }

/* class cards */
.hvg-classes { display: flex; flex-direction: column; gap: 1.4rem; }
.hvg-classcard { background: var(--surface); border: 1px solid #E7E3D9; border-radius: 16px; padding: 1.8rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.hvg-classcard h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.45rem; margin: 0 0 0.5rem; }
.hvg-classcard h3 em { color: var(--red); font-style: normal; }
.hvg-classcard p { color: var(--on-paper); margin: 0 0 0.8rem; }
.hvg-chiprow { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.8rem 0 1.2rem; }
.hvg-chip { background: rgba(26,39,68,0.06); border: 1px solid rgba(26,39,68,0.12); color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 8px; }
.hvg-chip--soon { background: rgba(193,39,45,0.07); border-color: rgba(193,39,45,0.2); color: var(--red); }
.hvg-classcard__img { margin: -1.8rem -1.8rem 1.2rem; border-radius: 16px 16px 0 0; overflow: hidden; }
.hvg-classcard__img img { display: block; width: 100%; height: 220px; object-fit: cover; }
.hvg-classcard__meta { color: var(--on-paper-muted); font-size: 0.9rem; font-weight: 600; margin: 0 0 0.6rem; }

/* CTA band */
.hvg-ctaband { text-align: center; }
.hvg-ctaband h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 1rem; color: #fff; }
.hvg-ctaband h2 em { color: var(--red-bright); font-style: normal; }
.hvg-ctaband p { color: var(--on-dark-muted); max-width: 580px; margin: 0 auto 1.7rem; font-size: 1.08rem; }
.hvg-ctaband .hvg-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* let wide tables scroll on small screens */
.hvg-page__body .wp-block-table { overflow-x: auto; }

/* staff / stylist profile cards */
.hvg-staff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 215px)); justify-content: center; gap: 1.4rem; margin-inline: auto; }
.hvg-staffcard { background: var(--surface); border: 1px solid #E7E3D9; border-radius: 16px; padding: 1.8rem 1.4rem; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.06); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hvg-staffcard:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.12); }
.hvg-staffcard__avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.1rem; background: linear-gradient(145deg, var(--navy), var(--navy-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; overflow: hidden; }
.hvg-staffcard__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hvg-staffcard h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.2rem; margin: 0 0 0.25rem; }
.hvg-staffcard__role { color: var(--red); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.7rem; }
.hvg-staffcard p { color: var(--on-paper-muted); font-size: 0.9rem; line-height: 1.55; margin: 0 0 1.2rem; }
.hvg-staffcard .hvg-btn { margin-top: auto; justify-content: center; font-size: 0.72rem; padding: 0.7rem 1.2rem; }
/* homepage barbershop band */
.hvg-barber { background: var(--paper); }
.hvg-barber .hvg-rich__head { margin-bottom: clamp(2rem, 4vw, 2.8rem); }

/* membership plan detail pages */
.hvg-pricehero { text-align: center; }
.hvg-pricehero__price { font-family: var(--font-display); font-weight: 800; color: var(--navy); font-size: clamp(3rem, 8vw, 5rem); line-height: 1; }
.hvg-pricehero__price span { font-size: 1rem; font-weight: 500; color: var(--on-paper-muted); font-family: var(--font-body); }
.hvg-pricehero__tagline { color: var(--on-paper-muted); font-size: 1.15rem; max-width: 620px; margin: 0.8rem auto 1.7rem; }
.hvg-pricehero .hvg-btns { justify-content: center; }
.hvg-checklist { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 2.2rem; list-style: none; padding: 0; }
.hvg-checklist li { padding-left: 1.7rem; position: relative; color: var(--on-paper); line-height: 1.5; }
.hvg-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 800; }
.hvg-plannote { text-align: center; color: var(--on-paper-muted); font-size: 0.9rem; max-width: 620px; margin: 1.4rem auto 0; }
@media (max-width: 640px) { .hvg-checklist { grid-template-columns: 1fr; } }

/* auto table-of-contents (policy & state-law pages) */
.hvg-page__body .hvg-toc { background: var(--surface); border: 1px solid #E7E3D9; border-left: 3px solid var(--red); border-radius: 10px; padding: 1.2rem 1.5rem; margin: 0 0 2.2rem; max-width: 800px; }
.hvg-toc__title { font-family: var(--font-body); color: var(--navy); font-size: 0.78rem; font-weight: 700; margin: 0 0 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; }
.hvg-toc ul { margin: 0; padding: 0 0 0 1.1rem; columns: 2; column-gap: 2rem; }
.hvg-toc li { margin: 0.3rem 0; break-inside: avoid; }
.hvg-toc a { color: var(--navy); text-decoration: none; font-size: 0.92rem; }
.hvg-toc a:hover { color: var(--red); text-decoration: underline; }
.hvg-toc li.hvg-toc__sub { padding-left: 0.9rem; }
.hvg-toc li.hvg-toc__sub a { color: var(--on-paper-muted); font-size: 0.86rem; }
.hvg-page__body h2[id], .hvg-page__body h3[id] { scroll-margin-top: 100px; }
@media (max-width: 640px) { .hvg-toc ul { columns: 1; } }

/* contact page */
.hvg-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.hvg-contact-grid .frm_forms { max-width: none; }
.hvg-contact-info h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.1rem; margin: 0 0 0.3rem; }
.hvg-contact-info p { margin: 0 0 1.2rem; color: var(--on-paper); line-height: 1.6; }
.hvg-contact-info a { color: var(--red); }
@media (max-width: 820px) { .hvg-contact-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.hvg-map { width: 100vw; margin-left: calc(50% - 50vw); display: block; }
.hvg-map iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(0.15); }

/* numbered steps (how-to pages) */
.hvg-steps { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.1rem; }
.hvg-step { display: flex; gap: 1.2rem; background: var(--surface); border: 1px solid #E7E3D9; border-radius: 14px; padding: 1.4rem 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.hvg-step__num { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.hvg-step h3 { font-family: var(--font-display); color: var(--navy); margin: 0.2rem 0 0.4rem; font-size: 1.2rem; }
.hvg-step p { margin: 0; color: var(--on-paper); line-height: 1.6; font-size: 0.95rem; }
.hvg-step p + p { margin-top: 0.6rem; }
.hvg-callout { max-width: 840px; margin: 1.6rem auto 0; background: rgba(193,39,45,0.08); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0; padding: 1rem 1.3rem; color: var(--navy); font-weight: 600; }
.hvg-note { max-width: 840px; margin: 1.2rem auto 0; color: var(--on-paper-muted); font-size: 0.9rem; text-align: center; }

/* photo gallery masonry */
.hvg-page__body .hvg-masonry { width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); background: var(--surface); columns: 4 270px; column-gap: 1rem; }
.hvg-masonry img { width: 100%; margin: 0 0 1rem; border-radius: 10px; display: block; break-inside: avoid; box-shadow: 0 4px 12px rgba(0,0,0,0.08); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hvg-masonry img:hover { transform: scale(1.015); box-shadow: 0 12px 28px rgba(0,0,0,0.16); }

/* ============================================================
   Upcoming Events ( [hvg_events] )
   ============================================================ */
.hvg-events { background: var(--cream); }
.hvg-events__head { text-align: center; max-width: 680px; margin: 0 auto 2.6rem; }
.hvg-events__head h2 { margin: .3rem 0 0; }
.hvg-events__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.5rem;
}
.hvg-eventcard {
	display: flex;
	gap: 1.15rem;
	background: #fff;
	border: 1px solid rgba(26,39,68,.07);
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 6px 24px rgba(26,39,68,.06);
	transition: transform .25s ease, box-shadow .25s ease;
}
.hvg-eventcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,39,68,.13); }
.hvg-eventcard--featured { border-color: var(--red); box-shadow: 0 10px 32px rgba(193,39,45,.14); }
.hvg-eventcard__date {
	flex: 0 0 auto;
	width: 64px; height: 64px;
	border-radius: 13px;
	background: var(--navy);
	color: #fff;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	line-height: 1;
}
.hvg-eventcard--featured .hvg-eventcard__date { background: var(--red); }
.hvg-eventcard__date .m {
	font-family: var(--font-body, Inter, sans-serif);
	font-size: .72rem; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--red-bright);
}
.hvg-eventcard--featured .hvg-eventcard__date .m { color: #fff; opacity: .9; }
.hvg-eventcard__date .d { font-family: var(--font-head, "Playfair Display", serif); font-size: 1.7rem; font-weight: 700; margin-top: .15rem; }
.hvg-eventcard__body { flex: 1 1 auto; min-width: 0; }
.hvg-eventcard__body h3 { font-family: var(--font-head, "Playfair Display", serif); font-size: 1.25rem; margin: 0 0 .35rem; color: var(--navy); }
.hvg-eventcard__meta { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--red); margin: 0 0 .55rem; text-transform: uppercase; }
.hvg-eventcard__body p { margin: 0 0 .9rem; color: var(--on-paper-muted); font-size: .95rem; line-height: 1.55; }
.hvg-eventcard__body .hvg-btn { margin-top: .2rem; }
.hvg-events__more { text-align: center; margin-top: 2.4rem; }
@media (max-width: 600px) {
	.hvg-eventcard { flex-direction: column; gap: .9rem; }
}
