/* ==========================================================================
   Thunder Media
   Design tokens and values are taken directly from the Figma Make source.
   Order: tokens → reset → typography → layout → components → sections →
          footer → editor content → responsive → motion preferences
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts — self-hosted Inter Tight variable subset
   -------------------------------------------------------------------------- */

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
		U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
		U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
		U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Brand */
	--tm-navy: #081d36;
	--tm-navy-deep: #050c16;
	--tm-gold: #d4af37;
	--tm-gold-light: #f5d47b;
	--tm-gold-deep: #a88c20;
	--tm-gold-darkest: #6b5a0f;
	--tm-off-white: #f5f5f5;
	--tm-rich-black: #111;

	/* Derived surfaces */
	--tm-glass-bg: rgba(255, 255, 255, 0.04);
	--tm-glass-border: rgba(212, 175, 55, 0.18);
	--tm-hairline: rgba(212, 175, 55, 0.12);
	--tm-nav-bg: rgba(5, 12, 22, 0.94);
	--tm-menu-bg: rgba(5, 12, 22, 0.98);

	/* Text */
	--tm-text: var(--tm-off-white);
	--tm-text-muted: rgba(245, 245, 245, 0.6);
	--tm-text-dim: rgba(245, 245, 245, 0.48);
	--tm-text-faint: rgba(245, 245, 245, 0.45);

	/* Rhythm */
	--tm-nav-h: 80px;
	--tm-gutter: 8vw;
	--tm-gutter-hero: 7vw;
	--tm-section-y: 100px;
	--tm-max: 1280px;

	/* Motion */
	--tm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--tm-reveal: 0.85s;

	color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Reset and base
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--tm-nav-h) + 16px);
}

body {
	margin: 0;
	background-color: var(--tm-navy);
	color: var(--tm-text);
	font-family: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--tm-gold);
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

/* The UA stylesheet gives figure a 40px side margin, which indents galleries
   and cover images and overflows narrow screens. */
figure {
	margin: 0;
}

:focus-visible {
	outline: 2px solid var(--tm-gold);
	outline-offset: 3px;
	border-radius: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.tm-skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 2000;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	padding: 12px 20px;
	background: var(--tm-gold);
	color: var(--tm-navy);
	font-weight: 800;
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.tm-section {
	position: relative;
	padding: var(--tm-section-y) var(--tm-gutter);
}

.tm-section--tight {
	padding-block: 72px;
}

.tm-shell {
	max-width: var(--tm-max);
	margin-inline: auto;
}

.tm-shell--narrow {
	max-width: 860px;
}

#tm-main {
	padding-top: var(--tm-nav-h);
}

body.tm-home #tm-main {
	padding-top: 0;
}

/* --------------------------------------------------------------------------
   5. Typography components
   -------------------------------------------------------------------------- */

.tm-gold-text {
	background: linear-gradient(
		135deg,
		#d4af37 0%,
		#f5d47b 40%,
		#d4af37 70%,
		#a88c20 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--tm-gold);
}

.tm-eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--tm-gold);
	margin-bottom: 18px;
}

.tm-eyebrow--center {
	text-align: center;
}

.tm-eyebrow--left {
	text-align: left;
	position: relative;
	padding-bottom: 10px;
}

.tm-eyebrow--left::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 44px;
	height: 1px;
	background: linear-gradient(90deg, var(--tm-gold), transparent);
}

.tm-heading {
	color: var(--tm-off-white);
	line-height: 1;
	letter-spacing: -0.03em;
}

.tm-heading--xl {
	font-size: clamp(48px, 6.5vw, 108px);
	line-height: 0.92;
	letter-spacing: -0.04em;
}

.tm-heading--lg {
	font-size: clamp(36px, 5vw, 72px);
	margin-bottom: 64px;
}

.tm-heading--md {
	font-size: clamp(32px, 4.5vw, 64px);
	margin-bottom: 52px;
}

.tm-heading--sm {
	font-size: clamp(26px, 3vw, 40px);
	margin-bottom: 28px;
}

.tm-heading--center {
	text-align: center;
}

.tm-heading--left {
	text-align: left;
}

