/* ===== VVVB CUSTOM STYLES ===== */
:root {
    --rose: #a8868a;
    --rose-deep: #8e6e72;
    --rose-pale: #c9a8ab;
    --sand: #e8c4a0;
    --sand-light: #f2dcc4;
    --sand-pale: #f8efe4;
    --sage: #9a9e8a;
    --sage-deep: #7a7e6a;
    --dark: #3e3230;
    --dark-warm: #4a3e3c;
    --dark-mid: #584a48;
    --cream: #faf6f1;
    --cream-warm: #f5ede4;
    --vvvb-text: #2c2320;
    --vvvb-text-mid: #5a4e4a;
    --vvvb-text-light: #8a7e7a;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito Sans', system-ui, sans-serif;
    background: var(--cream);
    color: var(--vvvb-text);
    -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT MAX-WIDTH ===== */
.container { max-width: 960px !important; }

/* ===== CYRILLIC FONT FALLBACK ===== */
:lang(ru) {
    font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
}
:lang(ru) h1, :lang(ru) h2, :lang(ru) h3, :lang(ru) h4, :lang(ru) h5,
:lang(ru) .hero-title, :lang(ru) .section-title, :lang(ru) .proj-title,
:lang(ru) .footer-heading, :lang(ru) .accordion-button {
    font-family: 'Noto Serif', 'Georgia', 'Times New Roman', serif;
}

/* ===== ANIMATIONS ===== */
[x-cloak] { display: none !important; }
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.fade-up.shown {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BREADCRUMB ===== */
.vvvb-breadcrumb {
    background: var(--sand-pale);
    border-bottom: 1px solid rgba(168,134,138,.1);
    padding: .65rem 0;
    font-size: .82rem;
}
.vvvb-breadcrumb a {
    color: var(--rose-deep);
    text-decoration: none;
    transition: color .2s;
}
.vvvb-breadcrumb a:hover {
    color: var(--rose);
    text-decoration: underline;
}
.vvvb-breadcrumb .separator {
    color: var(--vvvb-text-light);
    margin: 0 .4rem;
}
.vvvb-breadcrumb .current {
    color: var(--vvvb-text-mid);
    font-weight: 600;
}

/* ===== HEADER ===== */
.vvvb-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1050;
    padding: 1rem 0;
    transition: all .4s ease;
    background: var(--dark-warm);
}
.vvvb-header.is-scrolled {
    backdrop-filter: blur(14px);
    padding: .6rem 0;
    box-shadow: 0 2px 24px rgba(0,0,0,.12);
}
.header-logo {
    height: 44px;
    width: auto;
    transition: height .3s;
}
.vvvb-header.is-scrolled .header-logo { height: 34px; }
.brand-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-left: .6rem;
    letter-spacing: .5px;
}
.vvvb-header .nav-link {
    color: rgba(255,255,255,.7) !important;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    transition: color .25s;
    position: relative;
    padding-bottom: .5rem;
}
.vvvb-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sand);
    border-radius: 1px;
    transition: all .3s ease;
    transform: translateX(-50%);
}
.vvvb-header .nav-link.active-section {
    color: var(--sand) !important;
}
.vvvb-header .nav-link.active-section::after {
    width: 100%;
}
.vvvb-header .nav-link:hover,
.vvvb-header .nav-link.active {
    color: var(--sand) !important;
}
/* Auth user – no yellow, no underline */
.vvvb-header .signin-icon,
.vvvb-header .signin-icon:hover,
.vvvb-header .signin-icon.active,
.vvvb-header .signin-icon.show,
.vvvb-header .signin-icon.active-section {
    color: #fff !important;
}
.vvvb-header .signin-icon::after {
    display: none !important;
}
/* Language dropdown – no yellow underline, keep caret */
.vvvb-header .lang-toggle.nav-link { padding-bottom: .5rem; }
.vvvb-header .lang-toggle.nav-link:hover,
.vvvb-header .lang-toggle.nav-link.active,
.vvvb-header .lang-toggle.nav-link.show {
    color: inherit !important;
}
/* Auth dropdown – no yellow underline */
.vvvb-header .signin-icon.dropdown-toggle:hover,
.vvvb-header .signin-icon.dropdown-toggle.active,
.vvvb-header .signin-icon.dropdown-toggle.show {
    color: inherit !important;
    text-decoration: none !important;
}
.vvvb-header .nav-link.lang-toggle::after {
    content: '';
    display: inline-block;
    position: static;
    width: .3em;
    height: .3em;
    background: none;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
    vertical-align: .15em;
    margin-left: .2em;
    transform: none;
}

