/*  ═══════════════════════════════════════════════════════
    AcusMagic — Design System · "Laboratorio Ermetico"
    Reskin a livello di token (2026-07-12): ossidiana calda,
    oro spento, pergamena — la stessa tavolozza del plugin e
    delle pagine layout (css/sonicrama.css). Font self-hosted
    via fonts/fonts.css (caricato da header.php): niente
    richieste a Google — GDPR + performance.
    ═══════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Obsidiana calda */
    --am-bg:             var(--ax-ink);
    --am-bg-alt:         var(--ax-ink-2);
    --am-surface:        var(--ax-ink-3);
    --am-surface-hover:  var(--ax-ink-4);
    --am-surface-border: rgba(201, 168, 76, 0.14);
    --am-surface-glow:   rgba(201, 168, 76, 0.06);

    /* Brand Colors — oro spento primario; il ciano resta al "vivo" */
    --am-primary:        var(--ax-gold);
    --am-primary-light:  var(--ax-gold-bright);
    --am-primary-dark:   var(--ax-gold-dim);
    --am-primary-glow:   rgba(201, 168, 76, 0.28);
    --am-secondary:      var(--ax-gold-bright);
    --am-accent:         var(--ax-gold);
    --am-accent-light:   var(--ax-gold-bright);
    --am-accent-glow:    rgba(201, 168, 76, 0.25);

    /* Text — pergamena */
    --am-text:           #d8d2c4;
    --am-text-heading:   var(--ax-heading);
    --am-text-muted:     var(--ax-muted);
    --am-text-bright:    #ffffff;

    /* Status */
    --am-success:        var(--ax-success);
    --am-warning:        var(--ax-warning);
    --am-error:          var(--ax-error);
    --am-info:           var(--ax-cyan);

    /* Typography — self-hosted (fonts/fonts.css) */
    --am-font-heading:   'Cinzel', 'Georgia', serif;
    --am-font-body:      'EB Garamond', 'Georgia', serif;
    --am-font-mono:      'Consolas', 'Menlo', monospace;

    /* Layout */
    --am-max-width:      1200px;
    --am-header-h:       64px;
    --am-radius:         12px;
    --am-radius-lg:      20px;
    --am-radius-sm:      8px;

    /* Transitions */
    --am-ease:           cubic-bezier(0.4, 0, 0.2, 1);
    --am-duration:       0.3s;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--am-bg);
    color: var(--am-text);
    font-family: var(--am-font-body);
    font-size: 17px;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Cosmic Background ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 800px 600px at 20% 20%, rgba(201, 168, 76, 0.06), transparent),
        radial-gradient(ellipse 600px 400px at 80% 80%, rgba(201, 168, 76, 0.04), transparent),
        radial-gradient(ellipse 1000px 800px at 50% 50%, rgba(201, 168, 76, 0.03), transparent);
}

/* Star field */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 25% 45%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 40% 10%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 55% 70%, rgba(201, 168, 76,0.5), transparent),
        radial-gradient(1px 1px at 70% 30%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.25), transparent),
        radial-gradient(1.5px 1.5px at 15% 80%, rgba(201, 168, 76,0.4), transparent),
        radial-gradient(1px 1px at 95% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 30% 90%, rgba(255,255,255,0.3), transparent);
}

a {
    color: var(--am-primary-light);
    text-decoration: none;
    transition: color var(--am-duration) var(--am-ease);
}
a:hover { color: var(--am-accent); }

img { max-width: 100%; height: auto; display: block; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--am-font-heading);
    color: var(--am-text-heading);
    line-height: 1.25;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; }

p { margin-bottom: 1em; }

.am-label {
    font-family: var(--am-font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--am-primary);
}

.am-text-gradient {
    background: linear-gradient(135deg, var(--am-primary-light), var(--am-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Layout ─── */
.am-container {
    width: 100%;
    max-width: var(--am-max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.am-section {
    padding: 100px 0;
    position: relative;
}

.am-section--dark {
    background: var(--am-bg-alt);
}

/* ─── Site Header ─── */
.am-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--am-header-h);
    z-index: 1000;
    background: rgba(10, 9, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--am-surface-border);
    transition: background var(--am-duration) var(--am-ease);
}

.am-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--am-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.am-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.am-header__logo img {
    height: 36px;
    width: auto;
}

.am-header__logo-text {
    font-family: var(--am-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--am-text-heading);
    letter-spacing: 0.06em;
}

.am-header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.am-header__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--am-text-muted);
    padding: 8px 16px;
    border-radius: var(--am-radius-sm);
    transition: all var(--am-duration) var(--am-ease);
    text-decoration: none;
    position: relative;
}

.am-header__link:hover,
.am-header__link--active {
    color: var(--am-text-heading);
    background: var(--am-surface-glow);
}

.am-header__link--active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--am-primary);
    border-radius: 1px;
}