.tm-lede {
	font-size: clamp(15px, 1.3vw, 18px);
	line-height: 1.65;
	color: rgba(245, 245, 245, 0.62);
	max-width: 56ch;
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.tm-btn {
	display: inline-block;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-radius: 4px;
	border: 0;
	white-space: nowrap;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
	will-change: transform;
}

.tm-btn--primary {
	background: linear-gradient(135deg, var(--tm-gold), var(--tm-gold-deep));
	color: var(--tm-navy);
}

.tm-btn--ghost {
	background: transparent;
	color: var(--tm-gold);
	font-weight: 700;
	border: 1px solid rgba(212, 175, 55, 0.4);
}

.tm-btn--sm {
	font-size: 12px;
	padding: 12px 22px;
}

.tm-btn--md {
	font-size: 14px;
	padding: 18px 40px;
}

.tm-btn--lg {
	font-size: 15px;
	padding: 20px 52px;
}

/* Interior page hero — slightly tighter than the homepage hero button. */
.tm-btn--hero {
	font-size: 14px;
	padding: 16px 36px;
}

/* Interior closing CTA band. */
.tm-btn--band {
	font-size: 15px;
	padding: 18px 44px;
}

.tm-btn--ghost.tm-btn--md {
	padding: 14px 36px;
}

.tm-btn--primary.tm-btn--sm {
	box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.tm-btn--primary.tm-btn--md {
	box-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
}

.tm-btn--primary.tm-btn--lg {
	box-shadow: 0 0 40px rgba(212, 175, 55, 0.5), 0 0 80px rgba(212, 175, 55, 0.2);
}

.tm-btn--primary.tm-btn--hero {
	box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}

.tm-btn--primary.tm-btn--band {
	background: linear-gradient(135deg, var(--tm-gold), #b8961e);
}

.tm-btn--glow {
	animation: tm-glow-pulse 3s ease-in-out infinite;
}

.tm-btn--primary:hover,
.tm-btn--primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 0 44px rgba(212, 175, 55, 0.6), 0 0 90px rgba(212, 175, 55, 0.25);
}

.tm-btn--ghost:hover,
.tm-btn--ghost:focus-visible {
	background: rgba(212, 175, 55, 0.08);
	border-color: rgba(212, 175, 55, 0.75);
}

.tm-btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.tm-btn-row--center {
	justify-content: center;
}

/* Call block ------------------------------------------------------------- */

.tm-call {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-align: left;
	color: var(--tm-off-white);
}

/* Right-aligned only where it sits against the nav's right edge. */
.tm-nav .tm-call {
	text-align: right;
}

.tm-call__label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.45);
}

.tm-call__number {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--tm-off-white);
	transition: color 0.2s;
}

.tm-call:hover .tm-call__number {
	color: var(--tm-gold);
}

.tm-call--large {
	text-align: center;
}

.tm-call--large .tm-call__label {
	font-size: 11px;
}

.tm-call--large .tm-call__number {
	font-size: 26px;
}

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */

.tm-nav {
	position: fixed;
	inset: 0 0 auto 0;
	height: var(--tm-nav-h);
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0 5vw;
	background: var(--tm-nav-bg);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-bottom: 1px solid var(--tm-hairline);
}

.tm-nav__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.tm-logo__img {
	height: 44px;
	width: auto;
	object-fit: contain;
}

/* The source logo is a light mark on transparent; invert keeps it white on
   navy regardless of what the client uploads. */
.tm-nav .tm-logo__img {
	filter: brightness(0) invert(1);
}

.tm-logo__text {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.04em;
	color: var(--tm-off-white);
	line-height: 1;
}

.tm-logo__text small {
	display: block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.55);
	margin-top: 2px;
}

.tm-nav__divider {
	width: 1px;
	height: 28px;
	flex-shrink: 0;
	background: linear-gradient(transparent, rgba(212, 175, 55, 0.22), transparent);
}

.tm-nav__menu {
	display: flex;
	align-items: center;
	gap: 32px;
	flex: 1;
	height: var(--tm-nav-h);
	list-style: none;
}

.tm-nav__menu li {
	position: relative;
	height: var(--tm-nav-h);
	display: flex;
	align-items: center;
}

.tm-nav__menu > li > a {
	position: relative;
	padding-bottom: 3px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: rgba(245, 245, 245, 0.6);
	transition: color 0.2s;
}

.tm-nav__menu > li > a::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--tm-gold), transparent);
	opacity: 0;
	transition: opacity 0.2s;
}

.tm-nav__menu > li > a:hover,
.tm-nav__menu > li.current-menu-item > a,
.tm-nav__menu > li[aria-current] > a,
.tm-nav__menu > li.tm-is-active > a {
	color: var(--tm-gold);
}

.tm-nav__menu > li > a:hover::after,
.tm-nav__menu > li.current-menu-item > a::after,
.tm-nav__menu > li.tm-is-active > a::after {
	opacity: 1;
}

.tm-nav__caret {
	display: inline-block;
	margin-left: 5px;
	transition: transform 0.2s;
}

.tm-nav__has-children:hover .tm-nav__caret,
.tm-nav__has-children:focus-within .tm-nav__caret {
	transform: rotate(180deg);
}

/* Services dropdown ------------------------------------------------------ */

.tm-dropdown {
	position: absolute;
	top: var(--tm-nav-h);
	left: -16px;
	width: 240px;
	list-style: none;
	padding: 8px 0;
	background: var(--tm-menu-bg);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(212, 175, 55, 0.15);
	border-top: 2px solid rgba(212, 175, 55, 0.4);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity 0.2s, transform 0.2s;
}

.tm-nav__has-children:hover .tm-dropdown,
.tm-nav__has-children:focus-within .tm-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.tm-dropdown li {
	display: block;
	height: auto;
}

.tm-dropdown a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: rgba(245, 245, 245, 0.65);
	border-bottom: 1px solid rgba(212, 175, 55, 0.06);
	transition: color 0.15s, background 0.15s;
}

.tm-dropdown a::before {
	content: "";
	width: 5px;
	height: 5px;
	flex-shrink: 0;
	border-radius: 50%;
	background: rgba(212, 175, 55, 0.35);
	transition: background 0.15s, box-shadow 0.15s;
}

.tm-dropdown a:hover {
	color: var(--tm-off-white);
	background: rgba(212, 175, 55, 0.06);
}

.tm-dropdown a:hover::before {
	background: var(--tm-gold);
	box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.tm-dropdown__all a {
	border-bottom: 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.75);
	font-weight: 700;
}

.tm-dropdown__all a::before {
	display: none;
}

.tm-nav__actions {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-shrink: 0;
	margin-left: auto;
}

