/* ==========================================================================
   FortuneHaven: site styles. Tokens and rules are documented in /DESIGN.md.
   Dark editorial: ink-black canvas, champagne accent, serif display over a
   system sans body, hairline rules, near-square corners (2px).
   ========================================================================== */

:root {
	--canvas: #0c0f12;
	--surface: #13171c;
	--surface-2: #1a2026;
	--ink: #f4f1ea;
	--ink-2: #cfccc4;
	--muted: #9a978f;
	--line: #262c33;
	--line-strong: #3a424b;
	--accent: #d4a74e;
	--accent-hover: #e3bc6c;
	--accent-soft: #241e13;
	--on-accent: #12100b;

	--serif: "Newsreader", "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
	--sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;

	--container: 1220px;
	--gutter: clamp(1.25rem, 5vw, 4rem);
	--section: clamp(4.5rem, 3rem + 6vw, 9rem);
	--header-h: 80px;
	--radius: 2px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	color-scheme: dark;
}

/* Base ------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: -0.005em;
	text-wrap: balance;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

h2 {
	font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3rem);
}

h3 {
	font-size: 1.375rem;
	line-height: 1.4;
}

p {
	text-wrap: pretty;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color 0.25s var(--ease);
}

a:hover {
	color: var(--accent-hover);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 1px solid var(--accent);
	outline-offset: 4px;
}

::selection {
	background: var(--accent);
	color: var(--on-accent);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line-strong);
}

/* Layout primitives ------------------------------------------------------- */

.fh-wrap {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.fh-wrap--narrow {
	max-width: calc(760px + 2 * var(--gutter));
}

.fh-section {
	padding-block: var(--section);
}

.fh-section--tint {
	background: var(--surface);
}

.fh-section--flush-top {
	padding-top: 0;
}

/* The hairline is the signature divider of this design. */
.fh-section + .fh-section:not(.fh-section--tint)::before,
.fh-rule {
	content: "";
	display: block;
	height: 1px;
	background: var(--line);
}

.fh-eyebrow {
	color: var(--accent);
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fh-lead {
	color: var(--ink-2);
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.75;
	max-width: 36em;
}

.fh-head {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.fh-head p {
	color: var(--muted);
	font-size: 1.0625rem;
}

.fh-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem 3rem;
	max-width: none;
}

.fh-head__text {
	display: grid;
	gap: 1rem;
	max-width: 46rem;
}

.fh-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.fh-more a::after {
	content: "";
	width: 1.6rem;
	height: 1px;
	background: currentColor;
	transition: width 0.35s var(--ease);
}

.fh-more a:hover::after {
	width: 2.4rem;
}

/* Buttons ----------------------------------------------------------------- */

.fh-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
}

.wp-block-button > .wp-block-button__link,
.fh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 52px;
	padding: 0.95rem 1.75rem;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--sans);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.wp-block-button > .wp-block-button__link:hover,
.fh-btn:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--on-accent);
}

.wp-block-button > .wp-block-button__link:active,
.fh-btn:active {
	transform: translateY(1px);
}

.fh-btn-secondary > .wp-block-button__link,
.fh-btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}

.fh-btn-secondary > .wp-block-button__link:hover,
.fh-btn--ghost:hover {
	background: transparent;
	border-color: var(--accent);
	color: var(--accent);
}

.fh-btn--sm {
	min-height: 42px;
	padding: 0.55rem 1.25rem;
	font-size: 0.875rem;
}

.fh-phone-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.fh-phone-cta .fh-svg {
	width: 1.125rem;
	height: 1.125rem;
	color: var(--accent);
}

.fh-svg {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
}

/* Header ------------------------------------------------------------------ */

