/*
Theme Name: Chisholm Trail Rabbit Ranch: Show Bill
Theme URI: https://trailrabbitranch.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Chisholm Trail Rabbit Ranch, Saint Jo TX (rebuild 2026-11, Sierra direction). A county-fair show bill: thick-and-thin rules from the logo's ruled frame, small-caps labels like the logo's lettering, meat pen prices on dotted leaders, the logo's Texas outline as the mark, and the ranch's own tall phone photos from the show table. Vollkorn + Cabin, logo rust on white and straw, one maroon band (the footer, the live site's colour). Core blocks only.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: trr-showbill
*/

/* ---------- fonts (self-hosted, SIL Open Font License; trimmed by tools/make-fonts.py) ---------- */
@font-face { font-family: Vollkorn; src: url(assets/fonts/vollkorn-latin-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: Cabin; src: url(assets/fonts/cabin-latin-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
	--ink: #2B1E17;          /* headings */
	--text: #45372E;         /* body text: 11:1 on white, 9.4:1 on straw */
	--muted: #6B5B50;        /* small print: 6.5:1 on white, 5.5:1 on straw */
	--rust: #A55826;         /* the logo's rust: fills, rules, marks (white text on it 5.2:1) */
	--rust-ink: #8A4519;     /* rust for text and links: 7:1 on white, 5.8:1 on straw */
	--rust-dk: #7A3C15;      /* hover */
	--straw: #F5ECD7;        /* the light band (hay bales on the show table) */
	--straw-rule: #DCCBA9;   /* rules and leaders */
	--paper: #FFFFFF;
	--maroon: #5A1612;       /* the one dark band: the live site's maroon */
	--cream: #F8EEDC;        /* text on maroon: 12.9:1 */
	--serif: Vollkorn, "Iowan Old Style", Georgia, serif;
	--sans: Cabin, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wide: 1220px;
	--pad: clamp(16px, 4vw, 40px);
	--head-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-dk); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.15rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -.012em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.35rem); letter-spacing: -.008em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.45rem); }
p, ul, ol, dl { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { color: var(--ink); }
.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; }
.trr-ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.trr-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.trr-skip:focus { top: 12px; color: #fff; }

/* ---------- the show-bill details ---------- */
/* Small-caps label (the logo's spaced lettering), with a thick-and-thin rule above it */
.trr-kicker, .trr-label { font-family: var(--serif); font-weight: 600; font-size: 1.0625rem; font-variant-caps: all-small-caps; letter-spacing: .14em; color: var(--rust-ink); line-height: 1.3; margin: 0 0 .7em; }
.trr-kicker::before { content: ""; display: block; width: 52px; height: 7px; border-top: 3px solid var(--rust); border-bottom: 1px solid var(--rust); margin-bottom: .75em; }
.trr-lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 60ch; }
/* Ruled card: the logo's frame, doubled (thick outside, thin keyline inside) */
.trr-card { background: var(--paper); border: 3px solid var(--rust); outline: 1px solid var(--rust); outline-offset: -9px; padding: clamp(24px, 3vw, 34px); }
.trr-card > :last-child { margin-bottom: 0; }