.navbar-toggler { border-color: rgba(255,255,255,.2); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: var(--dark-warm);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 700px 500px at 20% 70%, rgba(232,196,160,.12), transparent 60%),
        radial-gradient(ellipse 500px 400px at 80% 30%, rgba(154,158,138,.08), transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    pointer-events: none;
}
.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-title em {
    font-style: italic;
    color: var(--sand);
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn-vvvb {
    background: var(--rose);
    color: #fff;
    border: none;
    padding: .8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: .4px;
    transition: all .3s;
}
.btn-vvvb:hover {
    background: var(--rose-deep);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168,134,138,.35);
}
.btn-vvvb-outline {
    background: transparent;
    color: var(--sand);
    border: 1.5px solid rgba(232,196,160,.4);
    padding: .8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: .4px;
    transition: all .3s;
}
.btn-vvvb-outline:hover {
    border-color: var(--sand);
    color: var(--sand);
    background: rgba(232,196,160,.08);
    transform: translateY(-2px);
}
.btn-vvvb-sm {
    background: var(--rose);
    color: #fff;
    border: none;
    padding: .5rem 1.4rem;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}
.btn-vvvb-sm:hover {
    background: var(--rose-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168,134,138,.3);
}

/* ===== SECTION BLOCKS ===== */
.section-block {
    padding: 5rem 0;
}
.section-warm {
    background: var(--cream-warm);
}
.section-accent {
    background: var(--dark-warm);
    position: relative;
    overflow: hidden;
}
.section-accent::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 90%, rgba(232,196,160,.1), transparent),
        radial-gradient(ellipse 500px 300px at 90% 10%, rgba(154,158,138,.06), transparent);
    pointer-events: none;
}

.section-tag {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: .8rem;
}
.tag-light { color: var(--sand); }

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.title-light { color: #fff; }

.section-lead {
    font-size: 1rem;
    color: var(--vvvb-text-mid);
    max-width: 640px;
    line-height: 1.8;
    margin-left: 0;
}
.lead-light { color: rgba(255,255,255,.65); }

.vvvb-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--sand));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.divider-light {
    background: linear-gradient(90deg, var(--sand), var(--rose-pale));
}

/* ===== ABOUT ===== */
.about-img-box {
    background: linear-gradient(135deg, var(--sand-pale), var(--cream-warm));
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(168,134,138,.1);
}
.about-img-box img { width: 40%; height: auto; }

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.4rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    border: 1px solid rgba(168,134,138,.08);
}
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--rose-deep);
    line-height: 1;
}
.stat-label {
    font-size: .78rem;
    color: var(--vvvb-text-light);
    margin-top: .3rem;
    font-weight: 500;
}

