:root {
    --page: #101010;
    --surface: #1a1a1a;
    --surface-strong: #262626;
    --text: #f5f5f5;
    --muted: #b8b8b8;
    --line: #404040;
    --orange: #cb6813;
    --red: #880000;
    --width: 1600px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: radial-gradient(circle at 10% -10%,rgba(203,104,19,.1),transparent 30rem),var(--page);
    color: var(--text);
    font-family: Inter,ui-sans-serif,system-ui,sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

button {
    font: inherit;
    cursor: pointer;
}

.page-width {
    width: min(var(--width),calc(100% - 3rem));
    margin-inline: auto;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: rgba(16,16,16,.86);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

    .brand img {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: .5rem;
    }

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem;
}

    nav a {
        padding: .45rem .7rem;
        border-radius: .45rem;
        color: var(--muted);
        font-size: .9rem;
        text-decoration: none;
    }

        nav a:hover, nav a.active {
            background: var(--surface-strong);
            color: var(--text);
        }

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    max-width: 11ch;
    margin-bottom: 1.25rem;
    font-size: clamp(3.5rem,8vw,7.1rem);
    line-height: .94;
    letter-spacing: -.07em;
}

h2 {
    margin-bottom: .7rem;
    font-size: clamp(1.8rem,3.4vw,2.7rem);
    line-height: 1.04;
    letter-spacing: -.05em;
}

h3 {
    margin-bottom: .5rem;
    font-size: 1.3rem;
}

.eyebrow, .role {
    margin: 0 0 .7rem;
    color: var(--orange);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.lead, .hero-card p, .split-section p, .person-card p, .info-card p, .section-heading > p {
    color: var(--muted);
}

.lead {
    max-width: 57ch;
    font-size: 1.08rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 4rem;
    min-height: 39rem;
    padding: 5rem 0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.7rem;
}

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: .7rem 1rem;
    border-radius: .65rem;
    font-weight: 800;
    text-decoration: none;
}

.primary-button {
    background: var(--orange);
    color: #18100a;
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--surface);
}

.text-link {
    color: var(--orange);
    font-weight: 800;
    text-decoration: none;
}

.hero-card {
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--orange);
    border-radius: 1.2rem;
    background: linear-gradient(145deg,rgba(203,104,19,.11),var(--surface));
    box-shadow: 0 1.4rem 3.5rem rgba(0,0,0,.32);
    transform: rotate(1.5deg);
}

.status {
    color: var(--orange);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .1em;
}

.hero-card h2 {
    margin-top: 1.7rem;
}

.orange-line {
    height: .3rem;
    margin: 1.4rem 0 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg,var(--orange),var(--red));
}

.hero-card > span:last-child {
    color: var(--muted);
    font-size: .84rem;
}

.section {
    padding: 2.8rem 0;
}

.section-heading h2, .project-callout h2 {
    max-width: 16ch;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.7rem;
}

    .section-heading h2 {
        margin-bottom: 0;
    }

    .section-heading > p {
        max-width: 34ch;
        margin-bottom: .3rem;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.person-card, .info-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
}

.person-card {
    min-height: auto;
}

.large-card {
    min-height: auto;
}

.avatar {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    margin-bottom: 1.5rem;
    border-radius: .8rem;
    background: var(--surface-strong);
    color: var(--orange);
    font-weight: 900;
}

.owl-avatar {
    overflow: hidden;
    padding: 0;
    background: #000;
}

.transparent-avatar {
    background: linear-gradient(135deg,#202020,#302015 48%,#4a2710);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role {
    margin-bottom: .45rem;
}

.project-callout {
    margin-bottom: 5rem;
    padding: 3rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: linear-gradient(135deg,rgba(203,104,19,.12),var(--surface));
}

    .project-callout > p {
        max-width: 55ch;
        color: var(--muted);
    }

.project-showcase, .coming-soon-section, .community-callout {
    border-top: 1px solid var(--line);
}

.created-project-grid {
    display: grid;
    gap: 1rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: linear-gradient(135deg,rgba(203,104,19,.1),var(--surface));
}

    .feature-card h2 {
        max-width: 17ch;
    }

    .feature-card > div > p:not(.project-kind):not(.project-meta) {
        max-width: 66ch;
        color: var(--muted);
    }

.project-kind {
    margin-bottom: .7rem;
    color: var(--orange);
    font-size: .74rem;
    font-weight: 850;
    letter-spacing: .13em;
}

.project-meta {
    color: var(--muted);
    font-size: .9rem;
}

.website-card {
    background: var(--surface);
}

.server-card {
    grid-template-columns: minmax(10rem,15rem) 1fr;
    align-items: center;
    background: var(--surface);
}

.server-icon {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: .9rem;
}

.ip-label {
    display: inline-flex;
    align-items: center;
    min-height: 2.9rem;
    padding: .7rem 1rem;
    border: 1px solid var(--line);
    border-radius: .65rem;
    color: var(--muted);
    font-weight: 800;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
}

.coming-soon-section .coming-soon-card {
    min-height: 11rem;
}

.community-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: linear-gradient(135deg,rgba(203,104,19,.1),var(--surface));
}

    .community-callout h2 {
        margin-bottom: .5rem;
    }

    .community-callout p:not(.eyebrow) {
        margin-bottom: 0;
        color: var(--muted);
    }

