/* =============================================================================
   npf-batch1.css - UI batch 1 (2026-11-09): trust strip, number + source chip, closing CTA band,
   segmented catalogue filter, softer footer wordmark, plus a contrast boost for the default (mist) theme.
   Identical structure in mist / light / dark.
   -----------------------------------------------------------------------------
   Load order: AFTER /npf-layout.css (it must be the last stylesheet on the page).
   Owns the look of these components ONLY. Colours come from the theme tokens (--nile-*), geometry from
   npf-layout.css (--nile-page-max, --nile-section-gap, --npf-radius, --npf-radius-inner, --ca-gutter), so a
   theme switch changes the paint and never the size or position of anything.

   What is here
   1. .npf-trust           glass strip under the home hero (4 facts, each one a link) - markup is a host block
                           inserted by .dev/npf-batch1-patch.py
   2. .npf-proxeed-trust   the "#1 + source" card on the home page and .pd-official on the Proxeed Plus page:
                           both shipped with a fixed light-blue gradient + navy text, which is a bright slab in the
                           dark theme and off-palette in mist/light. Restyled here to the glass surface, and the
                           source link became a chip. Their own markup and <style> are untouched.
   3. .npf-cta             closing "Ask NPF" band (quality-sourcing page)
   4. .ca-catalogue filter the three category chips on /products become one segmented control
   5. .ca-footer-wordmark  the giant footer wordmark fades out instead of shouting at full ink
   6. mist contrast        deeper page tone, near-white cards, darker ink / hairlines / accent. MIST TOKENS ONLY: light and
                           dark are untouched. Delete section 6 (6 + 6b) to go back to the previous mist look.
   7. legibility fixes     three bugs that exist today in mist AND light: the /ask hero title (dark ink on a navy panel), the
                           /research "evidence constellation" header (white ink on a light panel) and the title of the /evidence
                           share card (dark ink on a near-black card, 1.0:1)
   8. hero composition     home hero, one composition in every theme and at every width. Web (8): copy card and note card sit the same
                           distance inside the photo frame, the descriptor pill is on the card's top line, same headline height in
                           every theme, caption clear of the dock. Phone (8b): the card is the photo frame itself, one box and one
                           outline (it started above the frame, under the header), and the pill sits on its foot. Paint (8c): the copy
                           is on the same see-through dark glass card in mist, light and dark, tinted per theme through --hero-* tokens -
                           light and dark had no card, so their copy was ink straight on the photo
   9. full width           the page column (--nile-page-max) is 2400px in every theme again, so on the web every section, the header and the
                           footer use the whole screen minus the side gutter (9), the wrappers that capped themselves follow it (9b) and the
                           product page re-composes its card rows / text columns for the wider canvas (9c). Delete sections 9-9c to get the
                           1328px column back.
   10. dialog surface      the search palette (and the cookie banner, same rule) get an opaque base under their glass gradient. In the dark
                           theme that gradient is 8-21% opaque, so whatever sat behind the dialog (a lime band, a photo) showed through and
                           the light text became unreadable. Delete section 10 to get the translucent glass back.
   11. phone theme switch  the theme switch inside the mobile menu gets the same three-state face as the desktop header one (glyph + the
                           name of the active mode). Its click is handled by npf-theme.js; this section is only the look. Delete section
                           11 to get the bundled sun/moon icon back (the switch itself keeps working).
   -----------------------------------------------------------------------------
   Contrast pass (2026-11-10 / 2026-11-15). Sections 12-18 come from a background-aware contrast audit of the live site
   and the layout faults it turned up on the way. Delete sections 12-18 to go back to the pre-audit look.
   12. contrast: home     the reading band's scrim, the science invite panel and the footer wordmark. 12.3 SUPERSEDES
                          section 5 - that fade left the wordmark unreadable.
   13. contrast: inks     legacy palette inks (#eaf3ff, #c6d5e0, #5b6b78) repointed to theme tokens or to the panel's own
                          ink, across the nav, filter chips, hero quick links, review signals and the .ca-mono eyebrows on
                          the editorial panels. Also one step darker on --nile-cy in light.
   14. band 500-820px     hero meta pill overlapping the headline, the reading grid clipping its own last row, and the
                          hero star colliding with the word after it. Not colour bugs - the contrast pass could not see them.
   15. hero scrim         light and dark get the diagonal copy-column scrim that mist already had, in their own palettes.
                          The photograph is never dimmed. Delete section 15 and their hero copy goes back onto bare photo.
   16. journey cards      /explore cards drop ~80px of reserved empty space, and go to one compact row each on a phone.
   17. photo bands        the closing contact band and .ca-perspective carry a photograph with the .ca-reading treatment.
   18. gallery carousel   the product gallery's coverflow slides escaped their column and covered the product copy; clipped
                          again, and the white frame inside the slide removed. Delete section 18 to get both back.
   -----------------------------------------------------------------------------
   Second contrast pass (2026-11-16), from reading the live pages rather than measuring them.
   19. photo band headline the accent half of the two photo-band headlines kept the dark brand gradient, which is built for a
                           light surface: 1.42-2.09:1 over the photographs, against a 3:1 floor for large text. Light gradient
                           in the same shape instead; the white half was already correct.
   20. type floor          ~550 selectors in the exported CSS declare a size under 14px, down to 6px on a phone. Raised to 14px
                           for text meant to be read and 11px for the tracked Latin micro-labels. GENERATED - see
                           .dev/npf-type-floor.py, re-run it after a re-export. Delete section 20 for the old scale.
   21. partnership surface .ca-partnership-scope and .ca-partnership-cta were the only transparent sections on that page, so
                           they alone showed the raw page green under dark ink while every other section carries its own
                           surface. Given the page's own light surface.
   22. principle cards     the /about principle cards have a glass surface and a hairline border but padding 25px 0 0, so the
                           copy sat on the card's edge. Padded on all four sides.

   Every colour is a theme token with a fallback; nothing is animated except hover/focus colour changes, and those
   are switched off for prefers-reduced-motion.
   ============================================================================= */

/* 0. Component tokens - resolved per theme from the existing --nile-* tokens ----------------------------------- */
html:root .ca-site :is(.npf-trust, .npf-cta, .npf-proxeed-trust, .pd-official, .ca-catalog-type-row) {
  --b1-ink: var(--nile-text, #142d35);
  --b1-ink2: var(--nile-text2, #283f45);
  --b1-hair: var(--nile-hair, rgba(33, 70, 71, 0.24));
  --b1-accent: var(--nile-accent, #103f42);
  --b1-focus: var(--nile-focus, var(--nile-accent, #103f42));
  --b1-surface: var(--nile-glass, linear-gradient(145deg, rgba(230, 239, 233, 0.84), rgba(195, 213, 205, 0.78)));
  --b1-stroke: var(--nile-stroke, rgba(250, 253, 249, 0.82));
  --b1-shadow: var(--nile-card-shadow, 0 18px 38px -26px rgba(4, 12, 23, 0.55));
  --b1-chip: var(--nile-tabOn, rgba(36, 112, 108, 0.1));
  --b1-card: var(--nile-glass3, rgba(225, 236, 229, 0.82));
}

/* 1. Trust strip ------------------------------------------------------------------------------------------------ */
html:root .ca-site .npf-trust {
  width: min(calc(100% - (var(--ca-gutter) * 2)), var(--nile-page-max));
  margin: clamp(14px, 2vw, 22px) auto 0;
  overflow: hidden;
  border: 1px solid var(--b1-stroke);
  border-radius: var(--npf-radius);
  background: var(--b1-surface);
  box-shadow: var(--b1-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  color: var(--b1-ink);
}
html:root .ca-site .npf-trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
html:root .ca-site .npf-trust-list > li {
  min-width: 0;
  margin: 0;
  padding: 0;
}
html:root .ca-site .npf-trust-list > li + li {
  border-inline-start: 1px solid var(--b1-hair);
}
html:root .ca-site a.npf-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 18px 22px;
  color: var(--b1-ink) !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}
html:root .ca-site a.npf-trust-item:hover {
  background: var(--b1-chip);
}
html:root .ca-site a.npf-trust-item:focus-visible {
  outline: 2px solid var(--b1-focus);
  outline-offset: -5px;
  border-radius: var(--npf-radius-inner);
}
html:root .ca-site .npf-trust-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--b1-hair);
  border-radius: 50%;
  background: var(--b1-chip);
  color: var(--b1-accent);
}
html:root .ca-site .npf-trust-ico svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html:root .ca-site .npf-trust-txt {
  display: grid;
  gap: 2px;
  min-width: 0;
}
html:root .ca-site .npf-trust-txt strong {
  display: block;
  color: var(--b1-ink) !important;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
}
html:root .ca-site .npf-trust-txt small {
  display: block;
  color: var(--b1-ink2) !important;
  font-size: 0.8125rem;
  line-height: 1.5;
}
/* two by two: wide phones / tablets keep icon + text side by side, small phones stack them */
@media (max-width: 1023px) {
  html:root .ca-site .npf-trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html:root .ca-site .npf-trust-list > li:nth-child(odd) {
    border-inline-start: 0;
  }
  html:root .ca-site .npf-trust-list > li:nth-child(n + 3) {
    border-top: 1px solid var(--b1-hair);
  }
}
@media (max-width: 599px) {
  html:root .ca-site .npf-trust {
    width: calc(100% - 24px); /* the same edge as .nile-pack-band right below it */
  }
  html:root .ca-site a.npf-trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  html:root .ca-site .npf-trust-ico {
    width: 38px;
    height: 38px;
  }
}

/* 2. Number + source chip ----------------------------------------------------------------------------------------- */
/* 2a. Home: "#1 ... Proxeed" card. The block's own inline <style> sets max-width:1200px, a navy-on-light-blue gradient
   and padding; it sits inside .nile-pack-band, which already is the page column. */
html:root .ca-site .npf-proxeed-trust {
  max-width: none;
  margin: 0;
  padding: var(--nile-section-gap) 0 0;
  color: var(--b1-ink);
}
html:root .ca-site .npf-proxeed-trust-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 44px);
  border: 1px solid var(--b1-stroke);
  border-radius: var(--npf-radius);
  background: var(--b1-surface);
  box-shadow: var(--b1-shadow);
  color: var(--b1-ink);
}
html:root .ca-site .npf-proxeed-trust-number {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-inline-end: clamp(18px, 3vw, 40px);
  border-inline-end: 1px solid var(--b1-hair);
  color: var(--b1-accent);
  font-variant-numeric: lining-nums tabular-nums;
}
html:root .ca-site .npf-proxeed-trust h2 {
  margin: 0 0 0.55rem;
  color: var(--b1-ink) !important;
}
html:root .ca-site .npf-proxeed-trust p {
  max-width: 68ch;
  margin: 0;
  color: var(--b1-ink2) !important;
}
@media (max-width: 599px) {
  html:root .ca-site .npf-proxeed-trust-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  html:root .ca-site .npf-proxeed-trust-number {
    padding-inline-end: 0;
    padding-bottom: 12px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--b1-hair);
  }
}

/* 2b. Proxeed Plus page: the sourced information section */
html:root .ca-site .pd-official {
  border: 1px solid var(--b1-stroke);
  border-radius: var(--npf-radius);
  background: var(--b1-surface);
  box-shadow: var(--b1-shadow);
  color: var(--b1-ink);
}
html:root .ca-site .pd-official h2,
html:root .ca-site .pd-official h3 {
  color: var(--b1-ink) !important;
}
html:root .ca-site .pd-official p {
  color: var(--b1-ink2) !important;
}
html:root .ca-site .pd-official .pd-official-kicker {
  color: var(--b1-accent) !important;
  letter-spacing: 0.12em;
}
html:root .ca-site .pd-official .pd-official-card {
  border: 1px solid var(--b1-hair);
  border-radius: var(--npf-radius-inner);
  background: var(--b1-card);
}
html:root .ca-site .pd-official .pd-official-routine {
  border-top-color: var(--b1-hair);
}

