/* ==========================================================================
   Tristan Rye — main stylesheet
   Frame, header/footer, homepage, shop, product, sample reader, FAQ,
   contact, legal, 404. Cart/checkout/library live in commerce.css.
   Phone layout ≤ 760px; tablet grid collapse ≤ 1000px (as on the boards).
   ========================================================================== */

:root {
	--navy: #1b1a4a;
	--ink: #201d48;
	--body: #4a4566;
	--muted: #625b78;
	--faint: #9a8f7a;
	--parchment: #f6eddc;
	--tan: #ecdcbd;
	--field: #fbf6ec;
	--line-light: #e2cfa9;
	--line: #c9ad7c;
	--gold: #d4b26a;
	--gold-mid: #b8914a;
	--gold-ink: #7a5518;
	--gold-light: #f0d68c;
	--footer-muted: #c8c3e0;
	--hair: rgba(122, 85, 24, .2);

	--serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--display: 'Cinzel', 'Trajan Pro', Georgia, serif;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	--pad: 40px;
	--sheet-r: 28px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--navy);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
svg { flex: none; }
a { color: var(--ink); }
a:hover { color: var(--gold-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold-mid); outline-offset: 3px; border-radius: 4px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.tr-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 18px;
	background: var(--gold-light); color: var(--navy); border-radius: 999px; font-weight: 600; text-decoration: none;
}
.tr-skip:focus { top: 16px; }

/* Show/hide by layout */
.tr-only-phone { display: none !important; }
@media (max-width: 760px) {
	.tr-only-wide, .tr-only-wide-block, .tr-only-wide-flex { display: none !important; }
	.tr-only-phone { display: revert !important; }
	span.tr-only-phone, a.tr-only-phone { display: inline !important; }
	div.tr-only-phone, section.tr-only-phone, p.tr-only-phone { display: block !important; }
	a.tr-btn.tr-only-phone { display: inline-flex !important; }
}
a.tr-btn.tr-only-phone.tr-btn--block { width: 100%; }