/* ===== MISSION / GOALS ACCORDION (dark bg) ===== */
.vvvb-accordion-dark .accordion-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px !important;
    margin-bottom: .6rem;
    overflow: hidden;
}
.vvvb-accordion-dark .accordion-button {
    background: transparent;
    color: #fff;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.3rem;
    box-shadow: none;
    gap: .6rem;
}
.vvvb-accordion-dark .accordion-button:not(.collapsed) {
    background: var(--rose);
    color: #fff;
}
.vvvb-accordion-dark .accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(2);
}
.vvvb-accordion-dark .accordion-button:focus {
    box-shadow: none;
}
.vvvb-accordion-dark .accordion-button.collapsed::after {
    filter: invert(1) brightness(2);
}
.vvvb-accordion-dark .acc-custom-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: rgba(232,196,160,.15);
    transition: background .2s;
}
.vvvb-accordion-dark .accordion-button:not(.collapsed) .acc-custom-icon {
    background: var(--sand);
}
.vvvb-accordion-dark .acc-icon-placeholder {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 6px;
    background: rgba(232,196,160,.15);
    border: 1px dashed rgba(255,255,255,.15);
    transition: background .2s, border-color .2s;
}
.vvvb-accordion-dark .accordion-button:not(.collapsed) .acc-icon-placeholder {
    background: var(--sand);
    border-color: var(--sand);
}
.vvvb-accordion-dark .accordion-body {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    line-height: 1.7;
    padding: 1.2rem 1.3rem 1.2rem;
}
.vvvb-accordion-dark .accordion-body p {
    margin: 0 0 .8rem;
}
.vvvb-accordion-dark .accordion-body a {
    color: var(--sand);
    text-decoration: underline;
}
.vvvb-accordion-dark .accordion-body a:hover {
    color: #fff;
}
.vvvb-accordion-dark .accordion-body .btn-vvvb-sm {
    background: rgba(232,196,160,.2);
    color: var(--sand);
    border: 1px solid rgba(232,196,160,.25);
}
.vvvb-accordion-dark .accordion-body .btn-vvvb-sm:hover {
    background: rgba(232,196,160,.3);
    color: #fff;
}
.mission-side-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    width: 100%;
}
.mission-side-logo {
    width: 50%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.5);
}
.mission-side-box p {
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== PROJECTS ACCORDION (light bg) ===== */
.vvvb-accordion-light .accordion-item {
    background: #fff;
    border: 1px solid rgba(168,134,138,.08);
    border-radius: 12px !important;
    margin-bottom: .6rem;
    overflow: hidden;
}
.vvvb-accordion-light .proj-acc-bar {
    height: 4px;
}
.vvvb-accordion-light .accordion-button {
    background: transparent;
    color: var(--dark);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 1.3rem;
    box-shadow: none;
    gap: .5rem;
    flex-wrap: wrap;
}
.vvvb-accordion-light .accordion-button:not(.collapsed) {
    color: #fff;
}
.acc-color-rose .accordion-button:not(.collapsed) { background: var(--rose); }
.acc-color-sand .accordion-button:not(.collapsed) { background: var(--sand); }
.acc-color-sage .accordion-button:not(.collapsed) { background: var(--sage); }
.acc-color-rose-deep .accordion-button:not(.collapsed) { background: var(--rose-deep); }
.vvvb-accordion-light .accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(2);
}
.vvvb-accordion-light .accordion-button:not(.collapsed) .proj-acc-tag {
    color: rgba(255,255,255,.7);
}
.vvvb-accordion-light .accordion-button::after {
    opacity: .5;
}
.vvvb-accordion-light .accordion-button:focus {
    box-shadow: none;
}
.vvvb-accordion-light .proj-acc-tag {
    font-family: 'Nunito Sans', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--rose);
    display: block;
    width: 100%;
}
.vvvb-accordion-light .accordion-body {
    color: var(--vvvb-text-mid);
    font-size: .9rem;
    line-height: 1.7;
    padding: 0 1.3rem 1.3rem;
}
.vvvb-accordion-light .accordion-body p {
    margin: 0 0 1rem;
}

/* Project section labels */
.proj-section-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--vvvb-text-mid);
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.proj-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-active {
    background: #5cb85c;
    box-shadow: 0 0 0 3px rgba(92,184,92,.2);
}
.dot-upcoming {
    background: var(--sand);
    box-shadow: 0 0 0 3px rgba(232,196,160,.2);
}
.dot-done {
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(154,158,138,.2);
}
.dot-yours {
    background: var(--rose);
    box-shadow: 0 0 0 3px rgba(168,134,138,.2);
}
.proj-empty-label {
    font-size: .85rem;
    color: var(--vvvb-text-light);
    font-style: italic;
    padding: .5rem 0;
}
.dot-done {
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(154,158,138,.2);
}

/* Suggest project card */
.acc-blank {
    border-style: dashed !important;
    border-color: rgba(168,134,138,.15) !important;
    background: rgba(255,255,255,.5) !important;
}
.acc-suggest {
    cursor: pointer;
    color: var(--rose) !important;
    font-style: italic;
    position: relative;
}
.acc-suggest::after {
    display: none !important;
}
.acc-suggest:hover {
    color: var(--rose-deep) !important;
}

