/*
Theme Name: Site Theme
Description: A block theme for this website.
Tags: block-patterns, block-styles, full-site-editing, style-variations, wide-blocks
Tested up to: 6.7.1
Requires PHP: 7.3
Version: 0.5.38
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

.wpai-header__logo {
	display: block;
	width: auto;
	max-width: min(220px, 42vw);
	max-height: 40px;
	object-fit: contain;
}

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

b,
strong {
	font-weight: var(--wp--custom--font-weight--semi-bold);
}

ol,
ul {
	padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--medium);
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--x-small);
	margin-bottom: 0;
	margin-top: 20px;
	text-align: center;
}

img,
figure {
	max-width: 100%;
	height: auto;
}

/* Temporary fix for text-decoration-thickness in Firefox */
@-moz-document url-prefix() {
	a {
		text-decoration-thickness: .1rem !important;
	}
}

/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
	font: inherit;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

input:not([type="submit"]):not([type="radio"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wp-block-post-comments-form textarea {
	color: var(--wp--preset--color--main);
	border-radius: 5px;
	border: solid 1px color-mix(in srgb, var(--wp--preset--color--tertiary) 100%, var(--wp--preset--color--main) 20%);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--small);
	background-color: #fff;
	box-shadow: 
		0 1px 2px rgba(0, 0, 0, 0.02),
		0 0.5px 1px rgba(0, 0, 0, 0.04);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline-color: var(--wp--preset--color--main);
	outline-offset: 1px;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

select {
	-webkit-appearance: none;
	appearance: none;
	background: var(--wp--preset--color--base) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJmZWF0aGVyIGZlYXRoZXItY2hldnJvbi1kb3duIj48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSI+PC9wb2x5bGluZT48L3N2Zz4=) no-repeat;
    background-size: 16px;
    background-position: calc(100% - 12px) 50%;
	padding-right: 2.2em;
}

label {
	width: 100%;
	display: block;
}

::placeholder {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

/* Helper styles
---------------------------------------------------------------------------- */

a.more-link {
	display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--tertiary);
	padding: 3px 5px;
	position: relative;
	border-radius: 3px;
}

.wp-block-categories {
	position: relative;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
	display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
	display: none;
}

.wp-block-group:empty:has(+ .comment-respond) {
	display: none;
}

.row-logos > figure {
	flex-shrink: 1 !important;
}

/* Sticky header */

body:not(.wp-admin) header:has(>.is-position-sticky) {
	position: sticky;
	top: calc( 0px + var( --wp-admin--admin-bar--height, 0px ) );
	z-index: 100;
}

/* Account for admin bar on mobile */

@media (max-width: 600px) {
	header:has(>.is-position-sticky) {
		top: 0;
	}
}

/* Mobile helper classes */

@media (max-width: 781px) {
	.wpai-hide-on-mobile {
		display: none;
	}

	.wpai-unstick-mobile {
		position: static;
	}

	header:has(>.wpai-unstick-mobile) {
		position: static;
	}
}

/* Table
--------------------------------------------- */

.wp-block-table table {
	background: var(--wp--preset--color--base);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--border-light);
	font-size: var(--wp--preset--font-size--x-small);
}
.wp-block-table.is-style-stripes {
	border-bottom: none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--preset--color--tertiary);
}

.wp-block-table td, 
.wp-block-table th,
.wp-block-table thead {
	border: none;
	border-bottom: solid 1px color-mix(in srgb, var(--wp--preset--color--border-light) 50%, var(--wp--preset--color--base) 5%);
}

.wp-block-table th,
.wp-block-table tfoot {
	text-align: left;
	background-color: color-mix(in srgb, var(--wp--preset--color--tertiary) 75%, var(--wp--preset--color--base) 5%);
}

.wp-block-table td, 
.wp-block-table th {
	padding: .8em 1em;
}

.wp-block-table tfoot {
	border-top: solid 1px var(--wp--preset--color--border-light);
}

.wp-block-table tfoot td {
	border-bottom: none;
}

/* WPAI effects layer
---------------------------------------------------------------------------- */

/* Gradient headline text — falls back to the element's text color until CSS loads */
.wpai-gradient-text {
	background: linear-gradient(120deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-alt, var(--wp--preset--color--primary-accent)));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--wp--preset--color--primary);
}

/* Soft colored glow behind a card or image */
.wpai-glow {
	box-shadow: 0 0 60px 0 color-mix(in srgb, var(--wp--preset--color--primary) 35%, transparent);
}

