/* =============================================================
 * Thales Townhall — site stylesheet
 * =============================================================
 * Aesthetic direction: refined corporate minimalism modelled on
 * thalesgroup.com.
 *   · Light page background (#f4f9fb) with the login canvas behind
 *   · Ultramarine #0817A0 as dominant accent
 *   · Viking #5EBFD4 as secondary cyan
 *   · Manrope typography
 *   · Asymmetric card radius (top-right + bottom-left) — Thales-site signature
 *   · Dark navy footer with rounded top corners — also from thalesgroup.com
 *   · Buttons with motion: arrow slide + subtle lift on hover
 * ============================================================= */

:root {

    /* Brand palette */
    --thales-ultra:    #0817A0;
    --thales-ultra-d:  #050E66;
    --thales-viking:   #5EBFD4;
    --thales-haiti:    #0C0D29;

    /* Surface */
    --bg-page:         #f4f9fb;   /* requested */
    --bg-card:         #FFFFFF;
    --bg-subtle:       #EDF2F7;
    --bg-elevated:     #FFFFFF;

    --line-soft:       #E1E7EE;
    --line-strong:     #C8D0DB;

    /* Text */
    --text-strong:     #0C0D29;
    --text-base:       #2A3045;
    --text-mute:       #6B7388;
    --text-on-blue:    #FFFFFF;

    /* Status */
    --state-live:      #16A34A;
    --state-live-bg:   rgba(22, 163, 74, 0.08);
    --state-switch:    #D97706;
    --state-switch-bg: rgba(217, 119, 6, 0.08);
    --state-vod:       #5EBFD4;
    --state-vod-bg:    rgba(94, 191, 212, 0.10);
    --state-off:       #DC2626;
    --state-off-bg:    rgba(220, 38, 38, 0.08);

    /* Type */
    --font-sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* Geometry */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 20px;        /* asymmetric card */
    --radius-footer: 28px;    /* footer top corners */
    --shell-max: 1180px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-page);
    color: var(--text-base);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--thales-ultra);
    text-decoration: none;
    transition: color 160ms var(--ease-out);
}
a:hover { color: var(--thales-ultra-d); text-decoration: underline; }

::selection { background: var(--thales-ultra); color: #fff; }

/* ===================================================================
 *  HEADER
 * =================================================================== */
.site-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--line-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (max-width: 640px) {
    .site-header__inner { padding: 12px 18px; }
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: opacity 160ms var(--ease-out);
}
.site-header__brand:hover { opacity: 0.78; text-decoration: none; }

.site-header__logo {
    display: block;
    height: 36px;
    width: auto;
    /* Allow SVG to scale */
    max-width: 200px;
}

@media (max-width: 480px) {
    .site-header__logo { height: 30px; }
}

/* ===================================================================
 *  EVENT TITLE BLOCK
 * =================================================================== */
.event-title {
    color: var(--text-strong);
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.event-title__pre {
    display: inline-block;
    color: var(--thales-ultra);
    font-size: 0.45em;
    vertical-align: 0.55em;
    margin-right: 0.4em;
}

.event-datetime {
    color: var(--text-mute);
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

.event-description {
    color: var(--text-base);
    font-size: 15px;
    margin: 18px 0 0;
}

/* ===================================================================
 *  LOGIN PAGE
 * =================================================================== */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    position: relative;
    background: var(--bg-page);
    overflow: hidden; /* keep canvas tucked in */
    isolation: isolate; /* establish stacking context */
}

/* Animated particle canvas — positioned absolute, fills login-main */
.login-bg-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 720px) {
    .login-main { padding: 32px 18px; }
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    /* Asymmetric radius: top-right + bottom-left rounded.
       Top-left and bottom-right kept sharp — Thales-site signature. */
    border-radius: 0 var(--radius-xl) 0 var(--radius-xl);
    box-shadow:
        0 1px 0 rgba(8, 23, 160, 0.04),
        0 24px 60px -28px rgba(8, 23, 160, 0.20);
    overflow: hidden;
}

.login-card__inner {
    padding: 40px 40px 36px;
}

@media (max-width: 480px) {
    .login-card__inner { padding: 28px 22px 24px; }
}

.rule-thin {
    border: 0;
    height: 1px;
    background: var(--line-soft);
    margin: 26px 0 22px;
}

.login-block__heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-strong);
    margin: 0 0 6px;
    letter-spacing: -0.005em;
}

