/* GENERATED by build-components.js from components/*.html — do not edit directly. */

/* --- navigation --- */
.af-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        font-size-adjust: none;
        font-synthesis: auto;
        line-height: 1.6;
        backdrop-filter: blur(12px);
        background: rgba(7, 7, 7, 0.9);
        border-bottom: 1px solid rgba(240, 232, 201, 0.14);
    }
    .af-header .af-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .af-nav-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        gap: 1rem;
    }
    .af-brand {
        display: inline-flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        color: #f0e8c9;
        font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
        font-size: 1.5rem;
        font-weight: 600;
        font-size-adjust: none;
        font-synthesis: auto;
        line-height: 1.6;
        letter-spacing: -0.02em;
        transition: color 0.3s;
    }
    .af-brand-dot {
        width: 8px;
        height: 8px;
        background: #fd0009;
        transition: background 0.3s;
    }
    .af-brand:hover { color: #fd0009; }
    .af-brand:hover .af-brand-dot { background: #2aa87e; }
    
    .af-links {
        display: none;
        align-items: center;
        gap: 2rem;
        list-style: none;
    }
    .af-links > li {
        position: relative;
    }
    .af-links a {
        color: rgba(240, 232, 201, 0.9);
        text-decoration: none;
        font-size: 0.75rem;
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size-adjust: none;
        font-synthesis: auto;
        line-height: 1.6;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        padding: 0.5rem 0;
        position: relative;
        display: inline-block;
        transition: color 0.25s;
        font-weight: 400;
    }
    .af-links a:hover { color: #fd0009; }
    .af-links a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 1px;
        background: #fd0009;
        transition: width 0.25s ease;
    }
    .af-links a:hover::after { width: 100%; }
    
    /* Books Dropdown */
    .af-books-dropdown {
        position: relative;
    }
    .af-books-trigger {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }
    .af-books-trigger svg {
        width: 12px;
        height: 12px;
        transition: transform 0.2s;
    }
    .af-books-dropdown:hover .af-books-trigger svg {
        transform: rotate(180deg);
    }
    .af-books-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0.5rem;
        width: 380px;
        background: #0a0a0c;
        border: 1px solid rgba(240, 232, 201, 0.1);
        padding: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, visibility 0.2s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }
    .af-books-dropdown:hover .af-books-menu {
        opacity: 1;
        visibility: visible;
    }
    .af-book-item {
        display: block;
        padding: 0.75rem;
        text-decoration: none;
        transition: background 0.2s;
        border-bottom: 1px solid rgba(240, 232, 201, 0.05);
    }
    .af-book-item:last-child {
        border-bottom: none;
    }
    .af-book-item:hover {
        background: rgba(240, 232, 201, 0.05);
    }
    .af-book-item-inner {
        display: flex;
        align-items: start;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .af-book-content {
        flex: 1;
        display: flex;
        align-items: start;
        gap: 0.5rem;
    }
    .af-book-accent {
        width: 4px;
        min-height: 32px;
        background: #fd0009;
        transition: opacity 0.3s;
    }
    .af-book-item.accent .af-book-accent {
        background: #2aa87e;
    }
    .af-book-item:hover .af-book-accent {
        opacity: 0.7;
    }
    .af-book-title {
        font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
        font-size: 0.875rem;
        color: #f0e8c9;
        transition: color 0.3s;
        margin-bottom: 0.125rem;
        line-height: 1.3;
        font-weight: 400;
    }
    .af-book-item:hover .af-book-title {
        color: #fd0009;
    }
    .af-book-subtitle {
        font-size: 0.6875rem;
        color: rgba(240, 232, 201, 0.45);
        line-height: 1.4;
        font-weight: 400;
    }
    .af-book-badge {
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size: 0.5625rem;
        padding: 0.25rem 0.5rem;
        background: rgba(42, 168, 126, 0.2);
        color: #2aa87e;
        white-space: nowrap;
        line-height: 1;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }
    .af-book-badge.primary {
        background: rgba(253, 0, 9, 0.2);
        color: #fd0009;
    }
    
    .af-ctas {
        display: none;
        align-items: center;
        gap: 1.5rem;
    }
    .af-cta-link {
        color: rgba(240, 232, 201, 0.75);
        text-decoration: none;
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        transition: color 0.25s;
        font-weight: 400;
    }
    .af-cta-link:hover {
        color: #f0e8c9;
    }
    .af-cta-button {
        border: 1px solid rgba(42, 168, 126, 0.5);
        color: #2aa87e;
        padding: 0.625rem 1.25rem;
        text-decoration: none;
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size: 0.75rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        transition: all 0.3s;
        font-weight: 400;
    }
    .af-cta-button:hover {
        background: #2aa87e;
        color: #0a0a0c;
    }
    .af-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(240, 232, 201, 0.18);
        background: rgba(240, 232, 201, 0.03);
        color: #f0e8c9;
        border-radius: 4px;
        cursor: pointer;
    }
    .af-menu-toggle span {
        display: block;
        width: 16px;
        height: 2px;
        background: currentColor;
        position: relative;
    }
    .af-menu-toggle span::before,
    .af-menu-toggle span::after {
        content: '';
        position: absolute;
        left: 0;
        width: 16px;
        height: 2px;
        background: currentColor;
    }
    .af-menu-toggle span::before { top: -5px; }
    .af-menu-toggle span::after { top: 5px; }
    
    /* Mobile Panel */
    .af-mobile-panel {
        display: none;
        background: rgba(7, 7, 7, 0.98);
        border-top: 1px solid rgba(240, 232, 201, 0.1);
        padding: 2rem 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    body.af-menu-open .af-mobile-panel { display: block; }
    .af-mobile-panel ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .af-mobile-panel ul li {
        border-bottom: 1px solid rgba(240, 232, 201, 0.05);
    }
    .af-mobile-panel ul li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        color: #f0e8c9;
        text-decoration: none;
        font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
        font-size: 1.25rem;
        transition: color 0.25s, background 0.25s;
    }
    .af-mobile-panel ul li a:hover {
        color: #fd0009;
        background: rgba(240, 232, 201, 0.02);
    }
    .af-mobile-section-title {
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size: 0.625rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: rgba(240, 232, 201, 0.5);
        padding: 1rem 2rem 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .af-mobile-section-title::before {
        content: '';
        width: 1rem;
        height: 1px;
        background: rgba(240, 232, 201, 0.3);
    }
    .af-mobile-badge {
        font-family: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace !important;
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
        background: rgba(42, 168, 126, 0.2);
        color: #2aa87e;
    }
    .af-mobile-badge.primary {
        background: rgba(253, 0, 9, 0.2);
        color: #fd0009;
    }
    .af-mobile-ctas {
        display: flex;
        gap: 1rem;
        padding: 1.5rem 2rem 0;
        margin-top: 1rem;
        border-top: 1px solid rgba(240, 232, 201, 0.1);
    }
    .af-mobile-ctas a { flex: 1 1 auto; text-align: center; }
    
    @media (min-width: 1024px) {
        .af-links { display: flex; }
        .af-ctas { display: flex; }
        .af-menu-toggle { display: none; }
    }

/* --- footer --- */
.af-footer {
        background: #010300;
        border-top: 1px solid rgba(240, 232, 201, 0.12);
        padding: 5rem 2rem 3rem;
        position: relative;
        overflow: hidden;
    }
    .af-footer .af-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    .af-footer-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 3rem;
        margin-bottom: 4rem;
    }
    .af-footer-brand h3 {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #f0e8c9;
        font-family: 'Playfair Display', serif;
        font-size: 2rem;
        font-weight: 700;
        margin: 0 0 1rem;
        letter-spacing: -0.02em;
    }
    .af-footer-dot {
        width: 8px;
        height: 8px;
        background: #fd0009;
        border-radius: 50%;
    }
    .af-footer p { margin: 0; }
    .af-footer-copy {
        color: rgba(240, 232, 201, 0.7);
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 320px;
    }
    .af-newsletter {
        margin-top: 2rem;
        padding: 1.5rem;
        border: 1px solid rgba(253, 0, 9, 0.2);
        background: rgba(253, 0, 9, 0.08);
    }
    .af-newsletter h4 {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        color: #f0e8c9;
        margin: 0 0 0.5rem;
    }
    .af-newsletter p {
        color: rgba(240, 232, 201, 0.6);
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0 0 1rem;
    }
    .af-newsletter a {
        color: #2aa87e;
        text-decoration: none;
        font-family: 'Space Mono', monospace;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-weight: 600;
    }
    .af-almost-form {
        display: flex;
        gap: 0.6rem;
        margin-top: 1rem;
    }
    .af-almost-form input {
        min-width: 0;
        flex: 1;
        border: 1px solid rgba(240, 232, 201, 0.24);
        background: rgba(240, 232, 201, 0.08);
        color: #f0e8c9;
        padding: 0.75rem 0.85rem;
        font: 0.9rem/1.2 'Inter', sans-serif;
        outline: none;
    }
    .af-almost-form input::placeholder {
        color: rgba(240, 232, 201, 0.48);
    }
    .af-almost-form input:focus {
        border-color: rgba(253, 0, 9, 0.65);
        box-shadow: 0 0 0 3px rgba(253, 0, 9, 0.12);
    }
    .af-almost-form button {
        border: 1px solid #fd0009;
        background: #fd0009;
        color: #f0e8c9;
        padding: 0.75rem 0.95rem;
        cursor: pointer;
        font-family: 'Space Mono', monospace;
        font-size: 0.68rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-weight: 700;
        transition: opacity 0.2s ease, transform 0.2s ease;
        white-space: nowrap;
    }
    .af-almost-form button:hover {
        transform: translateY(-1px);
    }
    .af-almost-form button:disabled {
        opacity: 0.55;
        cursor: wait;
        transform: none;
    }
    .af-almost-status {
        min-height: 1.2rem;
        margin-top: 0.65rem;
        color: rgba(240, 232, 201, 0.68);
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .af-almost-status.is-error {
        color: #ff8a8d;
    }
    .af-almost-status.is-success {
        color: #2aa87e;
    }
    .af-footer-nav h4 {
        font-family: 'Space Mono', monospace;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: rgba(240, 232, 201, 0.55);
        margin: 0 0 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .af-footer-nav h4 span { width: 1rem; height: 1px; background: currentColor; display: inline-block; }
    .af-footer-nav ul { list-style: none; padding: 0; margin: 0; }
    .af-footer-nav li { margin-bottom: 1rem; }
    .af-footer-nav a {
        color: rgba(240, 232, 201, 0.85);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.25s ease;
    }
    .af-footer-nav a:hover { color: #f0e8c9; }
    .af-badge {
        background: rgba(42, 168, 126, 0.2);
        color: #2aa87e;
        font-family: 'Space Mono', monospace;
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
    .af-footer-bottom {
        border-top: 1px solid rgba(240, 232, 201, 0.12);
        padding-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .af-footer-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        align-items: center;
        justify-content: space-between;
    }
    .af-meta-text {
        font-family: 'Space Mono', monospace;
        font-size: 0.75rem;
        color: rgba(240, 232, 201, 0.55);
    }
    .af-meta-links { display: flex; gap: 1.5rem; }
    .af-meta-links a {
        font-family: 'Space Mono', monospace;
        font-size: 0.75rem;
        color: rgba(240, 232, 201, 0.55);
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .af-meta-links a:hover { color: #f0e8c9; }
    .af-footer-glow {
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at 20% 20%, rgba(253, 0, 9, 0.06), transparent 35%),
                                radial-gradient(circle at 80% 0%, rgba(42, 168, 126, 0.08), transparent 35%);
        z-index: 0;
    }
    .af-footer-content { position: relative; z-index: 1; }
    .af-footer-mark {
        position: absolute;
        bottom: 0;
        right: 0;
        font-family: 'Playfair Display', serif;
        font-size: 20vw;
        line-height: 1;
        color: rgba(240, 232, 201, 0.05);
        pointer-events: none;
    }
    @media (min-width: 900px) {
        .af-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
        .af-footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
    }
    @media (max-width: 520px) {
        .af-almost-form {
            flex-direction: column;
        }
        .af-almost-form button {
            width: 100%;
        }
    }