/* Frosted glass card (needs a non-flat backdrop to be visible) */
.wpai-glass {
	background: rgba(255, 255, 255, 0.06) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gentle lift on hover for cards */
.wpai-hover-lift {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wpai-hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* Muted, evenly-spaced wordmark row (text stand-in for logo strips) */
.wpai-wordmark {
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	opacity: 0.55;
}

/* WPAI layout utilities */
.wpai-masonry {
	columns: 3;
	column-gap: var(--wp--preset--spacing--medium);
}
.wpai-masonry > * {
	break-inside: avoid;
	margin-bottom: var(--wp--preset--spacing--medium) !important;
}
@media (max-width: 781px) {
	.wpai-masonry { columns: 1; }
}
.wpai-snap-row {
	display: flex;
	gap: var(--wp--preset--spacing--medium);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--wp--preset--spacing--small);
}
.wpai-snap-row > * {
	flex: 0 0 clamp(280px, 30vw, 400px);
	scroll-snap-align: start;
	margin-block-start: 0 !important;
}

/* WPAI mega menu */
.wpai-mega {
	position: relative;
}
.wpai-mega-toggle {
	cursor: pointer;
	user-select: none;
}
.wpai-mega-toggle::after {
	content: "";
	display: inline-block;
	margin-left: .45em;
	width: .5em;
	height: .5em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-25%);
	transition: transform .15s ease;
}
.wpai-mega.is-open .wpai-mega-toggle::after {
	transform: rotate(225deg) translateY(-15%);
}
.wpai-mega-panel {
	display: none;
	position: absolute;
	top: calc(100% + 12px);
	left: 50%;
	transform: translateX(calc(-50% + var(--wpai-shift, 0px)));
	width: min(1240px, calc(100vw - 48px));
	z-index: 999;
}
.wpai-mega.is-open .wpai-mega-panel {
	display: block;
}
/* Panel size variants — narrow/medium hang left under the toggle like a
   classic dropdown; the default and --wide center under it */
.wpai-mega-panel--narrow {
	width: 400px;
	left: 0;
	transform: translateX(var(--wpai-shift, 0px));
}
.wpai-mega-panel--medium {
	width: min(760px, calc(100vw - 48px));
	left: 0;
	transform: translateX(var(--wpai-shift, 0px));
}
.wpai-mega-panel--wide {
	width: min(980px, calc(100vw - 48px));
}
.wpai-mega-item {
	padding: 10px 12px;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.wpai-mega-item:hover {
	background: var(--wp--preset--color--tertiary);
}
.wpai-menu-icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
	margin-top: 2px;
	color: var(--wp--preset--color--primary);
}
.wpai-menu-icon--boxed {
	color: var(--wp--preset--color--main);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.wpai-menu-icon--round {
	border-radius: 999px;
}
/* Filled (brand background) sections — retint tokens that assume a light bg */
.wpai-on-fill .has-secondary-color {
	color: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent) !important;
}
.wpai-on-fill .has-primary-color {
	color: var(--wp--preset--color--base) !important;
}
.wpai-on-fill .wpai-menu-icon {
	color: var(--wp--preset--color--base);
}
.wpai-on-fill .wp-block-button.is-style-outline .wp-block-button__link {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--main) !important;
	border-color: transparent !important;
}
.wpai-email-input {
	min-width: min(260px, 60vw);
}
.wpai-on-fill a:not(.wp-block-button__link) {
	color: inherit;
}
.wpai-on-fill .wpai-menu-icon--boxed {
	background: rgba(255, 255, 255, 0.14);
	border-color: transparent;
	box-shadow: none;
}

/* WPAI tabs */
.wpai-tab {
	cursor: pointer;
}
.wpai-tab:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 4px;
}
.wpai-tabs-ready .wpai-tabs-panels > * {
	display: none;
}
.wpai-tabs-ready .wpai-tabs-panels > .is-active {
	display: block;
}
.wpai-tabs--vertical .wpai-tab {
	border-left: 2px solid var(--wp--preset--color--border-light);
	padding: 12px 0 12px 20px;
	margin: 0 !important;
}
.wpai-tabs--vertical .wpai-tab.is-active {
	border-left-color: var(--wp--preset--color--primary);
}
.wpai-tabs--horizontal .wpai-tabs-list {
	display: flex;
	gap: var(--wp--preset--spacing--medium);
}
.wpai-tabs--horizontal .wpai-tab {
	border-top: 2px solid var(--wp--preset--color--border-light);
	padding-top: 14px;
	flex: 1 1 0;
	margin: 0 !important;
}
.wpai-tabs--horizontal .wpai-tab.is-active {
	border-top-color: var(--wp--preset--color--primary);
}

