/* TNT 2026 base: fonts, reset, typography, shared components. Mirrors the Layout Final canvas. */
@font-face { font-family: Beleren; src: url(../fonts/Beleren.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Mana; src: url(../vendor/fonts/mana.woff2) format("woff2"), url(../vendor/fonts/mana.woff) format("woff"); font-weight: 400; font-style: normal; font-display: block; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--tnt-bg-0); color: var(--tnt-text); font-family: var(--tnt-font-body); font-size: 16px; line-height: 1.6; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--tnt-gold-2); text-decoration: none; }
a:hover { color: var(--tnt-white); }
button, input, select, textarea { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--tnt-gold-2); outline-offset: 2px; }
::selection { background: var(--tnt-gold); color: var(--tnt-gold-ink); }
h1, h2, h3, h4 { margin: 0; font-family: var(--tnt-font-display); font-weight: 400; line-height: 1; text-transform: uppercase; color: var(--tnt-white); overflow-wrap: anywhere; }
p { margin: 0; }
[hidden] { display: none !important; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tnt-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--tnt-gold); color: var(--tnt-gold-ink); font-family: var(--tnt-font-ui); font-weight: 700; text-transform: uppercase; }
.tnt-skip:focus { top: 12px; }

.tnt-container { width: 100%; max-width: var(--tnt-wide); margin: 0 auto; padding: 0 var(--tnt-gutter); }
.tnt-container--page { max-width: var(--tnt-page); }
.tnt-site { position: relative; z-index: 1; }

/* backdrop: faint featured / commander art behind every page */
.tnt-backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.tnt-backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.tnt-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(var(--tnt-shade), 0.9); }

/* labels */
.tnt-ui { font-family: var(--tnt-font-ui); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tnt-meta { font-family: var(--tnt-font-ui); font-weight: 700; font-size: var(--tnt-ui-meta); letter-spacing: 0.04em; text-transform: uppercase; color: var(--tnt-muted); }
.tnt-tag { display: inline-flex; align-items: stretch; align-self: flex-start; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.tnt-tag > i { font-style: normal; padding: 5px 8px; background: var(--tnt-gold); color: var(--tnt-gold-ink); }
.tnt-tag > b { font-weight: 700; padding: 5px 16px 5px 10px; background: var(--tnt-accent-readable); color: var(--tnt-accent-ink); clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tnt-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tnt-text); white-space: nowrap; }
.tnt-chip--gold { background: var(--tnt-gold); color: var(--tnt-gold-ink); box-shadow: none; }

/* buttons */
.tnt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; cursor: pointer; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; transition: transform .12s, filter .2s, background-color .2s; }
.tnt-btn:active { transform: scale(.98); }
.tnt-btn--gold { background: var(--tnt-gold); color: var(--tnt-gold-ink); }
.tnt-btn--accent { background: var(--tnt-accent-readable); color: var(--tnt-accent-ink); }
.tnt-btn--ghost { background: var(--tnt-bg-3); color: var(--tnt-gold-2); box-shadow: inset 0 -2px 0 rgba(197, 160, 89, 0.45); }
.tnt-btn:hover { filter: brightness(1.08); color: inherit; }
.tnt-btn--gold:hover { color: var(--tnt-gold-ink); }

/* section heading: number chip + title + gold rule */
.tnt-sec { margin-top: 72px; }
.tnt-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 18px; padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.tnt-sec__head > div { display: flex; flex-direction: column; gap: 12px; }
.tnt-sec__title { font-size: 48px; line-height: .95; }
.tnt-sec__title::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 12px; background: var(--tnt-gold); transform-origin: left; animation: tntDraw .9s var(--tnt-ease) .3s both; }
.tnt-sec__more { margin-left: auto; }

