/* Thonmi Tsuglag — editorial design system
   Motion: quiet, deliberate, precise, slightly ceremonial, never playful.
   Interaction matrix (brand / nav / overlay / cards / buttons / inputs)
   × Default Hover Focus Press Loading Error
   × Desktop Touch Keyboard Reduced-motion
   Brand: still English; Tibetan +1px / darken on fine hover; press scale .985; home scrolls top.
   Nav: traveling ink on fine hover/focus; thicker static current; no travel on touch/reduce.
   Overlay: click/Esc/focus-trap; page scale .995 unless reduce; 100dvh + safe-area.
   Cards: fine hover -3px + image 1.025 + arrow +4px; press .995; no hover on coarse; no motion if reduce.
   Buttons: fast color/press; loading = aria-busy, no size change.
   Inputs: paper fill, navy focus, reserved error line, no novelty cursor.
*/
:root {
	--paper: #f7f4ec;
	--surface: #fffdf8;
	--ink: #181816;
	--navy: #173e59;
	--navy-deep: #123148;
	--muted: #65645f;
	--line: #e0dcd0;
	--brick: #a94d35;
	--gold: #a78444;
	--serif: "Literata", "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--tibetan: "Noto Serif Tibetan", "Noto Sans Tibetan", serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--press: 160ms;
	--fast: 160ms;
	--hover: 220ms;
	--normal: 220ms;
	--menu: 350ms;
	--medium: 350ms;
	--reveal: 550ms;
	--slow: 550ms;
	--art: 800ms;
	--editorial: 800ms;
	--mast-h: 96px;
	--radius: 2px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-8: 48px;
	--space-10: 64px;
	--space-12: 80px;
	--space-16: 96px;
	--space-20: 128px;
	--space-24: 160px;
	--page: 1240px;
	--article: 1080px;
	--read: 720px;
}

@view-transition {
	navigation: auto;
}

::selection {
	background: var(--navy);
	color: var(--paper);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body.thonmi-canva-page,
body.thonmi-canva-page #td-outer-wrap,
body.thonmi-canva-page .td-main-content-wrap,
body.thonmi-canva-page .td-container,
body.thonmi-canva-page .td-pb-row,
body.thonmi-canva-page .td-pb-span12,
body.thonmi-canva-page .td-page-content,
body.thonmi-canva-page article,
body.thonmi-canva-page .thonmi-page {
	background-color: var(--paper) !important;
	color: var(--ink);
	font-family: var(--sans);
}

body.thonmi-canva-page {
	position: relative;
}

body.thonmi-canva-page::before {
	content: "";
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 0;
	opacity: 0.018;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.thonmi-canva-page #td-outer-wrap,
body.thonmi-canva-page .thonmi-page,
body.thonmi-canva-page .thonmi-footer {
	position: relative;
	z-index: 1;
}

body.thonmi-canva-page .thonmi-masthead {
	position: fixed;
	z-index: 40;
}

body.thonmi-canva-page .td-header-template-wrap,
body.thonmi-canva-page .td-header-desktop-wrap,
body.thonmi-canva-page .td-header-mobile-wrap,
body.thonmi-canva-page .td-header-desktop-sticky-wrap,
body.thonmi-canva-page .td-header-mobile-sticky-wrap,
body.thonmi-canva-page .td-header-menu-wrap,
body.thonmi-canva-page .td-header-top-menu,
body.thonmi-canva-page #td-mobile-nav,
body.thonmi-canva-page .td-mobile-header,
body.thonmi-canva-page .td-search-wrap-mob,
body.thonmi-canva-page .td-search-background,
body.thonmi-canva-page .td-menu-background,
body.thonmi-canva-page .tdb_header_menu,
body.thonmi-canva-page .tdb_header_search,
body.thonmi-canva-page .tdb_header_logo,
body.thonmi-canva-page .td-mega-menu,
body.thonmi-canva-page .entry-title,
body.thonmi-canva-page .td-crumb-container,
body.thonmi-canva-page header.td-page-header,
body.thonmi-canva-page .elementor-location-header,
body.thonmi-canva-page .td-footer-template-wrap,
body.thonmi-canva-page .td-sub-footer-container {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

body.thonmi-canva-page .td-main-content-wrap,
body.thonmi-canva-page .td-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

body.thonmi-canva-page .td-pb-span12 {
	width: 100% !important;
}

/* Type */
.thonmi-display {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.6rem, 6vw, 5rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
	color: var(--navy);
	margin: 0;
}

.thonmi-page h1,
.thonmi-detail h1,
.thonmi-section-title {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(2.1rem, 4vw, 3rem);
	line-height: 1.08;
	color: var(--navy);
	margin: 0 0 var(--space-4);
}

.thonmi-page h2,
.thonmi-detail h2 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	line-height: 1.12;
	color: var(--navy);
	margin: 0 0 var(--space-4);
}

.thonmi-page h3,
.thonmi-detail h3 {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.15rem, 1.8vw, 1.5rem);
	line-height: 1.18;
	margin: var(--space-6) 0 var(--space-3);
}

.thonmi-page p,
.thonmi-detail p,
.thonmi-detail li {
	font-size: clamp(1rem, 1.1vw, 1.125rem);
	line-height: 1.65;
	orphans: 3;
	widows: 3;
}

.thonmi-prose p {
	max-width: 66ch;
}

.thonmi-page h1,
.thonmi-page h2,
.thonmi-page h3,
.thonmi-detail h1,
.thonmi-detail h2,
.thonmi-detail h3 {
	break-after: avoid;
	orphans: 3;
	widows: 3;
}

.thonmi-uchen,
[lang="bo"] {
	font-family: var(--tibetan);
	line-height: 2;
	font-weight: 400;
	font-synthesis: none;
	overflow: visible;
	overflow-wrap: normal;
	word-break: normal;
	line-break: loose;
}

.thonmi-label {
	margin: 0 0 var(--space-2);
	font-size: 12px;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--gold);
}

/* Masthead */
.thonmi-masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	height: var(--mast-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-5);
	padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right), 4vw) 0 max(20px, env(safe-area-inset-left), 4vw);
	max-width: 1440px;
	margin: 0 auto;
	overflow: visible;
	background: transparent;
	transition: height var(--medium) var(--ease-soft), background-color var(--medium) var(--ease-soft), border-color var(--medium) var(--ease-soft), backdrop-filter var(--medium) var(--ease-soft), transform var(--medium) var(--ease-out-expo);
	border-bottom: 1px solid transparent;
	view-transition-name: thonmi-mast;
}

body.thonmi-canva-page {
	padding-top: var(--mast-h);
}

body.thonmi-compact {
	--mast-h: 72px;
}

.thonmi-masthead.is-hidden {
	transform: translateY(-100%);
}

.thonmi-masthead.is-scrolled {
	height: 72px;
	background: rgba(247, 244, 236, 0.92);
	backdrop-filter: blur(12px);
	border-bottom-color: var(--line);
}

.thonmi-site-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	text-decoration: none !important;
	color: inherit !important;
	min-width: 0;
	cursor: pointer;
	view-transition-name: thonmi-brand;
	transition: transform var(--fast) var(--ease);
}

.thonmi-site-brand:active {
	transform: scale(0.985);
}

.thonmi-site-brand img {
	width: 44px;
	height: auto;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	transition: width var(--medium) var(--ease), opacity var(--fast) var(--ease);
}

.thonmi-masthead.is-scrolled .thonmi-site-brand img {
	width: 34px;
}

.thonmi-site-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	overflow: visible;
}

