/* Site-specific styles. Consumes design tokens from assets/colors_and_type.css.
   Premium-restrained interpretation of the Nexentia DS:
   - Heavy whitespace, hairline navy borders, large display type
   - One green accent moment per section
   - Subtle line-geometry hero (no gradients, no glow)
*/
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--nx-blue); color: #fff; }

.nx-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.nx-container--wide { max-width: 1320px; }

/* ============ Header ============ */
.nx-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  background: rgba(255,255,255,0);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), backdrop-filter var(--dur-base) var(--ease);
  border-bottom: 1px solid transparent;
}
.nx-header.is-scrolled {
  background: rgba(255,255,255,0.84);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--border);
}
.nx-header__inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.nx-header__left { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; }
.nx-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.nx-logo img { height: 32px; width: auto; }
.nx-logo .nx-wordmark { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 17px; color: var(--nx-navy); }
.nx-nav { display: flex; gap: 32px; }
.nx-nav__link { font-size: 14px; font-weight: 500; color: var(--fg); text-decoration: none; padding: 6px 0; position: relative; transition: color var(--dur-fast) var(--ease); cursor: pointer; }
.nx-nav__link:hover { color: var(--nx-blue); }
.nx-nav__link.is-active { color: var(--nx-blue); }
.nx-nav__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--nx-green); }

.nx-lang { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; height: 32px; }
.nx-lang button { background: transparent; border: 0; padding: 0 12px; height: 100%; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--fg-muted); cursor: pointer; transition: all var(--dur-fast) var(--ease); }
.nx-lang button.is-active { background: var(--nx-navy); color: #fff; }

/* ============ Buttons ============ */
.nx-btn {
  font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1;
  padding: 14px 22px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--dur-fast) var(--ease);
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}
.nx-btn--primary { background: var(--nx-blue); color: #fff; }
.nx-btn--primary:hover { background: var(--primary-hover); }
.nx-btn--primary:active { background: var(--primary-active); transform: translateY(1px); }
.nx-btn--ghost { background: transparent; color: var(--nx-blue); border-color: var(--border-strong); }
.nx-btn--ghost:hover { color: var(--nx-green); border-color: var(--nx-green); }
.nx-btn--block { display: flex; width: 100%; justify-content: center; padding: 16px 22px; }
.nx-btn--accent { background: var(--nx-green); color: var(--nx-navy); }
.nx-btn--accent:hover { background: var(--green-500); color: #fff; }
.nx-btn .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.nx-btn:hover .arrow { transform: translateX(3px); }

/* ============ Type helpers ============ */
.nx-eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.nx-eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--nx-green); }
.nx-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -0.025em; margin: 0; color: var(--fg); text-wrap: balance; }
.nx-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; color: var(--fg); text-wrap: balance; }
.nx-h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: var(--fg); }
.nx-h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; margin: 0; color: var(--fg); }
.nx-lead { font-size: 20px; line-height: 1.55; color: var(--fg-muted); margin: 24px 0 0; max-width: 640px; text-wrap: pretty; }
.nx-body { font-size: 16px; line-height: 1.7; color: var(--fg-muted); margin: 0; text-wrap: pretty; }
.nx-body--ink { color: var(--fg); }
.nx-small { font-size: 13px; line-height: 1.55; color: var(--fg-subtle); }
.nx-arrow-link { font-size: 14px; font-weight: 500; color: var(--nx-blue); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: color var(--dur-fast) var(--ease); background: none; border: 0; padding: 0; }
.nx-arrow-link:hover { color: var(--nx-green); }
.nx-arrow-link .arrow { transition: transform var(--dur-fast) var(--ease); }
.nx-arrow-link:hover .arrow { transform: translateX(3px); }

/* ============ Section ============ */
.nx-section { padding: 128px 0; position: relative; }
.nx-section--paper { background: var(--bg-paper); }
.nx-section--dark { background: var(--nx-navy); color: #fff; }
.nx-section--dark .nx-h2, .nx-section--dark .nx-h3, .nx-section--dark .nx-h4, .nx-section--dark .nx-display { color: #fff; }
.nx-section--dark .nx-body { color: var(--neutral-300); }
.nx-section--dark .nx-eyebrow { color: var(--nx-green); }
.nx-section--dark .nx-eyebrow::before { background: var(--nx-green); }
.nx-section--tight { padding: 96px 0; }
.nx-section__head { max-width: 760px; margin-bottom: 80px; }
.nx-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.nx-section__head--center .nx-eyebrow { justify-content: center; }

.nx-divider { height: 1px; background: var(--border); margin: 0; }

/* ============ Hero ============ */
.nx-hero { padding: 200px 0 128px; position: relative; overflow: hidden; }
.nx-hero__content { position: relative; z-index: 2; max-width: 980px; }
.nx-hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border: 1px solid var(--border); border-radius: 9999px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); }
.nx-hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--nx-green); }
.nx-hero__eyebrow span { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--fg-muted); }
.nx-hero__sub { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--fg-muted); margin: 32px 0 0; max-width: 720px; }
.nx-hero__cta { display: flex; gap: 16px; align-items: center; margin-top: 56px; flex-wrap: wrap; }
.nx-hero__stops { display: flex; gap: 8px 24px; margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--fg-muted); }
.nx-hero__stops .accent { color: var(--nx-green); }