/* Mobile toggle ---------------------------------------------------------- */

.tm-nav__toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	background: transparent;
	border: 1px solid rgba(212, 175, 55, 0.25);
	border-radius: 6px;
	padding: 0;
	position: relative;
}

.tm-nav__toggle span,
.tm-nav__toggle span::before,
.tm-nav__toggle span::after {
	position: absolute;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--tm-gold);
	border-radius: 2px;
	transform: translateX(-50%);
	transition: transform 0.25s, opacity 0.2s;
}

.tm-nav__toggle span {
	top: 50%;
	margin-top: -1px;
}

.tm-nav__toggle span::before,
.tm-nav__toggle span::after {
	content: "";
	left: 0;
	transform: none;
}

.tm-nav__toggle span::before {
	top: -6px;
}

.tm-nav__toggle span::after {
	top: 6px;
}

.tm-nav__toggle[aria-expanded="true"] span {
	background: transparent;
}

.tm-nav__toggle[aria-expanded="true"] span::before {
	transform: translateY(6px) rotate(45deg);
}

.tm-nav__toggle[aria-expanded="true"] span::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. Glass card
   -------------------------------------------------------------------------- */

.tm-card {
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 14px;
	padding: 28px 24px;
	height: 100%;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

a:hover > .tm-card,
a:focus-visible > .tm-card,
.tm-card--hover:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 175, 55, 0.45);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 175, 55, 0.08);
}

.tm-card__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
	border: 1px solid rgba(212, 175, 55, 0.28);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: var(--tm-gold);
}

.tm-card__title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tm-off-white);
	margin-bottom: 8px;
}

.tm-card__text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--tm-text-faint);
	margin: 0 0 16px;
}

.tm-card__more {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tm-gold);
}

/* Dot-marked card used by the "why" grid */

.tm-card--dot {
	border-radius: 12px;
	padding: 24px 26px;
}

.tm-card__dot {
	width: 8px;
	height: 8px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--tm-gold);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.tm-card--dot .tm-card__text {
	color: var(--tm-text-dim);
	line-height: 1.55;
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */

.tm-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: calc(var(--tm-nav-h) + 40px) var(--tm-gutter-hero) 80px;
	overflow: hidden;
}

.tm-hero__fx {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.tm-hero__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.tm-hero__glow {
	position: absolute;
	top: -160px;
	right: -160px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 68%);
	filter: blur(60px);
	animation: tm-pulse-gold 7s ease-in-out infinite;
}

.tm-hero__glow--low {
	top: auto;
	right: auto;
	bottom: -200px;
	left: -180px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.09), transparent 70%);
	animation-delay: 2s;
}

.tm-hero__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 48px;
	width: 100%;
	max-width: var(--tm-max);
	margin-inline: auto;
}

.tm-hero__copy {
	flex: 1 1 0;
	min-width: 0;
}

.tm-hero__kicker {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
}

.tm-hero__kicker .tm-logo__img {
	height: 34px;
	filter: brightness(0) invert(1);
}

.tm-hero__region {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.45);
	padding-left: 20px;
	border-left: 1px solid rgba(212, 175, 55, 0.25);
}

/* The hero, "why" and CTA headlines are set in caps in the design; the
   strings stay title case in PHP so translations read naturally. */
.tm-hero__title {
	margin-bottom: 32px;
	text-transform: uppercase;
}

.tm-hero__title span {
	display: block;
}

.tm-hero__lede {
	max-width: 52ch;
	margin-bottom: 36px;
}

.tm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-bottom: 40px;
}

.tm-hero__serving {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.35);
}

.tm-hero__art {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
}

.tm-bolt {
	filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.9))
		drop-shadow(0 0 80px rgba(212, 175, 55, 0.5))
		drop-shadow(0 0 120px rgba(8, 29, 54, 0.8));
	animation: tm-float-slow 6s ease-in-out infinite;
}

/* Diagonal light streaks ------------------------------------------------- */

.tm-streak {
	position: absolute;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
	animation: tm-streak 4s linear infinite;
}

/* --------------------------------------------------------------------------
   10. Client ticker
   -------------------------------------------------------------------------- */

.tm-ticker {
	padding: 48px 0;
	border-top: 1px solid rgba(212, 175, 55, 0.08);
	border-bottom: 1px solid rgba(212, 175, 55, 0.08);
	overflow: hidden;
}

.tm-ticker__label {
	text-align: center;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.32);
	margin-bottom: 26px;
}

.tm-ticker__viewport {
	position: relative;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tm-ticker__track {
	display: flex;
	width: max-content;
	animation: tm-ticker 28s linear infinite;
}

.tm-ticker__viewport:hover .tm-ticker__track {
	animation-play-state: paused;
}

.tm-ticker__item {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 0 48px;
	white-space: nowrap;
	flex-shrink: 0;
}

.tm-ticker__item::before {
	content: "";
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--tm-gold);
	box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.tm-ticker__name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tm-text-muted);
}

/* --------------------------------------------------------------------------
   11. Services grid
   -------------------------------------------------------------------------- */

.tm-grid {
	display: grid;
	gap: 16px;
}

.tm-grid--services {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tm-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tm-services__footer {
	margin-top: 40px;
	text-align: center;
}

.tm-link-all {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.6);
	transition: color 0.15s;
}

.tm-link-all:hover {
	color: var(--tm-gold);
}