.thonmi-site-brand-text strong {
	font-family: var(--serif);
	font-size: 18px;
	font-weight: 600;
	color: var(--navy);
	letter-spacing: 0.02em;
}

.thonmi-masthead.is-scrolled .thonmi-site-brand-text strong {
	font-size: 16px;
}

.thonmi-site-brand-text span {
	font-size: 13px;
	color: var(--muted);
	transition: transform var(--fast) var(--ease), color var(--fast) var(--ease);
}

.thonmi-site-brand-text .thonmi-brand-uchen,
.thonmi-brand-uchen {
	font-family: var(--tibetan);
	font-size: 15px;
	line-height: 2;
	color: var(--navy);
	font-synthesis: none;
	overflow: visible;
	white-space: nowrap;
	overflow-wrap: normal;
	word-break: normal;
}

@media (max-width: 520px) {
	.thonmi-brand-uchen {
		display: none;
	}
}

@media (hover: hover) and (pointer: fine) {
	.thonmi-site-brand:hover .thonmi-brand-uchen {
		transform: translateY(-1px);
		color: var(--navy);
	}
	.thonmi-site-brand:hover img {
		opacity: 0.9;
	}
}

@media (hover: hover) and (pointer: fine) and (max-width: 520px) {
	.thonmi-site-brand:hover .thonmi-site-brand-text > span:not(.thonmi-brand-uchen) {
		transform: translateY(-1px);
	}
}

.thonmi-site-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	justify-content: flex-end;
}

.thonmi-site-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 0 6px;
	cursor: pointer;
}

.thonmi-site-nav {
	position: relative;
}

.thonmi-nav-ink {
	position: absolute;
	left: 0;
	bottom: 10px;
	width: 1px;
	height: 1px;
	background: var(--navy);
	opacity: 0;
	transform-origin: left center;
	transition: transform var(--medium) var(--ease-out-expo), opacity var(--fast) var(--ease-soft);
	pointer-events: none;
}

.thonmi-nav-ink.is-on {
	opacity: 1;
}

.thonmi-nav-ink.is-current {
	height: 2px;
}

.thonmi-js .thonmi-site-nav a::after {
	display: none;
}

.thonmi-site-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 4px;
	width: 100%;
	height: 2px;
	background: var(--navy);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--normal) var(--ease-soft);
}

.thonmi-site-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

@media (hover: hover) and (pointer: fine) {
	.thonmi-site-nav a:hover {
		transform: translateY(-1px);
	}
}

.thonmi-menu-btn {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
	color: var(--navy);
}

.thonmi-menu-btn span,
.thonmi-menu-btn span::before,
.thonmi-menu-btn span::after {
	display: block;
	width: 18px;
	height: 1px;
	background: currentColor;
	margin: 0 auto;
	position: relative;
}

.thonmi-menu-btn span::before,
.thonmi-menu-btn span::after {
	content: "";
	position: absolute;
	left: 0;
}

.thonmi-menu-btn span::before {
	top: -6px;
}

.thonmi-menu-btn span::after {
	top: 6px;
}

.thonmi-overlay {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: var(--paper);
	display: none;
	flex-direction: column;
	padding: 28px 28px 48px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 200ms var(--ease), visibility 200ms var(--ease);
}

.thonmi-overlay.is-open {
	display: flex;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.thonmi-overlay-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--space-12);
}

.thonmi-overlay-close {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--navy);
}

.thonmi-overlay-nav {
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}

.thonmi-overlay-nav a {
	display: flex;
	align-items: baseline;
	gap: var(--space-5);
	min-height: 44px;
	text-decoration: none !important;
	color: var(--navy) !important;
	font-family: var(--serif);
	font-size: clamp(1.6rem, 6vw, 2.2rem);
	opacity: 0;
	transform: translateY(8px);
}

.thonmi-overlay.is-open .thonmi-overlay-nav a {
	opacity: 1;
	transform: none;
	transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.thonmi-overlay.is-open .thonmi-overlay-nav a:nth-child(1) { transition-delay: 0ms; }
.thonmi-overlay.is-open .thonmi-overlay-nav a:nth-child(2) { transition-delay: 40ms; }
.thonmi-overlay.is-open .thonmi-overlay-nav a:nth-child(3) { transition-delay: 80ms; }
.thonmi-overlay.is-open .thonmi-overlay-nav a:nth-child(4) { transition-delay: 120ms; }

.thonmi-overlay-nav .num {
	font-family: var(--sans);
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--gold);
}

.thonmi-overlay-nav a[aria-current="page"] {
	color: var(--ink) !important;
}

.thonmi-overlay-uchen {
	margin-top: auto;
	text-align: center;
	font-family: var(--tibetan);
	font-size: 22px;
	line-height: 2;
	color: var(--navy);
	font-synthesis: none;
	overflow: visible;
}

/* Page shell */
.thonmi-page {
	max-width: var(--article);
	margin: 0 auto;
	padding: var(--space-8) clamp(20px, 4vw, 48px) var(--space-20);
	color: var(--ink);
}

body.thonmi-landing .thonmi-page {
	max-width: 1440px;
	padding-top: var(--space-8);
}

.thonmi-back {
	margin: 0 0 var(--space-8);
}

.thonmi-back a {
	color: var(--muted);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.thonmi-back a:hover {
	color: var(--navy);
}

.thonmi-section-sub {
	margin: 0 0 var(--space-10);
	color: var(--muted);
	max-width: var(--read);
}

/* Buttons and text links */
.thonmi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--navy);
	background: var(--navy);
	color: var(--paper) !important;
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color var(--normal) var(--ease), transform var(--fast) var(--ease);
}

.thonmi-btn::after,
.thonmi-more::after,
.thonmi-ext::after {
	content: "";
	width: 16px;
	height: 16px;
	position: relative;
	top: -1px;
	flex: 0 0 16px;
	background: currentColor;
	-webkit-mask: url("svg/thonmi-arrow.svg") center / 16px 16px no-repeat;
	mask: url("svg/thonmi-arrow.svg") center / 16px 16px no-repeat;
	transition: transform var(--normal) var(--ease-soft);
}

.thonmi-ext::after {
	transform: rotate(-40deg);
	top: 0;
}

.thonmi-btn:hover {
	background: var(--navy-deep);
	color: var(--paper) !important;
}

.thonmi-btn:hover::after,
.thonmi-more:hover::after,
.thonmi-course-card:hover .thonmi-more::after,
.thonmi-ext:hover::after {
	transform: translateX(4px);
}

.thonmi-btn:active {
	transform: translateY(1px) scale(0.98);
}

.thonmi-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: var(--space-5);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--navy);
	position: relative;
}

.thonmi-more::after {
	content: "→";
	position: relative;
	top: -1px;
	transition: transform var(--normal) var(--ease);
}

.thonmi-more::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background: var(--navy);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--normal) var(--ease);
}

.thonmi-course-card:hover .thonmi-more::after,
.thonmi-more:hover::after {
	transform: translateX(4px);
}

.thonmi-course-card:hover .thonmi-more::before,
.thonmi-more:hover::before {
	transform: scaleX(1);
}

a:focus-visible,
button:focus-visible,
.thonmi-btn:focus-visible,
.thonmi-course-card:focus-visible,
.thonmi-site-nav a:focus-visible,
.thonmi-overlay-nav a:focus-visible,
.thonmi-site-brand:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