/* hero visual: line geometry */
.nx-hero__visual { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.nx-hero__grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(15,42,68,0.045) 1px, transparent 1px) 0 0 / 96px 100%,
    linear-gradient(to bottom, rgba(15,42,68,0.045) 1px, transparent 1px) 0 0 / 100% 96px;
  mask-image: linear-gradient(to bottom right, rgba(0,0,0,0.7), transparent 80%);
}
.nx-hero__strokes { position: absolute; right: -8%; top: -8%; width: 65%; height: 110%; }
.nx-hero__strokes svg { width: 100%; height: 100%; display: block; }
.nx-hero__strokes .s1 { stroke: rgba(31,78,121,0.18); }
.nx-hero__strokes .s2 { stroke: rgba(31,78,121,0.10); }
.nx-hero__strokes .s3 { stroke: rgba(92,185,71,0.45); }
.nx-hero__strokes line, .nx-hero__strokes path { fill: none; stroke-width: 1; }
.nx-hero__strokes .anim { stroke-dasharray: 600; stroke-dashoffset: 600; animation: nx-draw 3.2s var(--ease) 0.4s forwards; }
.nx-hero__strokes .anim2 { animation-delay: 0.9s; stroke-dasharray: 480; stroke-dashoffset: 480; }
.nx-hero__strokes .anim3 { animation-delay: 1.4s; stroke-dasharray: 280; stroke-dashoffset: 280; }
@keyframes nx-draw { to { stroke-dashoffset: 0; } }

/* ============ Positioning band ============ */
.nx-positioning { padding: 128px 0; }
.nx-positioning .nx-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; align-items: start; }
.nx-positioning__label { font-family: var(--font-mono, "Inter"), monospace; font-size: 13px; letter-spacing: 0.06em; color: var(--nx-blue); }
.nx-positioning__count { font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--nx-blue); letter-spacing: -0.02em; line-height: 1; margin-top: 8px; }
.nx-positioning__count-label { font-size: 13px; color: var(--fg-subtle); margin-top: 8px; }
.nx-positioning__stops { display: flex; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--fg-muted); }
.nx-positioning__stops .accent { color: var(--nx-green); }

/* ============ Services ============ */
.nx-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.nx-service { padding: 48px 32px 40px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 16px; position: relative; background: #fff; transition: background var(--dur-base) var(--ease); min-height: 520px; }
.nx-service:last-child { border-right: none; }
.nx-service:hover { background: var(--bg-paper); }
.nx-service__top { display: flex; align-items: center; justify-content: space-between; }
.nx-service__num { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--nx-green); letter-spacing: 0.12em; }
.nx-service__flow { font-family: var(--font-display); font-size: 20px; color: var(--border-strong); transition: color var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.nx-service:hover .nx-service__flow { color: var(--nx-green); transform: translateX(4px); }
.nx-service__sub { font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-subtle); margin-bottom: 4px; }
.nx-service__promise { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--nx-blue); margin: 0; }
.nx-service__tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-direction: column; gap: 8px; }
.nx-service__tags li { font-size: 13px; line-height: 1.45; color: var(--fg-muted); padding-left: 18px; position: relative; }
.nx-service__tags li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 1px; background: var(--nx-blue); }

