/* Fonts: self-hosted Bree Serif and Nunito (SIL Open Font License, see ../fonts/*-OFL.txt) */
@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bree-serif-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/bree-serif-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url('../fonts/nunito-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --sky: #2366cc;
    --sky-deep: #174ea6;
    --sky-tint: #e6eef9;
    --violet: #43308f;
    --violet-tint: #efebfb;
    --amber: #a5570a;
    --amber-tint: #fbf0e3;
    --gold: #ffbe3b;
    --gold-ink: #2b1b00;

    --ink: #12233f;
    --muted: #46597a;
    --bg: #ffffff;
    --bg-alt: #f2f7fd;
    --bg-soft: #f7f9fd;
    --placeholder: #e1eaf6;
    --line: #e3ebf6;
    --line-strong: #d5e1f1;
    --night: #12233f;
    --night-text: #c3d0e6;

    --font-heading: 'Bree Serif', Georgia, serif;
    --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --radius-pill: 999px;
    --radius-button: 14px;
    --radius-md: 20px;
    --radius-lg: 24px;
    --radius-xl: 28px;

    --shadow-card: 0 18px 40px rgba(18, 35, 63, 0.08);
    --shadow-soft: 0 12px 30px rgba(18, 35, 63, 0.06);
    --shadow-button: 0 4px 0 rgba(18, 35, 63, 0.2);
    --shadow-button-strong: 0 4px 0 rgba(10, 30, 70, 0.35);

    --container: 1240px;
    --gutter: 32px;
    --section-space: 96px;
}

@media (max-width: 640px) {
    :root {
        --gutter: 20px;
        --section-space: 64px;
    }
}