.login-block__hint {
    font-size: 14px;
    color: var(--text-mute);
    margin: 0 0 20px;
}

.login-error {
    background: var(--state-off-bg);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-left: 3px solid var(--state-off);
    color: #7F1D1D;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.field__control { display: flex; position: relative; }
.field__input {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-strong);
    background: var(--bg-subtle);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    transition:
        border-color 160ms var(--ease-out),
        background-color 160ms var(--ease-out),
        box-shadow 160ms var(--ease-out);
}
.field__input::placeholder { color: var(--text-mute); }
.field__input:hover { border-color: var(--line-strong); background: #fff; }
.field__input:focus {
    outline: none;
    border-color: var(--thales-ultra);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 23, 160, 0.12);
}
.field__input:disabled { background: var(--bg-subtle); color: var(--text-mute); cursor: not-allowed; }

/* ===================================================================
 *  BUTTONS — with motion
 * =================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1;
    padding: 14px 22px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        background-color 220ms var(--ease-out),
        color 220ms var(--ease-out),
        border-color 220ms var(--ease-out),
        transform 220ms var(--ease-out),
        box-shadow 220ms var(--ease-out);
}

.btn:active { transform: translateY(1px); }

.btn__icon {
    transition: transform 320ms var(--ease-out), opacity 220ms var(--ease-out);
    will-change: transform;
}
.btn:hover .btn__icon { transform: translateX(4px); }

/* Subtle "shimmer" line that sweeps across on hover */
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 100%
    );
    pointer-events: none;
    transition: left 600ms var(--ease-out);
}
.btn:hover::after { left: 130%; }

/* ----- Variants ----- */
.btn--primary {
    background: var(--thales-ultra);
    color: var(--text-on-blue);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 8px 18px -8px rgba(8, 23, 160, 0.45);
}
.btn--primary:hover {
    background: var(--thales-ultra-d);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12) inset,
        0 12px 24px -10px rgba(8, 23, 160, 0.55);
    transform: translateY(-1px);
}
.btn--primary:disabled {
    background: var(--line-strong);
    color: var(--text-mute);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.btn--primary:disabled::after { display: none; }
.btn--primary:disabled .btn__icon { transform: none; }

/* Ghost variant — used for the header "Sign out" */
.btn--ghost {
    background: transparent;
    color: var(--text-base);
    border-color: var(--line-soft);
}
.btn--ghost:hover {
    color: var(--thales-ultra);
    border-color: var(--thales-ultra);
    background: rgba(8, 23, 160, 0.04);
}
.btn--ghost::after {
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(8, 23, 160, 0.10) 50%,
        transparent 100%
    );
}

.btn--small {
    padding: 8px 14px;
    font-size: 13px;
    gap: 8px;
    border-radius: var(--radius-md);
}

/* ===================================================================
 *  APP PAGE (post-login)
 * =================================================================== */
.app-main {
    flex: 1;
    width: 100%;
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: 36px 28px 56px;
}

@media (max-width: 640px) {
    .app-main { padding: 24px 16px 40px; }
}

.event-hero {
    margin: 0 0 24px;
    display: grid;
    gap: 4px;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title  pill"
        "time   pill"
        "desc   desc";
    align-items: start;
}

.event-hero .event-title       { grid-area: title; }
.event-hero .event-datetime    { grid-area: time; }
.event-hero .event-description { grid-area: desc; }
.event-hero .status-pill       { grid-area: pill; align-self: start; margin-top: 6px; }

@media (max-width: 720px) {
    .event-hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "time"
            "pill"
            "desc";
    }
    .event-hero .status-pill { margin-top: 14px; justify-self: start; }
}

/* ===================================================================
 *  STATUS PILL
 * =================================================================== */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-base);
    transition:
        border-color 200ms var(--ease-out),
        background-color 200ms var(--ease-out);
    white-space: nowrap;
}

.status-pill__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--text-mute);
    flex-shrink: 0;
}
.status-pill__label {
    font-weight: 700;
    color: var(--text-strong);
}
.status-pill__sep { color: var(--line-strong); font-weight: 400; }
.status-pill__meta {
    color: var(--text-mute);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 11px;
}