/* ============ Unified CTA card (Combined Mandate · Request CV) ============ */
.nx-cta-card { margin-top: 64px; background: var(--nx-navy); color: #fff; border-radius: 10px; padding: 48px 48px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; position: relative; overflow: hidden; }
.nx-cta-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--nx-green); }
.nx-cta-card__copy { max-width: 560px; }
.nx-cta-card__eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--nx-green); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 10px; }
.nx-cta-card__eyebrow::before { content: ""; display: inline-block; width: 24px; height: 1px; background: var(--nx-green); }
.nx-cta-card__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; letter-spacing: -0.012em; color: #fff; margin: 0 0 12px; text-wrap: balance; }
.nx-cta-card__sub { font-size: 15px; line-height: 1.6; color: var(--neutral-300); margin: 0; max-width: 520px; }
.nx-cta-card__action { display: flex; justify-content: flex-end; }
.nx-cta-card__btn { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.01em; line-height: 1; padding: 16px 22px; border-radius: 6px; border: 0; background: var(--nx-green); color: var(--nx-navy); cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.nx-cta-card__btn span { display: inline-block; transition: transform var(--dur-fast) var(--ease); }
.nx-cta-card__btn:hover { background: var(--green-500); color: #fff; }
.nx-cta-card__btn:hover span { transform: translateX(3px); }

/* CV variant: email input + button on dark */
.nx-cta-card--cv .nx-cta-card__action { width: 100%; }
.nx-cta-card__form { display: flex; gap: 10px; width: 100%; align-items: stretch; }
.nx-cta-card__input {
  flex: 1 1 auto; min-width: 0;
  font-family: var(--font-body); font-size: 15px; line-height: 1;
  padding: 14px 16px; border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nx-cta-card__input::placeholder { color: rgba(255,255,255,0.45); }
.nx-cta-card__input:focus { border-color: var(--nx-green); background: rgba(255,255,255,0.12); }
.nx-cta-card__sent { color: #fff; }
.nx-cta-card__sent-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; color: var(--nx-green); }
.nx-cta-card__sent-body { font-size: 14px; line-height: 1.55; color: var(--neutral-300); }

/* ============ Profile ============ */
.nx-profile-hero { display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px; align-items: end; }
.nx-profile__photo { position: relative; aspect-ratio: 4 / 5; background: var(--neutral-100); border-radius: 8px; overflow: hidden; }
.nx-profile__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.02); }
.nx-profile__photo::after { content: ""; position: absolute; inset: auto -16px -16px auto; width: 64px; height: 64px; border-right: 1px solid var(--nx-green); border-bottom: 1px solid var(--nx-green); pointer-events: none; }
.nx-profile__photo::before { content: ""; position: absolute; inset: -16px auto auto -16px; width: 64px; height: 64px; border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong); pointer-events: none; z-index: 2; }
.nx-profile__name-row { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.nx-profile__name-row .nx-h3 { margin: 0; }
.nx-profile__role { font-size: 14px; color: var(--fg-muted); font-weight: 500; }
.nx-profile__body { margin-top: 32px; font-size: 17px; line-height: 1.7; color: var(--fg-muted); max-width: 600px; text-wrap: pretty; white-space: pre-line; }

.nx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--border); }
.nx-pillar { padding: 32px 32px 32px 0; border-right: 1px solid var(--border); }
.nx-pillar:last-child { border-right: none; padding-right: 0; }
.nx-pillar__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); margin-bottom: 12px; font-weight: 600; }
.nx-pillar__v { font-size: 15px; line-height: 1.55; color: var(--fg-muted); }

/* ============ Competency clusters ============ */
.nx-clusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.nx-cluster { background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.nx-cluster__num { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--nx-green); letter-spacing: 0.12em; }
.nx-cluster__title { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--fg); margin: 0; line-height: 1.3; }
.nx-cluster__items { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.nx-cluster__items li { font-size: 14px; line-height: 1.55; color: var(--fg-muted); padding-left: 16px; position: relative; }
.nx-cluster__items li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 1px; background: var(--nx-blue); }

/* ============ Timeline (career) ============ */
.nx-cv { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.nx-cv-item { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0; border-bottom: 1px solid var(--border); align-items: start; transition: background var(--dur-base) var(--ease); }
.nx-cv-item:hover { background: var(--bg-paper); }
.nx-cv-item__rail { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; position: relative; }
.nx-cv-item__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--nx-blue); margin-bottom: 4px; }
.nx-cv-item.is-current .nx-cv-item__dot { background: var(--nx-green); box-shadow: 0 0 0 4px rgba(92,185,71,0.15); }
.nx-cv-item__period { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: 0.02em; color: var(--fg); line-height: 1.2; }
.nx-cv-item.is-current .nx-cv-item__period { color: var(--nx-green); }
.nx-cv-item__current-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; background: var(--green-50); color: var(--green-700); text-transform: uppercase; letter-spacing: 0.1em; }
.nx-cv-item__sector { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); font-weight: 600; margin-bottom: 8px; }
.nx-cv-item__client { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--fg); margin: 0 0 6px; letter-spacing: -0.01em; }
.nx-cv-item__role { font-size: 15px; color: var(--fg-muted); font-weight: 500; margin-bottom: 16px; }
.nx-cv-item__context { font-size: 14px; line-height: 1.65; color: var(--fg-muted); margin: 0 0 20px; max-width: 760px; }
.nx-cv-item__hl { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.nx-cv-item__hl li { font-size: 14px; line-height: 1.55; color: var(--fg); padding-left: 22px; position: relative; max-width: 820px; }
.nx-cv-item__hl li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 12px; height: 1px; background: var(--nx-green); }

