html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* ============================
   1. VARIABLES
   ============================ */
:root{
    --color-bg: #ffffff;
    --color-text: #111111;
    --color-muted: #767676;
    --color-border: #e6e6e6;
    --color-badge-bg: rgba(255,255,255,0.18);
    --color-badge-border: rgba(255,255,255,0.35);
    --max-width: 1180px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --radius: 14px;
    --gh-font-heading: var(--gh-font-heading, var(--font-sans));
    --gh-font-body: var(--gh-font-body, var(--font-sans));
}

/* ============================
   2. RESET
   ============================ */
*, *::before, *::after{ box-sizing: border-box; }
html, body{ margin:0; padding:0; overflow-x: hidden; }
body{ margin-right: 0 !important; }
h1, h2, h3, h4, h5, h6{
    font-family: var(--gh-font-heading);
}
body{
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--gh-font-body);
    -webkit-font-smoothing: antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; background:none; border:none; cursor:pointer; color:inherit; }

.outer{ width:100%; }
.inner{ max-width: var(--max-width); margin:0 auto; padding: 0 32px; }

/* ============================
   3. HEADER
   ============================ */
.site-header .inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 24px;
    padding: 16px 32px;
}
.site-header-left{
    display:flex;
    align-items:center;
    gap: 36px;
}
.site-logo{
    display:flex;
    align-items:center;
    gap: 8px;
    font-weight: 700;
    font-size: 25px;
    white-space: nowrap;
}
.site-nav{
    display:flex;
    align-items:center;
}
.site-nav > ul{
    display:flex;
    align-items:center;
    gap: 22px;
    margin:0;
    padding:0;
    list-style:none;
}
.site-nav > ul > li{ display:block; }
.site-nav > ul > li > a{
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-muted);
}
.site-nav > ul > li > a:hover{ color: var(--color-text); }

.nav-dropdown{ position: relative; }
.nav-dropdown-toggle{
    display:flex;
    align-items:center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--color-muted);
}
.nav-dropdown-toggle:hover{ color: var(--color-text); }
.nav-dropdown-toggle svg{ transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown-toggle{ color: var(--color-text); }
.nav-dropdown.is-open .nav-dropdown-toggle svg{ transform: rotate(180deg); }

.nav-dropdown-panel{
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 8px;
    min-width: 180px;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 40;
}
.nav-dropdown.is-open .nav-dropdown-panel{ display: flex; }
.nav-dropdown-panel li{ width: 100%; }
.nav-dropdown-panel a{
    display:block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
}
.nav-dropdown-panel a:hover{ background: #f2efe9; }

.site-header-actions{
    display:flex;
    align-items:center;
    gap: 10px;
}
.search-btn{
    display:flex;
    align-items:center;
    gap:6px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--color-muted);
}
.subscribe-btn{
    background: var(--color-text);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
}
.gh-burger{ display:none; padding: 6px; }

/* ============================
   4. INTRO / PAGE HEADING
   ============================ */
.intro-block{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap: 24px;
    padding: 56px 0 40px;
}
.intro-title{
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 480px;
    margin: 0 0 12px;
}
.intro-subtitle{
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.55;
    max-width: 420px;
    margin: 0;
}
.intro-note{
    font-size: 13px;
    color: var(--color-muted);
    white-space: nowrap;
    margin: 0;
}

/* ============================
   5. PROJECT GRID + CARD
   ============================ */
.project-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 60px;
}
.project-grid-top{ padding-top: 48px; }
.project-card{ position: relative; }
.project-card-link{
    position: relative;
    display:block;
    border-radius: var(--radius);
    overflow:hidden;
    aspect-ratio: 4/2.85;
    background: #eee;
}
.project-card-image{
    width:100%;
    height:100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.project-card-link:hover .project-card-image{ transform: scale(1.035); }

.project-card-scrim{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%);
    pointer-events:none;
}

