/*
 * Ranch Child — component styles.
 *
 * Every value is a token from tokens.css (loaded first). Everything is
 * scoped to trh- classes: no body-level scoping, no global element resets,
 * no !important, no overflow-x:hidden on body — those are the parts of
 * design/mockups/css/styles.css that fight Astra, and they were left there.
 *
 * Layout constants that are NOT tokens, on purpose (they describe a
 * component's shape, not a design decision that could change site-wide):
 *   aspect ratios 16/9, 16/10, 1/1; grid column minimums; the card-grid
 *   max width (a token was added for that one: --trh-max-grid, see BUILD-LOG).
 */

/* ---------- Base typography and page ground ---------- */
/*
 * The one place this file styles elements rather than trh- classes, and
 * the reason is Astra: its Customizer typography (database config) prints
 * `body, button, input, select, textarea { font-family: -apple-system… }`
 * and a body background, so without these four rules the body text is the
 * system sans-serif and the page ground is Astra's grey — the tokens name
 * Lora and the cream but nothing applied them. Config that must survive a
 * clone belongs in code (skill §1), so the base is set here, once, with
 * tokens. No margin resets, nothing else global.
 */
/*
 * `body[class]` as well as `body`: Astra sets the page background through
 * layout classes it puts ON the body — `.ast-separate-container` (its
 * boxed layout, grey #f0f5fa via --ast-global-color-5) and
 * `.ast-plain-container, .ast-page-builder-template` (white via
 * --ast-global-color-4). A class selector (0,1,0) beats a bare `body`
 * (0,0,1), so a plain `body { background }` lost on every page. `body[class]`
 * is (0,1,1): it wins against any single-class Astra rule regardless of
 * which layout is active, without naming Astra's classes (which change
 * per page and per Astra version). Verified 2026-09-29 by enumerating the
 * matching rules in headless Chrome.
 */
body,
body[class] {
	background: var(--trh-color-surface);
	color: var(--trh-color-text);
	font-family: var(--trh-font-body);
	line-height: var(--trh-leading-body);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--trh-font-heading);
	color: var(--trh-color-heading);
	line-height: var(--trh-leading-tight);
}

/* ---------- Shared: buttons ---------- */
.trh-btn {
	display: inline-block;
	padding: var(--trh-space-3) var(--trh-space-6);
	border: 0;
	border-radius: var(--trh-radius-sm);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: var(--trh-tracking-caps);
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.trh-btn--primary,
.trh-btn--primary:visited {
	background: var(--trh-color-accent);
	color: var(--trh-color-text-on-dark);
}
.trh-btn--primary:hover,
.trh-btn--primary:focus-visible {
	background: var(--trh-color-accent-text);
	color: var(--trh-color-text-on-dark);
}
.trh-btn--secondary,
.trh-btn--secondary:visited {
	background: var(--trh-color-secondary);
	color: var(--trh-color-text-on-dark);
}
.trh-btn--secondary:hover,
.trh-btn--secondary:focus-visible {
	background: var(--trh-color-secondary-hover);
	color: var(--trh-color-text-on-dark);
}
.trh-btn--secondary:active {
	background: var(--trh-color-secondary-active);
}
.trh-btn--xl {
	padding: var(--trh-space-4) var(--trh-space-12);
	font-size: var(--trh-text-lg);
	box-shadow: var(--trh-shadow-md);
}
/* The disabled placeholder must read as unfinished, not as a broken button. */
.trh-btn--placeholder,
.trh-btn--placeholder:hover {
	background: var(--trh-color-surface-tint);
	color: var(--trh-color-text-muted);
	box-shadow: none;
	outline: 2px dashed var(--trh-color-border-strong);
	outline-offset: 2px;
	cursor: not-allowed;
}
.trh-btn:focus-visible {
	outline: 2px solid var(--trh-color-accent);
	outline-offset: 2px;
}

/* ---------- Site header ---------- */
/*
 * Component constants that are not tokens: the nav breakpoint (the
 * mockups' single 720px break, exposed as --trh-nav-break so site-nav.js
 * reads the same number), the logo's maximum width (the mockups' 520px —
 * a property of that one image), and the 44px minimum touch target for
 * the menu toggle (skill §3: at least 40×40).
 */
.trh-header {
	--trh-nav-break: 720px;
	background: var(--trh-color-surface);
	padding-bottom: var(--trh-space-4);
}
.trh-topbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--trh-space-3);
	padding: var(--trh-space-2) var(--trh-gutter);
	background: var(--trh-color-inverse);
	color: var(--trh-color-text-on-dark);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	font-style: italic;
	text-align: center;
}
.trh-topbar a,
.trh-topbar a:visited {
	color: var(--trh-color-text-on-dark);
	text-decoration: none;
}
.trh-topbar a:hover,
.trh-topbar a:focus-visible {
	color: var(--trh-color-accent-on-dark);
	text-decoration: underline;
}
.trh-topbar__star { color: var(--trh-color-accent); }

.trh-header__brand {
	display: flex;
	justify-content: center;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-4);
}
.trh-logo {
	display: block;
	width: 100%;
	max-width: 32.5rem; /* 520px, the mockups' logo width */
}
.trh-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.trh-header__navwrap {
	max-width: var(--trh-max-content);
	margin: 0 auto;
	padding: 0 var(--trh-gutter);
}
.trh-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--trh-space-3) var(--trh-space-8);
	padding: var(--trh-space-3) 0;
	border-top: 1px solid var(--trh-color-border);
	border-bottom: 1px solid var(--trh-color-border);
}
.trh-nav__menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--trh-space-3) var(--trh-space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}
.trh-nav__menu li { margin: 0; }
.trh-nav__menu a,
.trh-nav__menu a:visited {
	display: block;
	padding: var(--trh-space-2) 0;
	border-bottom: 2px solid transparent;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 600;
	letter-spacing: var(--trh-tracking-caps);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--trh-color-text);
	transition: color 0.15s ease, border-color 0.15s ease;
}
.trh-nav__menu a:hover,
.trh-nav__menu a:focus-visible {
	color: var(--trh-color-accent-text);
	border-bottom-color: var(--trh-color-border-strong);
}
/* WordPress marks the current page's <li>; the mockups' .is-current is this. */
.trh-nav__menu .current-menu-item > a,
.trh-nav__menu .current-menu-ancestor > a,
.trh-nav__menu .current_page_parent > a {
	color: var(--trh-color-accent-text);
	border-bottom-color: var(--trh-color-accent);
}
.trh-nav__book { padding: var(--trh-space-3) var(--trh-space-6); }
.trh-nav__toggle { display: none; }

