/* ==========================================================================
   Three Minutes — theme stylesheet
   Council-chamber placard: condensed heavy headings, plain body text,
   one red accent (coral on navy). Light + automatic dark mode.
   ========================================================================== */

@font-face { font-family: Archivo; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- 1. Tokens ---------------------------------------------------- */
:root,
.tm-signup,
.tm-lightbox {
	--bg: #F6F6F4;
	--panel: #FFFFFF;
	--soft: #ECEEEA;
	--text: #13202A;
	--text-2: #26333D;
	--muted: #4F5B64;
	--rule: #D5D9DB;
	--rule-strong: #A9B3B8;
	--accent: #B8281B;
	--accent-hover: #962318;
	--on-accent: #FFFFFF;
	--coral: #FF8878;
	--navy: #0F2B3A;
	--navy-deep: #0B2330;
	--navy-rule: #36505C;
	--on-navy: #F6F6F4;
	--on-navy-muted: #BFCCD2;
	--card-bg: #0F2B3A;
	--card-hover: #1A3C4B;
	--field-border: #B9C2C6;
	--ok-bg: #E4EDE5;
	--ok-line: #3F7451;
	--err-bg: #F6E4E0;
	--err-text: #8F261E;
	color: var(--text);
}
:root {
	--display: Archivo, Impact, "Arial Narrow", sans-serif;
	--sans: "Public Sans", Arial, sans-serif;
	--tm-shell: 1120px;
	--gutter: 20px;
	--prose: 680px;
	--header-h: 68px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 700px) { :root { --gutter: 36px; } }
@media (min-width: 1150px) { :root { --gutter: 56px; --header-h: 84px; } }

@media (prefers-color-scheme: dark) {
	body.tm-scheme-auto,
	body.tm-scheme-auto .tm-signup,
	body.tm-scheme-auto .tm-lightbox {
		--bg: #0E161C;
		--panel: #15212A;
		--soft: #15212A;
		--text: #EDF1F2;
		--text-2: #D6DEE1;
		--muted: #A5B1B8;
		--rule: #26343E;
		--rule-strong: #4A5B66;
		--accent: #FF8374;
		--accent-hover: #FF9D91;
		--on-accent: #0E161C;
		--navy: #0A1319;
		--navy-deep: #070E12;
		--navy-rule: #26343E;
		--card-bg: #15212A;
		--card-hover: #1C2B36;
		--field-border: #4A5B66;
		--ok-bg: #16281D;
		--ok-line: #6FBF8A;
		--err-bg: #2C1714;
		--err-text: #FFB3A9;
		color: var(--text);
	}
	body.tm-scheme-auto { color-scheme: dark; }
}

/* Navy context: hero, dark sections, page header. Accent becomes coral. */
.is-dark,
.tm-hero,
.tm-page-header,
.tm-card--dark {
	--text: var(--on-navy);
	--text-2: #DCE4E7;
	--muted: var(--on-navy-muted);
	--rule: var(--navy-rule);
	--rule-strong: #6E838D;
	--accent: var(--coral);
	--accent-hover: #FFA79B;
	--on-accent: #0F2B3A;
	--soft: #183847;
	--field-border: #6E838D;
	color: var(--text);
}

/* ---------- 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--sans);
	font-size: 1.1562rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
@media (min-width: 1150px) { body { font-size: 1.1875rem; } }
body.tm-locked { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--display);
	font-stretch: 82%;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.025em;
	color: var(--text);
	text-wrap: balance;
	word-spacing: .05em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.125rem, 4.1vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.12; }
h4 { font-size: 1.375rem; letter-spacing: -.01em; line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
strong, b { font-weight: 650; }
::selection { background: var(--coral); color: #0F2B3A; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.is-dark :focus-visible, .tm-hero :focus-visible, .tm-page-header :focus-visible { outline-color: var(--coral); }
[hidden] { display: none !important; }
hr, .wp-block-separator { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; opacity: 1; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--panel); color: var(--text); padding: 14px 22px; font-weight: 650; box-shadow: 0 8px 30px #0003; }
.skip-link:focus { top: 16px; }

.shell { width: min(var(--tm-shell), 100% - 2 * var(--gutter)); margin-inline: auto; }

.tm-icon { width: 20px; height: 20px; stroke-width: 1.6; flex-shrink: 0; }

/* ---------- 3. Buttons & links ------------------------------------------ */
.tm-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	min-height: 50px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 0;
	background: var(--accent);
	color: var(--on-accent);
	font-family: var(--sans);
	font-size: 1.0312rem;
	font-weight: 650;
	line-height: 1.3;
	letter-spacing: .01em;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.tm-btn:hover,
.wp-block-button__link:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-2px); }
.tm-btn .tm-icon { width: 18px; height: 18px; }
.wp-block-button__link::after {
	content: "";
	width: 18px; height: 18px; flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--tm-arrow) center / contain no-repeat;
	mask: var(--tm-arrow) center / contain no-repeat;
}
:root {
	--tm-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E");
	--tm-diag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5M7 5h12v12'/%3E%3C/svg%3E");
	--tm-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 11 4v8c0 7-11 14-11 14S5 22 5 15V7l11-4Z'/%3E%3Cpath d='m11 16 3 3 7-7'/%3E%3C/svg%3E");
	--tm-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E");
}
.tm-btn--red { background: var(--accent); color: var(--on-accent); }
.wp-block-button.is-style-tm-coral .wp-block-button__link,
.tm-btn--coral { background: var(--coral); color: #0F2B3A; }
.wp-block-button.is-style-tm-coral .wp-block-button__link:hover,
.tm-btn--coral:hover { background: #FFA79B; color: #0F2B3A; }
.wp-block-button.is-style-tm-outline .wp-block-button__link,
.tm-btn--outline { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.wp-block-button.is-style-tm-outline .wp-block-button__link:hover,
.tm-btn--outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.is-dark .tm-btn--outline:hover,
.tm-hero .tm-btn--outline:hover,
.is-dark .wp-block-button.is-style-tm-outline .wp-block-button__link:hover { background: #294653; color: #fff; border-color: #8BA0A9; }

/* Text link with diagonal arrow (block style + .tm-link). */
.wp-block-button.is-style-tm-link .wp-block-button__link,
.tm-link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 0;
	padding: 0 0 6px;
	background: none;
	color: var(--text);
	border: 0;
	border-bottom: 1px solid var(--rule-strong);
	font-size: 1.0312rem;
	font-weight: 650;
	line-height: 1.5;
	text-decoration: none;
	transition: color .2s, gap .2s var(--ease), border-color .2s;
}
.wp-block-button.is-style-tm-link .wp-block-button__link::after { -webkit-mask-image: var(--tm-diag); mask-image: var(--tm-diag); }
.wp-block-button.is-style-tm-link .wp-block-button__link:hover,
.tm-link:hover { background: none; color: var(--accent); gap: 22px; transform: none; border-color: currentColor; }
.tm-link .tm-icon { width: 18px; height: 18px; }

.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }

/* ---------- 4. Header ----------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--rule);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 28px;
	padding-inline: max(var(--gutter), calc((100% - var(--tm-shell) - 160px) / 2));
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand__mark { width: 46px; height: 46px; }
.brand__ring { stroke: var(--accent); }
.brand__text { font-family: var(--display); font-stretch: 80%; font-weight: 850; font-size: 1.3125rem; line-height: 1.1; letter-spacing: .01em; }
.brand__text small { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: .24em; margin-top: 4px; }
.brand__logo { max-height: 52px; width: auto; }

.primary-nav { margin-left: auto; height: 100%; }
.primary-nav .menu { display: flex; align-items: center; gap: 30px; height: 100%; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.primary-nav a { position: relative; display: flex; align-items: center; height: 100%; font-size: 1.0312rem; font-weight: 550; text-decoration: none; color: var(--text); }
.primary-nav .menu > li > a::after { content: ""; position: absolute; left: 0; bottom: calc(50% - 16px); height: 2px; width: 0; background: var(--accent); transition: width .2s var(--ease); }
.primary-nav .menu > li > a:hover::after,
.primary-nav .menu > li > a.is-active::after,
.primary-nav .menu > .current-menu-item > a::after,
.primary-nav .menu > .current-menu-ancestor > a::after { width: 100%; }
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 230px; margin: 0; padding: 10px 0; list-style: none;
	background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 18px 40px #0f2b3a1f;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { height: auto; padding: 9px 18px; font-size: 1.0312rem; }
.primary-nav .sub-menu a:hover { color: var(--accent); }
.header-cta { min-height: 44px; padding: 11px 18px; font-size: 0.9688rem; gap: 16px; }
.header-cta .tm-icon { width: 16px; height: 16px; }

.menu-toggle {
	display: none; margin-left: auto; align-items: center; gap: 10px;
	min-height: 44px; padding: 0 2px 0 10px; background: none; border: 0;
	font-size: 1.0312rem; font-weight: 650; color: var(--text);
}
.menu-toggle__bars { position: relative; width: 24px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto; overscroll-behavior: contain;
	background: var(--bg); border-bottom: 1px solid var(--rule);
	padding: 8px var(--gutter) 28px;
	box-shadow: 0 30px 40px #0f2b3a1a;
}
.mobile-panel .menu { list-style: none; margin: 0; padding: 0; }
.mobile-panel .menu a {
	display: flex; align-items: center; min-height: 56px; padding: 6px 0;
	border-bottom: 1px solid var(--rule); text-decoration: none;
	font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: 1.625rem; letter-spacing: -.01em;
}
.mobile-panel .menu a.is-active, .mobile-panel .current-menu-item > a { color: var(--accent); }
.mobile-panel .sub-menu { list-style: none; margin: 0; padding: 0 0 0 18px; }
.mobile-panel .sub-menu a { font-family: var(--sans); font-weight: 600; font-size: 1.1562rem; min-height: 48px; }
.mobile-panel__cta { width: 100%; margin-top: 22px; justify-content: space-between; }

@media (max-width: 1023px) {
	.primary-nav, .site-header__inner > .header-cta { display: none; }
	.menu-toggle { display: inline-flex; }
}
@media (min-width: 1024px) { .mobile-panel { display: none !important; } }
@media (max-width: 480px) {
	.brand__mark { width: 40px; height: 40px; }
	.brand__text { font-size: 1.1562rem; }
	.brand__text small { font-size: 0.7188rem; letter-spacing: .2em; }
	.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- 5. Page content flow ----------------------------------------- */
.site-main:focus { outline: none; }
.tm-content { padding-bottom: 88px; }
.tm-content:has(> .tm-section:last-child),
.tm-content:has(> .tm-hero:only-child) { padding-bottom: 0; }
.tm-content > * { width: min(var(--prose), 100% - 2 * var(--gutter)); margin-inline: auto; }
.tm-content > .alignwide,
.tm-content > .tm-cards,
.tm-content > .tm-stats,
.tm-content > .tm-acc,
.tm-content > .tm-wall,
.tm-content > .wp-block-columns,
.tm-content > .tm-video,
.tm-content > .tm-list,
.tm-content > .tm-search { width: min(var(--tm-shell), 100% - 2 * var(--gutter)); }
.tm-content > .alignfull,
.tm-content > .tm-section,
.tm-content > .tm-hero,
.tm-content > .tm-page-header { width: 100%; max-width: none; }
.tm-content > .tm-acc,
.tm-content > .tm-vtimeline { width: min(820px, 100% - 2 * var(--gutter)); }
.tm-content > * + * { margin-top: 1.3em; }
.tm-content > .tm-vtimeline:first-child, .tm-content > .tm-list:first-child { margin-top: 0; }
.tm-content > .tm-page-header:first-child + * { margin-top: 64px; }
.tm-content > * + h2, .tm-content > * + .wp-block-heading:is(h2) { margin-top: 2.1em; }
.tm-content > * + h3 { margin-top: 1.8em; }
.tm-content > * + .tm-section, .tm-content > .tm-section + * { margin-top: 0; }
.tm-content > * + .tm-section:not(.tm-section--paper), .tm-content > p + .tm-section { margin-top: 72px; }
.tm-content > .tm-section + .tm-section { margin-top: 0; }
.tm-content > p, .tm-content > ul, .tm-content > ol { color: var(--text-2); }
.tm-content > h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }

/* Lists in prose */
.tm-content ul:not([class*="tm-"]):not(.is-style-tm-tags):not(.is-style-tm-ruled),
.tm-section__body ul.wp-block-list:not([class*="is-style"]),
.tm-content ol.wp-block-list { padding-left: 1.2em; }
.tm-content li + li, .tm-section__body li + li { margin-top: .45em; }
.wp-block-list li::marker { color: var(--accent); }

/* ---------- 6. Block styles ---------------------------------------------- */
.is-style-tm-eyebrow {
	font-size: 0.9062rem !important;
	line-height: 1.5;
	font-weight: 650;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent) !important;
}
.is-style-tm-lead {
	font-size: clamp(1.3125rem, 1.7vw, 1.5625rem) !important;
	line-height: 1.45;
	letter-spacing: -.01em;
	color: var(--text) !important;
}
.is-style-tm-note {
	position: relative;
	padding-left: 18px;
	font-size: 1.0312rem;
	color: var(--muted);
}
.is-style-tm-note::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.is-style-tm-source { font-size: 0.9688rem !important; line-height: 1.75; color: var(--muted) !important; max-width: 860px; }
.is-style-tm-display { font-size: clamp(2.75rem, 5.4vw, 4.75rem) !important; letter-spacing: -.035em; }
.is-style-tm-plain { font-family: var(--sans); font-stretch: 100%; font-weight: 700; letter-spacing: -.01em; }