/* WPAI gallery lightbox */
body.wpai-gallery-lightbox-open {
	overflow: hidden;
}
.wpai-gallery-lightbox[hidden] {
	display: none;
}
.wpai-gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	grid-template-columns: minmax(44px, 1fr) minmax(0, auto) minmax(44px, 1fr);
	align-items: center;
	gap: clamp(10px, 2vw, 24px);
	padding: clamp(16px, 3vw, 40px);
	background: rgba(0, 0, 0, 0.84);
	color: var(--wp--preset--color--base);
}
.wpai-gallery-lightbox__frame {
	grid-column: 2;
	display: grid;
	justify-items: center;
	gap: 14px;
	margin: 0;
	max-width: min(92vw, 1200px);
}
.wpai-gallery-lightbox__image {
	display: block;
	width: auto;
	max-width: min(92vw, 1200px);
	max-height: calc(100vh - 11rem);
	object-fit: contain;
	border-radius: 8px;
	background: var(--wp--preset--color--main);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.wpai-gallery-lightbox__caption {
	max-width: min(92vw, 760px);
	margin: 0;
	padding: 8px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--main) 72%, transparent);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	text-align: center;
}
.wpai-gallery-lightbox__caption[hidden] {
	display: none;
}
.wpai-gallery-lightbox button {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 28%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--main) 66%, transparent);
	color: var(--wp--preset--color--base);
	cursor: pointer;
	font: inherit;
	line-height: 1;
}
.wpai-gallery-lightbox button:hover,
.wpai-gallery-lightbox button:focus-visible {
	background: var(--wp--preset--color--primary);
	outline: none;
}
.wpai-gallery-lightbox__close {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 12px 16px;
}
.wpai-gallery-lightbox__nav {
	min-width: 52px;
	min-height: 52px;
	padding: 0 14px;
	justify-self: center;
}
.wpai-gallery-lightbox__nav--prev {
	grid-column: 1;
}
.wpai-gallery-lightbox__nav--next {
	grid-column: 3;
}
@media (max-width: 600px) {
	.wpai-gallery-lightbox {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr auto;
		align-items: end;
		padding: 54px 14px 14px;
	}
	.wpai-gallery-lightbox__frame {
		grid-column: 1 / -1;
		grid-row: 1;
		align-self: center;
	}
	.wpai-gallery-lightbox__image {
		max-width: calc(100vw - 28px);
		max-height: calc(100vh - 12rem);
	}
	.wpai-gallery-lightbox__nav {
		grid-row: 2;
		width: 100%;
	}
	.wpai-gallery-lightbox__nav--prev {
		grid-column: 1;
	}
	.wpai-gallery-lightbox__nav--next {
		grid-column: 2;
	}
	.wpai-gallery-lightbox__close {
		top: 10px;
		right: 10px;
	}
}

/* Round frosted play chip centered over cover images */
.wpai-play-chip {
	width: 56px;
	height: 56px;
	line-height: 56px;
	border-radius: 999px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 !important;
	color: #fff;
}

/* Small round verified badge after reviewer names */
.wpai-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 9px;
	font-weight: 700;
	vertical-align: 1px;
	margin-left: 4px;
}

/* Metric stat with a left rule (used on filled bands) */
.wpai-stat-rule {
	border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent);
	padding-left: 16px;
}

/* Blog sidebar category list */
.wpai-cat-list {
	list-style: none;
	padding-inline-start: 0 !important;
}
.wpai-cat-list li {
	margin-bottom: 0.35rem;
}
.wpai-cat-list li a {
	text-decoration: none;
	color: var(--wp--preset--color--main);
	font-weight: 500;
}
.wpai-cat-list li a:hover {
	color: var(--wp--preset--color--primary);
}

/* Pricing comparison table */
.wpai-compare-table table {
	font-size: var(--wp--preset--font-size--x-small);
}
.wpai-compare-table td:not(:first-child),
.wpai-compare-table th:not(:first-child) {
	text-align: center;
}

.wpai-mega-pill {
	display: inline-block;
	font-size: 0.72em;
	font-weight: 600;
	line-height: 1;
	padding: 4px 8px;
	margin-left: 4px;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--border-light);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--secondary);
	vertical-align: middle;
	white-space: nowrap;
}

