/* ─────────────────────────────────────────────────────────────
   Home page. Tokens come from css/layout.css (--nz-*).
   ───────────────────────────────────────────────────────────── */
:root {
    --nz-surface: #07130e;
    --nz-surface-2: #0b1c15;
    --nz-card: rgba(255, 255, 255, 0.035);
    --nz-card-shadow: var(--nz-shadow-md);
    --nz-glow: rgba(0, 192, 127, 0.16);
}


.nz-home {
    color: var(--nz-ink);
    font-family: 'Cabin', sans-serif;
    overflow-x: clip;
}
:where(.nz-home) a { color: inherit; } /* zero specificity: never beats a component colour */
:where(.nz-home) ul, :where(.nz-home) ol { list-style: none; margin: 0; padding: 0; }
:where(.nz-home) :is(h1, h2, h3, h4, p) { margin: 0; }

.nz-wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.nz-section { position: relative; padding: clamp(88px, 11vw, 160px) 0; }
.nz-section--sm { padding: clamp(56px, 7vw, 96px) 0; }
.nz-center { text-align: center; margin-top: clamp(72px, 9vw, 120px); }

/* ── Type ── */
.nz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nz-green-soft);
}
.nz-display {
    font-size: clamp(46px, 6.6vw, 96px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}
.nz-h2 {
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
}
.nz-accent { color: var(--nz-green-text); }
.nz-lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--nz-ink-2); max-width: 560px; }
.nz-muted { color: var(--nz-ink-2); font-size: 16px; line-height: 1.65; }

.nz-sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 24px clamp(32px, 6vw, 96px);
    margin-bottom: clamp(40px, 5vw, 72px);
}
.nz-sec-head > div { display: grid; gap: 22px; justify-items: start; }
.nz-sec-head--single { grid-template-columns: minmax(0, 1fr); }
.nz-sec-head--single .nz-h2 { max-width: 15ch; }

.nz-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nz-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.nz-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--nz-line);
    background: rgba(var(--nz-w), 0.04);
    box-shadow: var(--nz-shadow-sm);
    font-size: 13px;
    color: var(--nz-ink-2);
}
.nz-tag i { font-size: 10px; color: var(--nz-green-text); }
.nz-chip {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(var(--nz-d), 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--nz-line);
    box-shadow: var(--nz-shadow-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--nz-ink);
}
.nz-live {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 192, 127, 0.16);
    color: var(--nz-green-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.nz-ticks { display: grid; gap: 12px; }
.nz-ticks li { position: relative; padding-left: 28px; color: var(--nz-ink-2); line-height: 1.5; }
.nz-ticks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: rgba(0, 192, 127, 0.16);
}
.nz-ticks li::after { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 12px; background: var(--nz-green-soft); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ── Scroll reveal ── */
.nz-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--nz-ease), transform 0.9s var(--nz-ease); }
.nz-js [data-reveal].is-in { opacity: 1; transform: none; }
/* Grows from the centre to the edges (images, full sections) */
.nz-js [data-clip] { clip-path: inset(9% 7% round 40px); transition: clip-path 1.3s var(--nz-ease); }
.nz-js [data-clip].is-in { clip-path: inset(0 round var(--clip-r, 0px)); }
.nz-js [data-clip] img { transform: scale(1.2); transition: transform 1.6s var(--nz-ease); }
.nz-js [data-clip].is-in img { transform: none; }

/* Cursor glow (needs data-glow; js/layout.js feeds --mx/--my) */
[data-glow] { position: relative; }
[data-glow]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), var(--nz-glow), transparent 65%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
@media (hover: hover) { [data-glow]:hover::before { opacity: 1; } }
[data-glow] > * { position: relative; z-index: 1; }

/* ─────────────────────────────── Hero ─────────────────────────────── */
.nz-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 140px 0 110px;
}
.nz-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; width: 100%; }
.nz-hero__copy { display: grid; gap: 28px; justify-items: start; }
.nz-hero__copy .nz-display { max-width: 13ch; font-size: clamp(46px, 6vw, 88px); }
/* Reserved for the motion-design piece; keeps the layout when it arrives */
/* Hero animation (js/hero-animation.js): grows past its column into the right gutter, like the
   reference, so the drawing balances the headline. Page overflow is clipped by .nz-home. */
.nz-hero__visual { aspect-ratio: 1; width: calc(100% + clamp(0px, 7vw, 120px)); max-width: 660px; justify-self: start; }
@keyframes nz-scroll-hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Hero entrance */
.nz-js .nz-hero__in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--nz-ease), transform 0.9s var(--nz-ease); }
.nz-js .nz-hero.is-in .nz-hero__in { opacity: 1; transform: none; }
.nz-js .nz-hero.is-in .nz-lead { transition-delay: 0.35s; }
.nz-js .nz-hero.is-in .nz-btn-row { transition-delay: 0.5s; }
.nz-js .nz-hero.is-in .nz-tags { transition-delay: 0.65s; }
/* Short page hero (services, projects): generous space under the navbar, title and lead side by side */
.nz-hero--short { min-height: 0; padding: clamp(190px, 27vh, 280px) 0 clamp(90px, 13vh, 150px); }
.nz-hero--short .nz-wrap { display: grid; gap: clamp(36px, 5vw, 64px); width: 100%; }
.nz-hero__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.nz-hero--short .nz-display { max-width: 20ch; font-size: clamp(44px, 5.4vw, 82px); }
.nz-hero--short .nz-display .nz-accent { display: block; }
@media (max-width: 960px) { .nz-hero__row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .nz-hero--short { padding: 150px 0 72px; } }

