/* Shards of Abraxas press kit */
:root {
    --press-ink: #101521;
    --press-ink-soft: #192235;
    --press-paper: #f3f0e8;
    --press-paper-deep: #e8e3d6;
    --press-blue: #77b6dd;
    --press-blue-bright: #b5def5;
    --press-violet: #8477c9;
    --press-coral: #dc6a5c;
    --press-line: rgba(23, 36, 57, 0.16);
    --press-shadow: 0 20px 55px rgba(10, 18, 32, 0.16);
}

html {
    scroll-behavior: smooth;
}

body.press-page {
    background: var(--press-paper);
    color: var(--press-ink);
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.press-page h1,
.press-page h2,
.press-page h3,
.press-page p {
    text-wrap: pretty;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -5rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--press-ink);
    border-radius: 0.35rem;
}

.skip-link:focus {
    top: 1rem;
}

.press-navbar {
    background: var(--press-ink);
    box-shadow: none;
}

.press-navbar .nav-brand h1 {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.press-navbar .nav-brand a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: white;
    text-decoration: none;
}

.press-navbar .nav-brand img {
    width: 32px;
    height: 32px;
    display: block;
    image-rendering: pixelated;
}

.press-navbar .nav-menu a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.press-navbar .nav-menu a:hover,
.press-navbar .nav-menu a:focus-visible {
    color: var(--press-blue-bright);
}

.press-hero {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
    color: white;
    background: var(--press-ink) url("https://polecatgames.com/assets/shards-capsule-hero.png") center 30% / cover no-repeat;
}

.press-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.24;
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(119, 182, 221, 0.38) 38.2% 38.5%, transparent 38.7%),
        linear-gradient(65deg, transparent 0 72%, rgba(132, 119, 201, 0.4) 72.2% 72.5%, transparent 72.7%);
}

.press-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(9, 14, 24, 0.94) 0%, rgba(9, 14, 24, 0.66) 48%, rgba(9, 14, 24, 0.34) 100%),
        linear-gradient(0deg, rgba(9, 14, 24, 0.95) 0%, transparent 65%);
}

.press-hero-content {
    width: 100%;
    padding-top: 7rem;
    padding-bottom: 5.5rem;
}

.press-hero-mark {
    width: clamp(92px, 12vw, 128px);
    height: auto;
    display: block;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.48));
    image-rendering: pixelated;
}

.eyebrow,
.section-kicker {
    margin-bottom: 0.75rem;
    color: #567995;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.press-hero .eyebrow {
    color: var(--press-blue-bright);
}

.press-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.4rem, 9vw, 7.5rem);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: -0.055em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.press-hero-tagline {
    max-width: 700px;
    margin: 1.65rem 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    letter-spacing: 0.025em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.press-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.press-button:hover {
    transform: translateY(-2px);
}

.press-button-primary {
    background: var(--press-coral);
    color: white;
}

.press-button-primary:hover,
.press-button-primary:focus-visible {
    background: #c9584b;
}

.press-button-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: white;
    background: rgba(10, 15, 25, 0.28);
    backdrop-filter: blur(8px);
}

.press-button-ghost:hover,
.press-button-ghost:focus-visible {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.kit-updated {
    margin-top: 2.4rem;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.press-index {
    position: sticky;
    top: 70px;
    z-index: 50;
    overflow-x: auto;
    background: rgba(243, 240, 232, 0.94);
    border-bottom: 1px solid var(--press-line);
    backdrop-filter: blur(16px);
}

.press-index-inner {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 1.35rem;
    white-space: nowrap;
}

.press-index-label {
    margin-right: 0.3rem;
    color: #68707b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.press-index a {
    color: var(--press-ink);
    font-size: 0.87rem;
    font-weight: 650;
    text-decoration: none;
}

.press-index a:hover,
.press-index a:focus-visible {
    color: #9e4035;
}

.press-section {
    padding: clamp(5rem, 9vw, 8.5rem) 20px;
    scroll-margin-top: 130px;
}

.press-section h2,
.press-contact h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.press-section-light {
    background: var(--press-paper);
}

.press-section-ink {
    color: white;
    background: var(--press-ink);
}

.overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: clamp(3rem, 8vw, 7rem);
    align-items: start;
}

.overview-copy h2 {
    max-width: 760px;
}

.lede {
    max-width: 740px;
    margin-top: 2rem;
    color: #414957;
    font-size: clamp(1.1rem, 2vw, 1.32rem);
    line-height: 1.75;
}

.status-note {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--press-line);
    border-radius: 999px;
    color: #4d5664;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.46);
}

.status-pulse {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
    background: #58a06e;
    box-shadow: 0 0 0 5px rgba(88, 160, 110, 0.13);
}

