/* ==========================================================================
   NEXAPATH — Home page
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.np-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(1.5rem, 4vh, 2.75rem);
    overflow: hidden;
    isolation: isolate;
}

.np-hero__media {
    position: absolute;
    inset: -12% 0 0 0;
    z-index: -3;
    will-change: transform;
}

.np-hero__media img {
    width: 100%;
    height: 118%;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.14);
    animation: np-kenburns 28s var(--ease-in-out) infinite alternate;
    filter: saturate(0.8) contrast(1.05) brightness(0.82);
}

@keyframes np-kenburns {
    from { transform: scale(1.14) translate3d(0, 0, 0); }
    to   { transform: scale(1.26) translate3d(-2%, -1.5%, 0); }
}

.np-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(120% 78% at 50% 8%, transparent 24%, rgba(6, 11, 20, 0.42) 74%, var(--ink-950) 100%),
        linear-gradient(180deg, rgba(4, 7, 13, 0.72) 0%, rgba(4, 7, 13, 0.16) 32%, rgba(6, 11, 20, 0.82) 76%, var(--ink-950) 100%),
        linear-gradient(94deg, rgba(4, 7, 13, 0.88) 0%, rgba(4, 7, 13, 0.4) 46%, rgba(4, 7, 13, 0.08) 76%);
}

.np-hero__canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    pointer-events: none;
}

.np-hero__inner {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 2.6vh, 2rem);
}

/* Badge */
.np-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    align-self: flex-start;
    padding: 0.62em 1.25em 0.62em 1em;
    border: 1px solid rgba(199, 154, 78, 0.34);
    border-radius: var(--radius-pill);
    background: rgba(199, 154, 78, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: var(--step--2);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-300);
}

.np-hero__pulse {
    position: relative;
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--gold-400);
}

.np-hero__pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--gold-400);
    animation: np-ping 2.2s var(--ease-out) infinite;
}

/* Title */
.np-hero__title {
    font-size: var(--step-6);
    max-width: 15ch;
}

.np-hero__title .np-line:nth-child(2) > span { --line-delay: 130ms; }

.np-hero__shine {
    position: relative;
    background: linear-gradient(100deg,
            var(--white) 0%, var(--white) 30%,
            var(--gold-300) 42%, var(--gold-500) 50%,
            var(--white) 62%, var(--white) 100%);
    background-size: 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: np-shine 7s linear infinite;
}

@keyframes np-shine {
    0%   { background-position: 160% 0; }
    100% { background-position: -60% 0; }
}

.np-hero__lede { max-width: 56ch; }

/* CTA row */
.np-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
}

/* Stats */
.np-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
    margin-top: clamp(0.25rem, 1.4vh, 1rem);
    padding-top: clamp(1rem, 2.4vh, 1.7rem);
    border-top: 1px solid var(--hairline);
}

.np-stat { display: flex; flex-direction: column; gap: 0.2rem; }

.np-stat__num {
    font-family: var(--font-display);
    font-size: var(--step-3);
    line-height: 1;
    color: var(--white);
}

.np-stat__num em {
    font-style: normal;
    color: var(--gold-400);
}

.np-stat__label {
    font-size: var(--step--2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

/* Scroll cue */
.np-hero__cue {
    position: absolute;
    right: max(1.25rem, calc((100vw - var(--shell)) / 2 - 2.75rem));
    top: 50%;
    translate: 0 -50%;
    display: flex;
    align-items: center;
    gap: 1rem;
    writing-mode: vertical-rl;
    font-size: var(--step--2);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fg-dim);
    transition: color var(--dur-fast) ease;
}

.np-hero__cue:hover { color: var(--gold-400); }

.np-hero__cue i {
    display: block;
    width: 1px;
    height: 68px;
    flex: none;
    background: linear-gradient(180deg, var(--gold-500), transparent);
    position: relative;
    overflow: hidden;
}

.np-hero__cue i::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-300);
    animation: np-cue 2.2s var(--ease-in-out) infinite;
}

