@font-face {
    font-family: 'Bank Gothic';
    src: url('/fonts/BankGothicBT-Light.woff2') format('woff2'),
    url('/fonts/BankGothicBT-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bank Gothic';
    src: url('/fonts/BankGothicBT-Medium.woff2') format('woff2'),
    url('/fonts/BankGothicBT-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #020202;
    --bg-2: #0a0a0a;
    --panel: #101010;
    --panel-2: #151515;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f3f0e8;
    --muted: #bdb6aa;
    --soft: #827c72;
    --accent: #d5ae67;
    --accent-deep: #a17b3a;
    --max: 1260px;
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: Arial, sans-serif;
    background:
        linear-gradient(180deg, rgba(213, 174, 103, 0.08), transparent 220px),
        linear-gradient(180deg, #020202 0%, #050505 38%, #020202 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 12%, rgba(213, 174, 103, 0.08), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.04), transparent 16%);
    opacity: 0.9;
}

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

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 18px 0;
}

.nav-shell {
    width: min(100%, var(--max));
    margin: 0 auto;
    min-height: 84px;
    padding: 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(6, 6, 6, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.84rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
}

main {
    padding: 34px 18px 72px;
}

.hero,
.section-shell {
    width: min(100%, var(--max));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
    gap: 24px;
    align-items: stretch;
    padding: 18px 0 28px;
}

.hero-copy,
.hero-visual,
.content-panel,
.feature-card,
.page-card,
.compact-card,
.image-prompt-card,
.contact-card,
.timeline-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.005)), var(--panel);
    box-shadow: var(--shadow);
}

.hero-copy::after,
.hero-visual::after,
.content-panel::after,
.feature-card::after,
.page-card::after,
.compact-card::after,
.image-prompt-card::after,
.contact-card::after,
.timeline-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 30%);
    pointer-events: none;
}

.hero-copy {
    padding: 42px;
}

.hero-visual {
    padding: 18px;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 640px;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 8px);
}

.hero-home .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 670px;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: 'Bank Gothic', Arial, sans-serif;
    font-weight: 300;
}

h1 {
    max-width: 17ch;
    margin-top: 16px;
    font-size: clamp(1.95rem, 3.35vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: 0.02rem;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.7rem, 2.45vw, 2.45rem);
    line-height: 1.06;
    text-wrap: balance;
}

h3 {
    font-size: 1.34rem;
    line-height: 1.12;
}

.hero-text,
.content-panel p,
.feature-card p,
.page-card p,
.image-prompt-card p,
.contact-card p,
.timeline-card p,
.footer-copy,
.intro-note p,
.stat-card p {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.8;
}

.hero-text {
    max-width: 58ch;
    margin-top: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.button-primary {
    color: #120e07;
    background: linear-gradient(180deg, #e0bc79, #cda15a);
}

.button-secondary {
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
}

.stat-grid,
.card-grid,
.contact-grid,
.timeline-grid,
.kicker-grid,
.mini-metrics {
    display: grid;
    gap: 18px;
}

.stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.stat-card,
.feature-card,
.page-card,
.contact-card,
.timeline-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
}

.stat-card span,
.prompt-label {
    color: var(--soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    margin-top: 16px;
    font-family: 'Bank Gothic', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
}

.stat-card p {
    margin-top: 10px;
}

.image-prompt-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 34%),
        radial-gradient(circle at top right, rgba(213, 174, 103, 0.18), transparent 24%),
        var(--panel-2);
}

.image-prompt-card h2 {
    max-width: 9ch;
    margin-top: 16px;
}

.image-prompt-card p:last-child {
    margin-top: auto;
    padding-top: 26px;
}

.section-shell {
    padding-top: 30px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.section-heading h2 {
    margin-top: 10px;
    max-width: 11ch;
}

.section-heading .section-note {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
    max-width: 34ch;
    justify-self: end;
}

.summary-heading {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.75fr);
    gap: 36px;
    align-items: center;
}

.summary-heading h2 {
    max-width: 12ch;
}

.summary-heading .section-note {
    max-width: 30ch;
    justify-self: start;
}

.card-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.compact-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
    align-items: stretch;
}

.compact-card-image-wrap {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 4px);
    background: rgba(255, 255, 255, 0.02);
}

.compact-card-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: center;
}

.compact-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 2px 4px 0;
}

.compact-card-copy h3 {
    margin-top: 10px;
    max-width: 18ch;
}

.compact-card-copy p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.72;
}

.team-member-card {
    display: block;
}

.team-member-image {
    float: left;
    width: 168px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 4px);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    margin: 2px 18px 12px 0;
}

.team-member-copy h3,
.team-member-copy p {
    margin-top: 0;
}

.team-member-copy p {
    margin-top: 12px;
}

.team-member-copy::after {
    content: "";
    display: block;
    clear: both;
}

.compact-card-copy .text-link {
    display: inline-flex;
    margin-top: 14px;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.game-tile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow);
}

.game-tile-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.game-tile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.game-tile-button:hover .game-tile-image,
.game-tile-button:focus-visible .game-tile-image {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(8px);
}

.lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1080px);
}

