/* ─────────────────────────────────────────
   Next Digital — Homepage
   Color palette: dark blue → teal-green
───────────────────────────────────────── */

:root {
  --nd-accent:        oklch(60% 0.24 200);
  --nd-bg:            oklch(8% 0.04 210);
  --nd-chrome:        oklch(97% 0.003 215);
  --nd-chrome-border: oklch(89% 0.004 215);
  --nd-text:          oklch(91% 0.007 215);
  --nd-text-mid:      oklch(76% 0.022 215);
  --nd-text-dim:      oklch(55% 0.05 210);
  --nd-border:        oklch(100% 0 0 / 0.07);
  --nd-border-light:  oklch(100% 0 0 / 0.10);
  --nd-bezel-gap:     18px;
  --nd-bezel-r:       20px;
  --nd-header-h:      80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ── HTML + body lock ── */
html.nd-html-lock {
  overflow: hidden !important;
  height: 100% !important;
}

body.nd-home {
  overflow: hidden !important;
  height: 100vh !important;
  background: var(--nd-chrome);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.nd-skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  z-index: 100000;
  background: oklch(97% 0 0);
  color: oklch(10% 0 0);
  padding: 6px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  border-radius: 4px;
  text-decoration: none;
}
.nd-skip-link:focus { top: 8px; }

/* ════════════════════════════════════
   BEZEL SYSTEM
════════════════════════════════════ */

.nd-header-chrome {
  position: fixed; top: 0; left: 0; right: 0;
  height: fit-content; z-index: 9999; background: transparent;
}
.admin-bar .nd-header-chrome { top: 32px; }

.nd-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 44px 8px; min-height: var(--nd-header-h);
}

.nd-nav-logo {
  font-size: 13px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
  color: oklch(15% 0.015 215); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nd-nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nd-nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nd-nav-links > li { margin: 0; position: relative; }

.nd-nav-links a {
  font-size: 13px; font-weight: 400; color: oklch(42% 0.03 215);
  text-decoration: none; padding: 7px 14px; border-radius: 8px;
  transition: color 0.18s, background 0.18s; display: block; white-space: nowrap;
}
.nd-nav-links a:hover { color: oklch(15% 0.02 215); background: oklch(0% 0 0 / 0.05); }
.nd-nav-links .menu-item-has-children > a::after { content: ' ›'; opacity: 0.4; font-size: 11px; }

/* ── Dropdown ── */
.nd-nav-links .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 190px; padding-top: 6px;
  list-style: none; margin: 0; z-index: 10001;
}
.nd-nav-links .sub-menu li { position: static; }
.nd-nav-links .sub-menu-inner {
  background: var(--nd-chrome); border: 1px solid var(--nd-chrome-border);
  border-radius: 10px; padding: 6px;
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.10);
}
.nd-nav-links .sub-menu a {
  font-size: 13px; color: oklch(32% 0.02 215); padding: 7px 12px; border-radius: 6px;
}
.nd-nav-links .sub-menu a:hover { color: oklch(12% 0.02 215); background: oklch(0% 0 0 / 0.05); }

/* ── Unified button base (nav, hero, primary) ── */
@property --nd-beam-a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.nd-nav-cta,
.nd-hero-cta,
.nd-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: oklch(10% 0.035 215);
  border: 1px solid oklch(100% 0 0 / 0.12);
  color: oklch(88% 0.006 215);
  padding: 10px 22px; border-radius: 10px;
  font-size: 13px; font-weight: 400;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer; text-decoration: none;
  position: relative; isolation: isolate;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.nd-nav-cta:hover,
.nd-hero-cta:hover,
.nd-btn-primary:hover {
  border-color: oklch(100% 0 0 / 0.22);
  background: oklch(13% 0.04 215);
  color: oklch(96% 0.004 215);
}

/* Traveling border beam */
.nd-nav-cta::before,
.nd-hero-cta::before,
.nd-btn-primary::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--nd-beam-a),
    transparent 0%,
    transparent 62%,
    oklch(85% 0.14 192 / 0.5) 76%,
    oklch(97% 0.03 200 / 1)   82%,
    oklch(85% 0.14 192 / 0.5) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: nd-beam-spin 2.2s linear infinite;
  pointer-events: none;
}
.nd-nav-cta:hover::before,
.nd-hero-cta:hover::before,
.nd-btn-primary:hover::before { opacity: 1; }
@keyframes nd-beam-spin { to { --nd-beam-a: 360deg; } }

/* Bezel ring — disabled, plain white frame instead */
.nd-bezel-ring { display: none; }

/* Scroll viewport — unified blue→teal-green gradient */
.nd-scroll-viewport {
  position: fixed;
  top: calc(var(--nd-header-h) + var(--nd-bezel-gap));
  left: var(--nd-bezel-gap);
  right: var(--nd-bezel-gap);
  bottom: var(--nd-bezel-gap);
  border-radius: var(--nd-bezel-r);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%,   oklch(22% 0.18 210 / 0.85) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 88% 68%,  oklch(18% 0.16 190 / 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 38% at 12% 58%,  oklch(14% 0.14 165 / 0.40) 0%, transparent 55%),
    oklch(8% 0.04 210);
}
.nd-scroll-viewport::-webkit-scrollbar { display: none; }

