/* ==========================================================================
   Noy Peretz — site
   Logical properties throughout, so one sheet serves RTL and LTR.
   ========================================================================== */

/* ---------- type scale ---------- */

.np-h1 {
  font-family: var(--np-display);
  font-size: clamp(38px, 6.2vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0;
}

.np-h2 {
  font-family: var(--np-display);
  font-size: clamp(29px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--np-text);
}

.np-h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.24;
  margin: 0;
  color: var(--np-ink);
}

.np-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-primary);
  margin: 0 0 18px;
}
/* A rule that grows out of the kicker, so the label sits on a line rather
   than floating above the heading on its own. */
.np-kicker::after {
  content: "";
  width: clamp(28px, 5vw, 64px);
  height: 1px;
  background: currentColor;
  opacity: .45;
}

.np-lead {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
  color: #48607c;
  margin: 18px 0 0;
  max-width: 62ch;
}

/* ---------- section shell ---------- */

/* One rhythm value, so the spacing between any two bands is a decision made
   once rather than an accident of two paddings meeting. */
:root { --np-rhythm: clamp(64px, 7.5vw, 112px); }

.np-sec { position: relative; padding-block: var(--np-rhythm); }
.np-sec-paper { background: var(--np-paper); }

/* Two sections that paint no background of their own read as one continuous
   field, so their facing paddings add up: 112 above and 112 below becomes a
   224px void with nothing to explain it. Where a colour actually changes the
   gap is legible and stays. */
.np-sec:not([class*="np-sec-"]) + .np-sec:not([class*="np-sec-"]) { padding-block-start: 0; }

/* A section that continues the one above it rather than starting a new idea. */
.np-sec-tight { padding-block-start: 0; }

/* The last band before the footer does not need to pay for the footer's own
   top margin as well. */
.np-sec:last-of-type { padding-block-end: var(--np-rhythm); }
.np-sec-mist { background: var(--np-mist); }
.np-sec-ink { background: var(--np-night); color: #fff; }
.np-sec-ink, .np-hero, .np-band { position: relative; isolation: isolate; }

/* Grain over every dark field. Flat colour at this scale reads as a print
   proof; a little noise reads as a photograph's background. */
.np-sec-ink::before, .np-hero::after, .np-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--np-grain);
  background-size: 200px 200px;
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.np-sec-ink > *, .np-hero > *, .np-band > * { position: relative; z-index: 1; }

.np-sh { max-width: 760px; margin-block-end: clamp(36px, 4vw, 56px); }
.np-sh-center { margin-inline: auto; text-align: center; }
.np-sh-center .np-lead { margin-inline: auto; }
.np-sec-ink .np-h2 { color: #fff; }
.np-band .np-h2, .np-hero .np-h1 { color: #fff; }
.np-sec-ink .np-lead { color: rgba(255, 255, 255, 0.76); }
.np-sec-ink .np-kicker { color: #7fa4ee; }

/* ---------- buttons ---------- */

.np-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--np-primary);
  color: #fff;
  font-family: var(--np-font);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 6px 18px rgba(40, 78, 174, .22);
}

.np-btn:hover {
  background: var(--np-royal);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(40, 78, 174, .28);
}

.np-btn .np-ic { transform: scaleX(1); }
[dir="rtl"] .np-btn .np-ic { transform: scaleX(-1); }

.np-btn-sm { padding: 10px 20px; font-size: 15px; }
.np-btn-lg { padding: 16px 34px; font-size: 17px; }
.np-btn-block { display: flex; justify-content: center; width: 100%; }

.np-btn-ghost {
  background: transparent;
  color: var(--np-ink);
  border: 1px solid #cfdcf0;
  box-shadow: none;
}
.np-btn-ghost:hover { background: #fff; border-color: var(--np-primary); color: var(--np-primary); box-shadow: var(--np-shadow); }

.np-btn-light { background: #fff; color: var(--np-primary); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.np-btn-light:hover { background: #eef3fc; color: var(--np-primary); }

/* text link with arrow */
.np-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--np-primary);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
}
.np-link:hover { color: var(--np-royal); }
.np-link .np-ic { transition: transform .18s ease; }
[dir="rtl"] .np-link .np-ic { transform: scaleX(-1); }
.np-link:hover .np-ic { transform: translateX(3px); }
[dir="rtl"] .np-link:hover .np-ic { transform: scaleX(-1) translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */

.np-head {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: rgba(247, 245, 241, .82);
  backdrop-filter: saturate(1.6) blur(14px);
  border-block-end: 1px solid rgba(16, 42, 67, .07);
  transition: box-shadow .25s ease, background .25s ease;
}

.np-head-in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  transition: min-height .25s ease;
}

.np-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}