.wp-block-group.is-style-tm-callout {
	position: relative;
	padding: 20px 22px 20px 62px;
	background: var(--soft);
	border-left: 3px solid var(--accent);
	font-size: 1.0938rem;
}
.wp-block-group.is-style-tm-callout::before {
	content: ""; position: absolute; left: 20px; top: 20px; width: 26px; height: 26px;
	background: var(--accent); -webkit-mask: var(--tm-shield) center / contain no-repeat; mask: var(--tm-shield) center / contain no-repeat;
}
.wp-block-group.is-style-tm-callout p { color: var(--text-2); }
.wp-block-group.is-style-tm-callout > * + * { margin-top: .6em; }
.wp-block-group.is-style-tm-panel { background: var(--panel); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 36px); }
.wp-block-group.is-style-tm-panel > * + * { margin-top: 1em; }

.wp-block-list.is-style-tm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-inline: 0; margin-bottom: 0; }
.wp-block-list.is-style-tm-tags li { margin: 0; padding: 7px 11px; border: 1px solid var(--rule-strong); font-size: 0.875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.wp-block-list.is-style-tm-ruled { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.wp-block-list.is-style-tm-ruled li { margin: 0; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--rule); position: relative; }
.wp-block-list.is-style-tm-ruled li::before { content: ""; position: absolute; left: 2px; top: 1.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.wp-block-quote { margin-inline: 0; margin-bottom: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); }
.tm-content > .wp-block-quote { margin-inline: auto; }
.wp-block-quote p { font-family: var(--display); font-stretch: 82%; font-weight: 750; font-size: clamp(1.625rem, 2.6vw, 2.125rem); line-height: 1.15; letter-spacing: -.02em; color: var(--text); }
.wp-block-quote cite { display: block; margin-top: 14px; font-size: 0.9688rem; font-style: normal; color: var(--muted); letter-spacing: .06em; }

/* Core columns: editorial layouts */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px 72px; margin: 0; }
.wp-block-columns > .wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > * + * { margin-top: 18px; }
.wp-block-column > * + .wp-block-buttons { margin-top: 26px; }
.wp-block-column > * + .tm-emblem,
.wp-block-column > * + .tm-media,
.wp-block-column > * + .wp-block-list.is-style-tm-tags { margin-top: 30px; }
.wp-block-column > .tm-media + .wp-block-group { margin-top: 20px; }
.wp-block-columns.are-vertically-aligned-bottom { align-items: flex-end; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-columns.is-style-tm-split { gap: 28px 90px; }
.wp-block-columns.is-style-tm-heading-row { justify-content: space-between; align-items: flex-end; gap: 22px 70px; }
.wp-block-columns.is-style-tm-heading-row > .wp-block-column:last-child { flex: 0 1 400px; }
@media (max-width: 781px) {
	.wp-block-columns { flex-direction: column; flex-wrap: nowrap; }
	.wp-block-columns > .wp-block-column { flex-basis: auto !important; width: 100%; }
	.wp-block-columns.is-style-tm-heading-row { align-items: stretch; }
	.wp-block-columns.is-style-tm-heading-row > .wp-block-column:last-child { flex-basis: auto; }
}

/* Body copy limits (~65 characters). */
.tm-section__body p, .tm-content > p { max-width: 65ch; }
.tm-section__body p.is-style-tm-source { max-width: 860px; }

/* ---------- 7. Hero ------------------------------------------------------- */
.tm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.tm-hero__photo { position: absolute; top: 0; bottom: 62px; left: 45%; right: 0; z-index: 0; background: #1b3946; }
.tm-hero__img { width: 100%; height: 100%; object-fit: cover; }
.tm-hero__photo::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 78%, transparent) 9%, color-mix(in srgb, var(--navy) 12%, transparent) 40%, color-mix(in srgb, var(--navy) 4%, transparent) 80%),
		linear-gradient(0deg, color-mix(in srgb, var(--navy-deep) 80%, transparent), transparent 48%);
}
.tm-hero__grain {
	position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.9' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.tm-hero__inner { position: relative; z-index: 2; min-height: 690px; padding: 104px 0 170px; }
.tm-hero__copy { max-width: 640px; }
.tm-hero__copy > * + * { margin-top: 26px; }
.tm-hero__copy .is-style-tm-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #E2E9EB !important; font-size: 0.875rem !important; }
.tm-hero__copy .is-style-tm-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }
.tm-hero h1 {
	word-spacing: .07em;
	font-size: clamp(3.25rem, 6.4vw, 6.25rem);
	font-stretch: 75%;
	font-weight: 850;
	line-height: 1;
	letter-spacing: -.035em;
	color: var(--on-navy);
}
.tm-hero h1 em { color: var(--coral); }
.tm-hero__copy p:not(.is-style-tm-eyebrow) { max-width: 470px; color: #D3DCE0; font-size: 1.1875rem; line-height: 1.75; }
.tm-hero__copy .wp-block-buttons { margin-top: 30px; }
.tm-hero .wp-block-button.is-style-tm-link .wp-block-button__link { color: var(--on-navy); border-color: #71818A; }
.tm-hero .wp-block-button.is-style-tm-link .wp-block-button__link:hover { color: var(--coral); }

.tm-hero__aside { position: absolute; right: 0; bottom: 48px; width: 210px; display: flex; flex-direction: column; align-items: center; gap: 18px; z-index: 3; }
.tm-timer { position: relative; width: 13.5rem; height: 13.5rem; display: grid; place-items: center; border-radius: 50%; background: rgb(13 40 53 / .9); color: var(--on-navy); }
.tm-timer__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.tm-timer__ring circle { fill: none; stroke: #647681; stroke-opacity: .5; stroke-width: 3; }
.tm-timer__ring .tm-timer__elapsed { stroke: var(--coral); stroke-opacity: 1; stroke-dasharray: 443 591; stroke-linecap: round; }
.tm-timer__content { position: relative; display: flex; flex-direction: column; align-items: center; width: 74%; text-align: center; }
.tm-timer__label { font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; color: #D6DFE2; }
.tm-timer__value { font-family: var(--display); font-stretch: 80%; font-weight: 650; font-size: 3.75rem; line-height: 1.04; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.tm-timer__rule { width: 20px; height: 1px; background: var(--coral); margin: 8px 0; }
.tm-timer__caption { font-size: 0.7188rem; font-weight: 600; letter-spacing: .08em; line-height: 1.6; color: #D6DFE2; }
.tm-hero__credit { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 0.9062rem; line-height: 1.6; color: #D5DCDF; }
.tm-hero__credit strong { font-size: 0.9688rem; font-weight: 600; color: var(--on-navy); }
.tm-hero__credit-line { width: 26px; height: 2px; background: var(--coral); margin-bottom: 10px; }
.tm-hero__scroll { position: absolute; left: 0; bottom: 34px; display: inline-flex; align-items: center; gap: 18px; font-size: 0.875rem; font-weight: 600; letter-spacing: .16em; color: #B6C7CE; text-decoration: none; }
.tm-hero__scroll .tm-icon { width: 18px; height: 18px; color: var(--coral); transform: rotate(90deg); }
.tm-hero__scroll:hover { color: #fff; }
.tm-hero__bottom { position: relative; z-index: 2; min-height: 62px; display: flex; align-items: center; background: var(--navy-deep); border-top: 1px solid #304653; }
.tm-hero__bottom .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.tm-hero__bottom p { font-size: 1.0312rem; color: var(--coral); }
.tm-hero__bottom p strong { font-weight: 600; }
.tm-hero__bottom p span { color: #C5D0D5; }
.tm-hero__place { font-size: 0.875rem; font-weight: 600; letter-spacing: .16em; color: #96A8B0; white-space: nowrap; }
.tm-hero--no-timer .tm-hero__aside { bottom: 60px; }

@media (min-width: 1600px) { .tm-hero__inner { min-height: 760px; } }
@media (max-width: 1150px) {
	.tm-hero__inner { min-height: 640px; padding-top: 88px; }
	.tm-timer { width: 12rem; height: 12rem; }
	.tm-timer__value { font-size: 3.375rem; }
}
@media (max-width: 940px) {
	.tm-hero__photo { left: 40%; }
	.tm-hero__photo::after { background: linear-gradient(90deg, var(--navy), color-mix(in srgb, var(--navy) 50%, transparent) 22%, transparent 58%), linear-gradient(0deg, color-mix(in srgb, var(--navy-deep) 86%, transparent), transparent 65%); }
	.tm-hero__copy { max-width: 520px; }
	.tm-hero__place { display: none; }
}
/* Phones: copy on top, portrait below with the timer over it. */
@media (max-width: 699px) {
	.tm-hero { display: grid; grid-template-columns: 1fr; grid-template-areas: "copy" "media" "strip"; }
	.tm-hero__inner { display: contents; }
	.tm-hero__copy { grid-area: copy; position: relative; z-index: 2; padding: 34px var(--gutter) 0; max-width: none; }
	.tm-hero__copy > * + * { margin-top: 20px; }
	.tm-hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
	.tm-hero__copy p:not(.is-style-tm-eyebrow) { font-size: 1.1562rem; }
	.tm-hero__copy .wp-block-buttons { gap: 16px 24px; margin-top: 24px; }
	.tm-hero__photo { grid-area: media; position: relative; inset: auto; height: min(128vw, 620px); margin-top: -30px; }
	.tm-hero__img { object-position: 50% 16% !important; }
	.tm-hero__photo::after { background: linear-gradient(180deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 35%, transparent) 16%, transparent 34%, color-mix(in srgb, var(--navy) 10%, transparent) 62%, color-mix(in srgb, var(--navy) 88%, transparent) 100%); }
	.tm-hero__aside { grid-area: media; position: relative; right: auto; bottom: auto; align-self: end; justify-self: end; margin: 0 var(--gutter) 22px 0; width: 10.75rem; gap: 14px; }
	.tm-timer { width: 10.5rem; height: 10.5rem; }
	.tm-timer__value { font-size: 2.875rem; }
	.tm-timer__label { font-size: 0.6875rem; }
	.tm-timer__caption { font-size: 0.65rem; }
	.tm-hero__credit { font-size: 0.875rem; }
	.tm-hero__scroll { display: none; }
	.tm-hero__bottom { grid-area: strip; }
	.tm-hero__bottom p span { display: block; }
}

/* ---------- 8. Sections --------------------------------------------------- */
.tm-section { position: relative; padding-block: 76px; background: var(--bg); }
.tm-section--compact { padding-block: 48px; }
.tm-section--roomy { padding-block: 104px; }
.tm-section--panel { background: var(--panel); }
.tm-section--navy { background: var(--navy); }
.tm-section--deep { background: var(--navy-deep); }
.tm-section.has-rule { padding-top: 0; }
.tm-section.has-rule > .shell { border-top: 1px solid var(--rule); padding-top: 72px; }
.tm-section--compact.has-rule > .shell { padding-top: 48px; }
.tm-section--roomy.has-rule > .shell { padding-top: 100px; }
.tm-section + .tm-section--paper.has-rule,
.tm-section--paper + .tm-section--paper:not(.has-rule) { padding-top: 0; }
.tm-section--paper + .tm-section--paper:not(.has-rule) > .shell { padding-top: 0; }

.tm-kicker {
	display: flex; align-items: center; gap: 22px; margin-bottom: 48px;
	font-size: 0.875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.tm-kicker__line { flex: 1; height: 1px; background: var(--rule); }
.tm-kicker__right { color: var(--muted); white-space: nowrap; }
.tm-kicker__left:empty, .tm-kicker__right:empty { display: none; }
.tm-section__body > * + * { margin-top: 40px; }
.tm-section__body > .wp-block-columns + .tm-cards,
.tm-section__body > .wp-block-columns + .tm-stats { margin-top: 44px; }
.tm-section__body > p + p { margin-top: 18px; }
.tm-section__body > .is-style-tm-note { margin-top: 20px; }
.tm-section__body > .tm-stats + .is-style-tm-source { margin-top: 32px; }
.tm-section p { color: var(--muted); }
.tm-section p.is-style-tm-lead { color: var(--text); }
.tm-section h2 + p, .wp-block-column h2 + p, .wp-block-column h2 + .is-style-tm-lead { margin-top: 22px; }
.wp-block-column > .is-style-tm-eyebrow + h2 { margin-top: 20px; }

@media (max-width: 699px) {
	.tm-section { padding-block: 48px; }
	.tm-section--roomy { padding-block: 64px; }
	.tm-section.has-rule > .shell { padding-top: 44px; }
	.tm-kicker { margin-bottom: 28px; gap: 12px; font-size: 0.8438rem; }
	.tm-kicker__right { display: none; }
	.tm-section__body > * + * { margin-top: 30px; }
}

/* ---------- 9. Emblem & framed media ------------------------------------- */
.tm-emblem { margin-inline: 0; margin-bottom: 0; display: grid; grid-template-columns: 42% 1fr; align-items: center; max-width: 470px; background: var(--soft); border: 1px solid var(--rule); }
.tm-emblem__mark { width: 100%; height: auto; padding: 22px; border-right: 1px solid var(--rule); }
.tm-emblem__track { stroke: var(--rule-strong); opacity: .7; }
.tm-emblem__arc { stroke: var(--accent); }
.tm-emblem__disc { fill: #0F2B3A; }
.tm-emblem__mic { fill: #F6F6F4; }
.tm-emblem__stand { stroke: #F6F6F4; }
.tm-emblem__text { display: flex; flex-direction: column; padding: 22px 24px; }
.tm-emblem__eyebrow { font-size: 0.8125rem; letter-spacing: .16em; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.tm-emblem__title { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.12; letter-spacing: -.02em; }
.tm-emblem__rule { width: 28px; height: 2px; background: var(--accent); margin: 14px 0 10px; }
.tm-emblem__caption { font-size: 0.9688rem; color: var(--muted); }

.tm-media { position: relative; margin-inline: 0; margin-bottom: 0; overflow: hidden; background: var(--navy); }
.tm-media__img { width: 100%; height: 100%; object-fit: cover; }
.tm-media--wide { aspect-ratio: 2.15; }
.tm-media--landscape { aspect-ratio: 1.75; }
.tm-media--square { aspect-ratio: 1; }
.tm-media--portrait { aspect-ratio: .8; }
.tm-media.is-muted .tm-media__img { filter: saturate(.45); }
.tm-media figcaption, .tm-card__figure figcaption, .tm-card__photo-label {
	position: absolute; left: 12px; bottom: 12px; z-index: 2;
	padding: 4px 8px; background: color-mix(in srgb, var(--navy) 90%, transparent); color: #fff;
	font-size: 0.8125rem; font-weight: 600; letter-spacing: .12em; line-height: 1.5;
}

/* ---------- 10. Cards ----------------------------------------------------- */
.tm-cards { display: grid; gap: 2px; }
.tm-cards--cols-2 { grid-template-columns: repeat(2, 1fr); }
.tm-cards--cols-3 { grid-template-columns: repeat(3, 1fr); }
.tm-cards--cols-4 { grid-template-columns: repeat(4, 1fr); }
.tm-cards--light { gap: 20px; }
@media (max-width: 1023px) { .tm-cards--cols-4, .tm-cards--cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .tm-cards--cols-4, .tm-cards--cols-3, .tm-cards--cols-2 { grid-template-columns: 1fr; } .tm-cards--light { gap: 16px; } }

.tm-card--dark {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-direction: column; min-height: 300px; padding: 26px 26px 22px;
	background: var(--card-bg); text-decoration: none;
	transition: background-color .25s, transform .25s var(--ease);
}
a.tm-card--dark:hover { background: var(--card-hover); transform: translateY(-4px); }
.tm-card--dark .tm-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .4s, transform .7s var(--ease); z-index: -2; }
.tm-card--dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(8 28 40 / .64), rgb(8 28 40 / .88)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tm-card--dark .tm-card__photo-label { left: auto; right: 14px; top: 10px; bottom: auto; background: none; padding: 0; opacity: 0; transition: opacity .4s; }
a.tm-card--dark:is(:hover, :focus-visible) .tm-card__photo { opacity: 1; transform: none; }
a.tm-card--dark:is(:hover, :focus-visible)::after,
a.tm-card--dark:is(:hover, :focus-visible) .tm-card__photo-label { opacity: 1; }
@media (hover: none) {
	.tm-card--dark.has-image .tm-card__photo { opacity: .32; transform: none; }
	.tm-card--dark.has-image::after { opacity: 1; background: linear-gradient(180deg, rgb(8 28 40 / .3), rgb(8 28 40 / .72)); }
}
.tm-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.tm-card__icon { width: 28px; height: 28px; color: var(--coral); stroke-width: 1.2; }
.tm-card__num { font-size: 0.9062rem; color: #8EA3AB; letter-spacing: .05em; }
.tm-card--dark .tm-card__title { font-size: clamp(1.625rem, 2.2vw, 1.75rem); font-stretch: 80%; color: var(--on-navy); margin-bottom: 12px; }
.tm-card--dark .tm-card__text { font-size: 1.0938rem; line-height: 1.65; color: #C3D0D5; }
.tm-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 26px; font-size: 0.875rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--on-navy); }
.tm-card__bottom .tm-icon { width: 18px; height: 18px; color: var(--coral); stroke-width: 1.3; transition: transform .25s var(--ease); }
a.tm-card--dark:hover .tm-card__bottom .tm-icon { transform: translate(3px, -3px); }
.tm-cards--cols-2 .tm-card--dark { min-height: 250px; padding: 32px; }

.tm-card--light { display: flex; flex-direction: column; background: var(--soft); border-top: 2px solid var(--text); overflow: hidden; }
.tm-card__figure { position: relative; margin: 0; aspect-ratio: 2.15; overflow: hidden; background: var(--navy); }
.tm-card__figure .tm-card__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35); transition: filter .4s, transform .6s var(--ease); }
.tm-card--light:hover .tm-card__figure .tm-card__img { filter: saturate(.75); transform: scale(1.025); }
.tm-card--light .tm-card__body { display: flex; flex-direction: column; flex: 1; padding: 32px 36px 34px; }
.tm-card__eyebrow { font-size: 0.875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.tm-card--light .tm-card__title { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-bottom: 16px; }
.tm-card--light .tm-card__text { font-size: 1.1562rem; color: var(--muted); max-width: 46ch; margin-bottom: 26px; }
.tm-card--light .tm-card__link { margin-top: auto; align-self: flex-start; }
@media (max-width: 699px) {
	.tm-card--dark { min-height: 220px; padding: 22px 20px 20px; }
	.tm-card__top { margin-bottom: 24px; }
	.tm-card--light .tm-card__body { padding: 26px 22px 28px; }
	.tm-card__figure { aspect-ratio: 1.9; }
}

/* ---------- 11. Timeline / steps (accordion) ----------------------------- */
.tm-acc { counter-reset: tm-acc; border-top: 1px solid var(--rule); }
.tm-acc__item { counter-increment: tm-acc; border-bottom: 1px solid var(--rule); }
.tm-acc__summary {
	display: flex; align-items: center; gap: 22px; min-height: 76px; padding: 14px 0;
	list-style: none; cursor: pointer; font-weight: 600; font-size: 1.1875rem; line-height: 1.4;
	transition: color .2s;
}
.tm-acc__summary::-webkit-details-marker { display: none; }
.tm-acc__summary:hover { color: var(--accent); }
.tm-acc__num::before { content: counter(tm-acc, decimal-leading-zero); font-family: var(--display); font-weight: 650; font-size: 1.0312rem; color: var(--accent); }
.tm-acc__num { flex: 0 0 24px; }
.tm-acc__title { flex: 1; }
.tm-acc__date { font-size: 0.9062rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tm-plus { position: relative; flex: 0 0 14px; height: 14px; margin-left: 8px; }
.tm-plus::before, .tm-plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.tm-plus::after { transform: rotate(90deg); }
.tm-acc__item[open] .tm-plus::after { transform: rotate(0); }
.tm-acc__item[open] > .tm-acc__summary { color: var(--accent); }
.tm-acc__body { padding: 0 34px 28px 46px; }
.tm-acc__body > * + * { margin-top: 14px; }
.tm-acc__body p { font-size: 1.1562rem; color: var(--muted); max-width: 60ch; }
.tm-acc--steps .tm-acc__summary { min-height: 66px; font-size: 1.1562rem; }
.tm-acc--steps .tm-acc__num::before { font-family: var(--sans); font-size: 0.9062rem; font-weight: 600; }
@media (max-width: 699px) {
	.tm-acc__summary { gap: 14px; min-height: 66px; font-size: 1.1562rem; flex-wrap: wrap; }
	.tm-acc__date { order: 3; flex-basis: 100%; padding-left: 38px; margin-top: -6px; }
	.tm-acc__body { padding: 0 6px 22px 38px; }
}

/* Always-open vertical timeline */
.tm-vtimeline { list-style: none; margin-bottom: 0; padding: 0; counter-reset: tm-vt; }
.tm-vtimeline__item { position: relative; counter-increment: tm-vt; display: grid; grid-template-columns: 52px 1fr; gap: 0 26px; padding-bottom: 48px; }
.tm-vtimeline__item::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 1px; background: var(--rule-strong); }
.tm-vtimeline__item:last-child { padding-bottom: 0; }
.tm-vtimeline__item:last-child::before { display: none; }
.tm-vtimeline__marker { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; background: var(--bg); }
.tm-vtimeline__marker::before { content: counter(tm-vt, decimal-leading-zero); font-family: var(--display); font-weight: 750; font-size: 1.25rem; color: var(--accent); }
.tm-vtimeline__body { padding-top: 10px; }
.tm-vtimeline__date { font-size: 0.9062rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.tm-vtimeline__title { font-size: clamp(1.625rem, 2.4vw, 2rem); margin-bottom: 14px; }
.tm-vtimeline__content > * + * { margin-top: 14px; }
.tm-vtimeline__content p { color: var(--text-2); }
@media (max-width: 599px) {
	.tm-vtimeline__item { grid-template-columns: 40px 1fr; gap: 0 16px; padding-bottom: 36px; }
	.tm-vtimeline__marker { width: 40px; height: 40px; }
	.tm-vtimeline__marker::before { font-size: 1.0938rem; }
	.tm-vtimeline__item::before { left: 19px; top: 40px; }
	.tm-vtimeline__body { padding-top: 6px; }
}

/* ---------- 12. Statistics ------------------------------------------------ */
.tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); padding-top: 30px; }
.tm-stat { padding: 2px 28px; border-right: 1px solid var(--rule); }
.tm-stat:first-child { padding-left: 0; }
.tm-stat:last-child { border-right: 0; }
.tm-stat__value { font-family: var(--display); font-stretch: 75%; font-weight: 650; font-size: clamp(3.25rem, 5.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.04em; color: var(--accent) !important; white-space: nowrap; }
.tm-stat__unit { font-size: .45em; letter-spacing: -.02em; }
.tm-stat__compare { font-family: var(--sans); font-stretch: 100%; font-size: 1.25rem; font-weight: 400; letter-spacing: -.01em; color: var(--muted); }
.tm-stat__label { margin-top: 14px; font-size: 1.0938rem; line-height: 1.6; color: var(--text-2) !important; max-width: 24ch; }
.is-dark .tm-stat__label { color: #D0DCE0 !important; }
@media (max-width: 940px) { .tm-stat { padding-inline: 18px; } .tm-stat__compare { font-size: 1.0312rem; } }
@media (max-width: 699px) {
	.tm-stats { grid-template-columns: 1fr 1fr; row-gap: 26px; padding-top: 24px; }
	.tm-stat { padding: 0 16px; border: 0; }
	.tm-stat:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--rule); }
	.tm-stat:nth-child(n+3) { padding-top: 24px; border-top: 1px solid var(--rule); }
	.tm-stat__value { font-size: 3.375rem; }
	.tm-stat__label { font-size: 1.0312rem; }
}

/* ---------- 13. Image wall ----------------------------------------------- */
.tm-wall__warning { display: flex; align-items: flex-start; gap: 10px; }
.tm-wall__warning .tm-icon { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.tm-wall__warning p { font-size: 1.0938rem; color: var(--text-2) !important; max-width: 70ch; }
.tm-wall__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 20px 0 22px; }
.tm-wall__toggle { gap: 36px; min-height: 46px; padding: 11px 18px; }
.tm-wall__sign { font-size: 1.5rem; font-weight: 300; line-height: 1; }
.tm-wall__count { font-size: 1.0312rem; color: var(--muted) !important; }
.tm-wall__count strong { color: var(--text); font-weight: 650; }
.tm-wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.tm-wall.has-few .tm-wall__grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tm-wall__cell { margin: 0; }
.tm-wall__tile { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; background: #8D958F; cursor: default; position: relative; }
.tm-wall__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) blur(9px); opacity: .7; transform: scale(1.15); transition: filter .4s, opacity .4s, transform .4s; }
.tm-wall.is-revealed .tm-wall__tile { cursor: zoom-in; }
.tm-wall.is-revealed .tm-wall__img { filter: none; opacity: 1; transform: none; }
.tm-wall.is-revealed .tm-wall__tile:hover .tm-wall__img { transform: scale(1.04); }
.tm-wall__caption { margin-top: 18px; font-size: 0.9688rem; color: var(--muted) !important; }
.tm-wall__empty { margin-top: 18px; padding: 22px; border: 1px dashed var(--rule-strong); font-size: 1.0938rem; color: var(--muted) !important; }
@media (max-width: 699px) {
	.tm-wall__grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; }
	.tm-wall.has-few .tm-wall__grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
	.tm-wall__toggle { width: 100%; justify-content: space-between; }
}

/* ---------- 14. Video ----------------------------------------------------- */
.tm-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #314A55; color: #fff; }
.tm-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1); transition: transform .5s var(--ease); }
.tm-video__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 38 55 / .72), rgb(16 45 58 / .14)); pointer-events: none; }
.tm-video__frame.is-playing::after { display: none; }
.tm-video__frame:has(.tm-video__play:hover) .tm-video__poster { transform: scale(1.035); }
.tm-video__tag, .tm-video__label { position: absolute; left: 22px; z-index: 2; font-size: 0.875rem; font-weight: 600; letter-spacing: .16em; }
.tm-video__tag { top: 20px; }
.tm-video__label { bottom: 20px; }
.tm-video__play { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--coral); color: #0F2B3A; display: grid; place-items: center; transition: background-color .2s, transform .2s var(--ease); }
.tm-video__play .tm-icon { width: 26px; height: 26px; margin-left: 3px; }
.tm-video__play:hover { background: #FFA99A; transform: translate(-50%, -50%) scale(1.06); }
.tm-video__play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.tm-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.tm-video__frame.is-empty { display: grid; place-items: center; padding: 24px; text-align: center; background: var(--navy); }
.tm-video__empty { position: relative; z-index: 2; max-width: 32ch; font-size: 1.0938rem; color: #DCE4E7 !important; }
.tm-video__actions { margin-top: 18px; }
@media (max-width: 699px) { .tm-video__tag, .tm-video__label { left: 16px; font-size: 0.8125rem; } .tm-video__play { width: 58px; height: 58px; } }

/* ---------- 15. Sign-up panel & forms ------------------------------------ */
.tm-signup { background: var(--bg); color: var(--text); padding: clamp(24px, 3.2vw, 38px); }
.is-dark .tm-signup { box-shadow: 0 30px 80px #00000033; }
.tm-signup__title { font-size: clamp(1.625rem, 2.4vw, 2rem); }
.tm-signup__intro { margin-top: 10px; font-size: 1.0312rem; color: var(--muted) !important; }
.tm-signup__form { margin-top: 24px; }
.tm-signup__notice { padding: 14px; border: 1px dashed var(--rule-strong); font-size: 1.0312rem; color: var(--muted) !important; }

.tm-form { position: relative; }
.tm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.tm-form__grid > .tm-field--full, .tm-form__grid > fieldset { grid-column: 1 / -1; }
@media (max-width: 940px) { .tm-form__grid { grid-template-columns: 1fr; } }
.tm-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tm-field > label, .tm-field legend, .tm-signup--shortcode label { font-size: 1.0312rem; font-weight: 600; line-height: 1.4; color: var(--text); }
.tm-req { color: var(--accent); margin-left: 2px; text-decoration: none; }
.tm-field__help { font-size: 0.9688rem; color: var(--muted) !important; }
.tm-signup input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
.tm-signup select,
.tm-signup textarea {
	width: 100%; min-height: 48px; padding: 10px 13px;
	border: 1px solid var(--field-border); border-radius: 0; background: var(--panel); color: var(--text);
	font-size: 1.1562rem; line-height: 1.4; box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.tm-signup textarea { min-height: 120px; resize: vertical; }
.tm-signup select {
	appearance: none; -webkit-appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23778' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 13px center;
}
.tm-signup input::placeholder, .tm-signup textarea::placeholder { color: var(--muted); opacity: .85; }
.tm-signup input:focus, .tm-signup select:focus, .tm-signup textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.tm-signup .tm-field.has-error input, .tm-signup .tm-field.has-error select, .tm-signup .tm-field.has-error textarea { border-color: var(--accent); border-width: 1.5px; }
.tm-field__error { font-size: 0.9688rem; font-weight: 600; color: var(--err-text) !important; }
.tm-field fieldset, fieldset.tm-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.tm-field legend { padding: 0; margin-bottom: 8px; }
.tm-check { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 1.0938rem; line-height: 1.45; cursor: pointer; color: var(--text); }
.tm-check input {
	appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0;
	border: 1.5px solid var(--field-border); background: var(--panel); border-radius: 0; display: grid; place-items: center; cursor: pointer;
}
.tm-check input::after { content: ""; width: 13px; height: 13px; background: var(--on-accent); -webkit-mask: var(--tm-check) center / contain no-repeat; mask: var(--tm-check) center / contain no-repeat; transform: scale(0); transition: transform .15s; }
.tm-check input:checked { background: var(--accent); border-color: var(--accent); }
.tm-check input:checked::after { transform: scale(1); }
.tm-check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tm-check input[type="radio"] { border-radius: 50%; }
.tm-form__private { padding: 12px 14px; background: var(--soft); border-left: 3px solid var(--accent); font-size: 1.0312rem; color: var(--text-2) !important; }
.tm-form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tm-form__submit { width: 100%; justify-content: space-between; margin-top: 22px; }
.tm-form__submit[disabled] { opacity: .65; cursor: progress; transform: none; }
.tm-form__submit .tm-spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: tm-spin .8s linear infinite; }
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-form__privacy { margin-top: 12px; font-size: 0.9688rem; line-height: 1.6; color: var(--muted) !important; }
.tm-form__privacy a { color: var(--text); }
.tm-form__status { margin-top: 16px; padding: 14px 16px; font-size: 1.0938rem; line-height: 1.6; background: var(--ok-bg); border-left: 3px solid var(--ok-line); color: var(--text); }
.tm-form__status:focus { outline: none; }
.tm-form__status.is-error { background: var(--err-bg); border-color: var(--accent); color: var(--err-text); }
.tm-form__status strong { display: block; font-size: 1.1562rem; }
.tm-form.is-done .tm-form__grid, .tm-form.is-done .tm-form__submit, .tm-form.is-done .tm-form__privacy, .tm-form.is-done .tm-form__turnstile { display: none; }
.tm-form__turnstile { margin-top: 16px; }

/* Third-party forms (Fluent Forms, WPForms, Gravity Forms, CF7) inherit the look. */
.tm-signup--shortcode .ff-el-group, .tm-signup--shortcode .wpforms-field, .tm-signup--shortcode .gfield { margin-bottom: 16px !important; }
.tm-signup--shortcode .ff-el-input--label label, .tm-signup--shortcode .wpforms-field-label, .tm-signup--shortcode .gfield_label { font-size: 1.0312rem !important; font-weight: 600 !important; color: var(--text) !important; }
.tm-signup--shortcode .ff-el-form-control, .tm-signup--shortcode .wpforms-field input, .tm-signup--shortcode .gfield input { border-radius: 0 !important; }
.tm-signup--shortcode .ff-el-is-required.asterisk-right label::after, .tm-signup--shortcode .wpforms-required-label, .tm-signup--shortcode .gfield_required { color: var(--accent) !important; }
.tm-signup--shortcode button[type="submit"], .tm-signup--shortcode input[type="submit"], .tm-signup--shortcode .ff-btn-submit, .tm-signup--shortcode .wpforms-submit {
	width: 100%; min-height: 50px; padding: 14px 22px !important; border: 0 !important; border-radius: 0 !important;
	background: var(--accent) !important; color: var(--on-accent) !important; font-size: 1.0938rem !important; font-weight: 650 !important; cursor: pointer;
}
.tm-signup--shortcode button[type="submit"]:hover, .tm-signup--shortcode .ff-btn-submit:hover { background: var(--accent-hover) !important; }
.tm-signup--shortcode .ff-message-success, .tm-signup--shortcode .wpforms-confirmation-container-full { border: 0 !important; border-left: 3px solid var(--ok-line) !important; background: var(--ok-bg) !important; color: var(--text) !important; box-shadow: none !important; }
.tm-signup--shortcode .error, .tm-signup--shortcode .text-danger, .tm-signup--shortcode .wpforms-error { color: var(--err-text) !important; font-size: 0.9688rem; }
.tm-signup--shortcode input[type="checkbox"], .tm-signup--shortcode input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }

/* ---------- 16. Page header, article layout & chapter navigation -------- */
.tm-page-header { position: relative; overflow: hidden; background: var(--navy); padding: 64px 0 72px; }
.tm-page-header::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.9' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.tm-page-header__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.tm-page-header__back { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 0.9688rem; font-weight: 600; color: #C5D0D5; text-decoration: none; }
.tm-page-header__back:hover { color: var(--coral); }
.tm-page-header__back .tm-icon { width: 16px; height: 16px; }
.tm-page-header__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9062rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 20px; }
.tm-page-header__eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); }
.tm-page-header__title { font-size: clamp(2.625rem, 5.4vw, 4.75rem); font-stretch: 80%; font-weight: 850; line-height: 1.02; letter-spacing: -.02em; word-spacing: .12em; max-width: 14ch; color: var(--on-navy); }
.tm-page-header__intro { margin-top: 24px; max-width: 54ch; font-size: clamp(1.25rem, 1.55vw, 1.4375rem); line-height: 1.6; color: #D0DBE0; }
.tm-page-header__meta { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--navy-rule); max-width: 54ch; font-size: 0.9062rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9FB2BA; white-space: pre-wrap; }
.tm-page-header__media { justify-self: end; width: 100%; max-width: 440px; }

/* Framed photo with a coral timer arc */
.tm-page-header__figure { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.tm-page-header__figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid #3E5966; z-index: 0; }
.tm-page-header__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.05) brightness(.92); }
.tm-page-header__figure::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--navy) 70%, transparent)), color-mix(in srgb, var(--navy) 22%, transparent); mix-blend-mode: multiply; pointer-events: none; }
.tm-page-header__arc { position: absolute; z-index: 3; width: 150px; height: 150px; left: -44px; bottom: -40px; transform: rotate(-90deg); }
.tm-page-header__arc circle { fill: color-mix(in srgb, var(--navy) 92%, transparent); stroke: var(--coral); stroke-width: 3; stroke-dasharray: 443 591; stroke-linecap: round; }
.tm-page-header__num { position: absolute; z-index: 4; left: -44px; bottom: -40px; width: 150px; height: 150px; display: grid; place-items: center; font-family: var(--display); font-stretch: 78%; font-weight: 700; font-size: 3.625rem; letter-spacing: -.03em; color: var(--on-navy); font-variant-numeric: tabular-nums; }

