
/* ========================================
   mnrds.org theme 2.0
======================================== */

/* 1. Variables */

:root {
    --background: #101113;
    --surface: #18191c;
    --surface-light: #202125;

    --text: #f3f3f0;
    --text-muted: #999ba2;

    --accent: #d8ff70;
    --border: #303136;

    --font-main: "Space Grotesk", sans-serif;

    --container-width: 1200px;
    --page-padding: 6%;
}

/* 2. Reset */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font-main), sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* 3. Shared layout */

.section-container {
    width: min(
        var(--container-width),
        calc(100% - var(--page-padding) * 2)
    );
    margin-inline: auto;
}

section {
    scroll-margin-top: 90px;
}

.accent-text {
    color: var(--accent);
}

.work-grid a {
    color: var(--accent);
}

.eyebrow {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

/* 4. Header */

.site-header {
    width: 100%;
    min-height: 82px;
    padding: 18px var(--page-padding);

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

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.logo-icon {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

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

    border-radius: 8px;
    font-size: 1rem;
}

.logo-dot {
    color: var(--accent);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a,
.header-link {
    color: var(--text-muted);
    font-size: 0.88rem;

    transition: color 0.2s ease;
}

.navigation a:hover,
.header-link:hover {
    color: var(--accent);
}

.header-link {
    color: var(--text);
}

.header-link span {
    color: var(--accent);
    margin-left: 5px;
}

/* 5. Hero */

.hero {
    padding-top: 110px;
    padding-bottom: 32px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;

    margin-right: 8px;
    border-radius: 50%;

    background: var(--accent);
}

.hero h1 {
    max-width: 1000px;
    margin-top: 28px;

    font-size: clamp(3rem, 7.5vw, 6.8rem);
    font-weight: 500;
    line-height: 0.99;
    letter-spacing: -0.075em;
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;

    margin-top: 36px;
    margin-bottom: 52px;
}

.hero-description {
    max-width: 440px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding: 15px 21px;

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

    border: 1px solid var(--accent);
    border-radius: 3px;

    font-size: 0.9rem;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.button-primary:hover {
    background: transparent;
    color: var(--accent);
}

/* 6. Hero artwork
   Static CSS artwork — no video or animation */

.hero-visual {
    position: relative;
    min-height: 390px;
    overflow: hidden;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            ellipse at 50% 50%,
            #343a30 0%,
            #1d211c 32%,
            #141517 72%
        );

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

.visual-glow {
    position: absolute;

    width: min(55vw, 480px);
    aspect-ratio: 1;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(216, 255, 112, 0.14),
        rgba(216, 255, 112, 0.02) 55%,
        transparent 72%
    );
}

.visual-orb {
    position: relative;
    width: clamp(150px, 24vw, 270px);
    aspect-ratio: 1;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 32% 25%,
            #f0f4d8 0%,
            #aebc8c 12%,
            #58644d 28%,
            #262c26 52%,
            #121412 75%
        );

    border: 1px solid rgba(216, 255, 112, 0.3);

    box-shadow:
        inset -20px -24px 45px rgba(0, 0, 0, 0.65),
        0 0 80px rgba(216, 255, 112, 0.08);
}

.visual-label {
    position: absolute;
    z-index: 1;

    color: #b4b7ac;
    font-size: 0.65rem;
    line-height: 1.7;
    letter-spacing: 0.12em;
}

.visual-label-left {
    top: 26px;
    left: 28px;
}

.visual-label-right {
    right: 28px;
    bottom: 26px;
    text-align: right;
}

.hero-caption {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    padding: 17px 0;

    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

/* 7. Selected work */

.work-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

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

    margin-bottom: 42px;
}

.section-heading h2,
.about-content h2,
.contact-section h2 {
    margin-top: 18px;

    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.065em;
}

.section-description {
    max-width: 290px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 22px;
}

.work-card {
    min-width: 0;
}

.work-link {
    display: block;
}

.work-image {
    position: relative;
    min-height: 300px;
    aspect-ratio: 1.35;

    display: grid;
    place-items: center;

    overflow: hidden;
    isolation: isolate;
}

.artwork-one {
    background: #242a22;
}

.artwork-two {
    background: #262329;
}

.artwork-three {
    background: #222729;
}

.artwork-four {
    background: #282a1f;
}

.artwork-number,
.artwork-category {
    position: absolute;
    z-index: 2;

    color: rgba(255, 255, 255, 0.75);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

.artwork-number {
    top: 18px;
    left: 18px;
}

.artwork-category {
    right: 18px;
    bottom: 18px;
}

/* Abstract artwork shapes */

.artwork-shape {
    width: 42%;
    aspect-ratio: 1;

    transition: transform 0.25s ease;
}

.work-link:hover .artwork-shape {
    transform: scale(1.04);
}

.shape-one {
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 25%,
        #f0f5dc,
        #8f9e6c 25%,
        #31392a 65%,
        #141613
    );

    box-shadow: 0 0 65px rgba(216, 255, 112, 0.12);
}

.shape-two {
    width: 36%;
    aspect-ratio: 0.8;

    background: linear-gradient(
        135deg,
        #e8d5d0,
        #8c6c8b 40%,
        #39303e 75%
    );

    transform: rotate(35deg);
}

.work-link:hover .shape-two {
    transform: rotate(39deg) scale(1.04);
}

.shape-three {
    border: 1px solid rgba(225, 240, 237, 0.7);
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 30%,
        #b6c9c0,
        #405b58 35%,
        #1b2527 70%
    );

    box-shadow: inset -20px -20px 35px #101719;
}

.shape-four {
    width: 38%;
    aspect-ratio: 1;

    border: 1px solid rgba(216, 255, 112, 0.7);

    background: linear-gradient(
        145deg,
        #d8ff70 0%,
        #6c8141 35%,
        #252d1b 70%
    );

    transform: rotate(45deg);
}

.work-link:hover .shape-four {
    transform: rotate(49deg) scale(1.04);
}

.work-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-top: 17px;
}

