/* ==========================================================================
   TitanRobust LLC brand layer — loads after main.css.
   Cooler, corporate palette (navy + bronze) on the same framework as TinyToMax.
   ========================================================================== */

:root {
	--ng-paper: #f7f6f2;
	--ng-stone: #eceae4;
	--ng-stone-2: #dcd9d1;
	--ng-ink: #141b24;
	--ng-text: #333a44;
	--ng-muted: #6b7280;
	--ng-cocoa: #1d2a3a;
	--ng-cocoa-d: #121c28;
	--ng-amber: #c8963e;
	--ng-sage: #2e6b55;
	--ng-emerald-l: #e3e8ee;
	--tr-bronze: #c8963e;
	--tr-bronze-l: #f3e7cf;
}

/* Wordmark: "Titan" bold, "Robust" light, small "LLC" tag */
.ng-wm__llc {
	margin-left: 0.32em;
	padding: 2px 6px;
	border-radius: 6px;
	background: var(--ng-stone);
	color: var(--ng-muted);
	font-size: 0.55em;
	font-weight: 600;
	letter-spacing: 0.08em;
	vertical-align: 0.28em;
}

.ng-footer .ng-wm__llc {
	background: var(--ng-paper);
}

.ng-btn .ng-icon {
	flex: none;
}

/* Coins: cooler metal */
.ng-coin {
	background: radial-gradient(circle at 35% 30%, #f1efea, #d9d6ce 70%);
	color: #5d6470;
}

.ng-coin b {
	color: var(--ng-cocoa);
}

/* ---------- Brand card (TinyToMax) ---------- */

.tr-brand {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 32px);
	padding: clamp(22px, 3.5vw, 40px);
	border-radius: var(--ng-r-xl);
	background: var(--ng-white);
	box-shadow: var(--ng-shadow-lg);
}

.tr-brand__main {
	display: grid;
	gap: 18px;
	align-content: start;
	justify-items: start;
}

.tr-brand__id {
	display: flex;
	gap: 14px;
	align-items: center;
}

.tr-brand__id .ng-mark {
	border-radius: 13px;
}