@media (max-width: 44.99rem) { /* = --trh-nav-break − 1px; media queries cannot read custom properties */
	.trh-nav {
		justify-content: space-between;
		gap: var(--trh-space-3);
		padding: var(--trh-space-2) 0;
	}
	.trh-nav__toggle {
		display: inline-flex;
		align-items: center;
		gap: var(--trh-space-2);
		min-height: 2.75rem; /* 44px touch target */
		padding: 0 var(--trh-space-3);
		background: transparent;
		border: 1px solid var(--trh-color-border-strong);
		border-radius: var(--trh-radius-sm);
		font-family: var(--trh-font-heading);
		font-size: var(--trh-text-sm);
		font-weight: 600;
		letter-spacing: var(--trh-tracking-caps);
		text-transform: uppercase;
		color: var(--trh-color-text);
		cursor: pointer;
	}
	.trh-nav__toggle:hover,
	.trh-nav__toggle:focus-visible { background: var(--trh-color-surface-tint); }
	.trh-nav__toggle:focus-visible {
		outline: 2px solid var(--trh-color-accent);
		outline-offset: 2px;
	}
	/* Three-bar icon that turns into a cross when open. */
	.trh-nav__toggle-icon {
		display: inline-flex;
		flex-direction: column;
		justify-content: space-between;
		width: var(--trh-space-4);
		height: var(--trh-space-3);
	}
	.trh-nav__toggle-icon span {
		display: block;
		height: 2px;
		background: currentColor;
		transition: transform 0.15s ease, opacity 0.15s ease;
	}
	.trh-nav.is-open .trh-nav__toggle-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
	.trh-nav.is-open .trh-nav__toggle-icon span:nth-child(2) { opacity: 0; }
	.trh-nav.is-open .trh-nav__toggle-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

	.trh-nav__book { order: 2; }
	.trh-nav__menu {
		order: 3;
		display: none;
		flex-direction: column;
		flex-basis: 100%;
		gap: 0;
	}
	.trh-nav.is-open .trh-nav__menu { display: flex; }
	.trh-nav__menu a,
	.trh-nav__menu a:visited {
		padding: var(--trh-space-3) var(--trh-space-2);
		font-size: var(--trh-text-base);
		border-bottom: 1px solid var(--trh-color-border);
	}
	.trh-nav__menu a:hover,
	.trh-nav__menu a:focus-visible {
		background: var(--trh-color-surface-tint);
		border-bottom-color: var(--trh-color-border);
	}
	.trh-nav__menu .current-menu-item > a {
		background: var(--trh-color-surface-tint);
		border-bottom-color: var(--trh-color-border);
	}
}

/* ---------- Site footer ---------- */
.trh-footer {
	margin-top: var(--trh-space-8);
	background: var(--trh-color-inverse);
	color: var(--trh-color-text-on-dark);
}
.trh-footer__edge {
	height: var(--trh-space-8);
	margin-top: -1px;
	background: url(../images/torn-edge.jpg) center top / 100% 100% no-repeat;
}
.trh-footer__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--trh-space-8);
	padding: var(--trh-space-8) var(--trh-gutter) var(--trh-space-12);
}
.trh-footer__contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: var(--trh-space-4) 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-base);
}
.trh-footer__contact li {
	display: inline-flex;
	align-items: center;
	gap: var(--trh-space-3);
	margin: 0;
	padding: 0 var(--trh-space-6);
}
.trh-footer__contact li + li { border-left: 2px solid var(--trh-color-accent); }
.trh-footer__contact a,
.trh-footer__contact a:visited {
	color: var(--trh-color-text-on-dark);
	text-decoration: none;
}
.trh-footer__contact a:hover,
.trh-footer__contact a:focus-visible {
	color: var(--trh-color-accent-on-dark);
	text-decoration: underline;
}
.trh-icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;  /* 40px: the mockups' 38px icon circle, rounded up to a touch-sized target */
	height: 2.5rem;
	border-radius: var(--trh-radius-pill);
	background: var(--trh-color-accent);
	color: var(--trh-color-text-on-dark);
}
.trh-footer__tagline {
	margin: 0;
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-xl);
	font-weight: 400;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-accent-on-dark);
	text-align: center;
	text-wrap: balance;
}
@media (max-width: 44.99rem) {
	.trh-footer__contact { flex-direction: column; gap: var(--trh-space-4); }
	.trh-footer__contact li + li { border-left: 0; }
}

/* ---------- Shared: fixed-aspect image frame ---------- */
/*
 * A frame has a fixed aspect ratio and the image is contained inside it,
 * letterboxed on the tinted surface. Client photos are ~2:1, the card
 * frame is 16:9: cover would throw away ~12% of every photo, contain
 * keeps all of it and the tint makes the bars read as deliberate.
 */
.trh-frame {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--trh-color-surface-tint);
}
.trh-frame--wide   { aspect-ratio: 16 / 9; }
.trh-frame--hero   { aspect-ratio: 16 / 10; border-radius: var(--trh-radius); }
.trh-frame--square { aspect-ratio: 1 / 1;  border-radius: var(--trh-radius-sm); }
.trh-frame__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.trh-frame__img--cover { object-fit: cover; } /* thumbnails only: the hero shows the whole photo */
.trh-frame__empty {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--trh-color-text-muted);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	font-style: italic;
}

/* ---------- Shared: wheat heading ---------- */
.trh-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--trh-space-4);
	padding: var(--trh-space-4) 0 var(--trh-space-8);
}
.trh-heading__wheat {
	height: clamp(2.75rem, 6vw, 5rem); /* the mockups' clamp(44px, 6vw, 80px) — a decoration's size, not a type step;
	                                      mapped to --trh-text-display earlier, which at 100px overflowed a 390px
	                                      viewport once the title wrapped to two lines */
	width: auto;
	flex-shrink: 0;
}
.trh-heading__title {
	min-width: 0; /* let a long title wrap instead of pushing the sprigs past the edge */
	margin: 0;
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-2xl);
	font-weight: 400;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
	text-align: center;
	text-wrap: balance;
}

/* ---------- Rooms archive ---------- */
.trh-rooms {
	max-width: var(--trh-max-grid);
	margin: 0 auto;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-section);
}
.trh-grid {
	display: grid;
	gap: var(--trh-space-6);
}
.trh-grid--rooms {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.trh-rooms__empty {
	text-align: center;
	color: var(--trh-color-text-muted);
}

.trh-card {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--trh-color-surface-raised);
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius);
	box-shadow: var(--trh-shadow-sm);
	overflow: hidden;
}
.trh-card__media { border-radius: 0; }
.trh-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--trh-space-2);
	padding: var(--trh-space-4) var(--trh-space-6) var(--trh-space-6);
	text-align: center;
}
.trh-card__title {
	margin: 0;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-lg);
	font-weight: 600;
	line-height: var(--trh-leading-tight);
}
.trh-card__title a,
.trh-card__title a:visited {
	color: var(--trh-color-heading);
	text-decoration: none;
}
.trh-card__title a:hover,
.trh-card__title a:focus-visible {
	color: var(--trh-color-accent-text);
}
/*
 * Sleeps / rate share one flex row. When the rate is blank the span is not
 * printed at all, so the row simply has one item and no orphaned separator.
 */
.trh-card__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--trh-space-1) var(--trh-space-4);
	margin: 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	color: var(--trh-color-text);
}
.trh-card__meta:empty { display: none; }
.trh-card__rate {
	color: var(--trh-color-accent-text);
	font-weight: 600;
}
.trh-card__btn {
	margin-top: var(--trh-space-2);
	min-width: 60%;
}

/* ---------- Single room / single business ---------- */
.trh-room,
.trh-business {
	max-width: var(--trh-max-content);
	margin: 0 auto;
	padding: var(--trh-space-4) var(--trh-gutter) var(--trh-space-section);
}
.trh-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: var(--trh-space-2);
	padding: var(--trh-space-1) 0 var(--trh-space-4);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	font-style: italic;
	color: var(--trh-color-text-muted);
}
.trh-breadcrumb a,
.trh-breadcrumb a:visited {
	color: var(--trh-color-accent-text);
	text-decoration: none;
}
.trh-breadcrumb a:hover { text-decoration: underline; }

.trh-room__header { margin-bottom: var(--trh-space-4); }
.trh-room__title {
	margin: 0 0 var(--trh-space-2);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-2xl);
	font-weight: 600;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
	text-wrap: balance;
}
.trh-room__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--trh-space-1) var(--trh-space-6);
	margin: 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	color: var(--trh-color-accent-text);
}
.trh-room__meta:empty { display: none; }

/* Gallery */
.trh-gallery { margin: 0; }
.trh-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
	gap: var(--trh-space-3);
	margin: var(--trh-space-3) 0 0;
	padding: 0;
	list-style: none;
}
.trh-gallery__thumbs li { margin: 0; }
.trh-gallery__thumb {
	border: 2px solid transparent;
	transition: border-color 0.15s ease;
}
.trh-gallery__thumb:hover { border-color: var(--trh-color-border-strong); }
.trh-gallery__thumb.is-current { border-color: var(--trh-color-accent); }
.trh-gallery__thumb:focus-visible {
	outline: 2px solid var(--trh-color-accent);
	outline-offset: 2px;
}