/* Timer-dial graphic when no photo is set */
.tm-page-header__dial { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin-left: auto; display: grid; place-items: center; }
.tm-page-header__dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tm-dial__track { fill: none; stroke: #3E5966; stroke-width: 2; }
.tm-dial__arc { fill: none; stroke: var(--coral); stroke-width: 3; stroke-dasharray: 434 578; stroke-linecap: round; }
.tm-dial__inner { fill: color-mix(in srgb, #fff 3%, transparent); stroke: #2B4553; stroke-width: 1; stroke-dasharray: 2 6; }
.tm-dial__label { position: absolute; top: 31%; font-size: 0.875rem; font-weight: 650; letter-spacing: .24em; color: #9FB2BA; }
.tm-dial__num { position: relative; font-family: var(--display); font-stretch: 78%; font-weight: 700; font-size: clamp(4.75rem, 8vw, 7.25rem); letter-spacing: -.04em; line-height: 1; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.tm-dial__rule { position: absolute; bottom: 30%; width: 28px; height: 2px; background: var(--coral); }

@media (max-width: 900px) {
	.tm-page-header { padding: 44px 0 52px; }
	.tm-page-header__grid { grid-template-columns: 1fr; }
	.tm-page-header__media { justify-self: start; max-width: none; }
	.tm-page-header__figure { aspect-ratio: 16 / 10; margin: 4px 18px 18px 0; }
	.tm-page-header__arc, .tm-page-header__num { width: 104px; height: 104px; left: auto; right: -14px; bottom: -30px; }
	.tm-page-header__num { font-size: 2.5rem; }
	.tm-page-header:not(.has-image) .tm-page-header__media { display: none; }
}

/* Article: sticky rail + reading column */
.tm-article { padding: 72px 0 88px; }
.tm-article__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.tm-article.has-rail .tm-article__grid { grid-template-columns: 230px minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
.tm-article__body { min-width: 0; max-width: 740px; }
.tm-article:not(.has-rail) .tm-article__body { margin-inline: auto; }
.tm-rail { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.admin-bar .tm-rail { top: calc(var(--header-h) + 60px); }
.tm-rail__inner { display: grid; gap: 20px; padding-top: 6px; }
.tm-rail__chapter { font-size: 0.9062rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tm-rail__chapter strong { color: var(--accent); font-weight: 750; }
.tm-rail__progress { height: 2px; background: var(--rule); margin-top: -8px; }
.tm-rail__progress span { display: block; height: 100%; background: var(--accent); }
.tm-rail__toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 0 12px; background: none; border: 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: 1.375rem; letter-spacing: -.01em; color: var(--text); text-align: left; cursor: default; }
.tm-rail__count { font-family: var(--sans); font-size: 0.9062rem; font-weight: 650; color: var(--muted); }
.tm-rail__toggle .tm-plus { display: none; margin-left: auto; }
.tm-rail__list { list-style: none; margin: 0; padding: 6px 0 0; counter-reset: tm-toc; }
.tm-rail__list li { counter-increment: tm-toc; margin: 0; }
.tm-rail__list a { position: relative; display: block; padding: 9px 0 9px 34px; font-size: 1.0312rem; line-height: 1.4; color: var(--muted); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; transition: color .2s, border-color .2s; }
.tm-rail__list a::before { content: counter(tm-toc, decimal-leading-zero); position: absolute; left: 10px; top: 10px; font-size: 0.875rem; font-weight: 650; color: var(--rule-strong); }
.tm-rail__list { border-left: 1px solid var(--rule); }
.tm-rail__list a:hover { color: var(--text); }
.tm-rail__list a.is-current { color: var(--text); font-weight: 600; border-left-color: var(--accent); }
.tm-rail__list a.is-current::before { color: var(--accent); }
.tm-rail__meta { font-size: 0.9688rem; color: var(--muted); }
.tm-rail__cta { justify-self: start; font-size: 0.9688rem; }

@media (max-width: 1023px) {
	.tm-article { padding: 40px 0 64px; }
	.tm-article.has-rail .tm-article__grid { grid-template-columns: 1fr; }
	.tm-rail { position: static; margin-bottom: 36px; }
	.tm-rail__inner { gap: 14px; padding: 18px 20px; background: var(--soft); border-top: 2px solid var(--text); }
	.tm-rail__toggle { cursor: pointer; font-size: 1.25rem; min-height: 44px; padding-bottom: 0; border: 0; }
	.tm-rail__toggle .tm-plus { display: block; }
	.tm-rail__toggle[aria-expanded="true"] .tm-plus::after { transform: rotate(0); }
	.tm-rail.js-collapsible .tm-rail__toggle[aria-expanded="false"] + .tm-rail__list { display: none; }
	.tm-rail__meta, .tm-rail__cta { display: none; }
	.tm-article__body { max-width: none; }
}

/* Reading column typography */
.tm-article__body > * + * { margin-top: 1.35em; }
.tm-article__body > p, .tm-article__body > ul, .tm-article__body > ol { color: var(--text-2); max-width: 65ch; }
.tm-article__body > p:first-child, .tm-article__body > .wp-block-group:first-child + p {
	font-size: clamp(1.3125rem, 1.7vw, 1.5rem); line-height: 1.55; letter-spacing: -.005em; color: var(--text);
}
.tm-article__body > h2 {
	position: relative; margin-top: 1.9em; padding-top: 24px; font-size: clamp(1.875rem, 3.2vw, 2.625rem); word-spacing: .06em;
	scroll-margin-top: calc(var(--header-h) + 24px);
}
.tm-article__body > h2::before { content: ""; position: absolute; left: 0; top: 0; width: 36px; height: 3px; background: var(--accent); }
.tm-article__body > h2:first-child { margin-top: 0; }
.tm-article__body > :first-child { margin-top: 0 !important; }
.tm-article__body > h2 + * { margin-top: 18px; }
.tm-article__body > h3 { margin-top: 1.9em; }
.tm-article__body > .wp-block-quote,
.tm-article__body > .tm-media,
.tm-article__body > .tm-cards,
.tm-article__body > .tm-stats,
.tm-article__body > .tm-vtimeline,
.tm-article__body > .tm-acc,
.tm-article__body > .wp-block-columns { margin-top: 2.2em; }
.tm-article__body > * + .wp-block-quote, .tm-article__body > .wp-block-quote + * { margin-top: 2.2em; }
.tm-article__body > .wp-block-group.is-style-tm-callout { margin-top: 2em; }
.tm-article__body > .tm-stats + .is-style-tm-source { margin-top: 22px; max-width: none; }
.tm-article__body > .tm-media figcaption { left: 14px; bottom: 14px; }
.tm-article__body .tm-vtimeline__item, .tm-article__body .tm-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.tm-article__body > .wp-block-list.is-style-tm-ruled { max-width: none; }

/* Pull quote */
.tm-article__body > .wp-block-quote,
.wp-block-quote.is-style-tm-pull { margin-inline: 0; padding: 52px 0 30px 34px; border-left: 3px solid var(--accent); position: relative; }
.tm-article__body > .wp-block-quote::before { content: "\201C"; position: absolute; left: 30px; top: -6px; font-family: var(--display); font-weight: 800; font-size: 6rem; line-height: 1; color: var(--accent); opacity: .18; }
.tm-article__body > .wp-block-quote p { font-size: clamp(1.625rem, 2.4vw, 2rem); word-spacing: .05em; }

.tm-chapters { border-top: 1px solid var(--rule); padding: 36px 0 44px; }
.tm-chapters__count { font-size: 0.9062rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.tm-chapters__links { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.tm-chapters__link { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--soft); text-decoration: none; transition: background-color .2s; }
.tm-chapters__link:hover { background: var(--rule); }
.tm-chapters__link--next { grid-column: 2; text-align: right; align-items: flex-end; }
.tm-chapters__dir { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9062rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tm-chapters__dir .tm-icon { width: 16px; height: 16px; }
.tm-chapters__title { font-family: var(--display); font-stretch: 82%; font-weight: 800; font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.15; letter-spacing: -.02em; }
@media (max-width: 599px) { .tm-chapters__links { grid-template-columns: 1fr; } .tm-chapters__link--next { grid-column: 1; } }

/* ---------- 17. Lists, search, pagination -------------------------------- */
.tm-list { list-style: none; margin-bottom: 0; padding: 0; border-top: 1px solid var(--rule); }
.tm-list__item { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.tm-list__item .tm-eyebrow { font-size: 0.875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 650; }
.tm-list__title { font-size: clamp(1.625rem, 2.4vw, 2rem); margin: 6px 0 10px; }
.tm-list__title a { text-decoration: none; }
.tm-list__title a:hover { color: var(--accent); }
.tm-list__item p { color: var(--muted); max-width: 65ch; }
.tm-searchform label { display: block; font-weight: 600; font-size: 1.0312rem; margin-bottom: 8px; }
.tm-searchform__row { display: flex; gap: 8px; max-width: 520px; }
.tm-searchform input[type="search"] { flex: 1; min-height: 50px; padding: 10px 14px; border: 1px solid var(--field-border); border-radius: 0; background: var(--panel); font-size: 1.1562rem; }
.tm-search { margin-bottom: 36px; }
.tm-pagination .nav-links { display: flex; gap: 8px; margin-top: 32px; }
.tm-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--rule); text-decoration: none; }
.tm-pagination .page-numbers.current { background: var(--text); color: var(--bg); }

/* ---------- 18. Footer ---------------------------------------------------- */
.site-footer { padding: 46px 0 30px; border-top: 1px solid var(--rule); }
.tm-content:has(> .tm-section:last-child) + .tm-chapters,
.site-main:has(.tm-content > .tm-section.is-dark:last-child) + .site-footer { border-top: 0; }
.site-footer__top { display: flex; align-items: center; gap: 60px; padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
.site-footer__top .brand__mark { width: 42px; height: 42px; }
.site-footer__top .brand__text { font-size: 1.1875rem; }
.site-footer__tagline { font-size: 1.0312rem; line-height: 1.6; color: var(--muted); }
.site-footer__top-link { margin-left: auto; font-size: 0.9688rem; }
.site-footer__bottom { display: grid; grid-template-columns: 1fr 2fr; gap: 20px 48px; padding-top: 28px; }
.site-footer__who strong { font-size: 1.0938rem; font-weight: 650; }
.site-footer__who p { font-size: 1.0312rem; color: var(--muted); margin-top: 2px; }
.site-footer__disclaimer { font-size: 1.0312rem; line-height: 1.75; color: var(--muted); max-width: 72ch; }
.site-footer__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 14px; font-size: 0.9688rem; color: var(--muted); }
.site-footer__nav .menu { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 1.0312rem; }
.site-footer__social a { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.site-footer__social a:hover { color: var(--accent); }
@media (max-width: 699px) {
	.site-footer { padding-top: 34px; }
	.site-footer__top { flex-wrap: wrap; gap: 18px 24px; }
	.site-footer__tagline { display: none; }
	.site-footer__bottom { grid-template-columns: 1fr; }
}

/* ---------- 19. Lightbox (image wall) ------------------------------------- */
.tm-lightbox { width: min(980px, 100% - 24px); max-height: 94dvh; padding: 0; border: 0; background: var(--bg); color: var(--text); box-shadow: 0 30px 100px #0007; }
.tm-lightbox::backdrop { background: rgb(5 22 31 / .86); backdrop-filter: blur(6px); }
.tm-lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.tm-lightbox__count { font-size: 0.9688rem; color: var(--muted); }
.tm-lightbox__close { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px; background: none; border: 0; font-weight: 650; font-size: 1.0312rem; }
.tm-lightbox__close:hover { color: var(--accent); }
.tm-lightbox__stage { position: relative; display: grid; place-items: center; background: #0B1820; min-height: 240px; }
.tm-lightbox__img { max-width: 100%; max-height: calc(94dvh - 160px); width: auto; object-fit: contain; }
.tm-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(246 246 244 / .92); color: #13202A; display: grid; place-items: center; }
.tm-lightbox__nav:hover { background: #fff; }
.tm-lightbox__nav--prev { left: 12px; }
.tm-lightbox__nav--next { right: 12px; }
.tm-lightbox__nav .tm-icon { width: 22px; height: 22px; stroke-width: 2; }
.tm-lightbox__caption { padding: 14px 18px 18px; font-size: 1.0312rem; color: var(--muted); }
.tm-lightbox.is-single .tm-lightbox__nav { display: none; }

/* ---------- 20. Cookie notice -------------------------------------------- */
.tm-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 620px; margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--rule); box-shadow: 0 20px 50px #0f2b3a29; }
.tm-cookie p { flex: 1; font-size: 1.0312rem; color: var(--text-2); }
.tm-cookie a { color: var(--accent); }
.tm-cookie .tm-btn { min-height: 44px; padding: 8px 18px; }

/* ---------- 21. WordPress core alignment helpers -------------------------- */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.wp-block-image figcaption, .wp-caption-text { font-size: 0.9688rem; color: var(--muted); margin-top: 8px; }
.wp-block-image img { height: auto; }
.wp-block-embed iframe { width: 100%; }

/* ---------- 22. Motion & print -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.site-header, .tm-hero__photo, .tm-hero__aside, .tm-wall, .tm-video, .tm-signup, .tm-chapters, .tm-cookie, .site-footer__top-link { display: none !important; }
	.tm-hero, .is-dark, .tm-page-header { background: #fff !important; --text: #000; --muted: #333; color: #000; }
	body { background: #fff; }
}

/* ---------- 17. Featured video ("Start here") ----------------------------- */
.tm-video__poster.is-color { filter: none; }
.tm-video--feature .tm-video__frame { box-shadow: 0 30px 60px -36px rgb(15 43 58 / .55); }
.tm-video--feature .tm-video__frame::after { background: linear-gradient(0deg, rgb(10 38 55 / .7), rgb(10 38 55 / 0) 42%); }
.tm-video--feature .tm-video__play { width: 96px; height: 96px; box-shadow: 0 0 0 10px rgb(255 136 120 / .28); }
.tm-video--feature .tm-video__play .tm-icon { width: 34px; height: 34px; margin-left: 5px; }
.tm-video--feature .tm-video__tag { padding: 7px 12px; background: var(--accent); color: #fff; letter-spacing: .14em; }
.tm-video--feature .tm-video__label { color: #fff; }
@media (max-width: 699px) {
	.tm-video--feature .tm-video__play { left: auto; top: auto; right: 14px; bottom: 14px; transform: none; width: 70px; height: 70px; box-shadow: 0 0 0 7px rgb(255 136 120 / .28); }
	.tm-video--feature .tm-video__play:hover { transform: scale(1.06); }
	.tm-video--feature .tm-video__play .tm-icon { width: 28px; height: 28px; }
	.tm-video--feature .tm-video__tag { top: 12px; left: 12px; padding: 5px 9px; }
	.tm-video--feature .tm-video__label { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
	.tm-video--feature .tm-video__play { animation: tm-pulse 2.6s var(--ease) infinite; }
	.tm-video--feature .tm-video__play:hover, .tm-video--feature .tm-video__play:focus-visible { animation: none; }
}
@keyframes tm-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 136 120 / .45); } 60% { box-shadow: 0 0 0 16px rgb(255 136 120 / 0); } }