.tr-brand__name {
	margin: 0;
	color: var(--ng-ink);
	font-size: clamp(1.5rem, 2.6vw, 1.9rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.tr-brand__url {
	color: var(--ng-muted);
	font-size: 0.95rem;
}

.tr-brand__desc {
	margin: 0;
	max-width: 52ch;
	font-size: 1.05rem;
}

.tr-badge {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--tr-bronze-l);
	color: #6b4d17;
	font-size: 0.85rem;
	font-weight: 600;
}

.tr-brand__label {
	margin: 0 0 10px;
	color: var(--ng-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tr-brand__services .ng-checkcard li {
	padding: 13px 0;
}

/* ---------- Company facts ---------- */

.tr-company {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.tr-company__copy {
	display: grid;
	gap: 14px;
	justify-items: start;
}

.tr-company__copy h2,
.tr-company__copy p {
	margin: 0;
}

.tr-company__copy p {
	color: var(--ng-muted);
}

.tr-facts {
	margin: 0;
	padding: 6px clamp(18px, 3vw, 32px);
	border-radius: var(--ng-r-lg);
	background: var(--ng-white);
	box-shadow: var(--ng-shadow);
}

.tr-facts__row {
	display: grid;
	grid-template-columns: minmax(130px, 0.75fr) minmax(0, 1.25fr);
	gap: 16px;
	padding: 15px 0;
	border-top: 1px solid var(--ng-stone);
}

.tr-facts__row:first-child {
	border-top: 0;
}

.tr-facts dt {
	color: var(--ng-muted);
	font-size: 0.9rem;
}

.tr-facts dd {
	margin: 0;
	color: var(--ng-ink);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.ng-prose .tr-facts {
	margin-block: 1.5em;
	background: var(--ng-stone);
	box-shadow: none;
}

.ng-prose .tr-facts__row {
	border-top-color: var(--ng-stone-2);
}

/* ---------- Footer (4 columns) ---------- */

.tr-footer__grid {
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}

.tr-footer__about {
	max-width: 34ch;
}

.ng-footer address {
	font-style: normal;
}

.tr-footer__operated {
	color: var(--ng-ink);
}

/* Legal pages: comfortable reading width */
.tr-legal {
	max-width: 760px;
}

.tr-legal h2 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

@media (max-width: 960px) {
	.tr-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.tr-brand,
	.tr-company {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.tr-facts__row {
		grid-template-columns: 1fr;
		gap: 2px;
	}

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

/* CTA band: navy texture instead of TinyToMax's clay */
.ng-band {
	background-color: #24364b;
	background-image:
		radial-gradient(60% 80% at 15% 10%, rgba(200, 150, 62, 0.35), transparent 70%),
		radial-gradient(50% 70% at 90% 90%, rgba(10, 18, 28, 0.55), transparent 70%);
}

/* At a glance: keep the coins on one row on desktop */
.ng-coins {
	max-width: 900px;
}

/* ==========================================================================
   Visual art and effects
   ========================================================================== */

/* ---------- Hero artwork ---------- */

.tr-art {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.tr-art__svg {
	width: 100%;
	height: 100%;
	display: block;
}

.tr-art__pillar {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: tr-rise 1.1s cubic-bezier(.2, .8, .2, 1) both;
	animation-delay: calc(var(--i) * 110ms + 150ms);
}

.tr-art__cap {
	animation: tr-glow 5s ease-in-out infinite;
	animation-delay: calc(var(--i) * 400ms);
}

.tr-art__sweep {
	animation: tr-sweep 7s ease-in-out 1.6s infinite;
}

.tr-art__rings {
	transform-box: view-box;
	transform-origin: 75% 41.6%;
	animation: tr-spin 90s linear infinite;
}

.tr-art__sun {
	animation: tr-breathe 8s ease-in-out infinite;
	transform-box: fill-box;
	transform-origin: center;
}

.tr-art__grid {
	animation: tr-fade 1.6s ease both;
}

.tr-art__horizon {
	transform-box: fill-box;
	transform-origin: 0 50%;
	animation: tr-draw 1.4s cubic-bezier(.2, .8, .2, 1) .1s both;
}

.tr-art__dust circle {
	animation: tr-float 9s ease-in-out infinite;
	animation-delay: calc(var(--d) * -1.1s);
	opacity: .7;
}

@keyframes tr-rise {
	from { transform: scaleY(0); opacity: 0; }
	to { transform: scaleY(1); opacity: 1; }
}

@keyframes tr-glow {
	0%, 100% { filter: brightness(1); }
	50% { filter: brightness(1.25) drop-shadow(0 0 6px rgba(240, 200, 121, .6)); }
}

@keyframes tr-sweep {
	0% { transform: translateX(0); }
	55%, 100% { transform: translateX(1600px); }
}

@keyframes tr-spin {
	to { transform: rotate(360deg); }
}

@keyframes tr-breathe {
	0%, 100% { opacity: .85; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.05); }
}

@keyframes tr-fade {
	from { opacity: 0; }
}

@keyframes tr-draw {
	from { transform: scaleX(0); }
}

@keyframes tr-float {
	0%, 100% { transform: translate(0, 0); opacity: .25; }
	50% { transform: translate(6px, -22px); opacity: .9; }
}

/* Keep the copy readable on the left; the art lives on the right. */
.tr-site .ng-hero .ng-slide__bg:has(.tr-art)::after {
	background:
		linear-gradient(90deg, rgba(12, 19, 28, 0.82), rgba(12, 19, 28, 0.35) 48%, transparent 70%),
		linear-gradient(0deg, rgba(12, 19, 28, 0.35), transparent 40%);
}

.tr-site .ng-slide__eyebrow {
	border: 1px solid rgba(240, 200, 121, .35);
	background: rgba(200, 150, 62, .16);
	color: #f6dfae;
}

@media (max-width: 720px) {
	.tr-site .ng-hero .ng-slide__bg:has(.tr-art)::after {
		background: linear-gradient(0deg, rgba(12, 19, 28, 0.9) 30%, rgba(12, 19, 28, 0.25) 75%);
	}
}

/* ---------- Section textures ---------- */

.tr-site .ng-section--stone {
	position: relative;
	background-image:
		linear-gradient(rgba(29, 42, 58, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(29, 42, 58, .045) 1px, transparent 1px);
	background-size: 32px 32px;
	background-position: center top;
}

/* Small bronze rule under section headings */
.tr-site .ng-head h2::after,
.tr-company__copy h2::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin: 18px auto 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--tr-bronze), #e9c07a);
}

.tr-company__copy h2::after {
	margin-left: 0;
}

.tr-site .ng-head__eyebrow {
	background: var(--tr-bronze-l);
	color: #6b4d17;
}

/* ---------- Brand card: animated gradient border ---------- */

@property --tr-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

.tr-brand {
	position: relative;
	isolation: isolate;
}

.tr-brand::before {
	content: "";
	position: absolute;
	inset: -1.5px;
	z-index: -1;
	border-radius: calc(var(--ng-r-xl) + 1.5px);
	background: conic-gradient(from var(--tr-angle), rgba(200, 150, 62, .0), rgba(200, 150, 62, .9), rgba(29, 42, 58, .5), rgba(200, 150, 62, .0) 60%);
	animation: tr-orbit 8s linear infinite;
}

.tr-brand::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: var(--ng-r-xl);
	background: var(--ng-white);
}

@keyframes tr-orbit {
	to { --tr-angle: 360deg; }
}

.tr-brand__id .ng-mark {
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.tr-brand:hover .tr-brand__id .ng-mark {
	transform: rotate(-8deg) scale(1.06);
}

/* ---------- Pointer spotlight on cards ---------- */

.tr-spot {
	position: relative;
}

.tr-spot > * {
	position: relative;
	z-index: 1;
}

.tr-spot:not(.tr-brand)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 150, 62, .14), transparent 60%);
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}

.tr-spot:hover::before {
	opacity: 1;
}

.tr-brand.tr-spot .tr-brand__main,
.tr-brand.tr-spot .tr-brand__services {
	background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(200, 150, 62, .06), transparent 70%);
}

/* ---------- Feature cards ---------- */

.tr-site .ng-feat {
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background-color .35s ease;
}

.tr-site .ng-feat:hover {
	transform: translateY(-6px);
	background: var(--ng-white);
	box-shadow: var(--ng-shadow-lg);
}

.tr-site .ng-feat__icon {
	position: relative;
	background: linear-gradient(140deg, #2a3e56, var(--ng-cocoa));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 8px 18px -10px rgba(29, 42, 58, .8);
	transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.tr-site .ng-feat__icon::after {
	content: "";
	position: absolute;
	right: -3px;
	top: -3px;
	width: 12px;
	height: 12px;
	border: 2px solid var(--ng-stone);
	border-radius: 50%;
	background: var(--tr-bronze);
}

.tr-site .ng-feat:hover .ng-feat__icon {
	transform: rotate(-6deg) scale(1.08);
}

/* ---------- Facts table: row highlight ---------- */

.tr-facts__row {
	position: relative;
	transition: padding-left .25s ease;
}

.tr-facts__row::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	width: 4px;
	height: 0;
	border-radius: 4px;
	background: var(--tr-bronze);
	transform: translateY(-50%);
	transition: height .25s ease;
}

.tr-facts__row:hover {
	padding-left: 6px;
}

.tr-facts__row:hover::before {
	height: 60%;
}

/* ---------- Coins: shine on hover ---------- */

.tr-site .ng-coin {
	overflow: hidden;
	transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
}

.tr-site .ng-coin::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .75) 50%, transparent 65%);
	transform: translateX(-120%);
	transition: transform .8s ease;
}