.factsheet {
    padding: 2rem;
    border-top: 4px solid var(--press-violet);
    background: white;
    box-shadow: var(--press-shadow);
}

.factsheet h2 {
    margin-bottom: 1.4rem;
    font-family: inherit;
    font-size: 1.45rem;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.factsheet dl > div {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--press-line);
}

.factsheet dt {
    color: #737b86;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.factsheet dd {
    margin: 0;
    color: #303846;
    font-size: 0.92rem;
}

.factsheet a,
.usage-note a {
    color: #365f7c;
    text-underline-offset: 0.2em;
}

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

.section-heading-row > p {
    max-width: 380px;
    color: #69727f;
}

.press-section-ink .section-kicker,
.media-section .section-kicker,
.studio-section .section-kicker,
.press-contact .section-kicker {
    color: var(--press-blue-bright);
}

.press-section-ink .section-heading-row > p {
    color: rgba(255, 255, 255, 0.54);
}

.copy-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1.25rem;
}

.copy-card {
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.045);
}

.copy-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.copy-length,
.asset-status {
    color: var(--press-blue-bright);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.copy-card h3 {
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.copy-card > p,
.copy-card #full-description {
    color: rgba(255, 255, 255, 0.73);
    font-size: 1.02rem;
    line-height: 1.78;
}

.copy-card #full-description p + p {
    margin-top: 1.15rem;
}

.copy-button {
    flex: 0 0 auto;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0.25rem;
    color: white;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
}

.copy-button:hover,
.copy-button:focus-visible {
    border-color: var(--press-blue-bright);
    color: var(--press-blue-bright);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3.8rem;
    border-top: 1px solid var(--press-line);
}

.feature-list article {
    position: relative;
    padding: 2rem 2rem 2.2rem 0;
    border-bottom: 1px solid var(--press-line);
}

.feature-list article:nth-child(odd) {
    padding-right: 3.5rem;
    border-right: 1px solid var(--press-line);
}

.feature-list article:nth-child(even) {
    padding-left: 3.5rem;
}

.feature-number {
    color: #8f98a3;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.8rem;
}

.feature-list h3 {
    margin: 0.5rem 0 0.55rem;
    font-size: 1.25rem;
}

.feature-list p {
    max-width: 520px;
    color: #626b78;
    line-height: 1.7;
}

.media-section {
    color: white;
    background: var(--press-ink-soft);
}

.media-heading > p {
    color: rgba(255, 255, 255, 0.56);
}

.trailer-placeholder {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        radial-gradient(circle at 15% 40%, rgba(119, 182, 221, 0.18), transparent 30%),
        radial-gradient(circle at 85% 55%, rgba(132, 119, 201, 0.18), transparent 32%),
        #111826;
}

.trailer-mark {
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.trailer-mark span {
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid white;
}

.trailer-placeholder h3 {
    margin: 0.35rem 0 0.5rem;
    font-size: 1.45rem;
}

.trailer-placeholder > div:last-child > p:last-child {
    color: rgba(255, 255, 255, 0.58);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.press-screenshot {
    margin: 0;
    background: #0d131e;
}

.press-screenshot-wide {
    grid-column: 1 / -1;
}

.press-screenshot button {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #0b1018;
    cursor: zoom-in;
}

.press-screenshot img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transition: transform 350ms ease, opacity 350ms ease;
}

.press-screenshot button:hover img,
.press-screenshot button:focus-visible img {
    opacity: 0.72;
    transform: scale(1.025);
}

.image-action {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.7rem;
    color: white;
    background: rgba(8, 13, 22, 0.78);
    font-size: 0.72rem;
    font-weight: 750;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.press-screenshot button:hover .image-action,
.press-screenshot button:focus-visible .image-action {
    opacity: 1;
    transform: translateY(0);
}

.press-screenshot figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8rem;
}

.press-screenshot figcaption strong {
    color: rgba(255, 255, 255, 0.9);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.asset-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.75fr) 1fr;
    min-height: 270px;
    border: 1px solid var(--press-line);
    background: rgba(255, 255, 255, 0.62);
}

.asset-card-featured {
    grid-column: 1 / -1;
    grid-template-columns: 240px 1fr;
    min-height: 210px;
    color: white;
    background: var(--press-ink);
}

.asset-preview {
    min-height: 210px;
}

.asset-preview-logo {
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(119, 182, 221, 0.18), rgba(132, 119, 201, 0.28)),
        var(--press-ink);
}

.asset-preview-logo img {
    width: min(84%, 256px);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38));
    image-rendering: pixelated;
}

.asset-preview-art {
    background: var(--press-ink) url("https://polecatgames.com/assets/shards-capsule-hero.png") center / cover no-repeat;
}

.asset-card-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
}