/* Homepage hero */
.thonmi-hero-editorial {
	min-height: calc(100vh - 160px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: var(--space-10) 0 var(--space-20);
}

.thonmi-hero-callig {
	width: min(920px, 100%);
	margin: 0 auto var(--space-8);
	overflow: visible;
}

.thonmi-hero-uchen {
	font-family: var(--tibetan);
	font-size: clamp(2.25rem, 5.2vw, 3.6rem);
	line-height: 2;
	font-weight: 400;
	font-synthesis: none;
	color: var(--navy);
	margin: 0;
	overflow: visible;
	text-align: center;
}

.thonmi-logo,
svg.thonmi-logo {
	display: block;
	width: min(920px, 100%);
	height: auto;
	min-height: 8rem;
	margin: 0 auto;
	overflow: visible;
}

.thonmi-hero-editorial .thonmi-display {
	margin-bottom: var(--space-3);
}

.thonmi-hero-editorial .thonmi-sub {
	margin: 0 0 var(--space-8);
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 600;
	color: var(--ink);
}

.thonmi-tagline {
	max-width: 34em;
	margin: 0 auto;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	line-height: 1.65;
	font-style: italic;
	color: var(--ink);
}

.thonmi-scroll-cue {
	margin: var(--space-12) 0 0;
	color: var(--muted);
	font-size: 18px;
	letter-spacing: 0.2em;
}

/* Course mosaic */
.thonmi-course-mosaic {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: var(--space-5);
	align-items: stretch;
}

.thonmi-course-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none !important;
	color: inherit !important;
	overflow: hidden;
	transition: transform 260ms var(--ease), border-color 260ms var(--ease);
	view-transition-name: var(--vt, none);
}

.thonmi-course-card.is-a { --vt: course-a; }
.thonmi-course-card.is-b { --vt: course-b; }
.thonmi-course-card.is-c { --vt: course-c; }
.thonmi-course-card.is-d { --vt: course-d; }

.thonmi-course-card.is-c,
.thonmi-course-card.is-d {
	grid-column: span 1;
}

.thonmi-course-mosaic .is-c {
	grid-column: 1;
}

.thonmi-art {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--paper);
}

.thonmi-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center 20%;
	border-radius: 0;
	transform: scale(1);
	transition: transform 650ms var(--ease), opacity 250ms var(--ease);
	opacity: 1;
}

.thonmi-course-card .thonmi-art img {
	object-fit: cover;
}

.thonmi-art img.is-ready {
	opacity: 1;
}

.thonmi-course-body {
	padding: var(--space-5) var(--space-5) var(--space-6);
}

.thonmi-course-body h2 {
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	margin: 0 0 var(--space-3);
	color: var(--navy);
}

.thonmi-course-body p {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
}

/* Detail layouts */
.thonmi-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: var(--space-10);
	align-items: start;
}

.thonmi-prose {
	max-width: var(--read);
}

.thonmi-prose > p:first-of-type,
.thonmi-lede {
	font-size: clamp(1.15rem, 1.6vw, 1.2rem);
	line-height: 1.65;
}

.thonmi-rule {
	border: 0;
	height: 0;
	border-top: 1px solid var(--line);
	margin: var(--space-10) 0;
	position: relative;
}

.thonmi-rule.is-mark::after {
	content: "";
	position: absolute;
	left: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border: 1px solid var(--gold);
	background: var(--paper);
	transform: rotate(45deg);
}

.thonmi-meta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-8) var(--space-6);
	margin: var(--space-8) 0;
}

.thonmi-meta-grid dt {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--gold);
	margin: 0 0 var(--space-2);
}

.thonmi-meta-grid dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.thonmi-sticky-reg {
	position: sticky;
	top: 96px;
	padding: var(--space-6);
	background: var(--surface);
	border: 1px solid var(--line);
}

.thonmi-sticky-reg p {
	margin: 0 0 var(--space-2);
	font-size: 14px;
}

.thonmi-sticky-reg .thonmi-label {
	margin-top: var(--space-5);
}

.thonmi-sticky-reg .thonmi-btn {
	width: 100%;
	margin-top: var(--space-6);
}

.thonmi-lecture {
	text-align: center;
	max-width: 760px;
	margin: 0 auto var(--space-10);
}

.thonmi-lecture .thonmi-display,
.thonmi-lecture h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
}

.thonmi-curriculum {
	margin: var(--space-10) 0;
}

.thonmi-pair {
	display: block;
	padding: var(--space-6) var(--space-4);
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	color: inherit;
	transition: background-color var(--normal) var(--ease), transform var(--normal) var(--ease);
}

.thonmi-pair:hover {
	background: rgba(23, 62, 89, 0.035);
}

.thonmi-pair .num {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin-bottom: var(--space-3);
}

.thonmi-pair .bo {
	display: block;
	font-family: var(--tibetan);
	font-size: clamp(1.2rem, 2vw, 1.6rem);
	line-height: 2;
	color: var(--navy);
	margin-bottom: var(--space-2);
}

.thonmi-pair .en {
	display: block;
	color: var(--muted);
	font-size: 16px;
}

.thonmi-instructor {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-5);
	margin: var(--space-10) 0;
	padding-top: var(--space-8);
	border-top: 1px solid var(--line);
}

.thonmi-chapters {
	display: grid;
	gap: var(--space-8);
	margin: var(--space-10) 0;
}

.thonmi-chapter {
	padding-bottom: var(--space-6);
	border-bottom: 1px solid var(--line);
}

.thonmi-chapter .num {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin-bottom: var(--space-3);
}

.thonmi-chapter p {
	font-family: var(--serif);
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
	line-height: 1.2;
	color: var(--navy);
	margin: 0;
	max-width: 18em;
}

/* Study path journey */
.thonmi-journey {
	position: relative;
	margin: var(--space-12) 0 var(--space-16);
	padding-left: 36px;
}

.thonmi-journey::before {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	bottom: 8px;
	width: 1px;
	background: var(--line);
}

.thonmi-journey::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 8px;
	width: 1px;
	height: var(--progress, 0%);
	background: var(--navy);
	transition: height 80ms linear;
}

.thonmi-journey-step {
	position: relative;
	display: block;
	margin: 0 0 var(--space-12);
	text-decoration: none !important;
	color: inherit !important;
	scroll-margin-top: 96px;
}

.thonmi-journey-step::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 8px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 1px solid var(--navy);
	background: var(--paper);
	box-sizing: border-box;
}

.thonmi-journey-step.is-done::before {
	background: var(--navy);
}

.thonmi-journey-step .num {
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold);
	font-weight: 600;
}

.thonmi-journey-step h2 {
	margin: 4px 0 0;
}

.thonmi-level {
	scroll-margin-top: 96px;
	margin: 0 0 var(--space-16);
	padding-top: var(--space-4);
	max-width: var(--read);
}

.thonmi-level .contents-list,
.thonmi-level ul {
	padding-left: 0;
	list-style: none;
}

.thonmi-level li {
	padding: var(--space-3) 0;
	border-bottom: 1px solid var(--line);
}

/* About */
.thonmi-about-lede {
	font-family: var(--serif);
	font-size: clamp(1.45rem, 2.8vw, 2.15rem);
	line-height: 1.35;
	color: var(--navy);
	max-width: 18em;
	margin: 0 0 var(--space-16);
}

.thonmi-educators {
	display: grid;
	gap: 0;
	max-width: var(--read);
}

.thonmi-educator {
	padding: var(--space-8) 0;
	border-top: 1px solid var(--line);
}

.thonmi-educator .num {
	display: block;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold);
	margin-bottom: var(--space-3);
}

.thonmi-educator h2 {
	margin: 0 0 var(--space-3);
	font-size: clamp(1.5rem, 2vw, 1.85rem);
}