/* Accordion inner video */
.acc-video {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(168,134,138,.08);
}

/* Accordion bullet sections */
.acc-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}
.acc-bullet {
    border-left: 2px solid var(--rose-pale);
    padding-left: .8rem;
}
.acc-bullet strong {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .2rem;
}
.acc-bullet p {
    font-size: .84rem;
    color: var(--vvvb-text-mid);
    line-height: 1.6;
    margin: 0;
}

/* Accent bars */
.bar-rose { background: var(--rose); }
.bar-sand { background: var(--sand); }
.bar-sage { background: var(--sage); }
.bar-rose-deep { background: var(--rose-deep); }

/* ===== VIDEO CARDS ===== */
.video-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    overflow: hidden;
}
.video-card-light {
    background: #fff;
    border: 1px solid rgba(168,134,138,.08);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
.video-title {
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    font-weight: 600;
    padding: .7rem 1rem;
    margin: 0;
}
.video-title-light {
    color: var(--vvvb-text-mid);
    font-size: .82rem;
    font-weight: 600;
    padding: .7rem 1rem;
    margin: 0;
}

/* ===== CONTACTS ===== */
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.ci-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--sand-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--rose-deep);
}
.contact-item h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .1rem;
    font-size: .9rem;
}
.contact-item span {
    color: var(--vvvb-text-mid);
    font-size: .88rem;
}
.map-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168,134,138,.1);
}

/* ===== FOOTER ===== */
.vvvb-footer {
    background: var(--dark-warm);
}
.footer-logo {
    height: 50px;
    width: auto;
}
.footer-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    max-width: 280px;
}
.footer-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sand);
    margin-bottom: 1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .85rem;
    padding: .3rem 0;
    transition: color .2s;
}
.footer-links a:hover { color: var(--sand); }
.footer-contact {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    margin-bottom: .3rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .78rem;
    color: rgba(255,255,255,.3);
}
.footer-socials {
    display: flex;
    gap: .6rem;
}
.social-link {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.45);
    transition: all .25s;
    text-decoration: none;
}
.social-link:hover {
    border-color: var(--sand);
    color: var(--sand);
    background: rgba(255,255,255,.06);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 42px; height: 42px;
    background: var(--dark-warm);
    color: var(--sand);
    border: 1.5px solid rgba(232,196,160,.2);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    font-size: 1.1rem;
    transition: all .3s;
}
.scroll-top:hover {
    background: var(--dark);
    border-color: var(--sand);
    transform: translateY(-2px);
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-toggle {
    padding: .35rem .7rem !important;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    transition: all .25s;
}
.lang-toggle:hover {
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.06);
}
.lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}
.lang-code {
    font-size: .78rem;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    letter-spacing: .5px;
}
.lang-dropdown {
    background: var(--dark-warm);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    min-width: 140px;
    padding: .4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.lang-dropdown .dropdown-item {
    color: rgba(255,255,255,.7);
    font-size: .84rem;
    font-weight: 500;
    border-radius: 5px;
    padding: .45rem .7rem;
    transition: all .2s;
}
.lang-dropdown .dropdown-item:hover {
    background: rgba(255,255,255,.08);
    color: var(--sand);
}
.lang-dropdown .dropdown-item .lang-flag {
    width: 22px;
    height: 15px;
}

/* ===== GALLERY ===== */
.gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    border: 1px solid rgba(168,134,138,.08);
    transition: all .3s;
}
.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168,134,138,.15);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-placeholder {
    background: var(--sand-pale);
    border: 2px dashed var(--rose-pale);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
}
.gallery-placeholder p {
    font-size: 2.5rem;
    margin-bottom: .5rem;
}
.gallery-placeholder span {
    color: var(--vvvb-text-light);
    font-size: .9rem;
}