.project-card-badge{
    position:absolute;
    top: 14px; right: 14px;
    display:inline-flex;
    align-items:center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color:#fff;
    background: var(--color-badge-bg);
    border: 1px solid var(--color-badge-border);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 5px 11px;
    border-radius: 999px;
}
.project-card-badge i{
    width:5px; height:5px;
    border-radius:50%;
    background:#fff;
    display:inline-block;
}

.project-card-text{
    position:absolute;
    left: 16px; bottom: 14px; right: 16px;
    color:#fff;
}
.project-card-title{
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 3px;
    line-height:1.3;
}
.project-card-category{
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}
.project-card-category.standalone{
    display:inline-block;
    color: var(--color-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

/* ============================
   6. SECTION HEADING
   ============================ */
.section-heading{
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-muted);
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin: 10px 0 26px;
}
.section-heading--comments{
    margin-top: 0;
    padding-top: 60px;
}
/* ============================
   6b. PRESS / REVIEW MARQUEE
   ============================ */
.press-marquee-section{
    padding: 44px 0;
}
.press-marquee-heading{
    margin: 0 0 8px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
}
.press-marquee-subtitle{
    margin: 2px 0px 38px;
    font-size: 1.0rem;
    color: var(--color-muted);
    max-width: 530px;
}
.press-marquee-wrap{
    overflow: hidden;
}
.press-marquee-track{
    display: flex;
    align-items: stretch;
    gap: 20px;
    width: max-content;
    animation: press-scroll 32s linear infinite;
}
.press-marquee-wrap:hover .press-marquee-track{
    animation-play-state: paused;
}
@keyframes press-scroll{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
}

.press-card{
    flex: 0 0 calc((var(--max-width) - 64px - 40px) / 3);
    display: flex;
    flex-direction: column;
    background: #f0f0f0;
    border-radius: 16px;
    padding: 24px 22px;
}
.press-card-quote{
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--color-text);
}
.press-card-author{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.press-card-avatar{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.press-card-name{
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text);
}
.press-card-country{
    font-size: 13px;
    color: var(--color-muted);
}

@media (max-width: 640px){
    .press-marquee-section{ padding: 32px 0; }
    .press-card{ flex-basis: 240px; }
    .press-card-quote{ font-size: 13px; }
}

/* ============================
   7. SINGLE PROJECT / ARTICLE PAGE
   ============================ */
.article-header{
    max-width: 100%;
    margin: 56px auto 28px;
}
.article-title{
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 14px;
}
.article-excerpt{
    font-size: 16px;
    color: var(--color-muted);
    margin:0;
}
.article-byline{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}
.article-byline-author{
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.article-byline-photo{
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.article-byline-name{
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}
.article-byline-author:hover .article-byline-name{ color: var(--ghost-accent-color); }
.article-byline-date{
    font-size: 14px;
    color: var(--color-muted);
    margin-left: auto;
}
.article-image{
    max-width: 100%;
    margin: 0 auto 40px;
}
.article-image img{ border-radius: var(--radius); width:100%; }
.gh-content{
    max-width: 100%;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}
.gh-content p{ margin: 0 0 22px; }
.gh-content img{ border-radius: var(--radius); }

.gh-content iframe[src*="google.com/maps"]{
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin: 120px auto 28px;
}
@media (max-width: 640px){
    .gh-content iframe[src*="google.com/maps"]{
        aspect-ratio: 4 / 3;
    }
}

.kg-width-wide{
    width: calc(var(--max-width) * 1.15);
    max-width: calc(100vw - 48px);
    margin-left: 50%;
    transform: translateX(-50%);
}
.kg-width-full{
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    transform: none;
}
.kg-width-full img{
    display: block;
    margin: 0 auto;
    border-radius: 0;
}

.gh-content .kg-embed-card iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 8px;
}

/* ============================
   8. ARCHIVE (tag / author)
   ============================ */
.archive-header{ text-align:center; padding: 56px 0 32px; }
.archive-title{ font-size: 28px; font-weight: 500; margin: 8px 0; }
.author-post-count{
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    margin: -2px 0 6px;
}
.author-header.has-cover .author-post-count{ color: rgba(255,255,255,0.75); }
.archive-description{ color: var(--color-muted); font-size: 15px; margin: 8px 0 0; }
.author-photo{ width:68px; height:68px; border-radius:50%; margin:0 auto; object-fit:cover; }

.author-header{ position: relative; }
.author-header.has-cover{
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    padding: 80px 24px 44px;
    color: #fff;
}
.author-header.has-cover::before{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
    border-radius: var(--radius);
    z-index:0;
}
.author-header.has-cover > *{ position:relative; z-index:1; }
.author-header.has-cover .archive-description{ color: rgba(255,255,255,0.85); }
.author-header.has-cover .author-photo{ border: 3px solid #fff; }

.author-location{
    font-size: 13px;
    color: var(--color-muted);
    margin: 4px 0 0;
}
.author-header.has-cover .author-location{ color: rgba(255,255,255,0.75); }

.author-social{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.author-social-link{
    display:flex;
    align-items:center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-muted);
}
.author-social-link:hover{ color: var(--color-text); }
.author-social-link svg{ width:18px; height:18px; }
.author-header.has-cover .author-social-link{ color: rgba(255,255,255,0.85); }
.author-header.has-cover .author-social-link:hover{ color:#fff; }

.tag-list{
    display: flex;
    flex-direction: column;
    max-width: 720px;
    margin: 0 auto;
    padding: 8px 0 60px;
}
.tag-list-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 4px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
}
.tag-list-item:hover{ background: #f2efe9; }
.tag-list-name{ font-weight: 400; font-size: 22px; color: var(--color-text); }
.tag-list-count{ font-weight: 600; font-size: 22px; color: var(--color-text); }


.tag-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}
.tag-card{
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
}
.tag-card:hover .tag-card-image{ transform: scale(1.03); }
.tag-card-image{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.tag-card-image--empty{ background: #111; }
.tag-card-text{ padding: 16px; }
.tag-card-header{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.tag-card-title{
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
}
.tag-card-count{
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text);
    white-space: nowrap;
}
.tag-card-description{
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-muted);
}
@media (max-width: 800px){
    .tag-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
    .tag-grid{ grid-template-columns: 1fr; }
}

.author-orbit{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    row-gap: 44px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 32px 70px;
}
.author-orbit-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    width: 96px;
    margin-left: -28px;
    transition: transform .25s ease;
    position: relative;
}
.author-orbit-item:first-child{ margin-left: 0; }
.author-orbit-item:hover{ transform: scale(1.08) translateY(-6px); z-index: 5; }
.author-orbit-avatar{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
    color: var(--color-muted);
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px var(--color-border);
}
.author-orbit-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.author-orbit-fallback{ width: 32px; height: 32px; }
.author-orbit-name{
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}
.author-orbit-count{
    font-size: 12px;
    color: var(--color-muted);
    margin-top: 2px;
}

@media (max-width: 560px){
    .author-orbit-item{ width: 76px; margin-left: -20px; }
    .author-orbit-avatar{ width: 76px; height: 76px; }
    .author-orbit-name{ font-size: 13px; }
}

/* ============================
   9. ERROR PAGE
   ============================ */
.error-page{ text-align:center; padding: 110px 24px; }
.error-code{ font-size: 84px; margin:0; font-weight:600; }
.error-message{ font-size:17px; color: var(--color-muted); margin: 10px 0 30px; }

/* ============================
   10. PAGINATION
   ============================ */
.pagination-wrap{
    display:flex;
    justify-content:center;
    padding: 0px 0 0px;
}
.load-more-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: var(--color-text);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.load-more-btn:hover{
    background-color: #0000ff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.nusa-pagination{
    display:flex;
    justify-content:center;
    padding: 30px 0 70px;
}
.nusa-pagination-inner{
    display:flex;
    align-items:center;
    gap: 6px;
}
.nusa-page-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.nusa-page-btn:hover:not(.active):not(.disabled){
    background: #f2efe9;
}
.nusa-page-btn.active{
    background: var(--color-text);
    color: #fff;
    border-color: var(--color-text);
}
.nusa-page-btn.disabled{
    opacity: .35;
    pointer-events: none;
}
.nusa-page-dots{
    color: var(--color-muted);
    font-size: 13px;
    padding: 0 2px;
}

/* ============================
   11. FOOTER
   ============================ */
.site-footer{
    --footer-text-strong: #0a0908;
    --footer-text-secondary: rgba(10,9,8,0.75);
    --footer-text-muted: rgba(10,9,8,0.55);
    --footer-text-faint: rgba(10,9,8,0.4);
    --footer-border: rgba(10,9,8,0.12);
    --footer-btn-bg: #0a0908;
    --footer-btn-text: #ffffff;
    background: var(--footer-bg, #f6f6ff);
    color: var(--footer-text-secondary);
    margin-top: 30px;
    position: relative;
}
.site-footer.is-footer-light{
    --footer-text-strong: #ffffff;
    --footer-text-secondary: rgba(255,255,255,0.85);
    --footer-text-muted: rgba(255,255,255,0.6);
    --footer-text-faint: rgba(255,255,255,0.45);
    --footer-border: rgba(255,255,255,0.14);
    --footer-btn-bg: #ffffff;
    --footer-btn-text: #0a0908;
}
.footer-visual-strip{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 32px;
}
.footer-visual-item{
    position:relative;
    display:flex;
    align-items:flex-end;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    padding: 14px 16px 18px;
}
.footer-visual-item::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0) 55%);
}
.footer-visual-item-label{
    position:relative;
    color:#fff;
    font-size: 12.5px;
    font-weight: 600;
}
.footer-top{
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
    gap: 80px;
    padding: 30px 32px 30px;
    flex-wrap:wrap;
}
.footer-sitetitle{ max-width: 220px; flex: 0 1 220px; }
.footer-sitetitle-name{
    font-size: 19px;
    font-weight: 600;
    color: var(--footer-text-strong);
    margin: 0 0 8px;
}
.footer-sitetitle-description{
    font-size: 13px;
    line-height: 1.5;
    color: var(--footer-text-muted);
    margin: 0;
}
.footer-newsletter{ max-width: 360px; width: 360px; }
.footer-heading{
    font-family: Inter, 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 18px;
    color: var(--footer-text-strong);
}
.subscribe-btn.light{
    background: var(--footer-btn-bg);
    color: var(--footer-btn-text);
}
.footer-link-col{
    display:flex;
    flex-direction:column;
    gap: 14px;
}
.footer-link-col ul{
    display:flex;
    flex-direction:column;
    gap: 14px;
    margin:0;
    padding:0;
    list-style:none;
}
.footer-link-col a{
    font-size: 13.5px;
    font-weight: 600;
    color: var(--footer-text-secondary);
    display:flex;
    align-items:center;
    gap: 5px;
}
.footer-link-col a:hover{ color: var(--footer-text-strong); }
.footer-link-col a span{ font-size: 12px; }

.footer-nav-secondary{
    flex: 1 1 auto;
    min-width: 220px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.footer-nav-secondary .nav{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: auto;
    column-gap: 64px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav-secondary .nav-item{
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    min-width: 0;
}
.footer-nav-secondary .nav-has-dropdown{
    position: static;
    padding: 0;
    margin: 0;
}

.footer-nav-secondary .nav-dropdown-toggle{
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--footer-text-strong);
    margin: 0 0 12px;
    cursor: default;
}
.footer-nav-secondary .nav-arrow{ display: none; }
.footer-nav-secondary .nav-dropdown-menu{
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: static;
    box-shadow: none;
    background: none;
    padding: 0;
    margin: 0;
    min-width: 0;
    transform: none;
    z-index: auto;
}
.footer-nav-secondary .nav-dropdown-link{
    font-size: 13.5px;
    font-weight: 400;
    color: var(--footer-text-secondary);
}
.footer-nav-secondary .nav-dropdown-link:hover{ color: var(--footer-text-strong); }
.footer-nav-secondary .nav-item:not(.nav-has-dropdown) .nav-item-link{
    font-size: 13.5px;
    font-weight: 400;
    color: var(--footer-text-secondary);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.footer-nav-secondary .nav-item:not(.nav-has-dropdown) .nav-item-link:hover{
    color: var(--footer-text-strong);
}

.footer-social-icons{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-social-icons a{ color: var(--footer-text-secondary); }
.footer-social-icons a:hover{ color: var(--footer-text-strong); }
.footer-social-icons svg{ display:block; }
.footer-social-icons .social-link .icon{ width: 18px; height: 18px; }
.social-link-name{ display: none; }

.footer-bottom-row{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap: 16px;
    padding: 22px 32px 62px;
}
.footer-copyright{
    font-size: 12.5px;
    color: var(--footer-text-muted);
    width: 360px;
    text-align: left;
    margin-left: auto;
}
.back-to-top{
    display:flex;
    align-items:center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--footer-text-secondary);
    font-weight: 600;
    position: absolute;
    right: 32px;
    bottom: 63px;
}
.back-to-top:hover{ color: var(--footer-text-strong); }

/* ============================
   11. RESPONSIVE
   ============================ */
@media (max-width: 800px){
    .project-grid{ grid-template-columns: 1fr; }
    .project-card-title{
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .intro-block{ flex-direction:column; align-items:flex-start; gap:10px; }
    .search-btn span{ display:none; }
    .footer-visual-strip{
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top{
        display: block;
        padding: 36px 24px 28px;
    }
    .footer-sitetitle{
        margin-bottom: 32px;
    }
    .footer-nav-secondary{
        margin-bottom: 24px;
    }
    .footer-newsletter{
        max-width: none;
        margin-bottom: 28px;
    }
    .footer-heading{
    max-width: 280px;
}
  .footer-links{
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 24px;
    }
    .footer-col-heading{
        font-size: 13px;
        font-weight: 700;
        color: var(--footer-text-strong);
        margin-bottom: 10px;
    }
   .footer-nav-secondary .nav{
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 32px;
}
    .footer-nav-secondary .nav-has-dropdown .nav-dropdown-toggle{
        cursor: default;
    }
    .footer-nav-secondary .nav-arrow{
        display: none;
    }
    .footer-nav-secondary .nav-has-dropdown .nav-dropdown-menu{
        display: flex;
    }
    .footer-social-icons{
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        justify-content: center;
        width: 100%;
        order: 2;
    }
    .footer-social-icons .social-link{
        min-width: 0;
    }
    .social-link-name{ display: none; }

    .social-link-instagram{ order: 1; }
    .social-link-facebook{ order: 2; }
    .social-link-youtube{ order: 3; }
    .social-link-tiktok{ order: 4; }
    .social-link-x{ order: 5; }
    .social-link-twitter{ order: 5; }
    .social-link-linkedin{ order: 6; }
    .social-link-threads{ order: 7; }
    .social-link-mastodon{ order: 8; }

    .inner.footer-bottom-row{
        flex-direction: column;
        align-items: center;
        text-align: center;
        row-gap: 20px;
        font-size: 11.5px;
        margin-top: 20px;
        padding-bottom: 24px;
    }
    .footer-copyright-credit{ display: block; }
    .back-to-top{
        position: static;
        margin: 0 0 4px;
        justify-content: center;
        width: 100%;
        order: 1;
    }
    .footer-copyright{
    order: 3;
    width: 100%;
    margin-left: 0;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 8px;
}

    .gh-burger{ display:flex; }

    .site-nav{
        display:block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--color-border);
        max-height: 0;
        overflow: hidden;
        transition: max-height .25s ease;
        z-index: 1;
        
    }
    .site-nav.is-open{ max-height: 70vh; overflow-y: auto; }
    .site-nav > ul{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 8px 32px 20px;
    }
    .site-nav > ul > li{ width:100%; }
    .site-nav > ul > li > a{
        display:block;
        padding: 10px 0;
        font-size: 15px;
    }

    .nav-dropdown-toggle,
    .gh-head-menu .nav-item-link{
        width: 100%;
        justify-content: space-between;
        padding: 10px 0;
        font-size: 15px;
    }
    .nav-dropdown-panel,
    .gh-head-menu .nav-dropdown-menu{
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 4px 12px;
        min-width: 0;
        width: 100%;
    }
    .nav-dropdown.is-open .nav-dropdown-panel,
    .gh-head-menu .nav-has-dropdown.is-open > .nav-dropdown-menu{ display: block; }
    .nav-dropdown-panel a,
    .gh-head-menu .nav-dropdown-link{ padding: 8px 10px; font-size: 14px; }

    .gh-head-menu .nav-dropdown-item{ margin-bottom: 10px; }
    .gh-head-menu .nav-dropdown-item:last-child{ margin-bottom: 0; }

    .site-header{ position: relative; }
}

@media (max-width: 560px){
    .site-header .inner{ padding: 14px 20px; }
    .inner{ padding: 0 20px; }
    .intro-title{ font-size: 24px; }
    .article-title{ font-size: 26px; }
    .gh-content{ font-size: 16px; }
}



   @media (min-width: 801px){
.gh-head-menu .nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.gh-head-menu .nav-item {
    position: relative;
    list-style: none;
}

.gh-head-menu .nav-item-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: inherit;
    transition: opacity .2s;
}

.gh-head-menu .nav-item-link:hover {
    color: var(--ghost-accent-color);
}

.gh-head-menu .nav-arrow {
    flex-shrink: 0;
    transition: transform .2s ease;
    margin-left: 4px;
}

.gh-head-menu .nav-has-dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.gh-head-menu .nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.05);
    padding: 6px 6px;
    list-style: none;
    margin: 0;
    z-index: 9999;
}

.gh-head-menu .nav-dropdown-menu--right {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.gh-head-menu .nav-has-dropdown.is-open > .nav-dropdown-menu {
    display: block;
}

.gh-head-menu .nav-has-dropdown.is-open > .nav-item-link {
    color: var(--ghost-accent-color);
}

.gh-head-menu .nav-has-dropdown.is-open > .nav-item-link .nav-arrow {
    transform: rotate(180deg);
}

.gh-head-menu .nav-dropdown-item {
    list-style: none;
}

.gh-head-menu .nav-dropdown-link {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #15171a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s;
    width: 100%;
    box-sizing: border-box;
}

.gh-head-menu .nav-dropdown-link:hover {
    background: rgba(0,0,0,.05);
}

.gh-head-menu .nav-has-more > .nav-item-link {
    padding: 8px 8px;
    opacity: .65;
}

.gh-head-menu .nav-has-more > .nav-item-link:hover {
    opacity: 1;
}

.gh-head-menu .nav-more-dots {
    display: block;
    flex-shrink: 0;
}
   }

/* ============================================================
   PROJECT CARD — members-only lock icon
   ============================================================ */
.project-card-lock{
    position: absolute;
    top: 14px; left: 14px;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-badge-bg);
    border: 1px solid var(--color-badge-border);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    color: #fff;
    z-index: 2;
}
.project-card-lock svg{
    width: 15px;
    height: 15px;
}
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: var(--color-bg, #fff);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), visibility .7s cubic-bezier(.22, 1, .36, 1);
}

body.is-loading .page-loader {
  opacity: 1;
  visibility: visible;
}

body.is-loading .site-wrapper {
  filter: blur(6px);
  opacity: .4;
}

.site-wrapper {
  transition: filter .8s cubic-bezier(.22, 1, .36, 1), opacity .8s cubic-bezier(.22, 1, .36, 1);
}