/* --------------------------------------------------------------------------
   12. Why Thunder Media
   -------------------------------------------------------------------------- */

.tm-why__inner {
	display: flex;
	align-items: center;
	gap: 64px;
}

.tm-why__aside {
	flex: 0 0 34%;
}

.tm-why__title {
	font-size: clamp(38px, 4.6vw, 68px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.98;
	color: var(--tm-off-white);
	text-transform: uppercase;
}

.tm-why__title span {
	display: block;
}

.tm-why__grid {
	flex: 1 1 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

/* --------------------------------------------------------------------------
   13. Industries
   -------------------------------------------------------------------------- */

.tm-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	list-style: none;
}

.tm-pill {
	padding: 10px 22px;
	border-radius: 100px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(212, 175, 55, 0.18);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: rgba(245, 245, 245, 0.7);
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tm-pill:hover {
	border-color: rgba(212, 175, 55, 0.5);
	background: rgba(212, 175, 55, 0.07);
	color: var(--tm-off-white);
}

/* --------------------------------------------------------------------------
   14. Closing CTA
   -------------------------------------------------------------------------- */

.tm-cta {
	position: relative;
	padding: 120px var(--tm-gutter);
	text-align: center;
	overflow: hidden;
}

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

.tm-cta__inner {
	position: relative;
	max-width: 860px;
	margin-inline: auto;
}

.tm-cta__title {
	font-size: clamp(40px, 5.4vw, 82px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.98;
	margin-bottom: 22px;
	text-transform: uppercase;
}

.tm-cta__title span {
	display: block;
}

.tm-cta__lede {
	font-size: clamp(15px, 1.4vw, 19px);
	color: rgba(245, 245, 245, 0.6);
	margin-bottom: 40px;
}

.tm-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.tm-cta__region {
	margin-top: 44px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.3);
}

/* --------------------------------------------------------------------------
   15. Interior page hero
   -------------------------------------------------------------------------- */

.tm-phero {
	position: relative;
	padding: 120px var(--tm-gutter) 80px;
	overflow: hidden;
}

.tm-phero--tight {
	padding-top: 100px;
}

.tm-phero__fx {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.tm-phero__glow {
	position: absolute;
	top: -220px;
	right: -160px;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 68%);
	filter: blur(60px);
	animation: tm-pulse-gold 7s ease-in-out infinite;
}

.tm-phero__inner {
	position: relative;
}

.tm-phero__title {
	font-size: clamp(52px, 7vw, 110px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.9;
	color: var(--tm-off-white);
	text-transform: uppercase;
	margin-bottom: 28px;
}

.tm-phero__title span {
	display: block;
}

/* A one-line title (blog post, client name) can be long — don't let it run
   at the four-line hero size. */
.tm-phero__title--single {
	font-size: clamp(34px, 4.4vw, 62px);
	line-height: 1;
	text-transform: none;
	letter-spacing: -0.03em;
}

.tm-phero__lede {
	max-width: 56ch;
}

.tm-phero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin-top: 36px;
}

/* --------------------------------------------------------------------------
   15b. Feature cards ("What's included")
   -------------------------------------------------------------------------- */

.tm-card--feature {
	padding: 28px 30px;
}

.tm-card__check {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
	border: 1px solid rgba(212, 175, 55, 0.28);
}

.tm-card__title--lg {
	font-size: 16px;
}

.tm-card--feature .tm-card__text {
	color: var(--tm-text-dim);
	line-height: 1.55;
	margin-bottom: 0;
}

.tm-card--feature .tm-card__more {
	display: inline-block;
	margin-top: 16px;
}

/* --------------------------------------------------------------------------
   15c. About page
   -------------------------------------------------------------------------- */

.tm-about__story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.tm-about__story .tm-prose {
	max-width: none;
}

.tm-card--stat {
	padding: 28px 24px;
	text-align: center;
	display: grid;
	gap: 8px;
}

.tm-card__stat {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.tm-card__statlabel {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(245, 245, 245, 0.5);
}

.tm-card--bilingual {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
	padding: 24px 28px;
	border-color: rgba(212, 175, 55, 0.35);
}

.tm-card__emoji {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	font-size: 20px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.tm-card--bilingual .tm-card__title {
	display: block;
	margin-bottom: 4px;
}

.tm-card--bilingual .tm-card__text {
	display: block;
	margin-bottom: 0;
	color: rgba(245, 245, 245, 0.5);
}

.tm-card--mvv {
	border-radius: 16px;
	padding: 36px 32px;
	border-color: rgba(212, 175, 55, 0.35);
}

.tm-card__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.65);
	margin-bottom: 16px;
}

.tm-card__rule {
	display: block;
	width: 48px;
	height: 2px;
	margin-bottom: 18px;
	border-radius: 1px;
	background: linear-gradient(90deg, var(--tm-gold), transparent);
}

.tm-card--mvv .tm-card__text {
	font-size: 15px;
	line-height: 1.6;
	color: rgba(245, 245, 245, 0.62);
	margin-bottom: 0;
}

.tm-card__list {
	list-style: none;
	display: grid;
	gap: 10px;
}

.tm-card__list li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	font-weight: 600;
	color: rgba(245, 245, 245, 0.72);
}

.tm-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tm-gold);
	box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* --------------------------------------------------------------------------
   15d. Portfolio cards
   -------------------------------------------------------------------------- */