.tr-site .ng-coin:hover {
	transform: translateY(-6px) rotate(-3deg);
	box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.8), inset 0 -6px 12px rgba(120, 100, 80, 0.18), 0 26px 34px -16px rgba(29, 42, 58, 0.5);
}

.tr-site .ng-coin:hover::after {
	transform: translateX(120%);
}

/* ---------- Buttons ---------- */

.tr-site .ng-btn--dark,
.tr-site .ng-btn--primary {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #24364b, var(--ng-cocoa));
}

.tr-site .ng-btn--dark::after,
.tr-site .ng-btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(240, 200, 121, .35) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform .7s ease;
}

.tr-site .ng-btn--dark:hover::after,
.tr-site .ng-btn--primary:hover::after {
	transform: translateX(120%);
}

/* ---------- CTA band: drifting light + pillar silhouette ---------- */

.tr-site .ng-band {
	position: relative;
	overflow: hidden;
	background-size: 200% 200%;
	animation: tr-pan 18s ease-in-out infinite alternate;
}

.tr-site .ng-band::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 70%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Crect x='40' y='120' width='50' height='80' rx='4'/%3E%3Crect x='110' y='80' width='60' height='120' rx='4'/%3E%3Crect x='190' y='40' width='70' height='160' rx='4'/%3E%3Crect x='280' y='100' width='56' height='100' rx='4'/%3E%3Crect x='860' y='110' width='56' height='90' rx='4'/%3E%3Crect x='936' y='60' width='66' height='140' rx='4'/%3E%3Crect x='1022' y='20' width='76' height='180' rx='4'/%3E%3Crect x='1118' y='90' width='60' height='110' rx='4'/%3E%3C/g%3E%3Cg fill='%23c8963e' fill-opacity='.35'%3E%3Crect x='186' y='32' width='78' height='8' rx='3'/%3E%3Crect x='1018' y='12' width='84' height='8' rx='3'/%3E%3C/g%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
	pointer-events: none;
}

