:root {
	--tm-blue: #0056b3;
	--tm-blue-dark: #003d80;
	--tm-bg: #fafafa;
	--tm-surface: #ffffff;
	--tm-text: #1a1a1a;
	--tm-muted: #5c5c5c;
	--tm-border: #e8e8e8;
	--tm-sidebar-w: 280px;
	--tm-font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
	--tm-pad-x: max(1rem, env(safe-area-inset-left, 0px));
	--tm-pad-x-end: max(1rem, env(safe-area-inset-right, 0px));
	--tm-mobile-header-offset: 3.5rem;
	--tm-mobile-logo-h: 48px;
	--tm-mobile-header-pad-y: 0.25rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--tm-font);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--tm-text);
	background: var(--tm-bg);
}

body.tm-nav-open {
	overflow: hidden;
}

body.tm-page-store {
	margin: 0;
	overflow: hidden;
	height: 100dvh;
	height: 100svh;
}

html:has(body.tm-page-store) {
	height: 100%;
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--tm-blue);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--tm-blue-dark);
}

.tm-skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 100000;
	padding: 0.5rem 1rem;
	background: var(--tm-surface);
	border: 1px solid var(--tm-border);
}

.tm-skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.tm-mobile-header {
	display: grid;
	grid-template-columns: 2.25rem 1fr 2.25rem;
	align-items: center;
	gap: 0.2rem;
	padding: max(var(--tm-mobile-header-pad-y), env(safe-area-inset-top)) var(--tm-pad-x-end) var(--tm-mobile-header-pad-y) var(--tm-pad-x);
	background: #0a0a0a;
	border-bottom: 2px solid var(--tm-blue);
	position: sticky;
	top: 0;
	z-index: 50;
	flex-shrink: 0;
	transition: transform 0.22s ease;
	will-change: transform;
}

@media (max-width: 959px) {
	.tm-mobile-header--hidden {
		transform: translateY(calc(-100% - 4px));
		pointer-events: none;
	}

	body.tm-nav-open .tm-mobile-header {
		transform: translateY(0);
		pointer-events: auto;
	}
}

.tm-menu-toggle {
	grid-column: 1;
	justify-self: start;
	appearance: none;
	border: 0;
	background: transparent;
	color: #fff;
	padding: 0.15rem;
	cursor: pointer;
}

.tm-mobile-logo {
	grid-column: 2;
	justify-self: center;
	text-align: center;
	line-height: 0;
}

@media (min-width: 960px) {
	.tm-mobile-header {
		display: none;
	}
}

.tm-menu-toggle-box {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 20px;
}

.tm-menu-toggle-line {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}

.tm-mobile-logo img {
	display: block;
	max-height: var(--tm-mobile-logo-h);
	width: auto;
	margin: 0 auto;
}

.tm-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 60;
}

.tm-backdrop[hidden] {
	display: none;
}

@media (min-width: 960px) {
	.tm-backdrop {
		display: none !important;
	}
}

.tm-wrapper {
	display: flex;
	min-height: 100vh;
}

body.tm-page-store .tm-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

@media (max-width: 959px) {
	body.tm-page-store .tm-wrapper {
		position: fixed;
		top: var(--tm-mobile-header-offset, 3.5rem);
		left: 0;
		right: 0;
		bottom: 0;
	}

	body.tm-page-store.tm-header-hidden .tm-wrapper {
		top: 0;
	}
}

@media (min-width: 960px) {
	body.tm-page-store .tm-wrapper {
		flex-direction: row;
		align-items: stretch;
		position: static;
		height: 100dvh;
		height: 100svh;
	}

	body.tm-page-store .tm-sidebar {
		flex-shrink: 0;
		height: 100%;
		overflow-y: auto;
	}
}

.tm-sidebar {
	flex: 0 0 var(--tm-sidebar-w);
	max-width: var(--tm-sidebar-w);
	background: #0a0a0a;
	color: #f2f2f2;
	border-right: 1px solid #222;
	position: relative;
}

.tm-sidebar::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--tm-blue) 0%, var(--tm-blue) 35%, transparent 100%);
	pointer-events: none;
}

.tm-sidebar-inner {
	padding: 1.75rem 1.25rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-height: 100%;
}

.tm-sidebar-close {
	display: none;
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

@media (max-width: 959px) {
	.tm-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 70;
		max-width: min(var(--tm-sidebar-w), 88vw);
		transform: translateX(-100%);
		transition: transform 0.2s ease;
		overflow-y: auto;
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
	}

	body.tm-nav-open .tm-sidebar {
		transform: translateX(0);
	}

	.tm-sidebar-close {
		display: block;
	}
}