.tm-ccard {
	display: grid;
	justify-items: center;
	gap: 8px;
	height: 100%;
	padding: 36px 32px;
	text-align: center;
	background: var(--tm-glass-bg);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 16px;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.tm-ccard:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 175, 55, 0.6);
	background: rgba(255, 255, 255, 0.06);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.tm-ccard__badge {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 64px;
	height: 64px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
	border: 1px solid rgba(212, 175, 55, 0.35);
	font-size: 22px;
	font-weight: 900;
	color: var(--tm-gold);
}

.tm-ccard__badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tm-ccard__name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tm-off-white);
}

.tm-ccard__cat {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.6);
}

.tm-ccard--future {
	border-style: dashed;
}

/* --------------------------------------------------------------------------
   15d-2. Single project page
   -------------------------------------------------------------------------- */

.tm-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	list-style: none;
}

.tm-facts__item {
	flex: 1 1 200px;
	padding: 22px 26px;
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 14px;
}

.tm-facts__key {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.6);
}

.tm-facts__value {
	display: block;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--tm-off-white);
	word-break: break-word;
}

a.tm-facts__value {
	color: var(--tm-gold);
	transition: color 0.15s;
}

a.tm-facts__value:hover {
	color: var(--tm-gold-light);
}

/* Cover image, framed so a light screenshot does not float on the navy. */
.tm-cover {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--tm-glass-border);
	border-radius: 18px;
	background: var(--tm-glass-bg);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.tm-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.tm-pills--left {
	justify-content: flex-start;
}

.tm-pills--left a.tm-pill {
	display: inline-block;
}

.tm-projectnav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 32px;
	border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.tm-projectnav__link {
	display: grid;
	gap: 4px;
	max-width: 42%;
}

.tm-projectnav__link--next {
	text-align: right;
	justify-items: end;
}

.tm-projectnav__key {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.6);
}

.tm-projectnav__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--tm-off-white);
	transition: color 0.15s;
}

.tm-projectnav__link:hover .tm-projectnav__title {
	color: var(--tm-gold);
}

/* --------------------------------------------------------------------------
   15d-2b. Project gallery
   -------------------------------------------------------------------------- */

.tm-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
	gap: 16px;
}

.tm-gallery__item {
	display: block;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid var(--tm-glass-border);
	background: var(--tm-glass-bg);
	aspect-ratio: 3 / 2;
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tm-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tm-gallery__item:hover,
.tm-gallery__item:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(212, 175, 55, 0.5);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

/* Everything past the first twelve stays hidden until the button is used.
   Without JS the class is never removed, so they load only on demand. */
.tm-gallery--capped .tm-gallery__item--extra {
	display: none;
}

.tm-gallery__more {
	margin-top: 28px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   15d-2c. Lightbox
   -------------------------------------------------------------------------- */

.tm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 5vh 4vw;
	background: rgba(5, 12, 22, 0.96);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

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

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

.tm-lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 90vh;
	display: flex;
}

.tm-lightbox__figure img {
	max-width: 100%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.tm-lightbox__close,
.tm-lightbox__nav {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(212, 175, 55, 0.3);
	background: rgba(255, 255, 255, 0.04);
	color: var(--tm-gold);
	font-size: 28px;
	line-height: 1;
	transition: background 0.2s, border-color 0.2s;
}

.tm-lightbox__close:hover,
.tm-lightbox__nav:hover {
	background: rgba(212, 175, 55, 0.14);
	border-color: rgba(212, 175, 55, 0.6);
}

.tm-lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 24px;
}

.tm-lightbox__count {
	position: absolute;
	bottom: 18px;
	left: 0;
	right: 0;
	margin: 0;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: rgba(245, 245, 245, 0.5);
}

@media (max-width: 560px) {
	.tm-lightbox {
		padding: 12vh 4vw;
	}

	.tm-lightbox__nav {
		position: absolute;
		bottom: 46px;
	}

	.tm-lightbox__nav--prev {
		left: 20px;
	}

	.tm-lightbox__nav--next {
		right: 20px;
	}
}

/* --------------------------------------------------------------------------
   15d-3. Editor galleries and images inside project copy
   -------------------------------------------------------------------------- */

/* Two classes so this wins over the .tm-prose max-width defined further
   down the file, regardless of source order. */
.tm-prose.tm-prose--wide {
	max-width: none;
}

.tm-prose .wp-block-gallery,
.tm-prose .wp-block-image {
	margin-block: 2em;
}

.tm-prose .wp-block-gallery {
	display: grid;
	/* min() keeps the 280px floor from overflowing a narrower phone column. */
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}

.tm-prose .wp-block-gallery figure {
	margin: 0;
}

.tm-prose .wp-block-gallery img,
.tm-prose .wp-block-image img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid var(--tm-glass-border);
	background: var(--tm-glass-bg);
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tm-prose .wp-block-gallery img:hover {
	transform: translateY(-3px);
	border-color: rgba(212, 175, 55, 0.45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.tm-prose figcaption {
	margin-top: 10px;
	font-size: 12px;
	color: rgba(245, 245, 245, 0.4);
	text-align: center;
}

/* WordPress's own "expand on click" lightbox overlay. */
.wp-lightbox-overlay .scrim {
	background: var(--tm-navy);
	opacity: 0.94;
}

/* --------------------------------------------------------------------------
   15e. Contact page
   -------------------------------------------------------------------------- */

.tm-contact {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 64px;
	align-items: start;
}

.tm-contact__side {
	display: grid;
	gap: 16px;
}

.tm-card--contact {
	padding: 32px 30px;
	border-color: rgba(212, 175, 55, 0.28);
}

.tm-contact__person {
	margin-bottom: 24px;
}

.tm-contact__name {
	display: block;
	font-size: 17px;
	font-weight: 800;
	color: var(--tm-off-white);
}

.tm-contact__role {
	display: block;
	font-size: 13px;
	color: rgba(245, 245, 245, 0.5);
}

.tm-contact__rows {
	list-style: none;
	display: grid;
	gap: 18px;
	margin-bottom: 22px;
}

.tm-contact__rows li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.tm-contact__icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	font-size: 16px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.04));
	border: 1px solid rgba(212, 175, 55, 0.28);
}