.nd-dot-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, oklch(65% 0.10 200 / 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Admin bar offsets */
.admin-bar .nd-scroll-viewport { top: calc(32px + var(--nd-header-h) + var(--nd-bezel-gap)); }

.nd-page { position: relative; z-index: 1; }

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */

.nd-hero {
  min-height: calc(100vh - 90px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 72px 48px 80px;
  position: relative; text-align: center;
  overflow: hidden;
}

/* Video background */
.nd-hero-video-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.nd-hero-video-bg video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.nd-hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, oklch(22% 0.18 210 / 0.55) 0%, transparent 60%),
    oklch(8% 0.04 210 / 0.35);
}

.nd-hero-bloom {
  position: absolute;
  width: 800px; height: 600px;
  top: -150px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    oklch(38% 0.26 195 / 0.28) 0%, oklch(28% 0.20 210 / 0.10) 40%, transparent 70%);
  pointer-events: none; filter: blur(30px); z-index: 1;
}

.nd-hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 1px solid oklch(60% 0.20 195 / 0.10);
  pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
}
.nd-hero-deco-1 { width: 420px; height: 420px; }
.nd-hero-deco-2 { width: 620px; height: 620px; border-color: oklch(60% 0.20 195 / 0.05); }
.nd-hero-deco-3 { width: 820px; height: 820px; border-color: oklch(60% 0.20 195 / 0.03); }

.nd-hero-stage {
  position: relative; z-index: 2;
  width: 100%; max-width: 820px;
  background: oklch(10% 0.04 210 / 0.75);
  border: 1px solid oklch(100% 0 0 / 0.09);
  border-radius: 28px;
  padding: 72px 80px 64px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.nd-hero-stage::before {
  content: '';
  position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(65% 0.24 195 / 0.6), transparent);
}

.nd-stage-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 55%; height: 220px;
  background: radial-gradient(ellipse at center top, oklch(52% 0.26 195 / 0.38) 0%, transparent 70%);
  pointer-events: none;
}

.nd-hero-eyebrow {
  font-size: 11px; font-family: 'DM Mono', monospace; font-weight: 300;
  color: var(--nd-accent); letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 26px; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.nd-eyebrow-line {
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(60% 0.24 200 / 0.5));
}
.nd-eyebrow-line.r {
  background: linear-gradient(270deg, transparent, oklch(60% 0.24 200 / 0.5));
}

/* Hero block content (from Gutenberg) */
.nd-hero-block-content h1,
.nd-hero-block-content .wp-block-heading {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 400; line-height: 1.12;
  letter-spacing: -1.5px; color: oklch(94% 0.006 215);
  margin-bottom: 20px; text-wrap: balance;
}
.nd-hero-block-content p {
  font-size: 15.5px; font-weight: 300;
  color: oklch(52% 0.06 210); line-height: 1.65;
  max-width: 440px; margin: 0 auto 40px;
}

/* Hero fallback (no blocks) */
.nd-hero-title {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 400; line-height: 1.12;
  letter-spacing: -1.5px; color: oklch(94% 0.006 215);
  margin-bottom: 20px; text-wrap: balance;
}
.nd-hero-sub {
  font-size: 15.5px; font-weight: 300;
  color: oklch(52% 0.06 210); line-height: 1.65;
  max-width: 440px; margin: 0 auto 40px;
}

.nd-hero-cta { font-size: 14px; padding: 13px 28px; }

.nd-hero-cta-arrow {
  color: var(--nd-accent); font-size: 17px; transition: transform 0.2s;
}
.nd-hero-cta:hover .nd-hero-cta-arrow { transform: translateX(3px); }

.nd-hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; margin-top: 44px; position: relative; z-index: 2;
}
.nd-hero-stat-item { text-align: center; }
.nd-hero-stat-n {
  font-size: 26px; font-weight: 500; letter-spacing: -1px;
  color: oklch(90% 0.008 215); line-height: 1; margin-bottom: 5px;
}
.nd-hero-stat-n span { color: var(--nd-accent); }
.nd-hero-stat-l {
  font-size: 11px; color: oklch(50% 0.05 210); font-weight: 300; letter-spacing: 0.2px;
}
.nd-hero-div { width: 1px; height: 30px; background: oklch(100% 0 0 / 0.1); }

/* Floating cards */
.nd-hero-float { position: absolute; z-index: 3; }
.nd-hero-float-1 { bottom: 110px; left: 48px; }
.nd-hero-float-2 { top: 120px; right: 48px; }