.tm-logo {
	display: block;
	text-decoration: none;
}

.tm-logo img {
	display: block;
	max-width: 200px;
}

.tm-tagline {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
	color: #b8b8b8;
	line-height: 1.4;
}

.tm-tagline--mobile {
	display: none;
}

@media (max-width: 959px) {
	.tm-tagline--desktop {
		display: none;
	}

	.tm-tagline--mobile {
		display: block;
	}
}

.tm-sidebar-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.tm-sidebar-links a {
	display: block;
	padding: 0.55rem 0.75rem;
	border-radius: 6px;
	color: #f2f2f2;
	text-decoration: none;
	font-weight: 600;
}

.tm-sidebar-links a:hover,
.tm-sidebar-links a[aria-current="page"] {
	background: rgba(0, 86, 179, 0.35);
	color: #fff;
}

.tm-main {
	flex: 1;
	min-width: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
}

.tm-main--store {
	flex: 1 1 auto;
	padding: 0;
	width: 100%;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.tm-content {
	flex: 1;
	padding: 1.5rem var(--tm-pad-x-end) 2.5rem var(--tm-pad-x);
	max-width: 1200px;
}

.tm-content--intro {
	flex: 0 0 auto;
	padding-bottom: 1rem;
	max-width: none;
	width: 100%;
}

@media (min-width: 960px) {
	.tm-content--intro {
		max-width: 1200px;
	}
}

.tm-content--narrow {
	max-width: 720px;
}

.tm-hero {
	margin-bottom: 1.25rem;
}

.tm-hero h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	font-weight: 700;
}

.tm-home-mission {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	color: var(--tm-muted);
	font-weight: 500;
}

.tm-store-section {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: var(--tm-surface);
}

.tm-store-section iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	vertical-align: top;
}

.tm-site-footer--store {
	flex-shrink: 0;
	width: 100%;
	margin-top: 0;
	padding: 0.4rem var(--tm-pad-x-end) max(0.45rem, env(safe-area-inset-bottom)) var(--tm-pad-x);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 1rem;
}

.tm-site-footer--store .tm-footer-links {
	margin: 0;
	gap: 0.35rem 0.85rem;
}

.tm-site-footer--store .tm-credit {
	margin: 0;
	font-size: 0.8rem;
}

.tm-site-footer--store .tm-footer-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1rem;
}

.tm-swib-powered {
	display: inline-block;
	text-align: left;
	line-height: 1.15;
}

.tm-swib-powered-label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 3px;
	color: var(--tm-muted);
}

.tm-swib-powered a {
	display: inline-block;
	text-decoration: none;
}

.tm-swib-powered img {
	display: block;
	width: 56px;
	height: auto;
	border: 0;
}

.tm-credit--swib {
	margin-bottom: 0.25rem;
}

.tm-about__card {
	background: var(--tm-surface);
	border: 1px solid var(--tm-border);
	border-radius: 8px;
	padding: 1.75rem 1.5rem;
}

.tm-about__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tm-blue);
}

.tm-about__title {
	margin: 0 0 1rem;
	font-size: 1.75rem;
	line-height: 1.2;
}

.tm-about-motto {
	margin-top: 1.25rem;
	padding: 1rem 1.1rem;
	background: #eef4fb;
	border-left: 4px solid var(--tm-blue);
	border-radius: 0 6px 6px 0;
	font-weight: 600;
}

.tm-site-footer {
	margin-top: auto;
	padding: 1.25rem var(--tm-pad-x-end) 1.5rem var(--tm-pad-x);
	border-top: 1px solid var(--tm-border);
	background: var(--tm-surface);
}

.tm-footer-links {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.tm-footer-links a {
	font-weight: 600;
}

.tm-credit {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: var(--tm-muted);
}

/* —— We'll be back soon (maintenance) —— */

body.tm-page-away {
	background: var(--tm-bg);
}

.tm-away {
	position: relative;
	flex: 1;
	overflow: hidden;
	min-height: min(70vh, 640px);
}

.tm-away__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.tm-away__glow {
	position: absolute;
	width: min(520px, 90vw);
	height: min(520px, 90vw);
	top: 8%;
	left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(0, 86, 179, 0.18) 0%, transparent 68%);
	pointer-events: none;
	z-index: 0;
	animation: tm-away-glow 6s ease-in-out infinite alternate;
}

