/*
Theme Name: Astra Child — Zer0nic
Theme URI: https://zer0nic.io
Description: Child theme voor Zer0nic — Empowering Resilience. High-end one-pager (Editorial Luxury × Soft Structuralism).
Author: ZOO / Ronnie Stevens
Template: astra
Version: 1.3.0
*/

/* ============================================================
   1. BASE — fonts & tokens
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Warme cream + espresso — editorial luxury palette */
  --nj-bg:        #F7F3EB;          /* warme cream */
  --nj-bg-2:      #EFE9DD;          /* iets dieper cream voor accents */
  --nj-surface:   #FFFFFF;          /* witte cards */
  --nj-surface-2: #FBF7F0;          /* off-white subtler card */

  --nj-ink:       #141310;          /* espresso — bijna zwart, met warmte */
  --nj-ink-2:     #2C2A25;          /* iets zachter */
  --nj-ink-dim:   #5A564E;          /* body mid-grey */
  --nj-ink-faint: #8A857B;          /* eyebrow, meta */

  --nj-hairline:        rgba(20, 19, 16, 0.08);
  --nj-hairline-strong: rgba(20, 19, 16, 0.14);

  /* Accenten: diep amber + diep teal — contrast > 4.5:1 op cream */
  --nj-amber:     #B4531C;          /* warm deep amber — energie/zon */
  --nj-amber-2:   #8A3E15;          /* nog dieper voor hover */
  --nj-teal:      #0F5E59;          /* deep teal — veerkracht */
  --nj-teal-2:    #094944;

  --nj-max: 1280px;
  --nj-ease:     cubic-bezier(0.32, 0.72, 0, 1);
  --nj-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Zachte diffuse schaduwen (Soft Structuralism) */
  --nj-shadow-sm: 0 2px 6px -2px rgba(20, 19, 16, 0.06), 0 8px 24px -8px rgba(20, 19, 16, 0.08);
  --nj-shadow-md: 0 4px 12px -4px rgba(20, 19, 16, 0.08), 0 30px 60px -30px rgba(20, 19, 16, 0.15);
  --nj-shadow-lg: 0 8px 16px -6px rgba(20, 19, 16, 0.08), 0 48px 100px -40px rgba(20, 19, 16, 0.22);
}

/* Astra overrides — cream backdrop */
.site,
body,
html {
  background: var(--nj-bg) !important;
  color: var(--nj-ink);
}
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  color: var(--nj-ink-2);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 {
  color: var(--nj-ink);
  font-family: 'Fraunces', 'Plus Jakarta Sans', serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-variation-settings: 'opsz' 120;
}

/* Hide Astra default header/footer when we use the full custom template */
.page-template-page-home .site-header,
.page-template-page-home .site-footer,
.page-template-page-home .ast-above-header,
.page-template-page-home .ast-below-header { display: none !important; }

.page-template-page-home #page { padding: 0 !important; }
.page-template-page-home .site-content { padding: 0 !important; }
.page-template-page-home .entry-content { padding: 0 !important; margin: 0 !important; }
.page-template-page-home .entry-header { display: none !important; }

/* ============================================================
   2. BACKGROUND — subtiele warme gloed + film grain
   ============================================================ */
.nj-page {
  position: relative;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 12% 8%, rgba(180, 83, 28, 0.09), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(15, 94, 89, 0.07), transparent 45%),
    radial-gradient(circle at 50% 95%, rgba(180, 83, 28, 0.06), transparent 50%),
    var(--nj-bg);
  overflow-x: hidden;
}
.nj-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   3. NAV — floating pill op cream
   ============================================================ */