/* Description + booking */
.trh-room__details {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--trh-space-6) var(--trh-space-12);
	padding-top: var(--trh-space-8);
}
.trh-room__desc {
	flex: 1 1 26rem;
	min-width: 0;
}
.trh-room__section-title {
	margin: 0 0 var(--trh-space-3);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-xl);
	font-weight: 500;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
}
.trh-room__section-title + .trh-room__section-title,
.trh-room__content + .trh-room__section-title,
.trh-room__features + .trh-room__section-title {
	margin-top: var(--trh-space-6);
}
.trh-room__content {
	max-width: var(--trh-max-narrow);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
	text-wrap: pretty;
}
.trh-room__content > :first-child { margin-top: 0; }
.trh-room__features {
	margin: 0;
	padding: 0 0 0 var(--trh-space-6);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
	columns: 2;
	column-gap: var(--trh-space-8);
}
.trh-room__features li { break-inside: avoid; }
.trh-room__book {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--trh-space-2);
	margin: 0;
}
/*
 * Booking panel — only when the room has an OwnerRez property ID, and so
 * a booking widget (single-room.php decides).
 *
 * The widget itself is an <iframe> served by app.ownerrez.com. Nothing in
 * this file can style what is inside it (a stylesheet stops at a frame's
 * edge), and nothing inside it can leak out. So this styles the BOX: a
 * raised card with a gold top rule and a heading, in the same tokens as
 * the site's other cards, so the form reads as a booking module rather
 * than something dropped on the page. Fonts, colours and control sizes
 * inside the frame are set in OwnerRez (Settings > Widgets > CSS); the CSS
 * for that field is kept in docs/ownerrez-widget.css.
 */
.trh-room__book--widget {
	flex: 0 1 23rem;
	align-items: stretch;
	gap: 0;
	padding: var(--trh-space-6);
	background: var(--trh-color-surface-raised);
	border: 1px solid var(--trh-color-border);
	border-top: var(--trh-space-1) solid var(--trh-color-accent);
	border-radius: var(--trh-radius);
	box-shadow: var(--trh-shadow-sm);
}
.trh-room__book-title {
	margin: 0 0 var(--trh-space-1);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-lg);
	font-weight: 500;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
}
.trh-room__book-lead {
	margin: 0 0 var(--trh-space-4);
	padding-bottom: var(--trh-space-4);
	border-bottom: 1px solid var(--trh-color-border);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
}
/* NOTE: --trh-form-height (43.0625rem = 689px) is a measurement, not a
   design value: the height of OwnerRez's Booking/Inquiry widget 9c3cc7e2…
   with OwnerRez's CSS field applied (40px controls) and one guest select
   (Adults). Measured 2026-11-06 at 1280, 1024, 900 and 390 — the same at
   each, because the frame is about 310–320px wide at all of them.

   It is used twice, for two different faults:

   1. On the wrapper, to RESERVE the space. OwnerRez's frame starts 150px
      tall and grows once it reports its own height; without the reserve
      everything below the form jumps down as it loads.
   2. On the frame itself, as a FLOOR. The form's content is always 689px,
      but the widget loads its fonts from Google and sometimes reports its
      height before they arrive: the frame then comes out 682px (seen in 1
      load of about 20) and the last 7px of the form are cut off. A
      min-height on the <iframe> element stops it being shorter than its
      content. (It also comes out 696px now and then; that is 7px of spare
      panel, which nothing can trim from outside.)

   The frame is free to grow past this, and does when a price quote
   appears. History: 42rem for the first, shared widget; 37.5rem for the
   unstyled single-room one (607px). If the form changes in OwnerRez — a
   field added or removed, the CSS field edited — re-measure, or the floor
   becomes a gap. */
.trh-room__widget {
	--trh-form-height: 43.0625rem;
	width: 100%;
	min-height: var(--trh-form-height);
}
/* An <iframe> is an inline element by default, so it sits on a text
   baseline and the line leaves a few pixels free underneath it for
   descenders. As a block it has no line, and no gap. (This is the frame
   element in OUR page — still nothing inside it.) */
.trh-room__widget iframe {
	display: block;
	min-height: var(--trh-form-height);
}
/*
 * The line under the form that explains Book Now and Send Inquiry (the
 * client's text; room-booking-panel.php). It is the counterpart of the
 * lead paragraph above the form and set the same way — small, body face,
 * text colour — so the form reads as framed by two lines of ours.
 *
 * Quiet by size and place, NOT by --trh-color-text-muted: that token on
 * the panel's ground is about 3.7:1, under the 4.5:1 small text needs,
 * and this line exists to be read. 12px above it: close enough to the
 * frame to belong to it, with the panel's 24px padding below it so it
 * sits inside the card rather than at its edge. It is outside
 * .trh-room__widget, so the form's reserved height is untouched.
 */
.trh-room__book-help {
	margin: var(--trh-space-3) 0 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
	text-wrap: pretty;
}
/*
 * The availability calendar (OwnerRez's Multiple Month Calendar) — also an
 * iframe, so again only the box is ours. Where it sits is chosen by the
 * "Booking layout" setting (single-room.php; the class says which):
 *
 *   --column  in the booking panel above the form. The frame is about
 *             320px wide, so OwnerRez stacks its months.
 *   --wide    a band across the page above the description.
 *   --below   layout E: directly under the description, in the same
 *             column, with the booking panel beside both.
 *   --beside  layout D: left half of .trh-room__band, form on the right.
 *
 * OwnerRez decides how many months sit side by side from the frame's
 * width: one under about 760px, two from there, three from about 1080px.
 *
 * NOTE: a height is reserved only for --below, the layout in use
 * (layout E, chosen 2026-11-06). The other places are kept for comparison
 * and each gives the calendar a different height; a reserved height that
 * is wrong shows as an empty gap, so they have none and the page below
 * them moves once as the frame loads.
 */
.trh-room__calendar { width: 100%; }
.trh-room__calendar iframe { display: block; }
/* In the panel with the form beneath it, a rule and some space separate
   the two frames; otherwise they read as one long form. */
.trh-room__calendar + .trh-room__widget {
	margin-top: var(--trh-space-4);
	padding-top: var(--trh-space-4);
	border-top: 1px solid var(--trh-color-border);
}
.trh-room__availability { padding-top: var(--trh-space-8); }
/*
 * Layout E: description, booking panel, calendar — in that order in the
 * markup — laid out as a grid.
 *
 * Narrow (the default): one column, so they stack in markup order and the
 * form comes before the calendar.
 *
 * From 900px: two columns. The description is top left, the calendar
 * directly under it, and the panel takes the right column for both rows:
 *
 *     | description | panel |
 *     | calendar    |   "   |
 *
 * `grid-template-rows: auto 1fr` is what removes the gap. The panel is
 * taller than the description. With two `auto` rows the browser would
 * share the panel's extra height between them and push the calendar down;
 * with the second row `1fr`, the first row is exactly as tall as the
 * description and ALL the spare height goes to the second, where the
 * calendar sits at the top of it. (As a flex row this could not be done:
 * the calendar had to come after the row, and the row is as tall as its
 * tallest item.)
 *
 * The calendar is held to the width of one month. OwnerRez lays the widget out
 * from the frame's width: in a wide frame it centres the month and floats
 * the legend to the far right, away from the controls on the left. At
 * this width the month fills the frame and the controls, the grid and the
 * legend share one left edge — the heading's — so the block reads as one
 * unit. Left-aligned rather than centred because everything else in this
 * column (the headings, the text, the list) starts at that edge.
 */