/* ---------- buttons: a rectangle with the logo frame's keyline inside (no pill, no offset shadow) ---------- */
.trr-btn, .wp-block-button__link, .trr-nf .nf-element[type="submit"], .trr-nf input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em;
	background: var(--rust); color: #fff; border: 0; border-radius: 2px; font: 700 1rem/1.2 var(--sans); letter-spacing: .01em;
	text-decoration: none; cursor: pointer; outline: 1px solid rgba(255, 255, 255, .7); outline-offset: -5px; text-align: center;
}
.trr-btn:hover, .wp-block-button__link:hover, .trr-nf .nf-element[type="submit"]:hover { background: var(--rust-dk); color: #fff; }
.trr-btn:focus-visible, .wp-block-button__link:focus-visible, .trr-nf .nf-element[type="submit"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.trr-btn--line, .is-style-outline .wp-block-button__link, .trr-line .wp-block-button__link { background: transparent; color: var(--rust-ink); box-shadow: inset 0 0 0 2px var(--rust-ink); outline: 1px solid var(--rust-ink); outline-offset: -6px; }
.trr-btn--line:hover, .trr-line .wp-block-button__link:hover { background: var(--rust-ink); color: #fff; outline-color: rgba(255, 255, 255, .7); }
.trr-btn--big { min-height: 56px; font-size: 1.0625rem; padding: .85em 1.6em; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }

/* ---------- header (sticky) ---------- */
.trr-header { position: sticky; top: 0; z-index: 50; background: var(--paper); }
.trr-header::after { content: ""; display: block; height: 7px; border-top: 1px solid var(--rust); border-bottom: 3px solid var(--rust); }
.trr-bar__in { display: flex; align-items: center; gap: 20px; max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding: 10px var(--pad); min-height: 68px; }
.trr-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--rust-ink); margin-right: auto; }
.trr-brand:hover { color: var(--rust-dk); }
.trr-mark { width: auto; height: 48px; }
.trr-brand__text { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .1em; line-height: 1.02; font-size: 1.32rem; white-space: nowrap; }
@media (max-width: 420px) { .trr-brand__text { font-size: 1.12rem; letter-spacing: .07em; } .trr-mark { height: 42px; } .trr-brand { gap: 8px; } }
.trr-nav { display: none; }
.trr-bar__cta { display: flex; align-items: center; gap: 14px; }
.trr-bar__tel { display: none; align-items: center; gap: .4em; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.trr-bar__tel .trr-ico { color: var(--rust); }
.trr-bar__tel:hover { color: var(--rust-ink); }
.trr-bar__go { display: none; white-space: nowrap; }
.trr-bar__menu { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 12px; background: none; border: 2px solid var(--ink); border-radius: 2px; font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; }
.trr-bar__menu .trr-ico--close, .trr-bar__menu[aria-expanded="true"] .trr-ico--menu { display: none; }
.trr-bar__menu[aria-expanded="true"] .trr-ico--close { display: inline; }
.trr-panel { border-top: 1px solid var(--straw-rule); background: var(--paper); max-height: calc(100vh - 80px); overflow-y: auto; }
.trr-panel nav, .trr-panel__contact { max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding: 8px var(--pad); }
.trr-menu { list-style: none; margin: 0; padding: 0; }
.trr-menu--panel > .trr-menu__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--straw-rule); }
.trr-menu--panel .trr-menu__link { flex: 1; padding: 14px 0; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 1.0625rem; }
.trr-menu--panel .trr-menu__toggle { width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.trr-menu--panel .trr-sub { display: none; width: 100%; list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; border-left: 3px solid var(--rust); }
.trr-menu--panel .is-open > .trr-sub { display: block; }
.trr-menu--panel .is-open > .trr-menu__toggle .trr-ico { transform: rotate(180deg); }
.trr-menu--panel .trr-sub a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; }
.trr-menu [aria-current="page"] { color: var(--rust-ink); }
.trr-panel__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-bottom: 20px; }
.trr-panel__contact a { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; font-weight: 700; }