.nj-nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nj-nav {
  pointer-events: auto;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-md);
}
.nj-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--nj-ink);
}
.nj-nav__brand .dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #E8A066, var(--nj-amber));
  box-shadow: 0 0 0 3px rgba(180, 83, 28, 0.1);
}
.nj-nav__links { display: flex; gap: 2px; }
.nj-nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--nj-ink-dim);
  transition: color 400ms var(--nj-ease), background 400ms var(--nj-ease);
}
.nj-nav__links a:hover {
  color: var(--nj-ink);
  background: rgba(20, 19, 16, 0.05);
}
.nj-nav__cta {
  margin-left: 4px;
  padding: 9px 8px 9px 16px;
  border-radius: 999px;
  background: var(--nj-ink);
  color: var(--nj-bg);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 500ms var(--nj-ease), background 500ms var(--nj-ease);
}
.nj-nav__cta .icon {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 500ms var(--nj-ease);
}
.nj-nav__cta:hover { transform: translateY(-1px); }
.nj-nav__cta:hover .icon { transform: translate(2px, -1px) rotate(-8deg); }
.nj-nav__cta:active { transform: scale(0.98); }

/* mobile hamburger */
.nj-nav__burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--nj-ink);
  position: relative;
  cursor: pointer;
}
.nj-nav__burger span {
  position: absolute;
  left: 10px;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 500ms var(--nj-ease), top 500ms var(--nj-ease), opacity 300ms var(--nj-ease);
}
.nj-nav__burger span:nth-child(1) { top: 15px; }
.nj-nav__burger span:nth-child(2) { top: 24px; }
body.nj-menu-open .nj-nav__burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nj-menu-open .nj-nav__burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* mobile menu overlay */
.nj-menu-overlay {
  position: fixed; inset: 0;
  z-index: 55;
  background: rgba(247, 243, 235, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--nj-ease);
}
body.nj-menu-open .nj-menu-overlay { opacity: 1; pointer-events: auto; }
.nj-menu-overlay a {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--nj-ink);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 700ms var(--nj-ease), opacity 700ms var(--nj-ease);
}
body.nj-menu-open .nj-menu-overlay a { transform: translateY(0); opacity: 1; }
body.nj-menu-open .nj-menu-overlay a:nth-child(1) { transition-delay: 120ms; }
body.nj-menu-open .nj-menu-overlay a:nth-child(2) { transition-delay: 180ms; }
body.nj-menu-open .nj-menu-overlay a:nth-child(3) { transition-delay: 240ms; }
body.nj-menu-open .nj-menu-overlay a:nth-child(4) { transition-delay: 300ms; }

/* ============================================================
   4. PRIMITIVES
   ============================================================ */
.nj-container {
  max-width: var(--nj-max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.nj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--nj-hairline-strong);
  background: rgba(255, 255, 255, 0.65);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nj-ink-dim);
}
.nj-eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--nj-amber);
  box-shadow: 0 0 0 3px rgba(180, 83, 28, 0.12);
}

/* Double-bezel — Doppelrand, light variant */
.nj-bezel {
  padding: 7px;
  border-radius: 32px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-md);
}
.nj-bezel-inner {
  border-radius: calc(32px - 7px);
  background: var(--nj-surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  position: relative;
}

/* Entry animation */
.nj-reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  transition: opacity 900ms var(--nj-ease-out), transform 900ms var(--nj-ease-out), filter 900ms var(--nj-ease-out);
}
.nj-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.nj-reveal[data-delay="1"].is-in { transition-delay: 80ms; }
.nj-reveal[data-delay="2"].is-in { transition-delay: 160ms; }
.nj-reveal[data-delay="3"].is-in { transition-delay: 240ms; }
.nj-reveal[data-delay="4"].is-in { transition-delay: 320ms; }
.nj-reveal[data-delay="5"].is-in { transition-delay: 400ms; }

/* CTA buttons */
.nj-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 10px 13px 22px;
  border-radius: 999px;
  background: var(--nj-ink);
  color: var(--nj-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 0;
  cursor: pointer;
  transition: transform 500ms var(--nj-ease), box-shadow 500ms var(--nj-ease);
  will-change: transform;
  box-shadow: 0 12px 30px -14px rgba(20, 19, 16, 0.5);
}
.nj-btn .icon {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 500ms var(--nj-ease);
}
.nj-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -18px rgba(20, 19, 16, 0.55);
}
.nj-btn:hover .icon { transform: translate(3px, -1px) scale(1.04); }
.nj-btn:active { transform: scale(0.98); }

