/*
Theme Name: Lucid Nepal
Theme URI: https://lucidnepal.com
Author: Lucid Nepal
Description: Lucid Nepal — professional VFX outsourcing theme.
Version: 5.5.0
License: GNU General Public License v2 or later
Text Domain: lucid-nepal
*/

/* ==========================================
   VARIABLES
   ========================================== */
:root {
    --coral: #E85D5D;
    --dark:  #0A0A0A;
    --gray:  #1A1A1A;
    --light: #B8B8B8;
    --gap:   2px;           /* gallery gap */
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Open Sans', sans-serif; background: var(--dark); color: #fff; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: 'Rajdhani', sans-serif; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 4px; }

/* ==========================================
   LAYOUT
   ========================================== */
.container       { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 8rem 0; } }

.section-header   { text-align: center; margin-bottom: 3rem; }
.section-title    { font-size: clamp(2rem,5vw,3.5rem); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; margin-bottom: .5rem; }
.section-title .accent { color: var(--coral); }
.section-subtitle { color: var(--light); font-size: 1.05rem; }
.section-divider  { display: flex; align-items: center; justify-content: center; margin: 1.5rem auto; max-width: 600px; }
.section-divider::before, .section-divider::after { content: ''; flex: 1; height: 1px; background: var(--coral); }
.section-divider-dot { width: 8px; height: 8px; background: #4A90E2; border-radius: 50%; margin: 0 1rem; }

/* ==========================================
   FADE-IN
   ========================================== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   NAVBAR
   ========================================== */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
    background: rgba(10,10,10,.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.navbar-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo — <div> wrapping the_custom_logo() or text <a> */
.site-logo {
    display: flex; align-items: center; flex-shrink: 0; line-height: 1;
}
.site-logo a {
    display: flex; align-items: center;
    font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase; color: #fff;
}
.site-logo a .accent { color: var(--coral); }
/* Custom logo image aligns exactly where the text would sit */
.site-logo .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.site-logo .custom-logo-link img { height: 46px; width: auto; max-width: 230px; object-fit: contain; }

.nav-menu { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-menu { display: flex; } }
.nav-menu a { font-family: 'Rajdhani', sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; transition: color .3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--coral); }

.mobile-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 5px; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
.mobile-menu { display: none; background: var(--gray); padding: .75rem 1.5rem 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .5rem 0; font-family: 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; transition: color .3s; }
.mobile-menu a:hover { color: var(--coral); }
.admin-bar #navbar { top: 32px; }
@media screen and (max-width:782px) { .admin-bar #navbar { top: 46px; } }

/* ==========================================
   HERO
   ========================================== */
#hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Hide iOS Safari native play button overlay */
.hero-video::-webkit-media-controls { display: none !important; }
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; }
.hero-video::-webkit-media-controls-panel { display: none !important; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.52); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 0 1rem; max-width: 1000px; }
.hero-title { font-size: clamp(2.2rem,7vw,5rem); font-weight: 300; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title .accent { color: var(--coral); font-weight: 500; }
.hero-subtitle { font-size: clamp(1rem,2.5vw,1.35rem); font-weight: 300; color: var(--light); margin-bottom: 2.5rem; }
.btn-outline { display: inline-block; padding: 1rem 2.5rem; border: 2px solid var(--coral); color: var(--coral); font-family: 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; transition: all .3s; }
.btn-outline:hover { background: var(--coral); color: #fff; }
.scroll-indicator { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-mouse { width: 24px; height: 40px; border: 2px solid #fff; border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-dot { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrollBounce 1.5s infinite; }
@keyframes scrollBounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(8px)} }

/* ==========================================
   ABOUT
   ========================================== */
.about-text { max-width: 900px; margin: 0 auto; }
.about-text-inner { border-left: 4px solid var(--coral); padding-left: 2rem; }
.about-text-inner p { font-size: 1rem; line-height: 1.85; color: var(--light); margin-bottom: 1.5rem; }
.about-text-inner p:last-child { margin-bottom: 0; }
.about-signature { text-align: right; color: var(--light); font-style: italic; margin-top: 1.5rem; }

/* ==========================================
   SERVICES
   ========================================== */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width:640px)  { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }
.service-card { text-align: center; transition: transform .3s; cursor: default; }
.service-card:hover, .service-card.is-active { transform: translateY(-10px); }
/* Icon circle: coral border + coral icon when hovered or active */
.service-icon { width: 96px; height: 96px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; transition: border-color .25s; }
.service-icon svg { width: 48px; height: 48px; transition: color .25s; }
.service-card:hover .service-icon,
.service-card.is-active .service-icon { border-color: var(--coral); }
.service-card:hover .service-icon svg,
.service-card.is-active .service-icon svg { color: var(--coral); }
/* Title: coral when hovered or active */
.service-title { font-size: 1.25rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; transition: color .25s; }
.service-card:hover .service-title,
.service-card.is-active .service-title { color: var(--coral); }
.service-list li { color: var(--light); margin-bottom: .5rem; font-size: .95rem; }

/* ==========================================
   PROCESS FLOW  — Interactive hover tabs
   ========================================== */

/* Row of step buttons */
.process-tabs {
    display: flex;
    width: 100%;
    border-bottom: none;
    margin-bottom: 0;
    gap: 0;
}

/* Each step is a flex column: icon → label → underline */
.process-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: .5rem .25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;          /* muted default */
    transition: color .25s;
    position: relative;
}
.process-tab:hover,
.process-tab.is-active {
    color: #5b8dee;       /* blue, matching screenshots */
}