.tr-site .ng-band > .ng-wrap {
	position: relative;
}

@keyframes tr-pan {
	from { background-position: 0% 0%, 100% 100%; }
	to { background-position: 100% 50%, 0% 50%; }
}

/* ---------- Header: solid after scroll ---------- */

.tr-site .ng-navbar,
.tr-site .ng-header__actions > .ng-circle,
.tr-site .ng-header__actions > .ng-btn--stone {
	transition: box-shadow .3s ease, background-color .3s ease;
}

.tr-site .ng-header.tr-scrolled .ng-navbar {
	box-shadow: 0 10px 30px -18px rgba(20, 27, 36, .45);
}

/* ---------- Scroll reveal ---------- */

.tr-anim .tr-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
	transition-delay: var(--tr-delay, 0ms);
}

.tr-anim .tr-reveal.is-in {
	opacity: 1;
	transform: none;
}

.tr-anim .ng-coin.tr-reveal {
	transform: translateY(22px) scale(.92);
}

.tr-anim .ng-coin.tr-reveal.is-in {
	transform: none;
}

.tr-anim .ng-coin.tr-reveal.is-in:hover {
	transform: translateY(-6px) rotate(-3deg);
}

/* ---------- Reduced motion: keep the art, drop the motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.tr-art *,
	.tr-brand::before,
	.tr-site .ng-band {
		animation: none !important;
	}

	.tr-art__sweep {
		display: none;
	}

	.tr-site .ng-feat:hover,
	.tr-site .ng-coin:hover {
		transform: none;
	}
}

/* Clip the animated art cleanly to the rounded hero card */
.tr-site .ng-hero__card {
	clip-path: inset(0 round var(--ng-r-xl));
}

@media (max-width: 720px) {
	.tr-art {
		opacity: .55;
	}
}