.thonmi-educator p {
	margin: 0;
	color: var(--muted);
	max-width: 28em;
}

.thonmi-resource-list {
	list-style: none;
	padding: 0;
	max-width: var(--read);
}

.thonmi-resource-list li {
	border-bottom: 1px solid var(--line);
}

.thonmi-resource-list a {
	display: block;
	padding: var(--space-4) 0;
	color: var(--navy);
	text-decoration: none;
	font-weight: 600;
}

.thonmi-resource-list a:hover {
	color: var(--ink);
}

/* Footer */
.thonmi-footer {
	background: var(--navy);
	color: var(--paper);
	padding: var(--space-20) clamp(20px, 4vw, 48px) var(--space-12);
	margin-top: var(--space-20);
}

.thonmi-footer-inner {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	gap: var(--space-8);
}

.thonmi-footer strong {
	display: block;
	font-family: var(--serif);
	font-size: 22px;
	font-weight: 600;
}

.thonmi-footer .sub {
	display: block;
	opacity: 0.8;
	margin: 4px 0 8px;
}

.thonmi-footer .uchen {
	font-family: var(--tibetan);
	font-size: 18px;
	line-height: 2;
	color: var(--paper);
	font-synthesis: none;
	overflow: visible;
}

.thonmi-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}

.thonmi-footer-nav a,
.thonmi-footer-socials a {
	color: var(--paper) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 600;
	opacity: 0.88;
}

.thonmi-footer-nav a:hover,
.thonmi-footer-socials a:hover {
	opacity: 1;
	text-decoration: underline !important;
}

.thonmi-footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

.thonmi-footer .copy {
	margin: var(--space-6) 0 0;
	font-size: 13px;
	opacity: 0.7;
}

/* Motion */
.thonmi-js .thonmi-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

.thonmi-js .thonmi-reveal.is-in {
	opacity: 1;
	transform: none;
}

.thonmi-js .thonmi-stagger > *:nth-child(1) { transition-delay: 0ms; }
.thonmi-js .thonmi-stagger > *:nth-child(2) { transition-delay: 60ms; }
.thonmi-js .thonmi-stagger > *:nth-child(3) { transition-delay: 120ms; }
.thonmi-js .thonmi-stagger > *:nth-child(4) { transition-delay: 180ms; }

@keyframes thonmi-enter {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.thonmi-hero-editorial .thonmi-hero-callig,
.thonmi-hero-editorial .thonmi-hero-copy,
.thonmi-hero-editorial .thonmi-scroll-cue {
	animation: thonmi-enter var(--slow) var(--ease) both;
}

.thonmi-hero-editorial .thonmi-hero-copy {
	animation-delay: 80ms;
}

.thonmi-hero-editorial .thonmi-scroll-cue {
	animation-delay: 160ms;
}

@media (max-width: 900px) {
	.thonmi-site-nav {
		display: none;
	}
	.thonmi-menu-btn {
		display: block;
	}
	.thonmi-course-mosaic,
	.thonmi-detail-layout,
	.thonmi-meta-grid {
		grid-template-columns: 1fr;
	}
	.thonmi-sticky-reg {
		position: static;
	}
	.thonmi-hero-editorial {
		min-height: auto;
		padding-top: var(--space-8);
	}
	.thonmi-page h1,
	.thonmi-section-title {
		font-size: 42px;
	}
	.thonmi-page p,
	.thonmi-detail p {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
	.thonmi-js .thonmi-reveal,
	.thonmi-js .thonmi-reveal.is-in,
	.thonmi-course-card:hover,
	.thonmi-course-card:hover .thonmi-art img,
	.thonmi-pair:hover,
	.thonmi-btn:hover::after,
	.thonmi-more::after {
		opacity: 1 !important;
		transform: none !important;
	}
	.thonmi-art img {
		opacity: 1;
	}
	svg.thonmi-logo path {
		animation: none !important;
		fill: var(--navy) !important;
		fill-opacity: 1 !important;
		stroke: none !important;
		stroke-dasharray: none !important;
		stroke-dashoffset: 0 !important;
	}
	@view-transition {
		navigation: none;
	}
}

/* Polish: rhythm, forms, print, identity */
body.thonmi-canva-page {
	cursor: default;
}

body.thonmi-canva-page a,
body.thonmi-canva-page button,
body.thonmi-canva-page .thonmi-course-card,
body.thonmi-canva-page input[type="submit"] {
	cursor: pointer;
}

.thonmi-skip {
	position: absolute;
	left: 12px;
	top: -40px;
	z-index: 60;
	background: var(--navy);
	color: var(--paper) !important;
	padding: 8px 12px;
	text-decoration: none;
}

.thonmi-skip:focus {
	top: 12px;
}

.thonmi-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0 0 var(--space-8);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--muted);
}

.thonmi-crumbs a {
	color: var(--muted);
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.thonmi-crumbs a:hover {
	color: var(--navy);
}

body.page-id-2742 .thonmi-back,
body.page-id-2743 .thonmi-back,
body.page-id-2744 .thonmi-back,
body.page-id-2745 .thonmi-back {
	display: none;
}

.thonmi-caption {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
	max-width: 42em;
}

.thonmi-page {
	position: relative;
}

body.page-id-2746 .thonmi-page::before,
body.page-id-2748 .thonmi-page::before {
	content: "ཨ";
	position: absolute;
	right: 4%;
	top: 8%;
	font-family: var(--tibetan);
	font-size: clamp(8rem, 22vw, 18rem);
	line-height: 1;
	color: var(--navy);
	opacity: 0.035;
	pointer-events: none;
	z-index: 0;
}

.thonmi-about-lede,
.thonmi-hero-editorial {
	position: relative;
}

.thonmi-about-lede::after,
.thonmi-hero-editorial::after {
	content: "";
	position: absolute;
	inset: -8% -6%;
	pointer-events: none;
	opacity: 0.03;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
	z-index: -1;
}

.thonmi-course-card.is-a .thonmi-art img { object-position: center 18%; }
.thonmi-course-card.is-b .thonmi-art img { object-position: center 28%; }
.thonmi-course-card.is-c .thonmi-art img { object-position: center 22%; }
.thonmi-course-card.is-d .thonmi-art img { object-position: center 20%; }

.thonmi-footer-nav a,
.thonmi-footer-socials a,
.thonmi-back a,
.thonmi-resource-list a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.thonmi-ext::after {
	content: "↗";
	font-size: 11px;
	margin-left: 6px;
	top: -1px;
}

.thonmi-empty {
	max-width: var(--read);
	padding: var(--space-10) 0;
}

.thonmi-empty h2 {
	margin-bottom: var(--space-4);
}

.thonmi-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.thonmi-skel {
	display: block;
	min-height: 1em;
	background: #efeae0;
	border-radius: var(--radius);
}

.thonmi-file {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--navy);
	text-decoration: none;
}

