/*
 * Neo Eram website – ne-style.css
 * Brief: NE-IT-PLN-2026-005 v1.0 (numbers in brackets are its requirements).
 *
 * Plain CSS only. No imports, no addresses, no fonts or images loaded.
 * Every rule sits under an ne-* section name, the site header or footer, or
 * body.ne-rail-on. Removing this file leaves all content and the form as the
 * builder shows them.
 *
 * "important" appears only where the builder writes its own value on the
 * element itself or marks it important; each use says which.
 *
 * Colours: navy 020A26 / 051A53, glow 0C2B86, Signal Blue 4A73E8,
 * Sky 7B9DFE, body BFCBEF, pale CFDBFF, lines rgba(123,157,254,0.16).
 * From PR's screens for the blocks added after PR's review of 24 Nov 2026:
 * quote and pill text DDE5FF, client badge FFC59A.
 */

/* ---------------------------------------------------------------
   [1] Side rail instead of the top menu.
   Only when the rail script has put ne-rail-on on the body; without it the
   builder's menu stays. The logo is not touched.
   --------------------------------------------------------------- */
body.ne-rail-on .theme-header .theme-menu-area,
body.ne-rail-on .theme-header .theme-responsive-menu-area {
  display: none;
}

/* Room for the rail's labels (owner's decision D-12, 23 Nov 2026): on wide
   screens, when the rail is on, the content starts further in, as in PR's
   screens. Narrower than 1200 px there is no room to give; the rail then
   shows pillars only and the content keeps its full width. */
@media (min-width: 1200px) {
  body.ne-rail-on .zpsection.ne-hero > .zpcontainer,
  body.ne-rail-on .zpsection.ne-how > .zpcontainer,
  body.ne-rail-on .zpsection.ne-work > .zpcontainer,
  body.ne-rail-on .zpsection.ne-build > .zpcontainer,
  body.ne-rail-on .zpsection.ne-licence > .zpcontainer,
  body.ne-rail-on .zpsection.ne-who > .zpcontainer,
  body.ne-rail-on .zpsection.ne-contact > .zpcontainer,
  body.ne-rail-on .ne-contact + .zpsection > .zpcontainer {
    padding-inline-start: 200px;
  }
}

/* Jumps stop below the header that stays on screen (work item W-08, owner
   23 Nov 2026). A menu link, a button or an #anchor that jumps to a section
   stops with the section's top just under the header, not behind it.
   The rail script measures the header and passes its height as
   --ne-header-h. Without the script: 125 px on wide screens (the header's
   height measured by IT on 23 Nov), nothing on narrower ones. */
.zpsection.ne-hero,
.zpsection.ne-how,
.zpsection.ne-work,
.zpsection.ne-build,
.zpsection.ne-licence,
.zpsection.ne-who,
.zpsection.ne-contact {
  scroll-margin-top: var(--ne-header-h, 0px);
}

@media (min-width: 992px) {
  .zpsection.ne-hero,
  .zpsection.ne-how,
  .zpsection.ne-work,
  .zpsection.ne-build,
  .zpsection.ne-licence,
  .zpsection.ne-who,
  .zpsection.ne-contact {
    scroll-margin-top: var(--ne-header-h, 125px);
  }
}

/* ---------------------------------------------------------------
   [2] Type: headings in Outfit, light.
   --------------------------------------------------------------- */
.zpsection.ne-hero :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-how :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-work :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-build :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-licence :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-who :is(h1, h2, h3, h4).zpheading,
.zpsection.ne-contact :is(h1, h2, h3, h4).zpheading {
  font-family: 'Outfit', 'outfit', sans-serif;
  font-weight: 300;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-wrap: balance;   /* keeps two-line headlines even, no single word left over */
}

