/* ===================================
   COLOR SYSTEM
=================================== */

:root {
    --background: #0e1320;
    --background-deep: #080c14;
    --surface: #1a2236;
    --surface-dark: #121a2a;

    --text: #f4f1ea;
    --secondary: #b8becf;
    --muted: #8e96aa;

    --accent: #c7b37a;
    --accent-light: #e0d2a5;

    --border: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.42);
}

/* ===================================
   RESET
=================================== */

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

html {
    scroll-behavior: smooth;
    background-color: var(--background);
}

body {
    margin: 0;
    min-height: 100vh;

    overflow-x: hidden;

    background-color: var(--background);
    color: var(--text);

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: "Cormorant Garamond", Georgia, serif;
}

h1,
h2,
h3,
p {
    color: inherit;
}

a {
    color: inherit;
}

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

/* ===================================
   NAVIGATION
=================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 6%;

    background-color: transparent;
    border-bottom: 1px solid transparent;

    transition:
        padding 0.4s ease,
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.navbar.scrolled {
    padding: 14px 6%;

    background-color: rgba(8, 12, 20, 0.92);
    border-bottom-color: rgba(199, 179, 122, 0.2);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.38);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    color: var(--text);

    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 1px;

    text-decoration: none;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.85);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.logo:hover {
    color: var(--accent-light);
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-links a {
    position: relative;

    display: inline-block;

    color: var(--text);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;

    text-decoration: none;
    text-transform: uppercase;

    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.9);

    transition:
        color 0.3s ease,
        text-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
}

.nav-links a.active {
    text-shadow:
        0 0 18px rgba(199, 179, 122, 0.5);
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background-color: var(--accent);

    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ========================================
   PAGE RETURN LINK
======================================== */

.page-return {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    margin: 2rem 0 3rem;

    color: #c9aa6a;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;

    transition:
        color 220ms ease,
        transform 220ms ease;
}

.page-return:hover {
    color: #e1c27b;
    transform: translateX(-3px);
}

.page-return:focus-visible {
    outline: 2px solid #c9aa6a;
    outline-offset: 4px;
}

/* ===================================
   HERO
=================================== */

.hero {
    position: relative;

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 130px 30px 90px;

    overflow: hidden;

    background-color: var(--background-deep);
    color: var(--text);

    text-align: center;

    isolation: isolate;
}

/* Cinematic image and lighting */

.hero::before {
    content: "";

    position: absolute;
    inset: -5%;

    z-index: -3;

    background-image:
        linear-gradient(
            to bottom,
            rgba(5, 8, 14, 0.2) 0%,
            rgba(7, 11, 19, 0.38) 48%,
            rgba(8, 12, 20, 0.9) 100%
        ),
        radial-gradient(
            circle at 50% 40%,
            rgba(126, 146, 184, 0.16),
            transparent 52%
        ),
        url("../images/hero.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    animation:
        heroBackgroundMove 22s ease-in-out
        infinite alternate;
}

@keyframes heroBackgroundMove {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

/* Bottom transition */

.hero::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: -1;

    height: 210px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--background)
        );

    pointer-events: none;
}

/* ===================================
   HERO MIST
=================================== */

.hero-mist {
    position: absolute;
    left: -15%;
    bottom: -4%;

    z-index: -2;

    width: 130%;
    height: 42%;

    background:
        radial-gradient(
            ellipse at 20% 70%,
            rgba(190, 204, 226, 0.14),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 70% 68%,
            rgba(145, 165, 198, 0.12),
            transparent 52%
        ),
        linear-gradient(
            to top,
            rgba(205, 214, 230, 0.08),
            transparent 76%
        );

    filter: blur(20px);
    opacity: 0.72;

    pointer-events: none;

    animation:
        mistDrift 18s ease-in-out
        infinite alternate;
}

@keyframes mistDrift {
    from {
        opacity: 0.5;

        transform:
            translateX(-2%)
            translateY(0);
    }

    to {
        opacity: 0.82;

        transform:
            translateX(3%)
            translateY(-12px);
    }
}

/* ===================================
   HERO CONTENT
=================================== */

.hero-content {
    position: relative;
    z-index: 5;

    width: min(920px, 100%);

    color: var(--text);
}

/* Title glow */

.hero-content::before {
    content: "";

    position: absolute;
    top: 48%;
    left: 50%;

    z-index: -1;

    width: min(650px, 88vw);
    height: min(430px, 65vw);

    background:
        radial-gradient(
            circle,
            rgba(199, 179, 122, 0.13) 0%,
            rgba(92, 113, 151, 0.09) 34%,
            transparent 72%
        );

    filter: blur(12px);

    pointer-events: none;

    animation:
        titleGlow 6s ease-in-out
        infinite alternate;
}