.np-mark { color: var(--np-primary); display: grid; place-items: center; }
.np-mark-svg { display: block; }

.np-brand-name { display: grid; gap: 2px; }
.np-brand-1 { font-size: 17px; font-weight: 800; color: var(--np-ink); line-height: 1.1; }
.np-brand-2 { font-size: 12.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: #7d93ad; line-height: 1.1; }

.np-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-inline-start: auto;
}

.np-nav-a {
  position: relative;
  color: #35506e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-block: 6px;
}
.np-nav-a:hover { color: var(--np-primary); }
.np-nav-a.is-here { color: var(--np-primary); }
.np-nav-a.is-here::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--np-primary);
}

.np-head-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.np-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 34px;
  padding-inline: 10px;
  border: 1px solid #d7e2f3;
  border-radius: 999px;
  color: var(--np-ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.np-lang:hover { border-color: var(--np-primary); color: var(--np-primary); }

/* The flag itself. flex-shrink guards it against the pill's padding when the
   header gets tight; the hairline keeps the white stripes off a white bar. */
.np-lang .np-flag {
  flex: 0 0 auto;
  display: block;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(15 23 42 / .12);
}
.np-lang-label { line-height: 1; }

.np-burger { display: none; width: 42px; height: 38px; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.np-burger > span { display: block; height: 2px; border-radius: 2px; background: var(--np-ink); margin-block: 4px; transition: transform .2s ease, opacity .2s ease; }
.np-burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.np-burger[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.np-burger[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.np-mobile {
  position: fixed;
  inset: 78px 0 0;
  z-index: 55;
  background: #fff;
  padding: 28px 24px 40px;
  overflow-y: auto;
}
.np-mobile-nav { display: grid; gap: 4px; }
.np-mobile-nav > a {
  display: block;
  padding: 15px 4px;
  border-block-end: 1px solid #eef2f8;
  color: var(--np-ink);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
}
.np-mobile-foot { display: grid; gap: 16px; margin-block-start: 30px; }
.np-mobile-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--np-primary); text-decoration: none; font-size: 17px; font-weight: 500; }

/* ==========================================================================
   Hero
   ========================================================================== */

.np-hero {
  position: relative;
  background: var(--np-text);
  color: #fff;
  overflow: hidden;
}

/* Three layers behind the hero: a wash that gives the navy depth, a hairline
   grid so the field is not empty, and an oversized monogram that reads as
   texture rather than as a logo. */
.np-hero::before {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -18%;
  width: 78vw;
  height: 78vw;
  background:
    radial-gradient(circle at 30% 30%, rgba(54, 95, 196, .42), transparent 58%),
    radial-gradient(circle at 70% 70%, rgba(40, 78, 174, .28), transparent 62%);
  pointer-events: none;
}

.np-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.np-ghost {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: -4vw;
  translate: 0 -50%;
  font-family: var(--np-display);
  font-weight: 700;
  font-size: min(46vw, 620px);
  line-height: .8;
  color: rgba(255, 255, 255, .028);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.np-hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 84px);
  align-items: end;
  padding-block: clamp(64px, 8vw, 116px) 0;
}

.np-hero-copy { max-width: 640px; }
.np-hero .np-kicker { color: #8fb0f2; }
.np-hero .np-h1 { color: #fff; }
.np-hero-lead {
  font-size: clamp(16px, 1.4vw, 19.5px);
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
  margin: 22px 0 0;
  max-width: 56ch;
}

.np-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 34px; }

.np-hero-trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block-start: 38px;
  padding-block-start: 24px;
  border-block-start: 1px solid rgba(255, 255, 255, .14);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .62);
}
.np-hero-trust .np-ic { color: #8fb0f2; flex: 0 0 auto; margin-block-start: 2px; }

/* The portrait runs to the bottom edge of the section instead of floating in
   a rounded box, so the photograph is part of the page rather than placed on
   it. The blue wash ties it to the field it sits in. */
.np-hero-shot {
  position: relative;
  align-self: end;
  margin-block-end: -1px;
}
.np-hero-shot > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 4px 4px 0 0;
  filter: contrast(1.04) saturate(.92);
}
.np-hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 27, 46, .55), rgba(40, 78, 174, .14) 45%, transparent 70%);
  border-radius: 4px 4px 0 0;
  pointer-events: none;
}

/* ==========================================================================
   Area cards
   ========================================================================== */

/* Six columns so five cards can fill two full rows: three across the top at
   two columns each, two across the bottom at three each. A plain three-column
   grid leaves the fifth card alone beside an empty cell, which reads as a
   mistake rather than a composition. */
