body.services-hub-page {
    background: #0b1015;
    color: #eef2f7;
}

body.services-hub-page main {
    background: linear-gradient(180deg, #0b1015 0%, #0f151c 100%);
}

.services-hub-page [data-reveal] {
    opacity: 1;
    transform: none;
}

body.services-hub-page.js-motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

body.services-hub-page.js-motion [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.services-hub-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.services-hub-hero,
.services-hub-section {
    padding: 0 0 48px;
}

.services-hub-hero {
    padding-top: calc(var(--header-offset) + 56px);
}

.services-hub-hero-grid,
.services-hub-feed-grid,
.services-hub-future-grid {
    display: grid;
    gap: 22px;
}

.services-hub-kicker {
    margin: 0 0 14px;
    color: #7f91a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.services-hub-copy h1,
.services-hub-section-head h2,
.services-hub-future-panel h2 {
    margin: 0;
    color: #eef2f7;
}

.services-hub-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.services-hub-copy--center {
    max-width: 980px;
    margin: 0 auto 28px;
    text-align: center;
}

.services-hub-copy p,
.services-hub-future-panel p,
.services-hub-contact-panel p {
    margin: 0;
    color: #99a9be;
    line-height: 1.72;
}

.services-hub-copy p {
    font-size: 17px;
    max-width: 680px;
}

.services-hub-copy--center p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.services-hub-links-panel,
.services-hub-feed-panel,
.services-hub-future-panel,
.services-hub-contact-panel {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #111821;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.services-hub-links-panel,
.services-hub-feed-panel,
.services-hub-future-panel {
    padding: 24px;
}

.services-hub-links-panel--row {
    max-width: 1180px;
    margin: 0 auto;
}

.services-hub-links-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.services-hub-links-head--center {
    align-items: center;
}

.services-hub-links-head span,
.services-hub-mini-head span {
    color: #99a9be;
    font-size: 13px;
}

.services-hub-links-list,
.services-hub-feed-list {
    display: grid;
    gap: 14px;
}

.services-hub-links-list--row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.services-hub-link-block,
.services-hub-feed-item,
.services-hub-feed-empty {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0d141d;
}

.services-hub-link-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px 22px;
    color: #eef2f7;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.services-hub-link-block:hover,
.services-hub-link-block:focus-visible {
    transform: translateY(-2px);
    outline: none;
    background: #1d2430;
    border-color: #30405a;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.services-hub-link-block--row {
    grid-template-columns: 1fr;
    align-content: space-between;
    min-height: 212px;
    gap: 16px;
    padding: 22px 20px 18px;
}

.services-hub-link-label,
.services-hub-feed-type {
    margin: 0 0 8px;
    color: #7f91a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.services-hub-link-block strong,
.services-hub-feed-item strong,
.services-hub-mini-head strong {
    color: #eef2f7;
}

.services-hub-link-block strong {
    display: block;
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 1.08;
}

.services-hub-link-block span {
    display: block;
    color: #99a9be;
    line-height: 1.58;
    max-width: 36ch;
}

.services-hub-link-block b {
    color: #eef2f7;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.services-hub-link-block--row b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.services-hub-link-block--row b::after {
    content: "->";
    font-size: 12px;
    letter-spacing: 0.08em;
}

.services-hub-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.services-hub-section-head h2 {
    font-size: clamp(30px, 3.5vw, 52px);
    line-height: 1.06;
}

.services-hub-section-head a {
    color: #eef2f7;
    font-weight: 700;
}

.services-hub-feed-grid,
.services-hub-future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-hub-mini-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.services-hub-feed-item,
.services-hub-feed-empty {
    padding: 16px 18px;
}

.services-hub-feed-item {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.services-hub-feed-item:hover,
.services-hub-feed-item:focus-visible {
    transform: translateY(-2px);
    outline: none;
    background: #1d2430;
    border-color: #30405a;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.services-hub-feed-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.services-hub-feed-item span,
.services-hub-feed-empty {
    color: #99a9be;
    line-height: 1.65;
}

.services-hub-future-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.12;
}

.services-hub-tag-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.services-hub-tag-list li {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d141d;
    color: #eef2f7;
    font-weight: 700;
}

/* Roblox CTA button */
.services-hub-roblox-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #eef2f7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.services-hub-roblox-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.26);
    transform: translateY(-2px);
}

/* Staff recruit list */
.services-hub-recruit-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.services-hub-recruit-list li {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.04);
}

.services-hub-recruit-list strong {
    color: #eef2f7;
    font-size: 15px;
    font-weight: 700;
}

.services-hub-recruit-list span {
    color: #99a9be;
    font-size: 13px;
    line-height: 1.55;
}

.services-hub-recruit-note {
    margin-top: 16px !important;
    font-size: 13px !important;
    color: #7f91a8 !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
}

.contact-card,
.contact-image-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #111821;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.contact-card {
    padding: 28px;
}

.contact-card h3 {
    margin: 0 0 20px;
    color: #eef2f7;
    font-size: clamp(30px, 3vw, 48px);
    line-height: 1.05;
}

.contact-label {
    margin: 0 0 18px;
    color: #7f91a8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.22em;
}

.contact-list {
    margin: 0;
    display: grid;
    gap: 18px;
}

.contact-list div {
    display: grid;
    gap: 6px;
}

.contact-list dt {
    color: #eef2f7;
    font-weight: 700;
}

.contact-list dd {
    margin: 0;
    color: #99a9be;
    line-height: 1.7;
}

.contact-image-card {
    overflow: hidden;
    padding: 0;
}

.contact-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 960px) {
    .services-hub-feed-grid,
    .services-hub-future-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .services-hub-links-list--row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .services-hub-shell {
        width: min(100%, calc(100% - 24px));
    }

    .services-hub-copy h1,
    .services-hub-section-head h2,
    .services-hub-future-panel h2 {
        font-size: clamp(30px, 8vw, 46px);
    }

    .services-hub-links-panel,
    .services-hub-feed-panel,
    .services-hub-future-panel,
    .contact-card {
        padding: 22px;
    }
    
    .services-hub-section-head,
    .services-hub-links-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-hub-links-list--row {
        grid-template-columns: 1fr;
    }

    .services-hub-link-block--row {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.services-hub-page.js-motion [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