/* ===== PROJECT DETAIL ===== */
.proj-detail-bar {
    height: 5px;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    width: 100%;
}
.proj-detail-tag {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: .5rem;
}
.proj-detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.proj-detail-short {
    font-size: 1.05rem;
    color: var(--vvvb-text-mid);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.proj-detail-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1.8rem 0 .8rem;
}
.proj-detail-body h3:first-child {
    margin-top: 0;
}
.proj-detail-body p {
    font-size: .95rem;
    color: var(--vvvb-text-mid);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.proj-detail-sidebar {
    background: #fff;
    border: 1px solid rgba(168,134,138,.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    position: sticky;
    top: 100px;
}
.proj-detail-info {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(168,134,138,.08);
}
.proj-detail-info:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.proj-detail-info h5 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--vvvb-text-light);
    margin-bottom: .3rem;
}
.proj-detail-info p {
    font-size: .95rem;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Bullet cards for project detail */
.proj-bullet-card {
    background: #fff;
    border: 1px solid rgba(168,134,138,.08);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    transition: all .3s;
}
.proj-bullet-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(168,134,138,.12);
}
.proj-bullet-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sand-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.proj-bullet-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .8rem;
}
.proj-bullet-card p {
    font-size: .9rem;
    color: var(--vvvb-text-mid);
    line-height: 1.8;
    margin: 0;
}

/* ===== PROJECT REFERENCES ===== */
.proj-refs-section {
    background: var(--sand-pale);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--sage);
}
.proj-refs-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--forest);
    margin-bottom: 1rem;
}
.proj-refs-body .proj-ref-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.proj-refs-body .proj-ref-list li {
    padding: .6rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-size: .9rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.proj-refs-body .proj-ref-list li:last-child { border-bottom: none; }
.proj-refs-body .proj-ref-list li a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.proj-refs-body .proj-ref-list li a:hover {
    color: var(--sage);
    text-decoration: underline;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .section-block { padding: 3.5rem 0; }
    .hero-logo { width: 90px; }
    .lang-toggle { margin-top: .5rem; }
}


/* ===== PROJECT SCROLLSPY LAYOUT ===== */
.proj-scrollspy-section {
    padding-top: 2rem;
}

/* Sticky sidebar nav */
.proj-spy-nav {
    position: sticky;
    top: 90px;
    padding: 1.5rem 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.proj-spy-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 2px solid var(--sand-light);
}
.proj-spy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.proj-spy-list li {
    margin-bottom: .15rem;
}
.proj-spy-link {
    display: block;
    padding: .4rem .75rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--vvvb-text-mid);
    text-decoration: none;
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all .25s ease;
    line-height: 1.4;
}
.proj-spy-link:hover {
    color: var(--rose-deep);
    background: var(--sand-pale);
}
.proj-spy-link.active {
    color: var(--rose-deep);
    border-left-color: var(--rose);
    background: var(--sand-pale);
    font-weight: 700;
}
/* Sub-items indented */
.proj-spy-sub .proj-spy-link {
    padding-left: 1.5rem;
    font-size: .78rem;
    font-weight: 500;
}
.proj-spy-sub .proj-spy-link.active {
    font-weight: 600;
}
/* Deep sub-items (3rd level) */
.proj-spy-deep .proj-spy-link {
    padding-left: 2.5rem;
    font-size: .75rem;
    font-weight: 400;
}
.proj-spy-deep .proj-spy-link.active {
    font-weight: 600;
}

/* Content sections */
.proj-spy-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sand);
}
.proj-spy-section:last-of-type {
    border-bottom: none;
}
.proj-spy-heading {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sage);
    margin-bottom: 8px;
}
.proj-spy-subheading {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--sage-mid, var(--sage));
    margin-bottom: 6px;
    opacity: .8;
}
.proj-spy-subsection {
    padding-left: 1.5rem;
    border-left: 3px solid var(--sand-light);
    margin-left: .5rem;
}
.proj-spy-content {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--vvvb-text-mid);
}


/* ===== IDEAS ===== */

/* Accordion header layout */
.idea-acc-title { flex: 0 1 auto; min-width: 0; }
.idea-acc-loc {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: 1.15rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--vvvb-text-mid);
    white-space: nowrap;
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
}
.loc-ico {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--dark);
    stroke-width: 1.5;
    vertical-align: -2px;
    flex-shrink: 0;
}
.idea-acc-votes {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-right: .5rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 1.15rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--dark);
}
.yt-ico-lg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--dark);
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
    vertical-align: -5px;
}
.yt-ico-lg.filled { fill: var(--dark); }
.yt-ico-lg.flip { transform: rotate(180deg); margin-left: .6rem; }