.fh-header-slot {
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .fh-header-slot {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .fh-header-slot {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .fh-header-slot {
		top: 0;
	}
}

.fh-header {
	position: relative;
	background: color-mix(in srgb, var(--canvas) 86%, transparent);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.fh-header.is-scrolled,
.fh-header.is-open {
	border-bottom-color: var(--line);
	background: var(--canvas);
}

.fh-header__inner {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	height: var(--header-h);
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Wordmark: serif name over a letterspaced descriptor. */
.fh-logo {
	flex: none;
	display: grid;
	gap: 0.15rem;
	color: var(--ink);
	line-height: 1;
}

.fh-logo:hover {
	color: var(--ink);
}

.fh-logo__text {
	font-family: var(--serif);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.fh-logo__sub {
	font-family: var(--sans);
	font-size: 0.5625rem;
	font-weight: 600;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	color: var(--muted);
}

.fh-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

.fh-nav__list {
	display: flex;
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-nav__list a {
	position: relative;
	display: block;
	padding: 0.35rem 0;
	color: var(--ink-2);
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: color 0.25s var(--ease);
}

.fh-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 1px;
	background: var(--accent);
	transition: right 0.35s var(--ease);
}

.fh-nav__list a:hover {
	color: var(--ink);
}

.fh-nav__list a:hover::after,
.fh-nav__list .current-menu-item > a::after,
.fh-nav__list .current_page_item > a::after {
	right: 0;
}

.fh-nav__list .current-menu-item > a,
.fh-nav__list .current_page_item > a {
	color: var(--ink);
}

.fh-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}

.fh-menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.fh-menu-toggle__bars,
.fh-menu-toggle__bars::before,
.fh-menu-toggle__bars::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 1px;
	background: currentColor;
	transition: transform 0.4s var(--ease), opacity 0.2s var(--ease);
}

.fh-menu-toggle__bars {
	top: 21px;
}

.fh-menu-toggle__bars::before,
.fh-menu-toggle__bars::after {
	content: "";
	left: 0;
}

.fh-menu-toggle__bars::before {
	transform: translateY(-6px);
}

.fh-menu-toggle__bars::after {
	transform: translateY(6px);
}

.fh-menu-toggle[aria-expanded="true"] .fh-menu-toggle__bars {
	background: transparent;
}

.fh-menu-toggle[aria-expanded="true"] .fh-menu-toggle__bars::before {
	background: var(--ink);
	transform: rotate(45deg);
}

.fh-menu-toggle[aria-expanded="true"] .fh-menu-toggle__bars::after {
	background: var(--ink);
	transform: rotate(-45deg);
}

.fh-drawer {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 2rem var(--gutter) 3rem;
	background: var(--canvas);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2rem;
}

.fh-drawer[hidden] {
	display: none;
}

.fh-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-drawer__list li + li {
	border-top: 1px solid var(--line);
}

.fh-drawer__list a {
	display: block;
	padding: 1.1rem 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.5rem;
}

.fh-drawer__list .current-menu-item > a {
	color: var(--accent);
}

.fh-drawer__foot {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
}

.fh-drawer__foot .fh-btn {
	width: 100%;
}

@media (max-width: 1023px) {
	.fh-nav {
		display: none;
	}

	.fh-menu-toggle {
		display: block;
	}

	.fh-header__cta {
		display: none;
	}
}

@media (min-width: 1024px) {
	.fh-drawer {
		display: none !important;
	}
}

body.fh-lock {
	overflow: hidden;
}

/* Hero -------------------------------------------------------------------- */

.fh-hero {
	padding-top: clamp(3rem, 2rem + 4vw, 6rem);
	padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
	overflow: hidden;
}

.fh-hero__grid {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	align-items: end;
}

.fh-hero__text {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.fh-hero__title {
	font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);
	font-weight: 300;
	line-height: 1.12;
	letter-spacing: -0.01em;
	max-width: 13em;
}

.fh-hero__title em {
	font-style: italic;
	color: var(--accent);
}

.fh-hero__text .fh-actions {
	margin-top: 0.75rem;
}

.fh-hero__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 5;
	background: var(--surface);
}

.fh-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

@media (min-width: 960px) {
	.fh-hero__grid {
		grid-template-columns: minmax(0, 13fr) minmax(0, 8fr);
	}

	/* The hero image bleeds to the right edge of the viewport. */
	.fh-hero__media {
		margin-right: calc(-1 * var(--gutter));
		aspect-ratio: 3 / 4;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.fh-hero__text > *,
	.fh-hero__media {
		animation: fh-fade 1s var(--ease) both;
	}

	.fh-hero__text > :nth-child(2) { animation-delay: 90ms; }
	.fh-hero__text > :nth-child(3) { animation-delay: 180ms; }
	.fh-hero__text > :nth-child(4) { animation-delay: 270ms; }
	.fh-hero__media { animation-delay: 160ms; }
}

@keyframes fh-fade {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Service rows (editorial index) ------------------------------------------ */

.fh-rows {
	display: grid;
	border-top: 1px solid var(--line);
}

.fh-row {
	position: relative;
	display: grid;
	gap: 1rem;
	padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
	border-bottom: 1px solid var(--line);
	transition: background-color 0.4s var(--ease);
}

.fh-row__title {
	font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
	color: var(--ink);
}

.fh-row__title a {
	color: inherit;
}

.fh-row__title a::before {
	content: "";
	position: absolute;
	inset: 0;
}

.fh-row p {
	color: var(--muted);
	max-width: 42em;
}

.fh-row figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 16 / 10;
	background: var(--surface);
}

.fh-row img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85);
	transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}

.fh-row:hover img {
	transform: scale(1.04);
	filter: saturate(1);
}

.fh-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	color: var(--muted);
	font-size: 0.9375rem;
}

