/* =========================================================
   FLOW noir — home, contact, bedankt, 404 (thema dark).
   Laadt na tokens.css + shell.css. Eigen klassen (nx-*).
   ====================================================== */

main.nx-home { padding: 0; }

/* ---------- Gedeelde bouwstenen ---------- */
.nx-section { padding-block: var(--section-y); }
.nx-section--line { box-shadow: inset 0 1px 0 var(--hairline); }

.nx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    color: var(--text-2);
    font-size: var(--fs-tiny);
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.nx-eyebrow > span {
    color: var(--accent-text);
    font-variant-numeric: tabular-nums;
}
.nx-eyebrow > span::after {
    content: "";
    display: inline-block;
    width: 28px; height: 1px;
    margin-left: var(--s-3);
    vertical-align: middle;
    background: var(--hairline-strong);
}
.nx-h2 {
    font-size: var(--fs-h1);
    line-height: 1;
    letter-spacing: var(--track-display);
    max-width: 14ch;
}
/* serif-accentwoord: warm wit (accent blijft voor knoppen en lichtpunten) */
.nx-h2 em, .nx-hero__title em, .nx-final__title em, .nx-contact__title em, .nx-state h1 em { color: var(--ink-warm); }
.nx-lead { color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 46ch; }
.nx-lead a { color: var(--text); }

/* glass/ghost-knop op donker */
.btn.nx-ghost {
    --btn-bg: rgba(255, 255, 255, .04);
    --btn-bd: var(--hairline-strong);
    --btn-fg: var(--text);
    --btn-sh: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.btn.nx-ghost:hover { --btn-bg: rgba(255, 255, 255, .09); --btn-bd: rgba(255, 255, 255, .3); --btn-sh: none; }
.btn.nx-glow-btn { --btn-sh: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 12px 40px -8px var(--glow); }
.btn.nx-glow-btn:hover { --btn-sh: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px var(--accent), 0 16px 56px -8px var(--glow); }

.nx-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    min-height: 32px;
    padding: 0 14px 0 12px;
    border-radius: var(--r-pill);
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 0 0 1px var(--glass-border);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.nx-pill .nx-status__dot { background: var(--danger-800); }
.nx-pill--open .nx-status__dot { background: var(--success-800); }
.nx-pill--open .nx-status__dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--success-800);
    animation: pulse 2.2s var(--ease) infinite;
}

/* =========================================================
   HERO — full-bleed beeld, titel onder-links
   ====================================================== */
.nx-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: max(600px, 88vh);
    min-height: max(600px, 88svh);
    padding-top: calc(var(--nav-space) + var(--s-12));
    padding-bottom: var(--s-16);
    overflow: hidden;
}
.nx-hero__media { position: absolute; inset: 0; z-index: -1; }
.nx-hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: saturate(.85) contrast(1.05) brightness(.85);
    animation: nx-hero-in 1600ms var(--ease-out) both;
}
.nx-hero__media::after {
    /* boven: leesbaarheid header, onder: overloop in de pagina, links: titel */
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 7, 15, .78) 0%, rgba(8, 7, 15, .3) 55%, rgba(8, 7, 15, .05) 100%),
        var(--veil);
}
@keyframes nx-hero-in { from { transform: scale(1.08); opacity: 0; } }

.nx-hero__inner { display: flex; flex-direction: column; gap: var(--s-8); }
.nx-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.nx-hero__place { color: var(--text-2); font-size: 14px; }

.nx-hero__title {
    max-width: 11ch;
    color: var(--text);
    font-size: var(--fs-mega);
    line-height: .88;
    letter-spacing: var(--track-mega);
    font-weight: 600;
    text-wrap: balance;
    text-shadow: 0 2px 40px rgba(0, 0, 0, .35);
    animation: nx-rise 1000ms 120ms var(--ease-out) both;
}
.nx-hero__title em { display: inline-block; padding-right: .06em; letter-spacing: -0.035em; font-size: 1.04em; }
@keyframes nx-rise { from { opacity: 0; transform: translateY(24px); } }

.nx-hero__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-6) var(--s-12);
    padding-top: var(--s-8);
    box-shadow: inset 0 1px 0 var(--hairline-strong);
    animation: nx-rise 1000ms 260ms var(--ease-out) both;
}
.nx-hero__lead { max-width: 42ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.nx-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }


/* subtiele parallax als de browser scroll-gedreven animaties kent */
@supports (animation-timeline: scroll()) {
    .nx-hero__media img {
        animation: nx-hero-in 1600ms var(--ease-out) both, nx-parallax linear both;
        animation-timeline: auto, scroll(root);
        animation-range: normal, 0 100vh;
    }
    @keyframes nx-parallax { to { transform: translateY(12%) scale(1.06); } }
}

/* =========================================================
   MARQUEE — categorieën
   ====================================================== */
.nx-marquee {
    position: relative;
    overflow: hidden;
    padding-block: var(--s-6);
    box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nx-marquee__track { display: flex; width: max-content; animation: nx-marquee 48s linear infinite; }
.nx-marquee:hover .nx-marquee__track,
.nx-marquee:focus-within .nx-marquee__track { animation-play-state: paused; }
.nx-marquee__list { display: flex; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.nx-marquee__list li { display: flex; align-items: center; }
.nx-marquee__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: var(--s-6);
    border-radius: var(--r-pill);
    color: var(--text-3);
    font-size: clamp(28px, 3.6vw, 52px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: var(--track-display);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--dur-2) var(--ease);
}
.nx-marquee__list li:nth-child(even) a { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.nx-marquee__list a:hover, .nx-marquee__list a:focus-visible { color: var(--text); }
.nx-marquee__sep { color: var(--accent); font-size: 16px; opacity: .8; text-shadow: 0 0 12px var(--glow); }
@keyframes nx-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
    .nx-marquee { overflow-x: auto; }
    .nx-marquee__track { animation: none; }
    .nx-marquee__list[aria-hidden] { display: none; }
}

/* =========================================================
   DE KAART — restaurantkaart
   ====================================================== */
.nx-carte {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--s-16);
    align-items: start;
}
.nx-carte__head {
    position: sticky;
    top: calc(var(--header-h) + var(--s-8) + var(--ontwerp-balk-h, 0px)); /* ontwerpbalk */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-6);
}
.nx-carte__head .btn { margin-top: var(--s-2); }

.nx-carte__list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.nx-carte__list li + li { box-shadow: inset 0 1px 0 var(--hairline); }
.nx-carte__row {
    position: relative;
    display: grid;
    grid-template-columns: 44px auto minmax(24px, 1fr) auto;
    grid-template-areas: "num name leader price" ". meta . .";
    align-items: baseline;
    column-gap: var(--s-4);
    row-gap: 2px;
    padding: var(--s-5) var(--s-2);
    border-radius: var(--r-control);
    color: var(--text);
    text-decoration: none;
    transition: background-color var(--dur-2) var(--ease);
}
.nx-carte__num { grid-area: num; color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; transition: color var(--dur-2) var(--ease); }
.nx-carte__name {
    grid-area: name;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: var(--track-heading);
    transition: transform var(--dur-3) var(--ease-out);
}
.nx-carte__leader {
    grid-area: leader;
    align-self: end;
    height: 1px;
    margin-bottom: .55em;
    background-image: radial-gradient(circle, var(--leader) 1px, transparent 1.4px);
    background-size: 7px 3px;
    background-repeat: repeat-x;
    background-position: left center;
    height: 3px;
}
.nx-carte__price {
    grid-area: price;
    font-size: 17px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.nx-carte__price small { margin-right: 2px; color: var(--text-3); font-size: 13px; font-weight: 500; }
.nx-carte__meta { grid-area: meta; color: var(--text-3); font-size: 14px; }
.nx-carte__row:hover { background: rgba(255, 255, 255, .03); }
.nx-carte__row:hover .nx-carte__name { transform: translateX(6px); }
.nx-carte__row:hover .nx-carte__num { color: var(--accent-text); }
.nx-carte__row:focus-visible { border-radius: var(--r-control); }

/* =========================================================
   KERNCIJFERS
   ====================================================== */
.nx-figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--s-10) var(--s-8);
    margin: 0;
}
.nx-figures > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s-3); }
.nx-figures dt { color: var(--text-3); font-size: 14px; }
.nx-figures dd { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.nx-figures__num {
    white-space: nowrap;
    font-size: clamp(48px, 5.6vw, 96px);
    line-height: .9;
    font-weight: 500;
    letter-spacing: var(--track-mega);
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, var(--text) 30%, var(--n-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nx-figures__num--accent { background: linear-gradient(180deg, var(--accent-text) 20%, var(--accent)); -webkit-background-clip: text; background-clip: text; }
.nx-figures__unit { color: var(--text-2); font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 40px); }
.nx-figures__word { font-size: clamp(28px, 3vw, 44px); line-height: 1; font-weight: 600; letter-spacing: var(--track-display); }
.nx-figures__word em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--text-2); }