/* Icon */
.process-tab__icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    transition: color .25s;
}
@media (min-width:768px) { .process-tab__icon { width: 52px; height: 52px; } }

/* Label */
.process-tab__label {
    font-family: 'Rajdhani', sans-serif;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color .25s;
}
@media (min-width:768px) { .process-tab__label { font-size: .82rem; } }

/* Underline bar — grey by default, blue when active/hover */
.process-tab__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    margin-top: .5rem;
    transition: background .25s;
}
.process-tab:hover  .process-tab__line,
.process-tab.is-active .process-tab__line { background: #5b8dee; }

/* Description area — all panels stacked via position:absolute
   so ONLY opacity changes. No display toggling = zero glitch. */
.process-desc-wrap {
    position: relative;
    height: 6rem;
    margin-top: 1.5rem;
}
.process-desc-text {
    /* Same font as "Your VFX Outsource Partner" — Open Sans light */
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(.95rem, 2vw, 1.05rem);
    font-weight: 300;
    color: #fff;
    text-align: center;
    line-height: 1.75;
    letter-spacing: .01em;

    /* Stack all panels in the same position */
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;

    /* Default: invisible but still in DOM */
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.process-desc-text.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================
   SERVICE SAMPLES  (edge-to-edge gallery)
   ========================================== */
.samples-section { background: var(--dark); }

/* Filter bar — inside .container, centered */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
    padding: .45rem 1.1rem;
    font-family: 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem;
    cursor: pointer; border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--light);
    transition: all .22s;
}
.filter-btn:hover  { border-color: #fff; color: #fff; }
.filter-btn.active { background: var(--coral); border-color: var(--coral); color: #fff; }

/* Grid — full viewport width, 2px gaps, 4 columns */
.samples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    background: #000;           /* gap colour = black border */
    border-top: var(--gap) solid #000;
    border-bottom: var(--gap) solid #000;
    width: 100%;
}
@media (min-width:640px)  { .samples-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width:1024px) { .samples-grid { grid-template-columns: repeat(4,1fr); } }

/* Individual cell */
.sample-item {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
    background: #111;
}
.sample-item img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.sample-item.has-video { cursor: pointer; }
.sample-item.has-video:hover img { transform: scale(1.05); }

/* Hover overlay */
.sample-overlay {
    position: absolute; inset: 0;
    background: rgba(10,10,10,.72);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .35rem; padding: 1rem;
    opacity: 0; transition: opacity .28s;
}
.sample-item:hover .sample-overlay { opacity: 1; }

.sample-play {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--coral);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: .35rem;
    transition: transform .2s;
}
.sample-item:hover .sample-play { transform: scale(1.1); }
.sample-play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.sample-overlay h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.sample-overlay p  { color: var(--light); font-size: .75rem; text-align: center; }

/* ==========================================
   VIDEO MODAL
   ========================================== */