.fh-row__meta span {
	position: relative;
	padding-left: 1.1rem;
}

.fh-row__meta span::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 0.5rem;
	height: 1px;
	background: var(--accent);
}

@media (min-width: 900px) {
	.fh-row {
		grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: center;
	}

	.fh-row > figure {
		grid-column: 3;
		grid-row: 1 / span 3;
	}

	.fh-row__body {
		display: grid;
		gap: 1rem;
	}
}

/* Points ------------------------------------------------------------------ */

.fh-split {
	display: grid;
	gap: 3rem;
}

@media (min-width: 960px) {
	.fh-split {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(3rem, 8vw, 8rem);
		align-items: start;
	}

	.fh-split__aside {
		position: sticky;
		top: calc(var(--header-h) + 3rem);
	}
}

.fh-split__aside {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.fh-split__aside p {
	color: var(--muted);
	max-width: 26em;
}

.fh-points {
	display: grid;
	gap: 0;
}

.fh-point {
	display: grid;
	gap: 0.6rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--line);
}

.fh-point:last-child {
	border-bottom: 1px solid var(--line);
}

.fh-point h3 {
	display: flex;
	align-items: baseline;
	gap: 0.85rem;
	font-size: 1.25rem;
}

.fh-point h3::before {
	content: "";
	width: 1.75rem;
	height: 1px;
	background: var(--accent);
	flex: none;
	transform: translateY(-0.35em);
}

.fh-point p {
	color: var(--muted);
	padding-left: 2.6rem;
}

@media (min-width: 720px) {
	.fh-points--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 3rem;
	}
}

/* Steps ------------------------------------------------------------------- */

.fh-steps {
	display: grid;
	gap: 0;
}

.fh-step {
	display: grid;
	gap: 0.5rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--line);
}

.fh-step:last-child {
	border-bottom: 1px solid var(--line);
}

.fh-step h3 {
	font-size: 1.25rem;
}

.fh-step p {
	color: var(--muted);
}

@media (min-width: 900px) {
	.fh-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 2.5rem;
	}

	.fh-step {
		border-bottom: 1px solid var(--line);
	}
}

/* Media split -------------------------------------------------------------- */

.fh-media {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.fh-media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 5 / 6;
	background: var(--surface);
}

.fh-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

.fh-media__body {
	display: grid;
	gap: 1.5rem;
	align-content: start;
}

.fh-media__body > p {
	color: var(--muted);
	max-width: 34em;
}

@media (min-width: 960px) {
	.fh-media {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: clamp(3rem, 7vw, 6rem);
	}

	.fh-media--flip figure {
		order: 2;
	}
}

.fh-checks {
	display: grid;
	gap: 0;
	padding: 0;
	list-style: none;
}

.fh-checks li {
	position: relative;
	padding: 1rem 0 1rem 2.25rem;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
}

.fh-checks li:last-child {
	border-bottom: 1px solid var(--line);
}

.fh-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.85em;
	width: 1.25rem;
	height: 1px;
	background: var(--accent);
}

/* Quote band -------------------------------------------------------------- */

.fh-band {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 66vh, 680px);
	padding-block: clamp(3rem, 2rem + 4vw, 6rem);
	overflow: hidden;
}

.fh-band__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	margin: 0;
}

.fh-band__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.6) contrast(1.08) brightness(0.6);
}

.fh-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to right, rgb(12 15 18 / 0.92) 0%, rgb(12 15 18 / 0.55) 55%, rgb(12 15 18 / 0.35) 100%);
}

.fh-band__body {
	display: grid;
	gap: 1.5rem;
	max-width: 48rem;
}

.fh-band__body h2 {
	font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
	font-weight: 300;
	line-height: 1.3;
}