/* Theme colors: a game (or a tone) sets --theme; the tints are derived from it. */
.theme {
    --theme: var(--sky);
    --theme-ink: color-mix(in srgb, var(--theme) 82%, #000);
    --theme-tint: color-mix(in srgb, var(--theme) 9%, #fff);
    --theme-soft: color-mix(in srgb, var(--theme) 16%, #fff);
}

.tone-sky { --theme: var(--sky); }
.tone-violet { --theme: var(--violet); }
.tone-amber { --theme: var(--amber); }

/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
}

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

img {
    height: auto;
}

a {
    color: var(--sky);
}

a:hover {
    color: var(--sky-deep);
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.15;
}

:focus-visible {
    outline: 3px solid var(--sky-deep);
    outline-offset: 3px;
}

.hero :focus-visible,
.banner :focus-visible,
.panel--sky :focus-visible,
.site-footer :focus-visible {
    outline-color: #ffffff;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: var(--radius-button);
    background: var(--ink);
    color: #ffffff;
    font-weight: 800;
}

.skip-link:focus {
    top: 16px;
    color: #ffffff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Typography */
.display {
    font-size: clamp(40px, 5.6vw, 70px);
    line-height: 1.08;
}

.page-title {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
}

.section-title {
    font-size: clamp(32px, 4.2vw, 46px);
}

.section-title--lg {
    font-size: clamp(34px, 4.5vw, 50px);
}

.section-title--spaced {
    margin-bottom: 36px;
}

.section-title--center {
    margin-bottom: 40px;
    text-align: center;
}

.lead {
    font-size: 20px;
    font-weight: 600;
}

.copy {
    color: var(--muted);
    font-weight: 600;
}

.copy--sm {
    font-size: 16px;
}

.text-link {
    font-weight: 800;
    text-decoration: none;
}

.text-link--spaced {
    display: inline-block;
    margin-top: 22px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--sky-deep);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-transform: uppercase;
}

.eyebrow--on-color {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.eyebrow--theme {
    background: var(--theme-tint);
    color: var(--theme-ink);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background: var(--theme-tint);
    color: var(--theme-ink);
    font-size: 14px;
    font-weight: 800;
}

.tag--on-color {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: var(--radius-button);
    box-shadow: var(--shadow-button);
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(3px);
    box-shadow: none;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

.btn--sm {
    min-height: 44px;
    padding: 0 22px;
}

.btn--lg {
    min-height: 54px;
    padding: 0 28px;
    font-size: 18px;
}

.btn--gold,
.btn--gold:hover {
    background: var(--gold);
    color: var(--gold-ink);
}

.btn--white,
.btn--white:hover {
    background: #ffffff;
    color: var(--sky-deep);
}

.theme .btn--white,
.theme .btn--white:hover {
    color: var(--theme-ink);
}

.btn--theme,
.btn--theme:hover {
    background: var(--theme);
    color: #ffffff;
}

.btn--outline,
.btn--outline:hover {
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--line-strong);
    background: #ffffff;
    box-shadow: none;
    color: var(--sky-deep);
    font-size: 18px;
}

.hero .btn,
.banner .btn {
    box-shadow: var(--shadow-button-strong);
}

/* Header */
.site-header {
    position: relative;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 14px;
}

.brand {
    display: inline-block;
    color: #000000;
    line-height: 0;
}

.brand svg {
    width: 168px;
    height: 44px;
}

.brand .logo-ink {
    fill: currentColor;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 28px;
    font-size: 17px;
    font-weight: 800;
}

.site-nav__link {
    padding: 6px 0 3px;
    border-bottom: 3px solid transparent;
    color: var(--ink);
    text-decoration: none;
}

.site-nav__link:hover {
    color: var(--sky-deep);
}

.site-nav__link[aria-current] {
    border-bottom-color: var(--sky);
}

.site-nav .btn {
    margin-left: 6px;
}

@media (max-width: 720px) {
    .site-header__inner {
        justify-content: center;
    }

    .site-nav {
        justify-content: center;
        gap: 4px 20px;
        font-size: 16px;
    }

    .site-nav .btn {
        display: none;
    }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 152px;
    border-radius: 0 0 50% 50% / 0 0 96px 96px;
    background: var(--sky);
    color: #ffffff;
}

.hero--page {
    padding: 72px 0 120px;
    border-radius: 0 0 50% 50% / 0 0 72px 72px;
    text-align: center;
}

.hero--game {
    padding: 72px 0 168px;
    background: var(--theme);
}

.hero__cloud {
    position: absolute;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero__cloud--1 {
    top: 64px;
    left: 43%;
    width: 150px;
    height: 46px;
}

.hero__cloud--2 {
    top: 98px;
    left: 48%;
    width: 96px;
    height: 30px;
}

.hero__cloud--3 {
    bottom: 140px;
    left: 3%;
    width: 190px;
    height: 54px;
    background: rgba(255, 255, 255, 0.07);
}

.hero--page .hero__cloud--1 {
    top: 48px;
    left: 16%;
}

.hero--page .hero__cloud--3 {
    right: 12%;
    bottom: 90px;
    left: auto;
    width: 120px;
    height: 38px;
}

.hero__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.hero__copy {
    flex: 1 1 440px;
    min-width: 0;
}

.hero__text {
    max-width: 30em;
    margin-top: 22px;
}

.hero--game .hero__text,
.hero__back {
    color: var(--theme-soft);
}

.hero__back {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 800;
    text-decoration: none;
}

.hero__back:hover {
    color: #ffffff;
}

.hero--game .tags + .display {
    margin-top: 18px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero__media {
    flex: 1 1 440px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.hero--game .hero__media {
    flex-basis: 480px;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.08);
}

.page-hero__inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
}

.page-hero__inner .lead {
    max-width: 32em;
    margin: 18px auto 0;
}

@media (max-width: 640px) {
    .hero {
        padding: 56px 0 112px;
        border-radius: 0 0 50% 50% / 0 0 56px 56px;
    }

    .hero--page {
        padding: 48px 0 88px;
    }

    .hero--game {
        padding: 48px 0 128px;
    }

    .hero__cloud {
        display: none;
    }
}

/* Image boxes: uploaded image, or the Vibestro mark as a placeholder */
.art {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--sky-tint);
    color: var(--sky);
}

.art > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art__mark {
    width: 28%;
    max-width: 132px;
    opacity: 0.35;
}

.art__mark svg {
    width: 100%;
    height: auto;
}

.art__mark .logo-ink,
.art__mark .logo-accent {
    fill: currentColor;
}

.art--theme {
    background: var(--theme);
    color: #ffffff;
}

.art--clear {
    background: transparent;
    color: #ffffff;
}

/* Sections */
.section {
    padding-block: var(--section-space);
}

.section--alt {
    background: var(--bg-alt);
}

.section--flush-top {
    padding-top: 0;
}

.section--compact {
    padding-top: 56px;
}

.section__intro {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}

.section__intro .copy {
    margin-top: 14px;
}

.section__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 40px;
    margin-bottom: 40px;
}

.section-title + .copy,
.section-title + .rich {
    margin-top: 20px;
}

.split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px 56px;
}

.split > * {
    flex: 1 1 480px;
    min-width: 0;
}

.split--top {
    align-items: flex-start;
}

.split__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
}