.np-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: rgba(16, 42, 67, .10);
  border-block: 1px solid rgba(16, 42, 67, .10);
}
.np-cards > * { grid-column: span 2; }
.np-cards > :nth-child(4):nth-last-child(2),
.np-cards > :nth-child(5):nth-last-child(1) { grid-column: span 3; }

/* Four-card grids (the about page) split evenly instead. */
.np-cards.np-cards-4 > * { grid-column: span 3; }

@media (max-width: 980px) {
  .np-cards > *,
  .np-cards > :nth-child(4):nth-last-child(2),
  .np-cards > :nth-child(5):nth-last-child(1),
  .np-cards.np-cards-4 > * { grid-column: span 3; }
}
@media (max-width: 640px) {
  .np-cards > *,
  .np-cards > :nth-child(4):nth-last-child(2),
  .np-cards > :nth-child(5):nth-last-child(1),
  .np-cards.np-cards-4 > * { grid-column: span 6; }
}

/* The cards share one field and are separated by the grid's own hairline gap
   rather than each being an island with its own border, radius and shadow.
   A wall of identical floating white boxes is the look that reads as
   generated; a divided field reads as a page. */
.np-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 2.6vw, 40px) clamp(22px, 2vw, 32px);
  background: var(--np-white);
  border: 0;
  border-radius: 0;
  text-decoration: none;
  overflow: hidden;
  transition: background .22s ease;
}
/* A rule that draws itself across the top on hover, so the affordance is a
   movement rather than a shadow. */
.np-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 0;
  height: 3px;
  background: var(--np-primary);
  transition: width .34s cubic-bezier(.2, .7, .3, 1);
}
.np-card:hover { background: var(--np-mist); }
.np-card:hover::before { width: 100%; }