.trh-room__details--calendar-below {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}
.trh-room__details--calendar-below .trh-room__availability { padding-top: 0; }
.trh-room__details--calendar-below .trh-room__book--widget {
	justify-self: start;
	width: 100%;
	max-width: 23rem;
}
/* NOTE: both numbers are measurements of OwnerRez's widget set to ONE month
   and carrying docs/ownerrez-calendar.css (live in OwnerRez 2026-11-06), not
   design values. 21.125rem (338px) is the width of its month grid, so the
   grid starts exactly at the heading's edge. 24.75rem (396px) reserves the
   frame's height so the footer does not jump while it loads: a five-week
   month. With the row-height rule in that file every row is 47.2px, so a
   five-week month is 396px on every room whatever is booked, and a
   six-week month 443px. (Before that rule, rows holding a past day, today
   or a booking were 3px taller and November 2026 came out 402–407px by
   room.) Either way 396 is the SMALLEST the frame gets, and a reserve
   taller than the frame is an empty gap, so it is the right number in
   both states. It is a floor, not a cap. If the month count or that CSS
   file changes, re-measure both. */
.trh-room__calendar--below {
	max-width: 21.125rem;
	min-height: 24.75rem;
}
/* 768–899px (a tablet held upright): too narrow for the description to sit
   beside a 23rem panel, but one column leaves the panel and the calendar
   each stranded at the left with half the screen empty beside them. So the
   description takes the full width and the panel and the calendar share
   the row under it, half each. (They are the second and third children,
   so they fall into that row without being placed.) Half is 341px at 768
   and 401px at 899: the calendar needs 338, and the booking form's frame
   is 291–351px, where it is the same 689px tall as on a phone — measured,
   because the frame's min-height would show as a gap if the form were
   shorter there. Under 768px there is not room for both, and they stack. */
@media (min-width: 48rem) and (max-width: 56.24rem) {
	.trh-room__details--calendar-below {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: var(--trh-space-6);
	}
	.trh-room__details--calendar-below .trh-room__desc { grid-column: 1 / -1; }
	.trh-room__details--calendar-below .trh-room__book--widget { max-width: none; }
}
@media (min-width: 56.25rem) { /* 900px */
	.trh-room__details--calendar-below {
		grid-template-columns: minmax(0, 1fr) 23rem;
		grid-template-rows: auto 1fr;
	}
	.trh-room__details--calendar-below .trh-room__desc {
		grid-column: 1;
		grid-row: 1;
	}
	.trh-room__details--calendar-below .trh-room__book {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
	.trh-room__details--calendar-below .trh-room__availability {
		grid-column: 1;
		grid-row: 2;
	}
}
/* "Availability" heading above a calendar in a panel or band: the same
   rule under it that the form's lead paragraph draws. */
.trh-room__book-title--rule {
	margin-bottom: var(--trh-space-4);
	padding-bottom: var(--trh-space-4);
	border-bottom: 1px solid var(--trh-color-border);
}
/*
 * Layout D: one band across the page holding the form and the calendar.
 * The band draws the card (same tokens as the booking panel), so the
 * panel inside it has no frame of its own.
 *
 * The markup is form first, calendar second. Stacked (the default here)
 * that is the order shown. From 1050px they sit side by side and
 * row-reverse puts the calendar on the left. 1050px is where the
 * calendar's half is wide enough to be worth having beside a form; under
 * it the months would be squeezed into a column narrower than a phone.
 */
.trh-room__band {
	display: flex;
	flex-direction: column;
	gap: var(--trh-space-6);
	margin-top: var(--trh-space-8);
	padding: var(--trh-space-6);
	background: var(--trh-color-surface-raised);
	border: 1px solid var(--trh-color-border);
	border-top: var(--trh-space-1) solid var(--trh-color-accent);
	border-radius: var(--trh-radius);
	box-shadow: var(--trh-shadow-sm);
}
.trh-room__book--in-band {
	flex: 0 0 auto;
	width: 100%;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
/* The form's reserved height (--trh-form-height on .trh-room__widget) is
   a measurement of the form in a narrow frame. Stacked in the band on a
   tablet the frame is wide, OwnerRez lays the form out in rows and it is
   much shorter — the reserve would show as a gap under the buttons. So in
   the band it applies only where the frame is known to be narrow: on a
   phone, and side by side from 1050px (below). (Layout D is not the one in
   use; its wide-frame height was last measured with the old widget.) */
.trh-room__book--in-band .trh-room__widget { --trh-form-height: 0px; }
@media (max-width: 30rem) {
	.trh-room__book--in-band .trh-room__widget { --trh-form-height: 43.0625rem; }
}
.trh-room__band-calendar {
	min-width: 0;
	padding-top: var(--trh-space-6);
	border-top: 1px solid var(--trh-color-border);
}
@media (min-width: 65.625rem) { /* 1050px */
	.trh-room__band {
		flex-direction: row-reverse;
		align-items: flex-start;
		gap: var(--trh-space-8);
	}
	.trh-room__book--in-band {
		flex: 0 0 22rem;
		width: auto;
		padding-left: var(--trh-space-8);
		border-left: 1px solid var(--trh-color-border);
	}
	.trh-room__book--in-band .trh-room__widget { --trh-form-height: 43.0625rem; }
	.trh-room__band-calendar {
		flex: 1 1 0;
		padding-top: 0;
		border-top: 0;
	}
}
/* "Other rooms": the last thing on a room page. A rule and a wide gap
   above it so it reads as leaving this room, not as more about it. The
   cards and their grid are the listing's own (.trh-grid--rooms). */
.trh-room__others {
	margin-top: var(--trh-space-12);
	padding-top: var(--trh-space-8);
	border-top: 1px solid var(--trh-color-border);
}
.trh-room__others .trh-room__section-title { margin-bottom: var(--trh-space-6); }
/* COMPARISON ONLY — see the note in single-room.php (?trh_others=).
   "scroll": on a phone the five cards become one row that scrolls
   sideways. Each card is 80% of the row so the next one shows at the
   edge, which is what tells a thumb there is more. overflow-x on the row
   itself keeps the PAGE from scrolling sideways. Wider screens are
   unchanged. */
@media (max-width: 44.99rem) {
	/* position: relative is not decoration. Each card's button holds a
	   .screen-reader-text label, which is position: absolute. An absolute
	   element is placed (and clipped) by its nearest POSITIONED ancestor,
	   not by the nearest scrolling one — so without this the labels of the
	   off-screen cards sat 1,400px out and made the whole page scroll
	   sideways (measured: document 1414px wide at 390). */
	.trh-room__others--scroll .trh-grid--rooms {
		position: relative;
		display: flex;
		gap: var(--trh-space-4);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: var(--trh-space-4);
	}
	.trh-room__others--scroll .trh-card {
		flex: 0 0 80%;
		scroll-snap-align: start;
	}
}
/* "three": the link to the whole list under the three cards. */
.trh-room__others-all { margin: var(--trh-space-8) 0 0; }
/*
 * Guest reviews (template-parts/reviews.php): OwnerRez's Reviews widget,
 * at the bottom of /rooms/, of every room and of the About page. An
 * iframe again, so only the heading and the box are ours. Same rule and
 * gap above it as "Other rooms", so a page's closing sections match.
 */
.trh-reviews {
	margin-top: var(--trh-space-12);
	padding-top: var(--trh-space-8);
	border-top: 1px solid var(--trh-color-border);
}
/* Where the page gives it no container (the About page). */
.trh-reviews--contained {
	max-width: var(--trh-max-grid);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--trh-gutter);
	padding-right: var(--trh-gutter);
	padding-bottom: var(--trh-space-section);
	box-sizing: content-box;
}
.trh-reviews__title {
	margin: 0 0 var(--trh-space-6);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-xl);
	font-weight: 500;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
}
/* NOTE: these min-heights are a FLOOR, measured, and cannot be exact. The
   frame's height is the height of ten reviews, and that depends on which
   ten and on the frame's width. Every page of the 137 reviews was measured
   on 2026-11-06 at five widths: in a 1000px frame (the widest we give it)
   a full page is 1273–1473px; in a phone's 358–448px frame, 1696–2290px.
   A reserve taller than the frame would be an empty gap above the footer,
   so each floor sits just under the SHORTEST page seen at the widest frame
   in its range: 78rem (1248px) generally, 105rem (1680px) on phones. The
   frame then grows the rest of the way — today about 100px on a desktop
   room page and 290px on a phone. The block is always the last thing
   before the footer, so the footer is all that moves. If OwnerRez's page
   size (10) or the widget's CSS changes, re-measure. */