/* Game cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr));
    gap: 32px;
}

.game-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 14px 14px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.game-card__art {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-md);
}

.game-card__body {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 14px;
    padding: 0 18px;
}

.game-card__title {
    font-size: 34px;
}

.game-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 640px) {
    .game-card__body {
        padding: 0 8px;
    }

    .game-card__title {
        font-size: 28px;
    }
}

/* Stat tiles */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.stats--spaced {
    margin-top: 64px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: var(--theme);
    color: #ffffff;
    text-align: center;
}

.stat__value {
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1;
}

.stat__label {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.empty-state {
    padding: 48px 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

/* Game page */
.facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    max-width: 1080px;
    margin: -72px auto 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(18, 35, 63, 0.1);
}

.fact {
    padding: 16px 20px;
    border-radius: 18px;
    background: var(--bg-soft);
}

.fact dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fact dd {
    margin-top: 4px;
    font-size: 19px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .fact {
        padding: 14px 16px;
    }

    .fact dd {
        font-size: 17px;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.card-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 18px;
}

.info-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.info-card--raised {
    box-shadow: var(--shadow-soft);
}

.card-grid--compact .info-card {
    padding: 24px;
}

.info-card__title {
    margin: 16px 0 6px;
    font-size: 24px;
}

.card-grid--compact .info-card__title {
    margin-top: 14px;
    font-size: 22px;
}

.info-card .copy {
    font-size: 16px;
}

.info-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 14px;
}

.info-card__links a {
    color: var(--theme-ink);
    font-weight: 800;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--theme-tint);
    color: var(--theme);
}

.icon-badge .icon {
    width: 26px;
    height: 26px;
}

.card-grid--compact .icon-badge {
    width: 48px;
    height: 48px;
}

.card-grid--compact .icon-badge .icon {
    width: 24px;
    height: 24px;
}

.trailer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trailer {
    position: relative;
    display: grid;
    flex: 2 1 560px;
    min-width: 0;
    aspect-ratio: 16 / 9;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--night);
    color: #ffffff;
    text-decoration: none;
}

.trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.trailer__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
    color: var(--gold-ink);
    transition: transform 0.15s ease;
}

.trailer:hover .trailer__play {
    transform: scale(1.06);
}

.trailer__play .icon {
    width: 36px;
    height: 36px;
}

.trailer__label {
    position: absolute;
    bottom: 18px;
    left: 24px;
    color: var(--night-text);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shot-stack {
    display: flex;
    flex: 1 1 280px;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.shot-stack .shot {
    flex: 1 1 0;
    min-height: 160px;
}

.shot-stack .shot img {
    height: 100%;
    object-fit: cover;
}

/* Grid screenshots keep their own aspect ratio: game HUDs reach the screen edges, so a uniform crop cuts them. */
.shot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    align-items: start;
    gap: 20px;
}

.trailer-row ~ .shot-grid {
    margin-top: 20px;
}

.consent-note {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.consent-note .link-button {
    color: var(--theme-ink);
    font-weight: 800;
}

.shot {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--placeholder);
}

.shot img {
    width: 100%;
    transition: transform 0.2s ease;
}

.shot:hover img {
    transform: scale(1.03);
}

.banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
    border-radius: var(--radius-xl);
    background: var(--theme);
    color: #ffffff;
}

.banner + .banner {
    margin-top: 24px;
}

.banner__copy {
    flex: 1 1 420px;
    min-width: 0;
}

.banner__title {
    font-size: 36px;
}

.eyebrow + .banner__title {
    margin-top: 12px;
}

.banner__copy .copy {
    margin-top: 8px;
    color: var(--theme-soft);
}

@media (max-width: 640px) {
    .banner {
        padding: 32px 24px;
    }

    .banner__title {
        font-size: 30px;
    }
}

/* Rich text */
.rich {
    color: var(--muted);
    font-weight: 600;
}

.rich > * + * {
    margin-top: 16px;
}

.rich h2,
.rich h3 {
    color: var(--ink);
}

.prose {
    max-width: 720px;
    margin-inline: auto;
    font-size: 19px;
    line-height: 1.75;
}

.prose > * + * {
    margin-top: 20px;
}

