:root {
    --bg:#101214;
    --panel:#181b1f;
    --hover:#20242a;
    --text:#e7eaed;
    --muted:#aab1b8;
    --line:#343a40;
    --accent:#58b7ff
}
* {
    box-sizing:border-box
}
body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.55
}
.site-header img {
    display:block;
    width:100%;
    height:auto;
    max-height:260px;
    object-fit:cover;
    border-bottom:1px solid var(--line)
}
.layout {
    display:flex;
    align-items:flex-start;
    max-width:1500px;
    margin:0 auto
}
.sidebar {
    position:sticky;
    top:0;
    width:245px;
    min-width:245px;
    height:100vh;
    overflow-y:auto;
    padding:22px 16px;
    background:#15181b;
    border-right:1px solid var(--line)
}
.sidebar h2 {
    margin:0 0 18px;
    font-size:18px
}
.nav-group {
    margin:20px 0
}
.nav-title {
    margin:0 0 8px;
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1.2px
}
.sidebar a {
    display:block;
    padding:7px 9px;
    margin:2px 0;
    border-radius:5px;
    color:#d7dce1;
    text-decoration:none;
    font-size:14px
}
.sidebar a:hover,.sidebar a.active {
    background:var(--hover);
    color:#fff
}
.content {
    flex:1;
    min-width:0;
    padding:34px 46px 70px
}
.project {
    max-width:1050px
}
h1 {
    margin:0 0 10px;
    font-size:34px
}
p {
    max-width:900px;
    color:#d4d9de
}
.subtitle {
    color:var(--muted);
    font-size:17px
}
.status {
    display:inline-block;
    padding:3px 8px;
    margin-left:8px;
    border:1px solid #4b545d;
    border-radius:12px;
    color:#cbd1d6;
    font-size:12px;
    vertical-align:middle
}
.gallery {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
    margin:22px 0
}
.gallery figure {
    margin:0;
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:6px;
    overflow:hidden
}
.gallery img {
    display:block;
    width:100%;
    height:auto
}
.gallery figcaption {
    padding:8px 10px;
    color:var(--muted);
    font-size:12px
}
.note {
    max-width:900px;
    margin-top:30px;
    padding:14px 16px;
    background:var(--panel);
    border-left:3px solid var(--accent);
    color:#d7dce1
}
.small {
    color:var(--muted);
    font-size:13px
}
@media(max-width:800px) {
    .layout {
        display:block
    }
    .sidebar {
        position:relative;
        width:100%;
        min-width:0;
        height:auto;
        border-right:0;
        border-bottom:1px solid var(--line)
    }
    .sidebar a {
        display:inline-block
    }
    .content {
        padding:28px 20px 55px
    }
    h1 {
        font-size:28px
    }
}
.home-link {
    font-weight: 600;
    margin-bottom: 6px;
}
.home-link:hover {
    color: white;
}
/* Fixed solar-terrestrial information panel */
.solar-fixed {
    position: fixed;
    top: 280px;
    right: 12px;
    width: 190px;
    z-index: 1000;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 6px;
    background: rgba(15, 20, 28, 0.94);
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.solar-fixed-title {
    margin-bottom: 5px;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
}
.solar-fixed a {
    display: block;
}
.solar-fixed img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
/* Keep the fixed panel from covering the page on smaller screens. */
@media (max-width: 1100px) {
    .solar-fixed {
        display: none;
    }
}