.nj-btn--ghost {
  background: transparent;
  color: var(--nj-ink);
  border: 1px solid var(--nj-hairline-strong);
  padding: 12px 22px;
  box-shadow: none;
}
.nj-btn--ghost:hover {
  background: rgba(20, 19, 16, 0.04);
  box-shadow: none;
}

/* ============================================================
   5. HERO — Editorial Split
   ============================================================ */
.nj-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 96px 0 48px;
}
.nj-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.nj-hero__eyebrow { margin-bottom: 28px; }
.nj-hero__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 7vw, 98px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 144;
  color: var(--nj-ink);
}
.nj-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--nj-amber);
  font-variation-settings: 'opsz' 144;
}
.nj-hero__title .muted {
  color: var(--nj-ink-faint);
  font-style: italic;
  font-weight: 400;
}
.nj-hero__sub {
  margin-top: 32px;
  max-width: 520px;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--nj-ink-dim);
}
.nj-hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual */
.nj-hero__visual {
  position: relative;
  aspect-ratio: 4/5;
}
.nj-hero__card {
  padding: 6px;
  border-radius: 36px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-lg);
  height: 100%;
}
.nj-hero__card-inner {
  height: 100%;
  border-radius: calc(36px - 6px);
  overflow: hidden;
  position: relative;
  background: var(--nj-surface);
}
.nj-hero__card-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}
.nj-hero__card-inner::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,19,16,0.35));
  pointer-events: none;
}

/* Floating pills op hero */
.nj-hero__pill {
  position: absolute;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.nj-hero__pill .label {
  font-size: 10.5px;
  color: var(--nj-ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.nj-hero__pill .value {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--nj-ink);
}
.nj-hero__pill--tl { top: 28px; left: -28px; }
.nj-hero__pill--br { bottom: 36px; right: -24px; }

.nj-hero__pill .chip {
  width: 40px; height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(180,83,28,0.12), rgba(15,94,89,0.10));
  border: 1px solid var(--nj-hairline-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--nj-amber);
}
.nj-hero__pill .content { padding-right: 6px; }

.nj-hero__scrollhint { display: none; }
.nj-hero__scrollhint::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--nj-ink-faint);
  animation: nj-scroll 2.4s var(--nj-ease) infinite;
  transform-origin: left;
}
@keyframes nj-scroll {
  0%,100% { transform: scaleX(0.4); opacity: 0.3; }
  50% { transform: scaleX(1); opacity: 0.9; }
}

/* ============================================================
   6. MISSIE
   ============================================================ */
.nj-section { padding: 120px 0; position: relative; z-index: 2; }
.nj-section--lg { padding: 160px 0; }

.nj-mission__grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 100px;
  align-items: start;
}
.nj-mission__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
}
.nj-mission__body {
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.45;
  color: var(--nj-ink-2);
  letter-spacing: -0.015em;
  font-weight: 400;
}
.nj-mission__body strong {
  font-weight: 500;
  color: var(--nj-ink);
  background: linear-gradient(180deg, transparent 65%, rgba(180, 83, 28, 0.18) 65%);
  padding: 0 2px;
}
.nj-mission__body p + p { margin-top: 22px; color: var(--nj-ink-dim); font-size: 18px; }

/* ============================================================
   7. PRODUCT / ZER0NIC ENERGY INTRO
   ============================================================ */
.nj-product__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.nj-product__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(60px, 10vw, 132px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
}
.nj-product__kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nj-ink-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.nj-product__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--nj-ink-dim);
  max-width: 480px;
}

/* ============================================================
   8. BENTO — Asymmetrisch, lichte cards
   ============================================================ */