/* 2c. The source link is a chip in both places (inline in the sentence before, on its own line now) */
html:root .ca-site :is(.npf-proxeed-trust p, .pd-official .pd-official-note, .pd-official-routine p) a {
  display: flex;
  align-items: center;
  gap: 0.45em;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.85rem;
  padding: 0.42em 1em;
  border: 1px solid var(--b1-hair);
  border-radius: 999px;
  background: var(--b1-chip);
  color: var(--b1-accent) !important;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
/* the note paragraph IS the link on the product page: no extra top margin there */
html:root .ca-site .pd-official .pd-official-note a {
  margin-top: 0;
}
html:root .ca-site :is(.npf-proxeed-trust p, .pd-official .pd-official-note, .pd-official-routine p) a:hover {
  border-color: var(--b1-accent);
}
html:root .ca-site :is(.npf-proxeed-trust p, .pd-official .pd-official-note, .pd-official-routine p) a:focus-visible {
  outline: 2px solid var(--b1-focus);
  outline-offset: 3px;
}

/* 3. Closing CTA band ----------------------------------------------------------------------------------------------- */
/* mist / light: the theme's own CTA gradient (dark teal) with light ink.
   dark: a deep glass panel with the aurora glow; the bright gradient is kept for the primary button only, as everywhere else
   on the site, so the band does not turn into a bright slab on a dark page. */
html:root .ca-site .npf-cta {
  --cta-bg: var(--nile-cta, linear-gradient(112deg, #165d5b, #28726c 58%, #3f704d));
  --cta-ink: var(--nile-ctaText, #f7fbf8);
  --cta-line: var(--nile-ctaText, #f7fbf8);
  --cta-btn-bg: var(--nile-ctaText, #f7fbf8);
  --cta-btn-ink: var(--nile-accent, #103f42);
  --cta-ghost-hover: rgba(255, 255, 255, 0.14);
  --cta-edge: transparent;
  --cta-glow: var(--nile-ctaGlow, rgba(35, 109, 105, 0.5));
  width: min(calc(100% - (var(--ca-gutter) * 2)), var(--nile-page-max));
  margin: var(--nile-section-gap) auto;
}
html:root[data-theme="dark"] .ca-site .npf-cta {
  --cta-bg: radial-gradient(70% 120% at 100% 0%, rgba(92, 205, 242, 0.2), transparent 62%),
    radial-gradient(60% 110% at 0% 100%, rgba(166, 227, 122, 0.14), transparent 60%), var(--nile-surf, #0b1d33);
  --cta-ink: var(--nile-text, #eaf3ff);
  --cta-line: var(--nile-cy, #5ccdf2);
  --cta-btn-bg: var(--nile-cta, linear-gradient(100deg, #88dcf7, #60d8cb 52%, #abe77e));
  --cta-btn-ink: var(--nile-ctaText, #04121f);
  --cta-ghost-hover: rgba(170, 210, 255, 0.12);
  --cta-edge: var(--nile-stroke, rgba(170, 210, 255, 0.16));
  --cta-glow: rgba(0, 0, 0, 0.55);
}
html:root .ca-site .npf-cta-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px) clamp(24px, 4vw, 64px);
  border: 1px solid var(--cta-edge);
  border-radius: var(--npf-radius);
  background: var(--cta-bg);
  box-shadow: 0 26px 60px -34px var(--cta-glow);
  color: var(--cta-ink);
}
/* decorative arcs, static. Drawn from the right edge; mirrored in RTL so they always grow from the inline-end corner */
html:root .ca-site .npf-cta-arcs {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(58%, 560px);
  height: 100%;
  fill: none;
  stroke: var(--cta-line);
  stroke-width: 1.2;
  opacity: 0.2;
  pointer-events: none;
}
html[dir="rtl"] .ca-site .npf-cta-arcs {
  transform: scaleX(-1);
}
html:root .ca-site .npf-cta-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}
/* .ca-mono forces direction:ltr, which would push the label to the wrong edge in RTL: pin it to the inline-start edge */
html:root .ca-site .npf-cta-kicker {
  justify-self: start;
  color: var(--cta-ink) !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.88;
}
html:root .ca-site .npf-cta h2 {
  margin: 0;
  color: var(--cta-ink) !important;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  line-height: 1.25;
}
html:root .ca-site .npf-cta p {
  max-width: 62ch;
  margin: 0;
  color: var(--cta-ink) !important;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.94;
}
html:root .ca-site .npf-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
html:root .ca-site a.npf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
html:root .ca-site a.npf-cta-btn-primary {
  background: var(--cta-btn-bg);
  color: var(--cta-btn-ink) !important;
}
html:root .ca-site a.npf-cta-btn-primary:hover {
  transform: translateY(-1px);
}
html:root .ca-site a.npf-cta-btn-ghost {
  border-color: color-mix(in srgb, var(--cta-ink) 70%, transparent);
  background: transparent;
  color: var(--cta-ink) !important;
}
html:root .ca-site a.npf-cta-btn-ghost:hover {
  border-color: var(--cta-ink);
  background: var(--cta-ghost-hover);
}
html:root .ca-site a.npf-cta-btn:focus-visible {
  outline: 3px solid var(--cta-ink);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  html:root .ca-site .npf-cta {
    width: calc(100% - 24px);
  }
  html:root .ca-site .npf-cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  html:root .ca-site .npf-cta-actions {
    flex-direction: column;
  }
  html:root .ca-site a.npf-cta-btn {
    width: 100%;
  }
}

/* 4. Segmented catalogue filter ----------------------------------------------------------------------------------------- */
html:root .ca-site .ca-catalog-type-row {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--b1-hair);
  border-radius: 999px;
  background: var(--b1-card);
  box-shadow: var(--b1-shadow);
}
html:root .ca-site .ca-catalog-type-row::-webkit-scrollbar {
  display: none;
}
html:root .ca-site .ca-catalog-type-row .ca-type-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 40px;
  padding: 8px 20px;
  border: 0;
  background: transparent;
  color: var(--b1-ink);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
html:root .ca-site .ca-catalog-type-row .ca-type-chip:hover {
  background: var(--b1-chip);
}
html:root .ca-site .ca-catalog-type-row .ca-type-chip.is-active {
  background: var(--foreground);
  color: var(--background);
  box-shadow: 0 6px 14px -8px rgba(4, 12, 23, 0.6);
}
html:root .ca-site .ca-catalog-type-row .ca-type-chip:focus-visible {
  outline: 2px solid var(--b1-focus);
  outline-offset: 2px;
}

/* 5. Footer wordmark: ink fades out towards the baseline (decorative, aria-hidden) ------------------------------------ */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html:root .ca-site .ca-footer-wordmark {
    background: linear-gradient(180deg, var(--nile-text, #142d35) 0%, rgba(20, 45, 53, 0) 100%);
    background: linear-gradient(180deg, var(--nile-text, #142d35) 0%, color-mix(in srgb, var(--nile-text, #142d35) 18%, transparent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    opacity: 1 !important;
  }
  html:root .ca-site .ca-footer-wordmark > span {
    -webkit-text-fill-color: var(--nile-cy, #143f42);
  }
}

/* 6. Mist contrast ------------------------------------------------------------------------------------------------------
   The default (mist) theme read washed out: page and cards sat close in tone, secondary ink was ~3-4:1 on the page and the
   hairlines almost vanished. This block deepens the page tone, lifts cards to near-white, darkens ink / hairlines / accent and
   strengthens the shadows. It only redefines the tokens of html[data-theme="mist"]: light and dark are untouched, and deleting
   this whole section reverts the change (nothing above depends on it). */
html:root[data-theme="mist"] {
  --background: #8dada5;
  --nile-bg0: #8dada5;
  --nile-bg1: #84a49c;
  --nile-bg2: #b2c9c1;
  --foreground: #082026;
  --card-foreground: #082026;
  --popover-foreground: #082026;
  --secondary-foreground: #0b2c2e;
  --nile-text: #082026;
  --nile-text2: #15303a;
  --nile-text3: #15303a;
  --muted-foreground: #15303a;
  --ca-muted: #15303a;
  --ca-ink: #0b2528;
  --theme-text: #082026;
  --theme-ink: #082026;
  --theme-ink-muted: #15303a;
  --theme-ink-subtle: #15303a;
  --mist-ink: #082026;
  --mist-ink-muted: #15303a;
  --mist-ink-subtle: #15303a;
  --card: #eaf2ee;
  --popover: #f0f6f2;
  --nile-glass: linear-gradient(145deg, rgba(247, 251, 248, 0.95), rgba(229, 239, 234, 0.93));
  --nile-glass2: linear-gradient(145deg, rgba(251, 254, 252, 0.98), rgba(236, 244, 239, 0.96));
  --nile-glass3: rgba(243, 249, 245, 0.94);
  --nile-surf: rgba(242, 248, 244, 0.96);
  --mist-surface: rgba(243, 248, 245, 0.96);
  --mist-surface-soft: rgba(236, 244, 239, 0.92);
  --nile-stroke: rgba(255, 255, 255, 0.98);
  --nile-stroke2: rgba(8, 46, 49, 0.5);
  --nile-hair: rgba(8, 46, 49, 0.4);
  --border: rgba(8, 46, 49, 0.42);
  --input: rgba(8, 46, 49, 0.5);
  --theme-outline: rgba(8, 46, 49, 0.46);
  --mist-outline: rgba(8, 46, 49, 0.44);
  --ca-line: rgba(8, 46, 49, 0.3);
  --nile-card-shadow: 0 24px 48px -24px rgba(6, 40, 43, 0.6), 0 1px 2px rgba(6, 40, 43, 0.14);
  --nile-page-shadow: 0 34px 78px -36px rgba(6, 40, 43, 0.62);
  --nile-shadow: 0 28px 72px -36px rgba(6, 40, 43, 0.6);
  --theme-shadow: 0 24px 56px -28px rgba(6, 40, 43, 0.55);
  --nile-accent: #0a3c40;
  --nile-ink-accent: #0a4560;
  --nile-cy: #0b4f55;
  --primary: #0a3c40;
  --nile-win: radial-gradient(70% 50% at 46% 36%, rgba(236, 245, 240, 0.72), transparent 72%),
    radial-gradient(60% 40% at 12% 96%, rgba(159, 192, 134, 0.3), transparent 70%),
    linear-gradient(182deg, #86aeac, #a9c8c2 52%, #d2e2da);
  --nile-ghost: rgba(8, 46, 49, 0.09);
  --nile-giant: rgba(8, 46, 49, 0.14);
}
html:root[data-theme="mist"] body.ca-site {
  background-color: #8dada5 !important;
}

/* 6b. Text whose colour is not a token (hard-coded in the compiled CSS) and sat on the deeper page tone.
   Page-level labels only: the same .ca-mono on a dark panel (hero, reading panels, /ask) keeps its own light colour. */
html:root[data-theme="mist"] .ca-site :is(
    .ca-editorial-visual figcaption,
    .ca-company-origin,
    .ca-presence-text,
    .ca-source-route,
    .ca-source-content,
    .p3-section-heading,
    .ca-catalog-ledger,
    .ca-section-index,
    .hb-guide-heading
  ) .ca-mono {
  color: var(--nile-text2);
}
html:root[data-theme="mist"] .ca-site .hb-invite-preview small {
  opacity: 0.9;
}
html:root[data-theme="mist"] .ca-site .pd-sep {
  opacity: 0.8;
}

/* 7. Three legibility bugs that exist today in mist AND light (found while measuring contrast; dark is fine) ----------------
   a) /ask hero: the panel is dark navy in every theme, but the global heading ink is a theme token, so the title is dark-on-navy
      (almost invisible) in mist and light and white only in dark.
   b) /research "evidence constellation": the section is written for a dark panel (white heading, light stats), but the research
      page paints it with the light glass panel in mist and light, so its header read white-on-light. Only the header ink changes.
   c) /evidence/research/* share card: the card is the dark ink colour (--ca-ink) in every theme and its text is --ca-paper, but the
      global `.ca-functional-page h1 { color: var(--nile-text) !important }` paints the title with the page ink: 1.05:1 in mist,
      1.00:1 in light (the title is invisible), 17.5:1 in dark. Only the title changes; the other 18 - 21 texts of the card were fine. */
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .p3-hero h1 {
  color: #f4f9fc !important;
}
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .p3-hero-copy > .ca-mono {
  color: #dfe9ef !important;
}
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .nile-research-page .evidence-constellation > header :is(h2, dl) {
  color: var(--nile-text) !important;
}
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .nile-research-page .evidence-constellation > header :is(p, dt, .ca-mono) {
  color: var(--nile-text2) !important;
}
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .nile-research-page .evidence-constellation > header dd {
  color: var(--nile-ink-accent) !important;
}
html:root:is([data-theme="mist"], [data-theme="light"]) .ca-site .evidence-share-card h1 {
  color: var(--ca-paper, #f4f9fc) !important;
}

/* 8. Hero composition (home) ------------------------------------------------------------------------------------------
   One geometry and one kind of surface for mist / light / dark, on the web (8) and on a phone (8b). The paint is in 8c, as
   tokens per theme, so a theme switch changes the tint only: never the size or position of anything, and never whether
   the copy has a card behind it.

   8. On the web (>=761px). The same numbers are in the original site (before npf-layout.css), so this is an old problem
   rather than a regression. What was wrong:
   a) the copy block is the dark glass card in mist, but it sat flush under the header, 22px ABOVE the photo frame, with 156px of
      empty meadow under it, while the note card hugged the opposite frame edge at 12px: no common inset anywhere;
   b) the descriptor pill (.ca-hero-meta) is absolutely positioned at a fixed 74px: on top of the headline in light/dark and
      BEHIND the card in mist (a dark smudge);
   c) the star bubble is display:grid in light/dark and inline-grid in mist, so the headline (and the CTA below it) is 44px taller
      in light/dark;
   d) the one-line caption under the hero is centred, so on laptop widths the fixed dock (bottom-left in RTL) covers its last words;
   e) above ~1460px the photo frame kept growing (viewport - 2 * gutter) while the header, the caption and every section below
      stop at --nile-page-max (1328px): on a 1920px screen the frame stuck out 220px on each side of the header.
   Now every element sits on one of four lines, all --hero-in inside the photo frame, and the frame uses the page column:
      top line     card top        = pill top            (card: inline-start, pill: inline-end)
      bottom line  card bottom     = frame bottom - in
      CTA line     CTA bottom      = note card bottom    (note: inline-end)
      caption      starts at the card's inline-start edge, so it never runs under the dock
   The hero height is the card's height (no min-height), so there is no empty band under the card and the first screen of a
   laptop shows the whole composition. The star is inline in every theme.
   Frame geometry otherwise owned by the compiled CSS: top 22px, bottom 30px. */
@media (min-width: 761px) {
  html:root .ca-site .ca-home {
    --hero-edge: max(var(--ca-gutter), calc((100% - var(--nile-page-max)) / 2));  /* viewport edge -> frame (same column as the header) */
    --hero-in: clamp(14px, 2vw, 28px);     /* photo frame -> card / pill / note */
    --hero-pad: clamp(22px, 2.3vw, 32px);  /* card padding */
    --hero-card-w: min(46%, 600px);
    --hero-card-r: 28px;                   /* card radius (the frame's is 40px) */
  }
  /* the frame: photo, shade, grid and the two pseudo-elements that draw the border / veil */
  html:root .ca-site .ca-home .ca-hero :is(.ca-hero-photo, .ca-hero-shade, .ca-hero-grid),
  html:root .ca-site .ca-home .ca-hero::before,
  html:root .ca-site .ca-home .ca-hero::after {
    inset-inline: var(--hero-edge) !important;
  }
  html:root .ca-site .ca-home .ca-hero .ca-hero-photo {
    width: calc(100% - 2 * var(--hero-edge)) !important;
  }
  html:root .ca-site .ca-home .ca-hero {
    min-height: 0 !important;
    padding: calc(22px + var(--hero-in)) 0 calc(30px + var(--hero-in)) !important;
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-copy {
    box-sizing: border-box;
    width: var(--hero-card-w) !important;
    max-width: 600px !important;
    margin: 0 !important;
    margin-inline-start: calc(var(--hero-edge) + var(--hero-in)) !important;
    padding: var(--hero-pad) !important;
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-meta {
    top: calc(22px + var(--hero-in)) !important;
    inset-inline: auto calc(var(--hero-edge) + var(--hero-in)) !important;
    max-width: calc(100% - 2 * var(--hero-edge) - var(--hero-card-w) - 3 * var(--hero-in)) !important;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  html:root .ca-site .ca-home .ca-hero h1 .ca-hero-star {
    display: inline-grid !important;
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-field-note {
    /* = card bottom + padding + quick-link row (34px + 18px margin): the CTA's bottom edge */
    bottom: calc(30px + var(--hero-in) + var(--hero-pad) + 52px) !important;
    inset-inline-end: calc(var(--hero-edge) + var(--hero-in)) !important;
  }
  html:root .ca-site .ca-home > p.ca-hero-model {
    text-align: start !important;
    padding-inline-start: var(--hero-in);
  }
}
/* the pill is one line: when the free space beside the card is narrower than the text, the location tag goes and the
   descriptor stays (Arabic text is 460px wide, English 568px) */
@media (min-width: 761px) and (max-width: 1239px) {
  html:root .ca-site .ca-home .ca-hero > .ca-hero-meta > .ca-mono {
    display: none !important;
  }
}
@media (min-width: 1240px) and (max-width: 1399px) {
  html:root[lang="en"] .ca-site .ca-home .ca-hero > .ca-hero-meta > .ca-mono {
    display: none !important;
  }
}

/* 8b. The same composition on a phone (<=760px) ------------------------------------------------------------------------
   Five layers of older rules meet here (three compiled files, npf-ui.css, npf-theme.css) and nothing unified them:
   a) the hero has no top padding, so the copy card started at the hero's own edge: 10px ABOVE the photo frame, touching
      the header, and 4px from the frame's side edges. Two rounded outlines, one a few pixels inside the other;
   b) the descriptor pill kept its fixed top: 34px, which is on top of the headline (light / dark) or under the card (mist);
   c) the star bubble dropped to its own row in light / dark (display: grid): 29px more headline than in mist;
   d) the pill text was 8px (7px at <=360px).
   Now the glass card IS the photo frame: the same box and the same 30px radius, so there is one outline. (A card 10px
   inside the frame read as a panel with a ring of sky around it.) The photo is seen through the glass from top to bottom
   (8c). The foot of the card, --hero-band tall, holds no copy: the glass clears there, the meadow shows, and the pill sits
   in the middle of it on the copy's inline-start edge. The pill comes before the card in the markup at the same z-index,
   so it is lifted one level: under the glass it is blurred away. The copy keeps its own measure (315px in Arabic, 360px
   in English), so from ~430px up the rest of the glass stays empty beside it, as the photo does on the web.
   The pill text is 11px. It lies between the copy's edges, and at 11px the English line is 264px wide with its padding:
   more than the copy has under 328px. So under 332px the text follows the screen (10.4px at 320px, 8.4px at 280px) and
   the line is never cut.
   Frame geometry owned by the compiled CSS: top 10px, sides 12px, bottom 0, radius 30px. */
@media (max-width: 760px) {
  html:root .ca-site .ca-home {
    --hero-edge: 12px;                      /* viewport edge -> frame = card */
    --hero-pad: 20px;                       /* card padding: frame -> copy / pill */
    --hero-band: clamp(84px, 24vw, 132px);  /* the foot of the card: glass, meadow and the pill, no copy */
    --hero-card-r: 30px;                    /* the frame's radius */
  }
  html:root .ca-site .ca-home .ca-hero {
    min-height: 0 !important;
    padding: 10px 0 0 !important;           /* 10px: the frame's top inset; the card ends where the frame ends */
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-copy {
    box-sizing: border-box;
    position: relative !important;
    inset: auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    margin-inline: var(--hero-edge) !important;
    padding: var(--hero-pad) var(--hero-pad) calc(var(--hero-pad) + var(--hero-band)) !important;
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-meta {
    box-sizing: border-box;
    z-index: 6 !important;                                    /* the card is 5 and comes later: the pill must be on the glass */
    top: auto !important;
    bottom: calc((var(--hero-band) - 34px) / 2) !important;  /* 34px = its own height: centred in the band */
    inset-inline: calc(var(--hero-edge) + var(--hero-pad)) auto !important;
    max-width: calc(100% - 2 * (var(--hero-edge) + var(--hero-pad))) !important;
    min-height: 34px;
    padding: 0 12px !important;
    align-items: center !important;
    font-size: min(11px, calc(5vw - 5.6px)) !important;       /* 11px from 332px up: see the note above */
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }
  html:root .ca-site .ca-home .ca-hero > .ca-hero-meta > span:last-child {
    max-width: none !important;
    font-size: inherit !important;                             /* the pill's size: it shipped with 8px / 7px of its own */
  }
  html:root .ca-site .ca-home .ca-hero h1 .ca-hero-star {
    display: inline-grid !important;
  }
}

/* 8c. Hero paint: the copy sits on one dark glass card in every theme ---------------------------------------------------
   npf-theme.css paints that card for mist only. In light and dark the copy had no surface at all: ink straight on the
   photo (dark ink on the meadow, pale ink on the sky), white quick-link chips on a bright picture, and in dark a star
   bubble with nothing in it (its glyph is drawn by the headline's clipped gradient, which the bubble's own fill covers).
   Here the card, the headline, the accent word, the star, the paragraph, the CTA edge and the chips read ONE set of
   --hero-* paint tokens, defined once per theme: mist keeps the hue and the inks it shipped with, light gets the same
   glass a little denser (its photo veil is white, not green), dark gets it in navy with the dark theme's own cyan-lime
   accent. Every property is set explicitly, so the result no longer depends on which older rule happens to win.
   - the card is glass the photo is seen through. In mist it shipped as a 58-78% tint over an 18px blur, and on the sky
     that is one flat colour: a painted panel. Now the blur is 4px, so the horizon, the cloud and the meadow keep their
     shapes, and the tint is level only where copy lies on it: from the top of the card to 150px above its foot. From
     there it clears to 10% over 80px. Those last 150px never hold copy on glass: on the web the CTA and the quick links
     are there (both have fills of their own), on a phone the band with the pill as well, and the paragraph ends 159px
     above the foot at the least.
     The level part is as thin as the 15px paragraph allows: 59% in mist, 66% in light, 52% in dark. Measured on the
     rendered page, the paragraph against the pixels behind it, Arabic and English, 320-1920px, the lowest ratio is
     4.97 / 4.95 / 4.98; five points thinner and it is under 4.5:1 where the photo behind it is brightest.
     The contrast comes from the tint alone. There is no brightness() in the filter, so a browser that does not apply
     the filter draws the same tint over a sharp photo;
   - the star draws its own glyph (-webkit-text-fill-color) on a faint disc with the card's hairline;
   - the chips are solid capsules in the card's deepest tone (--hero-chip) with the card's hairline. They shipped as a 10%
     white film with a backdrop-filter of their own, and inside the blurred card that pair is not drawn the same
     everywhere: a dark capsule in desktop Chrome (the look mist is known by), a pale film in headless Chromium. Now it is
     the dark capsule in every renderer. The pointer lights the hairline and leaves the fill and the label alone, so the
     label reads the same at rest and under the pointer (20% white under an 11px label took it below 4.5:1);
   - the CTA has a 1px edge in every theme (it was 1px in mist and 0 in light: a 2px narrower button);
   - dark only: the note card is navy glass too, at 82-62%. It was an 8-21% white film over a bright meadow under pale
     ink. It does not read --hero-card: that tint clears over its last 150px and the note card is 173px tall;
   - prefers-reduced-transparency: the card (and the dark note card) is opaque and not blurred, in every theme;
     npf-theme.css did it for mist only.
   Delete 8c to get the per-theme paint of npf-theme.css back (a card in mist, none in light / dark); 8 and 8b keep working. */
html:root .ca-site .ca-home {
  --hero-card: linear-gradient(180deg, rgba(7, 33, 32, 0.59) calc(100% - 150px), rgba(10, 50, 47, 0.1) calc(100% - 70px));
  --hero-card-solid: #0b302e;
  --hero-card-line: rgba(226, 250, 243, 0.34);
  --hero-card-shadow: 0 28px 64px -34px rgba(1, 23, 23, 0.82), inset 0 1px 0 rgba(239, 255, 248, 0.18);
  --hero-chip: #0c2928;
  --hero-ink: #f6fbf8;
  --hero-ink-soft: #eff8f4;
  --hero-accent: linear-gradient(105deg, #eefbf6, #a9e8dc 60%, #dceca9);
  --hero-star: #bfeee3;
  --hero-cta-line: rgba(255, 255, 255, 0.48);
}
html:root[data-theme="light"] .ca-site .ca-home {
  --hero-card: linear-gradient(180deg, rgba(8, 38, 44, 0.66) calc(100% - 150px), rgba(12, 58, 60, 0.1) calc(100% - 70px));
  --hero-card-solid: #0c343a;
  --hero-card-line: rgba(236, 250, 246, 0.4);
  --hero-card-shadow: 0 28px 64px -34px rgba(6, 34, 40, 0.7), inset 0 1px 0 rgba(240, 255, 250, 0.2);
  --hero-chip: #0c2c32;
  --hero-ink: #f7fbf9;
  --hero-ink-soft: #eef7f4;
  --hero-accent: linear-gradient(105deg, #f0fbf7, #a6e6dc 58%, #d6ec9f);
  --hero-star: #bdede3;
  --hero-cta-line: rgba(255, 255, 255, 0.48);
}
html:root:is([data-theme="dark"], .dark) .ca-site .ca-home {
  --hero-card: linear-gradient(180deg, rgba(5, 16, 34, 0.52) calc(100% - 150px), rgba(9, 30, 58, 0.1) calc(100% - 70px));
  --hero-card-solid: #081a33;
  --hero-card-line: rgba(170, 210, 255, 0.3);
  --hero-card-shadow: 0 28px 64px -34px rgba(0, 6, 20, 0.85), inset 0 1px 0 rgba(200, 228, 255, 0.16);
  --hero-chip: #07152a;
  --hero-ink: #eef5ff;
  --hero-ink-soft: #d6e3f5;
  --hero-accent: linear-gradient(112deg, #e9f9ff, #8fe4f6 42%, #b6ec88);
  --hero-star: #9be6f6;
  --hero-cta-line: rgba(255, 255, 255, 0.22);
}
html:root .ca-site .ca-home .ca-hero > .ca-hero-copy {
  border: 1px solid var(--hero-card-line) !important;
  border-radius: var(--hero-card-r, 28px) !important;
  background: var(--hero-card) !important;
  box-shadow: var(--hero-card-shadow) !important;
  color: var(--hero-ink) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.35) !important;
  backdrop-filter: blur(4px) saturate(1.35) !important;
}
html:root .ca-site .ca-home .ca-hero h1 {
  color: var(--hero-ink) !important;
}
html:root .ca-site .ca-home .ca-hero h1 > span:last-child,
html:root .ca-site .ca-home .ca-hero h1 .ca-hero-second > span:last-child {
  background-image: var(--hero-accent) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
html:root .ca-site .ca-home .ca-hero h1 .ca-hero-star {
  border: 1px solid var(--hero-card-line) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  color: var(--hero-star) !important;
  -webkit-text-fill-color: currentColor !important;
}
html:root .ca-site .ca-home .ca-hero > .ca-hero-copy > p {
  color: var(--hero-ink-soft) !important;
}
html:root .ca-site .ca-home .ca-hero > .ca-hero-copy > .ca-hero-cta {
  border: 1px solid var(--hero-cta-line) !important;
}
html:root .ca-site .ca-home .ca-hero .ca-hero-quick > :is(a, button) {
  border-color: var(--hero-card-line) !important;
  background: var(--hero-chip) !important;
  color: var(--hero-ink) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
@media (hover: hover) {
  html:root .ca-site .ca-home .ca-hero .ca-hero-quick > :is(a, button):hover {
    border-color: var(--hero-ink) !important;
  }
}
html:root:is([data-theme="dark"], .dark) .ca-site .ca-home .ca-hero > .ca-hero-field-note {
  border-color: var(--hero-card-line) !important;
  background: linear-gradient(145deg, rgba(5, 16, 34, 0.82), rgba(9, 30, 58, 0.62)) !important;
}
@media (prefers-reduced-transparency: reduce) {
  html:root .ca-site .ca-home .ca-hero > .ca-hero-copy,
  html:root:is([data-theme="dark"], .dark) .ca-site .ca-home .ca-hero > .ca-hero-field-note {
    background: var(--hero-card-solid) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* 9. Full width on the web ------------------------------------------------------------------------------------------
   Phase A (npf-layout.css) pinned --nile-page-max to the mist value, 1328px, in every theme. The light and dark themes
   shipped 2400px (08e3fda993fac005.css, :root): sections used the whole screen and only the side gutter was left. On a
   1920px monitor the 1328px column left 296px of empty margin on each side of the header, the hero and every card.
   Every width in the site is min(100% - 2 * --ca-gutter, var(--nile-page-max)), so one token is enough. 2400px + the two
   gutters = 2552px: the whole screen up to there, a centred column on anything wider. On phones (< 761px) the gutter
   decides the width and nothing changes. The hero frame and the trust strip read the same token (section 8, section 1). */
:root,
:root[data-theme] {
  --nile-page-max: 2400px;
}

/* 9b. Wrappers that capped themselves, on the web only. They do not read --nile-page-max: the research pages and the
   related-articles list use the Tailwind caps max-w-5xl / 6xl / 7xl (1024 / 1152 / 1280px), the product page is
   .pd { max-width: 1200px } and the evidence page .evidence-share-shell { max-width: 1260px }. Each one gets the same
   box as the header: the column + the two gutters as its border box, the gutter as its inner padding, so text and cards
   start on the header's edge. Only the OUTERMOST wrapper of a stack is changed (:not(... *)). Not touched on purpose,
   because a line of 1700px is not readable or a form that wide is silly: the article body (max-w-3xl), the intro
   paragraphs (max-w-2xl..4xl) and the account / order forms (.npf-narrow). */
@media (min-width: 761px) {
  html:root .ca-site main :is(div, section, nav, header).mx-auto:is(.max-w-5xl, .max-w-6xl, .max-w-7xl):not(:is(.max-w-5xl, .max-w-6xl, .max-w-7xl) *),
  html:root .ca-site .pd {
    box-sizing: border-box;
    width: min(100%, calc(var(--nile-page-max) + (var(--ca-gutter) * 2))) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: var(--ca-gutter) !important;
  }
  html:root .ca-site .evidence-share-shell {
    width: min(100%, calc(var(--nile-page-max) + (var(--ca-gutter) * 2))) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }
}

/* 9c. Product page on wide screens ----------------------------------------------------------------------------------
   Once the page is as wide as the header, the product page's own grids and text blocks need a composition too. Measured
   on the six product pages from 1280 to 2560px, left as they were they broke like this:
   - .pd-cards is repeat(auto-fit, minmax(240px, 1fr)): 6 cards gave 5 + 1, 7 gave 6 + 1, 9 gave 4 + 4 + 1. --pd-c is the
     most columns a row may have, chosen from the number of cards so the last row is never a lone card: 5 -> 5 (3 + 2
     under 1400px), 6 -> 3 + 3, 7 -> 4 + 3, 8 -> 4 + 4, 9 -> 5 + 4 (3 + 3 + 3 under 1440px). When all the cards fit in one
     row with 250px each, they take one row (6 from 1740px, 7 from 2000px, 8 from 2280px, 9 from 2540px). A count that is
     not listed keeps auto-fit with at most 4 columns.
   - .pd-voice-grid (customer quotes) the same way: 5 quotes are 3 + 2 and from 1600px five in a row.
   - .pd-about-body (72ch) and .pd-faq-list (880px) filled a third of the width: the text flows in columns, the
     questions sit in two columns, and the empty paragraphs the content export leaves in the text are hidden.
   - .pd-clinical-in (1000px) is as wide as the rest, so the dark block's content starts on the same edge.
   - .pd-gallery: the stage is a square, 835px at 1920 and 1159px at 2560, taller than the screen. It stops at 700px
     (the size at 1630px) and sits in the middle of its column.
   Under 1100px nothing here applies and the original rules stay. */
@media (min-width: 1100px) {
  html:root .ca-site .pd-cards {
    --pd-c: 4;
    grid-template-columns: repeat(auto-fit, minmax(max(240px, calc((100% - (var(--pd-c) - 1) * 16px) / var(--pd-c))), 1fr)) !important;
  }
  html:root .ca-site .pd-cards:has(> :nth-child(5):last-child) { --pd-c: 3; }
  html:root .ca-site .pd-cards:has(> :nth-child(6):last-child) { --pd-c: 3; }
  html:root .ca-site .pd-cards:has(> :nth-child(7):last-child) { --pd-c: 4; }
  html:root .ca-site .pd-cards:has(> :nth-child(8):last-child) { --pd-c: 4; }
  html:root .ca-site .pd-cards:has(> :nth-child(9):last-child) { --pd-c: 3; }
  html:root .ca-site .pd-cards:has(> :nth-child(10):last-child) { --pd-c: 5; }

  html:root .ca-site .pd-voice-grid {
    --pd-vc: 3;
    grid-template-columns: repeat(auto-fit, minmax(max(280px, calc((100% - (var(--pd-vc) - 1) * 16px) / var(--pd-vc))), 1fr)) !important;
  }
  html:root .ca-site .pd-voice-grid:has(> :nth-child(4):last-child) { --pd-vc: 2; }

  html:root .ca-site .pd-about-body {
    display: block !important;
    max-width: none !important;
    column-width: 30rem;
    column-gap: clamp(40px, 4.5vw, 88px);
  }
  html:root .ca-site .pd-about-body > p:empty {
    display: none !important;
  }
  html:root .ca-site .pd-about-body > * {
    break-inside: avoid;
    margin-block: 0 14px !important;
  }

  html:root .ca-site .pd-faq-list {
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px clamp(16px, 2vw, 32px) !important;
  }

  html:root .ca-site .pd-clinical-in {
    max-width: none !important;
  }

  html:root .ca-site .pd-gallery {
    width: 100%;
    max-width: 700px;
    justify-self: center;
  }
}
@media (min-width: 1400px) {
  html:root .ca-site .pd-cards:has(> :nth-child(5):last-child) { --pd-c: 5; }
}
@media (min-width: 1440px) {
  html:root .ca-site .pd-cards:has(> :nth-child(9):last-child) { --pd-c: 5; }
}
@media (min-width: 1500px) {
  html:root .ca-site .pd-voice-grid:has(> :nth-child(4):last-child) { --pd-vc: 4; }
}
@media (min-width: 1600px) {
  html:root .ca-site .pd-voice-grid:has(> :nth-child(5):last-child) { --pd-vc: 5; }
}
@media (min-width: 1740px) {
  html:root .ca-site .pd-cards:has(> :nth-child(6):last-child) { --pd-c: 6; }
}
@media (min-width: 2000px) {
  html:root .ca-site .pd-cards:has(> :nth-child(7):last-child) { --pd-c: 7; }
}
@media (min-width: 2280px) {
  html:root .ca-site .pd-cards:has(> :nth-child(8):last-child) { --pd-c: 8; }
}
@media (min-width: 2540px) {
  html:root .ca-site .pd-cards:has(> :nth-child(9):last-child) { --pd-c: 9; }
}

/* 10. Dialog surface -------------------------------------------------------------------------------------------------
   The compiled CSS paints .atlas-search-dialog and .cookie-consent-banner with var(--nile-panel-strong) and nothing under it.
   mist / light: that token is 96-100% opaque, so it was fine. dark: it is linear-gradient(rgba(170,215,255,.21), rgba(120,170,240,.075)),
   i.e. a barely-there tint, so the page behind the dialog shows straight through (the lime band of the Atlas hero, product photos
   under the cookie banner) and the pale ink (#eaf3ff / #b8cae4 / #86d8f2) loses all contrast on it.
   Fix: keep the gradient exactly as it is and give the element an opaque background-COLOUR under it. background-colour is a separate
   property from the compiled shorthand's image layer, and the higher specificity here wins the !important tie. Only the colour is
   new, so geometry, border, radius, shadow and the glass tint are unchanged in all three themes.
   --nile-dialog-base: mist / light reuse the opaque popover token; dark uses the popover colour (#08182e) made opaque. */
html:root {
  --nile-dialog-base: var(--popover, #f0f6f2);
}
html:root:is([data-theme="dark"], .dark) {
  --nile-dialog-base: #08182e;
}
html:root :is(.atlas-search-dialog, .cookie-consent-banner) {
  background-color: var(--nile-dialog-base) !important;
}

/* 11. Phone menu: the theme switch has the same three-state face as the desktop header ---------------------------------
   On a phone the header hides its theme switch, so the one inside the menu sheet (.ca-menu-tools, portalled to <body>) is the only
   one. npf-theme.css gives the HEADER switch its three-state face (glyph: ◐ mist, ☼ light, ☾ dark) but only under .nile-theme-toggle,
   so the sheet kept the bundled binary icon (a moon in mist AND in light, a sun in dark: the reverse of the desktop). Its click was
   not handled by npf-theme.js either (that is fixed there), so on a phone the switch changed nothing on screen.
   Here it gets the same glyphs and colours as the desktop one and, because a phone has no hover or tooltip, the name of the active
   mode beside the glyph. It is a pill in the chip family of the language button next to it (the --nile-header-* tokens, same in
   all three themes). The accessible name stays the aria-label that npf-theme.js keeps current. Everything is keyed on data-theme, so
   without the theme controller (no data-theme) the bundled icon stays visible. */
html:root .ca-menu-sheet .ca-menu-tools > button[data-slot="button"] {
  box-sizing: border-box;
  width: auto !important;
  min-width: 44px;
  height: 44px !important;
  padding-block: 0 !important;
  padding-inline: 16px !important;
  gap: 8px;
  border: 1px solid var(--nile-header-border, var(--nile-hair)) !important;
  border-radius: 999px !important;
  background: var(--nile-header-bg, var(--nile-glass3)) !important;
  box-shadow: var(--nile-header-shadow, none), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: var(--nile-text, currentColor) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
html:root:is([data-theme="mist"], [data-theme="light"], [data-theme="dark"]) .ca-menu-sheet .ca-menu-tools > button[data-slot="button"] > svg {
  display: none !important;
}
html:root:is([data-theme="mist"], [data-theme="light"], [data-theme="dark"]) .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::before {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 18px;
  line-height: 1;
  color: #287a79;
}
html:root:is([data-theme="mist"], [data-theme="light"], [data-theme="dark"]) .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after {
  display: block;
  white-space: nowrap;
}
html:root[data-theme="mist"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::before { content: "\25D0"; }
html:root[data-theme="light"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::before { content: "\263C"; color: #a57a27; }
html:root[data-theme="dark"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::before { content: "\263E"; color: #65c7cf; }
html:root[lang="ar"][data-theme="mist"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "الوضع الهادئ"; }
html:root[lang="ar"][data-theme="light"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "الوضع الفاتح"; }
html:root[lang="ar"][data-theme="dark"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "الوضع الداكن"; }
html:root[lang="en"][data-theme="mist"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "Mist theme"; }
html:root[lang="en"][data-theme="light"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "Light theme"; }
html:root[lang="en"][data-theme="dark"] .ca-menu-sheet .ca-menu-tools > button[data-slot="button"]::after { content: "Dark theme"; }

@media (prefers-reduced-motion: reduce) {
  html:root .ca-site :is(a.npf-trust-item, .npf-proxeed-trust p a, .pd-official a, a.npf-cta-btn, .ca-type-chip) {
    transition: none !important;
    transform: none !important;
  }
}


/* 12. Contrast: home sections --------------------------------------------------------------------------------------
   Measured on the live site with a background-aware pass: every text node composited against the real stack behind it,
   photographs included, sampled at the brightest and darkest pixel under the glyph boxes (Range.getClientRects, not the
   element box - the element box spans the whole column in RTL), then scored at 4.5:1 for body copy and 3:1 for large text.
   Seventeen Arabic pages plus /en, in all three themes.

   12.3 SUPERSEDES section 5: that fade took the wordmark's fill to 18% alpha, which turned the lower half of the
   letterforms invisible and made it read as a smudge rather than as a quiet mark. Delete 12.3 to get section 5 back.
   --------------------------------------------------------------------------------------------------------------- */
/* 12.1 -------------------------------------------------------------- reading */
/* The scrim over the meadow dropped to .70 in the middle, where the photograph
   is brightest: body copy there measured 4.19:1. */

html:root .ca-site .ca-reading {
  background:
    linear-gradient(
      130deg,
      rgba(4, 30, 33, 0.88),
      rgba(6, 48, 44, 0.8) 54%,
      rgba(5, 33, 30, 0.9)
    ),
    url("/art/theme/meadow-mist-bloom.jpg") center 48% / cover !important;
}
html[data-theme="dark"] .ca-site .ca-reading {
  background:
    linear-gradient(
      130deg,
      rgba(3, 15, 30, 0.92),
      rgba(5, 27, 43, 0.86) 54%,
      rgba(3, 18, 32, 0.93)
    ),
    url("/art/theme/meadow-mist-bloom.jpg") center 48% / cover !important;
}

/* 12.2 ------------------------------------------------------- science invite */
/* The copy panel ran .58 -> .42 and the .42 end sits over the bright sky:
   4.43:1 in Mist, and in Light and Dark the headline kept the page ink on that
   dark panel - 1.07:1 and 2.67:1. */

html:root .ca-site .ca-science-invite-copy {
  background: linear-gradient(
    145deg,
    rgba(5, 27, 28, 0.78),
    rgba(7, 40, 37, 0.66)
  ) !important;
}
html[data-theme="dark"] .ca-site .ca-science-invite-copy {
  background: linear-gradient(
    145deg,
    rgba(3, 17, 29, 0.84),
    rgba(4, 26, 40, 0.72)
  ) !important;
}
html:root .ca-site .ca-science-invite-copy > p {
  color: #e4f0ec !important;
}
html[data-theme="light"] .ca-site .ca-science-invite-copy h2 {
  color: #f5fbf8 !important;
}
html:root .ca-site .ca-science-invite-copy > .ca-mono {
  color: #a8e6d6 !important;
}

/* 12.3 ------------------------------------------------------ footer wordmark */
/* The fill faded to 18% alpha, so the lower half of the letterforms was
   invisible and the wordmark read as a smudge. The tint now comes from
   --nile-text and follows whichever theme is active. */

html:root .ca-site .ca-footer-wordmark {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: color-mix(in srgb, var(--nile-text) 34%, transparent) !important;
}
html:root .ca-site .ca-footer-wordmark > span {
  -webkit-text-fill-color: currentColor !important;
}

/* It measures 10.26em at this weight and tracking, plus the EG tag, so 9vw
   outgrew the page column between ~1100px and ~1530px and the last word was cut
   off (126px type in a 1149px column at 1400px wide). */
@media (min-width: 761px) {
  html:root .ca-site .ca-footer-wordmark {
    font-size: min(7.5vw, 132px) !important;
  }
}


/* 13. Contrast: inks left behind by the Mist migration ----------------------------------------------------------------
   One cause under most of what the audit found: inks hard-coded before Mist became the default - #eaf3ff and #c6d5e0 from
   the old dark palette, #5b6b78 from the original Care Atlas labels - that never got repointed and now sit on surfaces
   they were not written for. Each is sent back to a theme token or to the panel's own ink, so it stays correct in all
   three themes instead of being corrected once per theme.

   Result: on the default (Mist) theme every page audited returns zero failures; Light went from 16 to 0 on the home page.
   Unlike section 6, this one is NOT mist-only - 13.9 retunes --nile-cy for light, where every teal eyebrow and the footer
   slogan sat at 4.15-4.46:1 across the whole theme.
   --------------------------------------------------------------------------------------------------------------- */
/* 13.1 --------------------------------------------------- header navigation */
/* #c6d5e0 on the light header glass: 1.30:1. */

html:root .ca-site .ca-desktop-nav a {
  color: var(--nile-text2) !important;
}

/* 13.2 ----------------------------------------------- catalogue filter chips */
/* #eaf3ff on the light chips: 1.02:1 - the labels were invisible. */

html:root .ca-site .ca-filters .ca-filter,
html:root .ca-site .ca-filters .ca-filter.active {
  color: var(--nile-text) !important;
}

/* 13.3 ---------------------------------------------------- hero quick links */
/* White on the lit part of the meadow: 4.30:1 in Mist, 1.03:1 in Light. The
   chips get a scrim of their own instead of relying on the photograph. */

html:root .ca-site .ca-hero-quick :is(a, button) {
  background: rgba(6, 32, 34, 0.66) !important;
  color: #ffffff !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* 13.4 ------------------------------------------------------- contact orbit */
/* Dark ink on the teal disc: 2.48:1. In Dark the disc is lime and the ink is
   already correct, so this is scoped away from it. */

:is(html[data-theme="mist"], html[data-theme="light"])
  .ca-site
  .ca-contact-orbit
  small {
  color: #ffffff !important;
}

/* 13.5 ------------------------------------------------------ review signals */
/* Amber #d88b13 measured 2.25-3.61:1 depending on the surface, and the verified
   badge 2.65:1. Both carry meaning - a rating, a provenance claim - so they take
   text-grade contrast rather than the 3:1 graphics floor. */

:is(html[data-theme="mist"], html[data-theme="light"])
  .ca-site
  .npf-review-stars {
  color: #663d00 !important;
}
html[data-theme="dark"] .ca-site .npf-review-stars {
  color: #f0b23c !important;
}
:is(html[data-theme="mist"], html[data-theme="light"]) .ca-site .npf-verified {
  color: #45601e !important;
}
html[data-theme="dark"] .ca-site .npf-verified {
  color: #a8d26a !important;
}

/* 13.6 --------------------------------------------- eyebrow labels (.ca-mono) */
/* The widest finding: .ca-mono was pinned to the legacy #5b6b78 label ink, a
   light-surface value. On the dark editorial panels of the science,
   partnership, story, research, atlas, contact and health-basics pages it ran
   1.16-4.21:1. Each of these panels already sets a correct ink on the copy
   block around the label, so the label inherits it and is right on every
   surface and in every theme. The accent eyebrows elsewhere on the site keep
   their own colour - this is scoped to the panels that were failing. */

html:root .ca-site
  :is(
    .ca-science-manifesto,
    .ca-science-tracks,
    .ca-science-audience,
    .ca-science-principles,
    .ca-science-cta,
    .ca-science-process,
    .ca-partnership-direction,
    .ca-partnership-scope,
    .ca-partnership-process,
    .ca-partnership-proof,
    .ca-partnership-cta,
    .ca-story-cover,
    .atlas-workspace-hero,
    .atlas-explore-hero,
    .evidence-constellation,
    .ca-contact-address,
    .hb-card-topline
  )
  .ca-mono {
  color: inherit !important;
  opacity: 0.92;
}

/* Two of those panels put their labels on the page green rather than on the
   panel, where the inherited ink lands at 4.48:1 - a hair short. */
html:root .ca-site
  :is(.ca-science-tracks, .ca-science-process)
  .ca-mono {
  color: var(--nile-text) !important;
  opacity: 1;
}

/* Three section indexes are themselves set in that legacy ink, so there is no
   correct ink to inherit. Two sit on the near-black panel (1.16:1), the third on
   the page green (3.11:1). */
html:root .ca-site
  :is(.ca-science-principles, .ca-partnership-process)
  :is(.ca-section-index, .ca-section-index .ca-mono) {
  color: rgba(234, 247, 255, 0.92) !important;
  opacity: 1;
}
html:root .ca-site .ca-contact .ca-section-index,
html:root .ca-site .ca-contact .ca-section-index .ca-mono {
  color: var(--nile-text2) !important;
  opacity: 1;
}

/* 13.7 ------------------------------------------------- research page tabs */
/* #c6d5e0 on the light constellation panel: 1.28:1. */

html:root .ca-site .constellation-cluster-tabs button {
  color: var(--nile-text2) !important;
}

/* 13.8 --------------------------------------------------------- explore hero */
/* The page title was the page ink on a panel painted in the page ink: 1.00:1 in
   all three themes. The headline was invisible, not merely low contrast. */

html:root .ca-site .atlas-explore-hero h1 {
  color: #f3f7f5 !important;
}

/* 13.9 ------------------------------------------------------- Light accents */
/* --nile-cy at #197984 put every teal eyebrow and the footer slogan at
   4.15-4.46:1 in Light - short of the floor by a few percent across the whole
   theme. One step darker clears it everywhere without changing the hue. */

html:root[data-theme="light"] {
  --nile-cy: #136c78;
}
html:root[data-theme="light"] .ca-site .ca-footer-slogan-alt {
  color: #0a5e7d !important;
}


/* 14. Layout faults in the 500-820px band ------------------------------------------------------------------------
   None of these is a colour problem, so the contrast pass could not see them. All three reproduce from 500px to 760px
   and are clean at 820px and above. Delete section 14 to get the previous behaviour back at those widths.
   --------------------------------------------------------------------------------------------------------------- */
/* 14.1 The hero meta pill is absolutely positioned (top:34px, z-index:5) while
   the headline grows taller as the column narrows, so from 500px to 760px the
   pill sits on top of the first line of the headline - a full overlap of the
   pill's box. It is already hidden on phones; hide it across the band where it
   collides, and let it return with the two-column hero. */
@media (max-width: 820px) {
  html:root .ca-site .ca-hero-meta { display: none !important; }
}

/* 14.2 .ca-reading-layout uses gap: 8%. A percentage row-gap in an auto-height
   grid leaves the container ~21px shorter than its own rows, and .ca-reading
   clips with overflow:hidden, so the "المصدر والتوزيع" link was cut in half at
   every width where the grid is a single column. A length row-gap measures. */
html:root .ca-site .ca-reading-layout { row-gap: 34px !important; }

/* 14.3 The hero star: below 820px .ca-hero-star switches from inline-grid to grid, so the ornament becomes a block,
   takes the line to itself, and the word after it wraps underneath and runs into it - a 34x5px collision on the
   ascender of the first letter. Keeping it inline below the breakpoint removes the collision and takes the headline
   from 135px to 106px, which also buys back vertical space on a phone. */
@media (max-width: 819.98px) {
  html:root .ca-site .ca-hero .ca-hero-star {
    display: inline-grid !important;
    vertical-align: middle !important;
  }
}


/* 15. Hero scrim in light and dark --------------------------------------------------------------------------------
   The hero photograph is painted by a sibling layer (img.ca-hero-photo, z-index:-1), not by any ancestor's background,
   so the contrast pass never measured the hero at all - it scored the text against the page behind it. Re-measured
   against the photo's own pixels, light ran 3.07:1 on the headline and 1.11:1 on the paragraph over the dark blue-grey
   patch; dark ran 1.33:1 and 1.42:1 over the bright sky. A single ink cannot fix either, because inside one line the
   photograph runs from near-white sky to near-black shadow.

   A side-wedge scrim was tried first and measured well on the glyph boxes at desktop width, but it did not hold up on a
   phone: the wedge fades across the card, so once the card is ~400px wide the copy sits where the gradient has already
   thinned and the panel reads as a grey haze. Mist has had the right answer all along - one diagonal scrim across the
   whole copy column - so light and dark now use that same shape in their own palettes. The photograph itself is never
   dimmed; the meadow on the free side keeps its full contrast.

       light   headline 9.20:1   paragraph 5.86:1
       dark    headline 10.18:1  paragraph 5.13:1
   --------------------------------------------------------------------------------------------------------------- */
html:root[data-theme="light"] .ca-site .ca-hero-copy {
  background: linear-gradient(145deg, rgba(6, 30, 32, 0.82), rgba(9, 46, 44, 0.64)) !important;
  border-radius: inherit;
}
html:root[data-theme="dark"] .ca-site .ca-hero-copy {
  background: linear-gradient(145deg, rgba(3, 16, 28, 0.86), rgba(5, 28, 44, 0.66)) !important;
  border-radius: inherit;
}
html:root[data-theme="light"] .ca-site .ca-hero h1,
html:root[data-theme="light"] .ca-site .ca-hero h1 > span { color: #f4f8f6 !important; }
html:root[data-theme="light"] .ca-site .ca-hero-copy p { color: #e6f1ec !important; }


/* 16. Journey cards on a phone ------------------------------------------------------------------------------------
   The journey cards on /explore reserve a fixed 178px content row and a 220px min-height while the content itself is
   137px, so each card carried ~80px of empty space - costly on a phone, where they stack. 16.2 lets the rows measure
   themselves (220px -> 130-148px); 16.3 takes the narrow end further, to a single compact row per card so they read as
   a list. The grid still equalises the cards in each row.
   --------------------------------------------------------------------------------------------------------------- */
/* 16.2 The journey cards on /explore reserve a fixed 178px content row and a
   220px min-height while the content itself is 137px, so each card carried
   ~80px of empty space - costly on a phone where they stack. Letting the rows
   measure themselves takes a card from 220px to 130-148px; the grid still
   equalises the cards in each row. */
@media (max-width: 820px) {
  html:root .ca-site .atlas-journey-option {
    min-height: 0 !important;
    grid-template-rows: auto !important;
    padding: 14px !important;
    gap: 10px !important;
  }
  html:root .ca-site .atlas-journey-option > span:nth-of-type(2) { gap: 6px !important; }
  html:root .ca-site .atlas-journey-option small { line-height: 1.5 !important; }
}

@media (max-width: 640px) {
  html:root .ca-site .atlas-journey-options { gap: 8px !important; }

  html:root .ca-site .atlas-journey-option {
    min-height: 0 !important;
    grid-template-rows: auto !important;
    grid-template-columns: 36px 1fr 18px !important;
    padding: 12px 14px !important;
    gap: 10px !important;
    align-items: center !important;
  }
  html:root .ca-site .atlas-journey-option-icon {
    width: 36px !important;
    height: 36px !important;
  }
  html:root .ca-site .atlas-journey-option > span:nth-of-type(2) { gap: 3px !important; }
  html:root .ca-site .atlas-journey-option strong {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }
  html:root .ca-site .atlas-journey-option small {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }
}


/* 17. Editorial photo bands ----------------------------------------------------------------------------------------
   Two photographs given the same treatment as .ca-reading - image, diagonal scrim, light ink - so they join the page's
   existing visual language instead of introducing a new one. The closing contact band carries the sunset balcony, with
   the couple on one side and the open horizon under the headline; .ca-perspective carries the meadow (swapped with the hero on 2026-11-16), where the
   partner lockup swaps to its on-dark rendition so it stays legible.
   --------------------------------------------------------------------------------------------------------------- */
html:root .ca-site .ca-contact {
  background:
    linear-gradient(145deg, rgba(5, 26, 30, 0.86), rgba(8, 42, 42, 0.62) 58%, rgba(6, 32, 34, 0.80)),
    url("/art/theme/couple-sunset-balcony.webp") center 42% / cover !important;
}
html:root .ca-site .ca-perspective {
  background:
    linear-gradient(145deg, rgba(5, 28, 28, 0.88), rgba(8, 44, 40, 0.66) 56%, rgba(6, 34, 32, 0.84)),
    url("/art/theme/meadow-mist-hero.jpg") 50% 54% / cover !important;
}

/* Both sections carried the page ink, which is dark in Mist and Light. */
html:root .ca-site :is(.ca-contact, .ca-perspective),
html:root .ca-site :is(.ca-contact, .ca-perspective) :is(h1, h2, h3, strong) {
  color: #f3f7f5 !important;
}
html:root .ca-site :is(.ca-contact, .ca-perspective) :is(p, li, small, dd, dt) {
  color: #dfeae5 !important;
}
html:root .ca-site :is(.ca-contact, .ca-perspective) .ca-section-index,
html:root .ca-site :is(.ca-contact, .ca-perspective) .ca-section-index .ca-mono,
html:root .ca-site :is(.ca-contact, .ca-perspective) .ca-mono {
  color: rgba(232, 245, 255, 0.9) !important;
  opacity: 1;
}
html:root .ca-site :is(.ca-contact, .ca-perspective) a:not([class*="button"]):not([class*="cta"]) {
  color: #bfe8de !important;
}
html:root .ca-site .ca-perspective .ca-editorial-rule { border-color: rgba(255, 255, 255, 0.22) !important; }

/* The partner lockup in .ca-perspective swaps to its on-dark rendition. */
html:root .ca-site .ca-perspective .ca-logo-on-light { display: none !important; }
html:root .ca-site .ca-perspective .ca-logo-on-dark { display: block !important; }


/* 18. Product gallery carousel -------------------------------------------------------------------------------------
   npf-theme.css switches .pd-stage to overflow:visible as soon as the carousel JS sets data-carousel="ready", for a
   coverflow effect. That needs a wide column, and the product hero is two columns: the prev/next slides are translated
   by 108% of their own width (~600px) and so escaped the gallery and landed on top of the product heading, body copy,
   price and Add-to-cart button. 18.1 clips at the stage again and pulls the neighbours back to a peek inside the frame;
   --carousel-direction is kept so the RTL pages still mirror.

   18.2: the slide was 80% x 90% of a square stage and the image carried up to 32px of padding, so every shot sat inside
   a thick white border - the padding plus a letterbox band from object-fit:contain in a non-square box. A square slide
   with no padding lets the square product renders fill the card edge to edge. contain is kept on purpose, so a portrait
   or landscape shot is letterboxed rather than cropped through the product.
   --------------------------------------------------------------------------------------------------------------- */
/* 18.1 */
html:root .pd-gallery[data-carousel~="ready"] .pd-stage {
  overflow: hidden !important;
}

html:root .pd-gallery[data-carousel~="ready"] .pd-slide[data-position~="prev"] {
  transform: translate3d(calc(var(--carousel-direction, 1) * -88%), 0, 0) scale(.84) !important;
  opacity: .45 !important;
}

html:root .pd-gallery[data-carousel~="ready"] .pd-slide[data-position~="next"] {
  transform: translate3d(calc(var(--carousel-direction, 1) * 88%), 0, 0) scale(.84) !important;
  opacity: .45 !important;
}

/* 18.2 */

html:root .pd-gallery[data-carousel~="ready"] .pd-slide {
  inset: 10% !important;
  width: 80% !important;
  height: 80% !important;
  overflow: hidden !important;
}

html:root .pd-gallery[data-carousel~="ready"] .pd-slide img {
  padding: 0 !important;
  border-radius: inherit !important;
}


/* 19. Photo band headline, accent half -------------------------------------------------------------------------------
   Each photo band's headline is two spans: a white first line and an accent second line painted with the brand gradient
   through background-clip:text. The gradient stops are #0F4D4F / #165D5B / #405A35 - built for a light surface - and the
   fill is transparent, so the light ink section 17 sets on the heading never reaches that half. Measured against the
   photographs' brightest pixels under the glyph boxes, through the thinnest part of each band's scrim:

       .ca-perspective  1.78 / 1.42 / 1.43 : 1
       .ca-contact      2.09 / 1.67 / 1.68 : 1      (floor for large text is 3:1)

   Same gradient shape and angle, light values: 3.52-4.42:1 on both bands. The white first line already measured
   4.97 and 4.23 and is untouched, so the headline keeps its two-tone reading.
   --------------------------------------------------------------------------------------------------------------- */

html:root .ca-site :is(.ca-perspective, .ca-contact) h2 > span:nth-of-type(2) {
  background-image: linear-gradient(112deg, #cdf0e4, #b8ecdc 48%, #d8f0c9) !important;
}


/* 20. Type floor ------------------------------------------------------------------------------------------------------
   GENERATED BLOCK - do not hand-edit. Regenerate with:  python3 .dev/npf-type-floor.py

   The exported CSS declares a font-size under 14px in roughly 550 selectors, spread across the Next.js chunks in
   _next/static/css plus npf-ui.css, npf-theme.css and shop/shop.css, reaching 6-8px at the phone breakpoints. The Next
   source left this repo on 2026-10-31, so those sizes cannot be corrected where they are written.

   The generator reads the stylesheets and raises only the selectors that declare a size below the floor for their role,
   so anything already at or above the floor keeps its size and the type hierarchy survives. Two floors, because one does
   not fit: 14px for text meant to be read, and 11px for the tracked Latin micro-labels (.ca-mono eyebrows, header and
   footer meta, chips, kbd) - taking those to 14 would break the header on a 360px phone.

   Because the block names selectors from the build output, re-run the generator after a re-export; it has a --check mode
   that exits 1 when this block is stale.
   --------------------------------------------------------------------------------------------------------------- */

/* 19.2 generated by .dev/npf-type-floor.py - do not hand-edit */

html:root .ca-site :is(
  .atlas-search-meta,
  .atlas-search-result-meta,
  .ca-card-meta,
  .ca-card-meta .ca-mono,
  .ca-catalog-count,
  .ca-contact-location>.ca-mono,
  .ca-dossier-index>a>.ca-mono,
  .ca-editorial-rule>.ca-mono,
  .ca-footer-bottom,
  .ca-footer-bottom a,
  .ca-footer-bottom>.ca-mono,
  .ca-hero-bottom>.ca-mono,
  .ca-hero-field-note>.ca-mono,
  .ca-menu-links>a>.ca-mono,
  .ca-partnership-cta .ca-mono,
  .ca-partnership-direction-copy>.ca-mono,
  .ca-partnership-fit .ca-mono,
  .ca-partnership-proof .ca-mono,
  .ca-partnership-signal>.ca-mono,
  .ca-product-row>.ca-mono,
  .ca-reading summary>.ca-mono,
  .ca-science-audience .ca-mono,
  .ca-science-cta .ca-mono,
  .ca-science-invite-copy>.ca-mono,
  .ca-science-manifesto-copy>.ca-mono,
  .ca-science-process>div>.ca-mono,
  .ca-science-track-grid .ca-mono,
  .ca-section-index>.ca-mono,
  .ca-site .atlas-dock kbd,
  .ca-site .ca-editorial-visual figcaption>.ca-mono,
  .ca-site .ca-footer-bottom,
  .ca-stage-caption,
  .ca-stage-meta>.ca-mono,
  .ca-study-note>.ca-mono,
  .constellation-count span,
  .hb-card-answer .ca-mono,
  .hb-card-question .ca-mono,
  .hb-card-topline .ca-mono,
  .hb-closing .ca-mono,
  .hb-emergency-heading .ca-mono,
  .hb-glossary-grid .ca-mono,
  .hb-guide-heading .ca-mono,
  .hb-invite-copy>.ca-mono,
  .hb-section-heading .ca-mono,
  .nile-hero-product-meta small,
  .p3-companion-intro .ca-mono,
  .p3-section-heading .ca-mono,
  .p3-source-results>header .ca-mono
) { font-size: 11px !important; }

html:root .ca-site :is(
  .article-quick-read li,
  .article-quick-read p,
  .article-quick-source small,
  .article-quick-source span,
  .article-quick-source strong,
  .atlas-action-button,
  .atlas-action-button.is-compact,
  .atlas-action-message,
  .atlas-compare-label,
  .atlas-compare-product-head a,
  .atlas-compare-table,
  .atlas-compare-table tbody th,
  .atlas-depth-options small,
  .atlas-dock b,
  .atlas-dock>a,
  .atlas-dock>button,
  .atlas-explore-hero>aside,
  .atlas-gateway-intro>p:first-of-type,
  .atlas-gateway-note,
  .atlas-journey-column li i,
  .atlas-journey-column li small,
  .atlas-journey-column li span,
  .atlas-journey-column li strong,
  .atlas-journey-column-note,
  .atlas-journey-column-title span,
  .atlas-journey-disclaimer,
  .atlas-journey-empty,
  .atlas-journey-library-links a,
  .atlas-journey-option small,
  .atlas-mode-switch label small,
  .atlas-mode-switch label strong,
  .atlas-mode-switch-label,
  .atlas-saved-grid article>div:last-child a,
  .atlas-saved-grid article>div:last-child button,
  .atlas-saved-grid article>small,
  .atlas-saved-grid p,
  .atlas-search-dialog [data-slot=dialog-description],
  .atlas-search-notice,
  .atlas-search-notice button,
  .atlas-search-recent li>button,
  .atlas-search-result-copy small,
  .atlas-search-result-copy strong,
  .atlas-search-result-copy>span,
  .atlas-search-results-head a,
  .atlas-search-results-head h3,
  .atlas-search-state a,
  .atlas-search-state button,
  .atlas-search-state-help,
  .atlas-workspace-clear,
  .atlas-workspace-empty a,
  .atlas-workspace-empty p,
  .atlas-workspace-hero>aside,
  .atlas-workspace-panel>header p,
  .atlas-workspace-tabs button,
  .ca-applied-filters>a,
  .ca-atlas-empty-actions button,
  .ca-breadcrumb,
  .ca-card-actions>.ca-solid-link,
  .ca-card-copy>p,
  .ca-card-copy>small,
  .ca-card-price,
  .ca-card-price small,
  .ca-catalog-filters a,
  .ca-catalog-filters summary,
  .ca-catalog-filters-toggle,
  .ca-catalog-ledger,
  .ca-catalog-search input,
  .ca-composition-context,
  .ca-composition-note,
  .ca-composition-table,
  .ca-contact-address>p,
  .ca-contact-bottom>p,
  .ca-contact-location,
  .ca-contact-orbit>small,
  .ca-detail-tab,
  .ca-dossier-download small,
  .ca-dossier-table,
  .ca-editorial-rule,
  .ca-empty,
  .ca-eyebrow,
  .ca-file-links a,
  .ca-footer-art-note,
  .ca-footer-socials>a,
  .ca-header .ca-desktop-nav,
  .ca-hero-bottom,
  .ca-hero-field-note>div,
  .ca-home .ca-hero-quick>a,
  .ca-home .ca-hero-quick>button,
  .ca-line-link,
  .ca-load-note,
  .ca-medical-note,
  .ca-menu-search,
  .ca-noscript-note,
  .ca-partner>span,
  .ca-partnership-cta small,
  .ca-partnership-direction-copy>strong,
  .ca-partnership-fit li,
  .ca-partnership-process li p,
  .ca-partnership-scope-grid p,
  .ca-partnership-signal-link,
  .ca-partnership-signal-route>span,
  .ca-pdf-link,
  .ca-pdf-link small,
  .ca-pdp-form,
  .ca-pdp-form>span,
  .ca-pdp-identifiers,
  .ca-pdp-identifiers dt,
  .ca-pdp-identifiers small,
  .ca-pdp-note,
  .ca-pdp-price>p,
  .ca-pdp-price>span,
  .ca-presence figcaption,
  .ca-product-description,
  .ca-product-detail,
  .ca-product-row small,
  .ca-product-subtitle,
  .ca-reading details>p,
  .ca-reading-document small,
  .ca-reading-source-link,
  .ca-reference-list li,
  .ca-results,
  .ca-science-audience li,
  .ca-science-cta small,
  .ca-science-cta-link,
  .ca-science-invite-primary,
  .ca-science-invite-secondary,
  .ca-science-links>a,
  .ca-science-orbit-node,
  .ca-science-principles li p,
  .ca-science-process li p,
  .ca-science-track-grid p,
  .ca-site .ca-editorial-visual figcaption,
  .ca-site .ca-footer-brand>p,
  .ca-site .ca-footer-contact-chips>a,
  .ca-site .ca-footer-contact-chips>span,
  .ca-site .ca-footer-cta,
  .ca-site .ca-footer-lockup-copy small,
  .ca-site .ca-footer-nav>a,
  .ca-site .ca-menu-group-title,
  .ca-site .pd-facts dd,
  .ca-site .pd-facts dt,
  .ca-site .pd-pair > a,
  .ca-solid-link,
  .ca-sort-control select,
  .ca-source-route a,
  .ca-source-route>div>span:last-child,
  .ca-store-search select,
  .ca-story-cover figcaption,
  .ca-study-note,
  .constellation-center strong,
  .constellation-cluster-node strong,
  .constellation-cluster-tabs button,
  .constellation-detail>p,
  .constellation-detail>small,
  .constellation-domain-tabs button,
  .constellation-hint,
  .constellation-preview h4,
  .constellation-preview strong,
  .cookie-consent-actions button,
  .cookie-consent-body,
  .cookie-consent-links,
  .cookie-consent-preferences-body,
  .cookie-consent-preferences-body button,
  .cookie-consent-preferences-body small,
  .cookie-consent-preferences-body strong,
  .evidence-constellation noscript a,
  .evidence-constellation>header dt,
  .evidence-constellation>header p,
  .evidence-share-badges span,
  .evidence-share-breadcrumb,
  .evidence-share-card>header>p,
  .evidence-share-columns li,
  .evidence-share-disclaimer,
  .evidence-share-kicker,
  .evidence-share-source a,
  .evidence-share-source small,
  .evidence-share-source span,
  .evidence-share-source strong,
  .eyebrow,
  .hb-card-columns li p,
  .hb-card-footer p,
  .hb-card-footer>a,
  .hb-closing-links>a,
  .hb-closing>div:last-child>small,
  .hb-emergency-action>a>span,
  .hb-emergency-action>p,
  .hb-emergency-action>small,
  .hb-emergency-content>ul>li,
  .hb-glossary-grid p,
  .hb-guide-heading>div:last-child>small,
  .hb-invite-copy>a,
  .hb-topic-list small,
  .hb-visit-steps ul li,
  .nile-compare-float-main,
  .nile-connection-toast,
  .nile-hero-pack-detail small,
  .nile-hero-pack-detail strong,
  .nile-install-guide h3,
  .nile-install-guide p,
  .nile-install-later,
  .nile-install-popover>p,
  .nile-install-primary,
  .nile-install-ready,
  .npf-account-eyebrow,
  .npf-account-hero .npf-account-logout,
  .npf-account-latest__actions .npf-link,
  .npf-account-latest__label,
  .npf-account-order-stats dd,
  .npf-account-order-stats dt,
  .npf-account-profile__head .npf-account-eyebrow,
  .npf-account-profile__list dd,
  .npf-account-profile__list dt,
  .npf-account-profile__note,
  .npf-account-quick__copy small,
  .npf-account-quick__copy strong,
  .npf-account-section-head .npf-link,
  .npf-account-skeleton,
  .npf-account-verification,
  .npf-badge,
  .npf-badge-pill,
  .npf-copied,
  .npf-copy,
  .npf-dl dt,
  .npf-err,
  .npf-field label,
  .npf-in-cart,
  .npf-loc .leaflet-control-attribution,
  .npf-loc-busy,
  .npf-loc-chip,
  .npf-loc-clear,
  .npf-loc-labels .npf-pill,
  .npf-loc-manual,
  .npf-loc-priv,
  .npf-loc-status,
  .npf-loc-warn,
  .npf-ph-offer,
  .npf-price small,
  .npf-rx-pdf,
  .npf-rx-remove,
  .npf-status,
  .npf-steps li,
  .p3-answer-empty a,
  .p3-answer-empty button,
  .p3-answer-empty p,
  .p3-checklist label,
  .p3-checklist-progress,
  .p3-companion-actions a,
  .p3-companion-card>header p,
  .p3-companion-empty a,
  .p3-companion-empty p,
  .p3-companion-products span,
  .p3-companion-products strong,
  .p3-companion-safety p,
  .p3-companion-switcher>p,
  .p3-faq-list p,
  .p3-faq-list summary,
  .p3-field label,
  .p3-field small,
  .p3-hero-proof span,
  .p3-local-note,
  .p3-order-context dd,
  .p3-order-proof,
  .p3-primary-button,
  .p3-published-usage p,
  .p3-quick-prompts button,
  .p3-quick-prompts>p,
  .p3-result-limit,
  .p3-result-state p,
  .p3-safety-card li,
  .p3-secondary-button,
  .p3-source-card footer a,
  .p3-source-limit p,
  .p3-verify-explainer li,
  .preview-notice,
  .product-passport small,
  .product-passport-identity span,
  .product-passport-ledger a,
  .product-passport-ledger dd,
  .product-passport-ledger dt,
  .product-passport-sources span,
  .product-passport-sources strong,
  .product-passport>footer>p,
  .product-passport>header p,
  .product-quick-brief>section li,
  .product-quick-evidence dt,
  .text-\[10px\],
  .text-\[11px\],
  .text-\[12px\],
  .text-\[13px\]
) { font-size: 14px !important; }

@media (max-width:1100px) {
  html:root .ca-site :is(
    .ca-hero-meta>.ca-mono
  ) { font-size: 11px !important; }
}

@media (max-width:1100px) {
  html:root .ca-site :is(
    .atlas-journey-column li span,
    .ca-desktop-nav,
    .ca-product-row small
  ) { font-size: 14px !important; }
}

@media (max-width:360px) {
  html:root .ca-site :is(
    .ca-catalog-count,
    .ca-filter,
    .ca-header .ca-brand small,
    .ca-header .ca-brand>span,
    .ca-hero-field-note>.ca-mono,
    .ca-hero-meta>span:last-child,
    .hb-card-topline .ca-mono
  ) { font-size: 11px !important; }
}

@media (max-width:360px) {
  html:root .ca-site :is(
    .ca-hero-copy>p
  ) { font-size: 14px !important; }
}

@media (max-width:390px) {
  html:root .ca-site :is(
    .atlas-action-button
  ) { font-size: 14px !important; }
}

@media (max-width:520px) {
  html:root .ca-site :is(
    .npf-account-order-stats .npf-account-order-total,
    .npf-account-order-stats dd
  ) { font-size: 14px !important; }
}

@media (max-width:560px) {
  html:root .ca-site :is(
    .npf-steps li
  ) { font-size: 14px !important; }
}

@media (max-width:660px) {
  html:root .ca-site :is(
    .ca-site .ca-editorial-visual figcaption>.ca-mono
  ) { font-size: 11px !important; }
}

@media (max-width:660px) {
  html:root .ca-site :is(
    .ca-catalog-empty p
  ) { font-size: 14px !important; }
}

@media (max-width:760px) {
  html:root .ca-site :is(
    .ca-brand small,
    .ca-brand>span,
    .ca-card-meta,
    .ca-card-meta>.ca-mono,
    .ca-catalog-count,
    .ca-catalog-ledger>.ca-mono,
    .ca-contact-location>.ca-mono,
    .ca-editorial-rule>.ca-mono,
    .ca-filter,
    .ca-footer-bottom,
    .ca-footer-bottom a,
    .ca-footer-bottom>.ca-mono,
    .ca-footer-bottom>span:nth-child(2),
    .ca-header .ca-brand small,
    .ca-header .ca-brand>span,
    .ca-hero-field-note>.ca-mono,
    .ca-hero-meta,
    .ca-hero-meta>.ca-mono,
    .ca-hero-meta>span:last-child,
    .ca-index-help,
    .ca-index-label,
    .ca-pdp-gallery .ca-section-index>.ca-mono,
    .ca-product-row>.ca-mono,
    .ca-reading summary>.ca-mono,
    .ca-section-index,
    .ca-section-index>.ca-mono,
    .ca-site .ca-brand-copy small.ca-brand-line,
    .ca-stage-caption,
    .ca-stage-meta>.ca-mono,
    html[lang=en] .ca-filter
  ) { font-size: 11px !important; }
}

@media (max-width:760px) {
  html:root .ca-site :is(
    .ca-access-heading>p,
    .ca-atlas-title-row>p,
    .ca-benefit-list,
    .ca-breadcrumb,
    .ca-card-copy>p,
    .ca-catalog-filters a,
    .ca-catalog-filters summary,
    .ca-catalog-ledger,
    .ca-catalog-search input,
    .ca-company-statements p,
    .ca-composition-note,
    .ca-composition-table td,
    .ca-composition-table th,
    .ca-contact-address li,
    .ca-contact-bottom>p,
    .ca-contact-location,
    .ca-contact-orbit>small,
    .ca-detail-tab,
    .ca-dossier-download,
    .ca-dossier-download small,
    .ca-dossier-prose,
    .ca-dossier-table,
    .ca-dossier-table td,
    .ca-dossier-table th,
    .ca-editorial-rule,
    .ca-file-links a,
    .ca-hero-bottom,
    .ca-hero-bottom>a,
    .ca-hero-cta,
    .ca-hero-field-note>div,
    .ca-home .ca-hero-quick>a,
    .ca-home .ca-hero-quick>button,
    .ca-line-link,
    .ca-long-read>p,
    .ca-long-read>summary,
    .ca-map-link,
    .ca-medical-note,
    .ca-partner>span,
    .ca-partnership-cta-link,
    .ca-partnership-cta>div:last-child>p,
    .ca-partnership-direction-copy p,
    .ca-partnership-fit article>p,
    .ca-partnership-proof>p,
    .ca-partnership-section-heading>p,
    .ca-partnership-signal-copy>p,
    .ca-pdf-link,
    .ca-pdf-link small,
    .ca-pdp-actions .ca-solid-link,
    .ca-pdp-form,
    .ca-pdp-note,
    .ca-principles p,
    .ca-product-description,
    .ca-product-detail,
    .ca-product-row small,
    .ca-product-subtitle,
    .ca-reading details>p,
    .ca-reading summary,
    .ca-reading-document small,
    .ca-reading-intro>p,
    .ca-reference-list,
    .ca-results,
    .ca-science-audience p,
    .ca-science-cta-link,
    .ca-science-cta>div:last-child>p,
    .ca-science-heading>p,
    .ca-science-invite-copy>p,
    .ca-science-manifesto-copy p,
    .ca-science-manifesto-copy>strong,
    .ca-science-orbit-node,
    .ca-science-principles li p,
    .ca-science-process li p,
    .ca-science-process>div>p,
    .ca-science-track-grid p,
    .ca-source-content p,
    .ca-store-search .ca-solid-link,
    .ca-store-search input,
    .ca-story-chapters p,
    .ca-study-note,
    .hb-topic-list strong,
    .nile-bottom-tab,
    .nile-sticky-buy-info span,
    .nile-sticky-buy-info strong,
    .preview-notice,
    html[lang=en] .ca-reading summary
  ) { font-size: 14px !important; }
}

@media (max-width:760px) and (max-height:700px) {
  html:root .ca-site :is(
    .cookie-consent-actions button,
    .cookie-consent-links,
    .cookie-consent-title
  ) { font-size: 14px !important; }
}

/* end 19.2 */


/* 21. Partnership page surface ---------------------------------------------------------------------------------------
   Every section on /partnerships carries a surface of its own - direction and process are near-black, fit is the light
   card, proof is the lime band - except .ca-partnership-scope and .ca-partnership-cta, which are transparent. Those two
   therefore show the raw page green (#8dada5 after section 6 deepens the mist page tone) under dark ink, and read as
   murky next to their neighbours. Given the page's own light surface so the rhythm holds down the page.
   --------------------------------------------------------------------------------------------------------------- */

html:root .ca-site :is(.ca-partnership-scope, .ca-partnership-cta) {
  background: linear-gradient(170deg, rgba(241, 247, 243, .94), rgba(230, 240, 234, .88)) !important;
}


/* 22. Principle cards (/about) ----------------------------------------------------------------------------------------
   The three cards under "THE WAY WE WORK" have a glass background, an 18px radius and a hairline border, but their
   padding is 25px 0 0 - no sides and no foot - so the heading and the copy ran into the card's own edge and the index
   number sat on the corner. Padded on all four sides; the section's own 40px foot then reads as deliberate.
   --------------------------------------------------------------------------------------------------------------- */

html:root .ca-site .ca-principles ol > li {
  padding: 24px 22px 26px !important;
}


/* 18. Home hero photograph: the garden walk (swapped with the perspective band on 2026-11-16) ----------------------
   npf-theme.css paints the hero through .ca-hero::before (the <img> is hidden in every theme), so the swap lives here,
   the last stylesheet, with each theme keeping its own light veil over the photo. The couple sits left of centre, which
   keeps them clear of the copy card on desktop (RTL: card on the right; LTR: the veil is even).
   --------------------------------------------------------------------------------------------------------------- */
html:root[data-theme="mist"] .ca-site .ca-home .ca-hero::before {
  background:
    linear-gradient(110deg, rgba(8, 30, 29, 0.2), rgba(8, 30, 29, 0.04) 48%, rgba(8, 30, 29, 0.2)),
    url("/art/theme/couple-garden-walk.webp") 36% 50% / cover !important;
}
html:root[data-theme="light"] .ca-site .ca-home .ca-hero::before {
  background:
    linear-gradient(110deg, rgba(244, 246, 242, 0.08), rgba(244, 246, 242, 0.02) 48%, rgba(244, 246, 242, 0.12)),
    url("/art/theme/couple-garden-walk.webp") 36% 50% / cover !important;
}
html:root[data-theme="dark"] .ca-site .ca-home .ca-hero::before {
  background:
    linear-gradient(110deg, rgba(3, 16, 31, 0.42), rgba(3, 16, 31, 0.17) 48%, rgba(3, 16, 31, 0.38)),
    url("/art/theme/couple-garden-walk.webp") 36% 50% / cover !important;
}

/* 19. Home pack band with the 3D box ----------------------------------------------------------------------------------
   The viewer marks its host .b3-host, and box3d.css v8 makes every host position:relative. The pack in this band is
   placed with position:absolute (top / inset-inline-start), so as a relative box those offsets pushed it up and out of
   the card at some widths. Keep it absolute here; box3d.css is fixed too, for the next viewer version.
   --------------------------------------------------------------------------------------------------------------- */
html:root .nile-pack-band .nile-hero-product.b3-host { position: absolute !important; }

/* 20. Hero: lighter blur, no hover effects ---------------------------------------------------------------------------
   The copy panel blurred the photo behind it (4px; it covers the whole card below ~760px, so the couple went soft), and
   backdrop-filter repaints left hard-edged rectangles while the pointer moved over the hero. A 1px veil keeps the glass
   feel on desktop; on narrow screens the scrim alone carries the contrast. Hover no longer moves or tints anything in
   the hero or the pack band.
   --------------------------------------------------------------------------------------------------------------- */
html:root .ca-site .ca-home .ca-hero .ca-hero-copy {
  -webkit-backdrop-filter: blur(1px) saturate(1.1) !important;
  backdrop-filter: blur(1px) saturate(1.1) !important;
}
@media (max-width: 1024px) {
  html:root .ca-site .ca-home .ca-hero .ca-hero-copy {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
html:root .ca-site .ca-home .ca-hero :is(.ca-hero-field-note, .ca-hero-meta) {
  -webkit-backdrop-filter: blur(6px) saturate(1.1) !important;
  backdrop-filter: blur(6px) saturate(1.1) !important;
}
html:root .ca-site .ca-home .ca-hero::before,
html:root .ca-site .ca-home .ca-hero::after,
html:root .ca-site .ca-home .ca-hero .ca-hero-field-note,
html:root .ca-site .ca-home .ca-hero .ca-hero-field-note::before { transition: none !important; }
html:root .ca-site .ca-home .ca-hero .ca-hero-field-note:hover {
  transform: none !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.98), 0 28px 72px -36px rgba(6, 40, 43, 0.6) !important;
}
html:root .nile-pack-band .nile-hero-showcase:hover .nile-hero-product { transform: rotate(-4deg) !important; }
html:root[dir="rtl"] .nile-pack-band .nile-hero-showcase:hover .nile-hero-product,
html:root [dir="rtl"] .nile-pack-band .nile-hero-showcase:hover .nile-hero-product { transform: rotate(4deg) !important; }
@media (max-width: 760px) {
  html:root .nile-pack-band .nile-hero-showcase:hover .nile-hero-product { transform: translateY(-50%) rotate(-4deg) !important; }
  html:root[dir="rtl"] .nile-pack-band .nile-hero-showcase:hover .nile-hero-product,
  html:root [dir="rtl"] .nile-pack-band .nile-hero-showcase:hover .nile-hero-product { transform: translateY(-50%) rotate(4deg) !important; }
}

/* 23. Product page on phones ------------------------------------------------------------------------------------------
   The hero card wrapped the gallery in 20px of padding, and the coverflow then shrank the active slide to 80% of that and
   kept a peek of the neighbours, so on a 390px phone the photo / 3D box got ~250px. Below 760px the card padding drops,
   the active slide fills the stage edge to edge (neighbours slide fully out instead of peeking), and the carousel arrows
   move to the lower corners so the middle of the stage is free for turning the box (tap or pinch it for full screen).
   The summary card had a border but no padding, so its copy ran into the border; it gets an inner margin.
   --------------------------------------------------------------------------------------------------------------- */
@media (max-width: 760px) {
  html:root .pd .pd-hero { padding: 12px !important; gap: 16px !important; border-radius: 26px !important; }
  html:root .pd-gallery[data-carousel~="ready"] .pd-stage { aspect-ratio: 1 / 1 !important; border-radius: 20px !important; }
  html:root .pd-gallery[data-carousel~="ready"] .pd-stage::before { display: none !important; }
  html:root .pd-gallery[data-carousel~="ready"] .pd-slide {
    inset: 0 !important; width: 100% !important; height: 100% !important; border-radius: 20px !important;
  }
  html:root .pd-gallery[data-carousel~="ready"] .pd-slide[data-position~="prev"] {
    transform: translate3d(calc(var(--carousel-direction, 1) * -104%), 0, 0) scale(.92) !important; opacity: 0 !important;
  }
  html:root .pd-gallery[data-carousel~="ready"] .pd-slide[data-position~="next"] {
    transform: translate3d(calc(var(--carousel-direction, 1) * 104%), 0, 0) scale(.92) !important; opacity: 0 !important;
  }
  html:root .pd-gallery[data-carousel~="ready"] .pd-slide img { padding: 6% !important; }
  html:root .pd-carousel-controls { inset: auto 10px 10px !important; transform: none !important; padding: 0 !important; }
  html:root .pd-carousel-controls button { width: 38px !important; height: 38px !important; }
  html:root .pd-gallery .pd-thumbs { justify-content: center; }
  html:root .pd .pd-info { padding: 18px 16px !important; border-radius: 20px !important; }
  html:root .pd .pd-info h1 { font-size: clamp(1.9rem, 9vw, 2.4rem) !important; }
  html:root .pd .pd-buy .ca-pdp-actions > * { flex: 1 1 100%; justify-content: center; }
  html:root .pd .pd-buy .ca-solid-link { justify-content: center; }
}
/* the summary card's copy ran into its border at every width */
html:root .pd .pd-info { padding: clamp(18px, 2.4vw, 32px) !important; border-radius: 22px !important; }
/* the 3D slide's hint sits above the arrows */
@media (max-width: 760px) {
  html:root .pd-slide .b3-hint { bottom: 58px !important; }
}

/* 24. Mobile menu sheet: readable labels in Mist and Light ---------------------------------------------------------------
   The sheet is light in Mist and Light, but several labels kept the light ink made for the dark sheet (#dfe9ef / #f0f5f1)
   and all but disappeared: the group titles ("ابدأ من هنا", "اعرف NPF", "الإعدادات", ...), the 01..14 numbers, the
   "search products" and "install app" labels, and the dark-mode toggle (moon) icon. Mist / Light now use the brand's dark
   ink, and the toggle gets the same round button as the EN switch beside it. Dark keeps its light ink.
   The injected "Customer reviews" row had only text, so in the 3-column row grid it fell into the 34px number column and
   wrapped; it gets a mark and an arrow like its neighbours.
   --------------------------------------------------------------------------------------------------------------- */
html:root:not(.dark) .ca-menu-group-title { color: #2c5c54 !important; opacity: 1 !important; font-weight: 600 !important; letter-spacing: .06em; }
html:root:not(.dark) .ca-menu-group > a > .ca-mono { color: #486a64 !important; opacity: 1 !important; }
html:root.dark .ca-menu-group-title { color: #9fd3ea !important; opacity: 1 !important; }
html:root:not(.dark) .ca-menu-utilities .ca-menu-search,
html:root:not(.dark) .ca-menu-utilities .ca-menu-search svg,
html:root:not(.dark) .ca-menu-utilities .nile-install-launcher-label { color: #17383d !important; opacity: 1 !important; }
html:root:not(.dark) .ca-menu-utilities .ca-menu-search svg { stroke: currentColor !important; }
html:root:not(.dark) .ca-menu-utilities-tools > button:not(.ca-menu-search):not(.nile-install-launcher) {
  color: #17383d !important; border: 1px solid rgba(10, 34, 64, .18) !important; border-radius: 50% !important;
  background: linear-gradient(150deg, rgba(255, 255, 255, .97), rgba(238, 246, 255, .86)) !important;
  box-shadow: 0 16px 38px -24px rgba(10, 34, 64, .55), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
}
html:root:not(.dark) .ca-menu-utilities-tools > button:not(.ca-menu-search):not(.nile-install-launcher) svg { color: #17383d !important; stroke: currentColor !important; }
.ca-menu-group .npf-mobile-review-link::before { content: "★"; font-family: var(--font-mono, ui-monospace, monospace); font-size: 12.5px; color: #486a64; }
html:root.dark .ca-menu-group .npf-mobile-review-link::before { color: #dfe9ef; }
.ca-menu-group .npf-mobile-review-link::after {
  content: "↗"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; justify-self: end;
  background: linear-gradient(150deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .55)); color: #0b4f55; box-shadow: 0 2px 8px -4px rgba(10, 40, 35, .3);
}
html:root.dark .ca-menu-group .npf-mobile-review-link::after { background: linear-gradient(150deg, rgba(170, 215, 255, .21), rgba(120, 170, 240, .075)); color: #5ccdf2; box-shadow: none; }

/* 25. Product discovery: calmer search, compact gateway cards and a consistent mobile catalogue --------------- */
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex: 0 1 390px !important;
  width: min(100%, 390px) !important;
  max-width: 390px !important;
  min-height: 54px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--nile-hair) !important;
  border-radius: 18px !important;
  background: var(--nile-surf) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 8px 20px -16px var(--nile-dsh) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search:focus-within {
  border-color: var(--nile-cy) !important;
  background: var(--nile-panel-strong) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nile-cy) 16%, transparent), inset 0 1px 0 rgba(255,255,255,.72) !important;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search > span:first-child {
  display: grid !important;
  flex: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--nile-tabOn);
  color: var(--nile-cy) !important;
  font: 400 23px/1 Arial, sans-serif !important;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nile-text) !important;
  font-size: 14px !important;
  text-align: start;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search input:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search input::placeholder {
  color: var(--nile-text3) !important;
  opacity: 1;
}
html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search > span:last-child {
  display: grid !important;
  flex: none;
  width: 28px;
  height: 27px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid var(--nile-hair);
  border-radius: 8px;
  background: var(--nile-glass3);
  color: var(--nile-text3) !important;
  font-size: 12px !important;
  line-height: 1;
}

/* The catalogue search is one compact control (rather than a tall, wrapping form on phones). */
html:root .ca-site .ca-catalog-shell {
  padding-block: 20px 52px !important;
}
html:root .ca-site .ca-catalog-ledger {
  align-items: center;
  gap: 12px;
  margin-bottom: 14px !important;
}
html:root .ca-site .ca-store-search {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 10px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: 1px solid var(--nile-hair) !important;
  border-radius: 20px !important;
  background: var(--nile-glass2) !important;
  box-shadow: var(--nile-shadow) !important;
}
html:root .ca-site .ca-store-search > svg {
  display: block;
  width: 21px;
  height: 21px;
  justify-self: center;
  color: var(--nile-cy) !important;
}
html:root .ca-site .ca-store-search input {
  width: 100% !important;
  min-width: 0 !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nile-text) !important;
  font-size: 15px !important;
  text-align: start;
}
html:root .ca-site .ca-store-search input:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
html:root .ca-site .ca-store-search input::placeholder {
  color: var(--nile-text3) !important;
  opacity: 1;
}
html:root .ca-site .ca-store-search .ca-solid-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 46px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--nile-cta) !important;
  color: var(--nile-ctaText) !important;
  font-size: 14px !important;
  font-weight: 700;
  white-space: nowrap;
}
html:root .ca-site .ca-catalog-type-row {
  margin-block: 16px 8px !important;
}
html:root .ca-site .ca-catalog-toolbar {
  align-items: center;
  gap: 10px !important;
  margin: 12px 0 6px !important;
}
html:root .ca-site .ca-catalog-filters-toggle,
html:root .ca-site .ca-sort-control {
  min-height: 46px !important;
  border: 1px solid var(--nile-hair) !important;
  border-radius: 14px !important;
  background: var(--nile-glass3) !important;
  color: var(--nile-text) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
html:root .ca-site .ca-catalog-filters-toggle {
  gap: 9px;
  margin: 0 !important;
  padding: 0 15px !important;
  font-size: 14px !important;
}
html:root .ca-site .ca-sort-control {
  gap: 8px;
  padding-inline: 12px 6px !important;
}
html:root .ca-site .ca-sort-control select {
  min-height: 42px !important;
  padding-inline: 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--nile-text) !important;
}
html:root .ca-site .ca-sort-dir {
  display: grid;
  flex: none;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--nile-hair);
  border-radius: 50%;
  background: var(--nile-surf);
  color: var(--nile-text) !important;
}
html:root .ca-site .ca-results {
  margin: 10px 2px 12px !important;
  color: var(--nile-text2) !important;
}
html:root .ca-site .ca-results > p {
  margin: 0 !important;
}

/* Product cards share one image stage, steady spacing and a predictable copy rhythm. */
html:root .ca-site .ca-catalog-grid {
  align-items: stretch;
  gap: 18px !important;
}
html:root .ca-site .ca-catalog-card {
  min-width: 0;
  border-radius: 24px !important;
  box-shadow: var(--nile-card-shadow), inset 0 1px 0 rgba(255,255,255,.45) !important;
}
html:root .ca-site .ca-card-meta {
  min-height: 44px;
  padding: 10px 15px !important;
}
html:root .ca-site .ca-card-art {
  height: 220px !important;
  margin: 7px !important;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 18px !important;
  background: var(--nile-panel-soft) !important;
}
html:root .ca-site .ca-card-art > img {
  padding: 22px !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 14px 18px rgba(14, 40, 37, .18)) !important;
}
html:root .ca-site .ca-card-copy {
  min-width: 0;
  gap: 9px !important;
  padding: 17px !important;
}
html:root .ca-site .ca-card-copy :is(h2, h3) {
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.2 !important;
}
html:root .ca-site .ca-card-copy > p {
  min-height: 0 !important;
  margin: 0 !important;
  color: var(--nile-text2) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  -webkit-line-clamp: 3;
}
html:root .ca-site .ca-card-copy > small {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid var(--nile-hair);
  border-radius: 999px;
  background: var(--nile-glass3);
  color: var(--nile-text3) !important;
  line-height: 1.35;
}
html:root .ca-site .ca-card-price {
  gap: 8px;
  padding-block: 12px 2px !important;
  line-height: 1.55;
}
html:root .ca-site .ca-card-buy {
  gap: 8px !important;
  margin-top: 8px !important;
}
html:root .ca-site .ca-card-actions {
  gap: 7px !important;
}

/* The home-page question cards were reserving far more height than their content needs. */
html:root .ca-site .ca-home .atlas-gateway-paths {
  gap: 12px !important;
  margin-top: 22px !important;
}
html:root .ca-site .ca-home .atlas-gateway-card {
  height: auto !important;
  min-height: 150px !important;
  padding: 21px 22px !important;
  border-radius: 22px !important;
}
html:root .ca-site .ca-home .atlas-gateway-card strong {
  max-width: 34ch;
  line-height: 1.35;
  text-wrap: pretty;
}
html:root .ca-site .ca-home .atlas-gateway-card > svg {
  width: 34px;
  height: 34px;
  flex: none;
}
html:root .ca-site .ca-home .atlas-gateway-toggle {
  width: 40px;
  height: 40px;
}

/* A dark photo panel sits under the partner lockup even in Light/Mist mode; give its label the same contrast as its logo. */
html:root:not([data-theme="dark"]) .ca-site .ca-perspective .ca-partner > span {
  display: inline-block;
  max-width: 18ch !important;
  padding: 7px 11px;
  border: 1px solid rgba(232, 245, 239, .3);
  border-radius: 999px;
  background: rgba(235, 247, 241, .12);
  color: #f0f7f3 !important;
  font-size: 13px !important;
  font-weight: 650;
  line-height: 1.4 !important;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .32);
}

@media (max-width: 760px) {
  html:root .ca-site .ca-home .ca-atlas-toolbar {
    gap: 10px !important;
    padding: 11px !important;
  }
  html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-count {
    order: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
  }
  html:root .ca-site .ca-home .ca-atlas-toolbar .ca-filters {
    order: 1 !important;
    flex: 1 1 100% !important;
  }
  html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search {
    order: 2 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: none !important;
  }
  html:root .ca-site .ca-home .ca-atlas-toolbar .ca-catalog-search > span:last-child {
    display: none !important;
  }
  html:root .ca-site .ca-catalog-shell {
    padding-block: 17px 42px !important;
  }
  html:root .ca-site .ca-store-search {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 7px !important;
    padding: 6px 7px !important;
    border-radius: 18px !important;
  }
  html:root .ca-site .ca-store-search input {
    height: 44px !important;
    min-height: 44px !important;
    font-size: 14px !important;
  }
  html:root .ca-site .ca-store-search .ca-solid-link {
    min-width: 76px;
    min-height: 44px !important;
    padding-inline: 14px !important;
    border-radius: 13px !important;
  }
  html:root .ca-site .ca-catalog-type-row {
    margin-block: 13px 5px !important;
    padding: 3px;
  }
  html:root .ca-site .ca-catalog-type-row .ca-type-chip {
    min-height: 40px;
    padding-inline: 15px;
  }
  html:root .ca-site .ca-catalog-toolbar {
    gap: 8px !important;
    margin-top: 10px !important;
  }
  html:root .ca-site .ca-catalog-filters-toggle,
  html:root .ca-site .ca-sort-control {
    min-height: 44px !important;
    border-radius: 13px !important;
  }
  html:root .ca-site .ca-results {
    margin-block: 7px 10px !important;
  }
  html:root .ca-site .ca-catalog-grid {
    gap: 14px !important;
  }
  html:root .ca-site .ca-card-art {
    height: 188px !important;
    border-radius: 16px !important;
  }
  html:root .ca-site .ca-card-art > img {
    padding: 16px !important;
  }
  html:root .ca-site .ca-card-copy {
    gap: 8px !important;
    padding: 14px !important;
  }
  html:root .ca-site .ca-card-copy :is(h2, h3) {
    font-size: 21px !important;
  }
  html:root .ca-site .ca-card-price {
    font-size: 13px !important;
  }
  html:root .ca-site .ca-home .atlas-gateway-card {
    min-height: 136px !important;
    padding: 20px 18px !important;
  }
  html:root .ca-site .ca-home .atlas-gateway-card > svg {
    width: 31px;
    height: 31px;
  }
  html:root .ca-site .ca-home .atlas-gateway-toggle {
    width: 38px;
    height: 38px;
  }
}

/* On small screens, place the catalogue image beside its copy instead of making every product a tall poster. */
@media (max-width: 640px) {
  html:root .ca-site .ca-catalog-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 36%) !important;
    grid-template-areas:
      "meta meta"
      "art copy";
    align-items: stretch;
  }
  html:root .ca-site .ca-card-meta { grid-area: meta; }
  html:root .ca-site .ca-card-art {
    grid-area: art;
    height: auto !important;
    min-height: 100%;
    aspect-ratio: 1 / 1;
    align-self: stretch;
    margin: 8px !important;
  }
  html:root .ca-site .ca-card-copy {
    grid-area: copy;
    min-width: 0;
    padding: 12px 12px 12px 8px !important;
    gap: 7px !important;
  }
  html:root .ca-site .ca-card-copy :is(h2, h3) {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }
  html:root .ca-site .ca-card-copy > p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
  }
  html:root .ca-site .ca-card-copy > small {
    display: none !important;
  }
  html:root .ca-site .ca-card-price {
    gap: 5px;
    padding-block: 8px 1px !important;
    font-size: 12px !important;
    line-height: 1.4;
  }
  html:root .ca-site .ca-card-buy {
    align-items: stretch;
    flex-direction: column;
    gap: 6px !important;
    margin-top: 5px !important;
  }
  html:root .ca-site .ca-card-buy > [role="group"] {
    align-self: flex-start;
  }
  html:root .ca-site .ca-card-buy .ca-card-add {
    min-width: 0 !important;
    min-height: 40px !important;
    width: 100%;
    padding-inline: 9px !important;
    font-size: 12px !important;
    white-space: normal !important;
  }
  html:root .ca-site .ca-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 38px 38px;
    gap: 5px !important;
  }
  html:root .ca-site .ca-card-actions > .ca-solid-link {
    min-width: 0;
    min-height: 40px !important;
    padding-inline: 9px !important;
    font-size: 12px !important;
  }
  html:root .ca-site .ca-card-actions > button,
  html:root .ca-site .ca-card-actions .atlas-action-wrap,
  html:root .ca-site .ca-card-actions .atlas-action-button.is-compact {
    display: grid;
    width: 38px;
    min-width: 38px !important;
    height: 38px;
    min-height: 38px !important;
    place-items: center;
    padding: 0 !important;
    border-radius: 50%;
  }
  html:root .ca-site .ca-card-actions .atlas-action-button.is-compact > span {
    display: none !important;
  }
}

@media (max-width: 390px) {
  html:root .ca-site .ca-store-search {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
  html:root .ca-site .ca-store-search .ca-solid-link {
    min-width: 68px;
    padding-inline: 11px !important;
  }
  html:root .ca-site .ca-home .atlas-gateway-card {
    min-height: 142px !important;
    padding-inline: 15px !important;
  }
}

html:root .ca-site .ca-home .ca-product-stage > .ca-product-description {
  min-height: 0 !important;
  max-width: 60ch;
  margin: 12px 0 0 !important;
  padding: 11px 14px !important;
  border-inline-start: 3px solid var(--nile-cy);
  border-radius: 12px !important;
  background: var(--nile-glass3) !important;
  color: var(--nile-text2) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
html:root .ca-site .ca-home .ca-product-stage > .ca-product-actions {
  margin-top: 14px !important;
}
@media (max-width: 760px) {
  html:root .ca-site .ca-home .ca-product-stage > .ca-product-description {
    margin-top: 10px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
}