/* ============ Impact glance ============ */
.nx-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.12); border-bottom: 1px solid rgba(255,255,255,0.12); }
.nx-impact__item { padding: 56px 32px; border-right: 1px solid rgba(255,255,255,0.12); text-align: center; display: flex; flex-direction: column; justify-content: center; }
.nx-impact__item:last-child { border-right: none; }
.nx-impact__k { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; color: #fff; margin-bottom: 12px; }
.nx-impact__item:nth-child(1) .nx-impact__k,
.nx-impact__item:nth-child(3) .nx-impact__k { color: var(--nx-green); }
.nx-impact__v { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--neutral-300); font-weight: 500; }
.nx-impact__item--echo { background: rgba(255,255,255,0.02); }
.nx-impact__echo-k { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -0.015em; color: var(--nx-green); margin-bottom: 10px; }
.nx-impact__echo-v { font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.3; color: var(--neutral-200); }

/* ============ Three-band hierarchy (Impact · CTA · Footer) ============ */
.nx-band { position: relative; }
.nx-band--impact { background: var(--nx-navy); padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nx-band--cta { background: #131f33; padding: 96px 0 104px; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.14); }
.nx-band--impact .nx-eyebrow--on-dark,
.nx-band--cta .nx-eyebrow--on-dark { display: inline-flex; }

/* ============ Direct contact list ============ */
.nx-direct { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.nx-direct__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--nx-blue); font-weight: 600; margin-bottom: 20px; }
.nx-direct__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.nx-direct__list li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.nx-direct__list li:last-child { border-bottom: none; }
.nx-direct__k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-subtle); font-weight: 600; }
.nx-direct__v { font-size: 15px; color: var(--fg); text-decoration: none; font-weight: 500; transition: color var(--dur-fast) var(--ease); }
.nx-direct__v:hover { color: var(--nx-green); }

/* ============ Consent ============ */
.nx-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 12px; line-height: 1.55; color: var(--fg-muted); cursor: pointer; }
.nx-consent input[type=checkbox] { margin-top: 2px; accent-color: var(--nx-green); width: 16px; height: 16px; flex-shrink: 0; }
.nx-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ============ Brand marquee ============ */
.nx-marquee { overflow: hidden; position: relative; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nx-marquee__track { display: inline-flex; white-space: nowrap; gap: 0; will-change: transform; }
.nx-marquee__track--ltr { animation: nx-marquee-ltr 80s linear infinite; }
.nx-marquee__track--rtl { animation: nx-marquee-rtl 80s linear infinite; }
.nx-marquee:hover .nx-marquee__track { animation-play-state: paused; }
.nx-marquee__item { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 24px); letter-spacing: -0.005em; color: var(--neutral-500); padding: 0 28px; display: inline-flex; align-items: center; }
.nx-marquee__dot { margin-left: 28px; color: var(--nx-green); opacity: 0.55; }
@keyframes nx-marquee-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes nx-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .nx-marquee__track { animation: none !important; flex-wrap: wrap; white-space: normal; justify-content: center; }
}