/* Design-pack pages: the first section carries its own top padding, so the
   page wrapper adds none, and the runtime <style> block that precedes the
   first section must not count as a flow child for block-gap purposes. */
main:has(> .entry-content > .wpai-design-pack-section) {
	padding-top: 0;
}
main:has(> .entry-content > .wpai-design-pack-section) > .entry-content {
	margin-block-start: 0;
}
/* Same rule when the template mounts the content straight under the site
   wrapper (page-no-title): the header's bottom border meets the first band. */
.wp-site-blocks > .entry-content:has(> .wpai-design-pack-section),
.wp-site-blocks > main.wpai-post {
	margin-block-start: 0;
}
.entry-content > style:first-child + .wpai-design-pack-section,
.entry-content > .wpai-design-pack-section + .wpai-design-pack-section {
	margin-block-start: 0;
}
/* The page's JSON-LD script lands after the last section wrapped in a bare
   paragraph, which painted a block-gap strip of page background under the
   final band on every design-pack page. A paragraph holding only a script
   has nothing to show. */
.entry-content > p:has(> script:only-child) {
	display: none;
	margin: 0;
}
/* wpautop drops empty paragraphs into design-pack sections wherever inline
   text sits beside a block element (a label span before a value paragraph, a
   card link around an image). They carry the theme's paragraph margins and
   open gaps the design never had. A pack section never means an empty p. */
.wpai-design-pack-section p:empty {
	display: none;
	margin: 0;
}

/* Design-pack footer nav links: the pack's own preview renders them at the
   browser's normal line-height; the theme's 1.5 body leading made each row
   about 5px taller than the design. */
footer nav[aria-label^="Footer"] a {
	line-height: 1.2;
}
footer .lp-footer-social a {
	opacity: .85;
	transition: opacity .15s ease;
}
footer .lp-footer-social a:hover,
footer .lp-footer-social a:focus-visible {
	opacity: 1;
}

/* Footer AI-engine and social chips: the pack draws them as static outlined
   pills, so hover and focus states live here. */
