/* Keep project and article pages aligned with the redesigned home/gallery typography. */
:root {
    --type-title: 'Inter', 'Manrope', 'Helvetica Neue', Arial, sans-serif !important;
    --type-body: 'Inter', 'Manrope', 'Helvetica Neue', Arial, sans-serif !important;
}

body {
    background:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url("images/figma-hollow-siren.png") center top / cover fixed no-repeat,
        #050505 !important;
    color: #f4f0e8;
}

html,
body {
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1.35px),
        rgba(0, 0, 0, 0.12);
    background-size: 8px 8px, auto;
}

.container {
    width: 100% !important;
    max-width: 1130px !important;
    padding: 0 clamp(30px, 6vw, 78px) !important;
}

nav {
    min-height: 78px !important;
    background:
        linear-gradient(rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.44)),
        url("images/figma-hollow-siren.png") center 22% / cover no-repeat,
        url("images/figma-void-pulse.png") center 22% / cover no-repeat,
        rgba(0, 0, 0, 0.72) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

nav.scrolled {
    background:
        linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
        url("images/figma-hollow-siren.png") center 22% / cover no-repeat,
        url("images/figma-void-pulse.png") center 22% / cover no-repeat,
        rgba(0, 0, 0, 0.72) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24) !important;
}

nav .container {
    height: 78px !important;
    max-width: 980px !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
}

.nav-name {
    color: #f2efea !important;
    font-family: var(--type-body) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-transform: lowercase !important;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 46px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links > li {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-links > li::before {
    content: none !important;
}

.nav-links a {
    color: #f2efea !important;
    font-family: var(--type-body) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: capitalize !important;
    text-decoration: none !important;
}

.nav-links a:hover {
    color: var(--accent-yellow) !important;
}

.nav-action,
.btn-link {
    border: 0 !important;
    border-radius: 6px !important;
    background: #050505 !important;
    color: #f7f5ef !important;
    box-shadow: none !important;
    font-family: var(--type-body) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: lowercase !important;
    padding: 12px 18px !important;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.nav-action:hover,
.btn-link:hover {
    background: #171717 !important;
    border-color: transparent !important;
    transform: translateY(-1px) !important;
}

.project-hero,
.article-hero {
    position: relative;
    padding: 132px 0 70px !important;
    background:
        radial-gradient(circle, rgba(20, 20, 24, 0.035) 1px, transparent 1.45px),
        linear-gradient(180deg, #f7f5ee 0%, #efede6 100%) !important;
    background-size: 8px 8px, auto !important;
    color: #14151b !important;
}

.project-hero::after,
.article-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.project-hero .container,
.article-hero .container {
    position: relative;
    z-index: 1;
}

.project-hero-copy,
.project-shell,
.article-hero-copy {
    max-width: 760px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.header-fluid-bg,
.header-fluid-bg iframe {
    display: none !important;
}

.project-label,
.article-label {
    color: #55565d !important;
    font-family: var(--type-body) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-bottom: 14px !important;
}

.project-hero h1,
.article-hero h1 {
    color: #14151b !important;
    font-family: var(--type-body) !important;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    font-weight: 800 !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 0 22px !important;
    max-width: 12ch;
}

.project-meta,
.article-meta {
    color: #464750 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.38);
    padding-top: 18px;
    max-width: 520px;
    font-family: var(--type-body) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    gap: 14px !important;
}

.project-meta span,
.article-meta span,
.article-meta span:first-child,
.article-meta span:last-child {
    color: inherit !important;
}

.project-content-wrap,
.article-content-wrap {
    position: relative;
    padding: 46px 0 88px !important;
}

.project-content,
.article-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 46px !important;
    background:
        radial-gradient(760px 520px at 44% 6%, rgba(255, 255, 255, 0.18), transparent 64%),
        radial-gradient(520px 360px at 18% 88%, rgba(255, 255, 255, 0.08), transparent 68%),
        linear-gradient(145deg, rgba(92, 94, 90, 0.5), rgba(34, 35, 34, 0.48) 56%, rgba(64, 65, 61, 0.42)) !important;
    box-shadow:
        0 26px 52px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.22) !important;
    padding: clamp(32px, 5vw, 58px) !important;
    backdrop-filter: blur(24px) saturate(1.16);
    -webkit-backdrop-filter: blur(24px) saturate(1.16);
    isolation: isolate;
}

.project-content::before,
.article-content::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.34;
    background-image: url("images/figma-hollow-siren.png");
    background-size: cover;
    background-position: center 58%;
    filter: blur(26px) saturate(0.82) brightness(1.28);
    transform: scale(1.04);
}

.project-content h2 {
    color: #f7f2e8 !important;
    font-family: var(--type-body) !important;
    font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.05 !important;
    text-transform: lowercase !important;
    margin: 44px 0 18px !important;
}

.project-content h2:first-child {
    margin-top: 0 !important;
}

.project-content p,
.project-content li,
.article-content p {
    color: rgba(244, 240, 232, 0.78) !important;
    font-family: var(--type-body) !important;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem) !important;
    font-weight: 500 !important;
    line-height: 1.62 !important;
    letter-spacing: 0 !important;
}

.project-content h2 + p,
.article-content p:first-child {
    color: rgba(244, 240, 232, 0.84) !important;
    font-size: clamp(1.1rem, 1.55vw, 1.34rem) !important;
}

.project-content li::before {
    color: #d5e25c !important;
}

.hero-art {
    border: 0 !important;
    border-radius: 24px !important;
    background: #f7f5ee !important;
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.2) !important;
}

.hero-art::after {
    background: none !important;
}

.project-image {
    border-color: rgba(255, 255, 255, 0.18) !important;
    border-radius: 18px !important;
}

.bottom-nav {
    margin-top: 30px !important;
}

footer {
    display: none !important;
}

@media (max-width: 860px) {
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 24px !important;
    }

    nav .container {
        gap: 18px;
    }

    nav .container {
        height: 66px !important;
    }

    .nav-name {
        font-size: 16px !important;
    }

    .nav-action,
    .btn-link {
        font-size: 14px !important;
        padding: 10px 14px !important;
    }

    .project-hero,
    .article-hero {
        padding: 102px 0 54px !important;
    }

    .article-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .project-hero h1,
    .article-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4.3rem) !important;
    }

    .project-content,
    .article-content {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 30px !important;
        padding: 28px 22px !important;
    }

    .project-content p,
    .project-content li,
    .article-content p {
        overflow-wrap: anywhere;
    }
}
