:root {
    --bg: #07111f;
    --bg-soft: #0d1b2d;
    --panel: rgba(16, 31, 52, 0.84);
    --panel-strong: #10223a;
    --text: #f5f7fb;
    --muted: #a8b3c7;
    --pink: #ff5ebc;
    --cyan: #5bdcff;
    --purple: #a879ff;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 94, 188, 0.18), transparent 32rem),
        radial-gradient(circle at top right, rgba(91, 220, 255, 0.16), transparent 34rem),
        linear-gradient(180deg, #050b14 0%, var(--bg) 48%, #050b14 100%);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(5, 11, 20, 0.76);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 94, 188, 0.22), rgba(91, 220, 255, 0.16));
    border: 1px solid var(--border);
    box-shadow: 0 0 22px rgba(255, 94, 188, 0.22);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-weight: 600;
}

.site-nav a {
    position: relative;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--text);
}

.site-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
}

.hero-section {
    padding: 34px 0 26px;
}

.hero-panel {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
    padding: clamp(28px, 5vw, 70px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(16, 31, 52, 0.94), rgba(7, 17, 31, 0.78)),
        radial-gradient(circle at 82% 30%, rgba(255, 94, 188, 0.24), transparent 22rem),
        radial-gradient(circle at 70% 70%, rgba(91, 220, 255, 0.2), transparent 20rem);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(3rem, 7vw, 5.9rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.hero-text {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
}

.primary-button {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    box-shadow: 0 14px 32px rgba(255, 94, 188, 0.25);
}

.ghost-button {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.hero-art {
    min-height: 380px;
    display: grid;
    place-items: center;
    position: relative;
}

.hero-art::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 220, 255, 0.22), transparent 68%);
    filter: blur(4px);
}

.floating-card {
    position: relative;
    width: min(360px, 100%);
    padding: 30px;
    border-radius: var(--radius-lg);
    background: rgba(5, 11, 20, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow);
}

.character-label {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--pink);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.section-block {
    padding: 34px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 20px;
}

.text-link {
    color: var(--cyan);
    font-weight: 800;
}

/* =========================
   Cards, previews, and tags
========================= */

.card-grid {
    display: grid;
    gap: 18px;
}

.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.card-link {
    display: block;
    height: 100%;
}

.preview-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.preview-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 220, 255, 0.35);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.preview-card p,
.about-panel p,
.footer-grid p {
    color: var(--muted);
    line-height: 1.65;
}

.preview-image {
    min-height: 220px;
    margin-bottom: 18px;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.preview-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.placeholder-image {
    display: grid;
    place-items: center;
    font-size: 4rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.28), transparent 14rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.24), transparent 14rem),
        rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tag-row span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(91, 220, 255, 0.12);
    color: var(--cyan);
    font-size: 0.82rem;
    font-weight: 800;
}

/* =========================
   Character archive cards
========================= */

.character-archive-card {
    height: 100%;
}

.character-card-copy {
    display: grid;
    gap: 10px;
}

.character-card-copy h3 {
    margin-bottom: 0;
}

.character-card-copy p {
    margin-bottom: 0;
}

.character-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 2px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.character-card-meta span {
    display: inline-flex;
    align-items: center;
}

.character-card-meta span + span::before {
    content: "•";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.32);
}

/* =========================
   Gallery previews
========================= */

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.gallery-thumb {
    min-height: 150px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 16px;
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 94, 188, 0.12), rgba(91, 220, 255, 0.1)),
        var(--panel);
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 800;
    text-align: center;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 94, 188, 0.35);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.gallery-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-thumb span {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(5, 11, 20, 0.42);
    backdrop-filter: blur(8px);
}

.gallery-thumb small {
    color: var(--cyan);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-panel {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 34px;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.about-avatar {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 4rem;
    font-weight: 900;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.42), transparent 8rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.35), transparent 8rem),
        rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.site-footer {
    margin-top: 40px;
    padding: 46px 0 24px;
    border-top: 1px solid var(--border);
    background: rgba(5, 11, 20, 0.62);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 0.8fr 0.8fr 0.8fr;
    gap: 32px;
}

.footer-grid h3 {
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--text);
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 28px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    text-align: center;
    font-size: 0.92rem;
}

/* =========================
   Gallery filters
========================= */

.gallery-filters-section {
    padding: 10px 0 20px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.filter-pill:hover {
    color: var(--text);
    transform: translateY(-2px);
    border-color: rgba(91, 220, 255, 0.35);
}

.filter-pill.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 94, 188, 0.82), rgba(168, 121, 255, 0.82));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 28px rgba(255, 94, 188, 0.18);
}

.filter-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.filter-group + .filter-group {
    margin-top: 14px;
}

.filter-heading {
    margin-bottom: 8px;
}

.filter-heading span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tag-filter-pill {
    font-size: 0.84rem;
}

.tag-filter-pill::before {
    content: "#";
    color: var(--cyan);
    margin-right: 2px;
}

/* =========================
   Character archive filters
========================= */

.character-filters-section {
    padding: 10px 0 20px;
}

/* =========================
   Gallery archive and artwork detail
========================= */

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.artwork-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.artwork-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 94, 188, 0.35);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.artwork-thumb {
    min-height: 260px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.24), transparent 16rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.2), transparent 16rem),
        rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-weight: 900;
    text-align: center;
}

.artwork-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artwork-thumb span {
    position: relative;
    z-index: 1;
    padding: 0 18px;
}