.nd-float-card {
  background: oklch(12% 0.05 210 / 0.80);
  backdrop-filter: blur(20px);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: 14px; padding: 14px 18px;
  box-shadow: 0 8px 32px oklch(0% 0 0 / 0.35), inset 0 1px 0 oklch(100% 0 0 / 0.10);
}
.nd-float-card-label {
  font-size: 10px; font-family: 'DM Mono', monospace;
  color: var(--nd-accent); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
}
.nd-f-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(65% 0.26 155);
  box-shadow: 0 0 7px oklch(65% 0.26 155 / 0.8);
  animation: nd-gpulse 2s ease-in-out infinite;
  flex-shrink: 0; display: inline-block;
}
@keyframes nd-gpulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.nd-float-card-val {
  font-size: 24px; font-weight: 500;
  color: oklch(93% 0.006 215); letter-spacing: -1px;
  line-height: 1; margin-bottom: 3px;
  font-family: 'DM Mono', monospace;
}
.nd-float-card-sub { font-size: 11px; font-weight: 300; color: oklch(50% 0.05 210); }

/* ════════════════════════════════════
   MARQUEE
════════════════════════════════════ */

.nd-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid oklch(100% 0 0 / 0.07);
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  padding: 15px 0;
}
.nd-marquee-track {
  display: flex;
  animation: nd-marquee 28s linear infinite;
  white-space: nowrap;
}
.nd-marquee-item {
  display: inline-flex; align-items: center; gap: 24px; padding: 0 24px;
}
.nd-marquee-item span {
  font-size: 10.5px; font-weight: 300;
  color: oklch(65% 0.06 210);
  text-transform: uppercase; letter-spacing: 1.8px;
}
.nd-m-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--nd-accent); flex-shrink: 0; }
@keyframes nd-marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ════════════════════════════════════
   SECTION BASE
════════════════════════════════════ */

.nd-section {
  padding: 96px 48px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  position: relative;
}

/* ── About — logo trace bg ── */
.nd-about-section { overflow: hidden; }

.nd-about-logo-bg {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  pointer-events: none;
  color: oklch(96% 0.04 200);
}
.nd-about-logo-bg svg {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 3px oklch(95% 0.06 195 / 0.8))
    drop-shadow(0 0 10px oklch(80% 0.18 195 / 0.45))
    drop-shadow(0 0 24px oklch(65% 0.22 200 / 0.20));
  opacity: 0.75;
}

.nd-s-eyebrow {
  font-size: 10.5px; font-family: 'DM Mono', monospace; font-weight: 300;
  color: var(--nd-accent); text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 32px; display: flex; align-items: center; gap: 12px;
}
.nd-s-eyebrow::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, oklch(60% 0.24 200 / 0.22), transparent);
}

.nd-s-title {
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 400; letter-spacing: -1.2px;
  color: oklch(91% 0.007 215); line-height: 1.1;
}

/* ════════════════════════════════════
   ABOUT
════════════════════════════════════ */

.nd-about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}

/* Block-rendered about content */
.nd-about-block-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.nd-about-block-content .nd-quote-block,
.nd-about-block-content p:first-child {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300; line-height: 1.42;
  color: var(--nd-text-mid); letter-spacing: -0.3px;
}
.nd-about-block-content .nd-quote-block strong,
.nd-about-block-content p:first-child strong {
  font-weight: 500; color: var(--nd-text);
}
.nd-about-block-content p:not(:first-child),
.nd-about-block-content p:not(.nd-quote-block) {
  font-size: 14px; font-weight: 300;
  color: oklch(55% 0.05 210); line-height: 1.82; margin: 0;
}
.nd-about-block-content p + p { margin-top: 18px; }

.nd-about-quote {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 300; line-height: 1.42;
  color: var(--nd-text-mid); letter-spacing: -0.3px; text-wrap: pretty;
}
.nd-about-quote strong { font-weight: 500; color: var(--nd-text); }

.nd-about-body p {
  font-size: 14px; font-weight: 300;
  color: oklch(55% 0.05 210); line-height: 1.82; margin: 0;
}
.nd-about-body p + p { margin-top: 18px; }

.nd-values-list {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: oklch(100% 0 0 / 0.06);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: 18px; overflow: hidden;
}
.nd-value-card {
  background: oklch(8% 0.04 210);
  padding: 40px 34px; transition: background 0.22s;
  position: relative; overflow: hidden;
}
.nd-value-card::before {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(60% 0.24 200 / 0.40), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.nd-value-card:hover { background: oklch(10% 0.045 210); }
.nd-value-card:hover::before { opacity: 1; }
.nd-value-card-n {
  font-size: 10px; font-family: 'DM Mono', monospace; font-weight: 300;
  color: var(--nd-accent); letter-spacing: 1.5px; margin-bottom: 20px;
}
.nd-value-card-name {
  font-size: 18px; font-weight: 500;
  color: oklch(87% 0.008 215); letter-spacing: -0.2px; margin-bottom: 11px;
}
.nd-value-card-desc {
  font-size: 13px; font-weight: 300; color: oklch(54% 0.05 210); line-height: 1.72;
}

/* ════════════════════════════════════
   SERVICES
════════════════════════════════════ */

.nd-services-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px;
}
.nd-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: oklch(100% 0 0 / 0.06);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: 18px; overflow: hidden;
}
.nd-service-item {
  background: oklch(8% 0.04 210);
  padding: 36px 32px; position: relative;
  overflow: hidden; transition: background 0.22s;
}
.nd-service-item:hover { background: oklch(10.5% 0.048 210); }
.nd-service-item::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, oklch(60% 0.24 200 / 0.35), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.nd-service-item:hover::after { opacity: 1; }
.nd-service-n {
  font-size: 10px; font-family: 'DM Mono', monospace; font-weight: 300;
  color: oklch(50% 0.06 210); letter-spacing: 1.2px; margin-bottom: 16px;
}
.nd-service-name {
  font-size: 17px; font-weight: 500;
  color: oklch(85% 0.008 215); letter-spacing: -0.2px; margin-bottom: 10px;
}
.nd-service-desc {
  font-size: 13px; font-weight: 300; color: oklch(54% 0.05 210); line-height: 1.65;
}