.trh-reviews__widget {
	width: 100%;
	min-height: 78rem;
}
@media (max-width: 30rem) {
	.trh-reviews__widget { min-height: 105rem; }
}
.trh-reviews__widget iframe { display: block; }
.trh-room__book-noscript {
	margin: 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
}
.trh-room__book-note {
	margin: 0;
	max-width: 16rem;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	font-style: italic;
	color: var(--trh-color-text-muted);
	text-align: center;
}

/* ---------- Homepage ---------- */
/*
 * Hero: the mockups' cream overlay fading from the top so the text reads
 * over the photo. The overlay colours are --trh-color-surface at three
 * alphas (color-mix keeps them derived from the token rather than typed
 * as rgba). min-height is the mockups' clamp(380px, 62vw, 720px).
 */
.trh-hero {
	position: relative;
	max-width: var(--trh-max-content);
	min-height: clamp(23.75rem, 62vw, 45rem);
	margin: 0 auto;
	background: var(--trh-color-surface-tint) center / cover no-repeat;
}
/*
 * Homepage only: the photo sits 60px lower than centred so the roofline
 * clears the headline block (with the photo centred, "Begins!" landed on
 * the roof). Any sliver this opens at the top is under the 94%-cream part
 * of the overlay, so it reads as overlay, not gap. A per-photo tuning
 * value, not a token — revisit if the client's real hero photo differs.
 */
.trh-home .trh-hero {
	background-position: center calc(50% + 3.75rem);
}
.trh-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--trh-color-surface) 94%, transparent) 0%,
			color-mix(in srgb, var(--trh-color-surface) 85%, transparent) 42%,
			transparent 64%),
		radial-gradient(ellipse 55% 60% at 18% 22%,
			color-mix(in srgb, var(--trh-color-surface) 75%, transparent),
			transparent 70%);
}
.trh-hero__content {
	position: relative;
	max-width: 27.5rem; /* mockups' 440px text block */
	padding: var(--trh-space-8) var(--trh-gutter) var(--trh-space-12);
}
.trh-hero__eyebrow {
	margin: 0;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-xl);
	font-weight: 700;
	letter-spacing: var(--trh-tracking-caps);
	text-transform: uppercase;
	line-height: 1;
	color: var(--trh-color-heading);
}
.trh-hero__title {
	margin: var(--trh-space-1) 0 0 var(--trh-space-6);
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-display);
	font-weight: 400;
	line-height: 0.95;
	color: var(--trh-color-accent);
}
.trh-hero__rule {
	display: block;
	width: clamp(8.75rem, 20vw, 13.75rem);
	height: 3px;
	margin: var(--trh-space-3) 0 var(--trh-space-4) var(--trh-space-8);
	border-radius: var(--trh-radius-sm);
	background: var(--trh-color-accent);
}
.trh-hero__taglines {
	margin: 0 0 var(--trh-space-6);
	padding: 0;
	list-style: none;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	font-weight: 600;
	line-height: 1.5;
	color: var(--trh-color-heading);
}
.trh-hero__tagline--2 { color: var(--trh-color-accent-text); }
.trh-hero__tagline--3 { color: var(--trh-color-tertiary); }
.trh-btn--lg {
	padding: var(--trh-space-4) var(--trh-space-12);
	font-size: var(--trh-text-lg);
	letter-spacing: var(--trh-tracking-caps);
	box-shadow: var(--trh-shadow-md);
}

.trh-section {
	max-width: var(--trh-max-content);
	margin: 0 auto;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-section);
}
/* Intro: the page's own content. The editor's h2 becomes the script title. */
.trh-intro { text-align: center; padding-bottom: var(--trh-space-3); }
.trh-intro__content {
	max-width: 56rem; /* mockups' 900px */
	margin: 0 auto;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	line-height: 1.7;
	color: var(--trh-color-text);
	text-wrap: pretty;
}
.trh-intro__content h2 {
	margin: 0 0 var(--trh-space-4);
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-2xl);
	font-weight: 400;
	line-height: 1.15;
	color: var(--trh-color-accent);
	text-wrap: balance;
}
.trh-intro__content p { margin: 0 0 var(--trh-space-2); }
.trh-intro__content strong { font-weight: 700; }

/* Three features */
.trh-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
	gap: var(--trh-space-8) 0;
	max-width: 56rem;
	margin: 0 auto;
	padding: var(--trh-space-8) var(--trh-gutter);
}
.trh-feature {
	padding: 0 var(--trh-space-6);
	text-align: center;
}
.trh-feature__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;  /* mockups' 64px icon circle */
	height: 4rem;
	margin: 0 auto var(--trh-space-4);
	border-radius: var(--trh-radius-pill);
	color: var(--trh-color-text-on-dark);
}
.trh-feature__icon--tertiary { background: var(--trh-color-tertiary); }
.trh-feature__icon--accent   { background: var(--trh-color-accent); }
.trh-feature__title {
	margin: 0 0 var(--trh-space-2);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-base);
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--trh-color-tertiary);
}
.trh-feature__title.is-accent { color: var(--trh-color-accent-text); }
.trh-feature__text {
	margin: 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	line-height: 1.55;
	color: var(--trh-color-text);
}
/* Gold rules beside the middle column, only when all three share a row. */
@media (min-width: 47.5rem) {
	.trh-features--divided .trh-feature:nth-child(2) {
		border-left: 1px solid var(--trh-color-border);
		border-right: 1px solid var(--trh-color-border);
	}
}
.trh-center { text-align: center; }
.trh-home__cta { padding: var(--trh-space-4) var(--trh-gutter) var(--trh-space-8); }
.trh-home__rooms .trh-grid--rooms { max-width: var(--trh-max-grid); margin: 0 auto; }
.trh-home__rooms-all { margin: var(--trh-space-8) 0 0; }

/* ---------- Local businesses ---------- */
.trh-businesses {
	max-width: var(--trh-max-grid);
	margin: 0 auto;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-section);
}
.trh-lead {
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	line-height: 1.7;
	color: var(--trh-color-text);
	text-wrap: pretty;
}
.trh-businesses__lead {
	max-width: 35rem;
	margin: 0 auto var(--trh-space-6);
	text-align: center;
}
.trh-eyebrow {
	margin: 0 0 var(--trh-space-2);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 700;
	letter-spacing: var(--trh-tracking-caps);
	text-transform: uppercase;
	color: var(--trh-color-tertiary);
}
.trh-filter { margin: 0 0 var(--trh-space-6); }
.trh-filter__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--trh-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}
.trh-filter__list li { margin: 0; }
.trh-filter__link,
.trh-filter__link:visited {
	display: inline-block;
	min-height: 2.75rem; /* 44px touch target */
	padding: var(--trh-space-2) var(--trh-space-4);
	border: 1px solid var(--trh-color-border-strong);
	border-radius: var(--trh-radius-pill);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 600;
	letter-spacing: var(--trh-tracking-caps);
	line-height: 1.6;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--trh-color-text);
	background: var(--trh-color-surface-raised);
	transition: background-color 0.15s ease, color 0.15s ease;
}
.trh-filter__link:hover,
.trh-filter__link:focus-visible {
	background: var(--trh-color-surface-tint);
	color: var(--trh-color-accent-text);
}
.trh-filter__link.is-current {
	background: var(--trh-color-secondary);
	border-color: var(--trh-color-secondary);
	color: var(--trh-color-text-on-dark);
}
.trh-grid--businesses {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
}
.trh-card__eyebrow {
	margin: 0;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 700;
	letter-spacing: var(--trh-tracking-caps);
	text-transform: uppercase;
}
.trh-card__eyebrow a,
.trh-card__eyebrow a:visited { color: var(--trh-color-tertiary); text-decoration: none; }
.trh-card__eyebrow a:hover { color: var(--trh-color-accent-text); }
.trh-businesses__empty { text-align: center; color: var(--trh-color-text-muted); }