.nj-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: 20px;
}
.nj-card {
  position: relative;
  padding: 7px;
  border-radius: 28px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-sm);
  transition: transform 600ms var(--nj-ease), box-shadow 600ms var(--nj-ease), border-color 600ms var(--nj-ease);
}
.nj-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nj-shadow-md);
  border-color: var(--nj-hairline-strong);
}
.nj-card__inner {
  height: 100%;
  border-radius: calc(28px - 7px);
  background: var(--nj-surface);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.nj-card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(180,83,28,0.12), rgba(15,94,89,0.08));
  border: 1px solid var(--nj-hairline-strong);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--nj-amber);
  flex-shrink: 0;
}
.nj-card__num {
  position: absolute;
  top: 22px; right: 26px;
  font-family: 'Fraunces', serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--nj-ink-faint);
  font-weight: 500;
}
.nj-card__title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--nj-ink);
}
.nj-card__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--nj-ink-dim);
  margin-top: auto;
}

/* Bento spans — asymmetric */
.nj-card--a { grid-column: span 7; grid-row: span 2; }
.nj-card--b { grid-column: span 5; }
.nj-card--c { grid-column: span 5; }
.nj-card--d { grid-column: span 4; }
.nj-card--e { grid-column: span 8; }

/* Feature A — hero card met warme gloed */
.nj-card--a .nj-card__inner {
  background:
    radial-gradient(circle at 100% 0%, rgba(180,83,28,0.12), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(15,94,89,0.07), transparent 50%),
    var(--nj-surface);
}
.nj-card--a .nj-card__title {
  font-size: 38px;
  font-weight: 500;
  max-width: 14ch;
}
.nj-card--a .nj-card__body {
  font-size: 16px;
  max-width: 46ch;
  color: var(--nj-ink-2);
}
.nj-card--a .nj-card__logo {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  justify-content: center;
}
.nj-card--a .nj-card__logo-frame {
  width: 320px;
  max-width: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--nj-hairline);
  padding: 6px;
  background: var(--nj-bg-2);
  box-shadow: var(--nj-shadow-md);
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 700ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
.nj-card--a .nj-card__logo-frame:hover {
  transform: translateY(-2px);
  box-shadow: var(--nj-shadow-lg);
}
.nj-card--a .nj-card__logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(32px - 6px);
}
@media (max-width: 900px) {
  .nj-card--a .nj-card__logo { padding-top: 28px; }
}

/* Feature E — wide */
.nj-card--e .nj-card__inner {
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background:
    radial-gradient(circle at 100% 50%, rgba(15,94,89,0.08), transparent 45%),
    var(--nj-surface);
}
.nj-card--e .nj-card__text { flex: 1; }
.nj-card--e .nj-card__viz {
  width: 220px;
  height: 200px;
  position: relative;
  flex-shrink: 0;
}

/* ============================================================
   9. APPLICATIES — Editorial split
   ============================================================ */
.nj-apply {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.nj-apply__img {
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 5/4;
  border: 1px solid var(--nj-hairline);
  padding: 6px;
  background: var(--nj-bg-2);
  box-shadow: var(--nj-shadow-md);
}
.nj-apply__img-inner {
  height: 100%;
  border-radius: calc(32px - 6px);
  overflow: hidden;
  position: relative;
}
.nj-apply__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.nj-apply__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 20px 0 28px;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
}
.nj-apply__body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--nj-ink-dim);
  max-width: 540px;
}
.nj-apply__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nj-apply__li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--nj-hairline);
}
.nj-apply__li:last-child { border-bottom: 1px solid var(--nj-hairline); }
.nj-apply__li .tag {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  color: var(--nj-amber);
  margin-top: 2px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.nj-apply__li .txt {
  font-size: 16px;
  color: var(--nj-ink);
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* ============================================================
   10. CONTACT
   ============================================================ */
.nj-contact {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}
.nj-contact__wrap {
  padding: 8px;
  border-radius: 40px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-lg);
}
.nj-contact__inner {
  border-radius: calc(40px - 8px);
  background:
    radial-gradient(circle at 100% 0%, rgba(180,83,28,0.10), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(15,94,89,0.06), transparent 50%),
    var(--nj-surface);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.nj-contact__kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nj-ink-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.nj-contact__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
}
.nj-contact__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--nj-ink-dim);
  max-width: 440px;
}
.nj-contact__meta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nj-contact__meta a,
.nj-contact__meta span {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--nj-ink-2);
  transition: color 400ms var(--nj-ease);
}
.nj-contact__meta a:hover { color: var(--nj-amber); }
.nj-contact__meta .ico {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--nj-amber);
}