/* ════════════════════════════════════
   AUDIENCE CARDS
════════════════════════════════════ */

.nd-audience-section { padding-top: 80px; }

.nd-audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}

.nd-audience-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  background: oklch(9% 0.042 210);
  isolation: isolate;
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nd-audience-card:hover {
  border-color: oklch(100% 0 0 / 0.20);
  transform: translateY(-4px);
}

/* Background image fills the whole card — slight zoom on hover */
.nd-audience-img {
  position: absolute; inset: 0; z-index: 0;
}
.nd-audience-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.45s ease;
}
.nd-audience-card:hover .nd-audience-img img {
  transform: scale(1.05);
  filter: brightness(0.55);
}

/* Soft gradient veil — keeps text readable at rest without darkening the image */
.nd-audience-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    oklch(5% 0.025 215 / 0.78) 0%,
    oklch(5% 0.025 215 / 0.30) 40%,
    transparent 75%
  );
  pointer-events: none;
}

/* Body sits at the bottom of the card, overlaid on the image.
   No flex gap here on purpose: the excerpt collapses to 0 height at rest
   and a flex `gap` would leave a visible empty band between title and button. */
.nd-audience-card-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 24px 22px;
  display: flex; flex-direction: column; align-items: flex-start;
}

.nd-audience-title {
  font-size: 20px; font-weight: 500;
  color: oklch(97% 0.004 215);
  letter-spacing: -0.3px; line-height: 1.2;
  margin: 0;
}

/* Excerpt — hidden at rest, slides up + fades in on hover.
   Its growing height naturally pushes the title up since the body is
   anchored to the bottom of the card. */
.nd-audience-desc {
  font-size: 13px; font-weight: 300;
  color: oklch(86% 0.012 215); line-height: 1.55;
  margin: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.16,1,0.3,1),
    max-height 0.5s cubic-bezier(0.16,1,0.3,1),
    margin 0.5s cubic-bezier(0.16,1,0.3,1);
  overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.nd-audience-card:hover .nd-audience-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 80px;
  margin: 10px 0 4px;
}

.nd-audience-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px;
  font-size: 11px; font-weight: 500;
  font-family: 'DM Mono', monospace;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: oklch(96% 0.004 215);
  background: oklch(100% 0 0 / 0.10);
  border: 1px solid oklch(100% 0 0 / 0.22);
  border-radius: 100px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 4px 16px oklch(0% 0 0 / 0.25), inset 0 1px 0 oklch(100% 0 0 / 0.12);
  transition: background 0.3s, border-color 0.3s, gap 0.25s;
  margin-top: 14px;
}
.nd-audience-btn span { transition: transform 0.25s; display: inline-block; }
.nd-audience-card:hover .nd-audience-btn {
  background: oklch(100% 0 0 / 0.16);
  border-color: oklch(100% 0 0 / 0.34);
  gap: 13px;
}
.nd-audience-card:hover .nd-audience-btn span { transform: translateX(3px); }

/* ════════════════════════════════════
   VISUAL SECTION
════════════════════════════════════ */

.nd-visual-section {
  padding: 80px 48px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
}
.nd-vis-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 16px; margin-top: 52px;
}
.nd-vis-card {
  border-radius: 16px; overflow: hidden;
  position: relative; background: oklch(10% 0.04 210);
}
.nd-vis-card-tall { height: 400px; }
.nd-vis-col { display: flex; flex-direction: column; gap: 16px; }
.nd-vis-col .nd-vis-card { flex: 1; height: auto; min-height: 192px; }

.nd-vis-img-wrap { position: absolute; inset: 0; }
.nd-vis-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nd-img-ph { position: absolute; inset: 0; background: oklch(11% 0.04 210); }
.nd-img-ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    oklch(14% 0.04 210) 0px, oklch(14% 0.04 210) 1px,
    oklch(11% 0.04 210) 1px, oklch(11% 0.04 210) 14px
  );
}
.nd-img-ph-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9.5px; font-family: 'DM Mono', monospace; font-weight: 300;
  color: oklch(40% 0.05 210); letter-spacing: 1px; text-transform: uppercase;
}

