/* StreetMafia Design V2026 - visitor pages (outgame, everything a guest sees). Loaded for every
   guest page next to the shell (layout.inc.php). The hero band of the homepage sits above every
   visitor page; it stays dark in both themes. Moved from v2026-home.css on 2026-11-28. */
:root[data-theme="light"] .sm-homehero { border-bottom: 3px solid var(--sm-accent); }
:root[data-theme="light"] .sm-homehero::after { background: linear-gradient(transparent, #08080a); }

/* Hero */
.sm-homehero { position: relative; z-index: 0; height: clamp(236px, 16.1vw, 340px); overflow: hidden; background: #08080a; color: #fff; }
.sm-homehero__art, .sm-homehero__art img { display: block; width: 100%; height: 100%; }
.sm-homehero__art img { max-width: none; object-fit: cover; object-position: center; }
.sm-homehero::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, var(--sm-bg)); pointer-events: none; }
.sm-homehero__smoke { position: absolute; left: 27%; top: -6%; width: 8%; height: 66%; background: radial-gradient(closest-side, rgba(220, 220, 225, .1), transparent); filter: blur(6px); animation: sm-smoke 11s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sm-smoke { from { transform: translate(-6%, 8%) scale(.92); opacity: .35; } to { transform: translate(14%, -8%) scale(1.12); opacity: .9; } }
.sm-homehero__brand { position: absolute; z-index: 1; left: 50%; top: 47%; width: min(460px, 90%); transform: translate(-50%, -50%); text-align: center; }
.sm-homehero__logo { display: block; margin: 0 auto !important; width: clamp(280px, 24vw, 440px); max-width: 100%; }
.sm-homehero__logo img { display: block; width: 100%; height: auto; }
.sm-homehero__sub { margin: 14px 0 0; font: 400 clamp(12px, 1vw, 15px)/1.2 var(--sm-font); letter-spacing: .42em; text-indent: .42em; text-transform: uppercase; color: #e4e4e8; text-shadow: 0 1px 6px #000; }
@media (prefers-reduced-motion: reduce) { .sm-homehero__smoke { animation: none; } }

/* Other visitor pages: the content starts under the band, a little into its fade. */
.sm-guest:not(.sm-page-home) .sm-shell { position: relative; z-index: 1; margin-top: -18px; }

/* Tablet art: the top of the logo may not touch the boss or the car. */
@media (min-width: 768px) and (max-width: 999.98px) {
	.sm-homehero { height: 236px; }
	.sm-homehero__logo { width: 240px; }
	.sm-homehero__brand { width: 280px; top: 45%; }
	.sm-homehero__brand::before { content: ""; position: absolute; z-index: -1; inset: -30px -40px; background: radial-gradient(closest-side, rgba(6, 6, 8, .78), transparent); }
	.sm-homehero__sub { margin-top: 8px; font-size: 11px; letter-spacing: .3em; text-indent: .3em; }
}

/* Phone and app: a short art band with the tagline. The top bar carries the logo, so the hero
   logo is only for screen readers (the h1 of the homepage stays). */
@media (max-width: 767.98px) {
	.sm-homehero { height: auto; }
	.sm-homehero__art { position: relative; }
	.sm-homehero__art::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, #08080a); }
	.sm-homehero__art img { height: min(42vw, 180px); object-fit: cover; object-position: center 35%; }
	.sm-homehero::after { height: 18px; }
	.sm-homehero__smoke { display: none; }
	.sm-homehero__brand { position: absolute; left: 0; right: 0; top: auto; bottom: 14px; width: auto; margin: 0; padding: 0 16px; transform: none; }
	.sm-homehero__logo { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.sm-homehero__sub { margin: 0; font-size: 10px; letter-spacing: .32em; text-indent: .32em; }
	.sm-guest:not(.sm-page-home) .sm-shell { margin-top: 0; }
}

/* Footer for visitors (2026-11-29): compact and centred. One row of links with small gold dots (two rows of
   three on the phone) and the legal lines small and quiet underneath. Same links and same text as before. */
.sm-body.sm-guest .sm-footer { position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px var(--sm-gutter) 18px; text-align: center; font-size: 12px; }
.sm-body.sm-guest .sm-footer::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sm-gold) 60%, transparent), transparent); }
.sm-body.sm-guest .sm-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.sm-body.sm-guest .sm-footer__links a, .sm-body.sm-guest .sm-footer__links a:first-child { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 10px; border: 0; color: var(--sm-text); font-size: 13px; }
.sm-body.sm-guest .sm-footer__links a + a::before { content: ""; position: absolute; left: -1.5px; top: 50%; width: 3px; height: 3px; margin-top: -1.5px; border-radius: 50%; background: var(--sm-gold); opacity: .75; }
.sm-body.sm-guest .sm-footer__links a:hover { color: var(--sm-link); }
.sm-body.sm-guest .sm-footer > div:last-child { max-width: 60ch; color: var(--sm-muted); font-size: 11px; line-height: 1.6; text-align: center; }
@media (max-width: 559.98px) {
	.sm-body.sm-guest .sm-footer__links { display: grid; grid-template-columns: repeat(3, auto); column-gap: 6px; }
	.sm-body.sm-guest .sm-footer__links a + a::before { content: none; }
}