.lightbox-image {
    width: 100%;
    max-height: calc(100vh - 96px);
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: #090909;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.78);
    color: var(--white);
    font-size: 0.82rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    cursor: pointer;
}

.card-grid-2,
.contact-grid,
.timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.page-card,
.contact-card,
.timeline-card {
    min-height: 220px;
}

.feature-card h3,
.page-card h3,
.content-panel h2,
.contact-card h3,
.timeline-card h3 {
    margin-top: 12px;
}

.feature-card p,
.page-card p,
.contact-card p,
.timeline-card p,
.content-panel p {
    margin-top: 12px;
}

.feature-card a,
.page-card a,
.mini-links a,
.text-link {
    color: var(--accent);
    font-weight: 700;
}

.feature-card a,
.page-card a {
    display: inline-flex;
    margin-top: 18px;
}

.split-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-panel {
    padding: 28px;
}

.content-panel-image {
    width: 100%;
    margin-top: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.content-panel-image-small {
    width: 380px;
    max-width: 100%;
}

.content-panel-image-centred {
    margin-left: auto;
    margin-right: auto;
}

.alt-panel {
    background:
        linear-gradient(180deg, rgba(213, 174, 103, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.005)),
        var(--panel);
}

.bullet-list {
    margin-top: 16px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.95;
}

.mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.page-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.team-hero .hero-copy {
    padding: 30px 38px;
}

.team-hero .hero-image {
    min-height: 470px;
}

.contacts-hero .hero-copy {
    padding: 30px 38px;
}

.contacts-hero .hero-image {
    min-height: 430px;
}

.squadmatic-hero .hero-copy {
    padding: 32px 40px;
}

.squadmatic-hero .hero-image {
    min-height: 500px;
}

.page-hero-single {
    grid-template-columns: 1fr;
}

.page-hero-single .hero-copy-main {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(240px, 320px);
    gap: 28px;
    align-items: center;
}

.page-hero-single h1 {
    max-width: 22ch;
}

.page-hero-single .hero-text {
    max-width: 72ch;
}

.hero-copy-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-side-image {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.kicker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.kicker-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}

.kicker-box strong {
    display: block;
    font-family: 'Bank Gothic', Arial, sans-serif;
    font-size: 1rem;
}

.kicker-box p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.mini-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
}

.mini-metrics .metric {
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.mini-metrics strong {
    display: block;
    color: var(--accent);
    font-family: 'Bank Gothic', Arial, sans-serif;
    font-size: 2.3rem;
    line-height: 1;
}

.mini-metrics span {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.site-footer {
    padding: 0 18px 36px;
}

.footer-grid {
    width: min(100%, var(--max));
    margin: 0 auto;
    padding: 24px 28px;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #0a0a0a;
    text-align: center;
}

.footer-logo {
    height: 44px;
    width: auto;
    margin: 0 auto;
}

.footer-copy {
    max-width: 48ch;
    margin-top: 12px;
}

.footer-contact {
    margin-top: 10px;
    color: var(--accent);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-address,
.footer-policy {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-policy a {
    color: var(--accent);
    font-weight: 700;
}

.footer-legal {
    margin-top: 14px;
    color: var(--soft);
    font-size: 0.7rem;
    letter-spacing: 0.08rem;
    line-height: 1.5;
    text-transform: uppercase;
}

@media (max-width: 1040px) {
    .hero,
    .page-hero,
    .split-section,
    .compact-card-grid,
    .compact-card,
    .section-heading,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card-grid-3,
    .card-grid-2,
    .stat-grid,
    .game-gallery,
    .contact-grid,
    .timeline-grid,
    .kicker-grid,
    .mini-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    h1 {
        max-width: 12ch;
    }

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

    .page-hero-single .hero-copy-main {
        grid-template-columns: 1fr;
    }

    .hero-copy-side {
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 18px;
        right: 18px;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(8, 8, 8, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.active {
        display: flex;
    }

    .site-nav a {
        width: 100%;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    .nav-shell {
        min-height: 74px;
        padding: 0 18px;
    }

    .brand-logo {
        height: 40px;
    }

    main {
        padding-top: 22px;
    }

    .hero-copy,
    .content-panel,
    .image-prompt-card,
    .compact-card {
        padding: 24px;
    }

    .hero-image {
        min-height: 420px;
    }

    .game-gallery,
    .card-grid-3,
    .card-grid-2,
    .stat-grid,
    .contact-grid,
    .timeline-grid,
    .kicker-grid,
    .mini-metrics {
        grid-template-columns: 1fr;
    }

    .compact-card-image {
        min-height: 260px;
    }

    .compact-card-copy {
        padding: 0;
    }

    .hero-home .hero-copy {
        min-height: auto;
    }

    h1 {
        font-size: clamp(1.75rem, 7.2vw, 2.35rem);
        line-height: 0.98;
        max-width: 14ch;
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-text,
    .content-panel p,
    .feature-card p,
    .page-card p,
    .image-prompt-card p,
    .contact-card p,
    .timeline-card p,
    .footer-copy,
    .stat-card p {
        font-size: 0.98rem;
        line-height: 1.72;
    }
}