/* =========================================================
   ZO WERKT HET
   ====================================================== */
.nx-steps { display: flex; flex-direction: column; gap: var(--s-12); }
.nx-steps__head { display: flex; flex-direction: column; gap: var(--s-6); }
.nx-steps__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--s-4);
    margin: 0; padding: 0; list-style: none;
}
.nx-steps__list li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-8);
    border-radius: var(--r-card);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: var(--glass-sheen), 0 0 0 1px var(--hairline);
    overflow: hidden;
}
.nx-steps__list li:first-child::before {
    content: "";
    position: absolute;
    top: -120px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(closest-side, var(--glow-soft), transparent);
    pointer-events: none;
}
.nx-steps__num {
    margin-bottom: var(--s-8);
    color: var(--accent-text);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 44px;
    line-height: 1;
}
.nx-steps__list h3 { font-size: var(--fs-h4); }
.nx-steps__list p { color: var(--text-2); max-width: 36ch; }

/* =========================================================
   BEZOEK — gesplitst, kaart in nachtmodus
   ====================================================== */
.nx-visit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 640px;
    box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline);
}
.nx-visit__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-8);
    padding: var(--section-y) var(--s-16) var(--section-y) max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.nx-visit__contact { display: flex; flex-direction: column; gap: var(--s-2); }
.nx-visit__address { color: var(--text); font-size: var(--fs-h4); line-height: 1.4; font-weight: 500; }
.nx-visit__phone {
    align-self: flex-start;
    color: var(--text-2);
    font-size: var(--fs-h4);
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nx-visit__phone:hover { color: var(--accent-text); }

.nx-hours { width: 100%; max-width: 480px; margin: 0; padding: 0; list-style: none; }
.nx-hours li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--s-3);
    min-height: 44px;
    color: var(--text-2);
    font-size: 15px;
    box-shadow: inset 0 -1px 0 var(--hairline);
}
.nx-hours__time { font-variant-numeric: tabular-nums; color: var(--text); }
.nx-hours li.is-today {
    grid-template-columns: 1fr auto auto;
    color: var(--text);
    font-weight: 600;
    box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--accent) 45%, transparent);
}
.nx-hours li.is-today .nx-hours__day::before {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: var(--s-2);
    vertical-align: middle;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px 2px var(--glow);
}
.nx-hours__badge {
    padding: 2px 8px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: var(--danger-100);
    color: var(--danger-800);
}
.nx-hours__badge.is-open { background: var(--success-100); color: var(--success-800); }

.nx-map { position: relative; margin: 0; min-height: 420px; overflow: hidden; background: var(--n-100); }
.nx-map iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
    filter: var(--map-filter);
}
.nx-map::after {
    /* vignet + accent-gloed in het midden (waar de pin staat) */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(240px 240px at 50% 50%, var(--glow-soft), transparent 70%),
        linear-gradient(90deg, var(--n-0) 0%, transparent 18%),
        radial-gradient(ellipse at center, transparent 55%, rgba(8, 7, 15, .6) 100%);
    mix-blend-mode: normal;
}

/* =========================================================
   SLOT-CTA — accent-gloed
   ====================================================== */
.nx-final {
    position: relative;
    overflow: hidden;
    padding-block: calc(var(--section-y) * 1.25);
    text-align: center;
}
.nx-final::before {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: min(1100px, 160vw); height: 640px;
    transform: translate(-50%, -40%);
    background: radial-gradient(closest-side, var(--glow), transparent);
    opacity: .55;
    pointer-events: none;
}
.nx-final::after {
    /* dunne lichtlijn op de horizon */
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: min(720px, 90vw); height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 70%, transparent), transparent);
}
.nx-final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--s-6); }
.nx-final__title {
    max-width: 16ch;
    font-size: var(--fs-giant);
    line-height: .95;
    letter-spacing: var(--track-mega);
}
.nx-final .nx-lead { margin-inline: auto; }
.nx-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-4); }