.am-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.am-header__cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    color: var(--am-text);
    transition: all var(--am-duration) var(--am-ease);
    cursor: pointer;
    text-decoration: none;
}

.am-header__cart:hover {
    background: var(--am-surface-hover);
    border-color: var(--am-primary);
    color: var(--am-primary);
}

.am-header__cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--am-accent);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.am-header__user {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    color: var(--am-text-muted);
    transition: all var(--am-duration) var(--am-ease);
    cursor: pointer;
    text-decoration: none;
}

.am-header__user:hover {
    background: var(--am-surface-hover);
    border-color: var(--am-primary);
    color: var(--am-primary);
}

/* Mobile Menu */
.am-header__menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--am-text);
    padding: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .am-header__nav {
        position: fixed;
        top: var(--am-header-h);
        left: 0;
        right: 0;
        background: rgba(8, 8, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--am-surface-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--am-duration) var(--am-ease);
    }
    .am-header__nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .am-header__menu-toggle { display: block; }
}

/* ─── Buttons ─── */
.am-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--am-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--am-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--am-duration) var(--am-ease);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.am-btn--primary {
    background: linear-gradient(135deg, var(--am-primary), var(--am-primary-dark));
    color: white;
    border-color: var(--am-primary);
    box-shadow: 0 4px 20px var(--am-primary-glow);
}
.am-btn--primary:hover {
    background: linear-gradient(135deg, var(--am-primary-light), var(--am-primary));
    box-shadow: 0 6px 30px var(--am-primary-glow);
    transform: translateY(-1px);
    color: white;
}

.am-btn--accent {
    background: linear-gradient(135deg, var(--am-accent), #D97706);
    color: #000;
    border-color: var(--am-accent);
    box-shadow: 0 4px 20px var(--am-accent-glow);
}
.am-btn--accent:hover {
    background: linear-gradient(135deg, var(--am-accent-light), var(--am-accent));
    box-shadow: 0 6px 30px var(--am-accent-glow);
    transform: translateY(-1px);
    color: #000;
}

.am-btn--ghost {
    background: transparent;
    color: var(--am-text);
    border-color: var(--am-surface-border);
}
.am-btn--ghost:hover {
    background: var(--am-surface);
    border-color: var(--am-primary);
    color: var(--am-primary);
}

.am-btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.am-btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ─── Cards ─── */
.am-card {
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    border-radius: var(--am-radius-lg);
    padding: 32px;
    transition: all var(--am-duration) var(--am-ease);
    position: relative;
    overflow: hidden;
}

.am-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(201, 168, 76,0.05), transparent 50%);
    pointer-events: none;
}

.am-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.08);
    transform: translateY(-2px);
}

/* ─── Glass Card Variant ─── */
.am-glass {
    background: rgba(17, 17, 34, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--am-radius-lg);
}

/* ─── Product Card ─── */
.am-product-card {
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    border-radius: var(--am-radius-lg);
    overflow: hidden;
    transition: all var(--am-duration) var(--am-ease);
    display: flex;
    flex-direction: column;
}

.am-product-card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 12px 48px rgba(201, 168, 76, 0.1);
    transform: translateY(-4px);
}

.am-product-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--am-bg);
}

.am-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--am-ease);
}

.am-product-card:hover .am-product-card__image img {
    transform: scale(1.03);
}

.am-product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 2;
}

.am-product-card__badge--available {
    background: var(--am-success);
    color: #000;
}
.am-product-card__badge--coming {
    background: var(--am-accent);
    color: #000;
}
.am-product-card__badge--beta {
    background: var(--am-primary);
    color: white;
}