.video-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; transition: opacity .25s; }
.video-modal.is-open { opacity: 1; pointer-events: auto; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); cursor: pointer; }
.video-modal__box { position: relative; z-index: 1; width: 90vw; max-width: 960px; background: #000; border-radius: 2px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.7); transform: scale(.92); transition: transform .25s; }
.video-modal.is-open .video-modal__box { transform: scale(1); }
.video-modal__close { position: absolute; top: .75rem; right: .75rem; z-index: 10; width: 36px; height: 36px; background: var(--coral); color: #fff; border: none; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.video-modal__close:hover { background: #c44; }
.video-modal__player { display: block; width: 100%; max-height: 78vh; background: #000; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
@media (min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
.contact-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gray); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 24px; height: 24px; color: var(--coral); }
.contact-info-label { font-family: 'Rajdhani', sans-serif; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .4rem; }
.contact-info-value { color: var(--light); }
.contact-info-value a { color: var(--light); transition: color .3s; }
.contact-info-value a:hover { color: var(--coral); }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: var(--gray); display: flex; align-items: center; justify-content: center; transition: background .3s; }
.social-link:hover { background: var(--coral); }
.social-link svg { width: 18px; height: 18px; }
.contact-form input, .contact-form textarea { width: 100%; padding: .85rem 1rem; background: var(--gray); border: 1px solid transparent; color: #fff; font-family: 'Open Sans', sans-serif; font-size: .95rem; outline: none; transition: border-color .3s; margin-bottom: 1.25rem; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--coral); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--light); }
.contact-form textarea { resize: none; height: 160px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width:480px) { .form-row { grid-template-columns: 1fr; } }
.btn-submit { width: 100%; padding: 1rem; background: transparent; border: 2px solid var(--coral); color: var(--coral); font-family: 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; font-size: 1rem; cursor: pointer; transition: all .3s; }
.btn-submit:hover { background: var(--coral); color: #fff; }
.form-message { text-align: center; margin-top: 1rem; padding: .75rem; display: none; }
.form-message.success { color: var(--coral); }
.form-message.error   { color: #ff6b6b; }
/* Math captcha */
.captcha-wrap { margin-bottom: 1.25rem; }
.captcha-label { display: block; color: var(--light); font-size: .9rem; margin-bottom: .5rem; letter-spacing: .04em; }
.captcha-wrap input[type="number"] { width: 100%; padding: .85rem 1rem; background: var(--gray); border: 1px solid transparent; color: #fff; font-family: 'Open Sans', sans-serif; font-size: .95rem; outline: none; transition: border-color .3s; }
.captcha-wrap input[type="number"]:focus { border-color: var(--coral); }
.captcha-wrap input[type="number"]::placeholder { color: var(--light); }
/* Hide number spinners */
.captcha-wrap input[type="number"]::-webkit-inner-spin-button,
.captcha-wrap input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-wrap input[type="number"] { -moz-appearance: textfield; }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
    background: var(--gray);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 3rem 0 2rem;
}
.footer-inner {
    display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
    max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
    text-align: center;
}
.footer-social { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
/* Logo above copyright — centred */
.footer-logo-wrap { display: flex; justify-content: center; }
.footer-logo-text {
    font-family: 'Rajdhani', sans-serif; font-size: 1.8rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase; color: #fff; display: inline-block;
}
.footer-logo-text .accent { color: var(--coral); }
.footer-logo-wrap .custom-logo-link { display: inline-flex; align-items: center; }
.footer-logo-wrap .custom-logo-link img { max-height: 52px; width: auto; }
.footer-copyright { color: var(--light); font-size: .82rem; }

/* ==========================================
   BACK TO TOP
   ========================================== */
#back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--coral); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; pointer-events: none; transition: all .3s; z-index: 998; }
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: #fff; color: var(--coral); }
#back-to-top svg { width: 24px; height: 24px; }

/* ==========================================
   404 PAGE
   ========================================== */
.error-404-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--dark); padding: 2rem;
}
.error-404-content { text-align: center; max-width: 500px; }
.error-404-code {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(6rem,18vw,12rem);
    font-weight: 700; color: var(--coral);
    line-height: 1; letter-spacing: -.02em;
}
.error-404-line { width: 60px; height: 3px; background: var(--coral); margin: 1rem auto; }
.error-404-title { font-size: 2rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.error-404-text { color: var(--light); margin-bottom: 2rem; line-height: 1.7; }

/* ==========================================
   BLOG PAGES
   ========================================== */
.blog-page { min-height: 100vh; }

.blog-hero {
    background: var(--gray);
    padding: 8rem 0 3rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.blog-hero-title {
    font-size: clamp(2rem,5vw,3.5rem);
    font-weight: 300; letter-spacing: .1em; text-transform: uppercase;
    color: #fff;
}
.blog-post-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--light); font-size: .85rem; }
.blog-back { color: var(--coral); transition: opacity .2s; }
.blog-back:hover { opacity: .7; }

.blog-container { padding-top: 4rem; padding-bottom: 6rem; }

/* Blog card grid */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width:640px)  { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .blog-grid { grid-template-columns: repeat(3,1fr); } }

.blog-card { background: var(--gray); overflow: hidden; transition: transform .3s; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card__thumb { display: block; overflow: hidden; aspect-ratio: 16/9; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; }
.blog-card__meta { display: flex; align-items: center; gap: .75rem; font-size: .78rem; color: var(--light); margin-bottom: .75rem; }
.blog-card__cat { background: var(--coral); color: #fff; padding: .15rem .6rem; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.blog-card__title { font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .75rem; line-height: 1.3; }
.blog-card__title a { color: #fff; transition: color .2s; }
.blog-card__title a:hover { color: var(--coral); }
.blog-card__excerpt { color: var(--light); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.blog-card__link { color: var(--coral); font-family: 'Rajdhani', sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; transition: opacity .2s; }
.blog-card__link:hover { opacity: .7; }

.blog-empty { text-align: center; padding: 4rem; color: var(--light); font-size: 1.1rem; grid-column: 1/-1; }

/* Pagination */
.blog-pagination { margin-top: 4rem; display: flex; justify-content: center; }
.blog-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.blog-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--gray); color: var(--light); font-family: 'Rajdhani', sans-serif; transition: all .2s; }
.blog-pagination .page-numbers:hover, .blog-pagination .page-numbers.current { background: var(--coral); color: #fff; }
.blog-pagination .page-numbers.prev, .blog-pagination .page-numbers.next { width: auto; padding: 0 1rem; }

/* Single post */
.blog-post { max-width: 820px; margin: 0 auto; }
.blog-post__thumb { margin-bottom: 2.5rem; border-radius: 2px; overflow: hidden; }
.blog-post__thumb img { width: 100%; height: auto; }
.blog-post__content { color: var(--light); line-height: 1.85; font-size: 1rem; }
.blog-post__content h2,.blog-post__content h3,.blog-post__content h4 { color: #fff; font-family: 'Rajdhani', sans-serif; letter-spacing: .08em; text-transform: uppercase; margin: 2rem 0 .75rem; }
.blog-post__content p { margin-bottom: 1.25rem; }
.blog-post__content img { margin: 1.5rem auto; border-radius: 2px; }
.blog-post__content a { color: var(--coral); }
.blog-post__content blockquote { border-left: 4px solid var(--coral); padding-left: 1.25rem; margin: 1.5rem 0; color: #fff; font-style: italic; }

.blog-post__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
.blog-tag { background: var(--gray); color: var(--light); padding: .3rem .8rem; font-size: .8rem; letter-spacing: .06em; transition: all .2s; }
.blog-tag:hover { background: var(--coral); color: #fff; }

.blog-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.blog-post-nav__link { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; background: var(--gray); transition: background .2s; }
.blog-post-nav__link:hover { background: #252525; }
.blog-post-nav__link--right { text-align: right; }
.blog-post-nav__dir { font-size: .78rem; color: var(--coral); letter-spacing: .08em; text-transform: uppercase; }
.blog-post-nav__title { font-family: 'Rajdhani', sans-serif; font-size: 1rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; }

/* ==========================================
   SHARED UTILITIES — used across inner pages
   ========================================== */
.lh-back-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--light); font-family: 'Rajdhani', sans-serif;
    font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
    transition: color .25s;
}
.lh-back-btn:hover { color: var(--coral); }

/* ==========================================
   PAGE.PHP — Generic page template
   ========================================== */
.lp-page { min-height: 100vh; overflow-x: hidden; }

/* ── Hero ── */
.lp-hero {
    position: relative;
    min-height: 72vh;
    display: flex; align-items: center;
    background: var(--dark);
    overflow: hidden;
}

/* Animated vertical lines */
.lp-hero__lines {
    position: absolute; inset: 0;
    display: flex; justify-content: space-around;
    pointer-events: none; z-index: 0;
}
.lp-hero__line-item {
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(232,93,93,.12) 40%, rgba(232,93,93,.06) 70%, transparent 100%);
    animation: lp-line-pulse 4s ease-in-out infinite;
}
.lp-hero__line-item:nth-child(2) { animation-delay: .6s; }
.lp-hero__line-item:nth-child(3) { animation-delay: 1.2s; }
.lp-hero__line-item:nth-child(4) { animation-delay: 1.8s; }
.lp-hero__line-item:nth-child(5) { animation-delay: 2.4s; }
.lp-hero__line-item:nth-child(6) { animation-delay: 3s; }
@keyframes lp-line-pulse {
    0%,100% { opacity: .3; }
    50%      { opacity: 1; }
}

/* Radial glow */
.lp-hero__glow {
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,93,93,.12) 0%, transparent 70%);
    top: -200px; right: -200px;
    pointer-events: none; z-index: 0;
    animation: lp-glow-drift 8s ease-in-out infinite;
}
@keyframes lp-glow-drift {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(-40px, 40px) scale(1.1); }
}

/* Noise texture overlay */
.lp-hero__noise {
    position: absolute; inset: 0; z-index: 0; opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.lp-hero__inner {
    position: relative; z-index: 2;
    padding-top: 9rem; padding-bottom: 5rem;
}

/* Breadcrumb */
.lp-breadcrumb {
    display: flex; align-items: center; gap: .5rem;
    font-family: 'Rajdhani', sans-serif; font-size: .78rem;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--light); margin-bottom: 2.5rem;
}
.lp-breadcrumb a { color: var(--light); transition: color .2s; }
.lp-breadcrumb a:hover { color: var(--coral); }
.lp-breadcrumb svg { color: rgba(255,255,255,.3); }

/* Title */
.lp-hero__title-wrap { margin-bottom: 2rem; }
.lp-hero__title {
    display: flex; flex-direction: column;
    font-weight: 300; text-transform: uppercase; line-height: 1.0;
    letter-spacing: .06em; margin: 0;
}
.lp-hero__title-top {
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    color: #fff;
    animation: lp-slide-in .8s cubic-bezier(.16,1,.3,1) both;
}
.lp-hero__title-bot {
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    color: var(--coral);
    animation: lp-slide-in .8s .15s cubic-bezier(.16,1,.3,1) both;
}
@keyframes lp-slide-in {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Animated accent bar under title */
.lp-hero__accent-bar {
    height: 3px; width: 0; margin-top: 1.5rem;
    background: linear-gradient(to right, var(--coral), #ff9a9a, var(--coral));
    animation: lp-bar-grow 1s .4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes lp-bar-grow { to { width: 200px; } }

/* Meta strip */
.lp-hero__meta {
    display: flex; align-items: center; gap: .75rem;
    font-family: 'Rajdhani', sans-serif; font-size: .78rem;
    letter-spacing: .16em; text-transform: uppercase; color: var(--light);
    animation: lp-slide-in .8s .3s cubic-bezier(.16,1,.3,1) both;
}
.lp-hero__meta-dot {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--coral); flex-shrink: 0;
}

/* Scroll hint */
.lp-hero__scroll-hint {
    position: absolute; bottom: 2rem; left: 50%;
    transform: translateX(-50%); z-index: 2;
    opacity: .5; animation: lp-fade-in 1s 1s ease both;
}
@keyframes lp-fade-in { from{opacity:0} to{opacity:.5} }

/* ── Main Content Shell ── */
.lp-main { background: var(--dark); }

.lp-content-shell {
    max-width: 1280px; margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .lp-content-shell { grid-template-columns: 1fr; padding: 3rem 1.25rem 4rem; }
}

/* Left rail */
.lp-rail {
    position: sticky; top: 120px;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    padding-top: .5rem;
}
@media (max-width: 768px) { .lp-rail { display: none; } }
.lp-rail__line {
    width: 1px; height: 120px;
    background: linear-gradient(to bottom, var(--coral), transparent);
}
.lp-rail__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 12px var(--coral);
    animation: lp-dot-pulse 2s ease-in-out infinite;
}
@keyframes lp-dot-pulse {
    0%,100% { box-shadow: 0 0 8px var(--coral); transform: scale(1); }
    50%      { box-shadow: 0 0 20px var(--coral); transform: scale(1.3); }
}

/* ── Article — the WordPress content ── */
.lp-article { min-width: 0; }

/* H1 inside content (WP adds one) */
.lp-article h1 {
    display: none; /* we show it in the hero */
}

/* H2 — big section headings */
.lp-article h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 300; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; margin: 4rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}
.lp-article h2::after {
    content: ''; position: absolute;
    bottom: -1px; left: 0;
    width: 60px; height: 2px;
    background: var(--coral);
    transition: width .4s;
}
.lp-article h2:hover::after { width: 120px; }

/* H3 — sub-headings / service names */
.lp-article h3 {
    font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--coral); margin: 2.5rem 0 .85rem;
    display: flex; align-items: center; gap: .75rem;
}
.lp-article h3::before {
    content: ''; display: block; flex-shrink: 0;
    width: 24px; height: 1px; background: var(--coral);
}

/* Paragraphs */
.lp-article p {
    color: #c8c8c8; line-height: 1.9; font-size: 1rem;
    margin-bottom: 1.4rem; max-width: 72ch;
}

/* Strong */
.lp-article strong { color: #fff; font-weight: 600; }

/* Emphasis */
.lp-article em { color: var(--light); font-style: italic; }

/* HR — transforms into a dramatic section break */
.lp-article hr {
    border: none; margin: 4rem 0;
    position: relative; height: 1px;
    background: transparent;
}
.lp-article hr::before {
    content: ''; position: absolute;
    left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(to right, var(--coral) 0%, rgba(232,93,93,.3) 30%, transparent 100%);
}
.lp-article hr::after {
    content: '◈'; position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--coral); font-size: .7rem;
    background: var(--dark); padding-right: .5rem;
}

/* Unordered lists */
.lp-article ul {
    margin: 0 0 1.5rem 0; padding: 0;
    display: grid; grid-template-columns: 1fr;
    gap: .4rem;
}
@media (min-width: 640px) {
    .lp-article ul { grid-template-columns: 1fr 1fr; }
}
.lp-article ul li {
    display: flex; align-items: baseline; gap: .65rem;
    color: #c8c8c8; font-size: .95rem; line-height: 1.6;
    padding: .6rem .85rem;
    background: rgba(255,255,255,.025);
    border-left: 2px solid transparent;
    transition: border-color .2s, background .2s;
}
.lp-article ul li::before {
    content: ''; flex-shrink: 0;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--coral); margin-top: .3rem;
}
.lp-article ul li:hover {
    border-left-color: var(--coral);
    background: rgba(232,93,93,.05);
}

/* Blockquote (Philosophy section) */
.lp-article blockquote {
    margin: 2.5rem 0; padding: 2rem 2rem 2rem 2.5rem;
    border-left: 3px solid var(--coral);
    background: linear-gradient(135deg, rgba(232,93,93,.05) 0%, rgba(10,10,10,0) 100%);
    position: relative;
}
.lp-article blockquote::before {
    content: '"'; position: absolute;
    top: -.5rem; left: 1rem;
    font-size: 5rem; line-height: 1;
    color: rgba(232,93,93,.15);
    font-family: 'Rajdhani', sans-serif;
    pointer-events: none;
}
.lp-article blockquote p {
    color: #e8e8e8; font-size: 1.1rem;
    font-style: italic; line-height: 1.8;
    margin: 0;
}

/* First paragraph — make it big/featured */
.lp-article > p:first-of-type {
    font-size: 1.15rem; color: #ddd; line-height: 1.95;
    border-left: 3px solid var(--coral);
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

/* Leadership / person name styling — bold in paragraph */
.lp-article p > strong:first-child {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; margin-bottom: .3rem;
}

/* "Last" italic paragraph → pull-quote treatment */
.lp-article > p:last-of-type:not(:first-of-type) {
    font-size: 1.05rem; color: #d0d0d0;
    font-style: italic; text-align: center;
    padding: 2rem;
    background: rgba(232,93,93,.04);
    border-top: 1px solid rgba(232,93,93,.15);
    border-bottom: 1px solid rgba(232,93,93,.15);
    max-width: 100%;
}

/* ── Bottom CTA Bar ── */
.lp-bottom-bar {
    position: relative;
    background: var(--gray);
    border-top: 1px solid rgba(255,255,255,.06);
    overflow: hidden;
}
.lp-bottom-bar__glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 150%, rgba(232,93,93,.08) 0%, transparent 60%);
    pointer-events: none;
}
.lp-bottom-bar__inner {
    position: relative; z-index: 1;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap;
    gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem;
}
.lp-bottom-bar__label {
    font-family: 'Rajdhani', sans-serif; font-size: 1.2rem;
    letter-spacing: .1em; text-transform: uppercase; color: #fff;
    margin-bottom: .25rem;
}
.lp-bottom-bar__sub { color: var(--light); font-size: .9rem; margin: 0; }
.lp-bottom-bar__actions {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}