@media (min-width: 768px) {
	.trr-bar__tel, .trr-bar__go { display: inline-flex; }
}
@media (min-width: 1200px) {
	.trr-nav { display: block; }
	.trr-bar__menu, .trr-panel { display: none !important; }
	.trr-brand { margin-right: 0; }
	.trr-nav { margin: 0 auto; }
	.trr-menu--bar { display: flex; gap: 2px; }
	.trr-menu--bar > .trr-menu__item { position: relative; display: flex; align-items: center; }
	.trr-menu--bar .trr-menu__link { display: block; padding: 10px 10px; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; white-space: nowrap; }
	.trr-menu--bar .has-sub > .trr-menu__link { padding-right: 2px; }
	.trr-menu--bar .trr-menu__link:hover, .trr-menu--bar .is-in > .trr-menu__link { color: var(--rust-ink); }
	.trr-menu--bar .is-in > .trr-menu__link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
	.trr-menu--bar .trr-menu__toggle { width: 26px; height: 40px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
	.trr-menu--bar .trr-menu__toggle .trr-ico { width: 18px; height: 18px; }
	/* small dropdown: its text lines up under the parent's text, opens to the right, with a hover bridge */
	.trr-menu--bar .trr-sub { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px 0; background: var(--paper); border: 1px solid var(--straw-rule); border-top: 3px solid var(--rust); box-shadow: 0 10px 24px rgba(43, 30, 23, .12); display: none; }
	.trr-menu--bar .trr-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.trr-menu--bar .has-sub:hover > .trr-sub, .trr-menu--bar .is-open > .trr-sub { display: block; }
	.trr-menu--bar .trr-sub a { display: block; padding: 9px 10px; color: var(--text); text-decoration: none; white-space: nowrap; }
	.trr-menu--bar .trr-sub a:hover, .trr-menu--bar .trr-sub a[aria-current="page"] { color: var(--rust-ink); background: var(--straw); }
}
@media (min-width: 1200px) and (max-width: 1299px) {
	.trr-menu--bar .trr-menu__link { padding-inline: 7px; font-size: .95rem; }
	.trr-bar__in { gap: 14px; }
}

/* ---------- sections ---------- */
.trr-main { display: block; }
.trr-sec { padding-block: clamp(52px, 7vw, 96px); padding-inline: max(var(--pad), calc((100% - var(--wide)) / 2)); }
.trr-sec--tight { padding-block: clamp(36px, 5vw, 64px); }
.trr-sec--straw { background: var(--straw); }
.trr-sec--rule { border-top: 1px solid var(--straw-rule); }
.trr-sec > :last-child { margin-bottom: 0; }
.trr-head { background: var(--straw); padding-block: clamp(30px, 4.5vw, 56px) clamp(36px, 5vw, 60px); }
.trr-head h1 { max-width: 22ch; margin-bottom: .35em; }
.trr-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: .9375rem; color: var(--muted); }
.trr-crumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--straw-rule); color: #A8957F; }
.trr-crumbs a { color: var(--muted); }
.trr-intro { max-width: 64ch; }
.trr-cols { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) {
	.trr-cols { grid-template-columns: 1fr 1fr; align-items: start; }
	.trr-cols--wide-left { grid-template-columns: 1.35fr 1fr; }
	.trr-cols--side { grid-template-columns: minmax(0, 1fr) 380px; }
}
.trr-cols > * > :last-child { margin-bottom: 0; }
.trr-list { padding-left: 1.2em; }
.trr-list li { margin-bottom: .45em; }
.trr-list li::marker { color: var(--rust); }
.trr-sec-h { max-width: 34ch; }

/* ---------- home hero: headline | tall banner photo | pen card ---------- */
.trr-hero { display: grid; gap: clamp(24px, 3vw, 40px); padding-top: clamp(26px, 4vw, 52px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "photo" "card"; }
.trr-hero__text { grid-area: text; }
.trr-hero .trr-banner { grid-area: photo; }
.trr-hero .trr-pencard { grid-area: card; }
.trr-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.55rem); line-height: 1.06; margin-bottom: .4em; }
.trr-hero .trr-lead { margin-bottom: .9em; }
.trr-hero__since { font-family: var(--serif); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .12em; color: var(--muted); font-size: 1.0625rem; margin-bottom: 0; }
@media (min-width: 768px) {
	.trr-hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "text photo" "card photo"; align-items: start; }
}
@media (min-width: 1200px) {
	.trr-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .92fr) minmax(0, .9fr); grid-template-areas: "text photo card"; align-items: end; }
	.trr-hero__text { align-self: center; padding-bottom: 40px; }
	.trr-hero h1 { font-size: clamp(2.6rem, 1.2rem + 1.9vw, 3.15rem); }
	.trr-hero .trr-pencard { margin-bottom: 52px; }
}