.am-product-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.am-product-card__category {
    font-family: var(--am-font-mono);
    font-size: 0.7rem;
    color: var(--am-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.am-product-card__title {
    font-family: var(--am-font-heading);
    font-size: 1.35rem;
    color: var(--am-text-heading);
    margin-bottom: 4px;
}

.am-product-card__tagline {
    color: var(--am-text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.am-product-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--am-accent);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--am-surface-border);
}

.am-product-card__price .original {
    text-decoration: line-through;
    color: var(--am-text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin-left: 8px;
}

/* Nota sotto il prezzo quando le vendite sono chiuse (teaser): dice cosa
   comprerai, non quanto risparmi. */
.am-price-note {
    display: block;
    margin-top: 4px;
    color: var(--am-text-muted);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.am-product-card__actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* ─── Blog Card ─── */
.am-blog-card {
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    border-radius: var(--am-radius-lg);
    overflow: hidden;
    transition: all var(--am-duration) var(--am-ease);
    text-decoration: none;
    display: block;
}

.am-blog-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.08);
    transform: translateY(-3px);
}

.am-blog-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--am-bg-alt);
}

.am-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--am-ease);
}

.am-blog-card:hover .am-blog-card__image img {
    transform: scale(1.05);
}

.am-blog-card__body {
    padding: 24px;
}

.am-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--am-text-muted);
}

.am-blog-card__category {
    font-family: var(--am-font-mono);
    font-size: 0.7rem;
    color: var(--am-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.am-blog-card__title {
    font-family: var(--am-font-heading);
    font-size: 1.15rem;
    color: var(--am-text-heading);
    margin-bottom: 8px;
    transition: color var(--am-duration) var(--am-ease);
}

.am-blog-card:hover .am-blog-card__title {
    color: var(--am-primary-light);
}

.am-blog-card__excerpt {
    color: var(--am-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ─── Tags ─── */
.am-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-family: var(--am-font-mono);
    color: var(--am-primary);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    letter-spacing: 0.05em;
    transition: all var(--am-duration) var(--am-ease);
}

.am-tag:hover {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--am-primary);
    color: var(--am-primary-light);
}

/* ─── Forms ─── */
.am-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--am-font-body);
    font-size: 0.9rem;
    color: var(--am-text);
    background: var(--am-bg);
    border: 1px solid var(--am-surface-border);
    border-radius: var(--am-radius-sm);
    transition: all var(--am-duration) var(--am-ease);
    outline: none;
}

.am-input:focus {
    border-color: var(--am-primary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.am-input::placeholder {
    color: var(--am-text-muted);
}

/* Hide default browser reveal and clear icons on inputs for a cleaner UI */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input::-webkit-contacts-auto-fill-button,
input::-webkit-credentials-auto-fill-button {
    display: none !important;
}

.am-form-group {
    margin-bottom: 20px;
}

.am-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--am-text);
}

textarea.am-input {
    min-height: 120px;
    resize: vertical;
}

/* ─── Dividers ─── */
.am-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--am-primary), var(--am-accent));
    border: none;
    margin: 20px 0;
    border-radius: 1px;
}

.am-divider--center { margin-left: auto; margin-right: auto; }

/* ─── Sacred Geometry Decorations ─── */
.am-sacred-glyph {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    opacity: 0.7;
}

/* Flower of Life pattern as decorative background */
.am-sacred-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.03;
}

.am-sacred-bg svg {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* ─── Grids ─── */
.am-grid {
    display: grid;
    gap: 24px;
}

.am-grid--2 { grid-template-columns: repeat(2, 1fr); }
.am-grid--3 { grid-template-columns: repeat(3, 1fr); }
.am-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .am-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .am-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .am-grid--2, .am-grid--3, .am-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ─── Scroll Reveal Animation ─── */
.am-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--am-ease), transform 0.7s var(--am-ease);
}

.am-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.am-reveal-stagger > .am-reveal:nth-child(1) { transition-delay: 0ms; }
.am-reveal-stagger > .am-reveal:nth-child(2) { transition-delay: 100ms; }
.am-reveal-stagger > .am-reveal:nth-child(3) { transition-delay: 200ms; }
.am-reveal-stagger > .am-reveal:nth-child(4) { transition-delay: 300ms; }

/* ─── Flash Messages ─── */
.am-flash {
    max-width: var(--am-max-width);
    margin: 16px auto;
    padding: 14px 20px;
    border-radius: var(--am-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.am-flash--success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--am-success);
}

.am-flash--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--am-error);
}

.am-flash--notice {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--am-primary-light);
}

