:root {
	--wh-app-offset: 9.5rem;
}

[hidden] { display: none !important; }

.wh-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 1rem;
	background: var(--cream, #f6f1e8);
	color: var(--forest, #1f332b);
	transition: opacity .35s ease, visibility .35s ease;
}

.wh-loader img { width: min(15rem, 52vw); height: auto; }
.wh-loader span { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.wh-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.wh-noscript,
.wh-message {
	margin: var(--wh-app-offset) auto 4rem;
	width: min(46rem, calc(100% - 2rem));
	padding: 2rem;
	border: 1px solid var(--line, #ddd);
	border-radius: 1rem;
	background: var(--paper, #fff);
	text-align: center;
}

.wh-message h1 { margin-bottom: .75rem; }
.wh-message .button { margin-top: 1.25rem; }

.wh-page-hero {
	padding: clamp(10rem, 17vw, 14rem) 0 clamp(4rem, 8vw, 7rem);
	background: var(--cream, #f6f1e8);
}

.wh-page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
	align-items: end;
	gap: clamp(2rem, 7vw, 7rem);
}

.wh-page-hero h1 {
	max-width: 15ch;
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 5.9rem);
	line-height: .98;
	letter-spacing: -.06em;
}

.wh-page-hero__lead { max-width: 42rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-soft); }

.wh-content-section { padding: clamp(4rem, 8vw, 8rem) 0; background: var(--paper, #fffdf9); }
.wh-content-grid { display: grid; grid-template-columns: minmax(14rem, .42fr) minmax(0, 1fr); gap: clamp(2rem, 8vw, 8rem); }
.wh-rich-content { font-size: 1.06rem; line-height: 1.85; color: var(--ink-soft); }
.wh-rich-content > :first-child { margin-top: 0; }
.wh-rich-content h2, .wh-rich-content h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.035em; }
.wh-rich-content h2 { margin-top: 2.4rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.wh-rich-content h3 { margin-top: 2rem; font-size: 1.45rem; }
.wh-rich-content img { max-width: 100%; height: auto; border-radius: 1rem; }
.wh-rich-content a { color: var(--copper); text-decoration-thickness: .08em; text-underline-offset: .2em; }

.wh-archive { padding: clamp(3rem, 7vw, 7rem) 0; }
.wh-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.wh-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid var(--line);
	border-radius: 1rem;
	overflow: hidden;
	background: var(--paper);
}
.wh-card__image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.wh-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.wh-card:hover .wh-card__image img { transform: scale(1.035); }
.wh-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.5rem; }
.wh-card__body h2, .wh-card__body h3 { margin: .3rem 0 .7rem; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; }
.wh-card__body p { color: var(--ink-soft); }
.wh-card__link { margin-top: auto; padding-top: 1rem; color: var(--copper); font-weight: 700; }

.wh-detail-media { min-height: 26rem; background: var(--forest-deep); }
.wh-detail-media img { display: block; width: 100%; height: min(64vw, 48rem); object-fit: cover; }

.wh-contact { padding: clamp(3rem, 7vw, 7rem) 0; }
.wh-contact-grid { display: grid; grid-template-columns: minmax(16rem, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 7vw, 7rem); }
.wh-contact-list { display: grid; gap: .8rem; align-content: start; }
.wh-contact-list a, .wh-contact-list span { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); color: inherit; }
.wh-form { display: grid; gap: 1.1rem; padding: clamp(1.3rem, 4vw, 2.5rem); border-radius: 1rem; background: var(--cream); }
.wh-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wh-form label > span { display: block; margin-bottom: .45rem; font-size: .82rem; font-weight: 700; }
.wh-form input, .wh-form select, .wh-form textarea {
	width: 100%;
	padding: .9rem 1rem;
	border: 1px solid rgba(31,51,43,.22);
	border-radius: .35rem;
	background: #fff;
	font: inherit;
}
.wh-form input:focus, .wh-form select:focus, .wh-form textarea:focus { outline: 2px solid var(--copper-light); outline-offset: 1px; }
.wh-form__honeypot { position: absolute !important; left: -10000px !important; }
.contact-form__consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .84rem; line-height: 1.55; }
.contact-form__consent input { width: auto; margin-top: .25rem; }
.contact-form__consent a { text-decoration: underline; text-underline-offset: .18em; }
.wh-form__status { min-height: 1.5em; margin: 0; font-weight: 700; }
.wh-form__status.is-success { color: #216e39; }
.wh-form__status.is-error { color: #a21d1d; }

.wh-empty { grid-column: 1 / -1; padding: 3rem; border: 1px dashed var(--line); text-align: center; }
.brand img { object-fit: contain; }

@media (max-width: 900px) {
	.wh-page-hero__grid, .wh-content-grid, .wh-contact-grid { grid-template-columns: 1fr; }
	.wh-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.wh-card-grid, .wh-form__row { grid-template-columns: 1fr; }
	.wh-page-hero { padding-top: 8.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.wh-loader, .wh-card__image img { transition: none; }
}
