       :root {
            --bg: #0a0806;
            --text: #f0e9df;
            --accent: #0f7a7a;     /* тюркоазен акцент */
            --accent-hover: #1ab8b8;
        }
        
        * { margin:0; padding:0; box-sizing:border-box; }
        
        body {
            background: var(--bg);
            color: var(--text);
            font-family: 'Inter', system-ui, sans-serif;
            line-height: 1.6;
        }
 

 
        /* Hero */
        .hero {
            height: 100vh;
            min-height: 700px;
            background: linear-gradient(rgba(10,8,6,0.75), rgba(10,8,6,0.9)), 
                        url('../../assets/images/waxed.jpg') center/cover no-repeat fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
 
  /* Светлинен слой — бавно дишащ градиент върху восъка,
           не върху текста. Имитира как светлината се "стича"
           по неравна повърхност, не въртене на обекта. */
        .hero::after {
            content: "";
            position: absolute;
            inset: -10%;
            z-index: 1;
            pointer-events: none;
            background: radial-gradient(
                circle at 30% 40%,
                rgba(120, 230, 230, 0.32),
                rgba(120, 230, 230, 0.08) 35%,
                transparent 60%
            );
            mix-blend-mode: screen;
            opacity: 0;
            animation: light-drift 22s ease-in-out infinite;
        }
 
        @keyframes light-drift {
            0%   { background-position: 0% 0%;   opacity: 0; }
            45%  { background-position: 25% 20%;  opacity: 0.55; }
            55%  { background-position: 20% 25%;  opacity: 0.5; }
            100% { background-position: 0% 0%;    opacity: 0; }
        }
 
        /* Спокойствие за тези, които предпочитат по-малко движение */
        @media (prefers-reduced-motion: reduce) {
            .hero::after {
                animation: none;
                opacity: 0.3;
            }
        }
              
        .hero-content {
            max-width: 680px;
            text-align: center;
            padding: 2rem;
            position: relative;
            z-index: 2;
        }
        
        .hero h1 {
            font-family: 'Crimson Text', serif;
            font-size: 2.9rem;
            line-height: 1.15;
            margin-bottom: 1.8rem;
        }
        
        .hero p {
            font-size: 1.18rem;
            opacity: 0.88;
            margin-bottom: 3rem;
        }
        
        .enter {
            display: inline-block;
            padding: 16px 48px;
            border: 1px solid var(--accent);
            color: var(--accent);
            text-decoration: none;
            font-size: 1.08rem;
            transition: all 0.4s ease;
        }
        
        .enter:hover {
            background: var(--accent);
            color: #0a0806;
        }
        
        /* Вътрешни статични страници — НЕ наследяват .hero визуалния регистър */
.page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 140px 2rem 80px;
}

.page-content {
    max-width: 680px;
    width: 100%;
}

.page-content h1 {
    font-family: 'Crimson Text', serif;
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.8rem;
}

.page-content h2 {
    font-family: 'Crimson Text', serif;
    font-size: 1.35rem;
    color: var(--accent);
    margin: 2.2rem 0 0.9rem;
}

.page-content p {
    margin-bottom: 1.2rem;
    opacity: 0.92;
}

.image-placeholder {
    border: 1px dashed var(--accent);
    color: var(--accent);
    opacity: 0.55;
    text-align: center;
    padding: 3rem 1rem;
    margin: 2rem 0;
    font-size: 0.9rem;
}

/* Тиха навигация — само на вътрешни страници */
/* === Замества старите .lang-switch / .site-nav правила === */

.site-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 24px 40px;
    background: var(--bg);
    border-bottom: 1px solid rgba(240, 233, 223, 0.08);
}

.site-bar-spacer { grid-column: 1; }

.site-nav {
    grid-column: 2;
    justify-self: center;
    display: flex;
    gap: 26px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.site-nav a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.site-nav a:hover { opacity: 1; color: var(--accent); }

.lang-switch {
    grid-column: 3;
    justify-self: end;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.lang-switch a {
    color: var(--text);
    text-decoration: none;
    margin-left: 14px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.lang-switch a:hover,
.lang-switch a.active {
    opacity: 1;
    color: var(--accent);
    text-shadow: 0 0 8px rgba(15, 122, 122, 0.4);
}

/* Мобилно — менюто се смалява и пада на собствен ред, лентата не е грид вече */
@media (max-width: 700px) {
    .site-bar {
        grid-template-columns: 1fr;
        row-gap: 10px;
        padding: 18px 20px;
    }
    .site-bar-spacer { display: none; }
    .site-nav {
        grid-column: 1;
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
        font-size: 0.82rem;
    }
    .lang-switch {
        grid-column: 1;
        justify-self: center;
    }
}

/* === Декоративен елемент над заглавието — запълва празнотата, без снимка === */
.page-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 14px;
    margin-top: 14px;
    margin-bottom: 0.6rem;
    opacity: 0.65;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0,6 Q15,0 30,6 T60,6' stroke='%231ab8b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* === Двойка снимки (Легендата) === */
.image-pair {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}
.image-pair img {
    width: 50%;
    height: auto;
    display: block;
}
@media (max-width: 600px) {
    .image-pair { flex-direction: column; }
    .image-pair img { width: 100%; }
}

/* === Разделители между темите в Досадното === */
.faq-item + .faq-item {
    border-top: 1px solid rgba(240, 233, 223, 0.12);
    margin-top: 2.2rem;
    padding-top: 1.6rem;
}

/* === Линкове в текста — нарочно НЕ въвеждам лилав :visited.
   Една единствена marca-боя (тюркоазено), различима само по opacity. === */
.page-content a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(15, 122, 122, 0.4);
    text-underline-offset: 3px;
    transition: color 0.3s ease, opacity 0.3s ease;
}
.page-content a:visited { color: var(--accent); opacity: 0.7; }
.page-content a:hover,
.page-content a:focus  { color: var(--accent-hover); }
.page-content a:active { color: var(--accent-hover); opacity: 1; }

/* Минимална форма за контакт — без етикети, без "Subject" език */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form textarea,
.contact-form input {
    background: transparent;
    border: 1px solid rgba(240, 233, 223, 0.25);
    color: var(--text);
    padding: 14px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea:focus,
.contact-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    align-self: flex-start;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--accent);
    color: var(--bg);
}

.site-footer {
    text-align: center;
    padding: 60px 2rem 50px;
    border-top: 1px solid rgba(240, 233, 223, 0.1);
    margin-top: 4rem;
}

.footer-line {
    font-size: 0.95rem;
    opacity: 0.75;
    margin-bottom: 1.4rem;
}

.footer-resonance {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.45;
    margin-bottom: 1.4rem;
    font-style: italic;
}

.footer-copyright {
    font-size: 0.78rem;
    opacity: 0.4;
}
.footer-line a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.9;
}
.footer-line a:hover { color: var(--accent); }