@keyframes np-cue {
    0%   { transform: translateY(-100%); }
    60%  { transform: translateY(100%); }
    100% { transform: translateY(100%); }
}

@media (max-width: 1240px) {
    .np-hero__cue { display: none; }
}

@media (max-width: 720px) {
    .np-hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
}

/* --------------------------------------------------------------------------
   MARQUEE
   -------------------------------------------------------------------------- */
@keyframes np-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   ABOUT — statement
   -------------------------------------------------------------------------- */
.np-about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(30, 47, 71, 0.55), transparent 70%),
        var(--ink-950);
}

.np-about__mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(1000px, 130vw);
    translate: -50% -50%;
    opacity: 0.045;
    pointer-events: none;
    animation: np-spin 90s linear infinite;
}

@keyframes np-spin {
    from { rotate: 0deg; }
    to   { rotate: 360deg; }
}

.np-about__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2rem, 5vw, 3.4rem);
    text-align: center;
}

.np-about__inner .np-eyebrow::before { display: none; }

.np-about__statement {
    max-width: 26ch;
    font-family: var(--font-display);
    font-size: var(--step-5);
    line-height: 1.06;
    letter-spacing: -0.02em;
    color: var(--white);
}

.np-about__body {
    max-width: 68ch;
    font-size: var(--step-1);
    line-height: 1.72;
    font-weight: 300;
    color: var(--silver-300);
}

.np-about__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.4rem, 3vw, 2.6rem);
    padding-top: 2.2rem;
    border-top: 1px solid var(--hairline);
    width: min(100%, 900px);
}

.np-about__meta div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
    text-wrap: balance;
    font-size: var(--step--2);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.np-about__meta strong {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--gold-400);
}

@media (max-width: 720px) {
    .np-about__meta { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
}

/* --------------------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------------------- */
.np-services {
    position: relative;
    /* The glow below is positioned at right:-160px. Without clipping here it
       widens the document and the whole page sits left of a dead strip. */
    overflow: hidden;
    background: linear-gradient(180deg, var(--ink-950), var(--ink-900) 45%, var(--ink-950));
}

.np-services__glow {
    top: -140px;
    right: -160px;
    width: 620px;
    height: 620px;
}

.np-services__head {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(2.6rem, 6vw, 4.4rem);
}

.np-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
}

.np-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: clamp(1.8rem, 3vw, 2.6rem);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s var(--ease-out);
    will-change: transform;
}

/* cursor-tracking spotlight */
.np-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
            rgba(199, 154, 78, 0.16), transparent 62%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

/* top hairline that lights up */
.np-card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.np-card:hover {
    border-color: rgba(199, 154, 78, 0.34);
    box-shadow: var(--shadow-lg);
}

.np-card:hover::before,
.np-card:hover::after { opacity: 1; }

.np-card__index {
    position: absolute;
    top: clamp(1.4rem, 2.4vw, 2rem);
    right: clamp(1.4rem, 2.4vw, 2rem);
    font-family: var(--font-display);
    font-size: var(--step-3);
    line-height: 1;
    color: rgba(255, 255, 255, 0.07);
    transition: color 0.45s ease;
}

.np-card:hover .np-card__index { color: rgba(199, 154, 78, 0.28); }

.np-card__icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    flex: none;
    border: 1px solid var(--hairline-strong);
    border-radius: 16px;
    color: var(--gold-400);
    background: rgba(199, 154, 78, 0.07);
    transition: transform 0.5s var(--ease-spring), background-color 0.4s ease, border-color 0.4s ease;
}

.np-card:hover .np-card__icon {
    transform: translateY(-4px) rotate(-6deg);
    background: rgba(199, 154, 78, 0.16);
    border-color: rgba(199, 154, 78, 0.4);
}

.np-js .np-card__icon svg path,
.np-js .np-card__icon svg circle,
.np-js .np-card__icon svg rect,
.np-js .np-card__icon svg polygon,
.np-js .np-card__icon svg polyline,
.np-js .np-card__icon svg line {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 1.4s var(--ease-out);
}