/* ---------- Motion ---------- */
@keyframes tr-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.tr-intro { animation: tr-rise .9s var(--ease) both; }
.tr-d1 { animation-delay: .12s; }
.tr-d2 { animation-delay: .26s; }
.tr-d3 { animation-delay: .4s; }
.tr-sheetin { animation: tr-rise 1s var(--ease) .2s both; }
.tr-is-home .tr-sheetin { animation-delay: .35s; }
@supports (animation-timeline: view()) {
	.tr-reveal { animation: tr-rise .9s var(--ease) both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Page frame ---------- */
.tr-page { position: relative; min-height: 100vh; background: var(--navy); overflow-x: clip; }
.tr-topbg {
	position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: 0; pointer-events: none;
	background: var(--bg) center 28% / cover no-repeat;
	-webkit-mask-image: linear-gradient(180deg, #000 35%, transparent);
	mask-image: linear-gradient(180deg, #000 35%, transparent);
}
.tr-sheet {
	position: relative; z-index: 2;
	width: min(1320px, calc(100% - 32px));
	margin: 6px auto 0;
	background: var(--parchment);
	border-radius: var(--sheet-r);
	overflow: clip;
	box-shadow: 0 16px 44px rgba(0, 0, 0, .3);
}
.tr-sheet--home { margin-top: -96px; box-shadow: 0 -12px 40px rgba(0, 0, 0, .28); }
.tr-wrap { max-width: 1160px; margin-inline: auto; }

/* ---------- Header ---------- */
.tr-header { position: relative; z-index: 3; }
.tr-header--over { position: absolute; top: 0; left: 0; right: 0; }
.tr-header__inner {
	max-width: 1320px; margin: 0 auto; padding: 18px 40px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tr-logo { display: flex; }
.tr-logo img { height: 100px; width: auto; transform-origin: center; transition: transform .4s var(--spring); }
.tr-logo:hover img, .tr-logo:focus-visible img { transform: scale(1.07); }
.tr-nav { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.tr-nav__link {
	position: relative; padding: 6px 0; color: var(--parchment); text-decoration: none;
	font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: color .25s ease;
}
.tr-nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
	background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.tr-nav__link:hover, .tr-nav__link[aria-current] { color: var(--gold-light); }
.tr-nav__link:hover::after, .tr-nav__link[aria-current]::after { transform: scaleX(1); }
/* ---------- Header search ---------- */
.tr-nav { position: relative; }
.tr-search__toggle {
	width: 36px; height: 36px; margin: 0 -6px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: var(--parchment); text-decoration: none; transition: color .25s ease, background-color .25s ease, opacity .2s ease;
}
.tr-search__toggle:hover, .tr-search__toggle:focus-visible { color: var(--gold-light); background: rgba(240, 214, 140, .12); }
.tr-search__toggle[aria-current] { color: var(--gold-light); }
.tr-search__form {
	display: flex; align-items: center; gap: 4px; height: 42px; padding: 0 4px 0 6px; border-radius: 999px;
	/* Gold hairline + faint half-pixel glow: on standard (1x) screens a lone bright 1px outline looks grainy on the curved ends. */
	border: 1px solid rgba(240, 214, 140, .6); background: rgba(27, 26, 74, .78);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 1px .5px rgba(240, 214, 140, .45);
	opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .35s, width .35s var(--ease), transform .35s var(--ease);
}
.tr-search.is-open .tr-search__form { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s, width .35s var(--ease), transform .35s var(--ease); }
.tr-search__form:focus-within { border-color: rgba(240, 214, 140, .75); }
.tr-search__go, .tr-search__close {
	flex: 0 0 auto; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--gold-light);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.tr-search__close { color: var(--parchment); opacity: .75; }
.tr-search__close:hover { opacity: 1; background: rgba(240, 214, 140, .12); }
.tr-search__input {
	flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
	color: var(--parchment); font-family: var(--sans); font-size: 15px; letter-spacing: .01em;
}
.tr-search__input::placeholder { color: rgba(246, 237, 220, .6); }
.tr-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* Desktop: the field grows leftwards out of the icon and covers the text links (JS sets the size and position). */
.tr-search--desktop .tr-search__form { position: absolute; top: 50%; right: var(--tr-search-right, 0px); width: 40px; transform: translateY(-50%); }
.tr-search--desktop.is-open .tr-search__form { width: var(--tr-search-width, 320px); }
.tr-search--desktop.is-open .tr-search__toggle { opacity: 0; pointer-events: none; }
.tr-nav.is-searching > .tr-nav__link { opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility 0s linear .15s; }
.tr-nav > .tr-nav__link { transition: color .25s ease, opacity .25s ease .1s; }
.tr-header__actions { display: none; }
.tr-search--phone { display: none; }

.tr-nav__account { display: flex; align-items: center; gap: 8px; margin-left: -6px; }
.tr-nav__account .tr-icon { flex: none; }
.tr-btn.tr-cartpill {
	display: flex; align-items: center; gap: 10px; height: auto !important;
	color: var(--gold-light); text-decoration: none; font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
	padding: 10px 18px; border: 1px solid rgba(240, 214, 140, .5); border-radius: 999px; background: rgba(27, 26, 74, .35);
	box-shadow: 0 0 1px .5px rgba(240, 214, 140, .3);
}
.tr-cartpill:hover { color: var(--gold-light); border-color: rgba(240, 214, 140, .8); }
.tr-cartpill__n[hidden] { display: none; }
.tr-iconbtn {
	width: 44px; height: 44px; border: 0; background: transparent; color: var(--parchment);
	display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.tr-menubtn, .tr-cartbtn { display: none; }
.tr-cartbtn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(240, 214, 140, .5); color: var(--gold-light);
	align-items: center; justify-content: center; position: relative; text-decoration: none; box-shadow: 0 0 1px .5px rgba(240, 214, 140, .3);
}
.tr-cartbtn:hover { color: var(--gold-light); }
.tr-cartbtn__badge {
	position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
	background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 600;
	display: flex; align-items: center; justify-content: center;
}
.tr-cartbtn__badge[hidden] { display: none; }

/* ---------- Phone menu ---------- */
.tr-menu {
	position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
	margin: 0; padding: 0; border: 0; background: var(--navy); color: var(--parchment); overflow: auto;
}
.tr-menu[open] { display: flex; flex-direction: column; animation: tr-menu .35s var(--ease) both; }
.tr-menu::backdrop { background: var(--navy); }
@keyframes tr-menu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.tr-menu__bg {
	position: absolute; left: 0; right: 0; top: 0; height: 320px; pointer-events: none;
	background: var(--bg) center 28% / cover no-repeat;
	-webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); mask-image: linear-gradient(180deg, #000 35%, transparent);
}
.tr-menu__top { position: relative; height: 68px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; }
.tr-menu__top .tr-logo img { height: 60px; }
.tr-menu__top .tr-cartbtn { display: flex; }
.tr-menu__nav { position: relative; padding: 40px 28px 0; display: flex; flex-direction: column; }
.tr-menu__nav a {
	display: flex; justify-content: space-between; align-items: center; padding: 18px 4px;
	border-bottom: 1px solid rgba(240, 214, 140, .16); color: var(--parchment); text-decoration: none;
	font-family: var(--display); font-weight: 600; letter-spacing: .04em; line-height: 1; font-size: 26px;
}
.tr-menu__nav a[aria-current] { color: var(--gold-light); }
.tr-menu__nav a span { color: var(--gold); font-family: var(--sans); font-size: 18px; }
.tr-menu__cart {
	position: relative; margin: 32px 28px 0; height: 54px; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--gold-light); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16px;
}
.tr-menu__cart:hover { color: var(--navy); }
.tr-menu__cart span[hidden] { display: none; }
.tr-menu__follow { position: relative; margin: auto 28px 32px; padding-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.tr-menu__follow .tr-eyebrow { font-size: 11px; }

/* ---------- Footer ---------- */
.tr-footer { padding: 64px 40px 40px; background: var(--navy); color: var(--parchment); }
.tr-footer__inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.tr-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.tr-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.tr-footer__name { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1; color: var(--parchment); text-decoration: none; }
.tr-footer__name:hover { color: var(--gold-light); }
.tr-footer__tag { color: var(--footer-muted); font-size: 15px; line-height: 1.5; white-space: nowrap; }
.tr-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.tr-footer__col { display: flex; flex-direction: column; gap: 12px; }
.tr-footer__col--follow { gap: 6px; }
.tr-footer a:not(.tr-footer__name) { color: var(--parchment); text-decoration: none; font-size: 15px; }
.tr-footer a:not(.tr-footer__name):hover { color: var(--gold-light); }
.tr-footer .tr-footer__grid, .tr-footer .tr-footer__social-phone { display: none; }
.tr-eyebrow { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tr-eyebrow--muted { color: var(--muted); }
.tr-social { display: flex; gap: 4px; margin-left: -10px; }
.tr-social a, .tr-footer .tr-social a {
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--gold); border-radius: 50%;
	transition: background-color .2s, color .2s;
}
.tr-social a:hover, .tr-footer .tr-social a:hover { color: var(--gold-light); background: rgba(240, 214, 140, .08); }
.tr-footer__bottom {
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	padding-top: 24px; border-top: 1px solid rgba(240, 214, 140, .2);
}
.tr-footer__copy { color: var(--footer-muted); font-size: 13px; }
.tr-paylogos { display: flex; gap: 10px; align-items: center; }
.tr-paylogos img { height: 22px; width: auto; }
.tr-paylogos--center { justify-content: center; }

/* ---------- Buttons ---------- */
.tr-btn {
	--h: 46px;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: var(--h); padding: 0 22px; border: 0; border-radius: 999px;
	font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; cursor: pointer;
}
.tr-btn:hover { transform: translateY(-1px); }
.tr-btn--primary { background: var(--navy); color: var(--gold-light); }
.tr-btn--primary:hover { color: var(--gold-light); background: #26245e; }
.tr-btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 500; }
.tr-btn--outline:hover { color: var(--ink); background: rgba(32, 29, 72, .05); }
.tr-btn--xs { --h: 36px; padding: 0 14px; font-size: 13px; }
.tr-btn--sm { --h: 38px; padding: 0 16px; font-size: 13px; }
.tr-btn--md { --h: 50px; padding: 0 26px; font-size: 15px; }
.tr-btn--bar { --h: 40px; padding: 0 18px; font-size: 13px; }
.tr-btn--lg { --h: 54px; padding: 0 30px; font-size: 16px; }
.tr-btn--lg.tr-btn--outline { padding: 0 26px; }
.tr-btn--xl { --h: 58px; padding: 0 32px; font-size: 17px; letter-spacing: .03em; }
.tr-btn--block { display: flex; width: 100%; }
.tr-btn.is-in-cart { background: var(--tan); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.tr-btn.is-in-cart:hover { color: var(--ink); }
.tr-btn.is-loading { opacity: .7; pointer-events: none; }
.tr-btn.is-disabled { background: var(--tan); color: var(--muted); cursor: default; transform: none; }

/* ---------- Type helpers ---------- */
.tr-pagetitle { font-family: var(--display); font-weight: 600; letter-spacing: .04em; line-height: 1; font-size: 56px; color: var(--ink); }
.tr-pagetitle--xl { font-size: 68px; }
.tr-pagetitle--legal { font-size: 52px; }
.tr-pagetitle--md { font-size: 48px; }
.tr-pagetitle--band { font-size: 72px; color: #fff; text-shadow: 0 4px 22px rgba(27, 26, 74, .65); }
.tr-h2 { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; }
.tr-h3 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1; }
.tr-label {
	margin: 0; display: flex; align-items: center; justify-content: center; gap: 14px;
	color: var(--gold-ink); font-weight: 700; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; font-family: var(--sans);
}
.tr-label__line { width: 56px; height: 1px; background: linear-gradient(270deg, var(--gold-mid), transparent); }
.tr-label__line:last-child { background: linear-gradient(90deg, var(--gold-mid), transparent); margin-left: -.3em; /* cancels the letter-spacing after the last letter so the text sits centred between the lines */ }
.tr-label--spot { font-size: 15px; max-width: 580px; }
.tr-label--spot .tr-label__line { width: 96px; }
.tr-label--left { justify-content: flex-start; }
.tr-label--left .tr-label__line:first-child { display: none; }
.tr-label--left .tr-label__line:last-child { width: 72px; }
.tr-series { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tr-booktitle { font-family: var(--serif); font-weight: 600; font-size: 84px; line-height: .95; letter-spacing: -.01em; }
.tr-booktitle a { color: inherit; text-decoration: none; }
.tr-tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--gold-ink); }
.tr-byline { color: var(--muted); font-size: 16px; }
.tr-desc { display: flex; flex-direction: column; gap: 20px; }
.tr-desc p, .tr-desc li { max-width: 580px; font-size: 17px; line-height: 1.7; color: var(--body); }
.tr-desc ul, .tr-desc ol { margin: 0; padding-left: 22px; }
.tr-desc > * { margin: 0; }
.tr-textlink {
	align-self: flex-start; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	border-bottom: 1px solid var(--gold-mid); padding-bottom: 3px; white-space: nowrap;
}
.tr-textlink--gold { color: var(--gold-ink); padding-bottom: 2px; }
.tr-textlink:hover { color: var(--gold-ink); border-color: var(--gold-ink); }
/* Centred links: letter-spacing leaves a gap after the last letter, so pad the start to match (text and underline stay centred). */
.tr-endcard .tr-textlink, .tr-textlink--center { padding-left: .12em; }
.tr-iconlink {
	display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); text-decoration: none;
	font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.tr-iconlink:hover { color: var(--ink); }
.tr-ornament {
	width: min(1160px, calc(100% - 2 * var(--pad))); margin: 0 auto; display: flex; align-items: center; gap: 20px;
	color: var(--gold-mid); font-size: 14px;
}
.tr-ornament span { flex: 1; height: 1px; background: var(--line-light); }
.tr-rulehead { display: flex; align-items: flex-end; gap: 24px; }
.tr-rulehead__title { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; white-space: nowrap; }
.tr-rulehead__rule { flex: 1 1 auto; align-self: center; height: 1px; margin: 10px 4px 0; background: linear-gradient(90deg, var(--gold-mid), rgba(184, 145, 74, .12)); }
.tr-rulehead--md { gap: 20px; }
.tr-rulehead--md .tr-rulehead__title { font-size: 36px; }
.tr-rulehead--md .tr-rulehead__rule { align-self: flex-end; margin: 0 0 8px; }
.tr-lockline { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.tr-lockline--center { justify-content: center; font-size: 13px; }
.tr-tag { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-left: 8px; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.tr-notices, .tr-sheet > .woocommerce-notices-wrapper { padding: 24px var(--pad) 0; }
.tr-sheet > .woocommerce-notices-wrapper > *, .tr-notices > * { max-width: 1160px; margin-inline: auto; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 12px; padding: 14px 20px; border-radius: 12px;
	background: var(--field); box-shadow: 0 0 0 1px var(--line-light); color: var(--ink); font-size: 15px; line-height: 1.5;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.woocommerce-error { background: #fbeee8; box-shadow: 0 0 0 1px #e3b4a3; color: #7a2c18; flex-direction: column; align-items: flex-start; gap: 4px; }
.woocommerce-error li { list-style: none; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-message a.restore-item {
	order: 2; color: var(--gold-ink); background: none; border: 0; padding: 0 0 2px; border-bottom: 1px solid var(--gold-mid);
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}

/* ---------- Hero (homepage) ---------- */
.tr-hero {
	/* 800px at 1440px as on the board; grows a little on wide screens (to 880px) so the painting isn't cropped as tightly. */
	height: clamp(720px, 55.56vw, 880px); display: flex; align-items: flex-end;
	background-image: linear-gradient(180deg, rgba(27, 26, 74, .7) 0%, rgba(27, 26, 74, 0) 22%, rgba(27, 26, 74, 0) 42%, rgba(27, 26, 74, .85) 74%, var(--navy) 92%), var(--bg);
	background-size: cover; background-position: 30% 35%;
}
.tr-hero__inner {
	width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px 136px;
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px;
}
.tr-hero__name { margin: 0; }
.tr-hero__name img { width: 440px; max-width: 80vw; height: auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .5)); }
.tr-hero__genre {
	margin-top: -8px; display: flex; align-items: center; gap: 18px;
	font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1; color: var(--gold-light);
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}
.tr-hero__genre span { width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.tr-hero__genre span:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.tr-hero__formats {
	margin: 0 0 6px; display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap;
	color: var(--gold-light); font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
}
.tr-star { color: var(--gold); }

/* ---------- Subscribe pill ---------- */
.tr-sub { width: 100%; max-width: 540px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.tr-sub--hero { margin-top: 10px; }
.tr-sub__pill {
	width: 100%; display: flex; align-items: center; gap: 6px; padding: 6px;
	background: var(--parchment); border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); border-radius: 999px;
}
.tr-sub__pill:focus-within { box-shadow: 0 10px 30px rgba(0, 0, 0, .3), 0 0 0 3px rgba(212, 178, 106, .45); }
.tr-sub__input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 20px; border: 0; background: transparent; color: var(--ink); font-size: 16px; outline: none; }
.tr-sub__btn { --h: 48px; flex: 0 0 auto; padding: 0 26px; font-size: 15px; letter-spacing: .04em; }
.tr-sub__msg:empty { display: none; }
.tr-sub__msg { font-size: 15px; font-weight: 600; color: var(--gold-light); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.tr-sub.is-done .tr-sub__pill { display: none; }
.tr-sub.is-done .tr-sub__msg {
	display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
	background: var(--parchment); border: 1px solid var(--gold); color: var(--ink); text-shadow: none; font-size: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.tr-sub.is-done .tr-sub__msg::before { content: "✦"; color: var(--gold-mid); }
.tr-sub.is-error .tr-sub__msg { color: #ffd9cc; }

/* ---------- Spotlight ---------- */
.tr-spotlight { position: relative; overflow: hidden; padding: 112px 80px 136px; }
.tr-spotlight::before {
	content: ""; position: absolute; inset: 6% 17% 20% 0;
	background-image: var(--glow); background-size: cover; background-position: center;
	filter: blur(90px) saturate(1.1); opacity: .27; pointer-events: none;
}
.tr-spot { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: center; }
.tr-spot__cover { display: block; justify-self: center; width: 100%; max-width: 400px; }
.tr-spot__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 60px rgba(60, 38, 10, .3); }
.tr-spot__text { display: flex; flex-direction: column; gap: 20px; }
.tr-spot__titles { display: flex; flex-direction: column; gap: 10px; }
.tr-spot__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.tr-spot__note { color: var(--muted); font-size: 14px; letter-spacing: .04em; }

/* Book cover hover */
.tr-book img { position: relative; z-index: 1; transition: transform .45s var(--ease), box-shadow .45s; }
.tr-book:hover img { transform: translateY(-8px); box-shadow: 0 28px 48px rgba(60, 38, 10, .35); }

/* ---------- Book cards ---------- */
.tr-latest { padding: 56px 80px 96px; }
.tr-latest .tr-wrap { display: flex; flex-direction: column; gap: 44px; }
.tr-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tr-row { display: grid; gap: 24px; }
.tr-row--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tr-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tr-book { position: relative; display: flex; flex-direction: column; gap: 14px; }
.tr-book__coverlink { display: block; }
.tr-book__cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 16px 32px rgba(60, 38, 10, .26); background: var(--tan); }
.tr-cover--empty { display: block; width: 100%; aspect-ratio: 2 / 3; background: var(--tan); border-radius: 3px; }
.tr-book__meta { display: flex; flex-direction: column; gap: 3px; }
.tr-book__series { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.tr-book__title { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.1; text-decoration: none; color: var(--ink); }
.tr-book__buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tr-book__price { font-weight: 600; font-size: 15px; }
.tr-book--related .tr-book__title { font-size: 24px; }
.tr-badge {
	position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--navy); color: var(--gold-light);
	font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}

/* ---------- Values ---------- */
.tr-values { padding: 96px 80px; }
.tr-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.tr-value { display: flex; gap: 20px; align-items: flex-start; }
.tr-value__icon {
	flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold-mid); background: var(--tan); color: var(--navy);
	display: flex; align-items: center; justify-content: center;
}
.tr-value__text { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.tr-value h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; }
.tr-value p { font-size: 16px; line-height: 1.65; color: var(--body); }

/* ---------- Newsletter plate ---------- */
.tr-plate-wrap { padding: 0 80px 96px; }
.tr-plate {
	max-width: 1160px; margin: 0 auto; min-height: 420px; border-radius: 20px;
	box-shadow: 0 0 0 1px var(--gold-mid), 0 24px 50px rgba(60, 38, 10, .25);
	display: flex; align-items: center; justify-content: center; padding: 36px 32px 108px;
	background-image: linear-gradient(180deg, rgba(27, 26, 74, .42) 0%, rgba(27, 26, 74, .55) 100%), var(--bg);
	background-size: cover; background-position: center;
}
.tr-plate__inner { width: 100%; max-width: 560px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; color: var(--parchment); }
.tr-plate__eyebrow { color: var(--gold-light); font-weight: 600; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; }
.tr-plate__title { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; color: #fff; text-shadow: 0 4px 18px rgba(27, 26, 74, .55); }
.tr-plate .tr-sub { margin-top: 10px; max-width: 560px; }

/* ---------- Shop ---------- */
.tr-shopband {
	padding: 52px var(--pad) calc(min(100vw, 1320px) * 107 / 1920 + 28px);
	background-color: var(--tan); border-bottom: 1px solid var(--line);
	background-image: var(--bg); background-repeat: no-repeat; background-position: center bottom; background-size: 100% auto;
}
.tr-shopgrid-section { padding: 88px var(--pad) 120px; }
/* Search results: same tan band as the shop, without the mushroom banner. */
.tr-shopband--search { padding-bottom: 52px; background-image: none; }
.tr-searchhead { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tr-searchbar {
	width: 100%; max-width: 620px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 999px;
	background: var(--field); border: 1px solid var(--line); color: var(--gold-ink);
}
.tr-searchbar:focus-within { border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(212, 178, 106, .35); }
.tr-searchbar .tr-icon { flex: none; }
.tr-searchbar__input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 6px; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 16px; }
.tr-searchbar__input::placeholder { color: var(--muted); }
.tr-searchbar__btn { --h: 46px; flex: 0 0 auto; padding: 0 26px; font-size: 15px; }
.tr-searchhead__meta { color: var(--muted); font-size: 15px; }
.tr-searchempty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0 40px; text-align: center; }
.tr-searchempty__title { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.15; color: var(--ink); }
.tr-searchempty__sub { color: var(--muted); font-size: 16px; margin-bottom: 8px; }
.tr-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 72px; }
.tr-book--shop { gap: 18px; }
.tr-book--shop .tr-book__cover { border-radius: 4px; box-shadow: 0 20px 40px rgba(60, 38, 10, .28); }
.tr-book--shop .tr-book__meta { gap: 6px; }
.tr-book--shop .tr-book__series { letter-spacing: .14em; }
.tr-book--shop .tr-book__title { font-size: 32px; line-height: 1.05; }
.tr-book--shop .tr-book__buy { gap: 12px; }
.tr-book--shop .tr-book__price { font-size: 18px; }
.tr-book--shop .tr-btn { --h: 46px; padding: 0 22px; font-size: 15px; }
.tr-empty { padding: 40px 0; text-align: center; font-family: var(--serif); font-size: 28px; }
.tr-pagination { margin-top: 64px; text-align: center; }

/* ---------- Product ---------- */
.tr-buy-section { position: relative; padding: 64px var(--pad) 40px; }
.tr-buy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: start; }
.tr-buy > * { min-width: 0; }
.tr-buy__side { position: sticky; top: 32px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.tr-buy__cover { width: 100%; max-width: 420px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 40px 80px rgba(60, 38, 10, .28); }
.tr-details { margin: 8px 0 0; width: 100%; max-width: 420px; font-size: 14px; border-bottom: 1px solid var(--hair); }
.tr-details > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-top: 1px solid var(--hair); }
.tr-details dt { color: var(--muted); }
.tr-details dd { margin: 0; text-align: right; }
.tr-buy__main { display: flex; flex-direction: column; gap: 20px; padding-top: 12px; }
.tr-buyform { display: flex; flex-direction: column; gap: 20px; }
.tr-formats { margin: 10px 0 0; padding: 0; border: 0; min-width: 0; }
.tr-formats legend { padding: 0 0 12px; }
.tr-formats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tr-format {
	display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--hair); border-radius: 12px;
	color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s;
}
a.tr-format:hover { border-color: rgba(122, 85, 24, .6); color: var(--ink); }
.tr-format.is-selected { border-color: var(--gold-mid); background: rgba(184, 145, 74, .1); cursor: pointer; }
.tr-format.is-soon { opacity: .7; }
.tr-format__row { display: flex; align-items: center; gap: 10px; }
.tr-format__row input { accent-color: var(--navy); margin: 0; }
.tr-format__name { font-weight: 600; font-size: 16px; }
.tr-format__price { font-size: 22px; font-weight: 600; color: var(--gold-ink); }
.tr-format__shop { font-size: 15px; color: var(--gold-ink); }
.tr-format__note { font-size: 13px; color: var(--muted); }
.tr-related { padding: 56px var(--pad) 96px; }
.tr-related__inner { display: flex; flex-direction: column; gap: 64px; }
.tr-related__group { display: flex; flex-direction: column; gap: 32px; }

/* ---------- Sample reader ---------- */
.tr-readbar {
	position: sticky; top: 0; z-index: 5; border-radius: var(--sheet-r) var(--sheet-r) 0 0;
	background: rgba(246, 237, 220, .97);
	border-bottom: 1px solid rgba(122, 85, 24, .16);
}
.admin-bar .tr-readbar { top: 32px; }
.tr-readbar__inner {
	max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); height: 72px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.tr-readbar__back {
	justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none;
	font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.tr-readbar__title { text-align: center; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; }
.tr-readbar__tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.tr-readbar__tools .tr-add { margin-left: 10px; }
.tr-size {
	width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(122, 85, 24, .35); background: transparent; color: var(--ink);
	font-family: var(--serif); font-weight: 600; line-height: 1; display: flex; align-items: center; justify-content: center;
	transition: border-color .2s, background-color .2s;
}
.tr-size--down { font-size: 15px; }
.tr-size--up { font-size: 21px; }
.tr-size:hover { border-color: var(--gold-mid); background: rgba(184, 145, 74, .12); }
.tr-size:disabled { opacity: .4; cursor: default; }
.tr-progress { height: 2px; background: rgba(122, 85, 24, .1); }
.tr-progress__bar { height: 100%; background: var(--gold); transform-origin: left center; transform: scaleX(var(--tr-progress, 0)); }
@keyframes tr-prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
	.tr-sheet--sample .tr-progress__bar { animation: tr-prog linear both; animation-timeline: scroll(root); }
}
.tr-reader { padding: 96px var(--pad) 72px; }
.tr-read {
	--tr-scale: 1;
	max-width: 640px; margin: 0 auto;
	font-family: var(--serif); font-weight: 500; font-size: calc(23px * var(--tr-scale)); line-height: 1.62; color: var(--ink);
}
.tr-read__chapter + .tr-read__chapter { margin-top: 3em; }
.tr-read__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 56px; }
.tr-read__head .tr-label { font-size: 13px; }
.tr-read__title { font-family: var(--serif); font-weight: 600; font-size: 56px; line-height: 1; }
.tr-read__body p { margin: 0 0 1.15em; text-indent: 1.6em; }
.tr-read__body p.tr-first.tr-has-drop, .tr-read__body p.tr-first:not(.tr-nodrop) { text-indent: 0; }
.tr-read__body p.tr-first:not(.tr-has-drop):not(.tr-nodrop)::first-letter, .tr-drop {
	float: left; font-family: var(--serif); font-weight: 600; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--gold-ink);
}
.tr-drop__q { font-size: .5em; vertical-align: top; position: relative; top: .1em; margin-right: .02em; }
.tr-read__body p.tr-has-drop + p { clear: left; }
.tr-read__body p.tr-after { text-indent: 0; }
.tr-read__body p.tr-it { font-style: italic; }
.tr-read__body p.tr-center, .tr-read__body p.tr-subhead { text-indent: 0; text-align: center; }
.tr-read__body p.tr-right { text-indent: 0; text-align: right; }
.tr-read__body .tr-sc { font-variant: small-caps; }
.tr-read__body p.tr-break { text-indent: 0; text-align: center; color: var(--gold-mid); letter-spacing: .6em; margin: 1.6em 0; }
.tr-stat {
	margin: .4em 0 1.3em; padding: 18px 22px; border-radius: 12px; background: var(--field); box-shadow: 0 0 0 1px var(--line-light);
	font-family: var(--sans); font-size: max(14px, .66em); line-height: 1.6; color: var(--ink);
}
.tr-read__body .tr-stat p { margin: 0; text-indent: 0; }
.tr-read__body .tr-stat p.tr-stat__new { margin-top: .9em; }
.tr-stat strong { font-weight: 600; color: var(--gold-ink); letter-spacing: .02em; }
.tr-read__fin { margin: 48px 0 0; text-align: center; color: var(--gold-mid); font-size: 18px; }
.tr-endcard { padding: 0 var(--pad) 112px; }
.tr-endcard__card {
	max-width: 820px; margin: 0 auto; padding: 48px 56px; border-radius: 20px; background: var(--tan);
	box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(60, 38, 10, .12); display: flex; align-items: center; gap: 48px;
}
.tr-endcard__cover { flex: 0 0 auto; width: 170px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; box-shadow: 0 20px 40px rgba(60, 38, 10, .3); }
.tr-endcard__text { display: flex; flex-direction: column; gap: 14px; }
.tr-endcard__title { font-family: var(--serif); font-weight: 600; font-size: 46px; line-height: 1.02; }
.tr-endcard__title em { font-weight: 500; }
.tr-endcard__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.tr-endcard__note { color: var(--muted); font-size: 14px; }

/* Pop-up */
.tr-sdlg {
	position: fixed; inset: 40px auto 40px 50%; transform: translateX(-50%);
	width: min(760px, calc(100vw - 32px)); height: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
	background: var(--parchment); color: var(--ink); border-radius: 20px; overflow: hidden;
	box-shadow: 0 0 0 1px var(--line), 0 40px 90px rgba(10, 8, 40, .5);
}
.tr-sdlg[open] { display: block; animation: tr-pop .45s var(--ease) both; }
.tr-sdlg::backdrop { background: rgba(27, 26, 74, .62); }
@keyframes tr-pop { from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(.98); } to { opacity: 1; transform: translateX(-50%); } }
.tr-sdlg__panel { height: 100%; display: flex; flex-direction: column; timeline-scope: --tr-sample; }
.tr-sdlg__panel.is-loading { align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; color: var(--muted); }
.tr-sdlg__bar { flex: 0 0 auto; border-bottom: 1px solid rgba(122, 85, 24, .16); }
.tr-sdlg__grab { display: none; }
.tr-sdlg__barrow { height: 68px; padding: 0 20px 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tr-sdlg__barrow .tr-readbar__title { text-align: left; }
.tr-sdlg__barrow .tr-add { margin: 0 6px 0 10px; }
.tr-sdlg__body {
	flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; scroll-timeline: --tr-sample block; outline: none;
}
/* Bottom fade as a static overlay (a mask on the scroller repaints the whole sample on every scroll frame). */
.tr-sdlg__panel { position: relative; }
.tr-sdlg__panel:not(.is-loading)::after {
	content: ""; position: absolute; left: 0; right: 16px; bottom: 0; height: 64px; pointer-events: none;
	background: linear-gradient(180deg, rgba(246, 237, 220, 0), var(--parchment));
}
@supports (animation-timeline: scroll()) {
	.tr-sdlg .tr-progress__bar { animation: tr-prog linear both; animation-timeline: --tr-sample; }
}
.tr-sdlg .tr-reader { padding: 56px 72px 24px; }
.tr-sdlg .tr-read { max-width: none; font-size: calc(22px * var(--tr-scale)); }
.tr-sdlg .tr-read__head { gap: 12px; margin-bottom: 40px; }
.tr-sdlg .tr-read__title { font-size: 48px; }
.tr-sdlg .tr-endcard { padding: 8px 40px 48px; }
.tr-sdlg .tr-endcard__card { padding: 36px 40px; gap: 36px; }
.tr-sdlg .tr-endcard__cover { width: 140px; }
.tr-sdlg .tr-endcard__title { font-size: 40px; }
.tr-sdlg__foot { display: none; }
.tr-x {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(122, 85, 24, .35); background: transparent; color: var(--ink);
	display: flex; align-items: center; justify-content: center; transition: background-color .2s;
}
.tr-x:hover { background: rgba(184, 145, 74, .15); }
html.tr-lock, html.tr-lock body { overflow: hidden; }

/* ---------- Title bands (FAQ, Contact) ---------- */
.tr-band {
	min-height: 320px; padding: 56px 72px; display: flex; align-items: center; border-bottom: 2px solid var(--gold);
	background-image: linear-gradient(90deg, rgba(27, 26, 74, .72) 0%, rgba(27, 26, 74, .38) 38%, rgba(27, 26, 74, 0) 62%), var(--bg);
	background-size: cover; background-position: center;
}
.tr-sheet:has(> .tr-band) {
	/* No parchment anywhere behind the band: at fractional sizes (e.g. 125% Windows scaling) the clipped
	   edges let it show through as a light outline. The band paints its own rounded top corners too. */
	--tr-band-cover: 300px;
	background: linear-gradient(var(--parchment), var(--parchment)) left bottom / 100% calc(100% - var(--tr-band-cover)) no-repeat;
}
.tr-sheet > .tr-band:first-child {
	/* Own compositing layer: the sheet's rounded clip is then applied to the finished band in one pass.
	   Without it the clip is applied to each background layer (painting, then dark overlay) separately,
	   which leaves a light rim on the curve at 100% zoom. */
	will-change: transform;
}
.tr-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- FAQ ---------- */
.tr-faq { padding: 28px var(--pad) 72px; }
.tr-faq .tr-wrap { display: flex; flex-direction: column; gap: 40px; }
.tr-faq__row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: 56px; align-items: start; padding: 44px 0; scroll-margin-top: 24px; }
.tr-faq__row + .tr-faq__row { border-top: 1px solid var(--line-light); }
.tr-faq__cat { display: flex; flex-direction: column; gap: 14px; }
.tr-faq__cat h2 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.05; }
.tr-faq__catline { width: 64px; height: 1px; background: linear-gradient(90deg, var(--gold-mid), transparent); }
.tr-faq__qa { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 28px; max-width: 640px; }
.tr-faq__item { display: flex; flex-direction: column; gap: 6px; }
.tr-faq__item h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.15; }
.tr-faq__a { display: flex; flex-direction: column; gap: 10px; }
.tr-faq__a p, .tr-faq__a li { font-size: 16px; line-height: 1.65; color: var(--body); }
.tr-faq__a ul, .tr-faq__a ol { margin: 0; padding-left: 20px; }
.tr-faq__a a { color: var(--gold-ink); }
.tr-wonder {
	display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	padding: 28px 32px; border-radius: 16px; background: var(--tan); box-shadow: 0 0 0 1px var(--line);
}
.tr-wonder__text { display: flex; flex-direction: column; gap: 4px; }
.tr-wonder__title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; }
.tr-wonder__sub { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.tr-contact { padding: 72px var(--pad) 88px; }
.tr-contact__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.tr-contact__intro { text-align: center; }
.tr-contact__intro p { font-family: var(--serif); font-size: 40px; line-height: 1.15; color: var(--ink); }
.tr-contact__intro em { color: var(--gold-ink); }
.tr-nowrap { white-space: nowrap; }
.tr-card { border-radius: 20px; background: var(--tan); box-shadow: 0 0 0 1px var(--line); }
.tr-contactform { display: flex; flex-direction: column; gap: 20px; padding: 40px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(60, 38, 10, .12); }
.tr-contactform__send { align-self: flex-start; padding: 0 34px; letter-spacing: .03em; }
.tr-contactform__status:not(:has(p)) { display: none; }
.tr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tr-lbl { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.tr-lbl > input, .tr-lbl > textarea, .tr-lbl > select, .tr-lbl > div { letter-spacing: 0; text-transform: none; font-weight: 400; }
.tr-lbl__row { display: flex; justify-content: space-between; align-items: baseline; }
.tr-lbl__row a { letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--gold-ink); }
.tr-field {
	width: 100%; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px;
	background: var(--parchment); color: var(--ink); font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.tr-field:focus { border-color: var(--gold-mid); box-shadow: 0 0 0 3px rgba(212, 178, 106, .35); }
.tr-field--area { height: auto; padding: 10px 18px; line-height: 1.6; resize: vertical; }
.tr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tr-formmsg { padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; background: var(--field); box-shadow: 0 0 0 1px var(--line-light); }
.tr-formmsg--ok { box-shadow: 0 0 0 1px var(--gold-mid); }
.tr-formmsg--ok::before { content: "✦ "; color: var(--gold-mid); }
.tr-formmsg--err { background: #fbeee8; box-shadow: 0 0 0 1px #e3b4a3; color: #7a2c18; }
.tr-contactform.is-sent .tr-two, .tr-contactform.is-sent .tr-lbl, .tr-contactform.is-sent .tr-contactform__send { display: none; }

/* ---------- Legal / default page ---------- */
.tr-legal { padding: 72px 80px 104px; }
.tr-legal__col { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
/* Content made with page builders (Spectra/Astra containers, coloured groups, spacers) sits on the page cream. */
.tr-legal :is(.wp-block-group, .wp-block-group__inner-container, .wp-block-columns, .wp-block-column, .wp-block-cover, .wp-block-cover__inner-container, .wp-block-uagb-container, .uagb-container-inner-blocks-wrap, [class*="uagb-block-"], .has-background, .ast-container) {
	background: none !important; background-color: transparent !important; box-shadow: none !important; border: 0 !important;
	padding: 0 !important; margin-inline: 0 !important; min-height: 0 !important; max-width: none !important; width: auto !important; color: inherit !important;
	display: flex !important; flex-direction: column; gap: 14px;
}
.tr-legal .wp-block-cover__background, .tr-legal .wp-block-cover__image-background, .tr-legal .wp-block-spacer { display: none !important; }
.tr-goldrule { height: 1px; background: linear-gradient(90deg, var(--gold-mid), rgba(184, 145, 74, .1)); margin: 10px 0 8px; }
.tr-prose { display: flex; flex-direction: column; gap: 14px; }
.tr-prose > * { margin: 0; }
.tr-prose h2 { margin-top: 26px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.15; color: var(--ink); }
.tr-prose h3 { margin-top: 18px; font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; }
.tr-prose p { font-size: 17px; line-height: 1.75; color: var(--body); }
.tr-prose p.tr-caps { font-size: 15px; letter-spacing: .01em; }
.tr-prose ul, .tr-prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.7; color: var(--body); }
.tr-prose strong { color: var(--ink); }
.tr-prose a { color: var(--gold-ink); }
.tr-prose img { border-radius: 8px; }
.tr-postlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; }

/* ---------- 404 ---------- */
.tr-404 { padding: 96px 80px 72px; text-align: center; }
.tr-404__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tr-404__num { font-family: var(--display); font-weight: 600; letter-spacing: .04em; line-height: 1; font-size: 120px; color: var(--gold); text-shadow: 0 2px 0 var(--gold-mid); }
.tr-404__title { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1.1; }
.tr-404__text { color: var(--muted); font-size: 17px; line-height: 1.6; }
.tr-404__actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
.tr-404__actions .tr-btn { --h: 52px; padding: 0 28px; }

/* ==========================================================================
   Tablet (≤ 1000px)
   ========================================================================== */
@media (max-width: 1000px) {
	.tr-spot, .tr-buy { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.tr-buy__side { position: static; }
	.tr-row--5, .tr-row--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tr-values__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.tr-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
	.tr-formats__grid { grid-template-columns: minmax(0, 1fr); }
	.tr-faq__row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tr-spotlight, .tr-latest, .tr-values, .tr-plate-wrap, .tr-legal, .tr-404 { padding-inline: var(--pad); }
	.tr-header__inner { padding-inline: 24px; }
	.tr-nav { gap: 24px; }
}

/* ==========================================================================
   Phone (≤ 760px)
   ========================================================================== */
@media (max-width: 760px) {
	:root { --pad: 24px; --sheet-r: 24px; }

	/* Frame */
	.tr-topbg { height: 300px; }
	.tr-sheet { width: 100%; margin-top: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
	.tr-sheet--home { margin-top: -32px; box-shadow: 0 -10px 30px rgba(0, 0, 0, .28); }

	/* Header */
	.tr-header__inner { height: 76px; padding: 0 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; position: relative; }
	.tr-nav { display: none; }
	.tr-menubtn, .tr-cartbtn { display: flex; }
	.tr-menubtn { justify-self: start; }
	.tr-header .tr-logo { justify-self: center; }
	.tr-header__actions { display: flex; align-items: center; gap: 8px; justify-self: end; }
	.tr-search--phone { display: block; }
	.tr-search--phone .tr-search__toggle {
		width: 44px; height: 44px; margin: 0; border: 1px solid rgba(240, 214, 140, .5); color: var(--gold-light); box-shadow: 0 0 1px .5px rgba(240, 214, 140, .3);
	}
	.tr-search--phone.is-open .tr-search__toggle { background: rgba(240, 214, 140, .16); }
	/* Phone: the field drops down under the header bar, full width. */
	.tr-search--phone .tr-search__form {
		position: absolute; left: 12px; right: 12px; top: calc(100% - 2px); height: 50px; padding: 0 6px 0 8px;
		background: var(--parchment); border-color: var(--gold); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); transform: translateY(-8px);
	}
	.tr-search--phone.is-open .tr-search__form { transform: none; }
	.tr-search--phone .tr-search__input { color: var(--ink); font-size: 16px; }
	.tr-search--phone .tr-search__input::placeholder { color: var(--muted); }
	.tr-search--phone .tr-search__go { color: var(--gold-ink); }
	.tr-search--phone .tr-search__close { color: var(--ink); }
	/* Larger logo for legibility; width-based so it never crowds the buttons on narrow phones (≈70px tall at 390px). */
	.tr-header .tr-logo img, .tr-menu__top .tr-logo img { width: clamp(128px, 38vw, 156px); height: auto; }
	.tr-menu__top { height: 76px; }
	.tr-header .tr-logo:hover img { transform: none; }

	/* Footer */
	.tr-footer { padding: 36px 24px 28px; }
	.tr-footer__inner { gap: 26px; }
	.tr-footer__top { flex-direction: column; gap: 26px; }
	.tr-footer__name { font-size: 30px; }
	.tr-footer__tag, .tr-footer__cols { display: none; }
	.tr-footer .tr-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; column-gap: 20px; width: 100%; }
	.tr-footer .tr-footer__social-phone { display: flex; }
	.tr-footer__bottom { flex-wrap: nowrap; gap: 12px; padding-top: 20px; }
	.tr-footer__copy { font-size: 12px; }
	.tr-paylogos { gap: 8px; }
	.tr-paylogos img { height: 18px; }

	/* Type */
	.tr-pagetitle { font-size: 40px; }
	.tr-pagetitle--xl, .tr-pagetitle--band { font-size: 44px; }
	.tr-pagetitle--band { text-shadow: 0 3px 16px rgba(27, 26, 74, .7); }
	.tr-pagetitle--legal { font-size: 36px; }
	.tr-pagetitle--md { font-size: 40px; }
	.tr-h2 { font-size: 36px; }
	.tr-h3 { font-size: 30px; }
	.tr-label--spot { font-size: 13px; max-width: none; }
	.tr-label--spot .tr-label__line { width: 56px; }
	.tr-series { font-size: 12px; }
	.tr-booktitle { font-size: 48px; letter-spacing: 0; }
	.tr-booktitle--product { font-size: 52px; }
	.tr-tagline { font-size: 22px; }
	.tr-byline { font-size: 15px; }
	.tr-desc { gap: 14px; }
	.tr-desc p, .tr-desc li { font-size: 16px; }
	.tr-textlink { font-size: 12px; padding-bottom: 2px; }
	.tr-textlink--gold { font-size: 13px; }
	.tr-ornament { font-size: 13px; gap: 16px; width: calc(100% - 48px); }
	.tr-rulehead { gap: 12px; padding: 0 24px; }
	.tr-rulehead__title { font-size: 30px; }
	.tr-rulehead__rule { min-width: 16px; margin: 6px 0 0; }

	/* Hero */
	.tr-hero {
		height: 560px; flex-direction: column; justify-content: flex-end;
		background-image: linear-gradient(180deg, rgba(27, 26, 74, .7) 0%, rgba(27, 26, 74, 0) 16%, rgba(27, 26, 74, 0) 32%, rgba(27, 26, 74, .88) 62%, var(--navy) 88%), var(--bg-sm);
		background-size: auto 100%; background-position: 20% top;
	}
	.tr-hero__inner { padding: 0 20px 70px; gap: 14px; }
	.tr-hero__name { margin-bottom: 40px; }
	.tr-hero__name img { width: 260px; }
	.tr-hero__genre { margin-top: -6px; gap: 12px; font-size: 23px; }
	.tr-hero__genre span { width: 44px; }
	.tr-hero__formats { column-gap: 12px; row-gap: 4px; gap: 4px 12px; font-size: 12px; letter-spacing: .22em; }
	.tr-sub--hero { margin-top: 4px; }

	/* Subscribe pill */
	.tr-sub { max-width: none; gap: 10px; }
	.tr-sub__pill { gap: 4px; padding: 5px; }
	.tr-sub__input { height: 46px; padding: 0 16px; }
	.tr-sub__btn { --h: 46px; padding: 0 20px; }

	/* Spotlight */
	.tr-spotlight { padding: 52px 24px 56px; overflow: visible; }
	.tr-spotlight::before { display: none; }
	.tr-spot { display: flex; flex-direction: column; gap: 14px; }
	.tr-spot__cover { width: 220px; margin-bottom: 22px; align-self: center; }
	.tr-spot__toplabel { margin-bottom: 8px; }
	.tr-spot__cover img { box-shadow: 0 24px 46px rgba(60, 38, 10, .32); }
	.tr-spot__text { gap: 14px; }
	.tr-spotlight .tr-spot__actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 6px; }
	.tr-spotlight .tr-spot__actions .tr-btn { display: flex; width: 100%; }
	.tr-spotlight .tr-spot__actions .tr-btn--outline { --h: 50px; font-size: 15px; }

	/* Rows → horizontal scrollers */
	.tr-latest { padding: 48px 0 52px; }
	.tr-latest .tr-wrap { gap: 22px; }
	.tr-sechead { padding: 0 24px; flex-wrap: nowrap; gap: 12px; }
	.tr-scroller { margin: 0 24px; overflow: hidden; border-radius: 4px; }
	.tr-row--5, .tr-row--4 {
		display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 8px; scroll-snap-type: x mandatory; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent);
	}
	.tr-row--5::-webkit-scrollbar, .tr-row--4::-webkit-scrollbar { display: none; }
	.tr-row .tr-book { flex: 0 0 150px; scroll-snap-align: start; gap: 8px; }
	.tr-row .tr-book:last-child { margin-right: 40px; }
	.tr-row .tr-book__cover { width: 150px; box-shadow: 0 12px 26px rgba(60, 38, 10, .26); }
	.tr-row .tr-book:hover img { transform: none; }
	.tr-book--row .tr-book__series { display: none; }
	.tr-row .tr-book__title { font-size: 19px; }
	.tr-book--related .tr-book__series { font-size: 11px; }
	.tr-book--related .tr-book__title { font-size: 20px; }
	.tr-row .tr-book__price, .tr-book--shop .tr-book__price { display: none; }
	.tr-row .tr-book__buy .tr-btn { display: flex; width: 100%; --h: 40px; }
	.tr-book--related .tr-book__buy .tr-btn { --h: 38px; }
	.tr-badge { top: 8px; left: 8px; font-size: 10px; letter-spacing: .14em; padding: 4px 8px; }

	/* Values */
	.tr-values { padding: 48px 24px 52px; }
	.tr-values__grid { gap: 28px; }
	.tr-value { gap: 16px; }
	.tr-value__icon { width: 54px; height: 54px; }
	.tr-value__icon svg { width: 24px; height: 24px; }
	.tr-value__text { gap: 5px; padding-top: 0; }
	.tr-value h3 { font-size: 24px; }
	.tr-value p { font-size: 15px; line-height: 1.55; }

	/* Plate */
	.tr-plate-wrap { padding: 0 16px 40px; }
	.tr-plate {
		min-height: 360px; border-radius: 18px; padding: 40px 18px; box-shadow: 0 0 0 1px var(--gold-mid), 0 18px 40px rgba(60, 38, 10, .25);
		background-image: linear-gradient(180deg, rgba(27, 26, 74, .45) 0%, rgba(27, 26, 74, .58) 100%), var(--bg-sm); background-position: 30% center;
	}
	.tr-plate__inner { gap: 12px; }
	.tr-plate__eyebrow { font-size: 11px; letter-spacing: .2em; }
	.tr-plate__title { font-size: 38px; text-shadow: 0 3px 14px rgba(27, 26, 74, .55); }
	.tr-plate .tr-sub { margin-top: 6px; }

	/* Shop */
	/* Banner drawn larger on phones; anchored right so the reading mushroom stays in view and the left end is cropped. */
	.tr-shopband { padding: 36px 24px calc(170vw * 107 / 1920 + 20px); background-image: var(--bg); background-size: 170% auto; background-position: right bottom; }
	.tr-shopgrid-section { padding: 28px 20px 44px; }
	.tr-shopband--search { padding-bottom: 28px; background-image: none; }
	.tr-searchhead { gap: 16px; }
	.tr-searchbar { padding-left: 16px; }
	.tr-searchbar__input { height: 44px; }
	.tr-searchbar__btn { --h: 44px; padding: 0 18px; }
	.tr-searchempty__title { font-size: 28px; }
	.tr-grid3 { column-gap: 16px; row-gap: 32px; }
	.tr-book--shop { gap: 8px; }
	.tr-book--shop .tr-book__cover { border-radius: 3px; box-shadow: 0 12px 26px rgba(60, 38, 10, .28); }
	.tr-book--shop .tr-book__meta { gap: 8px; }
	.tr-book--shop .tr-book__series { font-size: 10px; letter-spacing: .1em; }
	.tr-book--shop .tr-book__title { font-size: 21px; line-height: 1.1; }
	.tr-book--shop .tr-book__buy .tr-btn { display: flex; width: 100%; --h: 38px; font-size: 13px; padding: 0 12px; margin-top: 2px; }

	/* Product */
	.tr-buy-section { padding: 32px 24px 48px; }
	.tr-buy { display: flex; flex-direction: column; gap: 14px; }
	.tr-buy__side { display: contents; }
	.tr-buy__cover { width: 240px; align-self: center; margin-bottom: 26px; box-shadow: 0 30px 60px rgba(60, 38, 10, .28); }
	.tr-buy__main { order: 1; gap: 14px; padding-top: 0; }
	.tr-details { order: 2; margin-top: 10px; max-width: none; border-bottom: 1px solid rgba(122, 85, 24, .18); }
	.tr-details > div { padding: 14px 0; border-top-color: rgba(122, 85, 24, .18); gap: 12px; }
	.tr-buyform { gap: 14px; }
	.tr-formats { margin-top: 6px; }
	.tr-formats legend { padding-bottom: 10px; font-size: 11px; }
	.tr-formats__grid { gap: 10px; }
	.tr-format { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 0; padding: 14px 16px; }
	.tr-format__row { grid-column: 1; grid-row: 1; }
	.tr-format__name { font-size: 15px; }
	.tr-format__price { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }
	.tr-format.is-selected .tr-format__note { grid-column: 1; grid-row: 2; padding-left: 23px; font-size: 12px; }
	a.tr-format .tr-format__note, .tr-format.is-soon .tr-format__note { display: none; }
	.tr-format__shop { grid-column: 2; grid-row: 1; font-size: 14px; }
	.tr-buyform .tr-btn--xl { --h: 56px; font-size: 16px; margin-top: 6px; }
	.tr-buy__main > .tr-btn--outline { --h: 50px; font-size: 15px; }
	.tr-lockline--buy { justify-content: center; font-size: 13px; line-height: 1.6; text-align: center; }
	.tr-lockline--buy svg { display: none; }
	.tr-related { padding: 32px 0 48px; }
	.tr-related__inner { gap: 28px; }
	.tr-related__group { gap: 18px; }

	/* Sample */
	.tr-readbar { background: rgba(246, 237, 220, .95); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.admin-bar .tr-readbar { top: 46px; }
	.tr-readbar__inner { height: 60px; padding: 0 12px; display: flex; justify-content: space-between; gap: 8px; }
	.tr-readbar__back { width: 44px; height: 44px; justify-content: center; }
	.tr-readbar__back svg { width: 20px; height: 20px; }
	.tr-readbar__title { font-size: 20px; }
	.tr-tag { font-size: 10px; margin-left: 4px; }
	.tr-readbar__tools { gap: 4px; }
	.tr-size { width: 34px; height: 34px; }
	.tr-size--down { font-size: 14px; }
	.tr-size--up { font-size: 19px; }
	.tr-reader { padding: 52px 24px 40px; }
	.tr-read { font-size: calc(20px * var(--tr-scale)); line-height: 1.6; }
	.tr-read__head { gap: 12px; margin-bottom: 36px; }
	.tr-read__head .tr-label { font-size: 12px; gap: 12px; }
	.tr-read__head .tr-label__line { width: 36px; }
	.tr-read__title { font-size: 40px; }
	.tr-stat { padding: 14px 16px; }
	.tr-read__fin { margin-top: 28px; font-size: 16px; }
	.tr-endcard { padding: 8px 16px 40px; }
	.tr-endcard__card { display: grid; justify-items: center; text-align: center; padding: 32px 20px; gap: 14px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
	.tr-endcard__text { display: contents; }
	.tr-endcard__cover { grid-row: 2; width: 120px; box-shadow: 0 16px 32px rgba(60, 38, 10, .3); }
	.tr-endcard .tr-label--left { justify-content: center; font-size: 12px; gap: 12px; }
	.tr-endcard .tr-label--left .tr-label__line { display: block; width: 40px; }
	.tr-endcard__text > .tr-label { grid-row: 1; }
	.tr-endcard__title { grid-row: 3; font-size: 34px; line-height: 1.05; }
	.tr-endcard__actions { grid-row: 4; width: 100%; margin-top: 0; }
	.tr-endcard__actions .tr-btn { display: flex; width: 100%; }
	.tr-endcard__note { grid-row: 5; font-size: 13px; margin-top: -8px; }
	.tr-endcard__text > .tr-textlink { grid-row: 6; align-self: center; font-size: 12px; margin-top: 6px; }

	.tr-sdlg { inset: 44px 0 0 0; transform: none; width: 100%; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 50px rgba(10, 8, 40, .4); }
	.tr-sdlg[open] { animation: tr-sheet .5s var(--ease) both; }
	@keyframes tr-sheet { from { transform: translateY(100%); } to { transform: none; } }
	.tr-sdlg__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 8px auto 0; }
	.tr-sdlg__barrow { height: 52px; padding: 0 12px 0 20px; gap: 8px; }
	.tr-sdlg__barrow .tr-readbar__tools { gap: 4px; }
	.tr-sdlg .tr-x { width: 36px; height: 36px; margin-left: 4px; }
	.tr-sdlg .tr-reader { padding: 36px 24px 16px; }
	.tr-sdlg .tr-read { font-size: calc(20px * var(--tr-scale)); }
	.tr-sdlg .tr-read__head { gap: 10px; margin-bottom: 28px; }
	.tr-sdlg .tr-read__title { font-size: 36px; }
	.tr-sdlg .tr-endcard { padding: 0 16px 24px; }
	.tr-sdlg .tr-endcard__card { padding: 28px 20px; gap: 14px; }
	.tr-sdlg .tr-endcard__cover { width: 110px; }
	.tr-sdlg .tr-endcard__title { font-size: 32px; }
	.tr-sdlg__foot {
		display: block; flex: 0 0 auto; padding: 12px 16px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(122, 85, 24, .16); background: var(--parchment);
		position: relative; box-shadow: 0 -18px 22px -4px rgba(246, 237, 220, .95);
	}
	/* The end card has its own Add to cart, so the sticky one steps aside there. */
	.tr-sdlg__panel.tr-at-end .tr-sdlg__foot { display: none !important; }
	.tr-sdlg__panel:not(.is-loading)::after { display: none; }
	.tr-sdlg__bar { touch-action: none; }
	.tr-sdlg__foot .tr-btn { --h: 52px; }

	/* Bands */
	.tr-band {
		min-height: 0; height: 210px; padding: 0 24px 22px; align-items: flex-end;
		background-image: linear-gradient(180deg, rgba(27, 26, 74, .15) 0%, rgba(27, 26, 74, .15) 40%, rgba(27, 26, 74, .72) 100%), var(--bg-sm);
		background-position: 86% center;
	}
	.tr-band--contact { background-position: 78% center; }
	.tr-sheet:has(> .tr-band) { --tr-band-cover: 200px; }

	/* FAQ */
	.tr-faq { padding: 12px 24px 36px; }
	.tr-faq .tr-wrap { gap: 12px; }
	.tr-faq__row { display: flex; flex-direction: column; gap: 20px; padding: 28px 0; }
	.tr-faq__cat { gap: 10px; }
	.tr-faq__cat h2 { font-size: 30px; }
	.tr-faq__catline { width: 48px; }
	.tr-faq__qa { row-gap: 20px; }
	.tr-faq__item h3 { font-size: 22px; }
	.tr-faq__a p, .tr-faq__a li { font-size: 15px; }
	.tr-wonder { flex-direction: column; align-items: stretch; gap: 14px; padding: 24px 20px; }
	.tr-wonder__title { font-size: 26px; }
	.tr-wonder__sub { font-size: 14px; }
	.tr-wonder .tr-btn { display: flex; width: 100%; }

	/* Contact */
	.tr-contact { padding: 36px 16px 40px; }
	.tr-contact__inner { gap: 26px; }
	.tr-contact__intro p { font-size: min(30px, 7.2vw); padding: 0; }
	.tr-contactform { padding: 24px 20px; gap: 16px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); }
	.tr-two { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tr-lbl { font-size: 11px; }
	.tr-field { height: 50px; padding: 0 16px; }
	.tr-field--area { height: auto; padding: 12px 16px; }
	.tr-contactform__send { align-self: stretch; --h: 52px; }

	/* Legal */
	.tr-legal { padding: 36px 24px 44px; }
	.tr-prose h2 { font-size: 24px; }
	.tr-prose p, .tr-prose ul, .tr-prose ol { font-size: 15px; line-height: 1.7; }
	.tr-prose p.tr-caps { font-size: 13px; }

	/* 404 */
	.tr-404 { padding: 64px 24px 56px; }
	.tr-404__num { font-size: 88px; }
	.tr-404__title { font-size: 32px; }
	.tr-404__text { font-size: 16px; }
	.tr-404__actions { flex-direction: column; width: 100%; }
	.tr-404__actions .tr-btn { display: flex; width: 100%; }
}

/* Very narrow phones */
@media (max-width: 360px) {
	.tr-booktitle { font-size: 42px; }
	.tr-hero__formats { letter-spacing: .16em; }
	.tr-sub__btn { padding: 0 16px; }
}

/* Links inside heading rows sit on the baseline like the boards. */
.tr-rulehead .tr-textlink, .tr-sechead .tr-textlink { align-self: auto; }
.tr-legal .tr-prose :is(.wp-block-group, .wp-block-column, .wp-block-cover, .wp-block-uagb-container) * { margin-block: 0; }
/* Builder layouts centre their children (auto side margins, align-items: center); keep everything on the column's left edge. */
.tr-legal .tr-prose :is(.wp-block-group, .wp-block-group__inner-container, .wp-block-column, .wp-block-cover__inner-container, .wp-block-uagb-container, .uagb-container-inner-blocks-wrap, [class*="uagb-block-"], .has-background) > * {
	margin-inline: 0 !important; max-width: none !important; align-self: stretch !important;
}
.tr-legal .tr-prose :is(.wp-block-group, .wp-block-group__inner-container, .wp-block-column, .wp-block-cover__inner-container, .wp-block-uagb-container, .uagb-container-inner-blocks-wrap, [class*="uagb-block-"], .has-background) { align-items: stretch !important; justify-content: flex-start !important; }
.tr-legal .tr-prose :is(h1, h2, h3, h4, h5, h6) { text-align: left !important; }