/* the builder writes font, weight and size on the span inside each headline */
.zpsection.ne-hero .zpheading span,
.zpsection.ne-how .zpheading span,
.zpsection.ne-work .zpheading span,
.zpsection.ne-build .zpheading span,
.zpsection.ne-licence .zpheading span,
.zpsection.ne-who .zpheading span,
.zpsection.ne-contact .zpheading span {
  font-family: inherit !important;   /* builder value is on the element */
  font-weight: inherit !important;   /* builder value is on the element */
  font-size: inherit !important;     /* builder value is on the element */
}

/* hero headline, about 96 px */
.zpsection.ne-hero h1.zpheading {
  font-size: clamp(44px, 6.7vw, 96px);
  line-height: 1.06;
}

/* section headlines, about 64 px */
.zpsection.ne-how h2.zpheading,
.zpsection.ne-work h2.zpheading,
.zpsection.ne-build h2.zpheading,
.zpsection.ne-licence h2.zpheading,
.zpsection.ne-who h2.zpheading,
.zpsection.ne-contact h2.zpheading {
  font-size: clamp(34px, 4.45vw, 64px);
  line-height: 1.12;
}

/* card titles */
.zpsection.ne-how h4.zpheading,
.zpsection.ne-build h4.zpheading,
.zpsection.ne-licence h4.zpheading {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}

/* body text 17–19 px */
.ne-hero .zptext,
.ne-how .zptext,
.ne-work .zptext,
.ne-build .zptext,
.ne-licence .zptext,
.ne-who .zptext,
.ne-contact .zptext {
  font-family: 'Outfit', 'outfit', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #BFCBEF;
}

.ne-hero .zptext p {
  font-size: 19px;
}

.ne-how .zpelem-box .zptext,
.ne-build .zpelem-box .zptext,
.ne-licence .zpelem-box .zptext {
  font-size: 17px;
  line-height: 1.6;
}

/* ---------------------------------------------------------------
   [4] Kickers: the small line of text above each headline.
   The kicker is the first text block of the section's first row
   (in Who we are it sits in its own box).
   The kicker shows its title only: no number, no dash and no drawn line
   (owner's decision D-18, 23 Nov 2026). The faint section numbers of [5]
   are separate and stay.
   --------------------------------------------------------------- */
.zpsection.ne-hero > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-how > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-work > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type,
.zpsection.ne-who .zsoverlay-box .zpelem-text {
  font-family: 'Outfit', 'outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-block-end: 18px;
}