/* ─── Footer ─── */
.am-footer {
    background: var(--am-bg-alt);
    border-top: 1px solid var(--am-surface-border);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.am-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.am-footer__brand-desc {
    color: var(--am-text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.am-footer__heading {
    font-family: var(--am-font-heading);
    font-size: 0.9rem;
    color: var(--am-text-heading);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.am-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-footer__links a {
    color: var(--am-text-muted);
    font-size: 0.85rem;
    transition: color var(--am-duration) var(--am-ease);
}

.am-footer__links a:hover {
    color: var(--am-primary-light);
}

.am-footer__newsletter {
    display: flex;
    gap: 8px;
    position: relative;
}

.am-footer__newsletter .am-input {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
    padding: 10px 12px;
}

.am-footer__bottom {
    border-top: 1px solid var(--am-surface-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--am-text-muted);
}

.am-footer__social {
    display: flex;
    gap: 16px;
}

.am-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--am-surface);
    border: 1px solid var(--am-surface-border);
    color: var(--am-text-muted);
    transition: all var(--am-duration) var(--am-ease);
}

.am-footer__social a:hover {
    background: var(--am-surface-hover);
    border-color: var(--am-primary);
    color: var(--am-primary);
}

@media (max-width: 768px) {
    .am-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ─── Honeypot (anti-spam) ─── */
.am-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

/* ─── Breadcrumbs ─── */
.am-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--am-text-muted);
    margin-bottom: 24px;
}

.am-breadcrumb a { color: var(--am-text-muted); }
.am-breadcrumb a:hover { color: var(--am-primary-light); }
.am-breadcrumb__sep { opacity: 0.4; }

/* ─── Loading States ─── */
.am-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--am-surface-border);
    border-top-color: var(--am-primary);
    border-radius: 50%;
    animation: am-spin 0.8s linear infinite;
}

@keyframes am-spin {
    to { transform: rotate(360deg); }
}

/* ─── Page Spacer (for fixed header) ─── */
.am-page-spacer {
    height: var(--am-header-h);
}

/* ─── Utility Classes ─── */
.am-text-center { text-align: center; }
.am-text-left   { text-align: left; }
.am-mt-0  { margin-top: 0; }
.am-mb-0  { margin-bottom: 0; }
.am-mb-8  { margin-bottom: 8px; }
.am-mb-16 { margin-bottom: 16px; }
.am-mb-24 { margin-bottom: 24px; }
.am-mb-32 { margin-bottom: 32px; }
.am-mb-48 { margin-bottom: 48px; }

/* ─── Content Prose ─── */
.am-prose {
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--am-text);
}

.am-prose h2 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.am-prose h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.am-prose p {
    margin-bottom: 1.4em;
}

.am-prose ul, .am-prose ol {
    margin-bottom: 1.4em;
    padding-left: 24px;
}

.am-prose li {
    margin-bottom: 0.5em;
}

.am-prose blockquote {
    border-left: 3px solid var(--am-primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(201, 168, 76, 0.05);
    border-radius: 0 var(--am-radius-sm) var(--am-radius-sm) 0;
    font-style: italic;
    color: var(--am-text);
}

.am-prose img {
    border-radius: var(--am-radius);
    margin: 32px 0;
}

.am-prose code {
    font-family: var(--am-font-mono);
    font-size: 0.85em;
    padding: 2px 6px;
    background: var(--am-surface);
    border-radius: 4px;
    color: var(--am-primary-light);
}

/* ─── Cookie Consent ─── */
.am-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--am-surface);
    border-top: 1px solid var(--am-surface-border);
    padding: 20px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.am-cookie-banner.show { display: flex; }

.am-cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--am-text-muted);
    max-width: 600px;
}

.am-cookie-banner__actions {
    display: flex;
    gap: 8px;
}

@media (max-width: 640px) {
    .am-cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

/* ─── Social Feed ─── */

.am-social-feed {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.am-social-feed__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.am-social-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.am-social-card:hover {
    transform: translateY(-4px);
    border-color: var(--platform-color, rgba(255, 255, 255, 0.2));
}

.am-social-card__media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a0a0a;
}

.am-social-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.am-social-card:hover .am-social-card__media img {
    transform: scale(1.05);
}

.am-social-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    color: #fff;
    backdrop-filter: blur(4px);
}

.am-social-card__body {
    padding: 12px 14px;
}

.am-social-card__platform {
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.am-social-card__caption {
    font-size: 0.85em;
    opacity: 0.7;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