.tm-contact__key {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(245, 245, 245, 0.4);
	margin-bottom: 2px;
}

.tm-contact__rows a,
.tm-contact__value {
	font-size: 15px;
	font-weight: 700;
	color: var(--tm-off-white);
	transition: color 0.15s;
}

.tm-contact__rows a:hover {
	color: var(--tm-gold);
}

.tm-contact__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
}

.tm-contact__cities li {
	font-size: 13px;
	color: rgba(245, 245, 245, 0.5);
}

/* Form ------------------------------------------------------------------- */

.tm-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.tm-form__row {
	margin: 0;
}

.tm-form__row--full {
	grid-column: 1 / -1;
}

.tm-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.6);
}

.tm-form input,
.tm-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	font: inherit;
	font-size: 15px;
	color: var(--tm-off-white);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

.tm-form textarea {
	resize: vertical;
	min-height: 150px;
}

.tm-form input::placeholder,
.tm-form textarea::placeholder {
	color: rgba(245, 245, 245, 0.3);
}

.tm-form input:focus,
.tm-form textarea:focus {
	border-color: rgba(212, 175, 55, 0.7);
	background: rgba(255, 255, 255, 0.06);
}

.tm-form__submit {
	width: 100%;
	margin-top: 24px;
	padding: 18px;
	border-radius: 8px;
	font-size: 15px;
	box-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
}

/* Honeypot: off-screen but not display:none, which some bots detect. */
.tm-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tm-notice {
	margin-bottom: 24px;
	padding: 16px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid;
}

.tm-notice--ok {
	color: #d7f5c8;
	background: rgba(96, 190, 60, 0.12);
	border-color: rgba(96, 190, 60, 0.45);
}

.tm-notice--error {
	color: #ffd9d3;
	background: rgba(224, 84, 64, 0.12);
	border-color: rgba(224, 84, 64, 0.45);
}

/* --------------------------------------------------------------------------
   15f. Interior closing CTA band
   -------------------------------------------------------------------------- */

.tm-ctaband {
	position: relative;
	overflow: hidden;
	padding: 100px var(--tm-gutter);
	text-align: center;
	background: linear-gradient(135deg, #050c18 0%, #081d36 100%);
	border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.tm-ctaband__inner {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin-inline: auto;
}

.tm-ctaband__title {
	font-size: clamp(36px, 5vw, 72px);
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 0.95;
	color: var(--tm-off-white);
	margin-bottom: 24px;
}

.tm-ctaband__lede {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(245, 245, 245, 0.55);
	margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   16. Long-form content (block editor output)
   -------------------------------------------------------------------------- */

.tm-prose {
	max-width: 70ch;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(245, 245, 245, 0.72);
}

.tm-prose > * + * {
	margin-top: 1.1em;
}

.tm-prose h2 {
	font-size: clamp(24px, 2.6vw, 34px);
	color: var(--tm-off-white);
	margin-top: 2em;
	margin-bottom: 0.6em;
	letter-spacing: -0.02em;
}

.tm-prose h3 {
	font-size: clamp(19px, 2vw, 24px);
	color: var(--tm-off-white);
	margin-top: 1.6em;
	margin-bottom: 0.5em;
	font-weight: 800;
}

.tm-prose ul,
.tm-prose ol {
	padding-left: 1.3em;
	display: grid;
	gap: 0.55em;
}

.tm-prose ul {
	list-style: none;
	padding-left: 0;
}

.tm-prose ul li {
	position: relative;
	padding-left: 26px;
}

.tm-prose ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--tm-gold);
	box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.tm-prose ol {
	list-style: decimal;
}

.tm-prose ol li::marker {
	color: var(--tm-gold);
	font-weight: 800;
}

.tm-prose a {
	color: var(--tm-gold);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(212, 175, 55, 0.4);
}

.tm-prose a:hover {
	text-decoration-color: var(--tm-gold);
}

.tm-prose blockquote {
	margin: 1.6em 0;
	padding: 20px 26px;
	border-left: 2px solid var(--tm-gold);
	background: var(--tm-glass-bg);
	border-radius: 0 12px 12px 0;
	color: var(--tm-off-white);
}

.tm-prose img,
.tm-prose figure {
	border-radius: 12px;
	overflow: hidden;
}

.tm-prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.9em;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.06);
}

/* Two-column article layout used by service pages */

.tm-article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.tm-sidebar {
	position: sticky;
	top: calc(var(--tm-nav-h) + 24px);
	display: grid;
	gap: 16px;
}

.tm-sidebar__card {
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 14px;
	padding: 26px 24px;
}

