@charset "UTF-8";
/* COLORS AND FONTS */

:root {
    color-scheme: dark;
    --forest: #243d32;
    --deep: #172b23;
    --gold: #ffd25f;
    --cream: #fffef3;
    --muted: #bdc9bf;
    --line: #ffffff26;
    --serif: Georgia,'Times New Roman',serif;
}

/* BASE STYLES */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--forest);
    color: var(--cream);
    font: 16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif;
}

a {
    color: inherit;
    text-underline-offset: 5px;
}

a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 6px;
}

::selection {
    background: var(--gold);
    color: var(--deep);
}

.wrap {
    width: min(1180px,calc(100% - 96px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--gold);
    color: var(--deep);
    padding: 12px;
    z-index: 10;
}

.skip:focus {
    top: 10px;
}

/* HEADER AND NAVIGATION */

header {
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(1340px,calc(100% - 96px));
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 25px 0;
}

.brand {
    font: 600 21px/1.2 var(--serif);
    text-decoration: none;
}

.brand>span {
    color: var(--gold);
    margin-right: 8px;
}

.brand small {
    display: block;
    font: 10px/1.5 system-ui;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding-left: 30px;
    margin-top: 7px;
    color: var(--muted);
}

nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    font-size: 13px;
    text-decoration: none;
    padding: 9px 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
}

nav a:hover,nav a[aria-current] {
    color: var(--gold);
    border-color: var(--gold);
}

/* PROJECT INTRODUCTION */

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    align-items: center;
    padding-block: 85px 75px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 650;
    margin: 0 0 20px;
}

.eyebrow span {
    color: var(--muted);
    margin-left: 15px;
}

.chapter {
    font: italic 21px var(--serif);
    color: var(--muted);
    margin: 45px 0 12px;
}

h1 {
    font: clamp(60px,7vw,100px)/1 var(--serif);
    letter-spacing: -.055em;
    margin: 0 0 25px;
}

h1 span {
    color: var(--gold);
}

.intro {
    font-size: 18px;
    max-width: 430px;
    color: #dce4db;
}

.actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: var(--deep);
    font-size: 13px;
    font-weight: 700;
    padding: 15px 22px;
    text-decoration: none;
    border-radius: 3px;
    transition: background .2s,transform .2s;
}

.button:hover {
    background: #ffe395;
    transform: translateY(-2px);
}

.text-link {
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid #bdc9bf66;
    padding: 6px 0;
}

/* DECORATIVE PROJECT ART */

.art {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #d8c79155;
    background: radial-gradient(ellipse at 50% 40%,#49634c88,transparent 65%),var(--deep);
    display: flex;
    align-items: center;
    justify-content: center;
}

.art:after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid #ffd25f20;
    pointer-events: none;
}

.coordinates {
    position: absolute;
    top: 30px;
    left: 30px;
    letter-spacing: .16em;
    font-size: 9px;
    color: var(--muted);
}

.orbit {
    position: absolute;
    border: 1px solid #ffd25f44;
    width: 270px;
    height: 270px;
    border-radius: 50%;
}

.outer {
    width: 350px;
    height: 350px;
    border-style: dashed;
    opacity: .6;
}

.symbol {
    color: var(--gold);
    font: 140px/1 var(--serif);
    margin-top: -40px;
}

.art-title {
    position: absolute;
    bottom: 80px;
    letter-spacing: .25em;
    font-size: 12px;
    color: var(--gold);
}

.art-caption {
    position: absolute;
    bottom: 35px;
    font: italic 13px var(--serif);
    color: var(--muted);
}