.artwork-card-copy {
    padding: 18px;
}

.artwork-card-copy p {
    color: var(--muted);
    line-height: 1.65;
}

.artwork-detail {
    padding: 54px 0;
}

.artwork-detail-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: start;
    padding: clamp(24px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.artwork-detail-image {
    min-height: 560px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.24), transparent 18rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.2), transparent 18rem),
        rgba(255, 255, 255, 0.04);
}

.artwork-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    display: block;
    object-fit: contain;
}

.artwork-placeholder {
    min-height: 560px;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--muted);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
}

.artwork-detail-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 6vw, 5rem);
}

.detail-panel {
    margin: 32px 0;
    padding: 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.detail-panel h2 {
    font-size: 1.8rem;
}

.detail-panel p {
    color: var(--muted);
    line-height: 1.65;
}

/* =========================
   Artwork metadata
========================= */

.artwork-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 12px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.artwork-meta-line span {
    display: inline-flex;
    align-items: center;
}

.artwork-meta-line span + span::before {
    content: "•";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.32);
}

.meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 26px;
}

.meta-item {
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.meta-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.meta-item strong {
    color: var(--text);
    font-size: 0.98rem;
}

.meta-item a {
    color: var(--cyan);
}

.meta-item a:hover {
    color: var(--text);
}

/* =========================
   Empty states
========================= */

.empty-state {
    padding: clamp(28px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 94, 188, 0.14), transparent 18rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.12), transparent 18rem),
        var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.empty-state h2 {
    margin-bottom: 14px;
}

.empty-state p {
    max-width: 620px;
    color: var(--muted);
    line-height: 1.7;
}

/* =========================
   Inner page headers
========================= */

.page-hero {
    padding: 70px 0 24px;
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
}


/* =========================
   Character profile page
========================= */

.character-profile {
    padding: 54px 0;
}

.character-profile-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
    padding: clamp(24px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.character-profile-art {
    min-height: 480px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.24), transparent 16rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.2), transparent 16rem),
        rgba(255, 255, 255, 0.04);
}

.character-profile-art img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: block;
    object-fit: cover;
}

.profile-placeholder {
    min-height: 480px;
    display: grid;
    place-items: center;
    font-size: 6rem;
}

.character-profile-copy h1 {
    margin-bottom: 18px;
}

.profile-description {
    margin: 32px 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.profile-description h2 {
    font-size: 1.8rem;
}

.profile-description p {
    color: var(--muted);
    line-height: 1.75;
}

/* =========================
   Character profile details
========================= */

.character-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.character-detail-item {
    padding: 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.character-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.character-detail-item strong {
    color: var(--text);
    font-size: 0.98rem;
}

.palette-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.palette-swatch {
    display: grid;
    gap: 8px;
    min-width: 92px;
}

.palette-swatch span {
    display: block;
    width: 100%;
    height: 46px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.palette-swatch code {
    color: var(--muted);
    font-size: 0.78rem;
}

/* =========================
   Project archive
========================= */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 220, 255, 0.35);
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.project-thumb {
    min-height: 230px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 20px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 94, 188, 0.24), transparent 16rem),
        radial-gradient(circle at 80% 80%, rgba(91, 220, 255, 0.2), transparent 16rem),
        rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1.45rem;
    font-weight: 900;
    text-align: center;
}

.project-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-thumb span {
    position: relative;
    z-index: 1;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: rgba(5, 11, 20, 0.42);
    backdrop-filter: blur(8px);
}

.project-card-copy {
    padding: 18px;
}

.project-card-copy p {
    color: var(--muted);
    line-height: 1.65;
}

.project-link-text {
    display: inline-flex;
    margin-top: 8px;
    color: var(--cyan);
    font-weight: 900;
}

/* =========================
   Project links
========================= */

.project-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 900;
    background:
        linear-gradient(135deg, rgba(255, 94, 188, 0.16), rgba(91, 220, 255, 0.12)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.project-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 220, 255, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

/* =========================
   Info and contact pages
========================= */

.info-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
    padding: clamp(24px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-panel p {
    color: var(--muted);
    line-height: 1.75;
}

.info-card-stack {
    display: grid;
    gap: 14px;
}

.mini-info-card {
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.mini-info-card h3 {
    margin-bottom: 8px;
}

.mini-info-card p {
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.contact-panel {
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--radius-lg);
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-panel p {
    color: var(--muted);
    line-height: 1.75;
}

.accent-panel {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 94, 188, 0.16), transparent 18rem),
        radial-gradient(circle at 85% 80%, rgba(91, 220, 255, 0.12), transparent 18rem),
        var(--panel);
}

.contact-link-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-link {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 220, 255, 0.35);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.contact-link span,
.mini-note-list span {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.contact-link strong {
    color: var(--cyan);
}

.mini-note-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.mini-note-list div {
    display: grid;
    gap: 5px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--border);
}

.mini-note-list strong {
    color: var(--text);
}

@media (max-width: 860px) {
    .header-inner,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

	.hero-panel,
	.about-panel,
	.info-panel,
	.contact-grid,
	.character-profile-grid,
	.artwork-detail-grid,
	.character-detail-grid,
	.three-columns,
	.artwork-grid,
	.project-grid {
		grid-template-columns: 1fr;
	}

	.gallery-strip {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 12px;
	}

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .hero-panel {
        padding: 26px;
    }

	.meta-grid,
    .gallery-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}