.np-js .np-card.is-in .np-card__icon svg path,
.np-js .np-card.is-in .np-card__icon svg circle,
.np-js .np-card.is-in .np-card__icon svg rect,
.np-js .np-card.is-in .np-card__icon svg polygon,
.np-js .np-card.is-in .np-card__icon svg polyline,
.np-js .np-card.is-in .np-card__icon svg line { stroke-dashoffset: 0; }

.np-card h3 { font-size: var(--step-2); max-width: 18ch; }

.np-card p {
    font-size: var(--step--1);
    line-height: 1.72;
    color: var(--fg-muted);
}

.np-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.6rem;
}

.np-card__chips span {
    padding: 0.42em 0.9em;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    font-size: var(--step--2);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--silver-400);
    transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.np-card:hover .np-card__chips span {
    color: var(--gold-300);
    border-color: rgba(199, 154, 78, 0.3);
    background: rgba(199, 154, 78, 0.06);
}

/* --------------------------------------------------------------------------
   FEATURE SPLIT
   -------------------------------------------------------------------------- */
.np-feature { position: relative; overflow: hidden; }

.np-feature--dark {
    background:
        radial-gradient(70% 90% at 88% 40%, rgba(199, 154, 78, 0.14), transparent 62%),
        linear-gradient(180deg, var(--ink-900), var(--ink-980));
}

.np-feature__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2.2rem, 6vw, 5.5rem);
}

.np-feature--flip .np-feature__media { order: 2; }

.np-feature__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    /* Floor the height so the figure can never collapse to zero and swallow
       the photograph if aspect-ratio resolves oddly on a grid item. */
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}

.np-feature__media img {
    width: 100%;
    height: 112%;
    object-fit: cover;
    will-change: transform;
    filter: saturate(0.85) contrast(1.05);
    transition: filter 0.6s ease;
}

.np-feature__media:hover img { filter: saturate(1) contrast(1.06); }

/* drawn corner frame */
.np-feature__frame {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(199, 154, 78, 0.55);
    border-radius: calc(var(--radius-lg) - 8px);
    pointer-events: none;
}

.np-js .np-feature__frame {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.1s var(--ease-out) 0.3s;
}

.np-js .np-feature__media.is-in .np-feature__frame { clip-path: inset(0 0 0 0); }

.np-feature__tag {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    background: rgba(6, 11, 20, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top-right-radius: var(--radius);
    border-top: 1px solid var(--hairline);
    border-right: 1px solid var(--hairline);
}

.np-feature__tag b {
    font-family: var(--font-display);
    font-size: var(--step-2);
    font-weight: 400;
    color: var(--gold-400);
}

.np-feature__tag span {
    font-size: var(--step--2);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--silver-400);
}

.np-feature__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.np-feature__text h2 { max-width: 14ch; }

.np-feature__text p {
    max-width: 54ch;
    color: var(--fg-muted);
    line-height: 1.78;
}

.np-feature__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    padding-top: 0.4rem;
}

.np-feature__list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--hairline);
    font-size: var(--step--1);
    color: var(--silver-300);
}

.np-feature__list li svg { flex: none; color: var(--gold-500); }

@media (max-width: 900px) {
    .np-feature__grid { grid-template-columns: 1fr; }
    .np-feature--flip .np-feature__media { order: 0; }
    .np-feature__media { aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   GALLERY MARQUEE
   -------------------------------------------------------------------------- */
.np-gallery {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
    background: var(--ink-980);
    overflow: hidden;
}

.np-gallery__head {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.np-gallery__rows {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.np-gallery__row {
    display: flex;
    width: max-content;
    gap: 1rem;
}

.np-gallery__row--a { animation: np-marquee 56s linear infinite; }
.np-gallery__row--b { animation: np-marquee 68s linear infinite reverse; }

.np-gallery__rows:hover .np-gallery__row { animation-play-state: paused; }

.np-gallery__set { display: flex; gap: 1rem; padding-right: 1rem; }

.np-gallery__item {
    position: relative;
    width: clamp(200px, 26vw, 330px);
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--hairline);
    flex: none;
}

.np-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.62) contrast(1.08);
    transform: scale(1.02);
    transition: filter 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.np-gallery__item:hover img {
    filter: grayscale(0) brightness(0.95) contrast(1.02);
    transform: scale(1.09);
}

.np-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 13, 0.7));
    opacity: 0.9;
    transition: opacity 0.5s ease;
}