/* ============ Kontakt-CTA (Schluss-Block, kompakt) ============ */
.nx-cta-block { color: #fff; }
.nx-cta-block__eyebrow { margin-bottom: 24px; }
.nx-eyebrow--on-dark { color: var(--nx-green) !important; }
.nx-eyebrow--on-dark::before { background: var(--nx-green) !important; }
.nx-cta-block__row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: end; }
.nx-cta-block__h { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; margin: 0; text-wrap: balance; }
.nx-cta-block__rail { display: flex; flex-direction: column; gap: 0; }
.nx-cta-block__pair { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); color: #fff; text-decoration: none; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.nx-cta-block__pair:first-child { border-top: 1px solid rgba(255,255,255,0.14); }
.nx-cta-block__pair:hover { color: var(--nx-green); border-color: rgba(92,185,71,0.4); }
.nx-cta-block__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--neutral-400); font-weight: 600; }
.nx-cta-block__v { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; display: inline-flex; align-items: baseline; gap: 10px; letter-spacing: -0.005em; }
.nx-cta-block__arrow { font-family: var(--font-display); font-size: 0.85em; opacity: 0.6; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.nx-cta-block__pair:hover .nx-cta-block__arrow { opacity: 1; transform: translate(2px, -2px); }

@media (max-width: 900px) {
  .nx-cta-block__row { grid-template-columns: 1fr; gap: 40px; }
  .nx-footer__mark { width: 72px; }
  .nx-cta-card { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
  .nx-cta-card__action { justify-content: flex-start; }
}

/* ============ Cases ============ */
.nx-cases { display: flex; flex-direction: column; gap: 24px; }
.nx-case { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 48px; display: grid; grid-template-columns: 220px 1fr 280px; gap: 48px; align-items: start; transition: box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
.nx-case:hover { box-shadow: var(--shadow-1); border-color: var(--border-strong); }
.nx-case__num { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; color: var(--nx-green); }
.nx-case__sector { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-subtle); margin-top: 8px; font-weight: 600; }
.nx-case__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--fg); margin: 0 0 8px; }
.nx-case__subtitle { font-size: 14px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 24px; }
.nx-case__impact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--nx-blue); font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.nx-case__impact-label::before { content: ""; width: 20px; height: 1px; background: var(--nx-green); }
.nx-case__impact { font-size: 15px; line-height: 1.6; color: var(--fg); margin: 0; }
.nx-case__meta { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.nx-case__meta-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.nx-case__meta-row:last-child { border-bottom: none; }
.nx-case__meta-k { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-subtle); font-weight: 600; }
.nx-case__meta-v { font-size: 13px; color: var(--fg); font-weight: 500; text-align: right; }

.nx-cases__outro { margin-top: 48px; padding: 32px 0 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg-muted); max-width: 720px; }

/* ============ Contact ============ */
.nx-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; }
.nx-contact__form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 40px; }
.nx-field label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-muted); margin-bottom: 8px; }
.nx-field input, .nx-field textarea {
  font-family: var(--font-body); font-size: 15px; padding: 14px 16px;
  border: 1px solid var(--border-strong); border-radius: 4px; background: #fff;
  color: var(--fg); width: 100%; outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.nx-field textarea { resize: vertical; min-height: 120px; }
.nx-field input:focus, .nx-field textarea:focus { border-color: var(--nx-green); box-shadow: 0 0 0 3px rgba(92,185,71,0.18); }
.nx-contact__note { font-size: 12px; color: var(--fg-subtle); line-height: 1.55; }
.nx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; background: var(--green-50); color: var(--green-700); text-transform: uppercase; letter-spacing: 0.08em; }
.nx-contact__sent { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ============ Footer ============ */
.nx-footer { background: #0c1626; color: var(--neutral-200); padding: 96px 0 32px; border-top: 1px solid rgba(255,255,255,0.14); }
.nx-footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 96px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.nx-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.nx-footer__mark { width: 88px; height: auto; display: block; margin-bottom: 4px; background: #fff; padding: 8px; border-radius: 10px; }
.nx-footer__tagline { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; color: var(--nx-green); }
.nx-footer__addr { font-size: 13px; line-height: 1.6; color: var(--neutral-300); margin-top: 8px; max-width: 360px; }
.nx-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.nx-footer__h { font-family: var(--font-display); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 16px; }
.nx-footer__cols a { display: block; font-size: 14px; color: var(--neutral-300); padding: 4px 0; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
.nx-footer__cols a:hover { color: var(--nx-green); }
.nx-footer__legal { font-size: 12px; color: var(--neutral-400); padding-top: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============ Page-wide reveal ============ */
.nx-reveal { opacity: 0; transform: translateY(8px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.nx-reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive (basic) ============ */
@media (max-width: 980px) {
  .nx-nav { display: none; }
  .nx-services { grid-template-columns: 1fr; }
  .nx-service { border-right: none; border-bottom: 1px solid var(--border); min-height: auto; }
  .nx-service:last-child { border-bottom: none; }
  .nx-positioning .nx-grid, .nx-profile-hero, .nx-contact { grid-template-columns: 1fr; gap: 48px; }
  .nx-clusters { grid-template-columns: 1fr; }
  .nx-cv-item { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .nx-impact { grid-template-columns: repeat(2, 1fr); }
  .nx-impact__item:nth-child(2) { border-right: none; }
  .nx-direct__list li { grid-template-columns: 1fr; gap: 4px; }
  .nx-case { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
  .nx-footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .nx-footer__cols { grid-template-columns: repeat(2, 1fr); }
}
