@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

html {
    scroll-behavior: smooth;
}

:root {
    --danger-bg: rgba(217, 48, 37, 0.2);
    --success-bg: rgba(0, 176, 111, 0.2);
    --roblox-dark: #232527;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    text-align: center;
    padding: 80px 20px 40px;
    max-width: 800px;
}
h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
    margin-top: 0;
}
h2 {
    color: var(--accent);
    margin-top: 0;
}
.section-title {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.stats-container {
    flex-wrap: wrap;
}
.stat-label {
    text-transform: uppercase;
}

.games-grid {
    display: grid;
}
.team-grid {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.game-card {
    transition:
        transform 0.2s,
        border-color 0.2s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.game-thumbnail {
    width: 100%;
    object-fit: cover;
    background: #000;
}
.game-title {
    margin: 0 0 5px 0;
}

.game-desc {
    margin: 0 0 15px 0;
    min-height: 40px;
}

.game-stats-row {
    display: flex;
    justify-content: space-between;
}

.g-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.g-stat .icon {
    font-size: 1rem;
}

.game-card:hover .game-stats-row {
    border-color: var(--accent);
    background: #1a1a1a;
}

.member-card {
    transition: transform 0.2s;
}

.member-avatar {
    margin-bottom: 10px;
}

.member-name {
    display: block;
    color: var(--text-main);
    margin-bottom: 2px;
}

.member-handle {
    margin-bottom: 12px;
    font-weight: 400;
}

.member-socials {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.s-icon {
    transition:
        color 0.2s,
        transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

footer {
    margin-top: auto;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}

.admin-body {
    box-sizing: border-box;
    display: block;
}

input,
textarea,
select {
    background: var(--input-bg);
    border: 1px solid #444;
    color: white;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    border-radius: 4px;
    font-family: inherit;
}
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}
label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}
button:hover {
    background: var(--accent-hover);
}
button.delete {
    background: var(--danger);
    padding: 6px 12px;
    font-size: 0.8rem;
}
button.delete:hover {
    opacity: 0.8;
}
button.edit {
    background: #007bff;
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    color: white;
}
button.edit:hover {
    background: #0056b3;
}
.btn-block {
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
td,
th {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 0.9rem;
}
th {
    color: var(--accent);
    font-weight: 600;
}
td {
    color: #ddd;
}

.row-form {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.row-form input {
    margin-bottom: 0;
}
.msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
}
.msg.success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success);
}
.msg.error {
    background: var(--danger-bg);
    color: #ff6b6b;
    border: 1px solid var(--danger);
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
}

body.login-body {
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    width: 100%;
    max-width: 350px;
    padding: 40px;
    margin: 0;
}

.login-card .back-link {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.login-card .back-link:hover {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats-container {
    animation: fadeInUp 0.8s ease-out forwards;
}

.games-grid {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.team-grid {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.member-role {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-role.role-owner {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.member-avatar.role-owner {
    border-color: #ffd700 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.member-role.role-founder {
    background: rgba(220, 20, 60, 0.15);
    color: #ff4d4d;
    border-color: #ff4d4d;
}
.member-avatar.role-founder {
    border-color: #ff4d4d !important;
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
}

.member-role.role-co-founder {
    background: rgba(255, 140, 0, 0.15);
    color: #ff8c00;
    border-color: #ff8c00;
}
.member-avatar.role-co-founder {
    border-color: #ff8c00 !important;
    box-shadow: none !important;
}

.member-role.role-community-manager {
    background: rgba(0, 191, 255, 0.15);
    color: #00bfff;
    border-color: #00bfff;
}
.member-avatar.role-community-manager {
    border-color: #00bfff !important;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.member-role.role-developer,
.member-role.role-scripter,
.member-role.role-builder {
    background: rgba(0, 176, 111, 0.15);
    color: #00b06f;
    border-color: #00b06f;
}

.member-avatar.role-developer,
.member-avatar.role-scripter,
.member-avatar.role-builder {
    border-color: #00b06f;
    box-shadow: 0 0 15px rgba(0, 176, 111, 0.3);
}

.member-role.role-ccm {
    background: rgba(255, 0, 0, 0.15);
    color: #ff3333;
    border-color: #ff3333;
}
.member-avatar.role-ccm {
    border-color: #ff3333 !important;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.member-role.role-graphic-designer {
    background: rgba(216, 27, 96, 0.15);
    color: #e91e63;
    border-color: #e91e63;
}
.member-avatar.role-graphic-designer {
    border-color: #e91e63 !important;
    box-shadow: 0 0 15px rgba(216, 27, 96, 0.3);
}

.role-separator {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 1;
}

.role-separator::before,
.role-separator::after {
    content: "";
    height: 2px;
    background: currentColor;
    flex: 1;
    opacity: 0.3;
    border-radius: 10px;
    box-shadow: 0 0 10px currentColor;
}

.role-name-text {
    text-transform: uppercase;
    position: relative;
    top: 1px;
}

.role-separator.role-owner {
    color: #ffd700;
}

.role-separator.role-founder {
    color: #ff4d4d;
}

.role-separator.role-graphic-designer {
    color: #e91e63;
}

.role-separator.role-community-manager {
    color: #00bfff;
}

.role-separator.role-ccm {
    color: #ff3333;
}

.role-separator.role-developer,
.role-separator.role-scripter,
.role-separator.role-builder {
    color: #00b06f;
}
.blog-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto 60px;
}
.blog-header {
    text-align: center;
    padding: 100px 20px 60px;
    background: radial-gradient(circle at center, rgba(0, 176, 111, 0.1) 0%, transparent 70%);
}
.blog-header h1 {
    margin-bottom: 10px;
}
.blog-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}
.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
    margin-bottom: 40px;
}
.featured-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}
.featured-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.featured-card:hover .featured-image-wrapper img {
    transform: scale(1.05);
}

.featured-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-info h2 {
    font-size: 2.2rem;
    margin: 15px 0;
    line-height: 1.2;
    color: white;
}
.featured-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.05rem;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: #252525;
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-info h3 {
    font-size: 1.4rem;
    margin: 10px 0;
    line-height: 1.3;
    color: white;
}
.news-info p {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 0;
}
.meta-row {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.meta-dot {
    margin: 0 8px;
    opacity: 0.5;
    color: white;
}

.read-more-btn {
    color: white;
    font-weight: bold;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.featured-card:hover .read-more-btn {
    gap: 10px;
    color: var(--accent);
}
.badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.badge-new.small {
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 0.7rem;
}
.fallback-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e1e1e 0%, #111 100%);
    position: relative;
}
.fallback-img::after {
    content: "NEWS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 5px;
}
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    .featured-image-wrapper {
        min-height: 250px;
    }
    .featured-info {
        padding: 25px;
    }
    .featured-info h2 {
        font-size: 1.8rem;
    }
}
.post-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: radial-gradient(circle at center, rgba(0, 176, 111, 0.05) 0%, transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}
.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(-5px);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.post-title {
    font-size: 3rem;
    margin: 0 0 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.featured-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 50px;
    border: 1px solid #333;
}
.article-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #e0e0e0;
}
.article-content h1,
.article-content h2,
.article-content h3 {
    color: white;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 800;
}
.article-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}
.article-content p {
    margin-bottom: 25px;
}
.article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}
.article-content li {
    margin-bottom: 10px;
}
.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #444;
}
.article-content blockquote {
    border-left: 5px solid var(--accent);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 30px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #bbb;
    margin: 30px 0;
}
.article-content code {
    background: #333;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #ff79c6;
}
.article-content pre {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid #333;
}
.article-content pre code {
    background: none;
    color: #f8f8f2;
    padding: 0;
}
.like-section {
    margin: 60px 0;
    text-align: center;
}
.btn-like {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-like:hover {
    transform: scale(1.05);
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}
.like-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
}
.comments-wrapper {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #333;
}
.comment-card {
    display: flex;
    gap: 15px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
}
.comment-avatar {
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.c-header {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.c-name {
    color: white;
    font-weight: bold;
    font-size: 1rem;
}
.c-date {
    color: #666;
    font-size: 0.8rem;
}
.c-body {
    color: #ccc;
    line-height: 1.5;
    font-size: 0.95rem;
}
.admin-reply {
    margin-left: 50px;
    border-left: 2px solid var(--accent);
    background: rgba(0, 176, 111, 0.05);
}
.badge-studio {
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.comment-form {
    background: #151515;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #333;
    margin-top: 40px;
}
.comment-form h4 {
    margin-top: 0;
    font-size: 1.2rem;
}

.play-btn,
.wiki-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s;
}

.play-btn {
    background: var(--accent);
    color: white;
}
.play-btn:hover {
    background: #00965e;
}
.wiki-btn:hover {
    background: #444;
    border-color: #666;
}

.cinematic-player {
    position: relative;
    cursor: pointer;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.play-button-circle {
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cinematic-player:hover .play-button-circle {
    transform: scale(1.1);
}

.cinematic-player:hover .play-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.video-showcase {
    background: #000;
    transition: all 0.3s ease-in-out;
}

.video-showcase:hover {
    border-color: var(--accent);
}

.video-showcase video {
    max-height: 70vh;
    display: block;
    outline: none;
}

:root {
    --danger: #ff9a94;
    --success: #b4f565;
    --forest: #112c20;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
}

::selection {
    background: var(--lime);
    color: #102318;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 5px;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.public-site {
    display: block;
    overflow-x: clip;
}

.studio-nav {
    margin: auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
}

.brand-dot {
    align-self: flex-start;
    font-size: 10px;
    margin: 8px 0 0 4px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 900;
    margin-right: 11px;
    letter-spacing: -5px;
    padding-right: 5px;
}

.brand-mark span {
    font-size: 21px;
}

.nav-links {
    display: flex;
    color: #c3cec5;
}

.nav-links a:hover,
.quiet-link:hover,
.footer-links a:hover {
    color: var(--lime);
}

.nav-cta span {
    margin-left: 16px;
}

.nav-cta:hover {
    background: var(--lime);
    color: #102318;
}

.studio-hero {
    width: 100%;
    margin: auto;
    display: grid;
    text-align: left;
}

.eyebrow {
    line-height: 1.6;
    color: var(--lime) !important;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
}

.studio-hero h1 {
    margin: 0 0 25px;
}

.studio-hero h1 span {
    color: var(--lime);
}

.tagline {
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition:
        background 0.2s,
        transform 0.2s;
}

.quiet-link {
    font-weight: 500;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a1b29f;
}

.hero-note > span {
    color: var(--lime);
}

.hero-art {
    position: relative;
    background-size: auto;
}

.hero-art:before {
    content: "";
    position: absolute;
    background-image:
        linear-gradient(#a6d3860d 1px, transparent 1px),
        linear-gradient(90deg, #a6d3860d 1px, transparent 1px);
    background-size: 34px 34px;
}

.stats-container {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.3fr;
    gap: 0;
    justify-content: initial;
}

.stat-card {
    background: transparent;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    padding: 0 32px;
    text-align: left;
    min-width: 0;
}

.stat-card:first-child {
    padding-left: 0;
}

.stat-number {
    letter-spacing: -1px;
}

.stat-label {
    margin-top: 7px;
    letter-spacing: 1px;
    color: #9eafa3;
}

.stat-note {
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
    gap: 6px;
}

.stat-note span {
    color: var(--muted);
}

.stat-note strong {
    font-weight: 500;
    color: var(--lime);
}

.studio-ticker {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    white-space: nowrap;
}

.showreel {
    max-width: 1224px;
    width: calc(100% - 96px);
    margin: 72px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.showreel h2 {
    color: #eef3e9;
    margin-bottom: 18px;
}

.showreel-copy > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.7;
}

.showreel-copy .quiet-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--lime);
}

.video-showcase {
    width: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.video-showcase video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.play-overlay {
    border: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #0002;
    color: var(--lime);
}

.play-overlay:hover {
    background: #0004;
}

.play-button-circle {
    width: 65px;
    height: 65px;
    border: 0;
}

.play-button-circle svg {
    width: 27px;
}

.section-title {
    display: block;
    width: calc(100% - 96px);
    max-width: 1224px;
    border: 0 !important;
    padding: 0;
    margin: 88px auto 30px;
    color: var(--text-main) !important;
}

.section-title .eyebrow {
    display: block;
}

.section-title h2 {
    color: var(--text-main);
    margin: 0 0 12px;
}

.section-title h2 span {
    color: var(--lime);
}

.section-title p {
    color: var(--muted);
    margin: 0;
}

.games-grid {
    width: calc(100% - 96px);
    max-width: 1224px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: stretch;
}

.game-card {
    max-width: none;
}

.game-card > a {
    height: auto !important;
    flex: 1;
}

.game-thumbnail {
    aspect-ratio: 16/10;
}

.game-title {
    margin-bottom: 10px;
}

.game-desc {
    color: #a6b6a8;
    line-height: 1.6;
}

.game-stats-row {
    border: 0;
    border-top: 1px solid var(--border);
    background: transparent;
    padding: 15px 0 0;
    border-radius: 0;
    gap: 8px;
}

.g-stat {
    color: #bac8bb;
}

.wiki-btn {
    border: 1px solid #3c5536;
    font-size: 12px;
}

.role-separator {
    width: calc(100% - 96px);
    max-width: 1224px;
    margin: 28px auto 20px;
    justify-content: flex-start;
    color: #a2b49f !important;
}

.role-separator:before {
    display: none;
}

.role-name-text {
    letter-spacing: 2px;
    padding-left: 0;
}

.team-grid {
    display: grid;
    width: calc(100% - 96px);
    max-width: 1224px;
    margin: 0 auto 30px !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 26px 16px;
    text-align: center;
}

.member-avatar {
    box-shadow: none !important;
    object-fit: cover;
    margin: 0 0 17px;
}

.member-handle {
    color: #a7b5aa;
    margin: 5px 0 12px;
}

.member-role {
    padding: 5px 9px;
    box-shadow: none !important;
}

.member-socials {
    justify-content: center;
    margin-top: 16px;
}

.s-icon {
    color: #b4c5b4;
}

.studio-footer {
    max-width: 1224px;
    width: calc(100% - 96px);
    margin: 80px auto 0;
    padding: 40px 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    color: var(--muted);
    font-size: 12px;
}

.studio-footer .brand {
    color: #eaf1e4;
}

.studio-footer p {
    margin-top: 18px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    font-size: 10px;
    letter-spacing: 0.4px;
}

.blog-header {
    margin: 60px auto 25px;
}

.blog-container,
.article-container {
    margin-inline: auto;
}

.blog-header h1 {
    letter-spacing: -2px;
}

.featured-card,
.blog-card {
    background: var(--card-bg);
    border-color: var(--border);
}

.admin-site {
    display: block;
}

.workspace-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.workspace-sidebar .brand {
    padding-left: 5px;
}

.workspace-sidebar .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 22px;
}

.workspace-label {
    margin: 30px 10px;
    letter-spacing: 1.3px;
}

.workspace-sidebar nav {
    display: grid;
}

.workspace-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 13px;
}

.workspace-sidebar nav a > span {
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.workspace-sidebar nav a:hover {
    color: white;
}

.workspace-sidebar nav a[aria-current] {
    font-weight: 600;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 20px 12px 0;
}

.sidebar-bottom a {
    display: block;
    font-size: 12px;
    margin-top: 18px;
}

.sidebar-bottom .logout {
    color: #e4a49a;
}

.admin-body {
    margin: 0 0 0 238px;
    width: calc(100% - 238px);
    max-width: none;
    padding: 0 44px 40px;
}

.workspace-topbar {
    height: 77px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c0cdbb;
}

.muted {
    color: #7f957f;
    margin-left: 9px;
}

.workspace-status {
    font-size: 10px;
    color: #a1b497;
}

.workspace-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 39px 0 28px;
}

.workspace-heading .eyebrow {
    margin-bottom: 10px;
}

.workspace-heading h1 {
    margin: 0 0 10px;
}

.workspace-heading h1 span,
.login-panel h2 span {
    color: var(--lime);
}

.workspace-heading p:not(.eyebrow) {
    color: #9cad9a;
    margin: 0;
}

.workspace-heading .primary-link {
    padding: 12px 16px;
}

.workspace-summary {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 18px;
    margin-bottom: 28px;
}

.workspace-summary > a {
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.workspace-summary > a:hover {
    border-color: #a6d777;
}

.workspace-summary span {
    color: #b6c7af;
}

.workspace-summary strong {
    line-height: 1.3;
}

.workspace-summary small {
    color: #9bb18e;
}

.admin-card {
    margin-bottom: 24px;
    scroll-margin-top: 20px;
    min-width: 0;
}

.admin-card h2 {
    margin-bottom: 10px;
}

.admin-card h3 {
    font-weight: 500;
}

.card-description {
    color: #9daf9b;
    margin: 0 0 25px;
}

.admin-site label,
.login-site label {
    color: #c8d5c1;
    display: block;
    margin-bottom: 9px;
}

.admin-site input,
.admin-site select,
.admin-site textarea,
.login-site input {
    border: 1px solid #3d5039 !important;
    width: 100%;
    padding: 12px 14px !important;
    min-height: 44px;
    margin: 0 0 20px;
    box-shadow: none;
}

.admin-site input[type="hidden"] {
    display: none;
}

.admin-site input[type="checkbox"] {
    width: auto;
    min-height: auto;
}

.admin-site input::placeholder,
.admin-site textarea::placeholder,
.login-site input::placeholder {
    color: #91a087;
}

.admin-site textarea {
    min-height: 100px;
    line-height: 1.6;
}

.admin-site button,
.login-site button {
    border: 0;
    padding: 12px 19px;
    width: auto;
    min-height: 42px;
}

.admin-site button:hover,
.login-site button:hover {
    background: #d0ffa2;
}

.admin-site .delete {
    border: 1px solid #714139;
    padding: 7px 11px;
    min-height: 34px;
}

.admin-site .delete:hover {
    background: #663730;
}

.admin-site .edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 6px;
    min-height: 34px;
    font-size: 12px;
}

.admin-site .table-scroll {
    max-width: 100%;
    overflow: auto;
    margin: 16px 0 22px;
    border: 1px solid #2d4030;
}

.admin-site table {
    margin: 0;
    min-width: 490px;
    font-size: 12px;
    text-align: left;
}

.admin-site th {
    font-weight: 500;
    text-transform: uppercase;
    padding: 15px 17px;
    border-bottom: 1px solid #32462f;
}

.admin-site td {
    padding: 16px 17px;
    border-bottom: 1px solid #2b3c2c;
    color: #c2d0b9;
}

.admin-site tr:last-child td {
    border-bottom: 0;
}

.admin-site tr:hover td {
    background: #1c2d1e;
}

.admin-site td span[style*="color:#666"],
.admin-site td span[style*="color:#555"] {
    color: #9aaa92 !important;
}

.admin-site .row-form {
    flex-wrap: wrap;
    align-items: flex-start;
}

.admin-site .row-form > div {
    min-width: 140px;
}

.admin-site form[enctype] {
    border: 1px solid #33482f;
}

.admin-site .btn-small {
    margin: 3px 6px 10px 0;
}

.admin-site .msg {
    border-radius: 7px;
}

.admin-site .btn-block {
    width: auto;
}

.login-site {
    display: block;
}

.login-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.login-art {
    position: relative;
    padding: 50px 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 45px;
}

.login-art h1 {
    position: relative;
    z-index: 1;
}

.login-art p:not(.eyebrow) {
    line-height: 1.6;
}

.login-art small {
    font-size: 10px;
    letter-spacing: 2px;
}

.login-art-symbol {
    position: absolute;
    line-height: 1;
    transform: rotate(15deg);
}

.login-panel {
    padding: 50px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.back-link {
    position: absolute;
    top: 50px;
    font-size: 12px;
    color: #a0b395;
}

.login-panel form {
    max-width: 390px;
    width: 100%;
    margin: 60px auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.login-panel h2 {
    color: #eff6e9;
    margin: 0 0 12px;
}

.login-panel form > p:not(.eyebrow) {
    color: #9cae94;
    margin-bottom: 35px;
}

.login-panel input {
    margin-bottom: 23px;
    padding: 15px !important;
}

.login-panel button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
}

.login-panel small {
    display: block;
    font-size: 10px;
    color: #95a68d;
    text-align: center;
    margin-top: 23px;
}

.login-panel .login-error {
    padding: 12px;
    color: #ffb8a9 !important;
    background: #4b2924;
    border: 1px solid #795041;
    border-radius: 7px;
}

@media (min-width: 1600px) {
    .admin-body {
        padding-inline: 65px;
        max-width: 1550px;
    }
    .workspace-sidebar {
        width: 260px;
    }
    .admin-body {
        margin-left: 260px;
        width: calc(100% - 260px);
    }
}

@media (max-width: 1050px) {
    .studio-nav {
        padding-inline: 28px;
        gap: 20px;
    }
    .nav-links {
        gap: 18px;
    }
    .brand {
        font-size: 21px;
    }
    .studio-hero {
        padding: 55px 28px 0;
        gap: 25px;
    }
    .studio-hero h1 {
        letter-spacing: -2.5px;
    }
    .hero-art {
        height: 370px;
    }
    .hero-actions {
        gap: 16px;
    }
    .primary-link {
        gap: 15px;
    }
    .showreel,
    .section-title,
    .games-grid,
    .team-grid,
    .role-separator,
    .studio-footer {
        width: calc(100% - 56px);
    }
    .showreel {
        gap: 32px;
    }
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .admin-body {
        padding-inline: 25px;
        margin-left: 210px;
        width: calc(100% - 210px);
    }
    .workspace-sidebar {
        width: 210px;
        padding-inline: 12px;
    }
    .workspace-sidebar .brand {
        font-size: 18px;
    }
    .workspace-summary {
        gap: 12px;
    }
    .workspace-summary > a {
        padding: 17px;
    }
    .workspace-heading h1 {
        font-size: 31px;
    }
    .workspace-summary .summary-word {
        font-size: 21px;
    }
    .admin-card {
        padding: 22px;
    }
    .login-art {
        padding: 40px;
    }
    .login-panel {
        padding: 40px 8%;
    }
}

@media (max-width: 760px) {
    .studio-nav {
        height: auto;
        min-height: 86px;
        padding: 20px 22px;
        flex-wrap: wrap;
        gap: 20px;
    }
    .studio-nav .brand {
        font-size: 22px;
    }
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 30px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
        font-size: 13px;
    }
    .nav-cta {
        margin-left: auto;
        font-size: 11px;
        padding: 10px;
    }
    .nav-cta span {
        margin-left: 5px;
    }
    .studio-hero {
        grid-template-columns: 1fr;
        padding: 45px 22px 0;
    }
    .studio-hero h1 {
        font-size: clamp(45px, 10vw, 72px);
        letter-spacing: -2.5px;
    }
    .tagline {
        font-size: 16px;
    }
    .hero-note {
        margin-top: 24px;
    }
    .hero-art {
        height: 330px;
        margin-top: 10px;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 0;
        margin: 15px 0 30px;
    }
    .stat-card {
        padding: 0 20px;
    }
    .stat-card:nth-child(3) {
        padding-left: 0;
    }
    .stat-card:nth-child(even) {
        border: 0;
    }
    .stat-number {
        font-size: 29px;
    }
    .stat-note {
        font-size: 11px;
        padding-right: 0;
    }
    .stat-label {
        font-size: 9px;
    }
    .showreel {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 45px;
    }
    .showreel,
    .section-title,
    .games-grid,
    .team-grid,
    .role-separator,
    .studio-footer {
        width: calc(100% - 44px);
    }
    .showreel h2 {
        font-size: 29px;
    }
    .section-title {
        margin-top: 55px;
    }
    .section-title h2 {
        font-size: 30px;
    }
    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .game-info {
        padding: 17px;
    }
    .game-title {
        font-size: 18px;
    }
    .game-stats-row {
        flex-wrap: wrap;
    }
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .member-name {
        font-size: 16px;
    }
    .member-card {
        padding: 22px 12px;
    }
    .studio-footer {
        gap: 22px;
        margin-top: 55px;
    }
    .footer-links {
        gap: 23px;
    }
    .footer-bottom {
        margin-top: 0;
        gap: 15px;
    }
    .workspace-sidebar {
        position: relative;
        width: 100%;
        padding: 20px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .workspace-sidebar .brand {
        font-size: 22px;
    }
    .workspace-label {
        position: absolute;
        right: 15px;
        top: 2px;
        font-size: 8px;
    }
    .workspace-sidebar nav {
        display: flex;
        overflow: auto;
        margin-top: 20px;
        gap: 7px;
        padding-bottom: 5px;
    }
    .workspace-sidebar nav a {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 12px;
    }
    .workspace-sidebar nav a > span {
        font-size: 14px;
        min-width: 12px;
    }
    .sidebar-bottom {
        display: flex;
        justify-content: space-between;
        padding: 10px 0 0;
        gap: 15px;
    }
    .sidebar-bottom p {
        display: none;
    }
    .sidebar-bottom a {
        margin-top: 0;
        font-size: 11px;
    }
    .admin-body {
        width: 100%;
        margin: 0;
        padding: 0 20px 25px;
    }
    .workspace-topbar {
        height: 55px;
        font-size: 10px;
    }
    .workspace-heading {
        padding: 27px 0 22px;
    }
    .workspace-heading h1 {
        font-size: 28px;
    }
    .workspace-heading p:not(.eyebrow) {
        font-size: 12px;
    }
    .workspace-heading .primary-link {
        display: none;
    }
    .workspace-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .workspace-summary > a:last-child {
        grid-column: 1/-1;
    }
    .workspace-summary > a {
        padding: 17px;
    }
    .workspace-summary strong {
        font-size: 30px;
        margin: 7px 0;
    }
    .workspace-summary .summary-word {
        font-size: 22px;
        margin: 8px 0;
    }
    .admin-card {
        padding: 20px 16px;
    }
    .admin-site form div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .admin-site .row-form {
        flex-direction: column;
    }
    .admin-site .row-form > div {
        width: 100% !important;
    }
    .admin-site .row-form input,
    .admin-site .row-form select {
        margin-bottom: 8px !important;
    }
    .login-layout {
        grid-template-columns: 1fr;
    }
    .login-art {
        padding: 28px;
        gap: 28px;
        min-height: 320px;
    }
    .login-art h1 {
        font-size: 45px;
        margin-bottom: 15px;
    }
    .login-art .eyebrow {
        margin-bottom: 15px;
    }
    .login-art small {
        display: none;
    }
    .login-art-symbol {
        font-size: 210px;
        bottom: 10px;
    }
    .login-art p:not(.eyebrow) {
        font-size: 13px;
        margin: 0;
    }
    .login-panel {
        padding: 24px;
    }
    .back-link {
        position: static;
    }
    .login-panel form {
        margin: 35px auto 20px;
    }
    .login-panel h2 {
        font-size: 34px;
    }
    .blog-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 440px) {
    .nav-cta {
        font-size: 0;
        padding: 10px 13px;
    }
    .nav-cta span {
        font-size: 18px;
    }
    .nav-cta:before {
        content: "Join us";
        font-size: 12px;
        margin-right: 8px;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        gap: 18px;
    }
    .hero-actions .quiet-link {
        font-size: 12px;
    }
    .hero-actions .primary-link {
        font-size: 12px;
        padding: 14px 16px;
    }
    .footer-links {
        gap: 19px;
        font-size: 11px;
    }
    .workspace-label {
        display: none;
    }
    .studio-hero h1 {
        font-size: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
}

.role-name-text {
    text-shadow: none;
}

.role-separator:after {
    box-shadow: none;
}

.cinematic-player:hover .play-button-circle {
    background: var(--lime);
}

.admin-site [style*="background:var(--accent)"] {
    color: #19301d !important;
}

:root {
    --bg-color: #101110;
    --card-bg: #1b1d19;
    --input-bg: #11130f;
    --text-main: #f4f1df;
    --text-muted: #b6b9aa;
    --accent: #bcff35;
    --accent-hover: #d4ff83;
    --border: #3a4031;
    --lime: #bcff35;
    --muted: #b6b9aa;
}

body {
    font-family: "Space Grotesk", sans-serif;
    background: #101110;
}

h1,
h2,
h3,
.nav-links,
.nav-cta,
.primary-link,
.section-title,
.stat-number,
.comic-sticker,
.workspace-sidebar nav,
.workspace-summary strong {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}

.public-site {
    background-image: radial-gradient(#d8dfc512 0.8px, transparent 0.8px);
    background-size: 7px 7px;
}

.studio-nav {
    height: 95px;
    max-width: none;
    padding-inline: max(40px, calc((100vw - 1240px) / 2));
    border-bottom: 2px solid #f4f1df;
    position: relative;
    background: #101110;
    gap: 24px;
}

.studio-nav:after {
    content: "";
    position: absolute;
    width: 180px;
    height: 8px;
    background: var(--lime);
    bottom: -8px;
    right: 12%;
    transform: skewX(-30deg);
}

.brand {
    font-size: 23px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.brand-light {
    font-weight: 500;
}

.brand-mark {
    border-radius: 0;
    transform: rotate(-10deg);
    background: #f4f1df;
    color: #101110;
    box-shadow: 4px 4px 0 var(--lime);
}

.nav-links {
    gap: 8px;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.nav-links a {
    padding: 9px 16px;
    transform: skewX(-10deg);
}

.nav-links a:hover {
    color: #101110;
    background: var(--lime);
}

.nav-cta {
    border: 0;
    border-radius: 0;
    background: var(--lime);
    color: #101110;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 800;
    transform: rotate(-2deg);
    padding: 12px 21px;
    box-shadow: 4px 4px 0 #f4f1df;
}

.studio-hero {
    max-width: 1320px;
    grid-template-columns: 1.08fr 1fr;
    padding: 80px 40px 0;
    gap: 20px;
    position: relative;
}

.hero-copy {
    z-index: 2;
}

.eyebrow {
    font-family: "Space Grotesk", sans-serif;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.hero-copy > .eyebrow {
    display: inline-block;
    background: #f4f1df;
    color: #111 !important;
    padding: 7px 12px;
    transform: rotate(-2deg);
    margin-bottom: 26px;
}

.live-dot {
    border-radius: 0;
    box-shadow: none;
    transform: rotate(45deg);
    background: var(--lime);
}

.hero-copy > .eyebrow .live-dot {
    background: #111;
}

.studio-hero h1 {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(64px, 7.9vw, 112px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.89;
    margin-bottom: 28px;
    transform: rotate(-3deg);
    transform-origin: left center;
}

.studio-hero h1 .headline-line {
    display: block;
    color: #f4f1df;
    white-space: nowrap;
}

.studio-hero h1 .headline-lime {
    color: #101110;
    background: var(--lime);
    padding: 0 14px 9px 8px;
    width: max-content;
    box-shadow: 7px 7px 0 #f4f1df;
    margin: 10px 0 18px;
}

.studio-hero h1 .headline-small {
    font-size: 27px;
    letter-spacing: 2px;
    color: #f4f1df;
    line-height: 1.3;
    display: block;
    margin-top: 15px;
}

.tagline {
    font-size: 14px;
    color: #b6b9aa;
    max-width: 400px;
    line-height: 1.8;
    margin-top: 32px;
}

.primary-link {
    border: 2px solid #101110;
    border-radius: 0;
    background: var(--lime);
    color: #101110;
    padding: 13px 23px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 5px 5px 0 #f4f1df;
    transform: skewX(-6deg);
}

.primary-link:hover {
    transform: skewX(-6deg) translate(-2px, -2px);
    box-shadow: 7px 7px 0 #f4f1df;
    background: #ceff74;
}

.quiet-link {
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero-note {
    font-size: 10px;
    letter-spacing: 0.3px;
    margin-top: 30px;
}

.hero-note > span {
    font-size: 27px;
}

.hero-art {
    height: 475px;
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: 0;
    background: none;
    align-self: center;
    margin-left: 10px;
}

.hero-art:before {
    inset: 10px -20px -10px -30px;
    background: repeating-conic-gradient(
        from 12deg at 50% 50%,
        #bcff3522 0deg 3deg,
        transparent 3deg 19deg
    );
    mask-image: radial-gradient(ellipse, #000, transparent 70%);
    transform: rotate(7deg);
}

.comic-burst {
    position: absolute;
    inset: -25px -20px;
    background: var(--lime);
    clip-path: polygon(
        47% 0,
        56% 16%,
        78% 3%,
        75% 24%,
        100% 19%,
        87% 39%,
        100% 53%,
        81% 62%,
        95% 88%,
        69% 81%,
        63% 100%,
        47% 84%,
        26% 100%,
        28% 78%,
        0 84%,
        15% 61%,
        0 47%,
        18% 36%,
        5% 11%,
        34% 22%
    );
    transform: rotate(8deg);
    z-index: -1;
}

.comic-photo {
    position: absolute;
    inset: 30px -2px 35px 6px;
    background:
        linear-gradient(#1112, #1117),
        url("../../uploads/LZAnimationBanner.png") center/cover;
    filter: grayscale(1) contrast(1.35);
    clip-path: polygon(9% 0, 100% 8%, 90% 100%, 0 90%);
    transform: rotate(-6deg);
    border: 8px solid #f4f1df;
}

.comic-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(#0008 1px, transparent 1px);
    background-size: 4px 4px;
    mix-blend-mode: multiply;
}

.comic-star {
    position: absolute;
    left: 10px;
    bottom: 16px;
    font-family: Arial, sans-serif;
    font-size: 210px;
    line-height: 1;
    color: #f4f1df;
    text-shadow: 7px 7px 0 #111;
    transform: rotate(-14deg);
}

.comic-logo {
    position: absolute;
    right: 95px;
    top: 100px;
    width: 160px;
    height: 180px;
    display: grid;
    place-items: center;
    transform: rotate(11deg);
    background: #101110;
    clip-path: polygon(4% 0, 100% 8%, 88% 100%, 0 90%);
    filter: drop-shadow(5px 5px 0 white);
}

.comic-logo img {
    width: 145px;
    filter: grayscale(1) contrast(1.2);
    mix-blend-mode: screen;
}

.comic-sticker {
    position: absolute;
    right: -8px;
    bottom: 48px;
    background: #f4f1df;
    color: #101110;
    padding: 13px 25px;
    font-size: 37px;
    line-height: 0.85;
    font-style: italic;
    font-weight: 900;
    transform: rotate(-9deg);
    box-shadow: 7px 7px 0 #111;
}

.comic-code {
    position: absolute;
    right: 10px;
    top: 2px;
    transform: rotate(8deg);
    font-size: 9px;
    color: #111;
    background: var(--lime);
    padding: 7px 14px;
    font-weight: 700;
}

.comic-caption {
    position: absolute;
    bottom: 8px;
    left: 50px;
    background: #101110;
    color: var(--lime);
    font-size: 10px;
    padding: 9px 15px;
    transform: rotate(4deg);
    letter-spacing: 1px;
}

.stats-container {
    margin: 48px 0 42px;
    padding-top: 22px;
    border-top: 2px solid #f4f1df;
}

.stat-card {
    border-color: #60634f;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: #f4f1df;
}

.stat-label {
    font-size: 9px;
}

.stat-note strong {
    font-size: 12px;
}

.studio-ticker {
    background: var(--lime);
    color: #101110;
    border-block: 4px solid #101110;
    outline: 1px solid var(--lime);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: rotate(-1.3deg);
    padding: 12px 0;
}

.studio-ticker span:nth-child(even) {
    color: #101110;
    font-size: 30px;
}

.showreel {
    padding-top: 25px;
    gap: 70px;
}

.showreel h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.5px;
}

.showreel .eyebrow {
    background: var(--lime);
    color: #111 !important;
    display: inline-block;
    padding: 5px 9px;
    transform: rotate(-3deg);
}

.showreel-copy > p:not(.eyebrow) {
    font-size: 12px;
}

.video-showcase {
    border: 4px solid #f4f1df;
    border-radius: 0;
    box-shadow: 9px 9px 0 var(--lime);
    transform: rotate(2deg);
}

.video-showcase:hover {
    transform: rotate(2deg);
    box-shadow: 9px 9px 0 var(--lime);
}

.video-showcase video {
    border-radius: 0;
    filter: saturate(0.7);
}

.play-button-circle {
    border-radius: 0;
    transform: rotate(-10deg);
    background: var(--lime);
    box-shadow: 5px 5px 0 #111;
    color: #111;
}

.section-title {
    margin-top: 100px;
    position: relative;
    padding-left: 22px;
    border-left: 8px solid var(--lime) !important;
}

.section-title .eyebrow {
    color: #b8bca7 !important;
    font-size: 9px !important;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.section-title p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
}

.games-grid {
    gap: 28px;
}

.game-card {
    border: 2px solid #f4f1df;
    border-radius: 0;
    background: #181b15;
    overflow: visible;
    position: relative;
    box-shadow: 6px 6px 0 #4b5634;
}

.game-card:nth-child(2) {
    transform: translateY(12px);
}

.game-card:hover {
    transform: translateY(-5px) rotate(-1deg);
    border-color: var(--lime);
    box-shadow: 8px 8px 0 var(--lime);
}

.game-card > a {
    overflow: hidden;
}

.game-thumbnail {
    filter: saturate(0.65) contrast(1.1);
    border-bottom: 3px solid #f4f1df;
}

.game-title {
    font-size: 29px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.05;
    color: #f4f1df !important;
}

.game-info {
    padding: 22px;
}

.game-desc {
    font-size: 11px;
}

.game-stats-row {
    border-color: #4b513d;
}

.g-stat {
    font-size: 11px;
}

.wiki-btn {
    border-radius: 0;
    background: var(--lime);
    color: #111;
    box-shadow: 3px 3px 0 #f4f1df;
    font-weight: 700;
}

.role-separator {
    margin-top: 35px;
}

.role-name-text {
    background: #f4f1df;
    color: #111;
    padding: 7px 15px;
    font-weight: 700;
    transform: skewX(-10deg);
    font-size: 10px;
}

.role-separator:after {
    height: 2px;
    background: #f4f1df;
}

.team-grid {
    gap: 20px;
}

.member-card {
    border-radius: 0;
    border: 2px solid #697151;
    box-shadow: 5px 5px 0 #323a23;
    background: linear-gradient(160deg, #252d19 0 35%, #151812 35%);
    position: relative;
}

.member-card:hover {
    border-color: var(--lime);
    transform: rotate(-2deg);
}

.member-avatar {
    border-radius: 0;
    background: #373c2b;
    transform: rotate(-5deg);
    border: 3px solid #f4f1df !important;
    width: 95px;
    height: 95px;
}

.member-name {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
}

.member-role {
    border-radius: 0;
    color: #111 !important;
    background: var(--lime) !important;
    border: 0 !important;
    font-weight: 700;
    font-size: 9px;
}

.member-handle {
    font-size: 11px;
}

.studio-footer {
    border-top: 3px solid #f4f1df;
    padding-top: 35px;
}

.studio-footer .brand {
    font-size: 24px;
}

.footer-bottom {
    border-color: #555a45;
}

.featured-card,
.blog-card,
.comment-form {
    border-radius: 0;
    border: 2px solid #eeeedd;
}

.blog-header h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 65px;
}

.admin-site {
    background: #131510;
}

.workspace-sidebar {
    background: #0a0c09;
    border-right: 3px solid var(--lime);
    width: 238px;
}

.workspace-sidebar .brand {
    font-size: 19px;
}

.workspace-label {
    color: #c6ceb4;
    font-size: 8px;
}

.workspace-sidebar nav {
    gap: 10px;
}

.workspace-sidebar nav a {
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    color: #d4d7c7;
    padding: 10px 13px;
    letter-spacing: 0.4px;
}

.workspace-sidebar nav a[aria-current] {
    background: var(--lime);
    color: #101110;
    transform: skewY(-3deg);
    box-shadow: 4px 4px 0 #f4f1df;
}

.workspace-sidebar nav a:hover {
    background: #384322;
}

.workspace-sidebar nav a[aria-current]:hover {
    background: var(--lime);
}

.sidebar-bottom p {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #f4f1df;
    line-height: 1.05;
}

.sidebar-bottom a {
    color: #b8c2a3;
}

.workspace-topbar {
    border-bottom: 1px solid #535b43;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.workspace-heading {
    padding-top: 36px;
}

.workspace-heading h1 {
    font-size: 52px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
}

.workspace-heading .eyebrow {
    font-size: 8px !important;
}

.workspace-heading p:not(.eyebrow) {
    font-size: 11px;
}

.workspace-heading .primary-link {
    font-size: 16px;
    border: 0;
    border-radius: 0;
}

.workspace-summary > a {
    border: 1px solid #697451;
    border-radius: 0;
    background: #202719;
    box-shadow: 4px 4px 0 #090b06;
    position: relative;
    overflow: hidden;
}

.workspace-summary > a:after {
    content: "↗";
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 25px;
    color: var(--lime);
}

.workspace-summary > a:first-child {
    background: var(--lime);
    border-color: var(--lime);
}

.workspace-summary > a:first-child span,
.workspace-summary > a:first-child strong,
.workspace-summary > a:first-child small,
.workspace-summary > a:first-child:after {
    color: #17200b;
}

.workspace-summary span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.workspace-summary strong {
    font-size: 49px;
    font-weight: 800;
    color: #f4f1df;
    margin: 5px 0;
}

.workspace-summary .summary-word {
    font-size: 29px;
    text-transform: uppercase;
    margin: 15px 0;
}

.workspace-summary small {
    font-size: 9px;
}

.admin-card {
    background: #1c2118;
    border: 1px solid #4b563a;
    border-top: 4px solid #768b4f;
    border-radius: 0;
    padding: 27px;
}

.admin-card h2 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #f4f1df;
}

.admin-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
}

.card-description {
    font-size: 11px;
}

.admin-site input,
.admin-site select,
.admin-site textarea,
.login-site input {
    border-radius: 0 !important;
    background: #10150c !important;
    border-color: #576447 !important;
    color: #f4f1df !important;
    font-size: 12px;
}

.admin-site label,
.login-site label {
    font-size: 11px;
}

.admin-site button,
.login-site button {
    border-radius: 0;
    background: var(--lime);
    color: #17200b;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 3px 3px 0 #070b04;
}

.admin-site .table-scroll {
    border-radius: 0;
    border-color: #4b563a;
}

.admin-site th {
    background: #29331d;
    font-size: 9px;
    letter-spacing: 1px;
    color: #d0dbbe;
}

.admin-site td {
    font-size: 11px;
    border-color: #3b472d;
}

.admin-site .edit,
.admin-site .delete {
    border-radius: 0;
    font-size: 11px;
}

.admin-site .edit {
    background: #394a25;
    color: #e5f3d0;
}

.admin-site .delete {
    background: #452a25;
    color: #ffc4b6;
    box-shadow: none;
}

.admin-site form[enctype] {
    border-radius: 0 !important;
    background: #161c12 !important;
}

.admin-site .btn-small {
    border-radius: 0;
    background: #344324;
    color: #e8f6d6;
    padding: 12px 16px;
}

.admin-site .btn-small:hover {
    background: var(--lime);
    color: #111;
}

.login-site {
    background: #11130f;
}

.login-art {
    background: var(--lime);
    color: #101110;
    border-right: 5px solid #f4f1df;
    background-image: radial-gradient(#10111033 1px, transparent 1px);
    background-size: 6px 6px;
}

.login-art .brand-mark {
    background: #101110;
    color: var(--lime);
    box-shadow: 4px 4px 0 #f4f1df;
}

.login-art .eyebrow {
    color: #101110 !important;
    background: #f4f1df;
    display: inline-block;
    padding: 7px 12px;
    transform: rotate(-3deg);
}

.login-art h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(70px, 7vw, 105px);
    font-weight: 900;
    line-height: 0.87;
    letter-spacing: -2px;
    transform: rotate(-4deg);
}

.login-art h1 span {
    color: #f4f1df;
    background: #101110;
    padding: 0 12px 8px;
    display: inline-block;
    margin-top: 12px;
}

.login-art p:not(.eyebrow) {
    color: #202b13;
    font-weight: 600;
    font-size: 13px;
    max-width: 300px;
}

.login-art small {
    color: #101110;
    font-weight: 700;
}

.login-art-symbol {
    color: #101110;
    font-size: 280px;
    right: -80px;
    bottom: 90px;
    opacity: 0.13;
}

.login-panel h2 {
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: 54px;
    font-weight: 800;
    letter-spacing: 0;
}

.login-panel form > p:not(.eyebrow) {
    font-size: 12px;
}

.login-panel button {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    box-shadow: 5px 5px 0 #f4f1df;
    transform: skewX(-4deg);
}

@media (min-width: 1600px) {
    .admin-body {
        margin-left: 238px;
        width: calc(100% - 238px);
    }
}

@media (max-width: 1050px) {
    .studio-nav {
        padding-inline: 28px;
    }
    .nav-links a {
        padding: 9px 10px;
    }
    .nav-links {
        font-size: 17px;
    }
    .nav-cta {
        font-size: 15px;
        padding-inline: 14px;
    }
    .studio-hero {
        padding-inline: 28px;
    }
    .studio-hero h1 {
        font-size: 84px;
    }
    .hero-art {
        height: 405px;
    }
    .comic-logo {
        right: 65px;
        top: 100px;
        width: 125px;
        height: 140px;
    }
    .comic-logo img {
        width: 110px;
    }
    .comic-sticker {
        font-size: 31px;
    }
    .studio-hero h1 .headline-small {
        font-size: 22px;
    }
    .hero-actions {
        gap: 22px;
    }
    .primary-link {
        font-size: 17px;
        padding: 12px 18px;
    }
    .workspace-sidebar {
        width: 210px;
    }
    .admin-body {
        margin-left: 210px;
        width: calc(100% - 210px);
    }
    .workspace-sidebar nav a {
        font-size: 17px;
    }
    .workspace-heading h1 {
        font-size: 43px;
    }
}

@media (max-width: 760px) {
    .studio-nav {
        padding: 20px 22px;
        height: auto;
        gap: 18px;
    }
    .studio-nav .brand {
        font-size: 21px;
    }
    .nav-links {
        padding-top: 10px;
        gap: 15px;
        border: 0;
        font-size: 18px;
    }
    .nav-links a {
        padding: 5px 10px;
    }
    .nav-cta {
        font-size: 14px;
        box-shadow: 3px 3px 0 #f4f1df;
        padding: 9px 13px;
    }
    .studio-hero {
        padding: 43px 22px 0;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .studio-hero h1 {
        font-size: clamp(68px, 13.7vw, 100px);
        letter-spacing: -1px;
    }
    .studio-hero h1 .headline-small {
        font-size: 23px;
        letter-spacing: 1px;
    }
    .hero-copy > .eyebrow {
        font-size: 8px !important;
        letter-spacing: 1px;
    }
    .tagline {
        margin-top: 25px;
        font-size: 13px;
    }
    .hero-note {
        margin-top: 26px;
    }
    .hero-art {
        height: 360px;
        max-width: 480px;
        width: calc(100% - 30px);
        margin: 10px auto 0;
    }
    .comic-photo {
        inset: 24px 0 20px;
    }
    .comic-logo {
        right: 75px;
        top: 75px;
        width: 135px;
        height: 155px;
    }
    .comic-logo img {
        width: 120px;
    }
    .comic-burst {
        inset: -10px -10px;
    }
    .comic-sticker {
        bottom: 36px;
        right: 0;
        font-size: 31px;
    }
    .comic-caption {
        bottom: 0;
        left: 40px;
        font-size: 8px;
    }
    .comic-star {
        font-size: 170px;
        bottom: 5px;
        left: -5px;
    }
    .comic-code {
        top: 3px;
        right: 0;
        font-size: 8px;
    }
    .stats-container {
        margin-top: 15px;
        border-top: 2px solid #f4f1df;
    }
    .stat-number {
        font-size: 37px;
    }
    .studio-ticker {
        font-size: 18px;
        gap: 25px;
        padding: 8px 0;
    }
    .showreel {
        gap: 30px;
        padding-top: 15px;
    }
    .showreel h2 {
        font-size: 40px;
    }
    .section-title {
        margin-top: 65px;
        padding-left: 14px;
        border-left-width: 5px !important;
    }
    .section-title h2 {
        font-size: 43px;
    }
    .section-title p {
        font-size: 11px;
    }
    .section-title .eyebrow {
        font-size: 8px !important;
        letter-spacing: 1px;
    }
    .games-grid {
        gap: 22px;
    }
    .game-card:nth-child(2) {
        transform: none;
    }
    .game-title {
        font-size: 26px;
    }
    .game-info {
        padding: 18px;
    }
    .team-grid {
        gap: 16px;
    }
    .member-card {
        padding: 22px 10px;
    }
    .member-name {
        font-size: 22px;
    }
    .member-avatar {
        width: 82px;
        height: 82px;
    }
    .member-role {
        font-size: 8px;
        padding: 5px 7px;
    }
    .studio-footer {
        margin-top: 60px;
    }
    .workspace-sidebar {
        width: 100%;
        border-right: 0;
        border-bottom: 3px solid var(--lime);
    }
    .workspace-sidebar nav {
        padding: 3px 3px 8px;
    }
    .workspace-sidebar nav a {
        font-size: 16px;
        padding: 9px 13px;
    }
    .workspace-sidebar nav a[aria-current] {
        transform: none;
        box-shadow: 3px 3px 0 #f4f1df;
    }
    .workspace-label {
        font-size: 7px;
    }
    .admin-body {
        margin: 0;
        width: 100%;
        padding-inline: 20px;
    }
    .workspace-heading h1 {
        font-size: 41px;
    }
    .workspace-heading .eyebrow {
        font-size: 7px !important;
    }
    .workspace-topbar {
        font-size: 8px;
    }
    .workspace-summary strong {
        font-size: 43px;
    }
    .workspace-summary .summary-word {
        font-size: 27px;
    }
    .workspace-summary > a {
        padding: 18px;
    }
    .workspace-summary > a:after {
        font-size: 18px;
        right: 12px;
    }
    .workspace-summary span {
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    .admin-card {
        padding: 20px 16px;
    }
    .admin-card h2 {
        font-size: 27px;
    }
    .login-art {
        min-height: 395px;
        border-right: 0;
        border-bottom: 4px solid #f4f1df;
        padding: 30px;
        gap: 34px;
    }
    .login-art h1 {
        font-size: 68px;
        margin-bottom: 20px;
    }
    .login-art h1 span {
        padding-bottom: 4px;
    }
    .login-art-symbol {
        bottom: 40px;
        right: -20px;
        font-size: 240px;
    }
    .login-panel h2 {
        font-size: 45px;
    }
    .login-panel {
        padding: 30px 24px;
    }
    .login-panel form {
        margin-top: 35px;
    }
    .login-art .eyebrow {
        font-size: 9px !important;
    }
    .blog-header h1 {
        font-size: 48px;
    }
}

@media (max-width: 440px) {
    .nav-cta {
        font-size: 0;
        padding: 8px 12px;
    }
    .nav-cta:before {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 17px;
        text-transform: uppercase;
    }
    .nav-cta span {
        font-size: 16px;
    }
    .studio-hero h1 {
        font-size: 70px;
    }
    .studio-hero h1 .headline-small {
        font-size: 22px;
    }
    .hero-actions .primary-link {
        font-size: 17px;
        padding: 12px 18px;
    }
    .hero-actions .quiet-link {
        font-size: 10px;
    }
    .comic-code {
        font-size: 7px;
    }
    .comic-caption {
        font-size: 7px;
    }
    .section-title h2 {
        font-size: 40px;
    }
    .footer-links {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

.games-grid,
.team-grid,
.stats-container {
    opacity: 1;
    animation: none;
}

.studio-ticker {
    width: calc(100% - 24px);
    margin: 12px;
    min-width: 0;
}

.studio-hero {
    overflow: clip;
}

@media (max-width: 760px) {
    .nav-links {
        gap: 8px;
        justify-content: space-between;
    }
    .nav-links a {
        white-space: nowrap;
        font-size: 16px;
        padding: 5px 8px;
    }
}

.hero-art .comic-logo {
    animation: studio-float 5.5s ease-in-out infinite;
}

.hero-art .comic-sticker {
    animation: studio-float 6.5s ease-in-out -2s infinite reverse;
}

.hero-art .comic-star {
    animation: studio-turn 8s ease-in-out infinite;
}

.hero-art .comic-burst {
    animation: studio-breathe 7s ease-in-out infinite;
    transform-origin: center;
}

.brand-mark {
    transition:
        rotate 0.25s ease,
        box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
    rotate: 8deg;
}

.game-card,
.member-card,
.workspace-summary > a {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        translate 0.25s ease;
}

.game-thumbnail {
    transition:
        filter 0.35s ease,
        scale 0.45s ease;
}

.game-card:hover .game-thumbnail {
    filter: saturate(1) contrast(1.05);
    scale: 1.025;
}

.nav-links a,
.workspace-sidebar nav a {
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        translate 0.2s ease;
}

.workspace-sidebar nav a:hover {
    translate: 3px 0;
}

.primary-link > span,
.nav-cta > span {
    display: inline-block;
    transition: translate 0.22s ease;
}

.primary-link:hover > span,
.nav-cta:hover > span {
    translate: 3px -3px;
}

.primary-link:active,
.admin-site button:active,
.login-panel button:active {
    translate: 2px 2px;
}

.admin-site input,
.admin-site select,
.admin-site textarea,
.login-site input {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-site input:focus,
.admin-site textarea:focus,
.login-site input:focus {
    box-shadow: 3px 3px 0 #759c8033;
}

.motion-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    width: auto;
    min-height: 36px;
    border: 1px solid #71816b;
    background: #102017;
    color: #e7eee1;
    padding: 9px 12px;
    border-radius: 4px;
    font:
        11px "Space Grotesk",
        sans-serif;
    box-shadow: 3px 3px 0 #0005;
    cursor: pointer;
}

.admin-site .motion-toggle,
.login-site .motion-toggle {
    background: #102017;
    color: #e7eee1;
    font-size: 11px;
    border: 1px solid #71816b;
    box-shadow: 3px 3px 0 #0005;
}

.motion-toggle:hover {
    background: #294632;
}

.motion-toggle:disabled {
    cursor: default;
    opacity: 0.85;
}

.motion-off *,
.motion-off *:before,
.motion-off *:after {
    animation: none !important;
    transition: none !important;
}

.motion-background *,
.motion-background *:before,
.motion-background *:after {
    animation-play-state: paused !important;
}

@keyframes studio-float {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

@keyframes studio-turn {
    0%,
    100% {
        rotate: -5deg;
    }
    50% {
        rotate: 8deg;
    }
}

@keyframes studio-breathe {
    0%,
    100% {
        scale: 1;
    }
    50% {
        scale: 1.025;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 760px) {
    .motion-toggle {
        right: 10px;
        bottom: 10px;
        font-size: 10px;
        padding: 8px 10px;
    }
    .hero-art .comic-burst {
        animation: none;
    }
}

/* === Team centering fix (2026-09) === */
/* Keep the existing member-card design, but center partial role rows instead of
   leaving empty fixed grid columns on the right. */
.public-site .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.public-site .team-grid .member-card {
    width: auto;
    flex: 0 1 calc((100% - 60px) / 4);
    max-width: 291px;
}

@media (max-width: 1050px) {
    .public-site .team-grid .member-card {
        flex-basis: calc((100% - 40px) / 3);
        max-width: 320px;
    }
}

@media (max-width: 760px) {
    .public-site .team-grid .member-card {
        flex-basis: calc((100% - 12px) / 2);
        max-width: none;
    }
}

@media (max-width: 460px) {
    .public-site .team-grid .member-card {
        flex-basis: 100%;
        max-width: 320px;
    }
}
