/* Luvisoft and Prima Vista: the game's look on the web. Black lacquer, gold Cinzel capitals like a
   piano maker's name, Cormorant Garamond for reading. Fonts are served from this site (no Google
   Fonts: no visitor data leaves it). */

@font-face {
    font-family: "Cinzel";
    src: url("fonts/Cinzel-Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("fonts/CormorantGaramond-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Cormorant Garamond";
    src: url("fonts/CormorantGaramond-MediumItalic.woff2") format("woff2");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

:root {
    --black: #030304;
    --lacquer: #0b0a0a;
    --gold: rgb(201, 168, 92);
    --gold-bright: rgb(240, 214, 150);
    --ivory: rgb(226, 220, 205);
    --grey: rgb(150, 146, 140);
    --line: rgba(201, 168, 92, 0.35);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--black);
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201, 168, 92, 0.06), transparent 70%),
        var(--black);
    color: var(--ivory);
    font: 500 1.25rem/1.6 "Cormorant Garamond", Georgia, serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gold);
    text-decoration-color: var(--line);
    text-underline-offset: 0.2em;
    transition: color 0.2s;
}

a:hover,
a:focus-visible {
    color: var(--gold-bright);
}

.page {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* The maker's mark: name, a small line, the ornament. */
.brand {
    text-align: center;
    padding: 4.5rem 0 2.5rem;
}

.brand-name {
    margin: 0;
    font: 400 clamp(2.4rem, 8vw, 4.2rem)/1.1 "Cinzel", serif;
    letter-spacing: 0.14em;
    color: var(--gold);
}

.brand-name a {
    text-decoration: none;
}

.brand-sub {
    margin: 0.6rem 0 0;
    font-style: italic;
    color: var(--grey);
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin: 1.6rem auto 0;
    max-width: 14rem;
}

.ornament::before,
.ornament::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--line));
}

.ornament::after {
    background: linear-gradient(to left, transparent, var(--line));
}

.ornament span {
    width: 0.45rem;
    height: 0.45rem;
    transform: rotate(45deg);
    border: 1px solid var(--gold);
}

h2 {
    margin: 3rem 0 1rem;
    font: 400 1.15rem/1.3 "Cinzel", serif;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
}

p {
    margin: 0 0 1.1rem;
}

.lead {
    font-size: 1.5rem;
    line-height: 1.45;
    text-align: center;
    color: var(--ivory);
}

/* A full-width picture of the game, edge to edge on small screens. */
.hero {
    margin: 0 auto;
    max-width: 72rem;
    padding: 0 1rem;
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 168, 92, 0.12);
}

.features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features li {
    position: relative;
    padding: 0.9rem 0 0.9rem 1.8rem;
    border-bottom: 1px solid rgba(201, 168, 92, 0.12);
}

.features li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 1.55rem;
    width: 0.4rem;
    height: 0.4rem;
    transform: rotate(45deg);
    background: var(--gold);
}

.features strong {
    font-weight: 500;
    color: var(--gold-bright);
}

/* The game as a card on the studio page. */
.game-card {
    display: block;
    margin: 0 0 1rem;
    text-decoration: none;
    color: var(--ivory);
}

.game-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 168, 92, 0.12);
    transition: box-shadow 0.3s;
}

.game-card:hover img,
.game-card:focus-visible img {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.6), 0 0 0 1px var(--gold);
}

.game-card-title {
    display: block;
    margin-top: 1rem;
    font: 400 1.6rem/1.2 "Cinzel", serif;
    letter-spacing: 0.12em;
    color: var(--gold);
    text-align: center;
}

.game-card-text {
    display: block;
    text-align: center;
    font-style: italic;
    color: var(--grey);
}

.contact {
    text-align: center;
}

.contact a {
    font: 400 1.1rem/1.3 "Cinzel", serif;
    letter-spacing: 0.08em;
}

.back {
    text-align: center;
    margin-top: 3rem;
    font: 400 0.85rem/1.3 "Cinzel", serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.back a {
    text-decoration: none;
}

footer {
    margin-top: 5rem;
    padding: 2rem 1rem 3rem;
    border-top: 1px solid rgba(201, 168, 92, 0.15);
    text-align: center;
    font-size: 0.95rem;
    color: var(--grey);
}

footer p {
    margin: 0.2rem 0;
}