.np-card-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--np-mist);
  color: var(--np-primary);
}
.np-card-b { font-size: 15.5px; line-height: 1.65; color: #55697f; margin: 0; }
.np-card-more { margin-block-start: auto; padding-block-start: 12px; }

/* value tiles */
.np-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }
.np-tile { display: grid; gap: 11px; }
.np-tile-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .1);
  color: #8fb0f2;
  font-size: 15px;
  font-weight: 800;
}
.np-tile-b { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .74); margin: 0; }
.np-sec-ink .np-h3 { color: #fff; }

/* ==========================================================================
   Split (about preview, business counsel)
   ========================================================================== */

.np-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.np-split-flip { grid-template-columns: 1.05fr .95fr; }
/* The source photography is tall portrait (2:3). Left at its natural ratio it
   stretches the section to twice the height of its own copy, so it is cropped
   to a fixed ratio rather than allowed to set the page's rhythm. */
.np-split-img > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 20px;
  box-shadow: 0 22px 54px rgba(16, 42, 67, .16);
}
.np-split-body .np-lead { margin-block-start: 20px; }
.np-split-cta { margin-block-start: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   Simulators
   ========================================================================== */

/* Five simulators, laid out like the five practice areas: three across the
   top and two across the bottom. auto-fit gave four plus a stranded fifth
   beside a hole the width of a card. */
.np-sims {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.np-sims > * { grid-column: span 2; }
.np-sims > :nth-child(4):nth-last-child(2),
.np-sims > :nth-child(5):nth-last-child(1) { grid-column: span 3; }

@media (max-width: 1080px) {
  .np-sims > *,
  .np-sims > :nth-child(4):nth-last-child(2),
  .np-sims > :nth-child(5):nth-last-child(1) { grid-column: span 3; }
}
@media (max-width: 660px) {
  .np-sims > *,
  .np-sims > :nth-child(4):nth-last-child(2),
  .np-sims > :nth-child(5):nth-last-child(1) { grid-column: span 6; }
}

.np-sim {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 28px 26px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--np-radius);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.np-sim:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); transform: translateY(-3px); }
.np-sim-n { font-size: 12px; font-weight: 500; letter-spacing: .12em; color: #8fb0f2; }
.np-sim-t { font-size: 18.5px; font-weight: 800; line-height: 1.3; color: #fff; margin: 0; }
.np-sim-b { font-size: 14.5px; line-height: 1.62; color: rgba(255, 255, 255, .66); margin: 0; }
.np-sim-go { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 14.5px; font-weight: 500; margin-block-start: 4px; }
[dir="rtl"] .np-sim-go .np-ic { transform: scaleX(-1); }

/* ==========================================================================
   Area page
   ========================================================================== */

/* Inner pages open on the same dark field as the home page rather than on a
   white slab with a heading on it. The band is short, so the content still
   starts high, but the page no longer begins with nothing. */
.np-page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--np-night);
  color: #fff;
  padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 88px);
}
.np-page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 120% at 85% 0%, rgba(54, 95, 196, .40), transparent 60%),
    var(--np-grain);
  background-size: auto, 200px 200px;
  opacity: .9;
  pointer-events: none;
  z-index: -1;
}
.np-page-head > .np-wrap { position: relative; z-index: 1; }
.np-page-head .np-h1 { color: #fff; }
.np-page-head .np-lead { color: rgba(255, 255, 255, .78); }
.np-page-head .np-kicker { color: #8fb0f2; }

/* The head carries its own bleed image on the area pages. It sits opposite
   the text: in Hebrew the copy is right-aligned, so the photograph belongs on
   the left, or the heading lands on her face. */
.np-head-shot {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(46%, 560px);
  z-index: -1;
}
.np-head-shot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: .28;
  filter: grayscale(1) contrast(1.08);
}
.np-head-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--np-night), rgba(10, 27, 46, .55) 60%, transparent);
}
[dir="ltr"] .np-head-shot::after {
  background: linear-gradient(to right, var(--np-night), rgba(10, 27, 46, .55) 60%, transparent);
}
@media (max-width: 900px) { .np-head-shot { display: none; } }
.np-crumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); margin: 0 0 22px; }
.np-crumb > a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.np-crumb > a:hover { color: #fff; }

.np-note {
  display: grid;
  gap: 12px;
  max-width: 70ch;
  padding: 0 0 0 0;
  padding-inline-start: clamp(20px, 3vw, 34px);
  background: none;
  border-inline-start: 2px solid var(--np-primary);
  border-radius: 0;
}
.np-note-h { font-family: var(--np-display); font-size: clamp(19px, 2vw, 24px); font-weight: 700; color: var(--np-text); margin: 0; }
.np-note-b { font-size: 16px; line-height: 1.72; color: #48607c; margin: 0; }

.np-items { display: grid; gap: 0; border-block-start: 1px solid rgba(16, 42, 67, .14); }
.np-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: clamp(18px, 2.5vw, 34px);
  align-items: start;
  padding: clamp(26px, 3vw, 40px) 0;
  background: none;
  border: 0;
  border-block-end: 1px solid rgba(16, 42, 67, .14);
  border-radius: 0;
  box-shadow: none;
  transition: padding-inline-start .25s ease;
}
.np-item:hover { padding-inline-start: 10px; }
.np-item-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--np-mist); color: var(--np-primary); }
.np-item-b { font-size: 15.5px; line-height: 1.7; color: #55697f; margin: 8px 0 0; }

/* ---------- FAQ ---------- */

.np-faq { display: grid; gap: 0; max-width: 900px; border-block-start: 1px solid rgba(16, 42, 67, .14); }
.np-q {
  background: none;
  border: 0;
  border-block-end: 1px solid rgba(16, 42, 67, .14);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
.np-q-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 26px 4px;
  border: 0;
  background: transparent;
  color: var(--np-ink);
  font-family: var(--np-font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  text-align: start;
  cursor: pointer;
}
.np-q-sign { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.np-q-sign::before,
.np-q-sign::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--np-primary);
  transition: transform .22s ease;
}
.np-q-sign::after { transform: rotate(90deg); }
.np-q-btn[aria-expanded="true"] .np-q-sign::after { transform: rotate(0deg); }
.np-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.np-q-btn[aria-expanded="true"] + .np-a { grid-template-rows: 1fr; }
.np-a > div { overflow: hidden; }
.np-a-b { padding: 0 4px 26px; margin: 0; font-size: 15.8px; line-height: 1.75; color: #55697f; }

/* ==========================================================================
   Form
   ========================================================================== */

.np-form { display: grid; gap: 18px; }
.np-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.np-f { display: grid; gap: 7px; }
.np-f > span { font-size: 14px; font-weight: 500; color: var(--np-ink); }
.np-f > input,
.np-f > select,
.np-f > textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d9e3f2;
  border-radius: 12px;
  background: #fff;
  color: var(--np-text);
  font-family: var(--np-font);
  font-size: 16px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.np-f > input:focus,
.np-f > select:focus,
.np-f > textarea:focus {
  outline: none;
  border-color: var(--np-primary);
  box-shadow: 0 0 0 4px rgba(40, 78, 174, .12);
}
.np-f > textarea { resize: vertical; min-height: 108px; }
.np-f.is-bad > input { border-color: #d64545; }
.np-f-err { font-size: 13px; color: #d64545; }

.np-consent { font-size: 13.5px; line-height: 1.6; color: #7d93ad; margin: 0; }
.np-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.np-form-msg { margin: 0; font-size: 15px; font-weight: 500; min-height: 1.2em; }
.np-form-msg.is-bad { color: #d64545; }

.np-form-panel {
  padding: clamp(28px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid #e6ecf6;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(16, 42, 67, .05), 0 24px 60px rgba(16, 42, 67, .10);
}

.np-contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.np-contact-list { display: grid; gap: 20px; margin-block-start: 32px; }
.np-contact-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; text-decoration: none; }
.np-contact-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--np-mist); color: var(--np-primary); }
.np-contact-k { display: block; font-size: 13px; color: #8095ad; }
.np-contact-v { display: block; font-size: 16.5px; font-weight: 500; color: var(--np-ink); }

/* ==========================================================================
   CTA band
   ========================================================================== */

.np-band { position: relative; background: var(--np-ink); color: #fff; overflow: hidden; }
.np-band-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 4vw, 60px); align-items: center; padding-block: clamp(52px, 6vw, 84px); }
.np-band .np-h2 { color: #fff; }
.np-band-lead { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 16px 0 0; max-width: 52ch; }
.np-band-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 30px; }
.np-band-img > img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

/* ==========================================================================
   Articles
   ========================================================================== */

/* Three across. auto-fit gave four at desktop width, so six articles landed
   as four and a stranded pair. Three is also the width at which a Hebrew
   excerpt still breaks into readable lines. */
.np-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .np-arts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .np-arts { grid-template-columns: 1fr; } }
.np-art {
  display: grid;
  gap: 11px;
  align-content: start;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid #e6ecf6;
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.np-art:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(16, 42, 67, .06), 0 20px 48px rgba(16, 42, 67, .10); }
.np-art-tag { font-size: 12.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--np-primary); }
.np-art-b { font-size: 15px; line-height: 1.65; color: #55697f; margin: 0; }
.np-empty { padding: 46px; text-align: center; color: #7d93ad; background: #fff; border: 1px dashed #d9e3f2; border-radius: var(--np-radius); }

/* ==========================================================================
   Legal / prose
   ========================================================================== */

.np-prose { max-width: 68ch; }
.np-prose h2 { font-size: 24px; font-weight: 800; color: var(--np-ink); margin: 38px 0 12px; }
.np-prose p { font-size: 16.5px; line-height: 1.8; color: #48607c; margin: 0 0 16px; }
.np-prose ul { margin: 0 0 18px; padding-inline-start: 22px; }
.np-prose li { font-size: 16.5px; line-height: 1.8; color: #48607c; margin-block-end: 8px; }

/* ==========================================================================
   Reveal on scroll — base state is visible; only what starts below the fold
   is dimmed, and a timer restores everything if the observer never fires.
   ========================================================================== */

.np-rv { opacity: 1; transform: none; }
.np-rv.np-pre { opacity: 0; transform: translateY(16px); }
.np-rv.np-in {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1);
  /* Each revealed element carries its own delay, set per grid position. */
  transition-delay: var(--np-d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .np-rv, .np-rv.np-pre, .np-rv.np-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .np-btn, .np-card, .np-art, .np-sim { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .np-nav { display: none; }
  .np-burger { display: block; }
  .np-head-side { margin-inline-start: auto; }
}

@media (max-width: 900px) {
  .np-hero-in { grid-template-columns: 1fr; }
  .np-hero-shot { max-width: 420px; }
  .np-split,
  .np-split-flip,
  .np-band-in,
  .np-contact-grid { grid-template-columns: 1fr; }
  .np-split-img { max-width: 460px; }
  .np-band-img { display: none; }
}

@media (max-width: 620px) {
  /* Brand + language + CTA + burger do not fit one row on a phone; the CTA
     already sits inside the menu panel, so it is the one that goes. */
  .np-head-side > .np-btn { display: none; }
  .np-f-row { grid-template-columns: 1fr; }
  .np-item { grid-template-columns: 1fr; }
  .np-item-ic { margin-block-end: 2px; }
  .np-btn-lg { width: 100%; justify-content: center; }
  .np-hero-cta > .np-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Simulator
   ========================================================================== */

.np-simbox {
  padding: clamp(28px, 3.6vw, 46px);
  background: #fff;
  border: 1px solid #e6ecf6;
  border-radius: 22px;
  box-shadow: 0 3px 10px rgba(16, 42, 67, .05), 0 26px 64px rgba(16, 42, 67, .10);
}

.np-simbox-meta { font-size: 14.5px; color: #7d93ad; margin: 0 0 22px; }

.np-sim-bar { height: 4px; border-radius: 4px; background: #e9eff8; overflow: hidden; margin-block-end: 30px; }
.np-sim-bar-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--np-primary); transition: width .35s cubic-bezier(.2,.7,.3,1); }

.np-sim-count { font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--np-primary); margin: 0 0 12px; }
.np-sim-q { font-size: clamp(22px, 2.4vw, 30px); }
.np-sim-help { font-size: 15px; color: #7d93ad; margin: 10px 0 0; }

.np-sim-opts { display: grid; gap: 12px; margin-block-start: 26px; }

.np-sim-opt {
  display: block;
  width: 100%;
  padding: 17px 22px;
  border: 1px solid #d9e3f2;
  border-radius: 14px;
  background: #fff;
  color: var(--np-ink);
  font-family: var(--np-font);
  font-size: 16.5px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.np-sim-opt:hover {
  border-color: var(--np-primary);
  background: var(--np-mist);
  transform: translateY(-1px);
}

.np-sim-back {
  margin-block-start: 22px;
  border: 0;
  background: transparent;
  color: #7d93ad;
  font-family: var(--np-font);
  font-size: 15px;
  cursor: pointer;
  padding: 0;
}
.np-sim-back:hover { color: var(--np-primary); }

.np-sim-score { position: relative; width: 130px; height: 130px; }
.np-ring { width: 130px; height: 130px; display: block; }
.np-ring-arc { transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.3,1); }
.np-ring-v {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 800;
  color: var(--np-ink);
}

.np-sim-find { margin-block-start: 28px; padding: 26px 28px; background: var(--np-mist); border-radius: var(--np-radius); }
.np-sim-find-h { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--np-primary); margin: 0 0 14px; }
.np-sim-findings { margin: 0; padding-inline-start: 20px; display: grid; gap: 12px; }
.np-sim-findings > li { font-size: 15.8px; line-height: 1.7; color: #35506e; }
.np-sim-more { margin: 16px 0 0; font-size: 15px; font-weight: 500; color: var(--np-ink); }

.np-sim-legal { margin: 24px 0 0; font-size: 13.5px; line-height: 1.65; color: #8095ad; }

/* ---------- onward links ---------- */

.np-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.np-next-a {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e6ecf6;
  border-radius: var(--np-radius);
  box-shadow: var(--np-shadow);
  color: var(--np-ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  transition: transform .18s ease, border-color .18s ease;
}
.np-next-a:hover { transform: translateY(-2px); border-color: #cddcf5; }
.np-next-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--np-mist); color: var(--np-primary); }
.np-next-t { line-height: 1.4; }
[dir="rtl"] .np-next-a > .np-ic { transform: scaleX(-1); }

/* ==========================================================================
   Motion
   ========================================================================== */

/* The header condenses once the page has moved. */
.np-head.is-stuck {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(16, 42, 67, .06), 0 10px 30px rgba(16, 42, 67, .07);
}
.np-head.is-stuck .np-head-in { min-height: 64px; }

.np-hero-shot img { will-change: transform; }

/* Cards lift their icon as the card itself lifts. */
.np-card-ic, .np-next-ic, .np-item-ic { transition: transform .22s ease, background .22s ease; }
.np-card:hover .np-card-ic,
.np-next-a:hover .np-next-ic { transform: scale(1.06); background: #dbe6f8; }

/* The simulator's answer buttons settle rather than snap. */
.np-sim-opt:active { transform: translateY(0); }

/* The progress bar and the score ring already animate their own properties. */

@media (prefers-reduced-motion: reduce) {
  .np-head-in,
  .np-card-ic,
  .np-next-ic,
  .np-item-ic { transition: none; }
  .np-hero-shot img { transform: none !important; }
}

/* ==========================================================================
   Layers
   ========================================================================== */

/* A number set large and pale behind a section's heading. It gives the eye an
   anchor and a sense of sequence, which an evenly spaced stack of sections
   otherwise lacks. */
.np-sec-n {
  position: absolute;
  inset-block-start: clamp(24px, 3vw, 48px);
  inset-inline-end: clamp(12px, 4vw, 80px);
  font-family: var(--np-display);
  font-weight: 700;
  font-size: clamp(90px, 14vw, 210px);
  line-height: .78;
  color: rgba(16, 42, 67, .045);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}
.np-sec-ink .np-sec-n { color: rgba(255, 255, 255, .045); }
.np-sec > .np-wrap { position: relative; z-index: 1; }

/* A photograph bled behind a dark section, held far enough back that type
   stays legible on top of it. */
.np-bleed {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.np-bleed > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  opacity: .16;
  filter: grayscale(1) contrast(1.1);
}
.np-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--np-night) 12%, rgba(10, 27, 46, .82) 55%, rgba(10, 27, 46, .55));
}
[dir="ltr"] .np-bleed::after {
  background: linear-gradient(to right, var(--np-night) 12%, rgba(10, 27, 46, .82) 55%, rgba(10, 27, 46, .55));
}

/* A hairline that runs the width of the section, used to separate bands
   without another border-radius box. */
.np-rule {
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(16, 42, 67, .16) 20%, rgba(16, 42, 67, .16) 80%, transparent);
  margin-block: clamp(40px, 5vw, 72px);
}
.np-sec-ink .np-rule {
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, .16) 20%, rgba(255, 255, 255, .16) 80%, transparent);
}

/* Editorial pull quote, for the one line on a page worth setting large. */
.np-pull {
  font-family: var(--np-display);
  font-weight: 300;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--np-ink);
  max-width: 20ch;
  margin: 0;
}
.np-sec-ink .np-pull,
.np-foot .np-pull,
.np-band .np-pull { color: #fff; }

/* ==========================================================================
   Reveal variants
   Every one of these rides the same observer and the same safety net as
   .np-rv, so nothing here can leave content hidden.
   ========================================================================== */

/* A photograph wipes open from its bottom edge rather than fading in. */
.np-rv-clip.np-pre { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
.np-rv-clip.np-in {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(.16, .84, .24, 1);
  transition-delay: var(--np-d, 0ms);
}

/* A headline rises out of its own line box, which needs the overflow clip on
   a wrapper rather than on the heading itself. */
.np-mask { display: block; overflow: hidden; }
.np-rv-rise.np-pre { opacity: 1; transform: translateY(105%); }
.np-rv-rise.np-in {
  transform: translateY(0);
  transition: transform .95s cubic-bezier(.16, .84, .24, 1);
  transition-delay: var(--np-d, 0ms);
}

/* The ghost numerals drift at a different rate from the page. */
.np-sec-n, .np-ghost { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .np-rv-clip.np-pre { clip-path: none; }
  .np-rv-rise.np-pre { transform: none; }
  .np-rv-clip.np-in,
  .np-rv-rise.np-in { transition: none; }
  .np-sec-n, .np-ghost { transform: none !important; }
}

/* ==========================================================================
   Footer

   This never had any styling: chrome.php printed the markup and no rule ever
   matched it, so every visitor saw an unstyled list of links at the bottom of
   an otherwise finished page.
   ========================================================================== */

.np-foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* No top margin. The footer's own padding is its breathing room; adding a
     margin on top of the last section's padding put 226px of blank between
     the last line of the page and the first line of the footer. */
  background: var(--np-night);
  color: #fff;
  padding-block: clamp(56px, 7vw, 96px) clamp(28px, 3vw, 40px);
}
.np-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--np-grain);
  background-size: 200px 200px;
  opacity: .14;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

/* A photograph held far back behind the whole footer. */
.np-foot-bleed {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(34%, 460px);
  z-index: -2;
}
.np-foot-bleed > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  opacity: .1;
  filter: grayscale(1) contrast(1.1);
  /* The gradient overlay only darkened one side, so the far edge of the image
     ended in a hard vertical seam down the middle of the footer. The mask
     fades the picture itself out instead. */
  mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%);
}
[dir="ltr"] .np-foot-bleed > img {
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 30%, #000 75%);
}
/* No overlay. The gradient darkened the edge away from the content and left
   the image at full strength exactly where it stopped, which drew a hard
   vertical seam down the middle of the footer. The mask on the image fades
   the picture itself, so there is no edge to see. */

.np-foot-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block-end: clamp(40px, 5vw, 64px);
}

