/*
Theme Name: Astorians Cinematic Companion R17
Theme URI: https://astorians.net/
Author: Astorians
Description: Inherits the original Astorians theme and Wave-A logo, menu/header/footer. Applies non-destructive shared cinematic tokens. R17 canonical footer and the R16 Contact, R15 Refunds, R14 Cookies and R13 Privacy cinema. All page renderers remain in the cumulative Site Experience plugin.
Version: 1.7.0
Template: astorians-theme
Requires at least: 6.2
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: astorians-cinematic-child
*/
:root{--ast-cinema-midnight:#0d0920;--ast-cinema-violet:#a88aff;--ast-cinema-cyan:#65e5e7;--ast-cinema-magenta:#ed74cf;--ast-cinema-gold:#e6c27f;--ast-cinema-glass:rgba(28,25,64,.86);--ast-cinema-line:rgba(196,174,255,.20)}
/* Deliberately does not overwrite parent navigation, logo, Academy, WooCommerce, Journal, account or chatbot templates. */

/* Reusable source-derived design primitives for future unified Astorians pages. */
.ast-cine-section {background:radial-gradient(ellipse at 10% 0%,rgba(100,59,176,.23),transparent 55%),var(--ast-cinema-midnight);color:#f6f0ff}
.ast-cine-surface {background:linear-gradient(135deg,rgba(64,42,103,.56),rgba(18,13,46,.85));border:1px solid var(--ast-cinema-line);border-radius:22px;backdrop-filter:blur(14px)}
.ast-cine-gradient-text {background:linear-gradient(95deg,var(--ast-cinema-gold),var(--ast-cinema-magenta),var(--ast-cinema-cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
.ast-cine-reveal {transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.ast-cine-reveal[data-visible="false"] {opacity:0;transform:translateY(24px)}
@media(prefers-reduced-motion:reduce){.ast-cine-reveal{transition:none!important;transform:none!important;opacity:1!important}}

/* R14 page-specific tokens: no changes to parent navigation or existing functionality. */
.ast-cine-cookie{--ast-cine-primary:#edc989;--ast-cine-secondary:#8fe5ee}

/* R15 consumer-rights page retains original Wave-A motion & glass treatment through the cumulative plugin. */
.ast-cine-refunds{--ast-cine-primary:#f4cc87;--ast-cine-secondary:#5fe0f5}

/* R16 Contact Observatory: page-scoped cinema palette. The parent theme and Contact Desk retain ownership of navigation, content and mail. */
.ast-contact-r16{--ast-cine-primary:#e8bd82;--ast-cine-secondary:#80e3fa}
.ast-contact-r16 :is(button,a,input,select,textarea):focus-visible{outline-color:#8ae5f9}

/* R17 footer: original Wave-A styling, canonical legal/support links, accessible responsive layout. */
.footer-grid.ast-r17-footer-grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(4,minmax(130px,1fr));gap:clamp(18px,3vw,44px);align-items:start}
.ast-r17-footer-grid>div{min-width:0}
.ast-r17-footer-grid h3{margin-top:8px}
.ast-r17-footer-grid a{display:block;max-width:max-content;text-decoration:none}
.ast-r17-footer-grid .brand{display:flex;align-items:center}
.ast-r17-footer-grid a:focus-visible{outline:2px solid #79e7ee;outline-offset:4px;border-radius:3px}
.ast-r17-footer-grid .ast-r17-footer-kicker{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:#dec27b;margin:0 0 9px}
.ast-r17-footer-grid .ast-r17-footer-legal-note{font-size:.79rem;opacity:.74;margin-top:12px}
@media(max-width:1100px){.footer-grid.ast-r17-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-grid.ast-r17-footer-grid>div:first-child{grid-column:span 3}}
@media(max-width:650px){.footer-grid.ast-r17-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.footer-grid.ast-r17-footer-grid>div:first-child{grid-column:span 2}}
@media(max-width:380px){.footer-grid.ast-r17-footer-grid{grid-template-columns:1fr}.footer-grid.ast-r17-footer-grid>div:first-child{grid-column:auto}}