.thonmi-file .meta {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

body.page-id-2742 h1 { view-transition-name: course-a; }
body.page-id-2743 h1 { view-transition-name: course-b; }
body.page-id-2744 h1 { view-transition-name: course-c; }
body.page-id-2745 h1 { view-transition-name: course-d; }

body.thonmi-canva-page .wpforms-container {
	--wpforms-button-background-color: #173e59;
	--wpforms-button-border-color: #173e59;
	--wpforms-button-text-color: #f7f4ec;
	--wpforms-button-border-radius: 2px;
	--wpforms-button-size-height: 48px;
	--wpforms-button-size-font-size: 13px;
	--wpforms-field-background-color: #fffdf8;
	--wpforms-field-border-color: #e0dcd0;
	--wpforms-field-text-color: #181816;
	--wpforms-field-border-radius: 2px;
	--wpforms-field-size-input-height: 48px;
	--wpforms-label-color: #181816;
	--wpforms-label-error-color: #a94d35;
	--wpforms-container-border-width: 0px;
	--wpforms-container-border-radius: 0px;
	--wpforms-container-padding: 0px;
	--wpforms-background-color: transparent;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	box-shadow: none !important;
	max-width: 66ch;
}

body.thonmi-canva-page .wpforms-container .wpforms-head-container,
body.thonmi-canva-page .wpforms-container .wpforms-title,
body.thonmi-canva-page .wpforms-container .wpforms-description {
	display: none !important;
}

body.thonmi-canva-page .wpforms-container .wpforms-field-label,
body.thonmi-canva-page .wpforms-field-label {
	display: block !important;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--ink);
	margin: 0 0 var(--space-2);
}

body.thonmi-canva-page .wpforms-container .wpforms-required-label,
body.thonmi-canva-page .wpforms-required-label {
	color: var(--muted) !important;
	font-weight: 400;
	font-size: 12px;
	letter-spacing: 0;
}

body.thonmi-canva-page .wpforms-container input[type="text"],
body.thonmi-canva-page .wpforms-container input[type="email"],
body.thonmi-canva-page .wpforms-container input[type="tel"],
body.thonmi-canva-page .wpforms-container textarea,
body.thonmi-canva-page .wpforms-field input[type="text"],
body.thonmi-canva-page .wpforms-field input[type="email"],
body.thonmi-canva-page .wpforms-field input[type="tel"],
body.thonmi-canva-page .wpforms-field textarea {
	width: 100%;
	background: var(--surface) !important;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius) !important;
	min-height: 48px;
	height: auto !important;
	padding: var(--space-3) var(--space-4) !important;
	color: var(--ink) !important;
	box-shadow: none !important;
	font-family: var(--sans) !important;
	font-size: 16px !important;
	line-height: 1.45 !important;
	font-variant-numeric: tabular-nums;
}

body.thonmi-canva-page .wpforms-container textarea,
body.thonmi-canva-page .wpforms-field textarea {
	min-height: 140px;
	resize: vertical;
	overflow: hidden;
}

body.thonmi-canva-page .wpforms-container input[type="text"]:focus,
body.thonmi-canva-page .wpforms-container input[type="email"]:focus,
body.thonmi-canva-page .wpforms-container input[type="tel"]:focus,
body.thonmi-canva-page .wpforms-container textarea:focus,
body.thonmi-canva-page .wpforms-field input[type="text"]:focus,
body.thonmi-canva-page .wpforms-field input[type="email"]:focus,
body.thonmi-canva-page .wpforms-field textarea:focus {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
	border-color: var(--navy) !important;
}

body.thonmi-canva-page .wpforms-container input:-webkit-autofill,
body.thonmi-canva-page .wpforms-container input:-webkit-autofill:hover,
body.thonmi-canva-page .wpforms-container input:-webkit-autofill:focus,
body.thonmi-canva-page .wpforms-field input:-webkit-autofill {
	-webkit-text-fill-color: var(--ink);
	caret-color: var(--ink);
	box-shadow: 0 0 0 1000px var(--surface) inset !important;
	-webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
	transition: background-color 99999s ease-out 0s;
}

body.thonmi-canva-page .wpforms-container .wpforms-field:not([id$='-field_2-container']) {
	position: relative;
	margin: 0 0 var(--space-2) !important;
	padding-bottom: 1.5em;
}

body.thonmi-canva-page [id$='-field_2-container'] {
	padding-bottom: 0 !important;
	margin: 0 !important;
}

body.thonmi-canva-page .wpforms-error,
body.thonmi-canva-page .wpforms-field-label-inline.wpforms-error-msg,
body.thonmi-canva-page label.wpforms-error {
	color: var(--brick) !important;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.35;
	min-height: 1.35em;
	margin: var(--space-2) 0 0;
	background: none !important;
	border: 0 !important;
	padding: 0 !important;
}

body.thonmi-canva-page .wpforms-container .wpforms-field-radio ul,
body.thonmi-canva-page .wpforms-container .wpforms-list-2-columns ul,
body.thonmi-canva-page .wpforms-container .wpforms-list-3-columns ul {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.thonmi-canva-page .wpforms-container .wpforms-field-radio li {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 44px;
	margin: 0;
	padding: 0;
}

body.thonmi-canva-page .wpforms-container .wpforms-field-label-inline {
	display: inline;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0;
	color: var(--ink);
}

body.thonmi-canva-page .wpforms-field-checkbox input,
body.thonmi-canva-page .wpforms-field-radio input,
body.thonmi-canva-page .wpforms-container input[type="radio"],
body.thonmi-canva-page .wpforms-container input[type="checkbox"] {
	accent-color: var(--navy);
	width: 16px;
	height: 16px;
	min-height: 16px;
	margin: 0;
	flex: 0 0 16px;
}

body.thonmi-canva-page .wpforms-container .wpforms-submit-container {
	margin-top: var(--space-4);
	padding: 0;
	border: 0;
}

body.thonmi-canva-page .wpforms-submit,
body.thonmi-canva-page .wpforms-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 48px !important;
	height: 48px !important;
	padding: 0 22px !important;
	background: var(--navy) !important;
	border: 1px solid var(--navy) !important;
	border-radius: var(--radius) !important;
	color: var(--paper) !important;
	font-family: var(--sans) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	box-shadow: none !important;
	transition: background-color var(--hover) var(--ease), opacity var(--fast) var(--ease);
}

body.thonmi-canva-page .wpforms-submit:hover,
body.thonmi-canva-page .wpforms-submit:hover {
	background: var(--navy-deep) !important;
	color: var(--paper) !important;
}

body.thonmi-canva-page .wpforms-submit:focus-visible,
body.thonmi-canva-page .wpforms-submit:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