.np-foot-mark { display: flex; align-items: center; gap: 18px; }
.np-mark-xl { color: #fff; opacity: .92; }

.np-wordmark { display: grid; gap: 4px; }
.np-wordmark-1 {
  font-family: var(--np-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .04em;
  line-height: 1;
}
.np-wordmark-2 {
  font-size: 12px;
  letter-spacing: .3em;
  opacity: .58;
  line-height: 1;
}
.np-wordmark-lg .np-wordmark-1 { font-size: clamp(24px, 2.6vw, 34px); }
.np-wordmark-lg .np-wordmark-2 { font-size: 12.5px; }

.np-foot-pull { max-width: 28ch; opacity: .92; }
.np-foot-cta { flex: 0 0 auto; }

/* Rules that fade out at both ends instead of stopping dead against nothing. */
.np-foot-hr {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .17) 14%, rgba(255, 255, 255, .17) 86%, transparent);
}

.np-foot-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  padding-block: clamp(40px, 5vw, 64px);
}

.np-foot-col { display: flex; flex-direction: column; gap: 12px; align-items: start; }
.np-foot-h {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8fb0f2;
  margin: 0 0 4px;
}
.np-foot-col > a {
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.45;
  transition: color .16s ease;
}
.np-foot-col > a:hover { color: #fff; }

.np-foot-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .74);
  text-decoration: none;
  font-size: 14.5px;
}
.np-foot-line:hover { color: #fff; }

.np-foot-ig {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-block-start: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 13.5px;
  transition: border-color .18s ease, color .18s ease;
}
.np-foot-ig:hover { border-color: rgba(255, 255, 255, .55); color: #fff; }

.np-foot-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-block-start: clamp(22px, 3vw, 34px);
}
.np-foot-note { margin: 0; max-width: 66ch; font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .42); }
.np-foot-copy { display: flex; gap: 14px; margin: 0; font-size: 12.5px; color: rgba(255, 255, 255, .42); }