.trh-business__panel {
	flex: 0 1 20rem;
	padding: var(--trh-space-6);
	background: var(--trh-color-surface-raised);
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius);
}
.trh-business__panel-title {
	margin: 0 0 var(--trh-space-4);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-lg);
	font-weight: 600;
	color: var(--trh-color-heading);
}
.trh-business__facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--trh-space-2) var(--trh-space-4);
	margin: 0 0 var(--trh-space-6);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	color: var(--trh-color-text);
}
.trh-business__facts dt { font-weight: 600; color: var(--trh-color-heading); }
.trh-business__facts dd { margin: 0; }
.trh-business__facts address { margin: 0; font-style: normal; } /* Astra gives <address> a 1.5em bottom margin */
.trh-business__facts .trh-business__distance { white-space: nowrap; } /* "0.3 mi" never left on a line of its own */
.trh-business__facts a,
.trh-business__facts a:visited { color: var(--trh-color-accent-text); text-decoration: none; }
.trh-business__facts a:hover { text-decoration: underline; }
.trh-business__visit { width: 100%; }
/* The business's map, inside the details panel (2026-11-25). */
/* Two classes: .trh-map (16:10, the Contact page) is later in this file. */
.trh-map.trh-business__map { aspect-ratio: 4 / 3; margin: 0 0 var(--trh-space-2); }
.trh-business__directions {
	margin: 0 0 var(--trh-space-6);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	text-align: right;
}
.trh-business__directions a,
.trh-business__directions a:visited { color: var(--trh-color-accent-text); text-decoration: underline; text-underline-offset: 0.15em; }
.trh-business__directions a:hover { color: var(--trh-color-heading); }
/* .trh-business__host (the website's domain under the button) removed 2026-11-25 at the client's request. */
@media (max-width: 44.99rem) {
	.trh-business__panel { flex-basis: 100%; }
}
/*
 * Desktop (2026-11-25, client: "the details need to look more
 * horizontal"): the panel is a full-width band under the photos. With a
 * map: two columns — the details on the left in their phone order, the
 * map on the right spanning their height, "Get directions" under it.
 * Grid areas, not new markup, so the phone layout (one column, DOM
 * order) is untouched.
 */
@media (min-width: 45rem) {
	.trh-business .trh-room__details { padding-top: var(--trh-space-6); }
	.trh-business__panel { flex: 1 1 100%; padding: var(--trh-space-8); }
	.trh-business__panel--has-map {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
		grid-template-rows: auto auto auto 1fr auto;
		grid-template-areas:
			"title  map"
			"facts  map"
			"visit  map"
			".      map"
			".      directions";
		column-gap: var(--trh-space-12);
	}
	.trh-business__panel--has-map .trh-business__panel-title { grid-area: title; }
	.trh-business__panel--has-map .trh-business__facts       { grid-area: facts; }
	.trh-business__panel--has-map .trh-business__visit       { grid-area: visit; align-self: start; }
	.trh-business__panel--has-map .trh-business__directions  { grid-area: directions; margin-bottom: 0; }
	.trh-business__panel--has-map .trh-map.trh-business__map {
		grid-area: map;
		aspect-ratio: auto;
		min-height: 18rem;
		height: 100%;
	}
	/* No map: the details alone read better as a row than a stretched column. */
	.trh-business__panel:not(.trh-business__panel--has-map) .trh-business__visit { width: auto; }
}

/* ---------- About page ---------- */
/*
 * Photo hero with a dark gradient so light text reads over any photo
 * (the mockups' rgba(42,34,25) overlay = --trh-color-inverse at two
 * alphas). Without a featured image the same block is a tinted band
 * with the heading in the normal heading colour.
 */
.trh-hero--about {
	max-width: none;
	min-height: clamp(17.5rem, 38vw, 27.5rem); /* mockups' clamp(280px, 38vw, 440px) */
	display: flex;
}
.trh-hero--about::before {
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--trh-color-inverse) 15%, transparent),
		color-mix(in srgb, var(--trh-color-inverse) 55%, transparent));
}
.trh-hero__overlay {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--trh-space-2);
	padding: var(--trh-space-8) var(--trh-gutter);
	text-align: center;
}
.trh-eyebrow--light {
	color: var(--trh-color-text-on-dark);
	font-size: var(--trh-text-sm);
	letter-spacing: 0.3em;
}
.trh-hero__script {
	margin: 0;
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-2xl);
	font-weight: 400;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-text-on-dark);
	text-shadow: 0 2px 12px color-mix(in srgb, var(--trh-color-inverse) 35%, transparent);
	text-wrap: balance;
}
.trh-hero--no-image { background: var(--trh-color-surface-tint); }
.trh-hero--no-image::before { background: none; }
.trh-hero--no-image .trh-hero__script { color: var(--trh-color-heading); text-shadow: none; }
.trh-hero--no-image .trh-eyebrow--light { color: var(--trh-color-tertiary); }

.trh-about__content h2 {
	margin: var(--trh-space-6) 0 var(--trh-space-4);
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-2xl);
	font-weight: 400;
	line-height: 1.15;
	color: var(--trh-color-accent);
	text-wrap: balance;
}
.trh-about__content h2:first-child { margin-top: 0; }
.trh-about__content h3 {
	margin: var(--trh-space-6) 0 var(--trh-space-2);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-xl);
	font-weight: 600;
	color: var(--trh-color-heading);
}
.trh-about__content p { margin: 0 0 var(--trh-space-4); }
.trh-about__content img,
.trh-about__content figure img { border-radius: var(--trh-radius); }
.trh-about__content .wp-block-image { margin: var(--trh-space-6) 0; }

.trh-band {
	margin-top: var(--trh-space-6);
	padding: var(--trh-space-8) var(--trh-gutter);
	background: var(--trh-color-surface-tint);
}
.trh-band .trh-script-title { color: var(--trh-color-accent-text); }
.trh-features--compact {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
	gap: var(--trh-space-6) var(--trh-space-6);
	padding: 0;
}
.trh-features--compact .trh-feature { padding: 0; }
.trh-features--compact .trh-feature__icon { width: 3.25rem; height: 3.25rem; margin-bottom: var(--trh-space-3); }
.trh-features--compact .trh-feature__title { font-size: var(--trh-text-sm); letter-spacing: var(--trh-tracking-caps); }
.trh-features--compact .trh-feature__text { font-size: var(--trh-text-sm); }

.trh-about__owners { padding-top: var(--trh-space-8); }
.trh-avatar {
	width: 10.625rem; /* mockups' 170px */
	height: 10.625rem;
	margin: var(--trh-space-6) auto;
	border-radius: var(--trh-radius-pill);
	overflow: hidden;
	background: var(--trh-color-surface-tint);
}
.trh-avatar__img { width: 100%; height: 100%; object-fit: cover; }
.trh-avatar--empty { border: 2px dashed var(--trh-color-border-strong); }
.trh-quote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	font-style: italic;
	line-height: 1.75;
	color: var(--trh-color-text);
}
.trh-quote__sig {
	margin: var(--trh-space-4) 0 var(--trh-space-8);
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-xl);
	color: var(--trh-color-accent);
}