.nd-glass {
  position: absolute;
  background: oklch(100% 0 0 / 0.06);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid oklch(100% 0 0 / 0.13);
  border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 8px 32px oklch(0% 0 0 / 0.35), inset 0 1px 0 oklch(100% 0 0 / 0.12);
}
.nd-glass-label {
  font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--nd-accent); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.nd-glass-val {
  font-size: 26px; font-weight: 500; color: oklch(93% 0.006 215);
  letter-spacing: -1px; line-height: 1; margin-bottom: 3px;
  font-family: 'DM Mono', monospace;
}
.nd-glass-sub { font-size: 11px; font-weight: 300; color: oklch(50% 0.05 210); }

.nd-glass-compact {
  max-width: 30%;
  padding: 12px 14px;
  background: oklch(8% 0.04 220 / 0.42);
  border-color: oklch(100% 0 0 / 0.18);
}
.nd-glass-compact .nd-glass-label {
  font-size: 9.5px; letter-spacing: 0.8px;
  white-space: nowrap;
}
.nd-glass-compact .nd-glass-val {
  font-size: 22px;
  color: oklch(98% 0.003 215);
}
.nd-glass-compact .nd-glass-sub {
  color: oklch(82% 0.015 215);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nd-glass-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  background: oklch(100% 0 0 / 0.07); backdrop-filter: blur(14px);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: 100px; padding: 7px 14px;
  font-size: 11.5px; font-weight: 300; color: oklch(73% 0.06 215);
}
.nd-badge-dot { color: oklch(65% 0.26 155); font-size: 8px; line-height: 1; }

/* ════════════════════════════════════
   CTA
════════════════════════════════════ */

.nd-cta-section {
  padding: 80px 48px 100px;
  border-bottom: 1px solid oklch(100% 0 0 / 0.07);
  position: relative;
}

/* Scroll-driven zoom wrapper — JS sets transform here without conflicting
   with the hover translateY on .nd-cta-card. */
.nd-cta-zoom {
  transform-origin: center center;
  will-change: transform;
}

.nd-cta-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid oklch(100% 0 0 / 0.10);
  background: oklch(10% 0.04 215);
  box-shadow:
    0 30px 80px oklch(0% 0 0 / 0.45),
    inset 0 1px 0 oklch(100% 0 0 / 0.10);
  transition: border-color 0.35s, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.nd-cta-card:hover,
.nd-cta-card.nd-cta-card-active {
  border-color: transparent;  /* beam takes over */
  transform: translateY(-3px);
}

/* Travelling border beam — same conic-gradient pattern as buttons,
   slower spin because the perimeter is much longer. */
.nd-cta-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1.5px;
  background: conic-gradient(
    from var(--nd-beam-a),
    transparent 0%, transparent 62%,
    oklch(85% 0.14 192 / 0.5) 76%,
    oklch(97% 0.03 200 / 1)   82%,
    oklch(85% 0.14 192 / 0.5) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: nd-beam-spin 5.5s linear infinite;
  pointer-events: none;
  z-index: 3;
}
.nd-cta-card:hover::before,
.nd-cta-card.nd-cta-card-active::before { opacity: 1; }

.nd-cta-shader {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  display: block;
  opacity: 0.85;
}

/* Soft veil so text stays readable over the shader */
.nd-cta-card-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, oklch(8% 0.04 215 / 0.55) 75%),
    linear-gradient(180deg, oklch(10% 0.04 215 / 0.30) 0%, oklch(8% 0.04 215 / 0.10) 50%, oklch(10% 0.04 215 / 0.30) 100%);
  pointer-events: none;
}

.nd-cta-card-body {
  position: relative; z-index: 2;
  padding: 90px 48px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px;
}

/* Block-rendered CTA inside the card */
.nd-cta-block-content { margin: 0; }
.nd-cta-block-content h2,
.nd-cta-block-content .wp-block-heading {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400; letter-spacing: -1.4px; line-height: 1.12;
  color: oklch(95% 0.005 215);
  margin: 0;
}

.nd-cta-title {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400; letter-spacing: -1.4px; line-height: 1.12;
  color: oklch(95% 0.005 215); margin: 0;
}
.nd-cta-title em { font-style: normal; color: var(--nd-accent); }