@media (max-width: 900px) {
  .np-foot-top { grid-template-columns: 1fr; align-items: start; }
  .np-foot-bleed { display: none; }
  .np-foot-legal { flex-direction: column; }
}

/* ==========================================================================
   Opening screen
   ========================================================================== */

html.np-intro-on { overflow: hidden; }

.np-intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--np-night);
  overflow: hidden;
  /* The curtain lifts on its own even if no script ever tells it to. */
  animation: np-intro-out .7s cubic-bezier(.7, 0, .3, 1) 2.1s forwards;
}
.np-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 45%, rgba(54, 95, 196, .38), transparent 65%),
    var(--np-grain);
  background-size: auto, 200px 200px;
  opacity: .9;
}
.np-intro.is-out { animation: np-intro-out .7s cubic-bezier(.7, 0, .3, 1) forwards; }

@keyframes np-intro-out {
  to { clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; }
}

.np-intro-in {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.np-intro-mark { color: #fff; }

/* The monogram draws itself: one stroke, dashed the length of its own path. */
.np-mark-draw .np-mark-p {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: np-draw 1.1s cubic-bezier(.6, 0, .2, 1) .15s forwards;
}
@keyframes np-draw { to { stroke-dashoffset: 0; } }

.np-intro-word {
  color: #fff;
  opacity: 0;
  animation: np-intro-fade .6s ease .95s forwards;
}
.np-intro-word .np-wordmark-1,
.np-intro-word .np-wordmark-2 { text-align: center; }

.np-intro-sub {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  opacity: 0;
  animation: np-intro-fade .6s ease 1.25s forwards;
}
@keyframes np-intro-fade { to { opacity: 1; } }

.np-intro-skip {
  position: absolute;
  inset-block-end: clamp(24px, 4vw, 40px);
  inset-inline-end: clamp(24px, 4vw, 40px);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}

@media (prefers-reduced-motion: reduce) {
  .np-intro { display: none; }
}

/* ==========================================================================
   404
   ========================================================================== */

.np-404 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--np-night);
  color: #fff;
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding-block: clamp(64px, 8vw, 120px);
}
.np-404::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--np-grain);
  background-size: 200px 200px;
  opacity: .16;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.np-404 > * { position: relative; z-index: 1; }