body.thonmi-canva-page .wpforms-submit[disabled],
body.thonmi-canva-page .wpforms-submit[aria-busy="true"],
body.thonmi-canva-page .wpforms-submit[disabled],
body.thonmi-canva-page .wpforms-submit[aria-busy="true"] {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

body.thonmi-canva-page .wpforms-submit-spinner {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
}

body.thonmi-canva-page .wpforms-confirmation-container,
body.thonmi-canva-page .wpforms-confirmation-container-full {
	background: var(--surface) !important;
	border: 1px solid var(--line) !important;
	border-radius: var(--radius) !important;
	padding: var(--space-6) !important;
	color: var(--ink);
	box-shadow: none !important;
	max-width: 66ch;
}

body.thonmi-canva-page .wpforms-confirmation-container p,
body.thonmi-canva-page .wpforms-confirmation-container-full p {
	margin: 0;
	color: var(--ink);
}

body.thonmi-canva-page ::-webkit-scrollbar {
	width: 8px;
}

body.thonmi-canva-page ::-webkit-scrollbar-thumb {
	background: #cfc8bb;
	border-radius: 0;
}

@media (max-width: 900px) {
	.thonmi-page {
		padding: var(--space-6) 20px var(--space-12);
	}
	.thonmi-prose .thonmi-btn,
	.thonmi-lecture + .thonmi-detail-layout .thonmi-btn,
	.thonmi-btn {
		width: 100%;
		justify-content: center;
	}
	.thonmi-course-mosaic {
		gap: var(--space-8);
	}
	.thonmi-footer {
		padding: var(--space-12) 20px var(--space-8);
	}
}

@media (min-width: 901px) {
	.thonmi-prose .thonmi-btn {
		width: auto;
	}
}

@media print {
	body.thonmi-canva-page {
		background: #fff !important;
		color: #111;
	}
	.thonmi-masthead,
	.thonmi-overlay,
	.thonmi-menu-btn,
	.thonmi-footer,
	.thonmi-sticky-reg,
	.thonmi-skip {
		display: none !important;
	}
	.thonmi-page {
		max-width: none;
		padding: 0;
	}
	.thonmi-art img {
		opacity: 1 !important;
		break-inside: avoid;
	}
	a {
		color: inherit !important;
		text-decoration: none !important;
	}
	.thonmi-progress,
	.thonmi-path-rail,
	.thonmi-overlay,
	.thonmi-dock,
	.thonmi-crumbs,
	.thonmi-back,
	body.page-id-1005 .wpforms-container,
	body.page-id-1005 .wpforms-form,
	body.page-id-1005 .wpforms-confirmation-container,
	body.page-id-1005 .wpforms-confirmation-container-full {
		display: none !important;
	}
	body.thonmi-canva-page::before,
	body.page-id-2746 .thonmi-page::before,
	body.page-id-2748 .thonmi-page::before {
		display: none !important;
	}
}

/* Art-directed continuity */
.thonmi-display,
.thonmi-page h1,
.thonmi-section-title {
	text-wrap: balance;
	hyphens: none;
}

.thonmi-prose p {
	text-wrap: pretty;
}

.thonmi-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	z-index: 46;
	pointer-events: none;
}

.thonmi-progress::after {
	content: "";
	display: block;
	height: 2px;
	width: 100%;
	background: linear-gradient(90deg, var(--navy), var(--gold));
	transform: scaleX(var(--read, 0));
	transform-origin: left;
}

.thonmi-masthead.is-scrolled .thonmi-brand-uchen,
.thonmi-masthead.is-scrolled .thonmi-site-brand-text > span:not(.thonmi-brand-uchen) {
	display: none;
}

.thonmi-menu-btn span,
.thonmi-menu-btn span::before,
.thonmi-menu-btn span::after {
	transition: transform 200ms var(--ease-soft), opacity 200ms var(--ease-soft), top 200ms var(--ease-soft);
}

.thonmi-menu-btn.is-open span {
	background: transparent;
}

.thonmi-menu-btn.is-open span::before {
	top: 0;
	transform: rotate(45deg);
}

.thonmi-menu-btn.is-open span::after {
	top: 0;
	transform: rotate(-45deg);
}

.thonmi-overlay.is-open {
	height: 100dvh;
	min-height: 100dvh;
	overscroll-behavior: contain;
	padding-top: max(28px, env(safe-area-inset-top));
	padding-bottom: max(48px, env(safe-area-inset-bottom));
}

.thonmi-overlay[hidden] {
	display: none !important;
	height: 0;
	min-height: 0;
	overflow: hidden;
}

body.thonmi-canva-page .thonmi-overlay {
	position: fixed;
	z-index: 50;
}

body.thonmi-menu-open .thonmi-page,
body.thonmi-menu-open .thonmi-footer {
	transform: scale(0.995);
	transform-origin: top center;
}

.thonmi-prose a:not(.thonmi-btn):not(.thonmi-more),
.thonmi-detail a:not(.thonmi-btn):not(.thonmi-more) {
	color: var(--navy);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
	background-size: 100% 1px, 0 1px;
	background-position: 0 100%, 0 calc(100% + 3px);
	background-repeat: no-repeat;
	transition: background-size var(--normal) var(--ease-soft);
}

@media (hover: hover) and (pointer: fine) {
	.thonmi-prose a:not(.thonmi-btn):not(.thonmi-more):hover,
	.thonmi-detail a:not(.thonmi-btn):not(.thonmi-more):hover {
		background-size: 0 1px, 100% 1px;
	}
	.thonmi-course-card:hover {
		transform: translateY(-3px);
		border-color: var(--navy);
	}
	.thonmi-course-card:hover .thonmi-art img {
		transform: scale(1.025);
	}
}

.thonmi-course-card {
	border-color: rgba(217, 212, 201, 0.55);
	box-shadow: none;
}

.thonmi-course-card:active {
	transform: translateY(0) scale(0.995);
}

.thonmi-course-card:visited h2 {
	color: #3d5566;
}

.thonmi-course-body h2 {
	line-clamp: 3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.thonmi-home-intro .thonmi-masthead,
body.thonmi-home-intro .thonmi-hero-copy .thonmi-display,
body.thonmi-home-intro .thonmi-hero-copy .thonmi-sub,
body.thonmi-home-intro .thonmi-tagline,
body.thonmi-home-intro .thonmi-site-nav,
body.thonmi-home-intro .thonmi-hero-callig {
	opacity: 0;
	animation: thonmi-settle 650ms var(--ease-out-expo) forwards;
}

body.thonmi-home-intro .thonmi-masthead { animation-delay: 100ms; }
body.thonmi-home-intro .thonmi-hero-copy .thonmi-display { animation-delay: 300ms; }
body.thonmi-home-intro .thonmi-hero-copy .thonmi-sub { animation-delay: 420ms; }
body.thonmi-home-intro .thonmi-tagline { animation-delay: 560ms; }
body.thonmi-home-intro .thonmi-site-nav { animation-delay: 700ms; }
body.thonmi-home-intro .thonmi-hero-callig { animation-delay: 900ms; }

body.thonmi-home-intro .thonmi-line {
	display: block;
}

@keyframes thonmi-settle {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

.thonmi-js .thonmi-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 650ms var(--ease-out-expo), transform 650ms var(--ease-out-expo);
}

.thonmi-js .thonmi-reveal.is-in {
	opacity: 1;
	transform: none;
}

.thonmi-educators {
	background: var(--navy);
	color: var(--paper);
	padding: var(--space-16) clamp(20px, 6vw, 72px);
	margin: var(--space-16) calc(50% - 50vw) 0;
}

.thonmi-educators h2,
.thonmi-educators .num {
	color: var(--paper);
}

.thonmi-educators p {
	color: rgba(247, 244, 236, 0.82);
}

body.thonmi-on-dark .thonmi-masthead {
	background: rgba(23, 62, 89, 0.92);
	border-bottom-color: rgba(247, 244, 236, 0.18);
	color: var(--paper);
}

body.thonmi-on-dark .thonmi-site-brand-text strong,
body.thonmi-on-dark .thonmi-site-nav a,
body.thonmi-on-dark .thonmi-menu-btn,
body.thonmi-on-dark .thonmi-brand-uchen {
	color: var(--paper) !important;
}

body.thonmi-on-dark .thonmi-nav-ink {
	background: var(--paper);
}

.thonmi-page.has-path-rail {
	padding-left: clamp(200px, 22vw, 260px);
}

.thonmi-path-rail {
	display: none;
}

@media (min-width: 1088px) {
	.thonmi-path-rail {
		display: block;
		position: sticky;
		top: 96px;
		float: left;
		width: 168px;
		margin-left: -200px;
		color: var(--muted);
		font-size: 13px;
		letter-spacing: 0.04em;
	}
	.thonmi-path-rail .num {
		color: var(--gold);
		margin: 8px 0;
		font-variant-numeric: tabular-nums;
	}
	.thonmi-path-rail .name {
		color: var(--navy);
		font-family: var(--serif);
		font-size: 18px;
		letter-spacing: 0;
	}
}

.thonmi-journey-step.is-current h2 {
	color: var(--navy);
}

.thonmi-detail-layout > article > .thonmi-label,
.thonmi-lecture .thonmi-label {
	margin-bottom: var(--space-4);
}

.thonmi-detail-layout > article > h1,
.thonmi-lecture h1 {
	margin-bottom: var(--space-4);
}

.thonmi-detail-layout,
.thonmi-lecture {
	padding-top: var(--space-8);
}

.thonmi-lecture + .thonmi-art,
.thonmi-detail-layout .thonmi-rule.is-mark {
	margin-top: var(--space-16);
}

body.page-id-2748 .thonmi-page::before {
	display: none;
}

.thonmi-meta-grid dt {
	font-variant-numeric: tabular-nums;
}

.thonmi-meta-grid dd {
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}

.thonmi-nowr {
	white-space: nowrap;
}

.thonmi-meta-grid > div {
	border-top: 1px solid var(--line);
	padding-top: var(--space-3);
}

.thonmi-level ul {
	list-style: none;
	padding: 0;
}

.thonmi-level li {
	position: relative;
	padding-left: 16px;
}

.thonmi-level li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 8px;
	height: 1px;
	background: var(--gold);
}