/* page title band (inner pages) */
.tnt-band { position: relative; z-index: 4; margin-top: 18px; overflow: hidden; background: var(--tnt-bg-1); border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid var(--tnt-accent); }
.tnt-band__art { position: absolute; inset: 0; overflow: hidden; }
.tnt-band__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: blur(26px) saturate(1.2); transform: scale(1.18); animation: tntDrift 30s ease-in-out infinite alternate; }
.tnt-band__art::after { content: ""; position: absolute; inset: 0; background: rgba(var(--tnt-shade), 0.8); }
.tnt-band__in { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 36px; }
.tnt-band h1 { margin: 14px 0 10px; font-size: 96px; line-height: .9; animation: tntUp .8s var(--tnt-ease) .1s both; }
.tnt-band h1::after { content: ""; display: block; width: 84px; height: 4px; margin-top: 16px; background: var(--tnt-gold); transform-origin: left; animation: tntDraw .9s var(--tnt-ease) .5s both; }
.tnt-band p { max-width: 60ch; color: var(--tnt-text-2); font-size: 17px; }
.tnt-crumbs { font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tnt-muted); }
.tnt-crumbs a { color: var(--tnt-muted); }
.tnt-crumbs b { color: var(--tnt-gold-2); font-weight: 700; }
.tnt-stats { display: flex; background: var(--tnt-bg-2); border-top: 3px solid var(--tnt-gold); }
.tnt-stats > div { padding: 12px 22px; border-right: 1px solid var(--tnt-line-soft); }
.tnt-stats b { display: block; font-family: var(--tnt-font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--tnt-white); }
.tnt-stats span { font-family: var(--tnt-font-ui); font-weight: 700; font-size: var(--tnt-ui-small); letter-spacing: 0.04em; color: var(--tnt-muted); text-transform: uppercase; }

/* generic content (pages, fallbacks) */
.tnt-main { position: relative; z-index: 1; padding-top: 32px; padding-bottom: 64px; }
.tnt-prose { max-width: none; font-size: 18px; line-height: 1.85; color: #d1d5db; }
.tnt-prose > * + * { margin-top: 1.1em; }
.tnt-prose h2 { margin-top: 1.6em; font-size: 36px; }
.tnt-prose h3 { margin-top: 1.4em; font-size: 26px; }
.tnt-prose a { font-weight: 700; border-bottom: 2px solid rgba(230, 200, 133, 0.35); }
.tnt-panel { background: var(--tnt-bg-2); border-top: 3px solid var(--tnt-gold); padding: 20px 24px; }

/* motion */
@keyframes tntUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes tntDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tntDrift { 0% { transform: scale(1.06); } 100% { transform: scale(1.16) translate3d(-2%, -1%, 0); } }
@keyframes tntFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 760px) {
	:root { --tnt-gutter: 16px; }
	body { font-size: 15px; }
	.tnt-sec { margin-top: 40px; }
	.tnt-sec__title { font-size: 28px; }
	.tnt-band { margin-top: 0; }
	.tnt-band__in { padding-top: 24px; padding-bottom: 20px; }
	.tnt-band h1 { font-size: 42px; }
	.tnt-band p { font-size: 14px; }
	.tnt-stats { width: 100%; }
	.tnt-stats > div { flex: 1; padding: 10px 12px; }
	.tnt-stats b { font-size: 22px; }
	.tnt-prose { font-size: 16.5px; line-height: 1.78; }
	.tnt-main { padding-top: 20px; padding-bottom: 24px; }
}

/* article cards (archives, search, fallbacks) */
.tnt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tnt-card { display: flex; flex-direction: column; background: var(--tnt-bg-2); border-top: 4px solid var(--tnt-gold); transition: transform .25s var(--tnt-ease), box-shadow .25s; }
.tnt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5); }
.tnt-card__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tnt-bg-1); }
.tnt-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tnt-ease); }
.tnt-card:hover .tnt-card__img img { transform: scale(1.06); }
.tnt-card__tag { position: absolute; right: 0; bottom: 0; padding: 5px 10px; background: var(--tnt-gold); color: var(--tnt-gold-ink); font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.tnt-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; }
.tnt-card__title { font-size: 26px; line-height: 1.02; }
.tnt-card__title a { color: var(--tnt-white); }
.tnt-card__desc { font-size: 15px; line-height: 1.65; color: var(--tnt-text-2); }

.tnt-search { display: flex; align-items: center; gap: 10px; height: 52px; margin-bottom: 24px; padding: 0 16px; background: var(--tnt-bg-2); box-shadow: inset 0 -2px 0 var(--tnt-gold); color: var(--tnt-gold-2); }
.tnt-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--tnt-white); font-size: 17px; }

.navigation.pagination { margin-top: 28px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; background: var(--tnt-bg-3); color: var(--tnt-text); font-family: var(--tnt-font-display); font-size: 18px; }
.page-numbers.current { background: var(--tnt-gold); color: var(--tnt-gold-ink); }

@media (max-width: 760px) {
	.tnt-cards { grid-template-columns: 1fr; }
	.tnt-card__title { font-size: 22px; }
	.tnt-search input { font-size: 16px; }
}