.archive-page { --accent: #b8860b; --accent-hover: #d4a017; }

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem 2rem;
    margin-top: 2.2rem;
}
@media (max-width: 700px) {
    .archive-grid { grid-template-columns: 1fr; }
}

.image-stack {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.image-stack img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.9s ease;
}
.image-stack img.hover-img { opacity: 0; }
.archive-item:hover .image-stack img.hover-img { opacity: 1; }

/* Заменя старото .archive-caption (вече е div, не p) */
.archive-caption {
    margin-top: 0.9rem;
}
.archive-caption h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--accent);
}
.archive-caption h3 em {
    font-size: 0.75rem;
    opacity: 0.5;
    font-style: italic;
}
.archive-caption p {
    font-size: 0.9rem;
    opacity: 0.75;
    margin: 0;
}

/* Дипломата — рамка + надпис, не просто плаващо изображение */
.archive-diploma {
    margin: 2rem 0;
    max-width: 420px;
    padding: 14px;
    border: 1px solid rgba(240, 233, 223, 0.15);
    background: rgba(240, 233, 223, 0.03);
}
.archive-diploma img {
    width: 100%;
    display: block;
    border-radius: 2px;
}
.archive-diploma figcaption {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.55;
    text-align: center;
    letter-spacing: 0.5px;
}
/* Решетка с карти — 2 на ред, по-щедри от .archive-grid */
.creations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
    margin: 2.5rem 0;
}
@media (max-width: 700px) {
    .creations-grid { grid-template-columns: 1fr; }
}

.creation-card {
    display: block;
    text-decoration: none;
    color: var(--text);
}
.creation-card .image-stack {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.creation-card .image-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border: 1px solid #222;
}
.creation-card:hover .image-stack img {
    transform: scale(1.08);
    border: 1px solid #222;
}
.creation-card h3 {
    font-family: 'Crimson Text', serif;
    font-size: 1.15rem;
    margin-top: 1rem;
}

/* Детайлна страница — две колони */
.creation-detail {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    max-width: 900px;
}
@media (max-width: 700px) {
    .creation-detail { grid-template-columns: 1fr; }
}

.creation-meta { font-size: 0.9rem; opacity: 0.85; }
.creation-meta p { margin-bottom: 1rem; }
.creation-meta .back-link {
    display: block;
    margin-top: 2rem;
    color: var(--text);
    opacity: 0.6;
    text-decoration: none;
    font-size: 0.85rem;
}
.creation-meta .back-link:hover { opacity: 1; color: var(--accent); }

.creation-main img {
    width: 100%;
    margin-bottom: 1.5rem;
}

.archive-link {
    margin-top: 3rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Заменя старото .creation-detail/.creation-meta — sticky панел вляво */
.creation-detail {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    max-width: 900px;
}
@media (max-width: 700px) {
    .creation-detail { grid-template-columns: 1fr; }
    .creation-meta { position: static !important; }
}

.creation-meta {
    position: sticky;
    top: 160px;
    align-self: start;
    font-size: 0.9rem;
    opacity: 0.9;
}
.creation-meta p { margin-bottom: 0.8rem; }
.creation-spec { opacity: 0.75; }

.creation-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(240, 233, 223, 0.1);
    border-bottom: 1px solid rgba(240, 233, 223, 0.1);
}
.creation-nav a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.6;
}
.creation-nav a:hover { opacity: 1; color: var(--accent); }

.creation-form { margin-top: 1rem; gap: 0.7rem; }
.creation-form textarea,
.creation-form input { font-size: 0.85rem; padding: 10px; }
.creation-sent { color: var(--accent); }

.creation-meta .back-link {
    display: block;
    margin-top: 2rem;
    color: var(--text);
    opacity: 0.6;
    text-decoration: none;
    font-size: 0.85rem;
}
.creation-meta .back-link:hover { opacity: 1; color: var(--accent); }

/* Галерия — снимки една под друга, скролват се покрай sticky панела */
.creation-gallery { display: flex; flex-direction: column; gap: 1.5rem; }
.creation-gallery img { width: 100%; }

.creation-story, .creation-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(240, 233, 223, 0.1);
}
.creation-story h2, .creation-related h2 {
    font-family: 'Crimson Text', serif;
    color: var(--accent);
    margin-bottom: 1rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
@media (max-width: 700px) {
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}