/* ─────────────────────────────── Who we are ─────────────────────────────── */
.nz-intro__inner { display: grid; gap: 40px; justify-items: start; }
.nz-statement {
    font-size: clamp(30px, 4.4vw, 62px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 22ch;
}
.nz-statement em { font-style: normal; }
.nz-statement .nz-hw { color: rgba(var(--nz-ink-rgb), 0.14); transition: color 0.35s; }
.nz-statement .nz-hw.is-lit { color: var(--nz-ink); }
.nz-statement em .nz-hw.is-lit { color: var(--nz-green-text); }

/* ─────────────────────────────── Who we serve ─────────────────────────────── */
/* Head, tabs and button live in the left column; the stage spans head + tabs,
   so its bottom lines up with the last tab */
.nz-serve__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas: "head stage" "tabs stage" "more .";
    gap: 24px clamp(32px, 5vw, 72px);
    align-items: start;
}
.nz-serve__head { grid-area: head; display: grid; gap: 22px; justify-items: start; }
.nz-serve__tabs { grid-area: tabs; display: grid; gap: 12px; width: 100%; }
.nz-serve__more { grid-area: more; }
.nz-serve__tab {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 2px;
    align-items: center;
    width: 100%;
    padding: 20px 22px;
    border: 1px solid var(--nz-line);
    border-radius: 22px;
    background: var(--nz-surface);
    box-shadow: var(--nz-shadow-sm);
    color: var(--nz-ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.5s var(--nz-ease);
}
@media (hover: hover) { .nz-serve__tab:hover { background: var(--nz-surface-2); } }
.nz-serve__tab[aria-selected="true"] {
    background: var(--nz-tint);
    border-color: rgba(0, 192, 127, 0.5);
    box-shadow: var(--nz-shadow-sm), 0 12px 30px -14px rgba(0, 192, 127, 0.5);
    transform: translateX(8px);
}
/* the tip that points at the stage */
.nz-serve__tab::after {
    content: "";
    position: absolute;
    right: -9px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: var(--nz-tint);
    border-top: 1px solid rgba(0, 192, 127, 0.5);
    border-right: 1px solid rgba(0, 192, 127, 0.5);
    border-radius: 0 4px 0 0;
    transform: rotate(45deg) scale(0.6);
    opacity: 0;
    transition: transform 0.4s var(--nz-spring), opacity 0.2s ease;
}
.nz-serve__tab[aria-selected="true"]::after { opacity: 1; transform: rotate(45deg) scale(1); }
.nz-serve__ic {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(var(--nz-w), 0.06);
    box-shadow: var(--nz-shadow-sm);
    color: var(--nz-ink-2);
    font-size: 19px;
    transition: background-color 0.3s, color 0.3s;
}
.nz-serve__tab[aria-selected="true"] .nz-serve__ic { background: var(--nz-green); color: var(--nz-ink-on-green); box-shadow: var(--nz-shadow-green); }
.nz-serve__tab b { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.nz-serve__d { font-size: 14.5px; color: var(--nz-ink-3); line-height: 1.4; }
.nz-serve__bar { position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; }
.nz-serve__bar i { display: block; height: 100%; width: 0; background: var(--nz-green); border-radius: 2px; }

.nz-serve__stage {
    grid-area: stage;
    align-self: stretch;
    display: grid; /* scenes stack in one cell; the active one sets the height */
    border-radius: 32px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-card-shadow);
    overflow: hidden;
}
.nz-scene { grid-area: 1 / 1; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.nz-scene[hidden] { display: none; }
.nz-scene__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.nz-scene__cap h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.nz-scene__cap p { color: var(--nz-ink-2); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.nz-scene__tag {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 192, 127, 0.12);
    box-shadow: var(--nz-shadow-sm);
    color: var(--nz-green-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nz-scene__body { flex: 1; position: relative; }
.nz-scene.is-active .nz-scene__cap { animation: nz-rise 0.6s var(--nz-ease) both; }

/* Shared mini UI */
.nz-ui {
    display: grid;
    gap: 4px;
    align-content: start;
    padding: 14px;
    border-radius: 16px;
    background: var(--nz-surface-2);
    border: 1px solid var(--nz-line);
    box-shadow: var(--nz-shadow-sm);
}
.nz-ui b { font-size: 14px; }
.nz-ui small { font-size: 12px; color: var(--nz-ink-3); }
.nz-ui__ic {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(0, 192, 127, 0.14);
    color: var(--nz-green-soft);
    font-size: 13px;
}
.nz-ui__pill {
    justify-self: start;
    margin-top: 6px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(0, 192, 127, 0.16);
    color: var(--nz-green-soft);
    font-size: 11px;
    font-weight: 600;
}
.nz-ui__pill i { font-size: 9px; }
.nz-ui__meter { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: rgba(var(--nz-w), 0.08); overflow: hidden; }
.nz-ui__meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--nz-green); }
.is-active .nz-ui__meter i { animation: nz-fill 1.6s 0.6s var(--nz-ease) forwards; }
@keyframes nz-fill { to { width: 72%; } }
@keyframes nz-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes nz-pop { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }

.nz-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 12px; border-radius: 14px; background: rgba(var(--nz-w), 0.04); }
.nz-bars i {
    flex: 1;
    height: 100%;
    border-radius: 6px 6px 3px 3px;
    background: var(--nz-green);
    transform-origin: bottom;
    transform: scaleY(var(--h));
}
.is-active .nz-bars i, .is-open .nz-bars i { animation: nz-bar-grow 1.2s calc(var(--bars-delay, 0s) + var(--i, 0) * 0.08s) var(--nz-ease) both; }
.nz-bars i:nth-child(2) { --i: 1; }
.nz-bars i:nth-child(3) { --i: 2; }
.nz-bars i:nth-child(4) { --i: 3; }
.nz-bars i:nth-child(5) { --i: 4; }
.nz-bars i:nth-child(6) { --i: 5; }
.nz-bars i:nth-child(7) { --i: 6; }
.nz-bars i:nth-child(8) { --i: 7; }
@keyframes nz-bar-grow { from { transform: scaleY(0.05); } to { transform: scaleY(var(--h)); } }

/* Scene 01 — customer journey */
.nz-sa { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.nz-sa__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.nz-sa__card:nth-child(2) { margin-top: 36px; }
.nz-sa__card:nth-child(3) { margin-top: 12px; }
.nz-sa__card:nth-child(4) { margin-top: 48px; }
.is-active .nz-sa__card { animation: nz-pop 0.7s var(--nz-spring) both; }
.is-active .nz-sa__card:nth-child(2) { animation-delay: 0.9s; }
.is-active .nz-sa__card:nth-child(3) { animation-delay: 1.8s; }
.is-active .nz-sa__card:nth-child(4) { animation-delay: 2.7s; }
.nz-sa__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.nz-sa__line { position: absolute; left: 12.5%; right: 12.5%; top: 25px; height: 2px; background: rgba(var(--nz-w), 0.1); }
.nz-sa__line i { display: block; height: 100%; width: 0; background: var(--nz-green); }
.is-active .nz-sa__line i { animation: nz-line 3s 0.2s linear forwards; }
@keyframes nz-line { to { width: 100%; } }
.nz-sa__node { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.nz-sa__node span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nz-surface-2);
    border: 1px solid var(--nz-line);
    color: var(--nz-ink-3);
    transition: background-color 0.4s, color 0.4s;
}
.nz-sa__node b { font-size: 13px; font-weight: 600; color: var(--nz-ink-2); }
.is-active .nz-sa__node span { animation: nz-node 0.5s var(--nz-spring) forwards; }
.is-active .nz-sa__node:nth-child(3) span { animation-delay: 1s; }
.is-active .nz-sa__node:nth-child(4) span { animation-delay: 2s; }
.is-active .nz-sa__node:nth-child(5) span { animation-delay: 3s; }
@keyframes nz-node { 50% { transform: scale(1.15); } to { background: var(--nz-green); color: var(--nz-ink-on-green); border-color: transparent; } }
.nz-sa__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(0, 192, 127, 0.1);
    border: 1px solid rgba(0, 192, 127, 0.25);
    font-weight: 600;
    font-size: 14px;
}
.nz-stars { display: flex; gap: 3px; color: var(--nz-amber); font-size: 12px; }
.is-active .nz-sa__foot { animation: nz-rise 0.7s 3.4s var(--nz-ease) both; }