.fh-band__body p {
	color: var(--ink-2);
	max-width: 36em;
}

/* Closing CTA ------------------------------------------------------------- */

.fh-cta__box {
	display: grid;
	gap: 2.5rem;
	padding-top: 3rem;
	border-top: 1px solid var(--accent);
}

.fh-cta__text {
	display: grid;
	gap: 1rem;
}

.fh-cta__text h2 {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	font-weight: 300;
}

.fh-cta__text p {
	color: var(--muted);
	max-width: 34em;
}

.fh-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
}

@media (min-width: 900px) {
	.fh-cta__box {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}
}

/* Page hero + prose ------------------------------------------------------- */

.fh-pagehero {
	padding-top: clamp(3rem, 2rem + 3vw, 5rem);
	padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem);
}

.fh-pagehero__grid {
	display: grid;
	gap: 3rem;
	align-items: end;
}

.fh-pagehero__text {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.fh-pagehero__title {
	font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	font-weight: 300;
	line-height: 1.14;
}

.fh-pagehero--text .fh-wrap {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.fh-pagehero__media {
	margin: 0;
	overflow: hidden;
	border-radius: var(--radius);
	aspect-ratio: 4 / 3;
	background: var(--surface);
}

.fh-pagehero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.05);
}

@media (min-width: 960px) {
	.fh-pagehero__grid {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(3rem, 6vw, 5rem);
	}
}

.fh-prose {
	max-width: 44rem;
	color: var(--ink-2);
	font-size: 1.0625rem;
}

.fh-prose > * + * {
	margin-top: 1.2em;
}

.fh-prose > h2,
.fh-prose > h3 {
	color: var(--ink);
	margin-top: 2em;
}

.fh-prose > h2 {
	font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
}

.fh-prose ul,
.fh-prose ol {
	padding-left: 1.25em;
}

.fh-prose li + li {
	margin-top: 0.45em;
}

.fh-prose a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.fh-profile {
	display: grid;
	gap: 2rem;
}

@media (min-width: 960px) {
	.fh-profile {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: clamp(3rem, 7vw, 7rem);
	}
}

/* FAQ --------------------------------------------------------------------- */

.fh-faq {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 960px) {
	.fh-faq {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(3rem, 7vw, 7rem);
		align-items: start;
	}
}

.fh-faq__list {
	border-top: 1px solid var(--line);
}

.fh-faq__list .wp-block-details {
	border-bottom: 1px solid var(--line);
}

.fh-faq__list summary {
	position: relative;
	display: block;
	padding: 1.5rem 3rem 1.5rem 0;
	color: var(--ink);
	font-family: var(--serif);
	font-size: 1.1875rem;
	cursor: pointer;
	list-style: none;
	transition: color 0.25s var(--ease);
}

.fh-faq__list summary::-webkit-details-marker {
	display: none;
}