.status-pill[data-state="live"] {
    background: var(--state-live-bg);
    border-color: rgba(22, 163, 74, 0.3);
}
.status-pill[data-state="live"] .status-pill__dot {
    background: var(--state-live);
    animation: pulse-dot 1.6s var(--ease-out) infinite;
}
.status-pill[data-state="live"] .status-pill__label { color: var(--state-live); }

.status-pill[data-state="switching"] {
    background: var(--state-switch-bg);
    border-color: rgba(217, 119, 6, 0.3);
}
.status-pill[data-state="switching"] .status-pill__dot {
    background: var(--state-switch);
    animation: pulse-dot 0.7s var(--ease-out) infinite;
}
.status-pill[data-state="switching"] .status-pill__label { color: var(--state-switch); }

.status-pill[data-state="vod"] {
    background: var(--state-vod-bg);
    border-color: rgba(94, 191, 212, 0.4);
}
.status-pill[data-state="vod"] .status-pill__dot { background: var(--state-vod); }
.status-pill[data-state="vod"] .status-pill__label { color: #1A7B91; }

.status-pill[data-state="offline"] {
    background: var(--state-off-bg);
    border-color: rgba(220, 38, 38, 0.3);
}
.status-pill[data-state="offline"] .status-pill__dot { background: var(--state-off); }
.status-pill[data-state="offline"] .status-pill__label { color: var(--state-off); }

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    50%      { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); opacity: 0.55; }
}

/* ===================================================================
 *  PLAYER
 * =================================================================== */
.player-section { margin: 0; }

.video-frame {
    position: relative;
    background: var(--thales-haiti);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line-soft);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 24px 60px -32px rgba(8, 23, 160, 0.32);
    aspect-ratio: 16 / 9;
}

.video-frame .video-js {
    width: 100% !important;
    height: 100% !important;
    background: var(--thales-haiti);
}

.switch-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 13, 41, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease-out);
}
.switch-overlay[aria-hidden="false"] { opacity: 1; }

/* Simple-mode refresh hint — only shown on simple.php */
.simple-hint {
    margin: 16px 0 0;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-mute);
    text-align: center;
    letter-spacing: 0.04em;
}

.event-hero--simple {
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "time"
        "desc";
}