/* ==========================================
   HISTORY PAGE — page-history.php
   ========================================== */

/* Hero */
.lh-hero {
    position: relative; height: 70vh; min-height: 480px;
    display: flex; align-items: flex-end; justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0a 100%);
}
.lh-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
    z-index: 1;
}
.lh-hero__content { position: relative; z-index: 2; padding-bottom: 4rem; }
.lh-hero__eyebrow {
    font-family: 'Rajdhani', sans-serif; font-size: .82rem;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--coral); margin-bottom: .75rem;
}
.lh-hero__title {
    font-size: clamp(3rem, 9vw, 7rem); font-weight: 300;
    letter-spacing: .1em; text-transform: uppercase;
    line-height: 1; margin-bottom: 1rem;
}
.lh-hero__sub {
    color: var(--light); font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 620px; line-height: 1.7;
}
.lh-hero__scroll { position: absolute; bottom: 2rem; right: 2rem; z-index: 2; }
.lh-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 300;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem;
}
.lh-intro__inner {
    display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start;
}
@media (min-width: 1024px) { .lh-intro__inner { grid-template-columns: 1fr 320px; } }
.lh-intro__text p { color: var(--light); line-height: 1.85; margin-bottom: 1.25rem; font-size: 1rem; }
.lh-intro__text strong { color: #fff; }
.lh-intro__stat-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .lh-intro__stat-col { grid-template-columns: 1fr; } }
.lh-stat { background: var(--gray); padding: 1.5rem; border-left: 3px solid var(--coral); display: flex; flex-direction: column; gap: .25rem; }
.lh-stat__num { font-family: 'Rajdhani', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--coral); line-height: 1; }
.lh-stat__label { font-size: .82rem; color: var(--light); letter-spacing: .06em; }
.lh-timeline { list-style: none; position: relative; padding: 0; }
.lh-timeline::before { content: ''; position: absolute; left: 110px; top: 0; bottom: 0; width: 1px; background: rgba(232,93,93,.25); }
@media (max-width: 640px) { .lh-timeline::before { left: 0; } }
.lh-timeline__item { display: grid; grid-template-columns: 120px 1fr; gap: 0 2rem; margin-bottom: 3rem; position: relative; }
@media (max-width: 640px) { .lh-timeline__item { grid-template-columns: 1fr; padding-left: 1.5rem; } }
.lh-timeline__marker { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; padding-top: .25rem; }
@media (max-width: 640px) { .lh-timeline__marker { flex-direction: row; align-items: center; margin-bottom: .75rem; } }
.lh-timeline__year { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; color: var(--coral); letter-spacing: .08em; }
.lh-timeline__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gray); border: 2px solid var(--coral); flex-shrink: 0; margin-right: -6px; position: relative; z-index: 1; }
@media (max-width: 640px) { .lh-timeline__dot { margin-right: 0; margin-left: -1.5rem; } }
.lh-timeline__dot--active { background: var(--coral); }
.lh-timeline__card { background: var(--gray); padding: 1.75rem; transition: transform .3s; }
.lh-timeline__card:hover { transform: translateX(6px); }
.lh-timeline__card--active { border-left: 3px solid var(--coral); }
.lh-timeline__heading { font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: .75rem; }
.lh-timeline__card p { color: var(--light); line-height: 1.8; font-size: .95rem; }
.lh-timeline__card strong { color: #fff; }
.lh-values__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .lh-values__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .lh-values__grid { grid-template-columns: repeat(4,1fr); } }
.lh-value-card { background: var(--gray); padding: 2rem 1.5rem; text-align: center; transition: transform .3s; }
.lh-value-card:hover { transform: translateY(-8px); }
.lh-value-card__icon { width: 64px; height: 64px; margin: 0 auto 1.25rem; border-radius: 50%; border: 2px solid rgba(232,93,93,.4); display: flex; align-items: center; justify-content: center; color: var(--coral); transition: border-color .25s; }
.lh-value-card:hover .lh-value-card__icon { border-color: var(--coral); }
.lh-value-card__icon svg { width: 28px; height: 28px; }
.lh-value-card__title { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .75rem; }
.lh-value-card__text { color: var(--light); font-size: .9rem; line-height: 1.75; }
.lh-value-card__text strong { color: #fff; }
.lh-culture__inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .lh-culture__inner { grid-template-columns: 1fr 1fr; } }
.lh-culture__text p { color: var(--light); line-height: 1.85; margin-bottom: 1.25rem; font-size: 1rem; }
.lh-culture__text strong { color: #fff; }
.lh-fact { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.lh-fact:last-child { border-bottom: none; margin-bottom: 0; }
.lh-fact__icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1.4; }
.lh-fact p { color: var(--light); font-size: .92rem; line-height: 1.7; margin: 0; }
.lh-cta { position: relative; padding: 7rem 0; background: linear-gradient(135deg,#110505 0%,#0a0a0a 100%); overflow: hidden; text-align: center; }
.lh-cta::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at center,rgba(232,93,93,.08) 0%,transparent 70%); }
.lh-cta__overlay { position: absolute; inset: 0; border-top: 1px solid rgba(232,93,93,.15); border-bottom: 1px solid rgba(232,93,93,.15); }
.lh-cta__inner { position: relative; z-index: 1; }
.lh-cta__eyebrow { font-family: 'Rajdhani', sans-serif; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); margin-bottom: 1rem; }
.lh-cta__heading { font-size: clamp(1.8rem,5vw,3.5rem); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.5rem; line-height: 1.2; }
.lh-cta__sub { color: var(--light); max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.8; font-size: 1rem; }
.lh-cta__sub strong { color: #fff; }
.lh-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.lh-cta__btn { min-width: 200px; text-align: center; }


/* ==========================================
   BLOG POST SINGLE — single.php
   ========================================== */
.bp-page { min-height: 100vh; }
.bp-hero { position: relative; padding: 9rem 0 4rem; background: var(--gray); overflow: hidden; }
.bp-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,.5) 0%, rgba(10,10,10,.92) 100%); z-index: 1; }
.bp-hero__thumb { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(2px); transform: scale(1.04); z-index: 0; }
.bp-hero__content { position: relative; z-index: 2; max-width: 860px; }
.bp-breadcrumb { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--light); margin-bottom: 1.25rem; font-family: 'Rajdhani', sans-serif; }
.bp-breadcrumb a { color: var(--light); transition: color .2s; }
.bp-breadcrumb a:hover { color: var(--coral); }
.bp-hero__title { font-size: clamp(1.8rem,5vw,3.2rem); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; margin-bottom: 1.5rem; color: #fff; }
.bp-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: var(--light); font-size: .85rem; }
.bp-meta-item { display: flex; align-items: center; gap: .35rem; }
.bp-meta-sep { color: rgba(255,255,255,.25); }
.bp-cat-badge { background: var(--coral); color: #fff; padding: .15rem .65rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-family: 'Rajdhani', sans-serif; transition: opacity .2s; }
.bp-cat-badge:hover { opacity: .8; }
.bp-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 6rem; align-items: start; }
@media (min-width: 1024px) { .bp-layout { grid-template-columns: 1fr 320px; } }
.bp-article { max-width: 100%; }
.bp-featured-img { margin-bottom: 2.5rem; overflow: hidden; display: none; }
.bp-content { color: var(--light); line-height: 1.9; font-size: 1rem; margin-bottom: 2.5rem; }
.bp-content h2,.bp-content h3,.bp-content h4 { color: #fff; font-family: 'Rajdhani', sans-serif; letter-spacing: .1em; text-transform: uppercase; margin: 2.5rem 0 .85rem; line-height: 1.3; }
.bp-content h2 { font-size: 1.7rem; }
.bp-content h3 { font-size: 1.3rem; }
.bp-content p { margin-bottom: 1.3rem; }
.bp-content strong { color: #fff; }
.bp-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.bp-content img { margin: 1.5rem auto; border-radius: 2px; }
.bp-content ul,.bp-content ol { padding-left: 1.5rem; margin-bottom: 1.3rem; }
.bp-content ul { list-style: disc; }
.bp-content ol { list-style: decimal; }
.bp-content li { margin-bottom: .5rem; }
.bp-content blockquote { border-left: 4px solid var(--coral); padding: 1rem 1.5rem; margin: 2rem 0; color: #fff; font-style: italic; background: rgba(232,93,93,.05); font-size: 1.05rem; }
.bp-content code { background: var(--gray); padding: .15rem .4rem; font-size: .9rem; border-radius: 2px; color: var(--coral); }
.bp-content pre { background: var(--gray); padding: 1.25rem; overflow-x: auto; margin-bottom: 1.3rem; border-radius: 2px; }
.bp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 1.5rem; }
.bp-tags__label { font-family: 'Rajdhani', sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--light); }
.bp-share { display: flex; align-items: center; gap: .75rem; margin: 1.5rem 0; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.bp-share__label { font-family: 'Rajdhani', sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--light); }
.bp-share__link { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gray); color: var(--light); transition: all .2s; }
.bp-share__link svg { width: 16px; height: 16px; }
.bp-share__link--li:hover { background: #0A66C2; color: #fff; }
.bp-share__link--tw:hover { background: #000; color: #fff; }
.bp-share__link--fb:hover { background: #1877F2; color: #fff; }
.bp-author { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--gray); padding: 1.5rem; margin: 2rem 0; border-left: 3px solid var(--coral); }
.bp-author__img { border-radius: 50%; width: 72px; height: 72px; flex-shrink: 0; }
.bp-author__role { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-bottom: .25rem; }
.bp-author__name { display: block; font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: .5rem; }
.bp-author__bio { color: var(--light); font-size: .88rem; line-height: 1.7; margin: 0; }
.bp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.bp-post-nav__link { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; background: var(--gray); transition: background .2s; }
.bp-post-nav__link:hover { background: #222; }
.bp-post-nav__link--right { text-align: right; }
.bp-post-nav__dir { font-size: .78rem; color: var(--coral); letter-spacing: .08em; text-transform: uppercase; }
.bp-post-nav__title { font-family: 'Rajdhani', sans-serif; font-size: .95rem; color: #fff; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.bp-back-home { margin-top: 2rem; }
.bp-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.bp-sidebar__card { background: var(--gray); padding: 1.5rem; }
.bp-sidebar__heading { font-family: 'Rajdhani', sans-serif; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.bp-sidebar__cta { border-left: 3px solid var(--coral); }
.bp-sidebar__cta p { color: var(--light); font-size: .9rem; line-height: 1.7; }
.bp-sidebar__cta strong { color: #fff; }
.bp-sidebar__list { margin: 0; }
.bp-sidebar__list li { color: var(--light); font-size: .9rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.05); display: flex; align-items: center; gap: .5rem; }
.bp-sidebar__list li::before { content:''; display:inline-block; width:6px; height:6px; background:var(--coral); border-radius:50%; flex-shrink:0; }
.bp-sidebar__list li:last-child { border-bottom: none; }
.bp-related { display: flex; align-items: center; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: opacity .2s; }
.bp-related:last-child { border-bottom: none; }
.bp-related:hover { opacity: .8; }
.bp-related__thumb { width: 60px; height: 44px; overflow: hidden; flex-shrink: 0; }
.bp-related__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-related__title { font-family: 'Rajdhani', sans-serif; font-size: .88rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; line-height: 1.3; }


/* ==========================================
   MATH CAPTCHA
   ========================================== */
.captcha-wrap { margin-bottom: 1.25rem; }
.captcha-label { display: block; color: var(--light); font-size: .9rem; margin-bottom: .5rem; letter-spacing: .04em; }
.captcha-wrap input[type="number"] { width: 100%; padding: .85rem 1rem; background: var(--gray); border: 1px solid transparent; color: #fff; font-family: 'Open Sans', sans-serif; font-size: .95rem; outline: none; transition: border-color .3s; }
.captcha-wrap input[type="number"]:focus { border-color: var(--coral); }
.captcha-wrap input[type="number"]::placeholder { color: var(--light); }
.captcha-wrap input[type="number"]::-webkit-inner-spin-button,
.captcha-wrap input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-wrap input[type="number"] { -moz-appearance: textfield; }
