/*
Theme Name: Arma Tactical
Theme URI: https://jtfs.co.uk/
Author: JTF-S Technical Staff
Description: Original tactical intelligence-terminal theme for Arma 3 milsim units. Dark carbon-slate dossier UI, configurable Unit Theme Settings panel with media uploads, global seasonal/commemorative themes (Halloween, Winter, 4th of July, Remembrance) with glowing media frames, OpenGraph/Discord embeds, and integration hooks for the arma-milsim-core plugin.
Version: 1.3.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arma-tactical
Tags: dark, one-column, custom-logo, custom-menu, featured-images, theme-options
*/

/* Main styles live in assets/css/main.css (enqueued by functions.php). */

/* -------------------------------------------------------------------------
 * Seasonal logo & crest treatment (v1.3.0 — dark-ops HUD system, no clip-art)
 * The navbar Unit Logo and Hero Crest sit in .at-logo-wrap (position: relative). While a season is
 * active the logo/crest image may be swapped for a re-graded emblem variant (HQ → Appearance), the
 * navbar logo picks up a soft optic glow, and the crest gets thin L-shaped HUD corner brackets
 * (⌜ ⌝ ⌞ ⌟) in --hud-tl/--hud-tr/--hud-bl/--hud-br with an --accent-glow halo.
 * Decorative only: pointer-events none, aria-hidden, no motion when reduced motion is preferred.
 * ---------------------------------------------------------------------- */
.at-logo-wrap { position: relative; display: inline-flex; align-items: center; flex: none; }
.at-logo-wrap--crest { display: flex; }
.at-logo-wrap--fx:not(.at-logo-wrap--standard).at-logo-wrap--nav .at-brand__logo,
.at-logo-wrap--fx:not(.at-logo-wrap--standard).at-logo-wrap--nav .at-brand__mark { filter: drop-shadow(0 0 6px rgba(var(--accent-glow-rgb, 16, 185, 129), .35)); }

.at-logo-hud { position: absolute; inset: -12%; z-index: 3; pointer-events: none; }
.at-logo-hud__c { position: absolute; width: 18%; height: 18%; min-width: 12px; min-height: 12px; border: 0 solid var(--hud-bracket, #c8202a); opacity: .9; }
.at-logo-hud__c--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; border-color: var(--hud-tl, var(--hud-bracket, #c8202a)); }
.at-logo-hud__c--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; border-color: var(--hud-tr, var(--hud-bracket, #c8202a)); }
.at-logo-hud__c--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; border-color: var(--hud-bl, var(--hud-bracket, #c8202a)); }
.at-logo-hud__c--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; border-color: var(--hud-br, var(--hud-bracket, #c8202a)); }
.at-logo-hud__glow { position: absolute; inset: 22%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-glow-rgb, 16, 185, 129), .16), transparent 75%); }
.at-hero__crest.at-logo-wrap--crest > img, .at-hero__crest.at-logo-wrap--crest > svg { position: relative; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
	.at-logo-hud__glow { animation: at-optic-breathe 4.8s ease-in-out infinite; }
	.at-season-halloween .at-logo-hud__glow { animation: at-optic-flicker 2.8s steps(1, end) infinite; }
}
@keyframes at-optic-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes at-optic-flicker { 0%, 100% { opacity: .8; } 17% { opacity: 1; } 33% { opacity: .62; } 51% { opacity: 1; } 69% { opacity: .74; } 84% { opacity: .95; } }