.tm-sidebar__title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tm-gold);
	margin-bottom: 16px;
}

.tm-sidebar__list {
	list-style: none;
	display: grid;
	gap: 2px;
}

.tm-sidebar__list a {
	display: block;
	padding: 8px 0;
	font-size: 13px;
	font-weight: 600;
	color: rgba(245, 245, 245, 0.6);
	border-bottom: 1px solid rgba(212, 175, 55, 0.07);
	transition: color 0.15s, padding-left 0.15s;
}

.tm-sidebar__list a:hover,
.tm-sidebar__list .tm-is-current a {
	color: var(--tm-gold);
	padding-left: 6px;
}

/* --------------------------------------------------------------------------
   17. Archive cards (portfolio, blog)
   -------------------------------------------------------------------------- */

.tm-tile {
	display: block;
	height: 100%;
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.tm-tile:hover {
	transform: translateY(-4px);
	border-color: rgba(212, 175, 55, 0.45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.tm-tile__media {
	aspect-ratio: 3 / 2;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(8, 29, 54, 0.4));
	display: grid;
	place-items: center;
	overflow: hidden;
}

.tm-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tm-tile__initials {
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0.04em;
	color: rgba(212, 175, 55, 0.55);
}

.tm-tile__body {
	padding: 22px 24px 26px;
}

.tm-tile__title {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--tm-off-white);
	margin-bottom: 6px;
}

.tm-tile__text {
	font-size: 13px;
	line-height: 1.55;
	color: var(--tm-text-faint);
	margin: 0;
}

/* --------------------------------------------------------------------------
   17b. Search form and pagination
   -------------------------------------------------------------------------- */

.tm-search {
	display: flex;
	gap: 10px;
	max-width: 480px;
	margin-top: 24px;
}

.tm-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px;
	font: inherit;
	font-size: 14px;
	color: var(--tm-off-white);
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 4px;
}

.tm-search input[type="search"]::placeholder {
	color: rgba(245, 245, 245, 0.35);
}

.tm-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.tm-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: rgba(245, 245, 245, 0.6);
	background: var(--tm-glass-bg);
	border: 1px solid var(--tm-glass-border);
	border-radius: 4px;
	transition: color 0.15s, border-color 0.15s;
}

.tm-pagination .page-numbers:hover,
.tm-pagination .page-numbers.current {
	color: var(--tm-gold);
	border-color: rgba(212, 175, 55, 0.5);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.tm-footer {
	position: relative;
	padding: 80px var(--tm-gutter) 40px;
	background: var(--tm-navy-deep);
	border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.tm-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1.2fr 1.6fr;
	gap: 48px;
	max-width: var(--tm-max);
	margin-inline: auto;
}

.tm-footer__brand .tm-logo__img {
	height: 40px;
	filter: brightness(0) invert(1);
	margin-bottom: 20px;
}

.tm-footer__about {
	font-size: 13px;
	line-height: 1.7;
	color: rgba(245, 245, 245, 0.45);
	max-width: 40ch;
}

.tm-social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 22px 0;
}

.tm-social a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(212, 175, 55, 0.2);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: rgba(212, 175, 55, 0.8);
	transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tm-social a:hover {
	background: rgba(212, 175, 55, 0.12);
	border-color: rgba(212, 175, 55, 0.55);
	color: var(--tm-gold);
}

.tm-footer__contact {
	display: grid;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
}

.tm-footer__contact a {
	color: rgba(245, 245, 245, 0.75);
	transition: color 0.15s;
}

.tm-footer__contact a:hover {
	color: var(--tm-gold);
}

.tm-footer__title {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--tm-gold);
	margin-bottom: 18px;
}

.tm-footer__list {
	list-style: none;
	display: grid;
	gap: 9px;
}

.tm-footer__list a {
	font-size: 13px;
	font-weight: 600;
	color: rgba(245, 245, 245, 0.5);
	transition: color 0.15s;
}

.tm-footer__list a:hover {
	color: var(--tm-gold);
}

.tm-footer__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	list-style: none;
}

.tm-footer__cities li {
	font-size: 12px;
	color: rgba(245, 245, 245, 0.42);
}

.tm-footer__seo {
	max-width: var(--tm-max);
	margin: 56px auto 0;
	padding-top: 28px;
	border-top: 1px solid rgba(212, 175, 55, 0.08);
	font-size: 11px;
	line-height: 1.8;
	color: rgba(245, 245, 245, 0.28);
}

.tm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	max-width: var(--tm-max);
	margin: 24px auto 0;
	font-size: 11px;
	color: rgba(245, 245, 245, 0.35);
}

/* --------------------------------------------------------------------------
   19. Reveal-on-scroll
   -------------------------------------------------------------------------- */

.tm-anim {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity var(--tm-reveal) var(--tm-ease-out),
		transform var(--tm-reveal) var(--tm-ease-out);
}

.tm-anim.tm-visible {
	opacity: 1;
	transform: none;
}

/* Without JS nothing should ever stay invisible. */
.no-js .tm-anim {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   20. Keyframes
   -------------------------------------------------------------------------- */

@keyframes tm-float-slow {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-24px) scale(1.02);
	}
}

@keyframes tm-pulse-gold {
	0%,
	100% {
		opacity: 0.6;
		filter: blur(40px);
	}
	50% {
		opacity: 1;
		filter: blur(60px);
	}
}