.page-intro {
    padding: 3rem 0 1rem;
}

    .page-intro h1 {
        max-width: 17ch;
        font-size: clamp(2.8rem,5vw,4.6rem);
    }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.info-card > span {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 850;
}

.info-card h2 {
    font-size: 1.4rem;
}

.team-section {
    border-top: 1px solid var(--line);
}

.person-dialog {
    width: min(38rem,calc(100% - 2rem));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1.5rem 4rem rgba(0,0,0,.5);
}

    .person-dialog::backdrop {
        background: rgba(0,0,0,.74);
        backdrop-filter: blur(4px);
    }

.dialog-content {
    padding: 1.6rem;
}

.dialog-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

    .dialog-heading h2 {
        margin-bottom: 1.5rem;
    }

.close-button {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface-strong);
    color: var(--text);
    font-size: 1.4rem;
}

.person-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 0 1.2rem;
}

    .person-details section {
        padding: 1rem 0;
        border-top: 1px solid var(--line);
    }

    .person-details h3 {
        margin-bottom: .35rem;
        font-size: 1.05rem;
    }

    .person-details p {
        margin-bottom: 0;
        color: var(--muted);
    }

.hosting-section {
    border-top: 1px solid var(--line);
}

    .hosting-section > div:first-child {
        margin-bottom: 1.5rem;
    }

    .hosting-section h2 {
        max-width: none;
    }

.hosting-facts {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: .8rem;
}

    .hosting-facts div {
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: .8rem;
        background: var(--surface);
    }

    .hosting-facts .hosting-model {
        grid-column: span 2;
    }

    .hosting-facts .hosting-use {
        grid-column: 1 / -1;
    }

    .hosting-facts span {
        display: block;
        margin-bottom: .35rem;
        color: var(--orange);
        font-size: .7rem;
        font-weight: 850;
        letter-spacing: .13em;
    }

    .hosting-facts strong {
        display: block;
        font-size: .92rem;
    }

    .hosting-facts small {
        display: block;
        margin-top: .2rem;
        color: var(--muted);
        font-size: .78rem;
    }

.detail-button {
    margin-top: .3rem;
    padding: .55rem .8rem;
    border: 1px solid var(--orange);
    border-radius: .55rem;
    background: transparent;
    color: var(--orange);
    font-weight: 800;
}

    .detail-button:hover, .detail-button:focus-visible {
        background: rgba(203,104,19,.14);
        outline: none;
    }

.coming-soon-card {
    display: grid;
    width: 100%;
    min-height: 15rem;
    place-items: center;
    gap: .7rem;
    padding: 2rem;
    border: 1px solid var(--line);
    border-top: 3px solid var(--orange);
    border-radius: 1.1rem;
    background: linear-gradient(135deg,rgba(203,104,19,.1),var(--surface));
    color: var(--text);
    text-align: center;
}

    .coming-soon-card span {
        color: var(--orange);
        font-size: .75rem;
        font-weight: 850;
        letter-spacing: .14em;
    }

    .coming-soon-card strong {
        font-size: clamp(1.4rem,3vw,2.2rem);
    }

    .coming-soon-card small {
        color: var(--muted);
    }

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem;
}

@media (max-width:780px) {
    .top-bar, .section-heading, footer, .community-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        justify-content: flex-start;
    }

    .hero, .team-grid, .info-grid, .person-details, .server-card, .coming-soon-grid {
        grid-template-columns: 1fr;
    }

    .hosting-facts {
        grid-template-columns: repeat(2,1fr);
    }

        .hosting-facts .hosting-model, .hosting-facts .hosting-use {
            grid-column: 1 / -1;
        }

    .server-icon {
        width: min(15rem,100%);
    }

    .hero {
        gap: 2rem;
        min-height: auto;
        padding: 3.5rem 0;
    }

    .hero-card {
        transform: none;
    }

    .section {
        padding: 2.4rem 0;
    }
}