.np-gallery__item:hover::after { opacity: 0.35; }

/* --------------------------------------------------------------------------
   BIG CTA
   -------------------------------------------------------------------------- */
.np-bigcta {
    position: relative;
    padding-block: clamp(4rem, 9vw, 7.5rem);
    background: var(--ink-950);
    overflow: hidden;
    text-align: center;
}

.np-bigcta__glow {
    top: 50%;
    left: 50%;
    width: 760px;
    height: 420px;
    translate: -50% -50%;
    opacity: 0.4;
}

.np-bigcta__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1.1rem;
    padding: clamp(1.1rem, 2.4vw, 1.7rem) clamp(1.8rem, 4vw, 3.2rem);
    border: 1px solid rgba(199, 154, 78, 0.42);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: var(--step-3);
    line-height: 1.1;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
    will-change: transform;
    transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out),
                transform 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.np-bigcta__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grad-gold-flat);
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.72s var(--ease-out);
}

.np-bigcta__btn:hover {
    color: var(--ink-950);
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.np-bigcta__btn:hover::before { clip-path: circle(80% at 50% 50%); }

.np-bigcta__btn svg { flex: none; transition: transform 0.4s var(--ease-out); }
.np-bigcta__btn:hover svg { transform: translateX(7px); }

.np-bigcta__sub {
    margin-top: 1.4rem;
    font-size: var(--step--1);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

/* --------------------------------------------------------------------------
   FULL-BLEED BAND
   -------------------------------------------------------------------------- */
.np-band {
    position: relative;
    min-height: clamp(420px, 72vh, 760px);
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.np-band__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }

.np-band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.7);
}

.np-band__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 60% at 50% 50%, transparent, rgba(4, 7, 13, 0.72)),
        linear-gradient(180deg, var(--ink-950) 0%, transparent 22%, transparent 78%, var(--ink-950) 100%);
}

.np-band__quote {
    max-width: 22ch;
    padding-inline: var(--gutter);
    text-align: center;
    font-family: var(--font-display);
    font-size: var(--step-5);
    line-height: 1.1;
    color: var(--white);
    text-wrap: balance;
}

.np-band__quote em {
    font-style: italic;
    color: var(--gold-300);
}

.np-band__cite {
    margin-top: 1.6rem;
    text-align: center;
    font-size: var(--step--2);
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--silver-500);
}

/* --------------------------------------------------------------------------
   TRUST
   -------------------------------------------------------------------------- */
.np-trust { background: var(--ink-950); }

.np-trust__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.np-trust__item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: clamp(1.7rem, 3vw, 2.5rem);
    background: var(--ink-950);
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.np-trust__item::before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 2px;
    background: var(--grad-gold-flat);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

.np-trust__item:hover { background: var(--ink-900); }
.np-trust__item:hover::before { transform: scaleX(1); }

.np-trust__item .ico {
    color: var(--gold-400);
    transition: transform 0.5s var(--ease-spring);
}

.np-trust__item:hover .ico { transform: translateY(-4px) scale(1.08); }

.np-trust__item h4 {
    font-size: var(--step-1);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white);
}

.np-trust__item p {
    font-size: var(--step--1);
    line-height: 1.65;
    color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.np-contact {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(80% 70% at 12% 10%, rgba(30, 47, 71, 0.7), transparent 62%),
        linear-gradient(180deg, var(--ink-950), var(--ink-900));
}

.np-contact__glow {
    bottom: -220px;
    left: -140px;
    width: 640px;
    height: 640px;
    opacity: 0.35;
}

.np-contact__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.4rem, 6vw, 5rem);
    align-items: start;
}

