@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Barlow:wght@400;500;600;700&display=swap');

body.noez-site {
    margin: 0;
    background: #101512;
    color: #f1f4e9;
    font: 18px/1.65 'Barlow', sans-serif;
}

.nz-site {
    --nz-muted: #b7c0b3;
    --nz-accent: #c1f16b;
    --nz-line: #354031;
    overflow: clip;
}

.nz-site *, .nz-lightbox * { box-sizing: border-box; }
.nz-site h1, .nz-site h2, .nz-site h3, .nz-site p, .nz-site figure { margin: 0; color: inherit; }
.nz-site a { color: inherit; text-decoration: none; }
.nz-site a:hover { color: var(--nz-accent); }
.nz-site a:focus-visible, .nz-site summary:focus-visible, .nz-lightbox button:focus-visible { outline: 3px solid #c1f16b; outline-offset: 5px; }
.nz-site img { max-width: 100%; height: auto; }
.nz-wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: 48px; }
.nz-skip { position: fixed; top: -100px; left: 20px; z-index: 100000; padding: 12px; background: #c1f16b; color: #101512; }
.nz-skip:focus { top: 40px; }

.nz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-block: 26px;
    border-bottom: 1px solid var(--nz-line);
}

.nz-brand { display: inline-flex; align-items: baseline; gap: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.045em; }
.nz-brand span { font-size: 13px; letter-spacing: .14em; color: var(--nz-accent); }
.nz-brand img { display: block; width: 190px; height: 95px; margin-block: -20px; object-fit: contain; mix-blend-mode: screen; }
.nz-nav nav { display: flex; flex-wrap: wrap; gap: 32px; font-size: 16px; }
.nz-header-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 0; }
.nz-nav .nz-languages { gap: 8px; }
.nz-languages a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; min-height: 38px; border: 1px solid transparent; font-size: 13px; }
.nz-languages a[aria-current="true"] { border-color: var(--nz-line); color: var(--nz-accent); }
.nz-languages img { display: block; width: 24px; height: 18px; object-fit: cover; }
.nz-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding-block: 82px; }
.nz-hero-text { grid-template-columns: 1fr; }
.nz-hero h1, .nz-project-heading h1 { margin-block: 16px 24px; font: 700 clamp(54px, 6vw, 88px)/1.03 'Barlow Condensed', sans-serif; letter-spacing: -.025em; }
.nz-eyebrow { color: var(--nz-accent) !important; font-size: 14px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.nz-lead { color: var(--nz-muted) !important; font-size: 21px; max-width: 680px; }
.nz-hero figure { align-self: stretch; }
.nz-hero figure img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.nz-portfolio-hero { padding-block: 36px; }
.nz-portfolio-hero figure { align-self: center; min-width: 0; }
.nz-portfolio-hero figure img { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
.nz-studio-hero figure { align-self: center; min-width: 0; }
.nz-studio-hero figure img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.nz-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; border: 1px solid #657255; font-size: 16px; font-weight: 600; }
.nz-primary { background: var(--nz-accent); border-color: var(--nz-accent); color: #14200c !important; }
.nz-primary:hover { background: #d3ff8d; }
.nz-hero .nz-button, .nz-project-heading .nz-button { margin-top: 30px; }
.nz-section { padding-block: 64px; border-top: 1px solid var(--nz-line); scroll-margin-top: 40px; }
.nz-section h2, .nz-contact h2 { font: 600 clamp(36px, 4vw, 52px)/1.12 'Barlow Condensed', sans-serif; }
.nz-media-subsection { margin-top: 36px; }
.nz-media-subsection > h3 { font: 600 clamp(28px, 3vw, 36px)/1.12 'Barlow Condensed', sans-serif; }
.nz-section-head { display: flex; justify-content: space-between; margin-bottom: 32px; }
.nz-section-description { margin-top: 24px !important; }
.nz-muted { color: var(--nz-muted) !important; }
.nz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.nz-section > h2 + .nz-grid { margin-top: 32px; }
.nz-games-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
.nz-games-heading figure { width: min(42%, 360px); }
.nz-games-heading img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.nz-card { background: #19201b; min-width: 0; }
.nz-card-image { display: block; overflow: hidden; }
.nz-card-image img { display: block; width: 100%; aspect-ratio: 460 / 215; object-fit: cover; transition: transform .2s ease; }
.nz-card-image:hover img { transform: scale(1.025); }
.nz-card-body { padding: 28px 30px 32px; }
.nz-card h3 { margin-block: 12px 16px; font: 600 34px/1.12 'Barlow Condensed', sans-serif; }
.nz-card-body > p:not(.nz-eyebrow) { color: var(--nz-muted); font-size: 17px; }
.nz-card .nz-role { margin-bottom: 14px; color: #f1f4e9 !important; }
.nz-text-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid #76876a; font-size: 16px; font-weight: 600; }
.nz-card .nz-text-link { margin-top: 24px; }
.nz-portfolio-invite { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.nz-portfolio-invite h2 { margin-block: 12px 18px; }
.nz-portfolio-invite p:last-child { max-width: 640px; color: var(--nz-muted); }
.nz-portfolio-invite .nz-button { flex-shrink: 0; }
.nz-archive summary { cursor: pointer; font-size: 22px; font-weight: 600; }
.nz-archive > p { color: var(--nz-muted); margin-block: 22px 30px; }
.nz-project-heading { padding-block: 60px 48px; }
.nz-project-heading > .nz-text-link { margin-bottom: 32px; }
.nz-project-heading h1 { max-width: 1000px; }
.nz-project-cover { padding-bottom: 64px; }
.nz-project-cover img { width: 100%; max-height: 550px; object-fit: contain; background: #19201b; display: block; }
.nz-project-story { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.nz-project-story p { margin-bottom: 20px; }
.nz-role { font-weight: 600; }
.nz-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.nz-gallery a { display: block; }
.nz-gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nz-video-grid { display: grid; gap: 28px; margin-top: 32px; }
.nz-video-grid iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #19201b; }
.nz-contact { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 64px; border-top: 1px solid var(--nz-line); }
.nz-contact p { color: var(--nz-muted); margin-top: 16px; }
.nz-footer { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--nz-line); font-size: 14px; color: var(--nz-muted); }
.nz-lightbox { width: min(96vw, 1500px); max-height: 96vh; padding: 56px 16px 16px; border: 1px solid #536246; background: #101512; }
.nz-lightbox::backdrop { background: rgb(0 0 0 / 88%); }
.nz-lightbox img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.nz-lightbox-close { position: absolute; right: 16px; top: 12px; padding: 8px 14px; background: #c1f16b; border: 0; color: #101512; font: 600 16px 'Barlow', sans-serif; cursor: pointer; }
.nz-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.nz-section-head { align-items: baseline; gap: 24px; flex-wrap: wrap; }
.nz-section-head > .nz-text-link { flex-shrink: 0; }
.nz-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nz-news-card { display: flex; flex-direction: column; }
.nz-news-card .nz-card-body { flex: 1; display: flex; flex-direction: column; }
.nz-news-card h3 { font-size: 29px; }
.nz-news-card .nz-text-link { align-self: flex-start; margin-top: auto; padding-top: 24px; }
.nz-news-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; font-size: 14px !important; }
.nz-news-meta span { color: var(--nz-accent); font-weight: 600; }
.nz-news-meta time { color: var(--nz-muted); }
.nz-project-heading > .nz-news-meta { margin-top: 24px; }
.nz-project-news-link { margin-left: 14px; }
.nz-pagination { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.nz-pagination-count { color: var(--nz-muted) !important; font-size: 15px; }
.nz-pagination-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.nz-page { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 44px; padding: 6px; border: 1px solid var(--nz-line); font-size: 16px; }
.nz-page-current { background: var(--nz-accent); color: #14200c; font-weight: 700; border-color: var(--nz-accent); }
.nz-page-disabled { opacity: .3; }
.nz-page-dots { padding-inline: 2px; }
.nz-contribution { color: var(--nz-muted); font-size: 17px; }
.nz-contribution p + p, .nz-contribution ul { margin-top: 14px; }
.nz-contribution ul { padding-left: 22px; }
.nz-socials { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.nz-social-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--nz-line); }
.nz-social-icon img { display: block; width: 22px; height: 22px; object-fit: contain; filter: invert(1); }
.nz-social-icon:hover { background: #354031; border-color: var(--nz-accent); }
.nz-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nz-media-stage { margin-top: 32px; }
.nz-media-card { min-width: 0; background: #19201b; }
.nz-media-preview { display: block; position: relative; aspect-ratio: 16 / 9; background: #263026; overflow: hidden; }
.nz-media-preview > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nz-media-caption { padding: 18px; }
.nz-media-caption .nz-media-title { margin: 0 0 8px; font-weight: 600; overflow-wrap: anywhere; }
.nz-media-caption time { display: block; color: var(--nz-muted); font-size: 14px; margin-bottom: 8px; }
.nz-media-caption .nz-text-link { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.4; min-height: 46px; }
.nz-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #101512dd; color: #c1f16b; font-size: 24px; }
.nz-media-kind { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; background: #101512dd; font-size: 13px; }
.nz-media-section button.nz-page { background: transparent; color: inherit; font-family: inherit; cursor: pointer; }
.nz-media-section button.nz-page-current { background: var(--nz-accent); color: #14200c; }
.nz-media-section button.nz-page:disabled { opacity: .3; cursor: default; }
.nz-media-section button:focus-visible { outline: 3px solid var(--nz-accent); outline-offset: 3px; }
.nz-lightbox img[hidden] { display: none; }
.nz-lightbox-video iframe, .nz-lightbox-video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 80vh; border: 0; }
.nz-lightbox-video:empty { display: none; }
.nz-contact-card { padding: 32px; background: #19201b; }
.nz-contact-card h2 { margin-block: 14px 24px; }
.nz-contact-card > p { margin-block: 18px; }
.nz-contact-card > p:not(.nz-eyebrow) { color: var(--nz-muted); }
.nz-article-body { max-width: 960px; padding-bottom: 48px; overflow-wrap: break-word; }
.nz-article-body p, .nz-article-body ul, .nz-article-body ol { margin-bottom: 24px; }
.nz-article-body h2, .nz-article-body h3 { margin-block: 36px 18px; font-family: 'Barlow Condensed', sans-serif; line-height: 1.2; }
.nz-article-body h2 { font-size: 36px; }
.nz-article-body h3 { font-size: 29px; }
.nz-article-body img, .nz-article-body iframe, .nz-article-body video { max-width: 100%; }
.nz-article-body a { color: var(--nz-accent); text-decoration: underline; }
.nz-article-body .container { width: auto; max-width: 100%; }
.nz-article-back { padding-bottom: 64px; }
.nz-content-page { padding-top: 16px; }
.nz-content-page > h2:first-child { margin-top: 0; }
.nz-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 44px; }
.nz-team-card { padding: 28px; background: #19201b; }
.nz-team-card h3 { margin-top: 0; }
.nz-team-card p { color: var(--nz-muted); margin-bottom: 0; }
.nz-credits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nz-credits-grid h3 { margin-top: 12px; }
.nz-credits-grid ul { padding-left: 22px; color: var(--nz-muted); }

@media (max-width: 800px) {
    .nz-wrap { padding-inline: 24px; }
    .nz-nav { align-items: flex-start; gap: 20px; }
    .nz-nav nav { gap: 10px 18px; justify-content: flex-end; font-size: 15px; }
    .nz-brand { font-size: 24px; flex-direction: column; gap: 0; line-height: 1.2; }
    .nz-brand img { width: 120px; height: 60px; margin-block: -10px; }
    .nz-hero { grid-template-columns: 1fr; gap: 36px; padding-block: 48px; }
    .nz-hero h1, .nz-project-heading h1 { font-size: clamp(46px, 10vw, 68px); overflow-wrap: anywhere; }
    .nz-hero figure img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
    .nz-portfolio-hero { gap: 24px; padding-block: 32px; }
    .nz-portfolio-hero figure img, .nz-studio-hero figure img { aspect-ratio: 16 / 9; }
    .nz-lead { font-size: 19px; }
    .nz-grid, .nz-project-story { grid-template-columns: 1fr; }
    .nz-card-body { padding: 24px; }
    .nz-section { padding-block: 44px; }
    .nz-games-heading { flex-direction: column; gap: 20px; }
    .nz-games-heading figure { width: min(100%, 360px); }
    .nz-portfolio-invite, .nz-contact { flex-direction: column; align-items: flex-start; gap: 28px; }
    .nz-project-heading { padding-block: 44px 32px; }
    .nz-project-cover { padding-bottom: 36px; }
    .nz-gallery { grid-template-columns: 1fr; }
    .nz-news-grid { grid-template-columns: 1fr; }
    .nz-pagination-links { gap: 4px; }
    .nz-page { min-width: 34px; }
    .nz-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .nz-media-caption { padding: 12px; }
    .nz-media-caption .nz-text-link { font-size: 14px; min-height: 40px; }
    .nz-socials { gap: 12px; }
    .nz-team-grid, .nz-credits-grid { grid-template-columns: 1fr; }
    .nz-project-news-link { margin-left: 0; margin-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .nz-card-image img { transition: none; }
}