@keyframes tm-streak {
	0% {
		opacity: 0;
		transform: translateX(-100%) translateY(100%) rotate(-35deg);
	}
	20% {
		opacity: 0.6;
	}
	100% {
		opacity: 0;
		transform: translateX(200%) translateY(-100%) rotate(-35deg);
	}
}

@keyframes tm-glow-pulse {
	0%,
	100% {
		box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), 0 0 60px rgba(212, 175, 55, 0.1);
	}
	50% {
		box-shadow: 0 0 50px rgba(212, 175, 55, 0.4), 0 0 100px rgba(212, 175, 55, 0.2);
	}
}

@keyframes tm-ticker {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
	.tm-grid--services {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tm-footer__grid {
		grid-template-columns: 1.4fr 1fr 1.2fr;
	}

	.tm-footer__cities-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1024px) {
	:root {
		--tm-section-y: 76px;
		--tm-gutter: 6vw;
		--tm-gutter-hero: 6vw;
	}

	.tm-nav__menu,
	.tm-nav__divider,
	.tm-nav__actions .tm-call {
		display: none;
	}

	.tm-nav__toggle {
		display: block;
	}

	.tm-nav__actions {
		gap: 14px;
	}

	/* Mobile panel */
	.tm-nav__menu.tm-is-open {
		display: flex;
		position: fixed;
		inset: var(--tm-nav-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		height: auto;
		max-height: calc(100svh - var(--tm-nav-h));
		overflow-y: auto;
		padding: 12px 6vw 32px;
		background: var(--tm-menu-bg);
		backdrop-filter: blur(24px);
		-webkit-backdrop-filter: blur(24px);
		border-bottom: 1px solid var(--tm-hairline);
	}

	.tm-nav__menu.tm-is-open li {
		height: auto;
		display: block;
		border-bottom: 1px solid rgba(212, 175, 55, 0.08);
	}

	.tm-nav__menu.tm-is-open > li > a {
		display: block;
		padding: 16px 0;
		font-size: 16px;
	}

	.tm-nav__menu.tm-is-open .tm-dropdown {
		position: static;
		width: auto;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		background: transparent;
		border: 0;
		box-shadow: none;
		padding: 0 0 12px 12px;
		display: none;
	}

	.tm-nav__menu.tm-is-open .tm-nav__has-children.tm-is-expanded .tm-dropdown {
		display: block;
	}

	.tm-hero__inner {
		flex-direction: column-reverse;
		gap: 32px;
		text-align: left;
	}

	.tm-hero__art .tm-bolt {
		width: 180px;
		height: 252px;
	}

	.tm-why__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}

	.tm-why__aside {
		flex: none;
	}

	.tm-article {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.tm-about__story,
	.tm-contact {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.tm-phero {
		padding-top: 100px;
	}

	.tm-sidebar {
		position: static;
	}
}

@media (max-width: 780px) {
	.tm-grid--services,
	.tm-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tm-form__grid {
		grid-template-columns: 1fr;
	}

	.tm-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
}

@media (max-width: 560px) {
	:root {
		--tm-section-y: 60px;
		--tm-gutter: 22px;
		--tm-gutter-hero: 22px;
	}

	.tm-grid--services,
	.tm-grid--two,
	.tm-grid--three,
	.tm-why__grid {
		grid-template-columns: 1fr;
	}

	.tm-phero {
		padding: 92px var(--tm-gutter) 56px;
	}

	.tm-phero__actions {
		gap: 16px;
	}

	.tm-projectnav {
		flex-direction: column;
		align-items: flex-start;
	}

	.tm-projectnav__link,
	.tm-projectnav__link--next {
		max-width: 100%;
		text-align: left;
		justify-items: start;
	}

	.tm-ctaband {
		padding-block: 64px;
	}

	.tm-hero {
		min-height: auto;
		padding-top: calc(var(--tm-nav-h) + 32px);
		padding-bottom: 64px;
	}

	.tm-hero__kicker {
		flex-wrap: wrap;
		gap: 12px;
	}

	.tm-hero__region {
		padding-left: 0;
		border-left: 0;
		letter-spacing: 0.18em;
	}

	/* The nav CTA is 230px wide — keeping it here pushes the menu toggle off
	   screen. It is repeated in the hero and the closing CTA, so drop it and
	   keep the toggle reachable. */
	.tm-nav {
		gap: 16px;
	}

	.tm-nav__actions .tm-btn {
		display: none;
	}

	.tm-btn--lg,
	.tm-btn--md,
	.tm-btn--band,
	.tm-btn--hero {
		width: 100%;
		text-align: center;
	}

	.tm-btn-row,
	.tm-cta__actions,
	.tm-hero__actions {
		gap: 16px;
	}

	.tm-footer__grid {
		grid-template-columns: 1fr;
	}

	.tm-heading--lg {
		margin-bottom: 40px;
	}

	.tm-heading--md {
		margin-bottom: 34px;
	}
}

/* --------------------------------------------------------------------------
   22. Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	.tm-anim {
		opacity: 1;
		transform: none;
	}

	.tm-ticker__track {
		animation: none;
		transform: none;
	}

	.tm-hero__canvas,
	.tm-cta__canvas,
	.tm-streak {
		display: none;
	}
}

@media print {
	.tm-nav,
	.tm-footer,
	.tm-hero__fx,
	.tm-cta__canvas {
		display: none !important;
	}

	body {
		background: #fff;
		color: #111;
	}
}