/* CF7 form styling */
.nj-form .wpcf7-form p { margin: 0 0 18px; }
.nj-form label,
.nj-form-row label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nj-ink-faint);
  margin-bottom: 10px;
  font-weight: 600;
}
.nj-form input[type="text"],
.nj-form input[type="email"],
.nj-form textarea {
  width: 100%;
  background: var(--nj-bg);
  border: 1px solid var(--nj-hairline-strong);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--nj-ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 400ms var(--nj-ease), background 400ms var(--nj-ease), box-shadow 400ms var(--nj-ease);
}
.nj-form textarea { min-height: 140px; resize: vertical; }
.nj-form input:focus,
.nj-form textarea:focus {
  outline: none;
  border-color: var(--nj-amber);
  background: var(--nj-surface);
  box-shadow: 0 0 0 4px rgba(180, 83, 28, 0.1);
}
.nj-form input::placeholder,
.nj-form textarea::placeholder { color: var(--nj-ink-faint); }
.nj-form .wpcf7-submit {
  background: var(--nj-ink);
  color: var(--nj-bg);
  border: 0;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: auto;
  transition: transform 500ms var(--nj-ease), box-shadow 500ms var(--nj-ease);
  box-shadow: 0 12px 30px -14px rgba(20, 19, 16, 0.5);
}
.nj-form .wpcf7-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px -18px rgba(20, 19, 16, 0.55);
}
.nj-form .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  border: 1px solid var(--nj-hairline-strong) !important;
  background: rgba(15, 94, 89, 0.06) !important;
  color: var(--nj-ink) !important;
  font-size: 14px;
}
.nj-form .wpcf7-not-valid-tip {
  color: #B83A2A !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.nj-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--nj-hairline);
  position: relative;
  z-index: 2;
  margin-top: 80px;
}
.nj-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.nj-footer__brand {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--nj-ink);
}
.nj-footer__tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nj-ink-faint);
  margin-top: 2px;
  font-weight: 600;
}
.nj-footer__meta {
  font-size: 13px;
  color: var(--nj-ink-faint);
}

/* ============================================================
   12. MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .nj-hero__grid,
  .nj-mission__grid,
  .nj-product__head,
  .nj-apply,
  .nj-contact__inner { gap: 56px; }
  .nj-contact__inner { padding: 56px; }
}

@media (max-width: 900px) {
  .nj-container { padding: 0 20px; }

  .nj-nav__links { display: none; }
  .nj-nav__cta { display: none; }
  .nj-nav__burger { display: inline-flex; align-items: center; justify-content: center; }

  .nj-hero { padding: 80px 0 40px; }
  .nj-hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .nj-hero__visual { aspect-ratio: 4/4.5; max-width: 520px; margin: 0 auto; }
  .nj-hero__pill--tl { left: -12px; top: 12px; }
  .nj-hero__pill--br { right: -12px; bottom: 20px; }
  .nj-hero__scrollhint { display: none; }

  .nj-section { padding: 80px 0; }
  .nj-section--lg { padding: 100px 0; }

  .nj-mission__grid { grid-template-columns: 1fr; gap: 28px; }
  .nj-mission__body { font-size: 20px; }

  .nj-product__head { grid-template-columns: 1fr; align-items: start; gap: 24px; }

  .nj-bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .nj-card--a, .nj-card--b, .nj-card--c, .nj-card--d, .nj-card--e {
    grid-column: 1 / -1; grid-row: auto;
  }
  .nj-card--a .nj-card__title { font-size: 28px; }
  .nj-card--e .nj-card__inner { flex-direction: column; gap: 24px; align-items: flex-start; }

  .nj-apply { grid-template-columns: 1fr; gap: 40px; }
  .nj-apply__img { aspect-ratio: 5/4; }

  .nj-contact__inner {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    border-radius: 28px;
    gap: 40px;
  }
  .nj-contact__wrap { border-radius: 32px; padding: 6px; }
}

@media (max-width: 480px) {
  .nj-hero__title { font-size: 44px; }
  .nj-mission__title { font-size: 32px; }
  .nj-apply__title { font-size: 36px; }
  .nj-contact__title { font-size: 36px; }
}

/* ============================================================
   13. NAV BRAND LOGO IMAGE
   ============================================================ */