/* mana pip */
.tnt-pip { --s: 22px; width: var(--s); height: var(--s); flex: 0 0 var(--s); display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #111; font-family: Mana; font-size: calc(var(--s) * .6); line-height: 1; box-shadow: -1px 1px 0 rgba(0, 0, 0, 0.85); }
.tnt-pip--w { background: var(--tnt-mana-w); } .tnt-pip--u { background: var(--tnt-mana-u); } .tnt-pip--b { background: var(--tnt-mana-b); }
.tnt-pip--r { background: var(--tnt-mana-r); } .tnt-pip--g { background: var(--tnt-mana-g); } .tnt-pip--c { background: var(--tnt-mana-c); }

/* placeholder art for articles without a featured image */
.tnt-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, rgba(197, 160, 89, 0.16), transparent 60%), repeating-linear-gradient(135deg, var(--tnt-bg-1) 0 14px, var(--tnt-bg-2) 14px 28px); }
.tnt-noimg img { width: 34%; max-width: 96px; height: auto !important; object-fit: contain !important; opacity: .55; filter: grayscale(.3); }


/* ad slot (shared) */
.tnt-ad { max-width: 970px; margin: 0 auto; padding: 8px 10px 10px; background: #121212; border: 1px solid rgba(255, 255, 255, 0.06); border-top-color: rgba(197, 160, 89, 0.25); }
.tnt-ad__bar { display: flex; justify-content: space-between; padding: 0 2px 6px; font-family: var(--tnt-font-ui); font-weight: 700; font-size: var(--tnt-ui-small); letter-spacing: 0.04em; text-transform: uppercase; color: var(--tnt-dim); }
.tnt-ad__bar a { color: #9a8452; }
.tnt-ad__box { min-height: 90px; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, #171717 0 12px, #151515 12px 24px); outline: 1px dashed rgba(255, 255, 255, 0.08); outline-offset: -1px; font-family: var(--tnt-font-ui); font-size: 11px; color: #4b5059; font-weight: 700; text-transform: uppercase; }
.tnt-ad--rectangle { max-width: 320px; } .tnt-ad--rectangle .tnt-ad__box { min-height: 250px; }
.tnt-ad--in-article { max-width: 760px; } .tnt-ad--in-article .tnt-ad__box { min-height: 250px; }

/* segmented toggle (grid/list, table/cards, list/visual) */
.tnt-seg { display: inline-flex; gap: 4px; }
.tnt-seg > a, .tnt-seg > button { height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border: 0; cursor: pointer; background: var(--tnt-bg-3); color: #d1d5db; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.tnt-seg > [aria-pressed="true"], .tnt-seg > [aria-current="true"], .tnt-seg > [aria-pressed="true"]:not(.tnt-btn) { background: var(--tnt-accent-readable); color: var(--tnt-accent-ink); }

/* small uppercase label (sidebars, panels) */
.tnt-side-label { display: block; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--tnt-muted); }

/* site chrome width: page width, wide only on articles (canvas: SiteHeader wide on Article only) */
body:not(.single-post) .tnt-header .tnt-container, body:not(.single-post) .tnt-footer .tnt-container { max-width: var(--tnt-page); }

/* dual section numbers + phone-only bits (default: desktop) */
.tnt-mn, .tnt-tools__head, .tnt-feat__by, .tnt-feat__mdesc, .tnt-footer__mlinks { display: none; }
@media (max-width: 760px) {
	.tnt-dn { display: none; }
	.tnt-mn { display: inline; }
	/* phone section heads (HomeM / *M artboards): tag, 27px title, plain "All →" link */
	.tnt-sec__head { margin-bottom: 14px; padding-bottom: 0; border-bottom: 0; align-items: flex-end; }
	.tnt-sec__title { font-size: 27px; }
	.tnt-sec__title::after { display: none; }
	.tnt-sec__more { height: auto; min-height: 0; padding: 0 0 3px; background: none; box-shadow: none; font-size: 11px; color: var(--tnt-gold-2); }
	/* compact footer */
	.tnt-footer__cols, .tnt-footer__follow > .tnt-meta { display: none; }
	.tnt-footer__social { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
	.tnt-footer__social a { width: auto !important; height: 44px; }
	.tnt-footer__mlinks { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0 16px 18px; }
	.tnt-footer__mlinks a { font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: #d1d5db; }
	.tnt-footer__legal { display: none !important; }
}

/* ---- phone page band = *M artboards: no crumbs or rule, inline stats ---- */
@media (max-width: 760px) {
	.tnt-band .tnt-crumbs { display: none; }
	.tnt-band__in { gap: 14px; padding-top: 20px; padding-bottom: 18px; }
	.tnt-band__in > div > div:first-of-type { margin-top: 0 !important; }
	.tnt-band h1 { margin: 10px 0 8px; font-size: 40px; }
	.tnt-band h1::after { display: none; }
	.tnt-band p { font-size: 13.5px; line-height: 1.55; }
	.tnt-band .tnt-stats { width: auto; gap: 26px; background: none; border: 0; }
	.tnt-band .tnt-stats > div { flex: 0 0 auto; padding: 0; border: 0; }
	.tnt-band .tnt-stats b { font-size: 20px; }
	.tnt-band .tnt-stats span { font-size: 8.5px; }
}

/* Final artboards: short gold rule under section titles on the homepage only. */
body:not(.home) .tnt-sec__title::after { display: none; }

/* Art backgrounds: a little softer on every page. */
.tnt-backdrop img { filter: blur(10px) saturate(1.1); transform: scale(1.06); }
@media (min-width: 761px) {
	.tnt-feat__bg { filter: blur(6px) saturate(1.1); }
}

/* Mana icons keep the Mana font even inside containers that style their spans as labels. */
.tnt-pip.tnt-pip { font-family: Mana !important; font-size: calc(var(--s) * .6); font-weight: 400; font-style: normal; letter-spacing: 0; text-transform: none; color: #111; }

/* ---- Legal pages (Privacy Policy, Terms of Service) ---- */
.tnt-legal { position: relative; z-index: 1; display: flex; gap: 32px; align-items: flex-start; padding-top: 36px; padding-bottom: 64px; }
.tnt-legal__nav { flex: 0 0 280px; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; background: rgba(14, 14, 14, 0.94); border-top: 3px solid var(--tnt-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.tnt-legal__nav ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--tnt-line-soft); }
.tnt-legal__nav li a { display: flex; gap: 10px; padding: 7px 12px; font-family: var(--tnt-font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; color: #c4c9d0; transition: color .15s, background-color .15s; text-transform: uppercase; }
.tnt-legal__nav li a span { color: var(--tnt-gold); }
.tnt-legal__nav li a:hover { color: #fff; background: rgba(197, 160, 89, 0.08); }
.tnt-legal__other { height: 40px; display: flex; align-items: center; justify-content: center; background: #252525; color: var(--tnt-gold-2); font-family: var(--tnt-font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: inset 0 -2px 0 rgba(197, 160, 89, 0.45); }
.tnt-legal__body { flex: 1 1 640px; min-width: 0; padding: 32px 40px 40px; background: rgba(14, 14, 14, 0.94); border-top: 3px solid var(--tnt-gold); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); font-size: 17px; }
.tnt-legal__body h2 { display: flex; align-items: baseline; gap: 12px; margin-top: 1.8em; padding-top: 18px; border-top: 1px solid var(--tnt-line-soft); font-size: 30px; scroll-margin-top: 24px; }
.tnt-legal__body h2:first-of-type { margin-top: 1.2em; }
.tnt-legal__body h2 span { font-size: 18px; color: var(--tnt-gold); }
.tnt-legal__body ul { padding-left: 1.2em; }
.tnt-legal__body li + li { margin-top: .5em; }
.tnt-legal__body strong { color: #fff; }
.tnt-legal__body .tnt-legal-note { margin: 0; padding: 14px 18px; background: rgba(79, 111, 214, 0.12); border-left: 3px solid var(--tnt-accent); font-size: 14px; line-height: 1.65; color: #c4c9d0; }
@media (max-width: 1020px) {
	.tnt-legal { flex-direction: column; gap: 18px; }
	.tnt-legal__nav { position: static; flex-basis: auto; width: 100%; }
	.tnt-legal__nav ol { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-left: 0; gap: 6px; }
	.tnt-legal__nav li a { white-space: nowrap; background: #1e1e1e; }
}
@media (max-width: 760px) {
	.tnt-legal { padding-top: 18px; }
	.tnt-legal__nav { margin: 0 -16px; padding: 14px 16px; box-shadow: none; }
	.tnt-legal__body { margin: 0 -16px; padding: 20px 16px 28px; font-size: 15.5px; box-shadow: none; }
	.tnt-legal__body h2 { font-size: 24px; }
}
/* Numbered (generic) mana symbols keep the display font for their digits. */
.tnt-pip.tnt-pip.tnt-pip--n { font-family: var(--tnt-font-display) !important; font-weight: 400; font-size: calc(var(--s) * .62); padding-top: 1px; }