.zpsection.ne-hero > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-how > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-work > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
.zpsection.ne-who .zsoverlay-box .zpelem-text :is(.zptext, p, span) {
  font-family: inherit !important;   /* builder value is on the element */
  font-size: 14px !important;        /* builder value is on the element */
  line-height: inherit;
  color: #7B9DFE;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

/* Who we are: bring the kicker in line with its headline */
.zpsection.ne-who > .zpcontainer > .zprow.zpjustify-content-center {
  justify-content: flex-start;
}

.zpsection.ne-who .zpelem-box.zsoverlay-box {
  padding-inline: 0;
  padding-block: 0;
  box-shadow: none;
  margin-inline: 0;
}

/* ---------------------------------------------------------------
   [5] Section numbers, large and outlined, very faint, behind the content.
   No text is added to the page. The licence section has no number.
   --------------------------------------------------------------- */
.zpsection.ne-how,
.zpsection.ne-work,
.zpsection.ne-build,
.zpsection.ne-who,
.zpsection.ne-contact {
  position: relative;
  overflow: hidden;
}

.zpsection.ne-how > .zpcontainer,
.zpsection.ne-work > .zpcontainer,
.zpsection.ne-build > .zpcontainer,
.zpsection.ne-who > .zpcontainer,
.zpsection.ne-contact > .zpcontainer {
  position: relative;
  z-index: 1;
}

.zpsection.ne-how::before,
.zpsection.ne-work::before,
.zpsection.ne-build::before,
.zpsection.ne-who::before,
.zpsection.ne-contact::before {
  position: absolute;
  z-index: 0;
  inset-block-end: -0.12em;
  inset-inline-end: 3%;
  font-family: 'Outfit', 'outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(220px, 34vw, 520px);
  line-height: 0.8;
  direction: ltr;
  color: transparent;
  -webkit-text-stroke: 2px #7B9DFE;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

.zpsection.ne-how::before { content: '01'; }
.zpsection.ne-work::before { content: '02'; }
.zpsection.ne-build::before { content: '03'; }
.zpsection.ne-who::before { content: '04'; }
.zpsection.ne-contact::before { content: '05'; }

/* ---------------------------------------------------------------
   [6] Glass cards: pillars, services, providers, and the phone frame area.
   --------------------------------------------------------------- */
.zpsection.ne-how .zprow-equalCol .zpelem-box.zpbox-container,
.zpsection.ne-build .zprow-equalCol .zpelem-box.zpbox-container,
.zpsection.ne-licence .zprow-equalCol .zpelem-box.zpbox-container {
  background-color: rgba(12, 43, 134, 0.18);
  background-image: none;
  border: 1px solid rgba(123, 157, 254, 0.16);
  border-color: rgba(123, 157, 254, 0.16) !important;   /* builder marks its white border important */
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(123, 157, 254, 0.10), inset 0 0 48px rgba(12, 43, 134, 0.28);
  padding: 28px 24px;
  height: 100%;
}

.zpsection.ne-how .zprow-equalCol > .zpelem-col,
.zpsection.ne-build .zprow-equalCol > .zpelem-col,
.zpsection.ne-licence .zprow-equalCol > .zpelem-col {
  margin-block-end: 20px;
}

/* the phone frame area in Our work */
.zpsection.ne-work .zpelem-image.zsoverlay-image {
  background-color: rgba(12, 43, 134, 0.18);
  border: 1px solid rgba(123, 157, 254, 0.16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(123, 157, 254, 0.10), inset 0 0 48px rgba(12, 43, 134, 0.28);
  padding: 24px;
}

/* two by two on phones (the builder stacks them one by one) */
@media (max-width: 768px) {
  .zpsection.ne-how .zprow-equalCol > .zpelem-col,
  .zpsection.ne-build .zprow-equalCol > .zpelem-col,
  .zpsection.ne-licence .zprow-equalCol > .zpelem-col {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding-inline: 8px;
    margin-block-end: 16px;
  }

  .zpsection.ne-how .zprow-equalCol .zpelem-box.zpbox-container,
  .zpsection.ne-build .zprow-equalCol .zpelem-box.zpbox-container,
  .zpsection.ne-licence .zprow-equalCol .zpelem-box.zpbox-container {
    padding: 18px 14px;
  }

  .zpsection.ne-how h4.zpheading,
  .zpsection.ne-build h4.zpheading,
  .zpsection.ne-licence h4.zpheading {
    font-size: 19px;
  }

  .ne-how .zpelem-box .zptext,
  .ne-build .zpelem-box .zptext,
  .ne-licence .zpelem-box .zptext {
    font-size: 15px;
  }
}

/* ---------------------------------------------------------------
   [7] Header boxes: transparent, with a short Sky line under them.
   --------------------------------------------------------------- */
.zpsection.ne-how > .zpcontainer > .zprow > .zpelem-col.zpdark-section,
.zpsection.ne-build > .zpcontainer > .zprow > .zpelem-col.zpdark-section,
.zpsection.ne-licence > .zpcontainer > .zprow > .zpelem-col.zpdark-section {
  background-color: transparent;
  background-image: none;
}

.zpsection.ne-how .zpdivider-container.zpdivider-line,
.zpsection.ne-build .zpdivider-container.zpdivider-line,
.zpsection.ne-licence .zpdivider-container.zpdivider-line {
  width: 48px;
  max-width: 48px;
  margin-inline: auto;
  overflow: hidden;
}

.zpsection.ne-how .zpdivider-container.zpdivider-line .zpdivider-common::before,
.zpsection.ne-how .zpdivider-container.zpdivider-line .zpdivider-common::after,
.zpsection.ne-build .zpdivider-container.zpdivider-line .zpdivider-common::before,
.zpsection.ne-build .zpdivider-container.zpdivider-line .zpdivider-common::after,
.zpsection.ne-licence .zpdivider-container.zpdivider-line .zpdivider-common::before,
.zpsection.ne-licence .zpdivider-container.zpdivider-line .zpdivider-common::after {
  border-color: #7B9DFE;
}

/* Section headers left-aligned, as in the approved design (owner's
   decision D-14, 23 Nov 2026): kicker, headline, intro and the short line
   of How we work, What we build, Licensed technology and Contact start at
   the left (at the right in Arabic) and may use the full width. */
.zpsection.ne-how > .zpcontainer > .zprow:first-of-type,
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type,
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type,
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type {
  justify-content: flex-start;
}

.zpsection.ne-how > .zpcontainer > .zprow:first-of-type > .zpelem-col,
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type > .zpelem-col,
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type > .zpelem-col,
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type > .zpelem-col {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.zpsection.ne-how > .zpcontainer > .zprow:first-of-type :is(.zpheading, .zptext),
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type :is(.zpheading, .zptext),
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type :is(.zpheading, .zptext),
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type :is(.zpheading, .zptext) {
  text-align: start;
}

.zpsection.ne-how > .zpcontainer > .zprow:first-of-type .zptext p,
.zpsection.ne-build > .zpcontainer > .zprow:first-of-type .zptext p,
.zpsection.ne-licence > .zpcontainer > .zprow:first-of-type .zptext p,
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zptext p {
  text-align: start !important;   /* builder value is on the element (licence intro) */
  max-inline-size: 760px;
}

.zpsection.ne-how .zpelem-divider .zpdivider-container.zpdivider-line,
.zpsection.ne-build .zpelem-divider .zpdivider-container.zpdivider-line,
.zpsection.ne-licence .zpelem-divider .zpdivider-container.zpdivider-line {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

/* Hero on phones left-aligned, as in PR's approved phone screens (owner's
   decision D-15, 23 Nov 2026): headline, lead and buttons start at the left
   (at the right in Arabic). Wider screens are as the builder sets them. */
@media (max-width: 768px) {
  .zpsection.ne-hero :is(.zpheading, .zptext) {
    text-align: start;
  }

  .zpsection.ne-hero .zpbutton-group-container {
    justify-content: flex-start;
    text-align: start;
  }
}

/* ---------------------------------------------------------------
   [8] Hero grid: a faint, still 64 px square grid. Effect 1 lights it.
   --------------------------------------------------------------- */
.zpsection.ne-hero {
  position: relative;
}

.zpsection.ne-hero > .zpcontainer {
  position: relative;
  z-index: 1;
}

.zpsection.ne-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(123, 157, 254, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 157, 254, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: left top;
}

/* ---------------------------------------------------------------
   Added after PR's review of the English page (24 Nov 2026):
   seal glow (W-10), Our work block (W-11), quote and contact pill (W-12).
   --------------------------------------------------------------- */

/* W-10: a soft Signal Blue glow around the hero seal image. The image is
   the pale-blue seal on a clear ground, so the glow follows its squares.
   The seal that Effect 1 draws, and its phone video, carry their own glow. */
.zpsection.ne-hero img {
  filter: drop-shadow(0 0 7px rgba(74, 115, 232, 0.85)) drop-shadow(0 0 22px rgba(74, 115, 232, 0.55));
}

.zpsection.ne-hero .ne-fx1-stage img {
  filter: none;
}

/* W-10: the Who we are video carries its own blue glow. Its four edges
   fade into the page, so the glow has no square outline. The seal's
   squares start further in and are not touched. Where a browser does not
   know these lines the video shows as before. */
.zpsection.ne-who video {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

/* W-11: Our work. The block is pasted into the section as one piece
   (ne-work-snippet-en.txt); everything below styles that block only.
   The three choices All / Our products / Client work are plain radio
   buttons; this file hides the group that is not chosen. No script. */
.zpsection.ne-work .ne-work-list {
  position: relative;
  font-family: 'Outfit', 'outfit', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #BFCBEF;
  text-align: start;
}

.zpsection.ne-work .ne-work-list :is(h3, h4, p, ul, li, label) {
  margin: 0;
  padding: 0;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
  list-style: none;
}

/* the radio buttons themselves are kept for the keyboard and screen
   readers but not drawn; their labels are the visible buttons */
.zpsection.ne-work .ne-work-pick {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.zpsection.ne-work .ne-work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 36px;
}

.zpsection.ne-work .ne-work-filter label {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(123, 157, 254, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #CFDBFF;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.zpsection.ne-work .ne-work-filter label:hover {
  border-color: #7B9DFE;
}

.zpsection.ne-work .ne-work-count {
  font-size: 12px;
  opacity: 0.7;
}

.zpsection.ne-work .ne-work-pick-all:checked ~ .ne-work-filter .ne-work-tab-all,
.zpsection.ne-work .ne-work-pick-own:checked ~ .ne-work-filter .ne-work-tab-own,
.zpsection.ne-work .ne-work-pick-client:checked ~ .ne-work-filter .ne-work-tab-client {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #020A26;
}

.zpsection.ne-work .ne-work-pick-all:focus-visible ~ .ne-work-filter .ne-work-tab-all,
.zpsection.ne-work .ne-work-pick-own:focus-visible ~ .ne-work-filter .ne-work-tab-own,
.zpsection.ne-work .ne-work-pick-client:focus-visible ~ .ne-work-filter .ne-work-tab-client {
  outline: 2px solid #7B9DFE;
  outline-offset: 3px;
}

/* the group that is not chosen is hidden; the group headers show under
   All only (a chosen button already names its group) */
.zpsection.ne-work .ne-work-pick-own:checked ~ .ne-work-group-client,
.zpsection.ne-work .ne-work-pick-client:checked ~ .ne-work-group-own,
.zpsection.ne-work .ne-work-pick-own:checked ~ .ne-work-group .ne-work-group-title,
.zpsection.ne-work .ne-work-pick-client:checked ~ .ne-work-group .ne-work-group-title {
  display: none;
}

.zpsection.ne-work .ne-work-group + .ne-work-group {
  margin-block-start: 72px;
}

.zpsection.ne-work .ne-work-pick-client:checked ~ .ne-work-group-client {
  margin-block-start: 0;
}

.zpsection.ne-work .ne-work-list .ne-work-group-title {
  margin-block-end: 28px;
  padding-block-end: 12px;
  border-block-end: 1px solid rgba(123, 157, 254, 0.16);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: #FFFFFF;
}

.zpsection.ne-work .ne-work-case {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
}

.zpsection.ne-work .ne-work-list .ne-work-badge {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid rgba(123, 157, 254, 0.5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7B9DFE;
}

.zpsection.ne-work .ne-work-list .ne-work-group-client .ne-work-badge {
  border-color: rgba(255, 197, 154, 0.5);
  color: #FFC59A;
}

.zpsection.ne-work .ne-work-list .ne-work-name {
  margin-block-start: 18px;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.zpsection.ne-work .ne-work-list .ne-work-tagline {
  margin-block-start: 8px;
  font-size: 19px;
  line-height: 1.5;
  color: #7B9DFE;
}

.zpsection.ne-work .ne-work-list .ne-work-text {
  margin-block-start: 12px;
  max-inline-size: 560px;
  font-size: 19px;
  line-height: 1.7;
  color: #BFCBEF;
}

.zpsection.ne-work .ne-work-list .ne-work-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  max-inline-size: 560px;
  margin-block-start: 22px;
  font-size: 14px;
  line-height: 1.5;
}

.zpsection.ne-work .ne-work-list .ne-work-features li {
  position: relative;
  padding-inline-start: 13px;
}

.zpsection.ne-work .ne-work-features li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.55em;
  inline-size: 5px;
  block-size: 5px;
  background-color: #4A73E8;
}

.zpsection.ne-work .ne-work-list .ne-work-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 22px;
}

.zpsection.ne-work .ne-work-list .ne-work-chips li {
  padding: 4px 14px;
  border-radius: 999px;
  background-color: rgba(207, 219, 255, 0.07);
  font-size: 12.5px;
  line-height: 1.6;
  color: #CFDBFF;
}

.zpsection.ne-work .ne-work-visual {
  display: flex;
  justify-content: center;
}

.zpsection.ne-work .ne-work-visual img {
  display: block;
  inline-size: 100%;
  max-inline-size: 250px;
  block-size: auto;
  border: 0;
  border-radius: 17% / 8.3%;   /* the picture's own phone corners; hides its square corners */
}

/* the client panel: glass, with a dashed place for the client's logo */
.zpsection.ne-work .ne-work-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  inline-size: 100%;
  max-inline-size: 300px;
  aspect-ratio: 1 / 1;
  padding: 24px;
  box-sizing: border-box;
  background-color: rgba(12, 43, 134, 0.18);
  border: 1px solid rgba(123, 157, 254, 0.16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(123, 157, 254, 0.10), inset 0 0 48px rgba(12, 43, 134, 0.28);
}

.zpsection.ne-work .ne-work-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  inline-size: 170px;
  max-inline-size: 100%;
  block-size: 108px;
  border: 1px dashed rgba(123, 157, 254, 0.55);
  border-radius: 14px;
  font-size: 13px;
  color: #CFDBFF;
}

.zpsection.ne-work .ne-work-panel-name {
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .zpsection.ne-work .ne-work-case {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .zpsection.ne-work .ne-work-group + .ne-work-group {
    margin-block-start: 56px;
  }

  .zpsection.ne-work .ne-work-list .ne-work-text,
  .zpsection.ne-work .ne-work-list .ne-work-tagline {
    font-size: 17px;
  }

  .zpsection.ne-work .ne-work-visual img {
    max-inline-size: 220px;
  }

  .zpsection.ne-work .ne-work-panel {
    max-inline-size: 240px;
  }

  .zpsection.ne-work .ne-work-panel-name {
    font-size: 32px;
  }
}

@media (max-width: 420px) {
  .zpsection.ne-work .ne-work-list .ne-work-features {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* W-12: the quote in Who we are. It is the last paragraph of the text
   block under the headline (a block with one paragraph, such as the
   kicker, is left alone). */
.zpsection.ne-who .zptext p:last-child:not(:first-child) {
  margin-block-start: 28px;
  padding-inline-start: 28px;
  border-inline-start: 2px solid #4A73E8;
  font-size: clamp(22px, 2.25vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  color: #DDE5FF;
}

/* W-12: Contact. In the text block under the headline the paragraph
   before the last one ("We reply within two working days.") is a tinted
   pill, and the last one (the city) sits on its own line below it. */
.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zptext p:nth-last-child(2):not(:first-child) {
  inline-size: fit-content;
  max-inline-size: 100%;
  margin-block-start: 22px;
  padding: 8px 16px;
  background-color: rgba(74, 115, 232, 0.16);
  border: 1px solid rgba(123, 157, 254, 0.3);
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #DDE5FF;
}

.zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zptext p:last-child:not(:first-child) {
  margin-block-start: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: #BFCBEF;
}

/* ---------------------------------------------------------------
   [9] Contact form: the builder form in the section right after ne-contact.
   Colours only on the fields, the privacy-notice box and the tick boxes.
   Nothing here changes how the form works.
   --------------------------------------------------------------- */
.ne-contact + .zpsection .zpelem-box.zpbox-container {
  background-color: rgba(12, 43, 134, 0.18);
  background-image: none;
  border: 1px solid rgba(123, 157, 254, 0.16);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(123, 157, 254, 0.10), inset 0 0 48px rgba(12, 43, 134, 0.28);
}

.ne-contact + .zpsection .zpform-container label,
.ne-contact + .zpsection .zpform-container .zpform-label {
  color: #BFCBEF;
}

.ne-contact + .zpsection .zpform-container :is(input[type='text'], input[type='email'], input[type='tel'], input[type='number'], select, textarea) {
  background-color: rgba(2, 10, 38, 0.72);
  border-color: rgba(74, 115, 232, 0.55);
  color: #FFFFFF;
}

.ne-contact + .zpsection .zpform-container select option {
  background-color: #051A53;
  color: #FFFFFF;
}

.ne-contact + .zpsection .zpform-container :is(input, select, textarea)::placeholder {
  color: rgba(191, 203, 239, 0.7);
}

.ne-contact + .zpsection .zpform-container :is(input, select, textarea):focus-visible {
  outline: 2px solid #7B9DFE;
  outline-offset: 2px;
}

.ne-contact + .zpsection .zpform-container input[type='checkbox'] {
  accent-color: #4A73E8;
}

.ne-contact + .zpsection .zpform-container input[type='submit'] {
  background-color: #4A73E8;
  border-color: #4A73E8;
  color: #FFFFFF;
}

.ne-contact + .zpsection .zpform-container input[type='submit']:hover,
.ne-contact + .zpsection .zpform-container input[type='submit']:focus-visible {
  background-color: #7B9DFE;
  border-color: #7B9DFE;
  color: #020A26;
}

/* asked for by the brief: no Reset button, no form title */
.ne-contact + .zpsection .zpform-container input[type='reset'],
.ne-contact + .zpsection .zpform-container .zpform-info {
  display: none;
}

/* ---------------------------------------------------------------
   [10] Footer.
   --------------------------------------------------------------- */
.theme-footer-area .zplink-list-container .zplink-text {
  color: #BFCBEF;
  transition: color 0.2s ease;
}

.theme-footer-area .zplink-list-container .zplink-text:hover,
.theme-footer-area .zplink-list-container .zplink-text:focus-visible {
  color: #7B9DFE;
}

.theme-footer-area .zptext,
.theme-footer-area .zptext p {
  font-size: 13px;
  line-height: 1.6;
}

.theme-footer-area .zptext a {
  color: #BFCBEF;
}

.theme-footer-area .zptext a:hover,
.theme-footer-area .zptext a:focus-visible {
  color: #7B9DFE;
  text-decoration: underline;
}

/* ---------------------------------------------------------------
   [11] Privacy notice page. Needs the section name ne-privacy on that
   page's section (see the read-me): the page has no ne-* name today.
   --------------------------------------------------------------- */
.zpsection.ne-privacy .zpelem-col {
  max-width: 790px;
  margin-inline: auto;
}

.zpsection.ne-privacy .zptext,
.zpsection.ne-privacy .zptext p {
  font-size: 17px;
  line-height: 1.7;
  color: #BFCBEF;
  text-align: start !important;   /* builder value is on the element */
}

.zpsection.ne-privacy .zpheading {
  font-family: 'Outfit', 'outfit', sans-serif;
  font-weight: 300;
  text-align: start;
}

/* ---------------------------------------------------------------
   [12] Arabic, right to left. Position rules above use start / end, so
   they mirror by themselves. Below: the Arabic face, sizes about 0.9,
   taller lines, no letter-spacing, and the grid starting from the right.
   --------------------------------------------------------------- */
[dir='rtl'] .zpsection.ne-hero :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-how :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-work :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-build :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-licence :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-who :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-contact :is(h1, h2, h3, h4).zpheading,
[dir='rtl'] .zpsection.ne-privacy .zpheading {
  font-family: 'Alexandria', 'Outfit', sans-serif;
  letter-spacing: 0;
}

[dir='rtl'] .zpsection.ne-hero h1.zpheading {
  font-size: clamp(40px, 6vw, 86px);
  line-height: 1.35;
}

[dir='rtl'] .zpsection.ne-how h2.zpheading,
[dir='rtl'] .zpsection.ne-work h2.zpheading,
[dir='rtl'] .zpsection.ne-build h2.zpheading,
[dir='rtl'] .zpsection.ne-licence h2.zpheading,
[dir='rtl'] .zpsection.ne-who h2.zpheading,
[dir='rtl'] .zpsection.ne-contact h2.zpheading {
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1.4;
}

[dir='rtl'] .zpsection.ne-how h4.zpheading,
[dir='rtl'] .zpsection.ne-build h4.zpheading,
[dir='rtl'] .zpsection.ne-licence h4.zpheading {
  font-size: 22px;
  line-height: 1.5;
}

[dir='rtl'] .ne-hero .zptext,
[dir='rtl'] .ne-how .zptext,
[dir='rtl'] .ne-work .zptext,
[dir='rtl'] .ne-build .zptext,
[dir='rtl'] .ne-licence .zptext,
[dir='rtl'] .ne-who .zptext,
[dir='rtl'] .ne-contact .zptext,
[dir='rtl'] .zpsection.ne-privacy .zptext,
[dir='rtl'] .zpsection.ne-privacy .zptext p {
  font-family: 'Alexandria', 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

[dir='rtl'] .ne-hero .zptext p {
  font-size: 17px;
}

[dir='rtl'] .ne-how .zpelem-box .zptext,
[dir='rtl'] .ne-build .zpelem-box .zptext,
[dir='rtl'] .ne-licence .zpelem-box .zptext {
  font-size: 15px;
  line-height: 1.8;
}

[dir='rtl'] .zpsection.ne-hero > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-how > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-work > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-build > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-licence > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-contact > .zpcontainer > .zprow:first-of-type .zpelem-text:first-of-type :is(.zptext, p, span),
[dir='rtl'] .zpsection.ne-who .zsoverlay-box .zpelem-text :is(.zptext, p, span) {
  font-size: 13px !important;   /* builder value is on the element */
  letter-spacing: 0;
}

[dir='rtl'] .ne-contact + .zpsection .zpform-container :is(label, .zpform-label, input, select, textarea) {
  font-family: 'Alexandria', 'Outfit', sans-serif;
}

/* the blocks added after PR's review, in Arabic */
[dir='rtl'] .zpsection.ne-work .ne-work-list {
  font-family: 'Alexandria', 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

[dir='rtl'] .zpsection.ne-work .ne-work-list .ne-work-badge,
[dir='rtl'] .zpsection.ne-work .ne-work-list .ne-work-name,
[dir='rtl'] .zpsection.ne-work .ne-work-panel-name {
  letter-spacing: 0;
}

[dir='rtl'] .zpsection.ne-work .ne-work-list .ne-work-name {
  line-height: 1.5;
}

[dir='rtl'] .zpsection.ne-work .ne-work-list .ne-work-text,
[dir='rtl'] .zpsection.ne-work .ne-work-list .ne-work-tagline {
  font-size: 17px;
  line-height: 1.8;
}

[dir='rtl'] .zpsection.ne-who .zptext p:last-child:not(:first-child) {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.7;
}

[dir='rtl'] .zpsection.ne-hero::after {
  background-image:
    linear-gradient(to left, rgba(123, 157, 254, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 157, 254, 0.06) 1px, transparent 1px);
  background-position: right top;
}

/* ---------------------------------------------------------------
   [13] Reduced motion: this file adds no animation; its hover
   transitions are switched off.
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .theme-footer-area .zplink-list-container .zplink-text,
  .zpsection.ne-work .ne-work-filter label {
    transition: none;
  }
}