footer .wpai-shell-link {
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
footer .wpai-shell-link:hover,
footer .wpai-shell-link:focus-visible {
	background: color-mix(in srgb, currentColor 14%, transparent);
	border-color: currentColor;
	outline: none;
}

/* Partial rating star: the clipped overlay star must keep its full icon size
   inside its 60%-wide box instead of shrinking as a flex item. */
.lp-star-partial > .lp-star > svg {
	flex: 0 0 auto;
}

/* Header dropdown items: the pack's hover state (a tinted row), which the
   shell markup declares only for the design preview. */
.wpai-header__dropdown-panel a {
	transition: background-color .15s ease;
}
header .wpai-header__dropdown-panel a:hover,
header .wpai-header__dropdown-panel a:focus-visible {
	background: color-mix(in srgb, currentColor 8%, transparent);
	color: #1F5FA8 !important; /* the shell writes the resting color inline */
}
header .wpai-header__dropdown-panel a:hover .wpai-header__dropdown-icon,
header .wpai-header__dropdown-panel a:focus-visible .wpai-header__dropdown-icon {
	color: #B9502A !important;
}

/* Header bar links: a soft tint and the brand blue on hover. Dropdown
   triggers (label or link) get the same treatment. */
header [data-wpai-header="nav"] > a,
header [data-wpai-header="nav"] > .wpai-header__dropdown > a,
header [data-wpai-header="nav"] > .wpai-header__dropdown > span[role="button"] {
	transition: background-color .15s ease, color .15s ease;
}
header [data-wpai-header="nav"] > a:hover,
header [data-wpai-header="nav"] > a:focus-visible,
header [data-wpai-header="nav"] > .wpai-header__dropdown:hover > a,
header [data-wpai-header="nav"] > .wpai-header__dropdown:hover > span[role="button"],
header [data-wpai-header="nav"] > .wpai-header__dropdown:has(:focus-visible) > a,
header [data-wpai-header="nav"] > .wpai-header__dropdown:has(:focus-visible) > span[role="button"] {
	background: color-mix(in srgb, currentColor 6%, transparent);
	color: #1F5FA8 !important; /* the shell writes the resting color inline */
	outline: none;
}

/* Rating stars keep their fill even when a dev-only overlay (Agentation)
   injects a global svg[fill="none"] rule of equal specificity. */
.lp-star svg[fill="none"],
.lp-star-partial > .lp-star svg[fill="none"] {
	fill: currentColor !important;
}

/* A phone number never breaks across lines. */
a[href^="tel:"] {
	white-space: nowrap;
}

/* Dropdown triggers carry a small chevron so the bar tells you which items
   open a menu. Drawn in CSS so the shell markup stays the pack's. */
header [data-wpai-header="nav"] > .wpai-header__dropdown > a::after,
header [data-wpai-header="nav"] > .wpai-header__dropdown > span[role="button"]::after {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 5px;
	background: currentColor;
	opacity: .55;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s ease, opacity .15s ease;
}
header [data-wpai-header="nav"] > .wpai-header__dropdown:hover > a::after,
header [data-wpai-header="nav"] > .wpai-header__dropdown:hover > span[role="button"]::after,
header [data-wpai-header="nav"] > .wpai-header__dropdown:has(:focus-visible) > a::after,
header [data-wpai-header="nav"] > .wpai-header__dropdown:has(:focus-visible) > span[role="button"]::after {
	opacity: 1;
	transform: rotate(180deg);
}

/* Header CTA buttons: the shell writes their resting colors inline, so the
   hover state lives here and needs !important to win. */
header .wpai-header-shell a.lp-btn-outline,
header .wpai-header-shell a[data-wpai-header="cta"] {
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
header .wpai-header-shell a.lp-btn-outline:hover,
header .wpai-header-shell a.lp-btn-outline:focus-visible {
	background: #DCE3EA !important;
}
header .wpai-header-shell a[data-wpai-header="cta"]:hover,
header .wpai-header-shell a[data-wpai-header="cta"]:focus-visible {
	background: #9E4222 !important;
	box-shadow: 0 6px 16px rgba(185, 80, 42, .28);
	transform: translateY(-1px);
}

/* Footer text links: an underline fades in on hover. The chips and social
   icons keep their own states above. */
footer nav a,
footer a[href^="tel:"],
footer a[href*="privacy"] {
	text-decoration: underline !important;
	text-decoration-color: transparent !important;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	transition: text-decoration-color .15s ease, opacity .15s ease;
}
footer nav a:hover,
footer nav a:focus-visible,
footer a[href^="tel:"]:hover,
footer a[href^="tel:"]:focus-visible,
footer a[href*="privacy"]:hover,
footer a[href*="privacy"]:focus-visible {
	text-decoration-color: currentColor !important;
	outline: none;
}

/* 404 page: designed in Claude Design (2026-09-16), built on the pack's
   tokens. Header and footer are the site's own template parts. */
.lp-404 { background: #FBFAF7; color: #14273D; font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 2rem); }
.lp-404__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-404__eyebrow, .lp-404__panel-eyebrow { margin: 0 0 8px; font: 600 12px/1.2 'DM Sans', system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #1F5FA8; }
.lp-404__panel-eyebrow { color: #55637A; margin-bottom: 14px; }
.lp-404__code { margin: 0; font: 600 clamp(5rem, 12vw, 8rem)/1 'Source Serif 4', Georgia, serif; color: #DCE3EA; letter-spacing: -.03em; }
.lp-404__title { margin: 12px 0 18px; font: 600 clamp(1.9rem, 1.2rem + 2.2vw, 3rem)/1.12 'Source Serif 4', Georgia, serif; letter-spacing: -.01em; color: #14273D; text-wrap: pretty; }
.lp-404__lead { margin: 0 0 28px; font-size: 1.0625rem; line-height: 1.6; color: #55637A; max-width: 52ch; }
.lp-404__panel { background: #F1EEE7; border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.25rem); }
.lp-404__links { display: grid; }
.lp-404__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E3DED4; color: #14273D; text-decoration: none; font: 500 16px/1.3 'DM Sans', system-ui, sans-serif; transition: color .15s ease; }
.lp-404__links a:hover { color: #1F5FA8; }
.lp-404__links a span { color: #1F5FA8; }
.lp-404__call { margin: 22px 0 6px; font-size: 15px; color: #55637A; }
.lp-404__phone { display: inline-flex; align-items: center; gap: 10px; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 'Source Serif 4', Georgia, serif; color: #14273D; text-decoration: none; }
.lp-404__phone:hover { color: #1F5FA8; }
.lp-404__hours { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #55637A; }
.lp-404__hours a { color: inherit; }
@media (max-width: 759px) { .lp-404__inner { grid-template-columns: minmax(0, 1fr); } }