.np-contact__aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

.np-contact__aside p { max-width: 46ch; color: var(--fg-muted); line-height: 1.78; }

.np-contact__direct {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.np-contact__direct a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.4s ease, transform 0.4s var(--ease-out);
}

.np-contact__direct a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(199, 154, 78, 0.14), transparent 70%);
    transform: translateX(-101%);
    transition: transform 0.6s var(--ease-out);
}

.np-contact__direct a:hover {
    border-color: rgba(199, 154, 78, 0.4);
    transform: translateX(6px);
}

.np-contact__direct a:hover::before { transform: translateX(0); }

.np-contact__direct .ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    border: 1px solid var(--hairline-strong);
    color: var(--gold-400);
}

.np-contact__direct b {
    display: block;
    font-size: var(--step-0);
    font-weight: 500;
    color: var(--white);
}

.np-contact__direct small {
    display: block;
    font-size: var(--step--2);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-dim);
}

.np-contact__direct .arrow {
    margin-left: auto;
    color: var(--silver-500);
    transition: transform 0.4s var(--ease-out), color 0.4s ease;
}

.np-contact__direct a:hover .arrow { transform: translateX(4px); color: var(--gold-400); }

/* Form card */
.np-formcard {
    position: relative;
    padding: clamp(1.6rem, 3.4vw, 2.8rem);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.np-formcard::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.np-formcard h3 { margin-bottom: 0.4rem; }

.np-formcard__note {
    margin-bottom: 1.8rem;
    font-size: var(--step--1);
    color: var(--fg-dim);
}

.np-form { display: flex; flex-direction: column; gap: 1.35rem; }

.np-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
}

.np-field { position: relative; }

.np-field input,
.np-field textarea {
    width: 100%;
    padding: 1.1rem 0.2rem 0.55rem;
    border: 0;
    border-bottom: 1px solid var(--hairline-strong);
    background: transparent;
    color: var(--white);
    font-size: var(--step-0);
    border-radius: 0;
    transition: border-color 0.35s ease;
}

.np-field textarea { resize: vertical; min-height: 116px; line-height: 1.6; }

.np-field label {
    position: absolute;
    left: 0.2rem;
    top: 1.05rem;
    font-size: var(--step-0);
    color: var(--fg-dim);
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.35s var(--ease-out), color 0.35s ease;
}

.np-field input:focus + label,
.np-field textarea:focus + label,
.np-field input:not(:placeholder-shown) + label,
.np-field textarea:not(:placeholder-shown) + label {
    transform: translateY(-1.05rem) scale(0.72);
    color: var(--gold-400);
}

.np-field__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: var(--grad-gold-flat);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.np-field input:focus ~ .np-field__bar,
.np-field textarea:focus ~ .np-field__bar { transform: scaleX(1); }

.np-field input:focus,
.np-field textarea:focus { outline: none; }

.np-form__submit { margin-top: 0.4rem; align-self: flex-start; }

.np-form__submit[disabled] { opacity: 0.6; cursor: wait; }

.np-form__status {
    display: none;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: var(--step--1);
}

.np-form__status.is-on { display: block; }
.np-form__status.is-ok { background: rgba(199, 154, 78, 0.14); color: var(--gold-300); }
.np-form__status.is-err { background: rgba(220, 90, 90, 0.14); color: #f0a3a3; }

.np-form__thanks {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-block: 1.4rem;
}

.np-form__thanks.is-on { display: flex; }

.np-form__thanks .tick {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(199, 154, 78, 0.5);
    background: rgba(199, 154, 78, 0.1);
    color: var(--gold-400);
}

@media (max-width: 900px) {
    .np-contact__grid { grid-template-columns: 1fr; }
    .np-contact__aside { position: static; }
}

@media (max-width: 520px) {
    .np-form__row { grid-template-columns: 1fr; }
}