/* Body meta + vote buttons */
.idea-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.5rem;
    font-size: .82rem;
    color: var(--vvvb-text-light);
    margin-top: .5rem;
}
.yt-votes {
    display: inline-flex;
    align-items: center;
    background: var(--sand-pale);
    border-radius: 50px;
    overflow: hidden;
}
.yt-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border: none;
    background: transparent;
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: background .15s ease;
}
.yt-vote-btn:hover:not(.disabled) {
    background: rgba(0,0,0,.06);
}
.yt-vote-btn.active {
    background: rgba(0,0,0,.08);
}
.yt-vote-btn.disabled { cursor: default; }
.yt-sep {
    width: 1px;
    height: 22px;
    background: rgba(0,0,0,.12);
}
.yt-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--dark);
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-linecap: round;
}
.yt-vote-btn.active .yt-icon { fill: var(--dark); }
.yt-icon.flip { transform: rotate(180deg); }

@media (max-width: 768px) {
    .idea-acc-loc { display: none; }
    .idea-acc-title { flex: 1 1 auto; }
    .yt-ico-lg { width: 20px; height: 20px; }
}


/* ===== AUTH PAGES ===== */
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 30px rgba(62,50,48,.06);
    border: 1px solid rgba(168,134,138,.1);
}
.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.auth-label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: var(--dark-mid);
    margin-bottom: .35rem;
}
.auth-optional {
    font-weight: 400;
    color: var(--vvvb-text-light);
    font-size: .78rem;
}
.auth-input {
    border: 1.5px solid rgba(168,134,138,.25);
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .92rem;
    color: var(--dark);
    transition: border-color .2s ease, box-shadow .2s ease;
    background: var(--cream);
}
.auth-input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(168,134,138,.12);
    outline: none;
}
.auth-check {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--vvvb-text-mid);
    cursor: pointer;
}
.auth-check .form-check-input {
    margin: 0;
}
.auth-check .form-check-input:checked {
    background-color: var(--rose-deep);
    border-color: var(--rose-deep);
}
.auth-link {
    font-size: .82rem;
    color: var(--rose-deep);
    text-decoration: none;
    transition: color .2s;
}
.auth-link:hover {
    color: var(--dark);
    text-decoration: underline;
}
.auth-muted {
    font-size: .85rem;
    color: var(--vvvb-text-light);
}
.auth-alert {
    font-size: .85rem;
    border-radius: 8px;
    border: none;
}
/* Tabs */
.auth-tabs {
    display: flex;
    gap: 0;
    border: 1.5px solid rgba(168,134,138,.2);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    list-style: none;
}
.auth-tab {
    padding: .65rem .5rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    border: none;
    background: transparent;
    color: var(--vvvb-text-light);
    cursor: pointer;
    transition: all .2s ease;
}
.auth-tab.active,
.auth-tab:hover {
    background: var(--rose-deep);
    color: #fff;
}
/* Sign in icon in navbar */
.signin-icon {
    display: flex;
    align-items: center;
    padding: .3rem;
    color: var(--dark) !important;
    opacity: .7;
    transition: opacity .2s;
}
.signin-icon:hover {
    opacity: 1;
}

/* Verify page */
.verify-notice {
    display: flex;
    gap: .75rem;
    background: var(--sand-pale);
    border-left: 4px solid var(--sand);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: .84rem;
    line-height: 1.65;
    color: var(--vvvb-text-mid);
}
.verify-notice p { margin: 0; }
.verify-sent-to {
    font-size: .78rem;
    color: var(--vvvb-text-light);
    margin-bottom: .5rem;
}
.verify-code-inputs {
    display: flex;
    gap: .5rem;
    justify-content: center;
}
.verify-digit {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    color: var(--dark);
    border: 1.5px solid rgba(168,134,138,.25);
    border-radius: 10px;
    background: var(--cream);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.verify-digit:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(168,134,138,.15);
}
.verify-error {
    font-size: .8rem;
    color: #d32f2f;
    margin-top: .4rem;
    text-align: center;
}