/* =========================================================
   Responsief (home)
   ====================================================== */
@media (max-width: 1024px) {
    .nx-carte { grid-template-columns: 1fr; gap: var(--s-10); }
    .nx-carte__head { position: static; }
    .nx-steps__list li { padding: var(--s-6); }
    .nx-steps__num { margin-bottom: var(--s-6); }
    .nx-visit__info { padding-right: var(--s-10); }
}
@media (max-width: 900px) {
    .nx-visit { grid-template-columns: 1fr; }
    .nx-visit__info { padding: var(--section-y) var(--gutter) var(--s-12); }
    .nx-map { min-height: 380px; }
    .nx-map::after { background: radial-gradient(240px 240px at 50% 50%, var(--glow-soft), transparent 70%), linear-gradient(180deg, var(--n-0) 0%, transparent 14%); }
}
@media (max-width: 768px) {
    .nx-steps__list { grid-template-columns: 1fr; }
    .nx-steps__num { margin-bottom: var(--s-4); }
    .nx-hero { min-height: max(560px, 86svh); padding-bottom: var(--s-10); }
    .nx-hero__title { font-size: clamp(52px, 15.5vw, 88px); }
    .nx-hero__inner { gap: var(--s-6); }
    .nx-hero__foot { padding-top: var(--s-6); }
    .nx-hero__ctas { width: 100%; }
    .nx-hero__ctas .btn { flex: 1 1 auto; }
    .nx-hero__place { display: none; }
    .nx-hero__media img { object-position: 62% 40%; }
    .nx-hero__media::after {
        background: linear-gradient(180deg, rgba(8, 7, 15, .55) 0%, rgba(8, 7, 15, .1) 22%, rgba(8, 7, 15, .55) 46%, rgba(8, 7, 15, .92) 70%, var(--n-0) 100%);
    }
    .nx-marquee { padding-block: var(--s-4); }
    .nx-carte__row { grid-template-columns: 32px minmax(0, auto) minmax(16px, 1fr) auto; column-gap: var(--s-3); padding-inline: 0; }
    .nx-carte__name { font-size: 21px; }
    .nx-carte__price { font-size: 15px; }
    .nx-carte__price small { display: none; }
    .nx-figures { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-5); }
    .nx-figures__word { font-size: 26px; }
    .nx-final { text-align: left; }
    .nx-final__inner { align-items: flex-start; }
    .nx-final .nx-lead { margin-inline: 0; }
    .nx-final__ctas { justify-content: flex-start; width: 100%; }
    .nx-final__ctas .btn { flex: 1 1 auto; }
}

/* =========================================================
   CONTACT
   ====================================================== */
main.nx-contact { padding: 0; }
.nx-contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s-16);
    align-items: start;
    padding-block: var(--s-12) var(--section-y);
}
.nx-contact__intro { display: flex; flex-direction: column; gap: var(--s-6); position: sticky; top: calc(var(--header-h) + var(--s-6) + var(--ontwerp-balk-h, 0px)); }
.nx-contact__title { font-size: var(--fs-giant); line-height: .92; letter-spacing: var(--track-mega); max-width: 9ch; }
.nx-contact__lines { display: flex; flex-direction: column; margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.nx-contact__lines li { box-shadow: inset 0 -1px 0 var(--hairline); }
.nx-contact__lines li:first-child { box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline); }
.nx-contact__line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--s-4);
    min-height: 64px;
    padding-block: var(--s-3);
    color: var(--text);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
.nx-contact__line > span:first-child { color: var(--text-3); font-size: 13px; font-weight: 500; }
.nx-contact__line svg { width: 18px; height: 18px; color: var(--text-3); transition: transform var(--dur-2) var(--ease), color var(--dur-2) var(--ease); }
a.nx-contact__line:hover svg { color: var(--accent-text); transform: rotate(45deg); }
a.nx-contact__line:hover > span:nth-child(2) { color: var(--accent-text); }
.nx-contact__line:focus-visible { border-radius: var(--r-small); }