.np-404 .np-h1 { color: #fff; }

.np-404-in {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.np-404-copy { max-width: 46ch; }

.np-404-links { display: grid; gap: 2px; align-content: start; }
.np-404-a {
  display: grid;
  grid-template-columns: 20px 1fr 18px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: 15px;
  transition: background .18s ease, border-color .18s ease;
}
.np-404-a:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .32); color: #fff; }
[dir="rtl"] .np-404-a > .np-ic:last-child { transform: scaleX(-1); }

@media (max-width: 900px) { .np-404-in { grid-template-columns: 1fr; } }

/* The legal pages read as a document rather than a sheet of text. */
.np-prose > h2:first-child { margin-block-start: 0; }

/* ==========================================================================
   The process timeline
   ========================================================================== */

.np-flow-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(30px, 4vw, 56px);
}

/* The rail sits under the dots and is drawn by the scroll timeline. Without
   JavaScript the fill is simply full, so the rail still reads as a spine. */
.np-flow-rail {
  position: absolute;
  inset-block: 14px;
  inset-inline-start: 21px;
  width: 2px;
  background: rgba(255, 255, 255, .12);
}
.np-flow-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #8fb0f2, var(--np-primary));
  transform-origin: top center;
}

.np-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: clamp(16px, 2.5vw, 30px);
  align-items: start;
}

.np-flow-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--np-night);
  border: 1px solid rgba(255, 255, 255, .22);
}
.np-flow-dot > span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fb0f2;
}

.np-flow-body { padding-block-start: 4px; max-width: 62ch; }
.np-flow-meta {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fb0f2;
  margin: 0 0 8px;
}
.np-flow-b { font-size: 16px; line-height: 1.72; color: rgba(255, 255, 255, .74); margin: 10px 0 0; }

.np-flow-n {
  font-family: var(--np-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  color: rgba(255, 255, 255, .09);
  padding-block-start: 2px;
}

@media (max-width: 640px) {
  .np-flow-step { grid-template-columns: 44px 1fr; }
  .np-flow-n { display: none; }
}