.nd-cta-text {
  font-size: 15px; font-weight: 300;
  color: oklch(72% 0.04 210);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

.nd-cta-btn { font-size: 14px; padding: 14px 30px; font-weight: 500; margin-top: 6px; }

/* Primary button — base size, used elsewhere too */
.nd-btn-primary { font-size: 14px; padding: 13px 28px; font-weight: 500; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */

/* ── Main rich footer (full black, shared between home + inner pages) ── */
.nd-footer-main {
  background: #000;
  color: oklch(72% 0.04 210);
  padding: 96px 48px 36px;
  margin-top: 80px;
}
.nd-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  max-width: 1320px;
  margin: 0 auto;
}
.nd-footer-brand { display: flex; flex-direction: column; gap: 20px; }
.nd-footer-logo  { display: inline-flex; }
.nd-footer-logo img { height: 38px; width: auto; display: block; }
.nd-footer-addr {
  font-size: 13px; line-height: 1.7;
  color: oklch(70% 0.04 210);
  font-style: normal;
}
.nd-footer-contact {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.nd-footer-contact a {
  font-size: 13px; color: oklch(82% 0.03 210);
  text-decoration: none; transition: color 0.18s;
  font-family: 'DM Mono', monospace;
}
.nd-footer-contact a:hover { color: var(--nd-accent); }

.nd-footer-h {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  color: oklch(95% 0.005 215);
  margin: 0 0 24px;
  font-family: 'DM Mono', monospace;
}
.nd-footer-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 11px;
}
.nd-footer-menu li { margin: 0; }
.nd-footer-menu a {
  font-size: 13.5px; color: oklch(70% 0.04 210);
  text-decoration: none; transition: color 0.18s;
}
.nd-footer-menu a:hover { color: oklch(95% 0.005 215); }

.nd-footer-social {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 12px;
}
.nd-footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid oklch(100% 0 0 / 0.10);
  border-radius: 10px;
  color: oklch(78% 0.03 210);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}
.nd-footer-social a:hover {
  border-color: oklch(60% 0.24 200 / 0.45);
  color: oklch(95% 0.005 215);
  background: oklch(60% 0.24 200 / 0.10);
  transform: translateY(-2px);
}
.nd-footer-social svg { width: 18px; height: 18px; }

.nd-footer-bottom {
  border-top: 1px solid oklch(100% 0 0 / 0.06);
  padding-top: 28px; margin-top: 64px;
  max-width: 1320px;
  margin-left: auto; margin-right: auto;
  font-size: 11px; font-family: 'DM Mono', monospace;
  color: oklch(50% 0.04 210);
  text-align: center;
}
.nd-footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .nd-footer-main  { padding: 64px 28px 28px; }
  .nd-footer-grid  { grid-template-columns: 1fr 1fr; gap: 44px; }
  .nd-footer-brand { grid-column: 1 / -1; }
}

/* ════════════════════════════════════
   BURGER BUTTON (also defined in main.css for inner pages)
════════════════════════════════════ */

.nd-nav-burger {
  display: none;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: transparent; border: 0;
  cursor: pointer; padding: 0;
  position: relative; z-index: 10001;
  flex-direction: column; gap: 5px;
}
.nd-burger-bar {
  display: block; width: 22px; height: 2px;
  background: oklch(15% 0.015 215);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s, background 0.2s;
}
.nd-nav-open .nd-nav-burger .nd-burger-bar:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.nd-nav-open .nd-nav-burger .nd-burger-bar:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

body.nd-menu-open { overflow: hidden; }

/* ════════════════════════════════════
   MOBILE — Homepage
════════════════════════════════════ */