.project-auka .art {
    background: radial-gradient(ellipse at 50% 65%,#61715b77,transparent 60%),#15251f;
}

.project-topfest .orbit {
    border-radius: 35%;
    transform: rotate(30deg);
}

/* SECTION DIVIDER */

.rule {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-block: 1px solid var(--line);
    padding-block: 17px;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.rule span:last-child {
    color: var(--gold);
}

/* PROJECT DESCRIPTION */

.overview {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 75px;
    padding-block: 85px;
}

h2 {
    font: clamp(32px,3.5vw,46px)/1.15 var(--serif);
    letter-spacing: -.025em;
    margin: 0;
}

.description {
    font-size: 19px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.note {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

.note a:hover {
    color: var(--gold);
}

dl {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
    margin-top: 30px;
}

dt {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

dd {
    margin: 0;
    font-size: 12px;
}

/* SCREENSHOT GALLERY */

.gallery {
    padding-block: 15px 80px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 32px;
}

.section-heading>p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

figure {
    margin: 0;
}

.placeholder {
    aspect-ratio: 16/10;
    position: relative;
    border: 1px solid #ffffff29;
    background: linear-gradient(135deg,#ffffff04,#0e211844);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.placeholder:before,.placeholder:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: solid #ffd25f77;
}

.placeholder:before {
    top: 18px;
    left: 18px;
    border-width: 1px 0 0 1px;
}

.placeholder:after {
    bottom: 18px;
    right: 18px;
    border-width: 0 1px 1px 0;
}

.placeholder>span {
    font-size: 36px;
    color: #d1bd7d;
}

.placeholder strong {
    font-weight: 400;
}

.placeholder small {
    font-size: 10px;
}

figcaption {
    display: flex;
    justify-content: space-between;
    padding-top: 13px;
    font-size: 11px;
    color: var(--muted);
}

figcaption span:last-child {
    color: var(--gold);
}

.project-screenshot {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/10;
    object-fit: contain;
    background: var(--deep);
    border: 1px solid var(--line);
}

/* DOWNLOAD SECTION */

.access {
    padding-block: 10px 70px;
}

.access-panel {
    border: 1px solid #ffd25f50;
    background: var(--deep);
    padding: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.access-panel h2 {
    font-size: 36px;
}

.access-panel p:not(.eyebrow) {
    font-size: 13px;
    color: var(--muted);
    max-width: 430px;
    margin-bottom: 0;
}

.download-action {
    flex-shrink: 0;
}

.download-action p {
    font-size: 10px!important;
    text-align: center;
}

.unavailable {
    background: transparent;
    color: var(--muted);
    border-color: #bdc9bf66;
    cursor: default;
}

.unavailable:hover {
    background: transparent;
    transform: none;
}

/* NEXT PROJECT */

.next {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 36px;
    border-block: 1px solid var(--line);
    text-decoration: none;
}

.next .eyebrow {
    margin-bottom: 9px;
}

.next div>span {
    font: 40px var(--serif);
}

.arrow {
    font-size: 43px;
    color: var(--gold);
    transition: transform .2s;
}

.next:hover .arrow {
    transform: translate(4px,-4px);
}

/* FOOTER */

footer {
    padding-block: 30px 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 10px;
}

footer>span:first-child {
    color: var(--gold);
}

footer a {
    text-decoration: none;
}

/* TABLET LAYOUT */

@media(max-width:960px) {
    .wrap,.header-inner {
        width: calc(100% - 48px);
    }

    .hero {
        gap: 30px;
    }

    .art {
        min-height: 360px;
    }

    .actions {
        gap: 16px;
    }

    .overview {
        gap: 40px;
    }

    .access-panel {
        padding: 30px;
        flex-wrap: wrap;
    }

    .section-heading>p {
        display: none;
    }

}

/* MOBILE LAYOUT */

@media(max-width:640px) {
    .wrap,.header-inner {
        width: calc(100% - 36px);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding-block: 20px;
    }

    nav {
        gap: 25px;
        width: 100%;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-block: 40px;
        gap: 35px;
    }

    .chapter {
        margin-top: 28px;
    }

    h1 {
        font-size: 64px;
    }

    .intro {
        font-size: 17px;
    }

    .art {
        min-height: 320px;
    }

    .orbit {
        width: 220px;
        height: 220px;
    }

    .outer {
        width: 285px;
        height: 285px;
    }

    .symbol {
        font-size: 110px;
    }

    .rule {
        font-size: 8px;
        gap: 10px;
    }

    .rule span:nth-child(2) {
        letter-spacing: .04em;
    }

    .overview {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-block: 50px;
    }

    .overview h2 br {
        display: none;
    }

    .description {
        font-size: 17px;
    }

    dl {
        gap: 12px;
    }

    dd {
        font-size: 11px;
    }

    .screenshots {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gallery {
        padding-bottom: 40px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .access {
        padding-bottom: 40px;
    }

    .access-panel {
        padding: 25px;
        gap: 25px;
    }

    .access-panel h2 {
        font-size: 32px;
    }

    .download-action {
        width: 100%;
    }

    .download-action .button {
        width: 100%;
    }

    .access-panel .download-action p {
        max-width: none;
    }

    .next div>span {
        font-size: 32px;
    }

    footer {
        flex-wrap: wrap;
        gap: 15px;
    }

    footer>span:nth-child(2) {
        order: 3;
        width: 100%;
    }

    footer a {
        margin-left: auto;
    }

}

/* REDUCED MOTION */

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

    * {
        transition: none!important;
    }

}


/* TOPFEST SCREENSHOTS */

.project-topfest .screenshots figure:first-child {
    grid-column: 1 / -1;
}

.project-topfest .project-screenshot {
    aspect-ratio: auto;
}

/* FOCUS QUEST SCREENSHOTS */

.project-focus-quest .screenshots figure:first-child {
    grid-column: 1 / -1;
}

.project-focus-quest .project-screenshot {
    aspect-ratio: auto;
}

.project-focus-quest .compact-screenshot > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background: var(--deep);
    border: 1px solid var(--line);
}

.project-focus-quest .compact-screenshot .project-screenshot {
    width: auto;
    max-width: 100%;
    border: 0;
}

/* PROJECT LOGO ARTWORK */

.art.project-logo {
    min-height: 0;
    aspect-ratio: 16 / 10;
    padding: 12px;
}

.art.project-logo::after {
    content: none;
}

.project-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* PROJECT WRITE-UPS */

.project-writeup h3 {
    color: var(--gold);
    font: 26px/1.3 var(--serif);
    margin: 32px 0 14px;
}

.project-writeup p:not(.description) {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 20px;
}

.writeup-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.writeup-skills li {
    padding: 6px 13px;
    color: var(--gold);
    background: var(--deep);
    border: 1px solid #ffd25f55;
    border-radius: 3px;
    font-size: 12px;
}

/* AUKA DESIGN PROCESS */

.design-process-image {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: var(--deep);
    border: 1px solid var(--line);
}

.design-process .screenshots figure:last-child {
    grid-column: 1 / -1;
}

.design-process .screenshots figure:last-child img {
    height: auto;
    max-height: 620px;
}

.design-pitch-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

@media (max-width: 640px) {
    .design-process-image {
        height: auto;
        max-height: 360px;
    }
}

/* FOCUS QUEST INSTALLATION GUIDE */

.installation {
    padding-block: 0 70px;
}

.installation-intro {
    color: var(--muted);
    font-size: 14px;
    margin: 20px 0 35px;
}

.installation-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: 50px;
}

.installation h3 {
    color: var(--gold);
    font: 27px/1.3 var(--serif);
    margin: 0 0 22px;
}

.installation h4 {
    color: var(--cream);
    font-size: 14px;
    margin: 25px 0 8px;
}

.installation-steps {
    padding-left: 25px;
    margin: 0 0 35px;
}

.installation-steps li {
    padding-left: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.installation-steps li::marker,
.installation a {
    color: var(--gold);
}

.installation-steps strong {
    color: var(--cream);
}

.installation code {
    color: var(--cream);
    background: #ffffff0a;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

.installation-help {
    padding: 28px;
    background: var(--deep);
    border: 1px solid #ffd25f44;
}

.installation-help p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
    margin: 0;
}

.installation-help .note {
    margin-top: 28px;
    font-size: 11px;
}

@media (max-width: 720px) {
    .installation-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .installation {
        padding-bottom: 40px;
    }

    .installation-help {
        padding: 23px;
    }
}