/* ---------- Forms (contact page + homepage) ---------- */
.trh-section--narrow { max-width: var(--trh-max-narrow); }
.trh-script-title {
	margin: 0 0 var(--trh-space-4);
	font-family: var(--trh-font-script);
	font-size: var(--trh-text-2xl);
	font-weight: 400;
	line-height: 1.15;
	color: var(--trh-color-accent);
	text-align: center;
	text-wrap: balance;
}
/* Honeypot 1: off-screen. Not display:none on purpose — see the partial. */
.trh-hp {
	position: absolute;
	left: -624rem;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.trh-form {
	display: flex;
	flex-direction: column;
	gap: var(--trh-space-4);
}
.trh-form__title {
	margin: 0;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-lg);
	font-weight: 600;
	color: var(--trh-color-heading);
}
.trh-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
	gap: var(--trh-space-4);
}
.trh-field {
	display: flex;
	flex-direction: column;
	gap: var(--trh-space-1);
}
.trh-field__label {
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	font-weight: 700;
	letter-spacing: var(--trh-tracking-caps);
	text-transform: uppercase;
	color: var(--trh-color-heading);
}
.trh-field__hint {
	font-family: var(--trh-font-body);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--trh-color-text-muted);
}
.trh-field input,
.trh-field textarea {
	width: 100%;
	padding: var(--trh-space-3) var(--trh-space-4);
	border: 1px solid var(--trh-color-border-strong);
	border-radius: var(--trh-radius-sm);
	background: var(--trh-color-surface);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	color: var(--trh-color-text);
}
.trh-field textarea { resize: vertical; min-height: 7.5rem; }
.trh-field input:focus-visible,
.trh-field textarea:focus-visible {
	outline: 2px solid var(--trh-color-accent);
	outline-offset: 1px;
}
.trh-field input:user-invalid,
.trh-field textarea:user-invalid { border-color: var(--trh-color-error); }
.trh-form__submit { align-self: center; }
.trh-panel .trh-form__submit { align-self: flex-start; }
.trh-form__notice {
	padding: var(--trh-space-4) var(--trh-space-6);
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius);
	background: var(--trh-color-surface-raised);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	color: var(--trh-color-text);
}
.trh-form__notice p { margin: 0; }
.trh-form__notice p + p { margin-top: var(--trh-space-2); }
.trh-form__notice-title {
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-lg);
	font-weight: 600;
	color: var(--trh-color-tertiary);
}
.trh-form__notice--success { border-color: var(--trh-color-tertiary); }
.trh-form__notice--error { border-color: var(--trh-color-error); }
.trh-form__notice--error a { color: var(--trh-color-accent-text); }
.trh-form__notice + .trh-form { margin-top: var(--trh-space-4); }
/* The confirm step: one button inside the notice (template-parts/contact-form.php). */
.trh-form__notice--confirm { border-color: var(--trh-color-tertiary); }
.trh-form__confirm { margin: var(--trh-space-4) 0 0; }
/* .trh-btn renders 39px tall at phone width; this is the one button a held
   visitor must press, so it gets the full 40px touch target. */
.trh-form__confirm .trh-btn { min-height: 2.5rem; }

/* ---------- Contact page ---------- */
.trh-contact {
	max-width: var(--trh-max-content);
	margin: 0 auto;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-section);
}
.trh-contact__lead {
	max-width: 35rem;
	margin: 0 auto var(--trh-space-8);
	text-align: center;
}
.trh-contact__lead p { margin: 0; }
.trh-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: var(--trh-space-6);
	align-items: start;
	max-width: 62.5rem; /* mockups' 1000px */
	margin: 0 auto;
}
.trh-contact__info {
	display: flex;
	flex-direction: column;
	gap: var(--trh-space-4);
}
.trh-panel {
	padding: var(--trh-space-6);
	background: var(--trh-color-surface-raised);
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius);
}
.trh-contact__info .trh-panel {
	display: flex;
	flex-direction: column;
	gap: var(--trh-space-4);
}
.trh-contact__item {
	display: flex;
	align-items: flex-start;
	gap: var(--trh-space-3);
}
.trh-contact__item .trh-eyebrow { margin-bottom: var(--trh-space-1); }
.trh-contact__link,
.trh-contact__link:visited {
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-lg);
	color: var(--trh-color-heading);
	text-decoration: none;
	word-break: break-word;
}
.trh-contact__link:hover { color: var(--trh-color-accent-text); }
.trh-contact__address {
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	font-style: normal;
	line-height: 1.45;
	color: var(--trh-color-heading);
}
.trh-hours {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--trh-space-2) var(--trh-space-4);
	margin: 0;
	padding-top: var(--trh-space-4);
	border-top: 1px solid var(--trh-color-border);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	color: var(--trh-color-text);
}
.trh-hours dt { font-weight: 600; }
.trh-hours dd { margin: 0; }
.trh-map {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius);
	background: repeating-linear-gradient(45deg, var(--trh-color-surface-tint) 0 12px, var(--trh-color-surface-raised) 12px 24px);
	font-family: var(--trh-font-body);
	font-style: italic;
	color: var(--trh-color-text-muted);
	overflow: hidden;
}

/* A saved Google Maps embed: same frame and proportions as the placeholder,
   the map filling it. */
.trh-map--embed {
	display: block;
	background: var(--trh-color-surface-raised);
}

.trh-map--embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Pagination (core markup) ---------- */
.trh-pagination { margin-top: var(--trh-space-8); }
.trh-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--trh-space-2);
}
.trh-pagination .page-numbers {
	display: inline-block;
	padding: var(--trh-space-2) var(--trh-space-3);
	border: 1px solid var(--trh-color-border);
	border-radius: var(--trh-radius-sm);
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-sm);
	color: var(--trh-color-heading);
	text-decoration: none;
}
.trh-pagination .page-numbers.current {
	background: var(--trh-color-accent);
	border-color: var(--trh-color-accent);
	color: var(--trh-color-text-on-dark);
}

/* ---------- Narrow screens ---------- */
@media (max-width: 44.99rem) {
	.trh-room__features { columns: 1; }
	.trh-room__details--calendar-below .trh-room__book--widget { max-width: none; }
	.trh-room__book { width: 100%; }
	.trh-room__book .trh-btn { width: 100%; }
}

/* ---------- Blog (2026-11-25): list (home.php), card, article (single-post.php) ----------
 * The list and card reuse the room/business components (wheat heading,
 * .trh-card, the 16:9 contain frame); only what is new is here.
 */
.trh-blog {
	max-width: var(--trh-max-grid);
	margin: 0 auto;
	padding: var(--trh-space-6) var(--trh-gutter) var(--trh-space-section);
}
.trh-blog__lead {
	max-width: 35rem;
	margin: 0 auto var(--trh-space-8);
	text-align: center;
}
.trh-blog__lead p { margin: 0; }
.trh-blog__empty { text-align: center; color: var(--trh-color-text-muted); }
/* Columns up to 26rem, centred: one or two articles (the blog's first
   weeks) sit in the middle instead of hugging the left. */
.trh-grid--posts {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 26rem));
	justify-content: center;
}
.trh-card--post .trh-card__eyebrow { color: var(--trh-color-tertiary); }
.trh-card__text {
	margin: 0;
	padding-bottom: var(--trh-space-2);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	line-height: var(--trh-leading-body);
	color: var(--trh-color-text);
	text-wrap: pretty;
}
/* Buttons line up along the bottom of a row whatever the summary's length. */
.trh-card--post .trh-card__btn { margin-top: auto; }
/* No picture at all: a faint sprig keeps the grid even. */
.trh-frame__empty--wheat img {
	width: auto;
	height: 45%;
	opacity: 0.45;
}

/*
 * Compact on purpose (2026-11-25, client: "font and images are too
 * big"): body at the base size in a ~650px column, title one step down,
 * pictures capped well below a screen's height. The whole reading width
 * is --trh-article-col; the primary image and "Wide" pictures are a
 * little wider (--trh-article-wide).
 *
 * The article page. `main` is a size container so a picture set to
 * "Full width" can reach the page edges with 100cqw, which (unlike
 * 100vw) never includes the scrollbar — no sideways scroll on Windows.
 */