.work-info h3 {
    font-size: 1.2rem;
    font-weight: 500;
}

.project-arrow {
    color: var(--accent);
    font-size: 1.2rem;
}

.work-card > .work-link > p,
.work-link > p {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* 8. About */

.about-section {
    padding-top: 90px;
    padding-bottom: 110px;

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
    gap: 60px;

    margin-top: 20px;
}

.about-content h2 {
    margin-top: 0;
}

.about-text {
    padding-top: 8px;
}

.about-text p {
    margin-bottom: 20px;

    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 8px;
    padding-bottom: 5px;

    border-bottom: 1px solid var(--accent);
    font-size: 0.9rem;
}

.text-link span {
    color: var(--accent);
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;

    margin-top: 80px;
    padding-top: 28px;

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

.principle > span {
    color: var(--accent);
    font-size: 0.75rem;
}

.principle h3 {
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

.principle p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 9. Contact */

.contact-section {
    padding-top: 90px;
    padding-bottom: 110px;

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

.contact-section h2 {
    margin-top: 24px;
    margin-bottom: 32px;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
}

/* 10. Footer */

.site-footer {
    padding-top: 28px;
    padding-bottom: 24px;

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

.site-footer > p {
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-top: 40px;
    padding-top: 20px;

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

    color: var(--text-muted);
    font-size: 0.75rem;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.cookie-notice {
    position: fixed;
    z-index: 10;
    right: var(--page-padding);
    bottom: 20px;
    left: var(--page-padding);

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

    max-width: 900px;
    margin-inline: auto;
    padding: 18px 22px;

    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.cookie-notice a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice-dismiss {
    flex: 0 0 auto;
    padding: 9px 16px;

    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 3px;
    color: var(--background);
    cursor: pointer;
    font: inherit;
}

/* 11. Responsive design */

@media (max-width: 700px) {
    :root {
        --page-padding: 5%;
    }

    .site-header {
        min-height: 70px;
        gap: 12px;
    }

    .navigation {
        gap: 15px;
    }

    .navigation a,
    .header-link {
        font-size: 0.78rem;
    }

    .hero {
        padding-top: 75px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .hero-visual {
        min-height: 300px;
    }

    .work-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .work-image {
        min-height: 260px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .principles {
        gap: 18px;
        margin-top: 55px;
    }

    .principle h3 {
        font-size: 1rem;
    }

    .principle p {
        font-size: 0.8rem;
    }

    .contact-section {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .cookie-notice {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
}

@media (max-width: 420px) {
    .site-header {
        flex-wrap: wrap;
    }

    .navigation {
        order: 3;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }

    .header-link {
        margin-left: auto;
    }

    .hero-caption {
        font-size: 0.55rem;
    }

    .principles {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .principle h3 {
        margin-top: 8px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}

/* 12. Accessibility: 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;
    }
}

/* Pixel art typography */

:root {
    --font-main: "Pixelify Sans", sans-serif;
}

/* Main headings */
h1,
h2,
h3,
.logo {
    font-family: "Pixelify Sans", sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

/* Navigation and buttons */
.navigation,
.header-link,
.button-primary,
.text-link {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 1.05rem;
}

/* Body text */
body {
    font-family: "Pixelify Sans", sans-serif;
    font-size: 18px;
    line-height: 1.7;
}

/* Small technical labels */
.eyebrow,
.artwork-number,
.artwork-category,
.hero-caption,
.visual-label,
.footer-bottom {
    font-family: "Pixelify Sans", sans-serif;
    letter-spacing: 0.06em;
}

/* Stronger pixel character for main heading */
.hero h1 {
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    line-height: 1.15;
    letter-spacing: 0;
}

/* Keep text comfortable to read on mobile */
@media (max-width: 700px) {
    body {
        font-size: 16px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }
}