.auth-user-name {
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}
.signin-icon {
    color: #fff !important;
    opacity: .85;
    transition: opacity .2s;
}
.signin-icon:hover {
    opacity: 1;
}
@media (max-width: 768px) {
    .auth-user-name { display: none; }
}

/* ===== PROFILE PAGE ===== */
.profile-role-badge {
    text-align: center;
}
.profile-badge {
    display: inline-block;
    padding: .4rem 1.4rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.badge-author {
    background: var(--sand-pale);
    color: var(--dark-mid);
    border: 1.5px solid var(--sand);
}
.badge-member {
    background: var(--sage);
    color: #fff;
}
.profile-field-row {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.profile-field-row .form-control {
    flex: 1;
}
.profile-verified {
    font-size: .78rem;
    font-weight: 700;
    color: var(--sage);
    white-space: nowrap;
}
.profile-not-verified {
    font-size: .78rem;
    font-weight: 600;
    color: #d32f2f;
    white-space: nowrap;
}
.profile-danger-zone {
    border: 1.5px solid rgba(211,47,47,.2);
    background: rgba(211,47,47,.03);
}
.profile-danger-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: .5rem;
}
.btn-vvvb-danger {
    display: inline-block;
    padding: .55rem 1.6rem;
    border: 2px solid #d32f2f;
    color: #d32f2f;
    background: transparent;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s ease;
}
.btn-vvvb-danger:hover {
    background: #d32f2f;
    color: #fff;
}

/* ── PROJECT DETAIL: idea-style field blocks ─────────────────────────── */
.proj-field-block {
    margin-bottom: 1.5rem;
}
.proj-field-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--sage);
    margin-bottom: 6px;
}
.proj-field-body {
    color: var(--dark);
    line-height: 1.65;
}
.proj-field-body p {
    margin-bottom: 1rem;
}
.proj-field-body p:last-child {
    margin-bottom: 0;
}
.proj-field-body ul, .proj-field-body ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}
.proj-field-body li {
    margin-bottom: .3rem;
}
.proj-field-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.proj-link-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.proj-link-fav {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.proj-link-a {
    font-size: .85rem;
    color: var(--dark);
    text-decoration: underline;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 420px;
}
/* Images grid */
.proj-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.proj-img-thumb {
    position: relative;
    width: 130px;
    height: 97px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    cursor: pointer;
    transition: transform .2s;
}
.proj-img-thumb:hover { transform: scale(1.03); }
.proj-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.proj-img-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: .62rem;
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Video */
.proj-video-wrap {
    aspect-ratio: 16/9;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
}
.proj-video-wrap iframe {
    width: 100%;
    height: 100%;
}
/* Documents list */
/* ===== DOCUMENT LIST ===== */
.proj-docs-list { display: flex; flex-direction: column; gap: 6px; }
.proj-doc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--sand-pale);
    border: 1px solid rgba(168,134,138,.1);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background .2s;
}
.proj-doc-row:hover { background: var(--sand-light); }
.proj-doc-icon { font-size: 1.3rem; flex-shrink: 0; }
.proj-doc-info { flex: 1; min-width: 0; }
.proj-doc-caption { display: block; font-size: .88rem; font-weight: 600; color: var(--dark); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.proj-doc-meta { display: block; font-size: .72rem; color: var(--vvvb-text-light); margin-top: 1px; }
.proj-doc-actions { display: flex; gap: 6px; flex-shrink: 0; }
.proj-doc-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 7px;
    color: #444;
    text-decoration: none;
    transition: all .2s;
}
.proj-doc-btn:hover { background: #222; color: #fff; border-color: #222; }
.proj-doc-view { display: none; }
.proj-doc-name, .proj-doc-size, .proj-doc-dl { display: none; }
/* Done status dot */
.dot-done { background: var(--sage, #7a9e7e); }


/* ── Max width constraint for landing + project pages ── */
body.page-landing .container,
body.page-project .container { max-width: 860px; }