.nx-form-card {
    position: relative;
    padding: var(--s-10);
    border-radius: var(--r-media);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: var(--glass-sheen), 0 0 0 1px var(--hairline), var(--e-3);
    overflow: hidden;
}
.nx-form-card::before {
    content: "";
    position: absolute;
    top: -200px; right: -160px;
    width: 420px; height: 420px;
    background: radial-gradient(closest-side, var(--glow-soft), transparent);
    pointer-events: none;
}
.nx-form-card > * { position: relative; }
.nx-form-card h2 { font-size: var(--fs-h3); margin-bottom: var(--s-6); }
.nx-form { gap: var(--s-5); }
.nx-form-card textarea { min-height: 180px; }
.nx-form-card :is(input, textarea, select) { background: var(--n-0); box-shadow: none; }
.nx-form-card input::placeholder, .nx-form-card textarea::placeholder { color: var(--n-500); }
.nx-form-card .field--error input, .nx-form-card .field--error textarea { border-color: var(--danger-800); }
.nx-form-card .error { color: var(--danger-800); }
.nx-form-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    margin-top: var(--s-2);
}
.nx-form-card__foot p { max-width: 34ch; color: var(--text-3); font-size: var(--fs-small); }
.nx-form-card__foot a { color: var(--text-2); }

.nx-contact__map { position: relative; height: 420px; margin: 0; overflow: hidden; box-shadow: inset 0 1px 0 var(--hairline); }
.nx-contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: var(--map-filter); }
.nx-contact__map::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(220px 220px at 50% 50%, var(--glow-soft), transparent 70%),
        linear-gradient(180deg, var(--n-0) 0%, transparent 22%, transparent 78%, var(--n-0) 100%);
}

@media (max-width: 1024px) {
    .nx-contact__inner { grid-template-columns: 1fr; gap: var(--s-12); }
    .nx-contact__intro { position: static; }
}
@media (max-width: 768px) {
    .nx-contact__inner { padding-top: var(--s-8); }
    .nx-form-card { padding: var(--s-6) var(--s-5); }
    .nx-contact__line { grid-template-columns: 72px minmax(0, 1fr) auto; font-size: 16px; }
    .nx-form-card__foot .btn { width: 100%; }
    .nx-contact__map { height: 300px; }
}

/* =========================================================
   STATE — bedankt, 404
   ====================================================== */
main.nx-state-main { display: flex; padding: 0; }
.nx-state {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-6);
    min-height: min(78vh, 820px);
    padding: var(--s-16) var(--gutter) var(--section-y);
    text-align: center;
    overflow: hidden;
}
.nx-state::before {
    content: "";
    position: absolute;
    left: 50%; top: 42%;
    width: min(900px, 150vw); height: 560px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, var(--glow-soft), transparent);
    pointer-events: none;
}
.nx-state > * { position: relative; }
.nx-state h1 { font-size: var(--fs-giant); line-height: .95; letter-spacing: var(--track-mega); max-width: 14ch; }
.nx-state p { max-width: 46ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.nx-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-2); }

.nx-state__icon {
    display: grid;
    place-items: center;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-text);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 60px -6px var(--glow);
    animation: nx-pop 700ms var(--ease-out) both;
}
.nx-state__icon svg { width: 36px; height: 36px; }
.nx-state__icon path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: nx-draw 600ms 300ms var(--ease-out) forwards; }
@keyframes nx-pop { from { transform: scale(.6); opacity: 0; } }
@keyframes nx-draw { to { stroke-dashoffset: 0; } }

.nx-state__ref {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 6px 6px 6px 14px;
    border-radius: var(--r-pill);
    box-shadow: 0 0 0 1px var(--hairline-strong);
    color: var(--text-3);
    font-size: 13px !important;
}
.nx-state__ref code {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--n-200);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
}

.nx-state .nx-state__code {
    margin: 0 0 calc(-1 * var(--s-6));
    max-width: none;
    font-size: clamp(140px, 30vw, 360px);
    line-height: .8;
    font-weight: 600;
    letter-spacing: -0.07em;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    user-select: none;
}
.nx-state .nx-state__code em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent);
    text-shadow: 0 0 60px var(--glow);
    letter-spacing: -0.04em;
}

@media (max-width: 768px) {
    .nx-state { min-height: 70vh; padding-top: var(--s-10); }
    .nx-state__actions { width: 100%; }
    .nx-state__actions .btn { flex: 1 1 auto; }
}

/* Laadstaat hero-foto (ui.js [data-sk-media]): enkel het donkere vlak + sweep, geen icoon achter de titel */
.nx-hero__media .sk-media__ph { border-radius: 0; }
.nx-hero__media .sk-media__ph::after { display: none; }