.switch-overlay__spinner {
    width: 30px; height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-top-color: var(--thales-viking);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
.switch-overlay__message {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 500;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================================
 *  VIDEO.JS — Thales theme
 * =================================================================== */
.vjs-thales { --vjs-control-color: #fff; }

.vjs-thales .vjs-big-play-button {
    background: rgba(8, 23, 160, 0.85);
    border: 1px solid var(--thales-viking);
    border-radius: 50%;
    width: 80px; height: 80px;
    line-height: 78px;
    color: #fff;
    font-size: 38px;
    transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
    box-shadow: 0 0 0 6px rgba(8, 23, 160, 0.2);
}
.vjs-thales:hover .vjs-big-play-button,
.vjs-thales .vjs-big-play-button:hover {
    background: var(--thales-ultra);
    transform: scale(1.05);
}

.vjs-thales .vjs-control-bar {
    background: linear-gradient(180deg, transparent 0%, rgba(12, 13, 41, 0.96) 100%);
    height: 48px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.vjs-thales .vjs-play-progress,
.vjs-thales .vjs-volume-level,
.vjs-thales .vjs-slider-bar { background: var(--thales-viking); }
.vjs-thales .vjs-load-progress     { background: rgba(94, 191, 212, 0.25); }
.vjs-thales .vjs-load-progress div { background: rgba(94, 191, 212, 0.4); }
.vjs-thales .vjs-progress-holder        { height: 4px; }
.vjs-thales .vjs-volume-bar.vjs-slider-horizontal { height: 4px; }
.vjs-thales .vjs-button > .vjs-icon-placeholder:before { line-height: 48px; }
.vjs-thales .vjs-time-control { line-height: 48px; color: #fff; }
.vjs-thales .vjs-menu-button-popup .vjs-menu { bottom: 48px; }
.vjs-thales .vjs-menu li {
    background: var(--thales-haiti);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
}
.vjs-thales .vjs-menu li.vjs-selected { background: var(--thales-ultra); color: #fff; }
.vjs-thales .vjs-menu li:hover:not(.vjs-selected) { background: rgba(8, 23, 160, 0.6); }
.vjs-thales .vjs-live-display { color: var(--thales-viking); padding-top: 6px;}

/* ===================================================================
 *  DEBUG PANEL
 * =================================================================== */
.debug-panel {
    margin-top: 28px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    border-top: 2px solid #7C3AED;
}
.debug-panel__header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.debug-panel__title { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: #7C3AED; }
.debug-panel__sub   { font-family: var(--font-mono); font-size: 11px; color: var(--text-mute); }

.origin-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.origin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: var(--bg-card);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-base);
    transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
    position: relative;
}
.origin-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-mute); flex-shrink: 0; transition: background 180ms var(--ease-out); }
.origin-pill__name { color: var(--text-strong); font-weight: 700; }
.origin-pill__state { color: var(--text-mute); font-size: 10px; }
.origin-pill__active { width: 6px; height: 6px; border-radius: 50%; background: transparent; margin-left: 2px; transition: background 180ms var(--ease-out), box-shadow 180ms var(--ease-out); }

.origin-pill[data-online="1"] { border-color: rgba(22, 163, 74, 0.4); }
.origin-pill[data-online="1"] .origin-pill__dot { background: var(--state-live); box-shadow: 0 0 6px rgba(22, 163, 74, 0.55); }
.origin-pill[data-online="1"] .origin-pill__state { color: var(--state-live); }

.origin-pill[data-online="0"] { border-color: rgba(220, 38, 38, 0.4); }
.origin-pill[data-online="0"] .origin-pill__dot { background: var(--state-off); box-shadow: 0 0 6px rgba(220, 38, 38, 0.5); }
.origin-pill[data-online="0"] .origin-pill__state { color: var(--state-off); }

.origin-pill[data-active="1"] { box-shadow: 0 0 0 1px var(--thales-ultra), 0 0 14px rgba(8, 23, 160, 0.25); border-color: var(--thales-ultra) !important; }
.origin-pill[data-active="1"] .origin-pill__active { background: var(--thales-ultra); box-shadow: 0 0 6px var(--thales-ultra); }
.origin-pill[data-origin="vod"][data-active="1"] { box-shadow: 0 0 0 1px var(--thales-viking), 0 0 14px rgba(94, 191, 212, 0.4); border-color: var(--thales-viking) !important; }
.origin-pill[data-origin="vod"][data-active="1"] .origin-pill__active { background: var(--thales-viking); box-shadow: 0 0 6px var(--thales-viking); }

.debug-log-wrap { background: var(--bg-page); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.debug-log-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 14px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    font-weight: 600;
}
.debug-log-clear {
    background: transparent;
    border: 1px solid var(--line-soft);
    color: var(--text-mute);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 150ms, color 150ms;
    font-weight: 600;
}
.debug-log-clear:hover { border-color: var(--thales-ultra); color: var(--thales-ultra); }

.debug-log {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    max-height: 280px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 11.5px;
    line-height: 1.55;
    color: var(--text-base);
    background: var(--bg-card);
}
.debug-log li {
    padding: 2px 14px;
    display: grid;
    grid-template-columns: 80px 110px 1fr;
    gap: 12px;
    border-bottom: 1px dashed var(--line-soft);
}
.debug-log li:last-child { border-bottom: none; }
.debug-log-ts  { color: var(--text-mute); }
.debug-log-cat { color: var(--thales-ultra); font-weight: 600; letter-spacing: 0.04em; }
.debug-log-msg { color: var(--text-strong); word-break: break-word; }

@media (max-width: 600px) {
    .debug-log li { grid-template-columns: 64px 88px 1fr; gap: 8px; font-size: 10.5px; }
}

/* ===================================================================
 *  FOOTER — dark navy panel with rounded top corners (thalesgroup.com)
 * =================================================================== */
.site-footer {
    margin-top: auto;
    padding: 0;
    background: transparent; /* page bg shows in the corner cutouts */
}

.site-footer__panel {
    background: var(--thales-haiti);
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-footer) var(--radius-footer) 0 0;
    /* small inset highlight so the panel reads as a slab "rising from below" */
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04) inset;
}

.site-footer__inner {
    max-width: var(--shell-max);
    margin: 0 auto;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.site-footer__copy {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__meta {
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

@media (max-width: 480px) {
    .site-footer__panel { border-radius: 18px 18px 0 0; }
    .site-footer__inner { flex-direction: column; gap: 6px; padding: 18px 18px; align-items: flex-start; }
}

/* ===================================================================
 *  ACCESSIBILITY
 * =================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--thales-ultra);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

[hidden] { display: none !important; }