.nj-nav__brand {
  padding: 4px 14px 4px 6px;
}
.nj-nav__brand img {
  height: 30px;
  width: auto;
  display: block;
  border-radius: 14px;
}

/* ============================================================
   14. SECTION CTA — "lees meer" arrows under sections
   ============================================================ */
.nj-section__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.nj-section__cta--center {
  justify-content: center;
  margin-top: 64px;
}
.nj-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(20, 19, 16, 0.06);
  color: var(--nj-ink);
  font-size: 13px;
  line-height: 1;
  transition: transform 400ms var(--nj-ease);
}
.nj-btn--ghost:hover .nj-arrow {
  transform: translateX(2px);
}

/* ============================================================
   15. FOOTER — logo + nav
   ============================================================ */
.nj-footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.nj-footer__logo {
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--nj-hairline);
  background: var(--nj-bg-2);
  padding: 4px;
  transition: transform 500ms var(--nj-ease);
}
.nj-footer__logo:hover { transform: translateY(-1px); }
.nj-footer__logo img {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.nj-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.nj-footer__nav a {
  font-size: 13.5px;
  color: var(--nj-ink-dim);
  letter-spacing: -0.005em;
  transition: color 400ms var(--nj-ease);
}
.nj-footer__nav a:hover { color: var(--nj-amber); }

/* ============================================================
   16. DETAIL PAGES — hero, content typography, CTA
   ============================================================ */

/* Hide Astra chrome for detail template too */
.page-template-page-content .site-header,
.page-template-page-content .site-footer,
.page-template-page-content .ast-above-header,
.page-template-page-content .ast-below-header { display: none !important; }
.page-template-page-content #page,
.page-template-page-content .site-content,
.page-template-page-content .entry-content { padding: 0 !important; margin: 0 !important; }
.page-template-page-content .entry-header { display: none !important; }

.nj-detail-hero {
  padding: 160px 0 60px;
  position: relative;
  z-index: 2;
}
.nj-detail-hero__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.nj-detail-hero__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
  margin: 28px 0 0;
}
.nj-detail-hero__lead {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--nj-ink-dim);
}

.nj-detail-section { padding-top: 40px; padding-bottom: 80px; }