@keyframes titleGlow {
    from {
        opacity: 0.52;

        transform:
            translate(-50%, -53%)
            scale(0.96);
    }

    to {
        opacity: 0.92;

        transform:
            translate(-50%, -53%)
            scale(1.04);
    }
}

.hero h1 {
    margin: 0;

    color: var(--text);

    font-size: clamp(64px, 10vw, 118px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: 2px;

    text-shadow:
        0 3px 28px rgba(0, 0, 0, 0.9),
        0 0 34px rgba(199, 179, 122, 0.11);
}

.tagline {
    margin: 28px 0 0;

    color: var(--accent-light);

    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 5px;

    text-transform: uppercase;

    text-shadow:
        0 2px 16px rgba(0, 0, 0, 0.95);
}

.hero-quote {
    margin: 50px 0 0;

    color: var(--text);

    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(28px, 4vw, 44px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.35;

    text-shadow:
        0 3px 20px rgba(0, 0, 0, 0.95);
}

.enter {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;

    margin-top: 55px;

    color: var(--accent-light);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;

    text-decoration: none;
    text-transform: uppercase;

    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.95);

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.enter span {
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
}

.enter:hover {
    color: var(--text);
    transform: translateY(-4px);
}

/* ===================================
   HERO ENTRANCE
=================================== */

.hero h1,
.tagline,
.hero-quote,
.enter {
    opacity: 0;
    transform: translateY(24px);

    animation:
        heroReveal 1.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.tagline {
    animation-delay: 0.55s;
}

.hero-quote {
    animation-delay: 0.9s;
}

.enter {
    animation-delay: 1.25s;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   MAIN CONTENT
=================================== */

main {
    position: relative;
    z-index: 10;

    width: min(1100px, calc(100% - 40px));

    margin: 0 auto;
    padding: 90px 0;

    background-color: var(--background);
    color: var(--text);
}

main section {
    margin: 0 0 55px;
    padding: 58px;

    scroll-margin-top: 120px;

    background:
        linear-gradient(
            145deg,
            rgba(27, 36, 57, 0.98),
            rgba(16, 23, 38, 0.98)
        );

    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow:
        0 24px 65px var(--shadow);

    transition:
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

main section:hover {
    border-color: rgba(199, 179, 122, 0.22);

    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.5);

    transform: translateY(-3px);
}

.section-label {
    margin: 0 0 13px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;

    text-transform: uppercase;
}

main section h2 {
    margin: 0 0 20px;

    color: var(--text);

    font-size: clamp(40px, 6vw, 58px);
    font-weight: 500;
    line-height: 1;
}

main section p {
    max-width: 720px;

    margin-top: 0;
    margin-bottom: 0;

    color: var(--secondary);

    font-size: 16px;
    line-height: 1.9;
}

/* Preserve gold section labels */

main section .section-label {
    color: var(--accent);
}

/* ===================================
   FOOTER
=================================== */

.artist-profile-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    display: inline-block;
    padding: 0.5rem 0.25rem;
}

.artist-profile-links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

footer {
    padding: 50px 24px;

    background-color: var(--background-deep);
    color: var(--secondary);

    text-align: center;

    border-top: 1px solid var(--border);
}

footer p {
    margin: 0;

    color: var(--secondary);

    font-size: 13px;
    letter-spacing: 1px;
}

.footer-admin-link {
    display: inline-block;
    margin-top: 14px;

    color: var(--secondary);
    opacity: 0.55;

    font-size: 11px;
    letter-spacing: 1.4px;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.footer-admin-link:hover,
.footer-admin-link:focus-visible {
    color: var(--accent);
    opacity: 1;
}

/* ===================================
   TABLETS
=================================== */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;

        padding: 16px 22px;
    }

    .navbar.scrolled {
        padding: 12px 22px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;

        gap: 12px 18px;
    }

    .nav-links a {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero {
        padding: 160px 20px 90px;
    }

    .hero::before {
        background-position: 58% center;
    }

    .hero h1 {
        font-size: clamp(56px, 18vw, 82px);
    }

    .tagline {
        margin-top: 23px;

        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero-quote {
        margin-top: 38px;

        font-size: 29px;
    }

    .enter {
        margin-top: 46px;
    }

    .hero-mist {
        left: -35%;

        width: 170%;
        height: 35%;

        opacity: 0.55;
    }

    main {
        width: min(100% - 32px, 1100px);
        padding: 60px 0;
    }

    main section {
        padding: 38px 28px;
        scroll-margin-top: 160px;
    }

    main section h2 {
        font-size: 43px;
    }

    footer {
        padding: 38px 20px;
    }
}

/* ===================================
   SMALL PHONES
=================================== */

@media (max-width: 480px) {

    .navbar {
        gap: 12px;
    }

    .nav-links {
        gap: 10px 13px;
    }

    .nav-links a {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero {
        padding: 160px 18px 78px;
    }

    .hero::before {
        background-position: 62% center;
    }

    .hero h1 {
        font-size: clamp(50px, 19vw, 68px);
    }

    .tagline {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-quote {
        font-size: 25px;
    }

    main {
        width: min(100% - 24px, 1100px);
    }

    main section {
        padding: 32px 22px;
    }

    main section h2 {
        font-size: 38px;
    }
}

/* ===================================
   REDUCED MOTION
=================================== */

@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;
    }

    .hero h1,
    .tagline,
    .hero-quote,
    .enter {
        opacity: 1;
        transform: none;
    }

    .hero::before,
    .hero-content::before,
    .hero-mist {
        animation: none;
    }
}

/* =========================================================
   ABOUT PAGE
========================================================= */

.about-hero {
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 9rem 8vw 6rem;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 65% 35%,
            rgba(202, 180, 130, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 30% 75%,
            rgba(110, 125, 165, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #090a0d 0%,
            #10121a 50%,
            #08090c 100%
        );
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );
    background-size: 90px 90px;
    mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
}

.about-hero-content {
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    margin: 0.25rem 0 1.5rem;
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.about-intro {
    max-width: 760px;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    line-height: 1.6;
    color: var(--muted-text, #b8b6b0);
}

.eyebrow {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.76rem;
    color: var(--accent, #c9aa6a);
}

.about-page {
    padding: 0 8vw 8rem;
}

.about-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artist-statement {
    max-width: 900px;
}

.artist-statement blockquote {
    margin: 0 0 3rem;
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.15;
    font-weight: 400;
    color: var(--heading, #f4f0e8);
}

.artist-statement p,
.about-philosophy p,
.featured-project p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--muted-text, #b8b6b0);
}

.artist-statement p + p {
    margin-top: 1.4rem;
}

.about-philosophy {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
    align-items: start;
}

.about-philosophy h2,
.featured-project h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.05;
    font-weight: 400;
}

.about-columns {
    display: grid;
    gap: 2rem;
}

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

.theme-card {
    min-height: 230px;
    padding: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.015)
        );
    transition:
        transform 300ms ease,
        border-color 300ms ease,
        background 300ms ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    border-color: rgba(201, 170, 106, 0.38);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.065),
            rgba(255, 255, 255, 0.02)
        );
}

.theme-card h3 {
    margin: 0 0 1.2rem;
    font-size: 1.7rem;
    font-weight: 400;
}

.theme-card p {
    margin: 0;
    line-height: 1.75;
    color: var(--muted-text, #b8b6b0);
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 5rem;
    align-items: center;
}

.featured-project-text {
    max-width: 620px;
}

.featured-project-text p {
    margin: 2rem 0;
}

.featured-project-art {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(234, 221, 186, 0.17),
            transparent 24%
        ),
        radial-gradient(
            circle at 50% 40%,
            rgba(90, 105, 150, 0.28),
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #171926,
            #090a0f
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.featured-project-art::before {
    content: "";
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    position: absolute;
    background:
        radial-gradient(
            circle at 35% 30%,
            #eee4c7,
            #9a927e 60%,
            #4c4a45 100%
        );
    box-shadow:
        0 0 55px rgba(220, 207, 170, 0.18),
        0 0 140px rgba(135, 145, 190, 0.12);
}

.featured-project-art span {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 1;
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    letter-spacing: 0.05em;
}

.text-link {
    display: inline-block;
    color: var(--accent, #c9aa6a);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition:
        transform 200ms ease,
        color 200ms ease;
}

.text-link:hover {
    transform: translateX(5px);
    color: #e5ca92;
}

@media (max-width: 800px) {
    .about-hero {
        min-height: 65vh;
        padding: 8rem 1.5rem 4rem;
    }

    .about-page {
        padding: 0 1.5rem 5rem;
    }

    .about-section {
        padding: 4.5rem 0;
    }

    .about-philosophy,
    .featured-project {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .theme-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   MUSIC PAGE
=========================================== */

.music-hero {

    min-height:60vh;

    display:flex;
    align-items:end;

    padding:8rem 8vw 5rem;

}

.music-hero-content{

    max-width:700px;

}

.music-hero h1{

    font-size:clamp(4rem,9vw,8rem);

    margin:.5rem 0;

}

.music-intro{

    font-size:1.3rem;

    color:var(--muted-text);

    line-height:1.8;

}

.albums-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(340px,1fr));

    gap:3rem;

    padding:4rem 8vw 8rem;

}

.album-card{

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

}

.album-card:hover{

    transform:translateY(-8px);

    border-color:rgba(201,170,106,.35);

}

.album-cover{

    aspect-ratio:1;

    overflow:hidden;

}

.album-cover img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .8s ease;

}

.album-card:hover img{

    transform:scale(1.05);

}

.placeholder-cover{

    background:
    radial-gradient(circle,
    rgba(210,190,145,.15),
    transparent 40%),
    linear-gradient(135deg,
    #11131a,
    #07080c);

}

.album-card h2{

    padding:2rem 2rem .5rem;

}

.album-card p{

    padding:0 2rem;

    color:var(--muted-text);

    line-height:1.8;

}

.album-link{

    display:inline-block;

    margin:2rem;

    color:var(--accent);

    text-decoration:none;

    transition:.25s;

}

.album-link:hover{

    transform:translateX(6px);

}

/* ===================================
   HOME — INTERACTIVE WORLD CARDS
=================================== */

.worlds-section {
    margin: 0 0 55px;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.worlds-section:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.worlds-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.worlds-heading h2 {
    margin: 0;

    color: var(--text);

    font-size: clamp(42px, 6vw, 64px);
    font-weight: 500;
    line-height: 1.05;
}

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

.world-card,
.world-card:visited {
    position: relative;

    min-height: 330px;

    display: flex;
    flex-direction: column;

    padding: 42px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(199, 179, 122, 0.08),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            rgba(27, 36, 57, 0.98),
            rgba(16, 23, 38, 0.98)
        );

    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 14px;

    box-shadow:
        0 24px 65px var(--shadow);

    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.world-card:hover {
    color: var(--text);
    text-decoration: none;

    border-color: rgba(199, 179, 122, 0.34);

    box-shadow:
        0 30px 78px rgba(0, 0, 0, 0.5);

    transform: translateY(-4px);
}

.world-card:focus {
    color: var(--text);
    text-decoration: none;
}

.world-card:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 5px;
}

.world-card-label {
    display: block;

    margin-bottom: 16px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 4px;

    text-transform: uppercase;
}

.world-card h3 {
    margin: 0 0 20px;

    color: var(--text);

    font-size: clamp(40px, 5vw, 56px);
    font-weight: 500;
    line-height: 1;
}

.world-card p {
    max-width: 430px;

    margin: 0 0 32px;

    color: var(--secondary);

    font-size: 16px;
    line-height: 1.85;
}

.world-card-link {
    display: inline-block;

    margin-top: auto;

    color: var(--accent);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.world-card:hover .world-card-link {
    color: var(--accent-light);
    transform: translateX(4px);
}

.world-card,
.world-card *,
.world-card:hover,
.world-card:hover * {
    text-decoration: none;
}

.contact-section {
    margin-bottom: 0;
}

#gallery {
    grid-column: 1 / -1;
}

#videos,
#about {
    min-height: 360px;
}


/* ===================================
   TABLETS
=================================== */

@media (max-width: 768px) {

    .worlds-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #gallery {
        grid-column: auto;
    }

    .world-card {
        min-height: 290px;
        padding: 35px;
    }
}


/* ===================================
   SMALL PHONES
=================================== */

@media (max-width: 480px) {

    .worlds-heading h2 {
        font-size: 40px;
    }

    .worlds-grid {
        gap: 1.5rem;
    }

    .world-card {
        min-height: 270px;
        padding: 29px;
    }

    .world-card h3 {
        font-size: 42px;
    }
}
/* ===================================
   HOME CONTACT LINK
=================================== */

.contact-section .text-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.contact-section .text-link:hover {
    color: var(--accent-light);
    transform: translateX(4px);
}


/* ===================================
   404 PAGE
=================================== */
.error-page {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
    padding: 9rem 1.5rem 5rem;
}
.error-section {
    width: min(680px, 100%);
    text-align: center;
}
.error-section h1 {
    margin: 0.5rem 0 1rem;
}
.error-section p:not(.section-label) {
    color: var(--secondary, #B8BECF);
    margin-bottom: 1.75rem;
}