@media (max-width: 592px) {
	.thonmi-course-mosaic,
	.thonmi-detail-layout {
		grid-template-columns: 1fr;
	}
	.thonmi-page.has-path-rail {
		padding-left: clamp(20px, 4vw, 48px);
	}
}

@media (min-width: 593px) and (max-width: 815px) {
	.thonmi-course-mosaic {
		grid-template-columns: 1fr;
	}
	.thonmi-course-card.is-b,
	.thonmi-course-card.is-d {
		margin-left: 8%;
	}
}

@media (min-width: 816px) and (max-width: 1087px) {
	.thonmi-course-mosaic {
		grid-template-columns: 1fr 1fr;
	}
}

@media (prefers-contrast: more) {
	body.thonmi-canva-page {
		color: #111;
	}
	.thonmi-course-card,
	.thonmi-rule,
	.thonmi-sticky-reg {
		border-color: #2a2a28;
	}
}

.thonmi-save-data body.thonmi-canva-page::before,
html.thonmi-save-data body.thonmi-canva-page::before,
html.thonmi-save-data body.page-id-2746 .thonmi-page::before {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	body.thonmi-home-intro .thonmi-masthead,
	body.thonmi-home-intro .thonmi-hero-copy .thonmi-display,
	body.thonmi-home-intro .thonmi-hero-copy .thonmi-sub,
	body.thonmi-home-intro .thonmi-tagline,
	body.thonmi-home-intro .thonmi-site-nav,
	body.thonmi-home-intro .thonmi-hero-callig,
	body.thonmi-home-intro .thonmi-hero-uchen {
		opacity: 1;
		animation: none;
	}
	.thonmi-masthead.is-hidden {
		transform: none;
	}
	body.thonmi-menu-open .thonmi-page,
	body.thonmi-menu-open .thonmi-footer {
		transform: none;
	}
	.thonmi-site-brand:active,
	.thonmi-course-card:hover,
	.thonmi-course-card:active {
		transform: none;
	}
}

/* Production system: visibility, nav, back, resources, states */
body.thonmi-canva-page .thonmi-course-mosaic .thonmi-course-card,
body.thonmi-canva-page .thonmi-course-mosaic .thonmi-reveal,
body.thonmi-canva-page .thonmi-art img {
	opacity: 1;
}

.thonmi-js .thonmi-course-mosaic .thonmi-reveal {
	opacity: 1;
	transform: none;
}

.thonmi-site-nav a {
	gap: 8px;
}

.thonmi-site-nav .num {
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--gold);
	transition: opacity var(--hover) var(--ease-soft);
}

.thonmi-site-nav .txt {
	display: inline-block;
	transition: transform var(--hover) var(--ease-soft);
}

.thonmi-site-nav a[aria-current="page"] .txt::after {
	content: " \25CF";
	font-size: 8px;
	margin-left: 6px;
	vertical-align: middle;
}

.thonmi-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color var(--hover) var(--ease-soft);
}

.thonmi-back a::before {
	content: "\2190";
	display: inline-block;
	transition: transform var(--hover) var(--ease-soft);
}

.thonmi-resource-list {
	counter-reset: thonmi-res;
}

.thonmi-resource-row,
.thonmi-resource-list a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: var(--space-5) 0;
	border-bottom: 1px solid var(--line);
	color: var(--navy) !important;
	text-decoration: none !important;
	font-family: var(--serif);
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	transition: transform var(--hover) var(--ease-soft), border-color var(--hover) var(--ease-soft);
}

.thonmi-resource-row .num,
.thonmi-resource-list li:nth-child(-n+4) a::before {
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--gold);
	font-weight: 600;
}

.thonmi-resource-list li:nth-child(-n+4) a::before {
	counter-increment: thonmi-res;
	content: counter(thonmi-res, decimal-leading-zero);
}

.thonmi-resource-list li:nth-child(-n+4) a::after,
.thonmi-resource-row:not(.thonmi-ext)::after {
	content: "\2192";
	margin-left: auto;
	font-size: 16px;
	transition: transform var(--hover) var(--ease-soft);
}

.thonmi-resource-list li:nth-child(n+5) a::after,
.thonmi-resource-row.thonmi-ext::after,
.thonmi-resource-ext .thonmi-ext::after {
	content: "\2197";
}

.thonmi-resource-list li:nth-child(4) {
	margin-bottom: var(--space-8);
}

.thonmi-resource-list li:nth-child(5) {
	border-top: 1px solid var(--line);
	padding-top: var(--space-6);
}

.thonmi-resource-ext {
	margin-top: var(--space-8);
	padding-top: var(--space-6);
	border-top: 1px solid var(--line);
}

.thonmi-btn[aria-disabled="true"],
.thonmi-btn:disabled {
	opacity: 0.4;
	pointer-events: none;
}

.thonmi-btn[aria-busy="true"] {
	opacity: 0.7;
}

.thonmi-btn.is-demo-hover,
.thonmi-btn.is-demo-focus,
.thonmi-btn.is-demo-active {
	pointer-events: none;
}

.thonmi-field {
	display: grid;
	gap: 6px;
	max-width: 28em;
	margin: var(--space-5) 0;
}

.thonmi-field input {
	min-height: 48px;
	border: 1px solid var(--line);
	background: var(--surface);
	padding: 0 12px;
	border-radius: var(--radius);
}

.thonmi-field.is-error input {
	border-color: var(--brick);
}

.thonmi-field.is-success input {
	border-color: var(--navy);
}

.thonmi-field-msg {
	min-height: 1.2em;
	font-size: 13px;
	color: var(--muted);
}

.thonmi-field.is-error .thonmi-field-msg {
	color: var(--brick);
}

.thonmi-system-sec {
	margin: var(--space-16) 0;
	padding-top: var(--space-8);
	border-top: 1px solid var(--line);
}

.thonmi-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.thonmi-swatches li {
	min-width: 88px;
	min-height: 64px;
	padding: 8px;
	border: 1px solid var(--line);
	font-size: 12px;
}