/* Scene 02 — front desk */
.nz-sb { display: flex; flex-direction: column; gap: 14px; }
.nz-sb__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--nz-surface-2);
    border: 1px solid var(--nz-line);
    font-weight: 700;
    font-size: 14px;
}
.nz-sb__for { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--nz-ink-3); }
.nz-sb__words { display: inline-block; height: 1.4em; line-height: 1.4em; overflow: hidden; vertical-align: bottom; }
.nz-sb__words > span { display: flex; flex-direction: column; color: var(--nz-green-soft); font-weight: 700; animation: nz-words 8s var(--nz-ease) infinite; }
@keyframes nz-words {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-1.4em); }
    50%, 70% { transform: translateY(-2.8em); }
    75%, 95% { transform: translateY(-4.2em); }
    100% { transform: translateY(-5.6em); }
}
.nz-sb__grid { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.nz-sb__tile { padding: 16px; border-radius: 18px; background: var(--nz-surface-2); border: 1px solid var(--nz-line); box-shadow: var(--nz-shadow-sm); }
.is-active .nz-sb__tile { animation: nz-pop 0.6s var(--nz-spring) both; }
.is-active .nz-sb__tile:nth-child(2) { animation-delay: 0.12s; }
.is-active .nz-sb__tile:nth-child(3) { animation-delay: 0.24s; }
.is-active .nz-sb__tile:nth-child(4) { animation-delay: 0.36s; }
.nz-sb__tile h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.nz-sb__tile h4 i { color: var(--nz-green-soft); }
.nz-sb__cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.nz-sb__cal span { aspect-ratio: 1.5; border-radius: 5px; background: rgba(var(--nz-w), 0.06); }
.is-active .nz-sb__cal span:nth-child(3n+2) { animation: nz-cell 0.4s ease forwards; }
.is-active .nz-sb__cal span:nth-child(2) { animation-delay: 0.4s; }
.is-active .nz-sb__cal span:nth-child(5) { animation-delay: 0.7s; }
.is-active .nz-sb__cal span:nth-child(8) { animation-delay: 1s; }
.is-active .nz-sb__cal span:nth-child(11) { animation-delay: 1.3s; }
.is-active .nz-sb__cal span:nth-child(14) { animation-delay: 1.6s; }
.is-active .nz-sb__cal span:nth-child(17) { animation-delay: 1.9s; }
.is-active .nz-sb__cal span:nth-child(20) { animation-delay: 2.2s; }
@keyframes nz-cell { to { background: var(--nz-green); } }
.nz-sb__member { padding: 14px; border-radius: 14px; background: var(--nz-green-deep); }
.nz-sb__row { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--nz-ink-2); }
.nz-sb__pts { display: block; margin: 6px 0 2px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nz-sb__doc { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(var(--nz-w), 0.04); font-size: 12px; }
.nz-sb__lns { position: relative; display: grid; gap: 6px; }
.nz-sb__lns i { height: 6px; border-radius: 3px; background: rgba(var(--nz-w), 0.1); }
.nz-sb__lns i.s { width: 60%; }
.nz-sb__lns em {
    position: absolute;
    right: 4px;
    top: -4px;
    padding: 2px 8px;
    border: 2px solid var(--nz-green);
    border-radius: 6px;
    color: var(--nz-green);
    font-style: normal;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.1em;
    transform: rotate(-10deg) scale(0);
}
.is-active .nz-sb__lns em { animation: nz-stamp 0.4s 1.4s var(--nz-spring) forwards; }
@keyframes nz-stamp { to { transform: rotate(-10deg) scale(1); } }
.nz-sb__tot { display: flex; justify-content: space-between; font-weight: 700; padding-top: 8px; border-top: 1px dashed rgba(var(--nz-w), 0.15); }
.nz-sb__msgs { display: grid; gap: 8px; }
.nz-sb__msgs div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px 10px 10px 4px;
    background: rgba(var(--nz-w), 0.06);
    font-size: 12px;
}
.nz-sb__msgs b { color: var(--nz-green-soft); font-size: 11px; white-space: nowrap; }
.is-active .nz-sb__msgs div { animation: nz-rise 0.5s var(--nz-ease) both; }
.is-active .nz-sb__msgs div:nth-child(1) { animation-delay: 0.8s; }
.is-active .nz-sb__msgs div:nth-child(2) { animation-delay: 1.6s; }
.is-active .nz-sb__msgs div:nth-child(3) { animation-delay: 2.4s; }