/* Long-form content typography — applied inside .nj-content (Gutenberg output) */
.nj-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--nj-ink-2);
}
.nj-content > * + * { margin-top: 1.1em; }
.nj-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--nj-ink);
  margin-top: 2.2em;
  font-variation-settings: 'opsz' 120;
}
.nj-content h2:first-child { margin-top: 0; }
.nj-content h3 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--nj-ink);
  margin-top: 1.8em;
  font-variation-settings: 'opsz' 120;
}
.nj-content h4 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--nj-ink);
  margin-top: 1.6em;
}
.nj-content p { color: var(--nj-ink-2); }
.nj-content strong {
  font-weight: 600;
  color: var(--nj-ink);
}
.nj-content em { font-style: italic; }
.nj-content a {
  color: var(--nj-amber);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 300ms var(--nj-ease);
}
.nj-content a:hover { color: var(--nj-amber-2); }
.nj-content ul,
.nj-content ol {
  margin-left: 0;
  padding-left: 1.4em;
  color: var(--nj-ink-2);
}
.nj-content ul { list-style: none; padding-left: 0; }
.nj-content ul li {
  position: relative;
  padding-left: 1.6em;
  margin-top: 0.5em;
}
.nj-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 1px;
  background: var(--nj-amber);
}
.nj-content ol li { margin-top: 0.5em; padding-left: 0.4em; }
.nj-content blockquote {
  margin: 2em 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--nj-amber);
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 2.1vw, 28px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--nj-ink);
  letter-spacing: -0.01em;
}
.nj-content blockquote p { color: inherit; }
.nj-content hr {
  border: 0;
  border-top: 1px solid var(--nj-hairline-strong);
  margin: 3em 0;
}
.nj-content code {
  font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--nj-bg-2);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  border: 1px solid var(--nj-hairline);
}
.nj-content pre {
  background: var(--nj-ink);
  color: var(--nj-bg);
  padding: 28px 32px;
  border-radius: 20px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0;
  box-shadow: var(--nj-shadow-md);
  margin: 2em 0;
  position: relative;
}
.nj-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.nj-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 15.5px;
  background: var(--nj-surface);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-sm);
}
.nj-content table th,
.nj-content table td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--nj-hairline);
}
.nj-content table tr:last-child td { border-bottom: 0; }
.nj-content table th {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nj-ink-faint);
  background: var(--nj-bg-2);
}
.nj-content table td:first-child {
  font-weight: 600;
  color: var(--nj-ink);
  width: 30%;
}

/* Highlight callout box (uses Gutenberg "highlight" class or .nj-callout) */
.nj-content .nj-callout,
.nj-content .has-pale-cyan-blue-background-color {
  margin: 2em 0;
  padding: 28px 32px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(180,83,28,0.10), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(15,94,89,0.06), transparent 50%),
    var(--nj-surface);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-sm);
}
.nj-content .nj-callout p { margin-top: 0; }

/* "Copy to clipboard" wrapper around pre — for /ai page */
.nj-content .nj-copyblock {
  position: relative;
  margin: 2em 0;
}
.nj-content .nj-copyblock pre { margin: 0; }
.nj-content .nj-copyblock__btn {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--nj-bg);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  transition: background 300ms var(--nj-ease), transform 300ms var(--nj-ease);
}
.nj-content .nj-copyblock__btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}
.nj-content .nj-copyblock__btn[data-state="copied"] {
  background: var(--nj-amber);
  border-color: var(--nj-amber);
}

/* Detail next-step CTA */
.nj-detail-cta { padding: 60px 0 120px; }
.nj-detail-cta__wrap {
  padding: 8px;
  border-radius: 40px;
  background: var(--nj-bg-2);
  border: 1px solid var(--nj-hairline);
  box-shadow: var(--nj-shadow-lg);
}
.nj-detail-cta__wrap > div:first-child,
.nj-detail-cta__actions {
  padding: 56px 64px;
}
.nj-detail-cta__wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.nj-detail-cta__wrap > div:first-child {
  border-radius: calc(40px - 8px) 0 0 calc(40px - 8px);
  background:
    radial-gradient(circle at 0% 100%, rgba(180,83,28,0.08), transparent 50%),
    var(--nj-surface);
}
.nj-detail-cta__title {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--nj-ink);
  font-variation-settings: 'opsz' 144;
}
.nj-detail-cta__body {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--nj-ink-dim);
  max-width: 440px;
}
.nj-detail-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 900px) {
  .nj-detail-hero { padding: 130px 0 30px; }
  .nj-detail-cta__wrap { grid-template-columns: 1fr; }
  .nj-detail-cta__wrap > div:first-child,
  .nj-detail-cta__actions { padding: 40px 28px; }
  .nj-detail-cta__wrap > div:first-child {
    border-radius: calc(40px - 8px) calc(40px - 8px) 0 0;
  }
  .nj-content table th,
  .nj-content table td { padding: 12px 14px; }
  .nj-content table td:first-child { width: auto; }
  .nj-footer__nav { gap: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nj-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