.prose > h2 {
    margin-top: 44px;
    font-size: 32px;
    line-height: 1.2;
}

.prose > h3 {
    margin-top: 36px;
    font-size: 26px;
    line-height: 1.25;
}

.prose > h2 + *,
.prose > h3 + * {
    margin-top: 12px;
}

.prose ul,
.prose ol {
    padding-left: 24px;
}

.prose li + li {
    margin-top: 6px;
}

.prose blockquote {
    margin-block: 36px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
    color: var(--sky-deep);
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.35;
}

.prose figure {
    margin-block: 36px;
}

.prose img {
    border-radius: 22px;
}

.prose figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}

.prose a {
    font-weight: 700;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--line-strong);
}

.prose > :first-child {
    margin-top: 0;
}

/* Studio */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.member {
    padding: 14px 14px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    text-align: center;
}

.member__photo {
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    color: var(--muted);
}

.member:nth-child(3n + 2) .member__photo {
    background: var(--violet-tint);
}

.member:nth-child(3n) .member__photo {
    background: var(--amber-tint);
}

.member__photo .icon {
    width: 34%;
    height: auto;
    opacity: 0.45;
}

.member__name {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: 20px;
}

.member__role {
    margin-top: 2px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

@media (max-width: 520px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Contact & legal */
.panel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.panel {
    flex: 1 1 480px;
    min-width: 0;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-alt);
}

.panel--sky {
    flex-basis: 320px;
    background: var(--sky);
    color: #ffffff;
}

.panel__title {
    margin-bottom: 16px;
    font-size: 26px;
}

.panel--sky .panel__title {
    margin-bottom: 8px;
}

.panel--sky p {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

.panel__subtitle {
    margin: 24px 0 12px;
    font-size: 18px;
}

.details {
    display: grid;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    gap: 10px 20px;
    font-size: 16px;
}

.details dt {
    color: var(--muted);
    font-weight: 800;
}

.details dd {
    font-weight: 700;
}

@media (max-width: 520px) {
    .details {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .details dd + dt {
        margin-top: 12px;
    }

    .panel {
        padding: 24px;
    }
}

.pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--sky-deep);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.pill-link--theme {
    background: var(--theme-tint);
    color: var(--theme-ink);
}

.community {
    margin-top: 32px;
}

.community__title {
    margin-bottom: 12px;
    font-size: 20px;
}

.legal-content {
    max-width: 760px;
    margin-inline: auto;
}

.legal-content .panel + .prose,
.legal-content .prose + .panel {
    margin-top: 40px;
}

/* Footer */
.site-footer {
    padding: 72px 0 40px;
    border-radius: 32px 32px 0 0;
    background: var(--night);
    color: var(--night-text);
}

.site-footer a {
    color: var(--night-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .brand {
    display: flex;
    width: max-content;
    color: #ffffff;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 64px;
}

.site-footer__brand {
    flex: 1 1 300px;
    min-width: 0;
}

.site-footer__contact {
    margin-top: 20px;
    font-size: 16px;
    font-style: normal;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 56px;
    font-size: 16px;
    font-weight: 700;
}

.footer-nav__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav__title {
    margin-bottom: 4px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 18px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.site-footer__legal a,
.site-footer__legal .link-button {
    text-decoration: underline;
}

.site-footer .link-button:hover {
    color: #ffffff;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

/* Privacy banner */
.consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 -8px 24px rgba(18, 35, 63, 0.08);
    font-size: 15px;
}

.consent[hidden] {
    display: none;
}

.consent__inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

.consent__text {
    flex: 1 1 420px;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.5;
}

.consent__text a {
    color: var(--sky-deep);
    font-weight: 800;
}

.consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.consent .btn {
    min-height: 38px;
    padding: 0 16px;
    box-shadow: none;
    font-size: 15px;
}

.consent__details summary {
    padding: 8px 6px;
    color: var(--sky-deep);
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.consent__details summary::-webkit-details-marker {
    display: none;
}

.consent__panel {
    position: absolute;
    right: var(--gutter);
    bottom: calc(100% + 20px);
    width: min(400px, calc(100% - 2 * var(--gutter)));
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow-card);
}

.consent__option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.consent__option input {
    flex: none;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--sky);
}

.consent__option strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
}

@media (max-width: 640px) {
    .consent__actions {
        width: 100%;
    }

    .consent__actions .btn {
        flex: 1 1 0;
    }
}

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