.thonmi-system-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.thonmi-art-empty {
	min-height: 180px;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.thonmi-more::after {
	top: -1px;
}

@media (hover: hover) and (pointer: fine) {
	.thonmi-site-nav a:hover .num {
		opacity: 0.55;
	}
	.thonmi-site-nav a:hover .txt {
		transform: translateX(3px);
	}
	.thonmi-back a:hover::before {
		transform: translateX(-4px);
	}
	.thonmi-resource-row:hover,
	.thonmi-resource-list a:hover {
		transform: translateX(5px);
		border-bottom-color: var(--navy);
	}
	.thonmi-btn.is-demo-hover,
	.thonmi-btn:hover {
		background: var(--navy-deep);
	}
	.thonmi-btn.is-demo-active,
	.thonmi-btn:active {
		transform: translateY(1px) scale(0.98);
		transition-duration: var(--press);
	}
}

.thonmi-btn.is-demo-focus,
.thonmi-btn:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

@media (pointer: coarse) {
	.thonmi-site-nav a:hover .txt,
	.thonmi-resource-row:hover,
	.thonmi-resource-list a:hover,
	.thonmi-course-card:hover {
		transform: none;
	}
}

@media (max-width: 390px) {
	.thonmi-page {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (max-width: 815px) {
	.thonmi-detail-layout {
		grid-template-columns: 1fr;
	}
	.thonmi-detail-layout .thonmi-art {
		order: -1;
	}
}

@media (min-width: 1024px) {
	.thonmi-page {
		padding-left: clamp(24px, 5vw, 64px);
	}
}

@media (min-width: 1280px) {
	body.thonmi-landing .thonmi-page {
		max-width: 1280px;
	}
}

@media (min-width: 1440px) {
	body.thonmi-landing .thonmi-page {
		max-width: 1440px;
	}
}

@media (min-width: 1728px) {
	.thonmi-masthead {
		max-width: 1600px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.thonmi-site-nav .txt,
	.thonmi-back a::before,
	.thonmi-resource-row,
	.thonmi-resource-list a,
	.thonmi-btn {
		transition: none;
	}
}

/* At Thonmi Tsuglag (2741) — hierarchy, mosaic, visibility */
body.page-id-2741 .thonmi-page {
	max-width: var(--page);
	padding-top: var(--space-6);
}

body.page-id-2741 .thonmi-back {
	margin: 0 0 var(--space-6);
}

body.page-id-2741 .thonmi-section-title {
	font-family: var(--sans);
	font-size: 0.75rem;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--gold);
	margin: 0 0 var(--space-3);
}

body.page-id-2741 .thonmi-section-sub {
	font-family: var(--serif);
	font-weight: 600;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	line-height: 1.15;
	color: var(--navy);
	max-width: 18em;
	margin: 0 0 var(--space-8);
	text-wrap: balance;
	overflow-wrap: break-word;
}

body.page-id-2741 .thonmi-course-mosaic {
	grid-template-columns: 1.25fr 1fr;
	gap: var(--space-6);
	align-items: stretch;
}

body.page-id-2741 .thonmi-course-card,
body.page-id-2741 .thonmi-course-card.thonmi-reveal,
body.page-id-2741 .thonmi-art img {
	opacity: 1;
	transform: none;
}

body.page-id-2741 .thonmi-course-card {
	border-color: var(--line);
	height: 100%;
	align-self: stretch;
}

body.page-id-2741 .thonmi-course-card:visited h2 {
	color: var(--navy);
}

body.page-id-2741 .thonmi-art {
	aspect-ratio: 1 / 1;
}

body.page-id-2741 .thonmi-course-card .thonmi-art img {
	object-fit: contain;
	object-position: center center;
}

body.page-id-2741 .thonmi-course-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: var(--space-5);
}

body.page-id-2741 .thonmi-course-body h2,
body.page-id-2741 .thonmi-course-body p {
	overflow-wrap: break-word;
}

body.page-id-2741 .thonmi-more {
	margin-top: auto;
	padding-top: var(--space-5);
}

body.page-id-2741 .thonmi-course-body h2 {
	-webkit-line-clamp: unset;
	line-clamp: unset;
}

@media (max-width: 900px) {
	body.page-id-2741 .thonmi-page h1,
	body.page-id-2741 .thonmi-section-title {
		font-size: 0.75rem;
	}
}

@media (max-width: 592px) {
	body.page-id-2741 .thonmi-course-mosaic {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}
	body.page-id-2741 .thonmi-course-card.is-b,
	body.page-id-2741 .thonmi-course-card.is-d {
		margin-left: 0;
	}
	body.page-id-2741 .thonmi-section-sub {
		max-width: none;
		font-size: clamp(1.5rem, 8vw, 2rem);
		margin-bottom: var(--space-8);
	}
}

@media (min-width: 593px) and (max-width: 815px) {
	body.page-id-2741 .thonmi-course-mosaic {
		grid-template-columns: 1fr;
		gap: var(--space-6);
	}
	body.page-id-2741 .thonmi-course-card.is-b,
	body.page-id-2741 .thonmi-course-card.is-d {
		margin-left: var(--space-8);
	}
}

@media (min-width: 816px) {
	body.page-id-2741 .thonmi-course-mosaic {
		grid-template-columns: 1.25fr 1fr;
	}
	body.page-id-2741 .thonmi-course-card.is-b,
	body.page-id-2741 .thonmi-course-card.is-d {
		margin-left: 0;
	}
}

/* Contact (1005) — editorial page, WPForms chrome only */
body.page-id-1005 .thonmi-page {
	max-width: calc(var(--read) + 96px);
	padding-top: var(--space-6);
}

body.page-id-1005 .thonmi-crumbs {
	max-width: 66ch;
	margin: 0 0 var(--space-4);
	padding: 0 0 var(--space-4);
	border-bottom: 1px solid var(--line);
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	color: var(--muted);
	gap: 0;
}

body.page-id-1005 .thonmi-crumbs a,
body.page-id-1005 .thonmi-crumbs span {
	min-height: 44px;
}

body.page-id-1005 .thonmi-crumbs a {
	color: var(--muted);
	background-image: none;
}

body.page-id-1005 .thonmi-crumbs a:hover {
	color: var(--navy);
}

body.page-id-1005 .thonmi-detail,
body.page-id-1005 .thonmi-contact {
	max-width: 66ch;
}

body.page-id-1005 .thonmi-back {
	margin: 0 0 var(--space-6);
}

body.page-id-1005 .thonmi-back a {
	background-image: none;
	color: var(--muted);
}

body.page-id-1005 .thonmi-back a:hover {
	color: var(--navy);
}

body.page-id-1005 h1 {
	margin: 0 0 var(--space-6);
}

body.page-id-1005 .thonmi-detail > p:not(.thonmi-back),
body.page-id-1005 .thonmi-contact > p:not(.thonmi-back) {
	max-width: 66ch;
	margin: 0 0 var(--space-5);
}

body.page-id-1005 .thonmi-mail,
body.page-id-1005 .thonmi-mail strong {
	color: var(--navy);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

body.page-id-1005 .thonmi-reg-block {
	scroll-margin-top: 5.5rem;
	max-width: 66ch;
	margin: var(--space-12) 0 0;
	padding-top: var(--space-8);
	border-top: 1px solid var(--line);
}

body.page-id-1005 .thonmi-reg-block h2 {
	margin: 0 0 var(--space-4);
}

body.page-id-1005 .thonmi-reg-block > p {
	max-width: 66ch;
	margin: 0 0 var(--space-4);
}

body.page-id-1005 .thonmi-reg-block .wpforms-container {
	margin-top: var(--space-6);
	padding-top: 0;
	border-top: 0;
}

@media (max-width: 900px) {
	body.page-id-1005 .wpforms-submit,
	body.page-id-1005 #wpforms-submit-1191 {
		width: 100%;
		justify-content: center;
	}
}