@keyframes tm-away-glow {
	from {
		opacity: 0.55;
		transform: translateX(-50%) scale(0.92);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) scale(1.08);
	}
}

.tm-away__content {
	position: relative;
	z-index: 1;
	max-width: 720px;
	padding-top: clamp(1.25rem, 4vw, 2.5rem);
	padding-bottom: 1rem;
}

.tm-away__hero {
	margin-bottom: 1.5rem;
	transform-style: preserve-3d;
	transition: transform 0.15s ease-out;
	will-change: transform;
}

.tm-away__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.85rem;
	padding: 0.35rem 0.85rem 0.35rem 0.65rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tm-blue-dark);
	background: #eef4fb;
	border: 1px solid rgba(0, 86, 179, 0.2);
	border-radius: 999px;
}

.tm-away__status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tm-blue);
	box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.45);
	animation: tm-away-pulse 1.8s ease-out infinite;
}

@keyframes tm-away-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.5);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(0, 86, 179, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
	}
}

.tm-away__title {
	margin: 0 0 0.65rem;
	font-size: clamp(2rem, 6vw, 2.75rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.tm-away__title-line {
	display: inline-block;
	background: linear-gradient(120deg, var(--tm-text) 0%, var(--tm-blue) 55%, var(--tm-blue-dark) 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: tm-away-shimmer 5s linear infinite;
}

@keyframes tm-away-shimmer {
	to {
		background-position: 200% center;
	}
}

.tm-away__title-line.tm-away__title--typed::after {
	content: "|";
	margin-left: 2px;
	color: var(--tm-blue);
	animation: tm-away-blink 0.9s step-end infinite;
}

@keyframes tm-away-blink {
	50% {
		opacity: 0;
	}
}

.tm-away__subtitle {
	margin: 0 0 1.25rem;
	font-size: 1.1rem;
	color: var(--tm-muted);
	font-weight: 500;
	max-width: 36em;
}

.tm-away__heart-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.65rem 1.15rem;
	border: 2px solid var(--tm-blue);
	border-radius: 999px;
	background: var(--tm-surface);
	color: var(--tm-blue-dark);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.tm-away__heart-btn:hover,
.tm-away__heart-btn:focus-visible {
	background: #eef4fb;
	transform: scale(1.04);
	box-shadow: 0 6px 20px rgba(0, 86, 179, 0.2);
	outline: none;
}

.tm-away__heart-btn:active {
	transform: scale(0.97);
}

.tm-away__heart-icon {
	font-size: 1.35rem;
	display: inline-block;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tm-away__heart-btn.is-burst .tm-away__heart-icon {
	transform: scale(1.35) rotate(-8deg);
}

.tm-away__notice {
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.15s ease-out;
}

.tm-away__notice-title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	line-height: 1.25;
}

.tm-away__notice-body {
	margin: 0 0 1rem;
}

.tm-away__checklist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tm-away__checklist li {
	position: relative;
	padding-left: 1.65rem;
	font-weight: 600;
	color: var(--tm-text);
	opacity: 0;
	transform: translateX(-8px);
	transition: opacity 0.45s ease, transform 0.45s ease;
}

.tm-away__checklist li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--tm-blue);
	font-weight: 800;
}

.tm-away__checklist li.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.tm-away__hint {
	margin: 1.25rem 0 0;
	font-size: 0.8rem;
	color: var(--tm-muted);
	opacity: 0.7;
}

@media (max-width: 959px) {
	.tm-away__hint {
		display: none;
	}
}

.tm-away__float-layer {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 200;
	overflow: hidden;
}

.tm-away__float {
	position: absolute;
	font-size: 1.25rem;
	opacity: 0;
	animation: tm-away-float-up 1.4s ease-out forwards;
	user-select: none;
}

@keyframes tm-away-float-up {
	0% {
		opacity: 1;
		transform: translateY(0) scale(0.6);
	}
	100% {
		opacity: 0;
		transform: translateY(-120px) scale(1.1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tm-away__glow,
	.tm-away__status-dot,
	.tm-away__title-line,
	.tm-away__title-line.tm-away__title--typed::after {
		animation: none;
	}

	.tm-away__title-line {
		color: var(--tm-text);
		background: none;
		-webkit-background-clip: unset;
		background-clip: unset;
	}

	.tm-away__checklist li {
		opacity: 1;
		transform: none;
	}

	.tm-away__hero,
	.tm-away__notice {
		transition: none;
	}
}
