* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg: #090914;
    --panel: #080d18;
    --row: #080d18;
    --row-alt: #0c1422;
    --steel: #449cff;
    --steel-dim: #0d1f34;
    --gray: #9ea5b5;
    --gray-dim: #0d1f34;
    --text: #dddcdd;
    --mono: 'DM Mono', monospace;
    --display: 'Syne', sans-serif;
    --rule: #ffffff0d;
}

body {
    background: var(--panel);
    color: var(--text);
    font-family: var(--mono);
    min-height: 100vh
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    border-bottom: 1px solid var(--rule);
    background: var(--bg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-name {
    font-family: var(--display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px
}

.nav-r {
    display: flex;
    gap: 28px;
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.08em
}

.nav-r a {
    color: inherit;
    text-decoration: none
}

.nav-r a:hover {
    color: var(--text)
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.back-bar {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
}

.back-link {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: var(--gray);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.1s;
}

.back-link:hover {
    color: var(--text)
}

.project-header {
    padding: 32px 0 28px;
    border-bottom: 1px solid var(--rule);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: start;
}

.project-header-left {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 1px dashed var(--gray-dim);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.project-title-group {}

.project-eyebrow {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--steel);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-eyebrow::before {
    content: '';
    display: block;
    width: 3px;
    height: 10px;
    background: var(--steel);
    border-radius: 1px;
}

.project-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 4px;
}

.project-formerly {
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray);
    max-width: 480px;
    margin-top: 12px;
}

.project-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.row-type {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--steel);
    border: 1px solid var(--steel-dim);
    padding: 3px 8px;
}

.row-status {
    font-size: 10px;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-live { color: #4ade80 }
.status-dot-g { width: 4px; height: 4px; border-radius: 50%; background: #4ade80 }
.status-wip { color: var(--gray) }
.status-dot-d { width: 4px; height: 4px; border-radius: 50%; background: var(--gray) }

.links-bar {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule);
    display: flex;
    gap: 8px;
}

.btn {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
    border: 1px solid var(--gray-dim);
}

.btn-ghost:hover {
    color: var(--text);
    border-color: var(--gray);
}

.btn-primary {
    background: var(--steel-dim);
    color: var(--steel);
    border: 1px solid var(--steel-dim);
}

.btn-primary:hover {
    background: #1d3f6b;
    color: #c8dff5;
    border-color: var(--steel-dim);
}

.desc-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
}

.desc-section p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--gray);
    max-width: 700px;
    margin-bottom: 16px;
}

.desc-section p:last-child {
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
}

.card {
    background: var(--row-alt);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 24px;
    transition: border-color 0.1s;
}

.card:hover {
    border-color: var(--steel-dim);
}

.card h3 {
    font-family: var(--display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    color: var(--text);
}

.card h3 span {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-left: 6px;
}

.card p {
    font-size: 11px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 14px;
}

.card p:last-child {
    margin-bottom: 0;
}

.card .btn {
    font-size: 9px;
}

.section {
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
}

.section-label {
    font-size: 9px;
    letter-spacing: 0.18em;
    color: var(--gray);
    margin-bottom: 16px;
}

.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--row-alt);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-dim);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: var(--steel);
}

.carousel-dot:hover {
    background: var(--gray);
}

.thumb-strip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.thumb-strip button {
    flex: 1;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--row-alt);
    transition: border-color 0.15s;
}

.thumb-strip button:hover {
    border-color: var(--steel-dim);
}

.thumb-strip button.active {
    border-color: var(--steel);
}

.thumb-strip button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fs-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.fs-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.fs-overlay img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 4px;
    object-fit: contain;
}

.fs-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--gray);
    font-family: var(--mono);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.15s;
}

.fs-close:hover {
    color: var(--text);
}

footer {
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: var(--gray);
    letter-spacing: 0.08em;
    border-top: 1px solid var(--rule);
    margin-top: 0;
}