@media (max-width: 900px) {
  .nd-about-grid,
  .nd-about-block-content { grid-template-columns: 1fr; gap: 32px; }

  .nd-vis-grid {
    grid-template-columns: 1fr;
    gap: 12px; margin-top: 36px;
  }
  .nd-vis-card-tall { height: 320px; }
  .nd-vis-col      { gap: 12px; }
  .nd-vis-col .nd-vis-card { min-height: 220px; }

  .nd-values-list { grid-template-columns: 1fr; }

  .nd-services-grid { grid-template-columns: 1fr; }

  .nd-audience-grid {
    grid-template-columns: 1fr;
    gap: 14px; margin-top: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --nd-bezel-gap: 8px;
    --nd-bezel-r:   14px;
    --nd-header-h:  58px;
  }

  .nd-nav { padding: 12px 16px 6px; min-height: var(--nd-header-h); }
  .nd-nav-logo-img { height: 32px; }
  .nd-nav-burger { display: flex; }

  .nd-nav-links,
  .nd-nav-cta { display: none; }

  .nd-nav.nd-nav-open .nd-nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 4px;
    position: fixed;
    top: var(--nd-header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--nd-chrome);
    border-top: 1px solid var(--nd-chrome-border);
    padding: 26px 22px 22px;
    z-index: 9998;
    overflow-y: auto;
  }
  .admin-bar .nd-nav.nd-nav-open .nd-nav-links { top: calc(var(--nd-header-h) + 32px); }

  .nd-nav.nd-nav-open .nd-nav-links a {
    font-size: 16px;
    color: oklch(20% 0.02 215);
    padding: 12px 8px;
    border-radius: 8px;
    display: block;
  }
  .nd-nav.nd-nav-open .nd-nav-links li { width: 100%; }

  .nd-nav.nd-nav-open .nd-nav-links .sub-menu {
    display: none;
    position: static;
    padding: 0 0 0 12px;
    margin: 4px 0 8px;
  }
  .nd-nav.nd-nav-open .nd-nav-links .sub-menu-inner {
    background: transparent; border: 0; box-shadow: none; padding: 0;
  }
  .nd-nav.nd-nav-open .nd-nav-links .sub-menu a { font-size: 14px; padding: 8px; }
  .nd-nav.nd-nav-open .nd-nav-links .menu-item-has-children.nd-mobile-sub-open > .sub-menu {
    display: block;
  }

  .nd-nav.nd-nav-open .nd-nav-cta {
    display: inline-flex;
    position: fixed;
    left: 22px; right: 22px;
    bottom: calc(var(--nd-bezel-gap) + 18px);
    justify-content: center;
    z-index: 9999;
  }

  /* Section padding shrinks across the board */
  .nd-section,
  .nd-visual-section,
  .nd-cta-section { padding: 56px 20px; }

  .nd-services-slider-header { padding: 0 8px 36px; }

  /* Hero — tighter stage and stats */
  .nd-hero { padding: 40px 18px 56px; min-height: auto; }
  .nd-hero-stage { padding: 44px 24px 36px; border-radius: 22px; }
  .nd-hero-stage::before { left: 14%; right: 14%; }
  .nd-hero-deco-1 { width: 280px; height: 280px; }
  .nd-hero-deco-2 { width: 400px; height: 400px; }
  .nd-hero-deco-3 { width: 540px; height: 540px; }
  .nd-hero-bloom  { width: 480px; height: 360px; top: -100px; }

  .nd-hero-eyebrow { font-size: 10px; letter-spacing: 1.8px; margin-bottom: 18px; }
  .nd-hero-eyebrow .nd-eyebrow-line { width: 18px; }

  .nd-hero-block-content h1,
  .nd-hero-block-content .wp-block-heading,
  .nd-hero-title { font-size: clamp(30px, 8vw, 42px); letter-spacing: -0.6px; }
  .nd-hero-block-content p,
  .nd-hero-sub   { font-size: 14px; max-width: 100%; margin-bottom: 28px; }

  .nd-hero-stats { gap: 18px; margin-top: 32px; flex-wrap: wrap; }
  .nd-hero-stat-n { font-size: 22px; }
  .nd-hero-stat-l { font-size: 10px; }
  .nd-hero-div { height: 22px; }

  /* Section titles */
  .nd-s-title { font-size: clamp(28px, 7vw, 40px); letter-spacing: -0.6px; }
  .nd-s-eyebrow { margin-bottom: 22px; }

  .nd-services-slider-header .nd-s-title { font-size: clamp(34px, 9vw, 56px); letter-spacing: -1px; }
  .nd-services-slider-header .nd-s-sub { font-size: 14px; margin-top: 16px; }

  /* About — logo SVG much smaller and shifted off-canvas, then hidden on the smallest screens */
  .nd-about-logo-bg { width: 70%; right: -20%; opacity: 0.45; }

  .nd-about-block-content .nd-quote-block,
  .nd-about-block-content p:first-child,
  .nd-about-quote { font-size: clamp(18px, 5vw, 24px); }

  .nd-values-list { margin-top: 40px; border-radius: 14px; }
  .nd-value-card  { padding: 28px 24px; }

  /* Services card stack — keep cards inside the viewport */
  .nd-card-stack-wrap { overflow: hidden; }
  .nd-stack-stage { height: 320px; perspective: 800px; }
  .nd-stack-card  {
    width: min(78vw, 360px);
    height: 240px;
    border-radius: 16px;
  }
  .nd-stack-card-body { padding: 18px 20px; }
  .nd-stack-card-body h3 { font-size: 16px; margin-bottom: 6px; }
  .nd-stack-card-body p  { font-size: 12px; -webkit-line-clamp: 2; }
  .nd-stack-nav { margin-top: 20px; gap: 14px; }

  /* Audience cards stay 16:9 — full width */
  .nd-audience-card-body { padding: 18px 18px; }
  .nd-audience-title     { font-size: 18px; }
  .nd-audience-desc      { font-size: 12.5px; }
  .nd-audience-btn       { font-size: 10.5px; padding: 8px 16px; }

  /* CTA card */
  .nd-cta-card { border-radius: 22px; }
  .nd-cta-card-body { padding: 56px 24px; gap: 16px; }
  .nd-cta-block-content h2,
  .nd-cta-block-content .wp-block-heading,
  .nd-cta-title { font-size: clamp(26px, 7vw, 38px); letter-spacing: -0.6px; }
  .nd-cta-text  { font-size: 13.5px; }
  .nd-cta-btn   { font-size: 13px; padding: 12px 24px; }

  /* Footer — single column on small screens */
  .nd-footer-main { padding: 48px 20px 22px; }
  .nd-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nd-footer-brand { grid-column: auto; }
  .nd-footer-bottom { margin-top: 40px; padding-top: 22px; }

  /* Marquee — slightly tighter */
  .nd-marquee-item { gap: 16px; padding: 0 16px; }
  .nd-marquee-item span { font-size: 9.5px; letter-spacing: 1.4px; }
}