.trh-article-page {
	--trh-article-col: 41rem;   /* ~656px reading column */
	--trh-article-wide: 48rem;  /* ~768px primary image and "Wide" pictures */
	--trh-article-img-h: min(60vh, 28rem); /* tallest a picture in the text may be */
	container-type: inline-size;
	padding: var(--trh-space-4) 0 var(--trh-space-section);
}
.trh-article {
	max-width: calc(var(--trh-max-grid) + 2 * var(--trh-gutter));
	margin: 0 auto;
	padding: 0 var(--trh-gutter);
}
.trh-article__crumbs { justify-content: center; }
.trh-article__header {
	max-width: var(--trh-article-col);
	margin: 0 auto var(--trh-space-4);
	text-align: center;
}
.trh-article__title {
	margin: 0;
	font-family: var(--trh-font-heading);
	font-size: var(--trh-text-xl);
	font-weight: 600;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
	text-wrap: balance;
}
/* Primary image: whole photo, natural shape, height capped (contain, on the tint). */
.trh-article__hero { max-width: var(--trh-article-wide); margin: 0 auto var(--trh-space-6); }
.trh-article__hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(60vh, 30rem);
	object-fit: contain;
	background: var(--trh-color-surface-tint);
	border-radius: var(--trh-radius);
}
.trh-article__hero figcaption,
.trh-article__content figcaption {
	margin-top: var(--trh-space-2);
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-sm);
	font-style: italic;
	line-height: 1.5;
	color: var(--trh-color-text-muted);
	text-align: center;
}

/* The article text: a reading column. flow-root contains floated pictures. */
.trh-article__content {
	display: flow-root;
	max-width: var(--trh-article-col);
	margin: 0 auto;
	font-family: var(--trh-font-body);
	font-size: var(--trh-text-base);
	line-height: 1.7;
	color: var(--trh-color-text);
	text-wrap: pretty;
}
.trh-article__content > :first-child { margin-top: 0; }
.trh-article__content > :last-child { margin-bottom: 0; }
.trh-article__content p { margin: 0 0 1.1em; }
.trh-article__content h2,
.trh-article__content h3,
.trh-article__content h4 {
	margin: 1.5em 0 0.4em;
	font-family: var(--trh-font-heading);
	font-weight: 600;
	line-height: var(--trh-leading-tight);
	color: var(--trh-color-heading);
	text-wrap: balance;
}
.trh-article__content h2 { font-size: var(--trh-text-lg); }
.trh-article__content h3 { font-size: 1.1em; }
.trh-article__content h4 { font-size: 1em; }
.trh-article__content a,
.trh-article__content a:visited {
	color: var(--trh-color-accent-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
.trh-article__content a:hover { color: var(--trh-color-heading); }
.trh-article__content ul,
.trh-article__content ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.trh-article__content li { margin: 0 0 0.35em; }
.trh-article__content li > ul,
.trh-article__content li > ol { margin: 0.35em 0 0; }
/*
 * The :not() chain matches Astra's inline rule for the Quote block
 * (`.wp-block-quote:not(.has-text-align-right):not(.has-text-align-center)`,
 * a faint grey 5px border), which a plain `blockquote` selector loses to.
 */
.trh-article__content blockquote,
.trh-article__content .wp-block-quote:not(.has-text-align-right):not(.has-text-align-center) {
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.25em;
	border: 0;
	border-left: 3px solid var(--trh-color-accent);
	font-size: 1.05em;
	font-style: italic;
	color: var(--trh-color-text);
}
.trh-article__content blockquote p:last-of-type { margin-bottom: 0; }
.trh-article__content blockquote cite {
	display: block;
	margin-top: var(--trh-space-2);
	font-size: var(--trh-text-sm);
	font-style: normal;
	color: var(--trh-color-text-muted);
}
.trh-article__content hr,
.trh-article__content .wp-block-separator {
	height: 1px;
	max-width: 8rem;
	margin: 2.5em auto;
	border: 0;
	background: var(--trh-color-border-strong);
}
.trh-article__content .wp-block-separator.is-style-wide { max-width: none; }
.trh-article__content .wp-block-separator.is-style-dots { height: auto; max-width: none; background: none; color: var(--trh-color-border-strong); }

/* Pictures in the text (Image, Gallery and Embed blocks) */
.trh-article__content figure,
.trh-article__content .wp-block-image,
.trh-article__content .wp-block-gallery,
.trh-article__content .wp-block-embed { margin: 1.5em 0; }
.trh-article__content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--trh-radius);
}
/*
 * A single picture in the text: never taller than --trh-article-img-h,
 * centred, proportions kept. width:auto (with both max- limits) is what
 * lets the browser shrink width and height together; a fixed width would
 * squash a portrait phone photo instead. Gallery pictures are not direct
 * children, so the gallery's own grid is untouched.
 */
.trh-article__content > .wp-block-image:not(.alignfull):not(.alignwide) { text-align: center; }
.trh-article__content > .wp-block-image:not(.alignfull):not(.alignwide) img {
	width: auto;
	max-height: var(--trh-article-img-h);
}
.trh-article__content .wp-block-embed iframe { border-radius: var(--trh-radius); }
.trh-article__content .aligncenter { margin-left: auto; margin-right: auto; }
/* "Wide width": a little wider than the text (--trh-article-wide). */
.trh-article__content .alignwide {
	width: auto;
	max-width: none;
	margin-left: calc((100% - min(var(--trh-article-wide), 100cqw - 2 * var(--trh-gutter))) / 2);
	margin-right: calc((100% - min(var(--trh-article-wide), 100cqw - 2 * var(--trh-gutter))) / 2);
}
/* "Full width": edge to edge of the page, no rounded corners. */
.trh-article__content .alignfull {
	width: auto;
	max-width: none;
	margin-left: calc((100% - 100cqw) / 2);
	margin-right: calc((100% - 100cqw) / 2);
}
/*
 * Wide and full-width pictures are banners: capped in height and cropped
 * to fill, centred. Without the cap a portrait phone photo set to full width is
 * ~1.3 screens wide and two screens tall. The crop is display-only — the
 * file keeps the whole photo (skill §5 is about cropping files).
 */
.trh-article__content .alignwide img,
.trh-article__content .alignfull img {
	width: 100%;
	max-height: min(65vh, 32rem);
	object-fit: cover;
}
.trh-article__content .alignfull img { border-radius: 0; }
/* "Align left/right": beside the text on wider screens, stacked on a phone. */
.trh-article__content .alignleft,
.trh-article__content .alignright {
	display: block;
	max-width: 40%;
	margin-top: 0.35em;
	margin-bottom: 1em;
}
.trh-article__content .alignleft { float: left; margin-right: 1.5em; margin-left: 0; }
.trh-article__content .alignright { float: right; margin-left: 1.5em; margin-right: 0; }
@media (max-width: 39.99rem) {
	.trh-article__content .alignleft,
	.trh-article__content .alignright {
		float: none;
		width: fit-content; /* a small picture centres instead of hugging the left */
		max-width: 100%;
		margin: 1.5em auto;
	}
}

/* After the article: the booking call (a tinted band) and more articles. */
.trh-article__cta { margin-top: var(--trh-space-section); }
.trh-article__cta .trh-script-title { margin-bottom: var(--trh-space-6); }
.trh-article__more {
	max-width: calc(var(--trh-max-grid) + 2 * var(--trh-gutter));
	margin: 0 auto;
	padding: var(--trh-space-section) var(--trh-gutter) 0;
}
.trh-article__more .trh-room__section-title { margin-bottom: var(--trh-space-6); }
.trh-article__all { margin: var(--trh-space-8) 0 0; }
/* Reviews close the article page; the page already pads its end. */
.trh-article-page > .trh-reviews--contained { padding-bottom: 0; }
