/*
====================================================
NÉV: NextSheet Labs stílus
PROJEKT: nextsheet.hu
TÍPUS: CSS
VERZIÓ: v0.3.0
UTOLSÓ FRISSÍTÉS: 2026-09-10

LEÍRÁS:
Teljesen scope-olt, mobil-first Labs oldalmegjelenés.

FEJLESZTŐ:
Balázs Bakos
NextSheet Innovations
https://www.nextsheet.hu

CHANGELOG:

v0.3.0 - 2026-09-10
- Egységes, helyi OG-képes projektkártyák

v0.2.1 - 2026-08-30
- Erősebb CTA és termékszerűbb vízadat-vizuál

v0.2.0 - 2026-08-30
- Egyszerűsített, projektközpontú elrendezés

====================================================
*/

.nslabs {
    --nsl-bg: #08090c;
    --nsl-surface: #111319;
    --nsl-text: #f5f4f7;
    --nsl-muted: #a7a8b1;
    --nsl-line: rgba(255, 255, 255, .11);
    --nsl-pink: #f12a78;
    --nsl-aqua: #43d7d0;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: var(--nsl-bg);
    color: var(--nsl-text);
    font-family: inherit;
    line-height: 1.5;
}

.nslabs *, .nslabs *::before, .nslabs *::after { box-sizing: border-box; }
.nslabs h1, .nslabs h2, .nslabs h3, .nslabs p { margin: 0; color: inherit; }
.nslabs a { color: inherit; text-decoration: none; }
.nslabs-shell { width: min(100% - 40px, 1180px); margin-inline: auto; }
.nslabs-hero { padding: 72px 0 52px; border-bottom: 1px solid var(--nsl-line); }
.nslabs-hero__brand { margin-bottom: 22px !important; color: var(--nsl-pink) !important; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.nslabs-hero h1 { max-width: 850px; font-size: clamp(44px, 10vw, 86px); font-weight: 720; letter-spacing: -.058em; line-height: .97; }
.nslabs-hero__intro { max-width: 660px; margin-top: 26px !important; color: #c6c6ce !important; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.65; }

.nslabs-projects { padding: 40px 0 88px; }
.nslabs-project-list { display: grid; gap: 28px; }
.nslabs-project { --project-accent: var(--nsl-pink); display: grid; overflow: hidden; border: 1px solid var(--nsl-line); background: var(--nsl-surface); }
.nslabs-project--aqua { --project-accent: var(--nsl-aqua); }
.nslabs-project__visual { position: relative; display: flex; overflow: hidden; aspect-ratio: 1200 / 630; align-items: center; background: #0d1015; }
.nslabs-project__image { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; object-position: center; }
.nslabs-project__content { display: flex; flex-direction: column; padding: 31px 26px 28px; }
.nslabs-project__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nslabs-project h3 { color: var(--project-accent); font-size: 13px; font-weight: 750; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.nslabs-project__status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--nsl-muted); font-size: 11px; }
.nslabs-project__status i { width: 6px; height: 6px; border-radius: 50%; background: #65df93; }
.nslabs-project__message { max-width: 470px; margin-top: 18px !important; font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.nslabs-project__description { max-width: 500px; margin-top: 24px !important; color: #bfc0c8 !important; font-size: 16px; line-height: 1.7; }
.nslabs-project__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; border-top: 1px solid var(--project-accent); padding: 22px 0 2px; color: #fff !important; font-size: 16px; font-weight: 750; letter-spacing: .01em; transition: color .2s ease, padding-left .2s ease; }
.nslabs-project__cta:hover, .nslabs-project__cta:focus-visible { padding-left: 6px; color: var(--project-accent) !important; }
.nslabs-project__cta:focus-visible { outline: 2px solid var(--project-accent); outline-offset: 6px; }

.nslabs-method { border-top: 1px solid var(--nsl-line); padding: 64px 0 72px; }
.nslabs-method h2 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.nslabs-method p { max-width: 680px; margin-top: 17px !important; color: #bfc0c8 !important; font-size: 17px; line-height: 1.7; }

@media (min-width: 720px) {
    .nslabs-shell { width: min(100% - 72px, 1180px); }
    .nslabs-hero { padding: 92px 0 70px; }
    .nslabs-project { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 430px; }
    .nslabs-project:nth-child(even) .nslabs-project__visual { order: 2; }
    .nslabs-project:nth-child(even) .nslabs-project__content { order: 1; }
    .nslabs-project__visual { min-height: 430px; aspect-ratio: auto; }
    .nslabs-project__content { padding: 48px 44px 38px; }
}

@media (min-width: 1024px) {
    .nslabs-projects { padding-top: 54px; }
    .nslabs-project-list { gap: 40px; }
    .nslabs-project { min-height: 450px; }
    .nslabs-project__visual { min-height: 450px; }
}

@media (prefers-reduced-motion: reduce) {
    .nslabs-project__cta { transition: none; }
}