/* Scene 03 — manual → digital */
.nz-sc { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 18px; align-items: center; }
.nz-sc__col { display: grid; gap: 14px; }
.nz-sc__pile { position: relative; height: 290px; }
.nz-sc__pile > * { position: absolute; box-shadow: 0 14px 30px -12px rgba(var(--nz-k), calc(0.8 * var(--nz-ka))); }
.nz-sc__paper {
    left: 0;
    top: 10px;
    width: 72%;
    display: grid;
    gap: 7px;
    padding: 14px;
    border-radius: 6px;
    background: #e8e4d8;
    transform: rotate(-5deg);
}
.nz-sc__paper b { color: #2a2a2a; font-size: 10px; letter-spacing: 0.1em; }
.nz-sc__paper i { height: 6px; border-radius: 3px; background: rgba(var(--nz-k), calc(0.18 * var(--nz-ka))); }
.nz-sc__paper i.s { width: 55%; }
.nz-sc__sheet {
    right: 0;
    top: 70px;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 6px;
    border-radius: 6px;
    background: #f4f6f4;
    transform: rotate(4deg);
}
.nz-sc__sheet span { height: 14px; background: #dfe5df; }
.nz-sc__sheet span:nth-child(-n+4) { background: #2e7d4f; }
.nz-sc__sheet .g { background: #bfe5c9; }
.nz-sc__sheet .y { background: #f5e3a3; }
.nz-sc__chat {
    max-width: 78%;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.35;
}
.nz-sc__chat--a { left: 4%; top: 168px; background: #1f2c33; color: #e8efe9; border-bottom-left-radius: 4px; }
.nz-sc__chat--b { right: 0; top: 222px; background: #0b5e3b; color: #e8efe9; border-bottom-right-radius: 4px; }
.is-active .nz-sc__pile > * { animation: nz-pop 0.5s var(--d, 0s) var(--nz-spring) both; }
.nz-sc__sheet { --d: 0.15s; }
.nz-sc__chat--a { --d: 0.45s; }
.nz-sc__chat--b { --d: 0.9s; }
.nz-sc__cap { display: grid; gap: 2px; font-size: 13px; color: var(--nz-ink-3); }
.nz-sc__cap b { color: var(--nz-ink); font-size: 15px; }
.nz-sc__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nz-green);
    color: var(--nz-ink-on-green);
}
.is-active .nz-sc__arrow { animation: nz-pop 0.5s 1.4s var(--nz-spring) both; }
.nz-sc__win { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--nz-surface-2); border: 1px solid var(--nz-line); }
.is-active .nz-sc__win { animation: nz-pop 0.7s 1.7s var(--nz-spring) both; }
.nz-sc__hd { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.nz-sc__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nz-sc__kpis div { padding: 8px 10px; border-radius: 10px; background: rgba(var(--nz-w), 0.04); }
.nz-sc__kpis small { display: block; font-size: 10px; color: var(--nz-ink-3); }
.nz-sc__kpis b { font-size: 18px; }
.nz-sc .nz-bars { height: 64px; }
.nz-sc .nz-bars { --bars-delay: 2s; }
.nz-sc__rows { display: grid; gap: 6px; font-size: 11px; }
.nz-sc__rows div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; background: rgba(var(--nz-w), 0.04); color: var(--nz-ink-2); }
.nz-sc__rows b { color: var(--nz-green-soft); white-space: nowrap; }
.is-active .nz-sc__rows div { animation: nz-rise 0.4s var(--nz-ease) both; }
.is-active .nz-sc__rows div:nth-child(1) { animation-delay: 2.3s; }
.is-active .nz-sc__rows div:nth-child(2) { animation-delay: 2.5s; }
.is-active .nz-sc__rows div:nth-child(3) { animation-delay: 2.7s; }

/* Scene 04 — idea → launch */
.nz-sd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.nz-phone {
    width: 210px;
    height: 400px;
    padding: 10px;
    border-radius: 38px;
    background: #0d0f0e;
    border: 1px solid rgba(var(--nz-w), 0.14);
    box-shadow: 0 30px 60px -20px rgba(var(--nz-k), calc(0.9 * var(--nz-ka))), inset 0 0 0 2px rgba(var(--nz-w), 0.04);
}
.nz-phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #f3f6f4; color: #0b1a13; }
.nz-app { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 34px 14px 14px; opacity: 0; }
.is-active .nz-app { animation: nz-app-cycle 8s both; }
.is-active .nz-app--book { animation-delay: 2s; }
.is-active .nz-app--school { animation-delay: 4s; }
.is-active .nz-app--recipe { animation-delay: 6s; }
@keyframes nz-app-cycle {
    0% { opacity: 0; transform: translateX(20px); }
    4%, 22% { opacity: 1; transform: none; }
    25%, 100% { opacity: 0; transform: translateX(-20px); }
}
.nz-app__bar { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.nz-app__cart { position: relative; font-size: 14px; }
.nz-app__cart em { position: absolute; right: -8px; top: -8px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 9px; font-style: normal; display: grid; place-items: center; }
.nz-app__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nz-app__grid span { display: grid; gap: 4px; padding: 6px; border-radius: 10px; background: #fff; font-size: 10px; font-weight: 700; }
.nz-app__grid i { height: 52px; border-radius: 7px; }
.nz-app__grid u { height: 5px; width: 70%; border-radius: 3px; background: #dfe5e1; }
.nz-app__btn { margin-top: auto; padding: 10px; border-radius: 12px; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 12px; font-weight: 700; text-align: center; }
.nz-app__days, .nz-app__slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.nz-app__slots { grid-template-columns: 1fr 1fr; }
.nz-app__days span, .nz-app__slots span { padding: 9px 0; border-radius: 10px; background: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.nz-app__days .on, .nz-app__slots .on { background: #0b1a13; color: #fff; }
.nz-app__msg { display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 12px; background: #fff; font-size: 11px; font-weight: 600; }
.nz-app__msg i { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; background: #dff3e8; color: #0b6b45; font-size: 11px; }
.nz-app__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nz-app__chips span { padding: 6px 10px; border-radius: 999px; background: #dff3e8; color: #0b6b45; font-size: 11px; font-weight: 700; }
.nz-app__result { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: #0b1a13; color: #fff; }
.nz-app__result i { color: var(--nz-green-soft); }
.nz-app__result small { color: rgba(var(--nz-w), 0.6); font-size: 11px; }
.nz-sd__side { display: grid; gap: 20px; }
.nz-sd__plat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nz-sd__plat div { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--nz-surface-2); border: 1px solid var(--nz-line); box-shadow: var(--nz-shadow-sm); }
.nz-sd__plat b { font-size: 15px; }
.nz-sd__plat span { font-size: 12px; color: var(--nz-ink-3); }
.is-active .nz-sd__plat div { animation: nz-pop 0.5s var(--nz-spring) both; }
.is-active .nz-sd__plat div:nth-child(2) { animation-delay: 0.1s; }
.is-active .nz-sd__plat div:nth-child(3) { animation-delay: 0.2s; }
.is-active .nz-sd__plat div:nth-child(4) { animation-delay: 0.3s; }
.nz-sd__launch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 44px 14px 14px;
    border-radius: 16px;
    background: rgba(0, 192, 127, 0.08);
    border: 1px solid rgba(0, 192, 127, 0.2);
    font-size: 12px;
    font-weight: 600;
    color: var(--nz-ink-2);
}
.nz-sd__launch > span:not(.nz-sd__rail):not(.nz-sd__rocket) { text-align: center; }
.nz-sd__rail { position: absolute; left: 12.5%; right: 12.5%; top: 26px; height: 2px; background: rgba(var(--nz-w), 0.12); }
.nz-sd__rail i { display: block; height: 100%; width: 0; background: var(--nz-green); }
.is-active .nz-sd__rail i { animation: nz-line 3.5s 0.4s var(--nz-ease) forwards; }
.nz-sd__rocket { position: absolute; left: 12.5%; top: 12px; margin-left: -14px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 12px; }
.is-active .nz-sd__rocket { animation: nz-rocket 3.5s 0.4s var(--nz-ease) forwards; }
@keyframes nz-rocket { to { left: 87.5%; } }

/* ─────────────────────────────── Services accordion ─────────────────────────────── */
/* Items keep a fixed basis and only flex-grow animates, which interpolates smoothly.
   The open body has a fixed width (--sx-open-w, set by js/home.js), so its content
   never reflows while the item is growing or shrinking. */
.nz-sx { --sx-closed: 80px; display: flex; gap: 12px; height: 600px; }
.nz-sx__item {
    position: relative;
    flex: 0 0 var(--sx-closed);
    border-radius: 32px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-card-shadow);
    overflow: hidden;
    transition: flex-grow 1.1s cubic-bezier(0.65, 0, 0.35, 1), border-color 0.4s;
}
.nz-sx__item:nth-child(even) { background: var(--nz-row-alt); }
.nz-sx__item.is-open { flex-grow: 1; border-color: rgba(0, 192, 127, 0.3); }
.nz-sx__tab {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--sx-closed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 0;
    border: 0;
    background: transparent;
    color: var(--nz-ink-2);
    font: inherit;
    cursor: pointer;
    transition: color 0.3s, opacity 0.4s 0.5s;
}
@media (hover: hover) { .nz-sx__tab:hover { color: var(--nz-ink); } }
.nz-sx__item.is-open .nz-sx__tab { opacity: 0; pointer-events: none; transition: color 0.3s, opacity 0.25s; }
.nz-sx__n { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--nz-green-soft); }
.nz-sx__name { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 18px; font-weight: 700; white-space: nowrap; }
.nz-sx__body {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--sx-open-w, 920px);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(32px);
    transition: opacity 0.35s, transform 0.6s var(--nz-ease), visibility 0s linear 0.35s;
}
.nz-sx__item.is-open .nz-sx__body {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.7s 0.45s, transform 1s 0.45s var(--nz-ease), visibility 0s;
}
.nz-sx__copy { display: grid; gap: 18px; justify-items: start; }
.nz-sx__count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--nz-green-soft); }
.nz-sx__copy h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.nz-sx__sub { font-size: 17px; font-weight: 600; color: var(--nz-ink); }
.nz-sx__copy .nz-cta { margin-top: 8px; }
.nz-sx__visual { position: relative; display: grid; place-items: center; }

/* Mockups */
.nz-mk { position: relative; width: 100%; max-width: 480px; }
.nz-mk--sys { display: grid; grid-template-columns: 54px 1fr; border-radius: 22px; overflow: hidden; background: var(--nz-surface-2); border: 1px solid var(--nz-line); box-shadow: var(--nz-shadow-md); }
.nz-mk__side { display: grid; align-content: start; gap: 12px; justify-items: center; padding: 18px 0; background: var(--nz-sunk); }
.nz-mk__side b { width: 26px; height: 26px; border-radius: 9px; background: var(--nz-green); margin-bottom: 8px; }
.nz-mk__side i { width: 22px; height: 4px; border-radius: 2px; background: rgba(var(--nz-w), 0.15); }
.nz-mk__side i.on { background: var(--nz-green-soft); }
.nz-mk__main { display: grid; gap: 12px; padding: 16px; }
.nz-mk__top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.nz-mk__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nz-mk__kpis div { padding: 9px 10px; border-radius: 12px; background: rgba(var(--nz-w), 0.04); }
.nz-mk__kpis small { display: block; font-size: 10px; color: var(--nz-ink-3); }
.nz-mk__kpis b { font-size: 20px; }
.nz-bars--tall { height: 120px; }
.nz-mk__table { display: grid; gap: 6px; font-size: 11px; }
.nz-mk__table div { display: grid; grid-template-columns: 60px 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 9px; background: rgba(var(--nz-w), 0.03); color: var(--nz-ink-2); }
.nz-mk__table span:first-child { color: var(--nz-ink-3); font-variant-numeric: tabular-nums; }
.nz-mk__table em { font-style: normal; font-weight: 700; font-size: 10px; padding: 3px 8px; border-radius: 999px; }
.nz-mk__table .ok { background: rgba(0, 192, 127, 0.16); color: var(--nz-green-soft); }
.nz-mk__table .wait { background: rgba(var(--nz-amber-rgb), 0.16); color: var(--nz-amber); }
.nz-mk__table .new { background: rgba(110, 143, 201, 0.18); color: #a9c1ee; }

.nz-mk__browser {
    padding: 10px 14px;
    border-radius: 18px 18px 0 0;
    background: var(--nz-sunk);
    border: 1px solid var(--nz-line);
    border-bottom: 0;
}
.nz-mk__browser span { display: block; max-width: 70%; margin: 0 auto; padding: 5px 12px; border-radius: 999px; background: rgba(var(--nz-w), 0.06); font-size: 11px; color: var(--nz-ink-3); text-align: center; }
.nz-mk__body { display: grid; gap: 12px; padding: 18px; border-radius: 0 0 18px 18px; background: var(--nz-surface-2); border: 1px solid var(--nz-line); box-shadow: 0 30px 60px -24px rgba(var(--nz-k), calc(0.9 * var(--nz-ka))); }
.nz-mk__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.nz-mk__days span { display: grid; padding: 8px 0; border-radius: 12px; background: rgba(var(--nz-w), 0.04); font-weight: 700; text-align: center; }
.nz-mk__days small { font-size: 10px; font-weight: 500; color: var(--nz-ink-3); }
.nz-mk__days .on, .nz-mk__slots .on { background: var(--nz-green); color: var(--nz-ink-on-green); }
.nz-mk__days .on small { color: var(--nz-ink-on-green); }
.nz-mk__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.nz-mk__slots span { padding: 9px 0; border-radius: 10px; background: rgba(var(--nz-w), 0.04); font-size: 12px; font-weight: 600; text-align: center; }
.nz-mk__slots .off { color: var(--nz-ink-3); text-decoration: line-through; opacity: 0.6; }
.nz-mk__btn { padding: 11px; border-radius: 12px; background: var(--nz-green); color: var(--nz-ink-on-green); font-size: 13px; font-weight: 700; text-align: center; }
.nz-mk__toast, .nz-mk__push {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--nz-glass-strong);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 192, 127, 0.3);
    box-shadow: 0 20px 40px -14px rgba(var(--nz-k), calc(0.9 * var(--nz-ka)));
    font-size: 12px;
}
.nz-mk__toast > i, .nz-mk__push > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--nz-green); color: var(--nz-ink-on-green); }
.nz-mk__toast span, .nz-mk__push span { display: grid; color: var(--nz-ink-3); }
.nz-mk__toast b, .nz-mk__push b { color: var(--nz-ink); font-size: 13px; }
.nz-mk__toast { right: -18px; bottom: -22px; }
.is-open .nz-mk__toast, .is-open .nz-mk__push { animation: nz-pop 0.6s 0.9s var(--nz-spring) both; }

.nz-mk--mob { display: grid; place-items: center; padding: 20px 0; }
.nz-mk__app { display: grid; align-content: start; gap: 10px; padding: 34px 12px 12px; }
.nz-mk__hi { display: grid; }
.nz-mk__hi small { font-size: 10px; color: #6b7a72; }
.nz-mk__hi b { font-size: 16px; }
.nz-mk__card { position: relative; display: grid; padding: 14px; border-radius: 16px; background: var(--nz-green-deep); color: #fff; }
.nz-mk__card small { font-size: 10px; opacity: 0.7; }
.nz-mk__card b { font-size: 20px; }
.nz-mk__qr {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background:
        linear-gradient(90deg, #fff 50%, transparent 50%) 0 0 / 8px 8px,
        linear-gradient(#fff 50%, transparent 50%) 0 0 / 8px 8px;
    opacity: 0.85;
}
.nz-mk__list { display: grid; gap: 7px; }
.nz-mk__list div { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px; border-radius: 12px; background: #fff; }
.nz-mk__list i { width: 26px; height: 26px; border-radius: 8px; }
.nz-mk__list span { display: grid; font-size: 11px; }
.nz-mk__list small { font-size: 9px; color: #6b7a72; }
.nz-mk__list em { font-style: normal; font-size: 9px; font-weight: 700; padding: 4px 7px; border-radius: 999px; background: #dff3e8; color: #0b6b45; }
.nz-mk__push { left: -28px; bottom: 96px; }

.nz-mk--web .nz-mk__site { gap: 14px; }
.nz-mk__snav { display: flex; align-items: center; gap: 8px; }
.nz-mk__snav b { width: 22px; height: 22px; border-radius: 7px; background: var(--nz-green); margin-right: auto; }
.nz-mk__snav i { width: 26px; height: 5px; border-radius: 3px; background: rgba(var(--nz-w), 0.15); }
.nz-mk__snav span { width: 44px; height: 16px; border-radius: 999px; background: rgba(0, 192, 127, 0.3); }
.nz-mk__hero { display: grid; grid-template-columns: 1fr 0.8fr; gap: 14px; align-items: center; }
.nz-mk__hero > div:first-child { display: grid; gap: 7px; }
.nz-mk__hero i { height: 8px; border-radius: 4px; background: rgba(var(--nz-w), 0.18); }
.nz-mk__hero i.h1 { height: 14px; width: 90%; background: rgba(var(--nz-w), 0.5); }
.nz-mk__hero i.h2 { height: 14px; width: 60%; background: var(--nz-green); }
.nz-mk__hero i.s { width: 70%; }
.nz-mk__hero span { width: 70px; height: 20px; margin-top: 6px; border-radius: 999px; background: var(--nz-green); }
.nz-mk__img { aspect-ratio: 1.1; border-radius: 14px; background: #1d5c45; }
.nz-mk__feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nz-mk__feats div { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: rgba(var(--nz-w), 0.04); }
.nz-mk__feats b { width: 18px; height: 18px; border-radius: 6px; background: rgba(0, 192, 127, 0.4); }
.nz-mk__feats i { height: 5px; border-radius: 3px; background: rgba(var(--nz-w), 0.15); }
.nz-mk__feats i.s { width: 60%; }
.nz-mk__seo {
    position: absolute;
    left: -24px;
    bottom: -28px;
    display: grid;
    gap: 1px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    color: #1a0dab;
    box-shadow: 0 20px 40px -14px rgba(var(--nz-k), calc(0.9 * var(--nz-ka)));
    font-size: 13px;
}
.nz-mk__seo small { color: #5f6368; font-size: 10px; font-weight: 700; }
.nz-mk__seo span { color: #188038; font-size: 11px; }
.is-open .nz-mk__seo { animation: nz-pop 0.6s 0.9s var(--nz-spring) both; }

/* ─────────────────────────────── Projects ─────────────────────────────── */
/* Featured projects: 3D carousel (js/project-reel.js adds .is-on). Base: a swipeable row that works without JS. */
.nz-reel { position: relative; overflow-x: clip; }
.nz-reel__stage { display: flex; gap: 20px; padding: 0 clamp(20px, 4vw, 48px) 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.nz-reel__item { flex: 0 0 min(84vw, 760px); display: grid; gap: 22px; scroll-snap-align: center; }
.nz-reel__shot { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: var(--nz-surface); box-shadow: 0 0 0 1px var(--nz-line); }
.nz-reel__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.nz-reel__meta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 20px clamp(20px, 3vw, 40px); }
.nz-reel__name { display: grid; gap: 6px; }
.nz-reel__name small { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nz-green-soft); }
.nz-reel__name h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.nz-reel__meta p { display: grid; gap: 4px; color: var(--nz-ink-2); line-height: 1.45; }
.nz-reel__meta p small { font-size: 13px; color: var(--nz-ink-3); }
.nz-reel__links { display: flex; flex-wrap: wrap; gap: 10px; }
.nz-reel__bar { display: none; }

.nz-reel.is-on .nz-reel__stage { --card: min(58vw, 820px, 92vh); display: grid; justify-items: center; padding: 34px 0 0; overflow: visible; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.nz-reel.is-on .nz-reel__stage.is-drag { cursor: grabbing; }
.nz-reel.is-on .nz-reel__stage.is-drag .nz-reel__shot { pointer-events: none; }
.nz-reel.is-on .nz-reel__item { grid-area: 1 / 1; position: relative; justify-items: center; gap: clamp(26px, 3vw, 44px); width: 100%; min-width: 0; pointer-events: none; }
.nz-reel.is-on .nz-reel__shot { width: var(--card); pointer-events: auto; will-change: transform; -webkit-user-drag: none; box-shadow: 0 0 0 1px var(--nz-line), 0 40px 80px -40px rgba(var(--nz-k), calc(0.9 * var(--nz-ka))); }
.nz-reel__veil { position: absolute; inset: 0; background: var(--nz-bg); opacity: 0; pointer-events: none; }
/* ambient light in the project's own colour, behind the centre card */
.nz-reel.is-on .nz-reel__item::before { content: ""; position: absolute; left: 50%; top: -90px; width: min(1680px, 130vw); height: calc(var(--card) * 0.625 + 300px); background: radial-gradient(closest-side, var(--c), transparent); opacity: 0; transform: translateX(-50%); transition: opacity 0.7s ease; pointer-events: none; }
.nz-reel.is-in .nz-reel__item.is-active::before { opacity: 0.26; }
[data-theme="light"] .nz-reel.is-in .nz-reel__item.is-active::before { opacity: 0.16; }
/* one text at a time: leaves fast, arrives a little later, and a hint of blur joins the two */
.nz-reel.is-on .nz-reel__meta { width: min(1060px, 100% - 2 * clamp(20px, 4vw, 48px)); min-width: 0; opacity: 0; filter: blur(4px); transform: translateY(8px); transition: opacity 0.16s ease, filter 0.16s ease, transform 0.16s ease; }
.nz-reel.is-in .nz-reel__item.is-active .nz-reel__meta { opacity: 1; filter: none; transform: none; pointer-events: auto; transition: opacity 0.35s 0.1s var(--nz-ease), filter 0.35s 0.1s var(--nz-ease), transform 0.45s 0.1s var(--nz-ease); }
.nz-reel.is-on .nz-reel__stage:focus-visible .nz-reel__item.is-active .nz-reel__shot { outline: 2px solid var(--nz-green-soft); outline-offset: 6px; }

.nz-reel.is-on .nz-reel__bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(30px, 3.4vw, 48px); }
.nz-reel__btn { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(var(--nz-w), 0.07); color: var(--nz-ink); font-size: 16px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, scale 0.16s var(--nz-ease); }
@media (hover: hover) { .nz-reel__btn:hover { background: var(--nz-green); color: var(--nz-ink-on-green); } }
.nz-reel__index { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-width: 0; padding: 6px; border-radius: 30px; background: rgba(var(--nz-w), 0.05); }
.nz-reel__pill { position: absolute; left: 0; top: 0; border-radius: 999px; background: var(--nz-green); transition: transform 0.32s var(--nz-ease), width 0.32s var(--nz-ease); pointer-events: none; }
.nz-reel__index button { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px; border: 0; border-radius: 999px; background: none; color: var(--nz-ink-2); font: 600 13.5px "Cabin", sans-serif; white-space: nowrap; cursor: pointer; transition: color 0.2s ease, scale 0.16s var(--nz-ease); }
.nz-reel__index button small { font-size: 11px; font-variant-numeric: tabular-nums; opacity: 0.6; }
@media (hover: hover) { .nz-reel__index button:hover { color: var(--nz-ink); } }
.nz-reel__index button[aria-current="true"] { color: var(--nz-ink-on-green); }
.nz-reel__btn:active, .nz-reel__index button:active { scale: 0.96; }
.nz-reel__btn:focus-visible, .nz-reel__index button:focus-visible { outline: 2px solid var(--nz-green-soft); outline-offset: 3px; }
@media (max-width: 900px) {
    .nz-reel.is-on .nz-reel__stage { --card: min(80vw, 620px, 120vh); padding-top: 24px; }
    .nz-reel__shot { border-radius: 20px; }
    .nz-reel__meta { grid-template-columns: minmax(0, 1fr); }
    .nz-reel.is-on .nz-reel__meta { align-content: start; }
    .nz-reel.is-on .nz-reel__bar { flex-wrap: wrap; }
    .nz-reel.is-on .nz-reel__index { order: 3; flex: 0 0 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 20px calc(100% - 20px), transparent); mask: linear-gradient(90deg, transparent, #000 20px calc(100% - 20px), transparent); }
    .nz-reel__index::-webkit-scrollbar { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
    .nz-reel.is-on .nz-reel__stage { --card: min(56vw, 78vh); }
}

/* ─────────────────────────────── Websites ─────────────────────────────── */
/* auto-fit: as many columns as there are sites (up to 3), no empty column */
.nz-sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.nz-site { display: grid; gap: 12px; }
.nz-site__shot { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; border: 1px solid var(--nz-line); }
.nz-site__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.9s var(--nz-ease); }
@media (hover: hover) { .nz-site:hover .nz-site__shot img { transform: scale(1.04); } }
.nz-site__go {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nz-green);
    color: var(--nz-ink-on-green);
    transform: scale(0.6) rotate(-45deg);
    opacity: 0;
    transition: transform 0.45s var(--nz-spring), opacity 0.3s;
}
.nz-site__go i { transform: rotate(0deg); }
@media (hover: hover) { .nz-site:hover .nz-site__go { opacity: 1; transform: scale(1) rotate(-45deg); } }
.nz-site__info { display: grid; gap: 2px; }
.nz-site__info b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.nz-site__info b i { width: 12px; height: 12px; border-radius: 3px; }
.nz-site__info small { font-size: 13px; color: var(--nz-ink-3); }
/* A single case gets the full width */
.nz-site:only-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; gap: 28px; }
.nz-site:only-child .nz-site__info b { font-size: clamp(24px, 2.4vw, 34px); }

/* ─────────────────────────────── Why us ─────────────────────────────── */
.nz-why { background: var(--nz-green-deep); overflow: hidden; --nz-glow: rgba(var(--nz-gs), 0.14); }
.nz-why .nz-muted { color: rgba(var(--nz-ink-rgb), 0.78); }
/* the line between the circles fills and empties with the scroll (--p from js/home.js) */
.nz-rings { --p: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.nz-rings__line { position: absolute; left: 16.66%; right: 16.66%; top: 40px; height: 2px; background: rgba(var(--nz-w), 0.14); }
.nz-rings__line i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--nz-green-soft); box-shadow: 0 0 12px rgba(var(--nz-gs), 0.6); }
.nz-rings__item { position: relative; display: grid; justify-items: center; gap: 12px; text-align: center; }
.nz-rings__num {
    --g: 0; /* 0..1, how close the cursor is (js/home.js) */
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--nz-tint);
    border: 2px solid rgba(var(--nz-gs), calc(0.3 + var(--g) * 0.6));
    box-shadow: inset 0 1px 0 rgba(var(--nz-w), 0.12), 0 0 0 8px rgba(var(--nz-gs), calc(0.06 + var(--g) * 0.12)), 0 0 calc(10px + var(--g) * 50px) rgba(var(--nz-gs), calc(var(--g) * 0.55));
    font-size: 22px;
    font-weight: 700;
    color: var(--nz-green-soft);
    transition: background-color 0.5s, color 0.5s;
}
.nz-rings__item.is-lit .nz-rings__num { background: var(--nz-green); color: var(--nz-ink-on-green); }
.nz-rings__item h3 { font-size: 20px; font-weight: 700; }
.nz-rings__item p { max-width: 30ch; color: rgba(var(--nz-ink-rgb), 0.75); line-height: 1.55; font-size: 15px; }

/* ─────────────────────────────── Industries ─────────────────────────────── */
.nz-ind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nz-ind__card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 8px;
    align-items: center;
    min-height: 140px;
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-card-shadow);
    outline: none;
    transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s, transform 0.5s var(--nz-ease);
}
/* .is-on = auto-highlight loop or hover (js/home.js) */
.nz-ind__card.is-on, .nz-ind__card:focus-visible {
    border-color: rgba(0, 192, 127, 0.5);
    background: var(--nz-tint);
    box-shadow: var(--nz-card-shadow), 0 16px 36px -16px rgba(0, 192, 127, 0.45);
    transform: translateY(-6px);
}
.nz-ind__ic {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 17px;
    background: rgba(var(--nz-w), 0.06);
    box-shadow: var(--nz-shadow-sm);
    color: var(--nz-ink-2);
    font-size: 20px;
    transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.nz-ind__card.is-on .nz-ind__ic, .nz-ind__card:focus-visible .nz-ind__ic { background: var(--nz-green); color: var(--nz-ink-on-green); box-shadow: var(--nz-shadow-green); }
.nz-ind__card h3 { font-size: 18px; font-weight: 700; align-self: end; }
/* "before" and "after" share one grid cell, so the box is as tall as the longer text (one or two lines) */
.nz-ind__flip { display: grid; overflow: hidden; font-size: 14px; line-height: 1.45; align-self: start; }
.nz-ind__flip span { grid-area: 1 / 1; display: flex; align-items: flex-start; gap: 8px; transition: transform 0.55s var(--nz-ease), opacity 0.4s; }
.nz-ind__flip span::before { content: ""; flex-shrink: 0; width: 10px; height: 2px; margin-top: 0.68em; border-radius: 2px; background: currentColor; }
.nz-ind__flip span:last-child { transform: translateY(110%); opacity: 0; }
.nz-ind__flip span:first-child { color: var(--nz-ink-3); }
.nz-ind__flip span:last-child { color: var(--nz-green-soft); }
.nz-ind__card.is-on .nz-ind__flip span:first-child, .nz-ind__card:focus-visible .nz-ind__flip span:first-child { transform: translateY(-110%); opacity: 0; }
.nz-ind__card.is-on .nz-ind__flip span:last-child, .nz-ind__card:focus-visible .nz-ind__flip span:last-child { transform: none; opacity: 1; }

/* ─────────────────────────────── Marquee ─────────────────────────────── */
.nz-marquee { padding: clamp(32px, 5vw, 64px) 0; overflow: hidden; }
.nz-marquee__track {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    width: max-content;
    font-size: clamp(56px, 10vw, 100px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    animation: nz-marquee 60s linear infinite;
}
.nz-marquee__track span:nth-of-type(3n+2) { color: rgb(var(--nz-w)); }
.nz-marquee__track i { flex-shrink: 0; width: 1.5rem; height: 1.5rem; background: var(--nz-green); transform: rotate(45deg); border-radius: 6px; }
@keyframes nz-marquee { to { transform: translateX(-50%); } }

/* ─────────────────────────────── Process ─────────────────────────────── */
.nz-sec-head__aside { display: grid; gap: 24px; justify-items: start; }
.nz-globe { display: grid; place-items: center; margin: -20px 0 28px; }
.nz-globe canvas { width: min(360px, 70vw); aspect-ratio: 1; }
.nz-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nz-process li {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-card-shadow);
}
.nz-process li:nth-child(2) { transition-delay: 0.1s; }
.nz-process li:nth-child(3) { transition-delay: 0.2s; }
.nz-process li:nth-child(4) { transition-delay: 0.3s; }
.nz-process__n { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--nz-green-soft); margin-bottom: 8px; }
.nz-process b { font-size: 19px; font-weight: 700; line-height: 1.25; }
.nz-process li > span:last-child { color: var(--nz-ink-2); font-size: 14.5px; line-height: 1.55; }

/* ─────────────────────────────── FAQ ─────────────────────────────── */
.nz-faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.nz-faq__side { display: grid; gap: 22px; justify-items: start; position: sticky; top: 110px; }
.nz-faq__list { display: grid; gap: 12px; }
.nz-faq__list details {
    border-radius: 22px;
    border: 1px solid var(--nz-line);
    background: var(--nz-surface);
    box-shadow: var(--nz-shadow-sm);
    transition: border-color 0.3s, background-color 0.3s;
}
.nz-faq__list details.is-open { border-color: rgba(0, 192, 127, 0.35); }
.nz-faq__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.nz-faq__list summary::-webkit-details-marker { display: none; }
.nz-faq__list summary:focus-visible { outline: 2px solid var(--nz-green-soft); outline-offset: 3px; border-radius: 22px; }
.nz-faq__list summary i {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(var(--nz-w), 0.08);
    transition: background-color 0.3s, transform 0.4s var(--nz-ease);
}
.nz-faq__list summary i::before, .nz-faq__list summary i::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--nz-ink);
    transition: transform 0.4s var(--nz-ease), background-color 0.3s;
}
.nz-faq__list summary i::after { transform: rotate(90deg); }
.nz-faq__list details.is-open summary i { background: var(--nz-green); transform: rotate(180deg); }
.nz-faq__list details.is-open summary i::before, .nz-faq__list details.is-open summary i::after { background: var(--nz-bg); }
.nz-faq__list details.is-open summary i::after { transform: rotate(0deg); }
.nz-faq__list details p { padding: 0 22px 22px; color: var(--nz-ink-2); line-height: 1.65; }


/* ─────────────────────────────── Contact CTA ─────────────────────────────── */
.nz-cta-box {
    position: relative;
    padding: clamp(40px, 7vw, 104px);
    border-radius: 40px;
    overflow: hidden;
    background: var(--nz-green-deep);
    border: 1px solid rgba(var(--nz-gs), 0.16);
    box-shadow: var(--nz-shadow-md);
    --clip-r: 40px;
}
@keyframes nz-float { 50% { transform: translate(-20px, 24px); } }
.nz-cta-box__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.nz-cta-box__copy { display: grid; gap: 26px; justify-items: start; }
.nz-cta-box h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -0.04em; max-width: 13ch; }
.nz-cta-box__lines { display: grid; gap: 8px; text-align: right; font-size: 15px; color: rgba(var(--nz-ink-rgb), 0.75); }
@media (hover: hover) { .nz-cta-box__lines a:hover { color: var(--nz-green-soft); } }

/* ─────────────────────────────── Responsive ─────────────────────────────── */
@media (max-width: 1100px) {
    .nz-sx__body { grid-template-columns: minmax(0, 1fr); }
    .nz-sx__visual { display: none; }
    .nz-sx { height: 520px; }
    .nz-sc__pile { height: 250px; }
    .nz-sd .nz-phone { width: 180px; height: 350px; }
}
@media (max-width: 960px) {
    .nz-hero { min-height: auto; padding: 130px 0 120px; }
    .nz-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .nz-hero__visual { width: 100%; max-width: 380px; justify-self: center; margin-top: 12px; }
    .nz-sec-head { grid-template-columns: minmax(0, 1fr); }
    .nz-serve__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "tabs" "stage" "more"; }
    .nz-serve__tab::after { display: none; }
    .nz-serve__tab[aria-selected="true"] { transform: none; }
    .nz-faq { grid-template-columns: minmax(0, 1fr); }
    .nz-faq__side { position: static; }
    .nz-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-cta-box__row { grid-template-columns: minmax(0, 1fr); }
    .nz-cta-box__lines { text-align: left; }
    .nz-site:only-child { grid-template-columns: minmax(0, 1fr); }

    /* Services: stacked accordion, the body slides open */
    .nz-sx { flex-direction: column; height: auto; }
    .nz-sx__item { flex: none; border-radius: 26px; }
    .nz-sx__tab { position: static; width: 100%; flex-direction: row; justify-content: flex-start; gap: 16px; padding: 22px 24px; }
    .nz-sx__item.is-open .nz-sx__tab { opacity: 1; pointer-events: auto; color: var(--nz-ink); }
    .nz-sx__name { writing-mode: horizontal-tb; transform: none; font-size: 20px; }
    .nz-sx__body {
        position: static;
        width: auto;
        max-height: 0;
        padding: 0 24px;
        overflow: hidden;
        transform: none;
        transition: max-height 0.8s cubic-bezier(0.65, 0, 0.35, 1), padding 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s, visibility 0s linear 0.8s;
    }
    .nz-sx__item.is-open .nz-sx__body { max-height: 900px; padding: 0 24px 28px; transition: max-height 0.8s cubic-bezier(0.65, 0, 0.35, 1), padding 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.6s 0.2s, visibility 0s; }
    .nz-sx__count, .nz-sx__copy h3 { display: none; }
}
@media (max-width: 720px) {
    .nz-sites { grid-template-columns: minmax(0, 1fr); }
    .nz-rings { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .nz-rings__num { width: 60px; height: 60px; font-size: 18px; }
    .nz-rings__line { left: 30px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
    .nz-rings__line i { width: 100%; height: calc(var(--p) * 100%); }
    .nz-rings__item { grid-template-columns: 60px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 6px; }
    .nz-rings__num { grid-row: span 2; margin: 0; }
    .nz-rings__item h3 { align-self: end; }
    .nz-rings__item p { align-self: start; }

    /* Scenes: drop the decorative extras that don't fit a phone */
    .nz-scene__cap { flex-direction: column; margin-bottom: 20px; }
    .nz-sa__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nz-sa__card:nth-child(n) { margin-top: 0; }
    .nz-sa__node b { font-size: 11px; }
    .nz-sb__grid { grid-template-columns: minmax(0, 1fr); }
    .nz-sb__tile:nth-child(3) { display: none; }
    .nz-sc { grid-template-columns: minmax(0, 1fr); }
    .nz-sc__arrow { justify-self: center; transform: rotate(90deg); }
    .is-active .nz-sc__arrow { animation: none; }
    .nz-sc__pile { height: 270px; }
    .nz-sd { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .nz-sd__side { width: 100%; }
}
@media (max-width: 520px) {
    .nz-ind { grid-template-columns: minmax(0, 1fr); }
    .nz-process { grid-template-columns: minmax(0, 1fr); }
    .nz-btn-row { width: 100%; }
    .nz-btn-row .nz-cta { flex: 1 1 auto; justify-content: space-between; }
}
/* phones in landscape: the hero can't fill the viewport height */
@media (max-height: 520px) and (orientation: landscape) {
    .nz-hero { min-height: auto; padding: 100px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
    .nz-home *, .nz-home *::before, .nz-home *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .nz-marquee__track { animation: none; }
    .nz-app--shop { opacity: 1; }
}