@media (max-width: 480px) {
  :root {
    --nd-bezel-gap: 6px;
    --nd-bezel-r:   10px;
    --nd-header-h:  54px;
  }
  .nd-nav-logo-img { height: 28px; }
  .nd-nav { padding: 10px 14px 4px; }

  .nd-section,
  .nd-visual-section,
  .nd-cta-section { padding: 48px 16px; }

  .nd-hero { padding: 32px 14px 48px; }
  .nd-hero-stage { padding: 36px 20px 32px; }

  /* Logo SVG kept visible — just smaller and more transparent at this size */
  .nd-about-logo-bg { width: 78%; right: -22%; opacity: 0.35; }

  .nd-stack-stage { height: 280px; }
  .nd-stack-card  { height: 210px; width: min(82vw, 300px); border-radius: 14px; }
  .nd-stack-card-body { padding: 14px 16px; }
  .nd-stack-card-body h3 { font-size: 15px; }
  .nd-stack-card-body p  { font-size: 11.5px; }

  .nd-cta-card-body { padding: 44px 18px; }
}

/* ════════════════════════════════════
   SERVICES — CARD STACK SLIDER
════════════════════════════════════ */

.nd-services-slider-header {
  text-align: center;
  padding: 0 48px 56px;
}
.nd-services-slider-header .nd-s-title {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 72px);
  letter-spacing: -2px;
  line-height: 1.05;
}
.nd-services-slider-header .nd-s-sub {
  font-size: 15px; font-weight: 300;
  color: oklch(55% 0.05 210);
  max-width: 520px;
  margin: 22px auto 0;
  line-height: 1.65;
}

.nd-card-stack-wrap {
  width: 100%;
  overflow: visible;
  padding-bottom: 16px;
}

.nd-stack-stage {
  position: relative;
  height: 510px;
  perspective: 1300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform-style: preserve-3d;
}

.nd-stack-card {
  position: absolute;
  bottom: 0;
  width: 620px;
  height: 400px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.95s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.55s;
  border: 1px solid oklch(100% 0 0 / 0.10);
  transform-style: preserve-3d;
  user-select: none;
}

/* Beam on hover — active (central) card only */
.nd-stack-card.nd-stack-card-active::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: conic-gradient(
    from var(--nd-beam-a),
    transparent 0%, transparent 62%,
    oklch(85% 0.14 192 / 0.5) 76%,
    oklch(97% 0.03 200 / 1)   82%,
    oklch(85% 0.14 192 / 0.5) 88%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  animation: nd-beam-spin 2.2s linear infinite paused;
  pointer-events: none; z-index: 3;
  transition: opacity 0.3s;
}
.nd-stack-card.nd-stack-card-active:hover::after {
  opacity: 0.9;
  animation-play-state: running;
}

/* Subtle brightness lift on adjacent (prev/next) cards to signal they're clickable */
.nd-stack-card:not(.nd-stack-card-active):hover {
  filter: brightness(1.18);
}

/* "Voir plus" label — revealed on active card hover */
.nd-stack-card-see-more {
  display: flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 400;
  color: var(--nd-accent);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s, transform 0.25s;
}
.nd-stack-card.nd-stack-card-active:hover .nd-stack-card-see-more {
  opacity: 1;
  transform: translateY(0);
}

.nd-stack-card-img {
  position: absolute; inset: 0;
}
.nd-stack-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none;
}

.nd-stack-card-img-ph {
  width: 100%; height: 100%;
  background: oklch(14% 0.06 210);
  display: flex; align-items: center; justify-content: center;
}
.nd-stack-card-img-ph svg {
  width: 38%; height: auto;
  color: var(--nd-accent); opacity: 0.15;
}

.nd-stack-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(5% 0.03 210 / 0.88) 0%, transparent 55%);
}

.nd-stack-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 34px; z-index: 1;
}
.nd-stack-card-body h3 {
  font-size: 19px; font-weight: 500;
  color: oklch(95% 0.004 215);
  margin: 0 0 8px; font-family: 'DM Sans', sans-serif; line-height: 1.3;
}
.nd-stack-card-body p {
  font-size: 13.5px; color: oklch(68% 0.02 215);
  margin: 0; font-family: 'DM Sans', sans-serif; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.nd-stack-nav {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; margin-top: 28px; flex-wrap: wrap;
}
.nd-stack-dots { display: flex; gap: 8px; align-items: center; }
.nd-stack-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: oklch(100% 0 0 / 0.22);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.nd-stack-dot.nd-dot-active {
  background: oklch(88% 0.006 215);
  transform: scale(1.35);
}

/* ════════════════════════════════════
   PAGE TRANSITION
════════════════════════════════════ */

.nd-scroll-viewport {
  clip-path: inset(0 round var(--nd-bezel-r));
}
/* Blur is applied to inner layers only — viewport keeps its solid dark
   background sharp so the white bezel never bleeds through the soft edges
   of the blur. */
.nd-scroll-viewport > .nd-page,
.nd-scroll-viewport > .nd-dot-grid {
  transition: filter 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nd-scroll-viewport.nd-content-out > .nd-page,
.nd-scroll-viewport.nd-content-out > .nd-dot-grid {
  filter: blur(22px);
}

/* ════════════════════════════════════
   REVEAL ANIMATION
════════════════════════════════════ */

.nd-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.nd-reveal.in { opacity: 1; transform: none; }