.asset-card-copy h3 {
    margin: 0.35rem 0 0.55rem;
    font-size: 1.3rem;
}

.asset-card-copy > p:not(.asset-status) {
    margin-bottom: 1.25rem;
    color: #626b78;
}

.asset-card-featured .asset-card-copy > p:not(.asset-status) {
    color: rgba(255, 255, 255, 0.58);
}

.download-disabled {
    display: inline-flex;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--press-line);
    color: #8a919b;
    font-size: 0.78rem;
    font-weight: 750;
    cursor: not-allowed;
}

.asset-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

.download-link {
    display: inline-flex;
    padding: 0.65rem 0.85rem;
    border: 1px solid #345f7c;
    color: white;
    background: #345f7c;
    font-size: 0.78rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease;
}

.download-link:hover,
.download-link:focus-visible {
    background: #284d67;
    transform: translateY(-2px);
}

.asset-single-link {
    color: #365f7c;
    font-size: 0.78rem;
    font-weight: 750;
    text-underline-offset: 0.22em;
}

.asset-status-ready {
    color: #3c7c52;
}

.asset-card-featured .download-disabled {
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.45);
}

.archive-mark {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 5rem;
    background:
        radial-gradient(circle, rgba(119, 182, 221, 0.17), transparent 55%),
        #0b111c;
}

.usage-note {
    max-width: 820px;
    margin-top: 3rem;
    padding-left: 1.2rem;
    border-left: 3px solid var(--press-violet);
}

.usage-note h3 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.usage-note p {
    color: #626b78;
    line-height: 1.7;
}

.studio-section {
    color: white;
    background: #28364b;
}

.studio-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 0.85fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: start;
}

.studio-copy {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.08rem;
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    margin-top: 1.3rem;
    color: #365f7c;
    font-weight: 750;
    text-decoration: none;
}

.text-link:hover span {
    display: inline-block;
    transform: translateX(3px);
}

.studio-copy .text-link,
.text-link-light {
    color: var(--press-blue-bright);
}

.credits-card {
    padding: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.045);
}

.credits-card h3 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.credits-card dl > div {
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.credits-card dt {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.credits-card dd {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.press-contact {
    padding: clamp(5rem, 9vw, 8rem) 20px;
    color: white;
    background: var(--press-ink);
    scroll-margin-top: 130px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    align-items: end;
}

.contact-card > div:first-child > p:last-child {
    max-width: 690px;
    margin-top: 1.4rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 1.05rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.press-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--press-ink);
}

.press-lightbox {
    width: min(95vw, 1500px);
    max-width: none;
    padding: 0;
    border: 0;
    color: white;
    background: transparent;
}

.press-lightbox::backdrop {
    background: rgba(5, 8, 14, 0.94);
    backdrop-filter: blur(6px);
}

.press-lightbox img {
    width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}

.press-lightbox p {
    padding: 0.8rem 3.5rem 0;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.press-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    color: white;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}

.copy-toast {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    color: white;
    background: var(--press-ink);
    box-shadow: var(--press-shadow);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .overview-grid,
    .copy-grid,
    .studio-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .overview-grid,
    .studio-grid {
        gap: 3rem;
    }

    .factsheet {
        max-width: 620px;
    }

    .asset-card {
        grid-template-columns: 1fr;
    }

    .asset-card-featured {
        grid-template-columns: 180px 1fr;
    }

    .contact-actions {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .press-navbar .nav-menu {
        top: 65px;
    }

    .press-index {
        top: 65px;
    }

    .press-index-label {
        display: none;
    }

    .press-hero {
        min-height: 560px;
        background-position: 62% center;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row > p {
        margin-top: 1rem;
    }

    .feature-list,
    .screenshot-grid,
    .asset-grid {
        grid-template-columns: 1fr;
    }

    .feature-list article:nth-child(odd),
    .feature-list article:nth-child(even) {
        padding: 1.7rem 0;
        border-right: 0;
    }

    .press-screenshot-wide,
    .asset-card-featured {
        grid-column: auto;
    }

    .trailer-placeholder {
        min-height: 300px;
        flex-direction: column;
        align-items: flex-start;
    }

    .asset-card-featured {
        grid-template-columns: 1fr;
    }

    .archive-mark {
        min-height: 150px;
    }
}

@media (max-width: 520px) {
    .press-hero-content {
        padding-bottom: 4rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .press-button {
        width: 100%;
    }

    .factsheet {
        padding: 1.4rem;
    }

    .factsheet dl > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .copy-card-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .copy-button {
        align-self: flex-start;
    }

    .trailer-placeholder {
        padding: 2rem;
    }

    .press-screenshot figcaption {
        flex-direction: column;
        gap: 0.2rem;
    }

    .asset-card-copy {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
