/* Hedges House Theme Styles */

:root {
	--hh-accent: #04326C;
	--hh-ink: #0B2442;
	--hh-muted: #46546A;
	--hh-meta: #5A6578;
	--hh-border: #E3E7EE;
	--hh-border-strong: #CCD3DD;
	--hh-soft: #F2F5F9;
	--hh-placeholder: #DCE2EA;
	--hh-hero-base: #2B3A4F;
	--hh-footer: #021A36;
	--hh-footer-text: #E4EAF3;
	--hh-footer-muted: #B9C7DA;
	--hh-max: 1320px;
	--hh-pad: 40px;
	--hh-font: 'Hanken Grotesk', system-ui, sans-serif;
	--hh-display: 'Libre Caslon Display', Georgia, serif;
}

body {
	font-family: var(--hh-font);
	font-weight: 400;
	background-color: #fff;
	font-size: 17px;
	line-height: 1.5;
	color: var(--hh-ink);
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hh-display);
	font-weight: 400;
	color: var(--hh-ink);
	margin: 0 0 0.25em;
	line-height: 1.15;
}

h1 { font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -0.015em; }
h2 { font-size: clamp(34px, 3.6vw, 50px); line-height: 1.1; }
h3 { font-size: clamp(26px, 2.4vw, 34px); }
p {
	font-family: var(--hh-font);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--hh-muted);
	margin: 0 0 0.5em;
}
p:last-child { margin-bottom: 0; }

a { color: var(--hh-accent); }
a:hover { color: var(--hh-ink); text-decoration: none; }

ol, ul { padding-left: 1rem; margin: 0 0 0.5em; }
ol li, ul li {
	font-size: 1rem;
	line-height: 1.5;
	padding-bottom: 0.25em;
}

.hh-wrap {
	max-width: var(--hh-max);
	margin: 0 auto;
	padding-left: var(--hh-pad);
	padding-right: var(--hh-pad);
	box-sizing: border-box;
}

.hh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	max-width: max-content;
	background: var(--hh-accent);
	color: #fff !important;
	padding: 13px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
	font-family: var(--hh-font);
	line-height: 1.2;
	box-sizing: border-box;
}
.hh-btn:hover { background: var(--hh-ink); color: #fff !important; }
.hh-btn--light {
	background: #fff;
	color: var(--hh-accent) !important;
}
.hh-btn--light:hover { background: var(--hh-soft); color: var(--hh-ink) !important; }
.hh-btn--outline {
	background: transparent;
	color: var(--hh-accent) !important;
	border: 1px solid var(--hh-border-strong);
}
.hh-btn--outline:hover { background: var(--hh-soft); color: var(--hh-ink) !important; }

.hh-eyebrow {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	text-transform: uppercase;
}
.hh-eyebrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 9px;
	background: currentColor;
}

.hh-placeholder {
	background: var(--hh-placeholder);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px;
	font-size: 14px;
	color: #4E5868;
	overflow: hidden;
}
.hh-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: inherit;
}
.hh-placeholder--sm {
	font-size: 12px;
	color: var(--hh-meta);
}

.hh-link-arrow {
	font-weight: 600;
	font-size: 15.5px;
	text-underline-offset: 5px;
}

@media (max-width: 800px) {
	:root { --hh-pad: 20px; }
}

/* Forms — Contact Form 7 */
.hh-form .wpcf7-form,
.hh-contact-page__form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.hh-form label,
.hh-contact-page__form label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--hh-ink);
	width: 100%;
}
.hh-form label .req,
.hh-contact-page__form label .req {
	font-weight: 400;
	color: var(--hh-meta);
}
.hh-form input[type="text"],
.hh-form input[type="email"],
.hh-form input[type="tel"],
.hh-form textarea,
.hh-contact-page__form input[type="text"],
.hh-contact-page__form input[type="email"],
.hh-contact-page__form input[type="tel"],
.hh-contact-page__form textarea {
	height: 50px;
	border: 1px solid #C2CAD6;
	border-radius: 8px;
	padding: 0 14px;
	font: inherit;
	background: #fff;
	color: var(--hh-ink);
	width: 100%;
	box-sizing: border-box;
}
.hh-form textarea,
.hh-contact-page__form textarea {
	height: auto;
	min-height: 140px;
	padding: 12px 14px;
	resize: vertical;
}
.hh-form input:focus,
.hh-form textarea:focus,
.hh-contact-page__form input:focus,
.hh-contact-page__form textarea:focus {
	outline: 2px solid var(--hh-accent);
	outline-offset: 1px;
	border-color: var(--hh-accent);
}
.hh-form .hh-form-row,
.hh-contact-page__form .hh-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
.hh-form .hh-form-row > *,
.hh-contact-page__form .hh-form-row > * {
	flex: 1 1 200px;
}
.hh-form input[type="submit"],
.hh-contact-page__form input[type="submit"] {
	align-self: flex-start;
	background: var(--hh-accent);
	color: #fff;
	border: 0;
	padding: 16px 30px;
	border-radius: 999px;
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	width: auto;
}
.hh-form input[type="submit"]:hover,
.hh-contact-page__form input[type="submit"]:hover {
	background: var(--hh-ink) !important;
	color: #fff;
}