/* banner: three tall photos crossfading in an upright frame, controls under it */
.trr-banner__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--straw); }
.trr-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.trr-banner__slide.is-on { opacity: 1; }
.trr-banner__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.trr-banner__bar { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 0; }
.trr-banner__cap { flex: 1; margin: 0; font-size: .9375rem; line-height: 1.35; color: var(--muted); min-height: 2.7em; }
.trr-banner__ctl { display: flex; align-items: center; gap: 6px; }
/* numbered like lots on a show bill */
.trr-banner__dot { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--rust); border-radius: 2px; cursor: pointer; font: 600 1.0625rem/1 var(--serif); color: var(--rust-ink); font-variant-numeric: lining-nums; }
.trr-banner__dot:hover { background: var(--straw); }
.trr-banner__dot[aria-current="true"] { background: var(--rust); border-color: var(--rust); color: #fff; }
.trr-banner__pause { width: 44px; height: 44px; margin-left: 4px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; color: var(--ink); cursor: pointer; }
.trr-banner__pause .trr-ico--play, .trr-banner__pause.is-paused .trr-ico--pause { display: none; }
.trr-banner__pause.is-paused .trr-ico--play { display: block; }
.trr-banner__pause:hover { background: var(--ink); color: #fff; }

/* ---------- pen card: prices on dotted leaders ---------- */
.trr-pencard__h { margin-bottom: .9em; }
.trr-price { margin: 0 0 1em; }
.trr-price__row { display: grid; grid-template-columns: auto minmax(16px, 1fr) auto; column-gap: .45em; align-items: baseline; padding: .55em 0; border-bottom: 1px solid var(--straw-rule); }
.trr-price__row:first-child { padding-top: 0; }
.trr-price__row::before { content: ""; grid-column: 2; grid-row: 1; align-self: end; margin-bottom: .42em; border-bottom: 2px dotted #BFA987; }
.trr-price dt { grid-column: 1; grid-row: 1; font-weight: 700; color: var(--ink); }
.trr-price__amt { grid-column: 3; grid-row: 1; margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.45rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.trr-price__note { grid-column: 1 / -1; grid-row: 2; margin: .2em 0 0; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.trr-pencard__fine { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.trr-pencard__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.trr-pencard__btns .trr-btn { flex: 1 1 auto; }

/* ---------- credentials ---------- */
.trr-creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px 32px; grid-template-columns: 1fr; }
.trr-creds li { padding-top: 3px; border-top: 3px solid var(--rust); }
.trr-creds li::before { content: ""; display: block; border-top: 1px solid var(--rust); margin-bottom: 10px; }
.trr-creds strong { display: block; font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; margin: 6px 0 4px; font-variant-numeric: lining-nums; }
.trr-creds span { color: var(--muted); font-size: .9688rem; line-height: 1.5; display: block; }
@media (min-width: 640px) { .trr-creds { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trr-creds { grid-template-columns: repeat(4, 1fr); } }

/* ---------- the two lines (meat pens, show rabbits) ---------- */
.trr-svc { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 3vw, 40px); }
.trr-svc__item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--paper); border: 1px solid var(--straw-rule); }
.trr-svc__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
.trr-svc__body { padding: 22px 24px 26px; border-top: 3px solid var(--rust); }
.trr-svc__h a { color: var(--ink); text-decoration: none; }
.trr-svc__h a::after { content: ""; position: absolute; inset: 0; }
.trr-svc__item:hover .trr-svc__h a { color: var(--rust-ink); text-decoration: underline; }
.trr-svc__item:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.trr-svc__h a:focus-visible { outline: none; }
.trr-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--rust-ink); }
@media (min-width: 700px) {
	.trr-svc { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
	.trr-svc__item { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
	.trr-svc__ph img { height: 100%; aspect-ratio: 4 / 5; }
	.trr-svc__body { border-top: 0; border-left: 3px solid var(--rust); align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
}

/* ---------- Who We Serve ---------- */
.trr-aud { display: grid; gap: clamp(28px, 3vw, 40px); }
.trr-aud__ph { margin: 0 0 16px; }
.trr-aud__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.trr-aud__h { margin-bottom: .4em; }
.trr-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.trr-links a { display: inline-flex; align-items: center; gap: .35em; min-height: 40px; font-weight: 700; text-decoration: none; }
.trr-links a:hover { text-decoration: underline; }
.trr-links--big { flex-direction: column; gap: 0; font-size: 1.125rem; }
@media (min-width: 800px) { .trr-aud { grid-template-columns: repeat(3, 1fr); } }
.trr-aud--rows { grid-template-columns: 1fr !important; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
	.trr-aud--rows .trr-aud__item { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: center; }
	.trr-aud--rows .trr-aud__item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 360px; }
	.trr-aud--rows .trr-aud__item:nth-child(even) .trr-aud__ph { order: 2; }
	.trr-aud--rows .trr-aud__ph { margin: 0; }
	.trr-aud--rows .trr-aud__text { border-top: 3px solid var(--rust); padding-top: 18px; }
}

/* ---------- photos in content (core Image blocks) ---------- */
.trr-fig { margin: 0; }
.trr-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }
.trr-fig figcaption, .trr-fig .wp-element-caption { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--straw-rule); font-size: .9375rem; line-height: 1.4; color: var(--muted); text-align: left; }
.trr-trio { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: clamp(28px, 4vw, 44px); }
@media (min-width: 700px) { .trr-trio { grid-template-columns: repeat(3, 1fr); } }
.trr-fig--land img { aspect-ratio: 4 / 3; }

/* ---------- photo strip ---------- */
.trr-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trr-strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.trr-strip__a { display: block; }
.trr-strip__a:hover img { opacity: .88; }
@media (min-width: 768px) { .trr-strip { grid-template-columns: repeat(6, 1fr); gap: 10px; } }
.trr-strip-wrap .wp-block-buttons { margin-top: 22px; }

/* ---------- map, address ---------- */
.trr-map-fig { margin: 0; }
.trr-map { display: block; width: 100%; height: auto; border: 1px solid var(--straw-rule); }
.trr-map-fig figcaption { margin-top: 10px; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.trr-addr__street { font-family: var(--serif); font-size: 1.3rem; line-height: 1.35; color: var(--ink); font-weight: 600; }
.trr-addr__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.trr-towns { columns: 2; list-style: none; padding: 0; margin: 0 0 1em; }
.trr-towns li { padding: 4px 0; break-inside: avoid; }

/* ---------- CTA band ---------- */
.trr-cta { display: grid; gap: 22px; align-items: center; padding: clamp(26px, 4vw, 44px); background: var(--paper); border: 3px solid var(--rust); outline: 1px solid var(--rust); outline-offset: -9px; }
.trr-cta h2 { margin-bottom: .3em; }
.trr-cta p { margin: 0; max-width: 58ch; }
.trr-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .trr-cta { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }

/* ---------- people (contact) ---------- */
.trr-people { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.trr-people__p { padding: 16px 0 6px; border-top: 3px solid var(--rust); }
.trr-people__p p { margin: 0; }
.trr-people__for { font-family: var(--serif); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .1em; color: var(--rust-ink); font-size: 1rem; }
.trr-people__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.trr-people__role { color: var(--muted); font-size: .9375rem; }
.trr-people__tel { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; font-size: 1.0625rem; }
.trr-people__mail { display: flex; flex-wrap: wrap; align-items: center; gap: .4em; font-weight: 600; }
@media (min-width: 560px) { .trr-people { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
.trr-logo { width: 100%; max-width: 360px; height: auto; }

/* ---------- FAQ ---------- */
.trr-faq { border-top: 3px solid var(--rust); }
.trr-faq__q { border-bottom: 1px solid var(--straw-rule); }
.trr-faq__q summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 600; color: var(--ink); line-height: 1.3; }
.trr-faq__q summary::-webkit-details-marker { display: none; }
.trr-faq__q summary .trr-ico { color: var(--rust); width: 26px; height: 26px; }
.trr-faq__q[open] summary .trr-ico { transform: rotate(180deg); }
.trr-faq__q summary:hover { color: var(--rust-ink); }
.trr-faq__q p { margin: 0 0 20px; max-width: 64ch; }

/* ---------- order terms: numbered like the rules in a premium list ---------- */
.trr-terms { list-style: none; counter-reset: t; margin: 0; padding: 0; }
.trr-terms li { counter-increment: t; position: relative; padding: 14px 0 14px 54px; border-bottom: 1px solid var(--straw-rule); }
.trr-terms li::before { content: counter(t); position: absolute; left: 0; top: 8px; width: 38px; font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.2; color: var(--rust-ink); text-align: right; font-variant-numeric: lining-nums; }
.trr-order { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
.trr-order__note { font-size: .9375rem; color: var(--muted); max-width: 52ch; line-height: 1.5; }

/* ---------- Photo Gallery (core Gallery block) + filters ---------- */
.trr-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.trr-filters button { min-height: 44px; padding: 0 16px; background: var(--paper); border: 2px solid var(--straw-rule); border-radius: 2px; font: 600 .98rem var(--sans); color: var(--ink); cursor: pointer; }
.trr-filters button:hover { border-color: var(--rust); }
.trr-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.trr-filters__count { font-size: .9375rem; color: var(--muted); margin: 0 0 18px; min-height: 1.5em; }
.wp-block-gallery.trr-work { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
.wp-block-gallery.trr-work .wp-block-image { width: auto !important; margin: 0 !important; display: flex; flex-direction: column; }
.wp-block-gallery.trr-work .wp-block-image[hidden] { display: none !important; }
.wp-block-gallery.trr-work .wp-block-image a { display: block; flex: none !important; }
.wp-block-gallery.trr-work .wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover !important; flex: none !important; }
.wp-block-gallery.trr-work .wp-block-image figcaption { position: static !important; background: none !important; color: var(--muted) !important; padding: 8px 0 0 !important; margin: 0 !important; max-height: none !important; overflow: visible !important; font-size: .875rem !important; line-height: 1.35 !important; text-align: left !important; text-shadow: none !important; }
.wp-block-gallery.trr-work .wp-block-image figcaption::before { display: none !important; }
.wp-block-gallery.trr-work .wp-block-image a:hover img { opacity: .88; }
@media (min-width: 768px) { .wp-block-gallery.trr-work { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px !important; } }
@media (min-width: 1100px) { .wp-block-gallery.trr-work { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* lightbox */
.trr-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(24, 16, 12, .96); color: #fff; }
.trr-lb::backdrop { background: rgba(24, 16, 12, .8); }
.trr-lb[open] { display: grid; place-items: center; }
.trr-lb__fig { margin: 0; padding: 64px 72px 24px; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.trr-lb__fig img { max-width: min(92vw, 1100px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.trr-lb__cap { margin: 12px 0 0; text-align: center; color: #F2E8D8; font-size: 1rem; max-width: 70ch; }
.trr-lb__n { color: #CDBBA3; margin-left: .6em; white-space: nowrap; }
.trr-lb__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: #fff; border: 2px solid rgba(255, 255, 255, .65); border-radius: 2px; cursor: pointer; }
.trr-lb__btn:hover { background: var(--rust); border-color: var(--rust); }
.trr-lb__btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.trr-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.trr-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.trr-lb__close { right: 12px; top: 12px; }
@media (max-width: 640px) {
	.trr-lb__fig { padding: 70px 10px 90px; }
	.trr-lb__fig img { max-width: 96vw; max-height: calc(100vh - 210px); }
	.trr-lb__prev, .trr-lb__next { top: auto; bottom: 18px; transform: none; }
	.trr-lb__prev { left: calc(50% - 64px); }
	.trr-lb__next { right: calc(50% - 64px); }
}

/* ---------- forms (Ninja Forms, styled by the theme) ---------- */
.trr-form { max-width: 720px; }
.trr-nf .nf-form-fields-required { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.trr-nf nf-field > .nf-field-container { margin-bottom: 18px; }
.trr-nf .nf-field-label label, .trr-nf .nf-field-label .nf-label-span { font-weight: 700; color: var(--ink); font-size: 1rem; }
.trr-nf .ninja-forms-req-symbol { color: #A11B12; }
.trr-nf .nf-field-element input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]), .trr-nf .nf-field-element textarea, .trr-nf .nf-field-element select {
	width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1.0625rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #9C8A76; border-radius: 2px;
}
.trr-nf .nf-field-element textarea { min-height: 150px; }
.trr-nf .nf-field-element input:focus, .trr-nf .nf-field-element textarea:focus, .trr-nf .nf-field-element select:focus { outline: 3px solid var(--rust); outline-offset: 1px; border-color: var(--ink); }
.trr-nf .nf-field-description { font-size: .9375rem; color: var(--muted); margin: 2px 0 6px; }
.trr-nf .list-radio-wrap ul, .trr-nf .list-checkbox-wrap ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.trr-nf .list-radio-wrap li, .trr-nf .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.trr-nf .list-radio-wrap input, .trr-nf .list-checkbox-wrap input { width: 20px; height: 20px; accent-color: var(--rust); margin: 0; }
.trr-nf .list-radio-wrap label, .trr-nf .list-checkbox-wrap label { font-weight: 400 !important; color: var(--text) !important; }
.trr-nf .nf-error-msg, .trr-nf .nf-error .nf-error-msg { color: #A11B12; font-weight: 600; font-size: .9375rem; margin-top: 4px; }
.trr-nf .nf-error .nf-field-element input, .trr-nf .nf-error .nf-field-element textarea { border-color: #A11B12; }
.trr-nf .nf-form-errors .nf-error-msg { padding: 10px 14px; background: #FBEDEA; border-left: 4px solid #A11B12; margin-bottom: 16px; }
.trr-nf .nf-after-form-content, .trr-nf .nf-before-form-content { margin: 0; }
@media (min-width: 640px) {
	.trr-nf nf-fields-wrap { display: flex; flex-wrap: wrap; column-gap: 20px; }
	.trr-nf nf-fields-wrap > nf-field { flex: 1 1 100%; }
	.trr-nf nf-fields-wrap > nf-field:has(.trr-half) { flex: 1 1 calc(50% - 10px); }
}
.trr-thanks { padding: 28px; border: 3px solid var(--rust); outline: 1px solid var(--rust); outline-offset: -9px; background: #fff; }
.trr-thanks:focus { outline: 1px solid var(--rust); }
.trr-thanks__check { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--rust); color: #fff; margin-bottom: 14px; }
.trr-thanks__check .trr-ico { width: 30px; height: 30px; stroke-width: 2.4; }
.trr-thanks h2 { font-size: 1.7rem; }
.trr-thanks ol { padding-left: 1.3em; }
.trr-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

/* ---------- prose (privacy) ---------- */
.trr-prose { max-width: 72ch; }
.trr-prose h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* ---------- footer: the one dark band ---------- */
.trr-foot { background: var(--maroon); color: var(--cream); }
.trr-foot::before { content: ""; display: block; height: 7px; border-top: 3px solid var(--rust); border-bottom: 1px solid var(--rust); background: var(--paper); }
.trr-foot a { color: var(--cream); }
.trr-foot a:hover { color: #fff; }
.trr-foot :focus-visible { outline-color: #fff; }
.trr-foot__in { display: grid; gap: 34px; max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding: clamp(44px, 6vw, 72px) var(--pad) 34px; }
.trr-foot__name { font-family: var(--serif); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .1em; font-size: 1.5rem; line-height: 1.1; margin-bottom: .5em; color: #fff; }
.trr-foot__line { max-width: 40ch; color: var(--cream); }
.trr-foot__facts { list-style: none; margin: 0; padding: 0; }
.trr-foot__facts li { display: flex; gap: .6em; align-items: flex-start; padding: 5px 0; }
.trr-foot__facts .trr-ico { margin-top: .25em; color: #E9B48C; }
.trr-foot__h { font-family: var(--serif); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: .14em; font-size: 1.0625rem; color: #F2CBAA; margin-bottom: .7em; }
.trr-foot__col ul { list-style: none; margin: 0; padding: 0; }
.trr-foot__col li { padding: 3px 0; }
.trr-foot__col a { display: inline-block; padding: 4px 0; text-decoration: none; }
.trr-foot__col a:hover { text-decoration: underline; }
.trr-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; max-width: calc(var(--wide) + 2 * var(--pad)); margin: 0 auto; padding: 18px var(--pad) 26px; border-top: 1px solid rgba(248, 238, 220, .25); font-size: .9375rem; }
.trr-foot__base p { margin: 0; }
.trr-credit { text-decoration: underline !important; text-decoration-thickness: 1px; }
@media (min-width: 800px) { .trr-foot__in { grid-template-columns: 1.4fr 1fr 1fr; } }

/* phone bottom bar: exactly two buttons */
.trr-callbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: 64px; }
	.trr-callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 3px solid var(--rust); background: var(--paper); box-shadow: 0 -6px 16px rgba(43, 30, 23, .12); }
	.trr-callbar a { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 60px; font: 700 1.0625rem var(--sans); text-decoration: none; }
	.trr-foot .trr-callbar__call, .trr-callbar__call { color: var(--ink); background: var(--paper); }
	.trr-foot .trr-callbar__go, .trr-callbar__go { color: #fff; background: var(--rust); }
	.trr-callbar a:focus-visible { outline: 3px solid var(--ink); outline-offset: -5px; }
}

/* ---------- the one quiet fade-in ---------- */
.trr-rise { opacity: 0; transform: translateY(14px); }
.trr-rise.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
	.trr-rise { opacity: 1; transform: none; }
	.trr-banner__slide { transition: none; }
}

/* ---------- WordPress bits ---------- */
.wp-block-group { margin: 0; }
.wp-block-image { margin: 0 0 1em; }
.wp-block-heading { margin-top: 0; }
.trr-sec .wp-block-separator { border: 0; height: 7px; border-top: 3px solid var(--rust); border-bottom: 1px solid var(--rust); width: 52px; margin: 0 0 1em; }

/* ---------- page layouts used by build-pages.php ---------- */
.trr-sec__intro { margin-bottom: clamp(26px, 3.5vw, 40px); }
.trr-sec__intro > :last-child { margin-bottom: 0; }
@media (min-width: 900px) {
	.trr-cols--photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; }
	.trr-cols--map { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
	.trr-cols--contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
}
.trr-creds-wrap { margin-top: clamp(36px, 5vw, 60px); }
.trr-logo-wrap { margin-top: 28px; }
.trr-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; max-width: 820px; }
.trr-steps li { counter-increment: s; position: relative; padding: 14px 0 14px 54px; border-bottom: 1px solid var(--straw-rule); }
.trr-steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 38px; font-family: var(--serif); font-weight: 700; font-size: 1.75rem; line-height: 1.2; color: var(--rust-ink); text-align: right; font-variant-numeric: lining-nums; }
.trr-steps li:first-child { border-top: 3px solid var(--rust); }
.trr-terms li:first-child { border-top: 3px solid var(--rust); }
.trr-sec--straw .trr-card, .trr-sec--straw .trr-cta { background: var(--paper); }
.trr-addr { margin-top: 0; }
.trr-cols--contact .trr-addr { margin-top: 28px; }