.fh-faq__list summary::after,
.fh-faq__list summary::before {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 1rem;
	height: 1px;
	background: var(--accent);
	transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.fh-faq__list summary::before {
	transform: rotate(90deg);
}

.fh-faq__list details[open] summary::before {
	transform: rotate(0deg);
	opacity: 0;
}

.fh-faq__list summary:hover {
	color: var(--accent);
}

.fh-faq__list details > :not(summary) {
	padding: 0 3rem 1.75rem 0;
	color: var(--muted);
}

/* Contact + form ---------------------------------------------------------- */

.fh-contact {
	display: grid;
	gap: 3rem;
	align-items: start;
}

@media (min-width: 960px) {
	.fh-contact {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		gap: clamp(3rem, 6vw, 6rem);
	}

	.fh-contact__aside {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.fh-contact__aside {
	display: grid;
	gap: 1.75rem;
}

.fh-contact__aside > p {
	color: var(--muted);
}

.fh-contact-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-contact-list__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding-block: 1rem;
	border-top: 1px solid var(--line);
}

.fh-contact-list__item:last-child {
	border-bottom: 1px solid var(--line);
}

.fh-contact-list__icon {
	color: var(--accent);
	padding-top: 0.25rem;
}

.fh-contact-list__text {
	display: grid;
	line-height: 1.6;
}

.fh-contact-list__label {
	color: var(--muted);
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fh-contact-list__value {
	color: var(--ink);
	word-break: break-word;
}

.fh-contact-list__value a {
	color: inherit;
}

.fh-contact-list__value a:hover {
	color: var(--accent);
}

.fh-contact-list--compact .fh-contact-list__item {
	border: 0;
	padding-block: 0.35rem;
}

.fh-contact-list--compact .fh-contact-list__label {
	display: none;
}

.fh-contact-list--compact .fh-contact-list__value {
	color: var(--muted);
	font-size: 0.9375rem;
}

.fh-admin-hint {
	padding: 0.85rem 1rem;
	border: 1px dashed var(--line-strong);
	color: var(--muted);
	font-size: 0.875rem;
}

.fh-form-card {
	padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	border: 1px solid var(--line);
	background: var(--surface);
	scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

.fh-form-card > h2 {
	font-size: 1.75rem;
	margin-bottom: 1.75rem;
}

.fh-form {
	display: grid;
	gap: 1.75rem;
}

.fh-form__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.fh-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fh-field--full {
		grid-column: 1 / -1;
	}
}

.fh-field {
	display: grid;
	gap: 0.5rem;
	align-content: start;
}

.fh-field label {
	color: var(--ink);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fh-req {
	color: var(--accent);
}

.fh-field input,
.fh-field select,
.fh-field textarea {
	width: 100%;
	min-height: 52px;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
	line-height: 1.5;
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.fh-field textarea {
	min-height: 150px;
	resize: vertical;
}

.fh-field select {
	appearance: none;
	padding-right: 2.5rem;
	background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
	background-position: calc(100% - 1.25rem) 52%, calc(100% - 0.9rem) 52%;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
}

.fh-field input:focus,
.fh-field select:focus,
.fh-field textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.fh-field.has-error input,
.fh-field.has-error textarea,
.fh-field.has-error select {
	border-color: #e2705f;
}

.fh-field__help {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.6;
}

.fh-field__error {
	color: #e2705f;
	font-size: 0.875rem;
}

.fh-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fh-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.fh-form__note {
	color: var(--muted);
	font-size: 0.875rem;
	flex: 1 1 16rem;
}

.fh-form__note a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.fh-form button[disabled] {
	opacity: 0.7;
	cursor: progress;
}

.fh-form__status {
	padding: 1rem 1.25rem;
	border: 1px solid var(--line-strong);
	font-size: 0.9375rem;
}

.fh-form__status.is-error {
	border-color: #e2705f;
	color: var(--ink);
}

.fh-form-done {
	display: grid;
	gap: 1rem;
	justify-items: start;
	padding-block: 1rem;
}

.fh-form-done::before {
	content: "";
	width: 2.5rem;
	height: 1px;
	background: var(--accent);
}

.fh-form-done h3 {
	font-size: 1.5rem;
}

.fh-form-done p {
	color: var(--muted);
}

/* Footer ------------------------------------------------------------------ */

.fh-footer {
	background: var(--canvas);
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.9375rem;
}

.fh-footer__grid {
	display: grid;
	gap: 3rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) var(--gutter) 3rem;
}

@media (min-width: 800px) {
	.fh-footer__grid {
		grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
		gap: 4rem;
	}
}

.fh-footer__brand {
	display: grid;
	gap: 1.25rem;
	align-content: start;
}

.fh-footer__brand p {
	max-width: 24em;
	line-height: 1.8;
}

.fh-footer__title {
	margin-bottom: 1.25rem;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.fh-footer__links {
	display: grid;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-footer__links a {
	color: var(--ink-2);
}

.fh-footer__links a:hover {
	color: var(--accent);
}

.fh-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	max-width: var(--container);
	margin-inline: auto;
	padding: 1.75rem var(--gutter) 2.5rem;
	font-size: 0.8125rem;
}

.fh-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	border-top: 1px solid var(--line);
}

.fh-footer__legal {
	display: flex;
	gap: 2rem;
}

.fh-footer__legal a {
	color: var(--muted);
}

/* Posts ------------------------------------------------------------------- */

.fh-posts__grid {
	display: grid;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.fh-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.fh-posts__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.fh-post-card {
	display: grid;
	gap: 0.75rem;
	align-content: start;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.fh-post-card__date,
.fh-article__date {
	color: var(--muted);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fh-post-card__title {
	font-size: 1.375rem;
}

.fh-post-card__title a {
	color: var(--ink);
}

.fh-post-card__title a:hover {
	color: var(--accent);
}

.fh-article .fh-wrap {
	display: grid;
	gap: 1.5rem;
}

.fh-article__title {
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
	font-weight: 300;
}

.fh-article__image {
	margin: 1.5rem 0;
	overflow: hidden;
}

.fh-empty {
	padding: 3rem 2rem;
	border: 1px dashed var(--line-strong);
	color: var(--muted);
	text-align: center;
}

/* 404 */
.fh-notfound .fh-wrap {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
	min-height: 50vh;
	align-content: center;
}

.fh-notfound__code {
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* Scroll reveal ----------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.fh-js .fh-rv {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
		transition-delay: calc(var(--rv-i, 0) * 80ms);
	}

	.fh-js .fh-rv.is-in {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Editor ------------------------------------------------------------------ */

.editor-styles-wrapper {
	background: var(--canvas);
}

.editor-styles-wrapper .fh-js .fh-rv {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   Shop (WooCommerce): minimal skin so the payment flow matches the site.
   The shop exists for online payment; product pages are reachable by link.
   ========================================================================== */

.woocommerce-notices-wrapper:empty { display: none; }

.woocommerce .woocommerce-breadcrumb {
	color: var(--muted);
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--accent); }

.woocommerce div.product {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 3rem;
		align-items: start;
	}

	.woocommerce div.product .woocommerce-tabs,
	.woocommerce div.product .related { grid-column: 1 / -1; }
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce div.product div.images.woocommerce-product-gallery { opacity: 1 !important; }

.woocommerce div.product div.images img {
	width: 100%;
	border-radius: var(--r-card, var(--radius, 8px));
	background: var(--surface-2, var(--surface));
}

.woocommerce div.product .product_title {
	font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
	margin-bottom: 0.75rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
	color: var(--ink);
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-block: 1.25rem;
}

.woocommerce .quantity .qty {
	width: 88px;
	min-height: 48px;
	padding: 0.6rem;
	border: 1px solid var(--line);
	border-radius: var(--r-control, var(--radius, 8px));
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	text-align: center;
}

.woocommerce div.product .product_meta {
	color: var(--muted);
	font-size: 0.875rem;
	border-top: 1px solid var(--line);
	padding-top: 1rem;
	margin-top: 1.5rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1.5rem;
	padding: 0;
	border-bottom: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { content: none !important; display: none !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 0.65rem 1rem;
	color: var(--muted);
	font-weight: 600;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

.woocommerce div.product .woocommerce-tabs .panel { color: var(--ink-2); margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Cart, checkout, account */
.woocommerce table.shop_table {
	width: 100%;
	border: 1px solid var(--line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--r-card, var(--radius, 8px));
	overflow: hidden;
	background: var(--surface);
}

.woocommerce table.shop_table th {
	background: var(--surface-2, var(--surface));
	color: var(--ink);
	font-weight: 600;
	padding: 0.9rem 1rem;
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 0.9rem 1rem;
	border-top: 1px solid var(--line);
	color: var(--ink-2);
}

.woocommerce table.cart img { width: 64px; border-radius: 8px; }

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review {
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--r-card, var(--radius, 8px));
	background: var(--surface);
}

.woocommerce form .form-row { margin-bottom: 1rem; }

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--ink);
	font-weight: 500;
	font-size: 0.9375rem;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--r-input, var(--r-control, var(--radius, 8px)));
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus { outline: none; border-color: var(--accent); }

.woocommerce-checkout #payment {
	background: var(--surface-2, var(--surface));
	border-radius: var(--r-card, var(--radius, 8px));
	padding: 1.25rem;
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom: 1px solid var(--line);
	padding: 0 0 1rem;
	margin: 0 0 1rem;
	list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li { margin-bottom: 0.5rem; }

.woocommerce-checkout #payment div.payment_box {
	background: var(--surface);
	border-radius: var(--r-input, var(--radius, 8px));
	color: var(--ink-2);
	font-size: 0.9375rem;
}

.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--surface); }

.rm-fx-note {
	margin-top: 0.5rem;
	color: var(--ink);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1rem 1.25rem;
	border: 0;
	border-left: 4px solid var(--accent);
	border-radius: var(--r-input, var(--radius, 8px));
	background: var(--surface-2, var(--surface));
	color: var(--ink);
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { content: none; }

.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product img { border-radius: var(--r-card, var(--radius, 8px)); margin-bottom: 0.75rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.0625rem; }
