/* Renovaa — site styles.
   1. Font and design tokens   2. Base   3. Shared pieces   4. Header and navigation
   5. Sections, from top to bottom   6. Footer   7. Motion */

/* 1. Font and design tokens ------------------------------------------------------ */

/* Plus Jakarta Sans (SIL Open Font License), served from the site. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colours: the navy of our products, and the logo's sky blue, green and copper.
     The "-text" shades are the ones dark enough for text on white. */
  --navy: #023a5a;
  --navy-hover: #034b73;
  --navy-ink: #011d2e;
  --sky: #1ea6e6;
  --sky-light: #5cc3f0;
  --sky-text: #0a70aa;
  --sky-50: #ecf7fd;
  --sky-100: #cfeaf8;
  --green: #1a965a;
  --green-text: #11774a;
  --green-light: #5cc394;
  --green-50: #e9f6ef;
  --copper: #be6a2a;
  --copper-text: #9c5216;
  --copper-50: #fbf0e7;
  /* Renovaa Consult, the consulting branch: navy and gold. Buttons in gold take
     navy text (white on gold is too faint to read). */
  --gold: #c79b4a;
  --gold-hover: #d4aa5c;
  --gold-light: #e2c07a;
  --gold-text: #8a6417;
  --gold-50: #faf4e8;
  --gold-100: #f3e6cb;

  --ink: #062b44;
  --text: #2d4256;
  --muted: #5a6e81;
  --line: #dde7ef;
  --line-strong: #c3d3df;
  --tint: #f3f8fb;
  --on-dark: #dbe8f0;
  --on-dark-muted: #a9c0d0;
  --on-dark-line: rgba(255, 255, 255, 0.14);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-space: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --header-height: 4.75rem;
  --radius-sm: 0.75rem;
  --radius: 1rem;
  --radius-lg: 1.375rem;
  --shadow-sm: 0 1px 2px rgba(2, 42, 66, 0.05), 0 4px 12px -4px rgba(2, 42, 66, 0.08);
  --shadow: 0 2px 6px rgba(2, 42, 66, 0.05), 0 22px 44px -18px rgba(2, 42, 66, 0.25);
  --shadow-lg: 0 34px 70px -24px rgba(1, 18, 30, 0.6), 0 14px 30px -14px rgba(1, 18, 30, 0.4);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* The logo's three colours side by side, used as a small signature. */
  --tricolor: linear-gradient(90deg, var(--green) 0 30%, transparent 30% 35%, var(--copper) 35% 65%, transparent 65% 70%, var(--sky) 70%);
  /* Navy backgrounds: soft light from the corners and a faint grid. */
  --glow: radial-gradient(52rem 32rem at 100% -10%, rgba(30, 166, 230, 0.28), transparent 62%),
    radial-gradient(40rem 30rem at -8% 110%, rgba(26, 150, 90, 0.2), transparent 60%);
  --grid: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  /* The same light in gold, for Renovaa Consult. */
  --glow-gold: radial-gradient(52rem 32rem at 100% -10%, rgba(199, 155, 74, 0.26), transparent 62%),
    radial-gradient(40rem 30rem at -8% 110%, rgba(30, 166, 230, 0.14), transparent 60%);
}

/* 2. Base ---------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

/* Plus Jakarta Sans has narrow word spaces: they are widened a little. */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  word-spacing: 0.06em;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sky-text);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.hero :focus-visible,
.page-hero :focus-visible,
.section--dark :focus-visible,
.sector-card--public :focus-visible,
.list-block--answers :focus-visible,
.stats-band:not(.stats-band--product) :focus-visible,
.fact-sheet :focus-visible,
.contact-aside :focus-visible,
.cta-panel :focus-visible,
.service-value :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--sky-light);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  word-spacing: 0.1em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.45rem + 3vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

strong {
  font-weight: 700;
}

::selection {
  background: rgba(30, 166, 230, 0.25);
}

/* 3. Shared pieces --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section--tint {
  background: var(--tint);
}

.section--dark,
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
}

.section--dark::before,
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid);
  background-size: 3.5rem 3.5rem;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 20%, transparent 75%);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.eyebrow,
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.125rem;
  color: var(--copper-text);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.hero-eyebrow::before {
  content: '';
  width: 2rem;
  height: 0.1875rem;
  flex: none;
  border-radius: 1px;
  background: var(--tricolor);
}

.section--dark .eyebrow,
.page-hero .eyebrow,
.cta-panel .eyebrow,
.hero-eyebrow {
  color: var(--sky-light);
}

.lead {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--muted);
}

.section--dark .lead {
  color: var(--on-dark-muted);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.section-head-title {
  max-width: 46rem;
}

.section-head-aside {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
}

.section-head-aside > .lead:has(+ .lead) {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: 4rem;
  }

  /* A lead of several paragraphs starts level with the title instead. */
  .section-head--split:has(.lead + .lead) {
    align-items: start;
  }
}

.section-head--center {
  justify-items: center;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head--center .section-head-aside {
  justify-items: center;
}

.section-foot {
  margin-top: clamp(2.5rem, 2rem + 1vw, 3.5rem);
}

.list-label {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* An icon on a tinted square, in one of the logo's colours. */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 0.875rem;
  transition: background-color 0.25s, color 0.25s;
}

.icon-tile .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-tile--sky {
  background: var(--sky-50);
  color: #0a78b8;
}

.icon-tile--green {
  background: var(--green-50);
  color: var(--green-text);
}

.icon-tile--copper {
  background: var(--copper-50);
  color: var(--copper-text);
}

.icon-tile--gold {
  background: var(--gold-50);
  color: var(--gold-text);
}

/* Buttons and links */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.125rem;
  padding: 0.8rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.btn .icon-arrow,
.arrow-link .icon-arrow,
.link-list .icon-arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon-arrow,
.arrow-link:hover .icon-arrow,
.link-list a:hover .icon-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(2, 58, 90, 0.7);
}

.btn-primary:hover {
  background: var(--navy-hover);
  color: #fff;
}

/* Sky blue, on the navy backgrounds. */
.btn-accent {
  background: var(--sky);
  color: var(--navy-ink);
  box-shadow: 0 10px 26px -12px rgba(30, 166, 230, 0.9);
}

.btn-accent:hover {
  background: #45b6ec;
  color: var(--navy-ink);
}

/* Gold, for Renovaa Consult. */
.btn-gold {
  background: var(--gold);
  color: var(--navy-ink);
  box-shadow: 0 10px 26px -12px rgba(199, 155, 74, 0.9);
}

.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--navy-ink);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-small {
  min-height: 2.625rem;
  padding: 0.55rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.arrow-link:hover {
  color: var(--sky-text);
}

.arrow-link .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.arrow-link > span:first-child {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s;
}

.arrow-link:hover > span:first-child {
  text-decoration-color: currentColor;
}

.section--dark .arrow-link,
.sector-card--public .arrow-link {
  color: #fff;
}

.section--dark .arrow-link:hover,
.sector-card--public .arrow-link:hover {
  color: var(--sky-light);
}

/* "En savoir plus →" at the bottom of a card that is a link as a whole. */
.expertise-more,
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--navy);
  font-size: 0.9375rem;
  font-weight: 700;
}

.expertise-more .icon,
.card-more .icon {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.25s var(--ease);
}

/* The title link covers the whole card. */
.expertise-card h3 a,
.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.expertise-card h3 a::after,
.product-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.expertise-card h3 a:focus-visible,
.product-card h3 a:focus-visible {
  outline: none;
}

.expertise-card:has(a:focus-visible),
.product-card:has(a:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* Lists */

.check-list {
  display: grid;
  gap: 0.625rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-list .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.25em;
  color: var(--green);
  stroke-width: 2.25;
}

.issue-list {
  display: grid;
  gap: 0.75rem;
}

.issue-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.issue-list .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.25em;
  color: var(--copper);
}

/* Screens shown in a browser window; the three dots take the logo's colours. */

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}

.frame img {
  width: 100%;
}

.frame--browser {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.125rem;
  padding-inline: 0.875rem;
  border-bottom: 1px solid var(--line);
  background: #f5f9fb;
}

.frame-bar i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
}

.frame-bar i:nth-child(2) {
  background: var(--copper);
}

.frame-bar i:nth-child(3) {
  background: var(--sky);
}

.frame-bar span {
  margin-left: 0.625rem;
  padding: 0.0625rem 0.625rem;
  border-radius: 999px;
  background: #e8f0f5;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Key figures */

.stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

@media (min-width: 900px) {
  .stat-list {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 2rem;
  }
}

.stat-list li {
  display: grid;
  align-content: start;
  gap: 0.375rem;
}

.stat-list strong {
  color: var(--ink);
  font-size: clamp(2rem, 1.55rem + 1.6vw, 2.875rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.stat-list span {
  color: var(--muted);
  font-size: 0.9063rem;
  line-height: 1.5;
}

.stats-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.stats-band .stat-list strong {
  color: #fff;
}

.stats-band .stat-list span,
.stats-band .stats-source {
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .stats-band .stat-list li + li {
    padding-left: 2rem;
    border-left: 1px solid var(--on-dark-line);
  }

  .stats-band--product .stat-list li + li {
    border-left-color: var(--line);
  }
}

.stats-source {
  margin-top: 1.5rem;
  font-size: 0.75rem;
}

.stats-band--product {
  margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stats-band--product::before {
  content: none;
}

.stats-band--product .stat-list strong {
  color: var(--navy);
}

.stats-band--product .stat-list span,
.stats-band--product .stats-source {
  color: var(--muted);
}

/* 4. Header and navigation ---------------------------------------------------------- */

/* No backdrop-filter here: it would make the header the containing block of
   the fixed mobile menu panel and squeeze the panel into the header. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.98);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(2, 42, 66, 0.45);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: auto;
  height: 2.25rem;
}

.brand--light,
.brand--light:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--ink);
  font-size: 0.9688rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  right: 0.875rem;
  bottom: 0.125rem;
  left: 0.875rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--sky-text);
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-link[aria-current='page'] {
  color: var(--navy);
}

.nav-cta {
  margin-left: 0.75rem;
}

.nav-contact {
  display: none;
}

@media (max-width: 959px) {
  :root {
    --header-height: 4rem;
  }

  .header-bar {
    flex-wrap: wrap;
    gap: 0 1rem;
  }

  .brand img {
    height: 2rem;
  }

  /* Without JavaScript the menu stays visible under the logo, and the header
     scrolls away with the page instead of covering it. */
  .site-nav {
    width: 100%;
    padding-bottom: 1rem;
  }

  html:not(.js) .site-header {
    position: static;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.25rem;
  }

  .nav-link::after {
    content: none;
  }

  .nav-link[aria-current='page'] {
    color: var(--sky-text);
  }

  .nav-cta {
    margin: 1.75rem 0 0;
  }

  .nav-cta .btn {
    width: 100%;
    min-height: 3.25rem;
    font-size: 1.0625rem;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -0.625rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .nav-toggle-close,
  .nav-toggle[aria-expanded='true'] .nav-toggle-open {
    display: none;
  }

  .nav-toggle[aria-expanded='true'] .nav-toggle-close {
    display: block;
  }

  .js .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-height) 0 0;
    z-index: 40;
    overflow-y: auto;
    padding: 0.5rem var(--gutter) 2.5rem;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .js .nav-open .site-nav {
    display: block;
  }

  .nav-open {
    border-bottom-color: var(--line);
    background: #fff;
  }

  .nav-contact {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }

  .nav-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
  }

  .nav-contact .icon {
    color: var(--sky-text);
  }
}

.menu-open {
  overflow: hidden;
}

/* 5. Sections ------------------------------------------------------------------------ */

/* Home: opening */

.hero {
  padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) clamp(4.5rem, 3rem + 5vw, 8rem);
}

.hero-grid {
  display: grid;
  gap: clamp(3.5rem, 2.5rem + 4vw, 5rem);
  align-items: center;
}

@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.375rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  word-spacing: 0.12em;
}

.hero-accent {
  color: var(--sky-light);
}

.hero-lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
}

.hero .actions {
  margin-top: 2.25rem;
}

@media (max-width: 559px) {
  .hero .actions .btn {
    flex: 1 1 100%;
  }
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-line);
}

.hero-facts li {
  display: grid;
  align-content: start;
  gap: 0.25rem;
}

.hero-facts strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-facts span {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

@media (max-width: 559px) {
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }

  .hero-facts li {
    grid-template-columns: 8.5rem 1fr;
    gap: 1rem;
  }
}

.hero-visual {
  margin: 0;
}

/* RenoPay in front, Ujuzi App behind and above it, two figures over them. */
.hero-stage {
  position: relative;
}

.hero-screen--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
}

.hero-screen--front {
  position: relative;
  z-index: 1;
  width: 90%;
  padding-top: 17%;
}

.hero-screen .frame {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.hero-screen--back .frame {
  opacity: 0.92;
}

.hero-highlight {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.75rem 1.125rem 0.75rem 0.75rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.hero-highlight--1 {
  bottom: -1.75rem;
  left: -1.25rem;
}

.hero-highlight--2 {
  top: 34%;
  right: -0.75rem;
}

.hero-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 0.75rem;
  background: var(--green-50);
  color: var(--green-text);
}

.hero-highlight--2 .hero-highlight-icon {
  background: var(--sky-50);
  color: #0a78b8;
}

.hero-highlight-text {
  display: grid;
  line-height: 1.3;
}

.hero-highlight-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-highlight strong {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-highlight-note {
  color: var(--muted);
  font-size: 0.6875rem;
}

.hero-visual figcaption {
  margin-top: 3rem;
  color: var(--on-dark-muted);
  font-size: 0.8125rem;
  text-align: right;
}

@media (max-width: 1099px) {
  .hero-visual {
    max-width: 44rem;
  }

  .hero-visual figcaption {
    text-align: left;
  }
}

@media (max-width: 639px) {
  .hero-screen--back,
  .hero-highlight--2 {
    display: none;
  }

  .hero-screen--front {
    width: 100%;
    padding-top: 0;
  }

  .hero-highlight--1 {
    bottom: -1.5rem;
    left: 0.75rem;
  }
}

/* Client logos */

.clients {
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem);
  border-bottom: 1px solid var(--line);
}

.clients-title {
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10.5rem;
  height: 5.25rem;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.logo-grid li:hover {
  border-color: var(--sky-100);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.logo-grid img {
  width: auto;
  max-width: 100%;
  max-height: 3.25rem;
  object-fit: contain;
}

@media (max-width: 559px) {
  .logo-grid {
    gap: 0.625rem;
  }

  .logo-grid li {
    width: calc((100% - 1.25rem) / 3);
    height: 4.25rem;
    padding: 0.625rem;
  }

  .logo-grid img {
    max-height: 2.5rem;
  }
}

/* Expertises */

.expertise-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .expertise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.expertise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem 1.75rem 1.625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.expertise-card .icon-tile {
  margin-bottom: 0.5rem;
}

.expertise-card p {
  color: var(--muted);
  font-size: 0.9688rem;
}

.expertise-card:hover,
.product-card:hover {
  border-color: var(--sky-100);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.expertise-card:hover .icon-arrow,
.product-card:hover .card-more .icon-arrow {
  transform: translateX(4px);
}

.expertise-card:hover .icon-tile--sky {
  background: var(--sky);
  color: #fff;
}

.expertise-card:hover .icon-tile--green {
  background: var(--green);
  color: #fff;
}

.expertise-card:hover .icon-tile--copper {
  background: var(--copper);
  color: #fff;
}

.expertise-rows {
  display: grid;
  gap: 1.25rem;
}

.expertise-row {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
  .expertise-row {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4.5fr);
    align-items: start;
    gap: 2.5rem;
  }
}

.expertise-row-head {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.expertise-row-head .icon-tile {
  margin-bottom: 0.375rem;
}

.expertise-row-head .index {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.expertise-row-head h3 {
  font-size: 1.375rem;
}

.expertise-row-text {
  color: var(--muted);
}

.expertise-row-list {
  padding: 1.375rem 1.5rem;
  border-radius: var(--radius);
  background: var(--tint);
}

.expertise-row .check-list {
  font-size: 0.9375rem;
}

/* Sectors */

.sector-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sector-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sector-card--public {
  border-color: transparent;
  background: var(--navy);
  color: var(--on-dark);
}

.sector-card--public::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.sector-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sector-label {
  margin: 0;
  color: var(--copper-text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sector-card--public .sector-label {
  color: var(--sky-light);
}

.sector-card--public .icon-tile--sky {
  background: rgba(92, 195, 240, 0.15);
  color: var(--sky-light);
}

.sector-card h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
}

.sector-card--public h3 {
  color: #fff;
}

.sector-audience {
  color: var(--muted);
}

.sector-card--public .sector-audience {
  color: var(--on-dark-muted);
}

.sector-card--public .check-list .icon {
  color: var(--green-light);
}

.sector-card .check-list {
  padding-bottom: 0.5rem;
}

.sector-card .arrow-link {
  margin-top: auto;
}

.sector-card--prive {
  background: linear-gradient(165deg, var(--green-50), #fff 55%);
}

/* A large faded copy of the icon in the corner. */
.sector-watermark {
  position: absolute;
  right: -3.5rem;
  bottom: -3.5rem;
  z-index: -1;
  color: var(--green);
  opacity: 0.09;
}

.sector-watermark .icon {
  width: 13rem;
  height: 13rem;
  stroke-width: 1;
}

.sector-card--public .sector-watermark {
  color: var(--sky-light);
  opacity: 0.1;
}

@media (max-width: 639px) {
  .sector-watermark {
    display: none;
  }
}

.sector-detail-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .sector-detail-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4.5rem;
  }
}

.sector-detail-intro .icon-tile {
  margin-bottom: 1.5rem;
}

.sector-detail-intro h2 {
  margin-bottom: 1.25rem;
}

.sector-detail-intro .sector-audience {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

.sector-detail-lists {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

@media (min-width: 640px) {
  .sector-detail-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.list-block {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.list-block--answers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: transparent;
  background: var(--navy);
  color: var(--on-dark);
}

.list-block--answers::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.list-block--answers .list-label {
  color: var(--sky-light);
}

.list-block--answers .check-list .icon {
  color: var(--green-light);
}

.domain-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .domain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.domain {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.domain:hover,
.card:hover {
  border-color: var(--sky-100);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.domain .icon-tile {
  margin-bottom: 1.25rem;
}

.domain h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.domain p {
  color: var(--muted);
  font-size: 0.9688rem;
}

/* Approach: a timeline whose line fills in, step after step. */

.steps {
  display: grid;
  gap: 2.25rem;
}

.step {
  position: relative;
  padding-left: 4.5rem;
}

.step-index {
  position: absolute;
  top: -0.375rem;
  left: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--sky);
  border-radius: 50%;
  background: #0b5a87;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.4s, background-color 0.4s;
  transition-delay: calc(var(--i) * 0.28s + 0.15s);
}

.step:not(:last-child)::before,
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.875rem;
  bottom: -2.125rem;
  left: calc(1.5rem - 1px);
  width: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.step:not(:last-child)::after {
  background: linear-gradient(var(--sky), var(--green-light));
  transform-origin: top;
  transition: transform 0.45s var(--ease);
  transition-delay: calc(var(--i) * 0.28s + 0.3s);
}

.reveal-ready .steps:not(.is-visible) .step-index {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--navy);
}

.reveal-ready .steps:not(.is-visible) .step::after {
  transform: scaleY(0);
}

@media (min-width: 1024px) {
  .steps {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 2rem;
  }

  .step {
    padding: 4.5rem 0 0;
  }

  .step-index {
    top: 0;
  }

  .step:not(:last-child)::before,
  .step:not(:last-child)::after {
    top: calc(1.5rem - 1px);
    right: -1.75rem;
    bottom: auto;
    left: 3.25rem;
    width: auto;
    height: 2px;
  }

  .step:not(:last-child)::after {
    background: linear-gradient(90deg, var(--sky), var(--green-light));
    transform-origin: left;
  }

  .reveal-ready .steps:not(.is-visible) .step::after {
    transform: scaleX(0);
  }
}

.step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.step p {
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.step .list-label {
  margin: 1.5rem 0 0.75rem;
  color: var(--sky-light);
  font-size: 0.6875rem;
}

.step-deliverables {
  display: grid;
  gap: 0.375rem;
  font-size: 0.9063rem;
}

.step-deliverables li {
  position: relative;
  padding-left: 1.125rem;
}

.step-deliverables li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--green-light);
}

/* Products */

.product-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.product-card-media {
  height: clamp(14rem, 10rem + 10vw, 19.5rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem) 0;
  overflow: hidden;
  background: linear-gradient(160deg, #dff0fa, #f3f9fd 70%);
}

.product-card--ujuzi .product-card-media {
  background: linear-gradient(160deg, #def3e8, #f2faf6 70%);
}

.product-card-media .frame {
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card-media .frame {
  transform: translateY(-6px);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem 2rem 2rem;
}

.product-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--copper-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-category .icon {
  width: 1rem;
  height: 1rem;
}

.product-card h3 {
  font-size: 1.5rem;
}

.product-card p:not(.product-category) {
  color: var(--muted);
}

.product-card--compact {
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem 2rem;
}

.product-card--compact .product-card-body {
  padding: 0;
}

.product-detail-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 4.5rem;
  }

  .product-detail-grid--reverse {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .product-detail-grid--reverse .product-detail-text {
    order: 2;
  }
}

.product-detail-text h2 {
  margin: 0.875rem 0 1rem;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.product-detail-text .lead {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.product-detail-text .check-list {
  margin-block: 1.75rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
}

/* Further screens, each beside its explanation. */
.gallery-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 4rem);
  margin-top: clamp(3rem, 2.5rem + 2vw, 5rem);
}

.gallery-item {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

@media (min-width: 900px) {
  .gallery-item {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 3.5rem;
  }

  .gallery-item:nth-child(even) {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }

  .gallery-item:nth-child(even) .frame {
    order: 2;
  }
}

.gallery-item figcaption {
  display: grid;
  justify-items: start;
  gap: 1rem;
  color: var(--muted);
}

.gallery-item figcaption strong {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--ink);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.audience-grid {
  display: grid;
  gap: 1.75rem;
  margin-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}

@media (min-width: 900px) {
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.audience-grid li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--sky);
}

.audience-grid li:nth-child(2) {
  border-top-color: var(--green);
}

.audience-grid li:nth-child(3) {
  border-top-color: var(--copper);
}

.audience-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.audience-grid p {
  color: var(--muted);
  font-size: 0.9688rem;
}

.product-pair {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.product-panel .icon-tile {
  margin-bottom: 1.5rem;
}

.product-panel h2 {
  margin: 0.75rem 0;
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.125rem);
}

.product-panel .lead {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.125rem;
}

.product-panel .check-list {
  margin-block: 1.5rem;
}

.product-panel .link-row {
  margin-top: auto;
  padding-top: 2rem;
}

.product-audience {
  color: var(--muted);
  font-size: 0.9688rem;
}

/* Testimonials */

.quote-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .quote-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  margin: 0;
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quote blockquote {
  margin: 0;
}

/* A quotation mark drawn in copper above the text. */
.quote blockquote::before {
  content: '';
  display: block;
  width: 2.25rem;
  height: 1.75rem;
  margin-bottom: 1.25rem;
  background: var(--copper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V17.4C0 7.9 4.6 2.1 13.7 0l1.6 3.9C10.4 5.6 7.9 8.9 7.6 13.7H14V28Zm21 0V17.4C21 7.9 25.6 2.1 34.7 0l1.3 3.9c-4.9 1.7-7.4 5-7.7 9.8H35V28Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 28'%3E%3Cpath d='M0 28V17.4C0 7.9 4.6 2.1 13.7 0l1.6 3.9C10.4 5.6 7.9 8.9 7.6 13.7H14V28Zm21 0V17.4C21 7.9 25.6 2.1 34.7 0l1.3 3.9c-4.9 1.7-7.4 5-7.7 9.8H35V28Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.quote blockquote p {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 800;
}

.quote-avatar--sky {
  background: var(--sky-50);
  color: var(--sky-text);
}

.quote-avatar--green {
  background: var(--green-50);
  color: var(--green-text);
}

.quote-avatar--copper {
  background: var(--copper-50);
  color: var(--copper-text);
}

.quote-name {
  display: block;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

.quote-role {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
}

/* Cards (ways of working, values) */

.card-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .card-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.card .icon-tile {
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
}

/* Inner pages: title block */

.page-hero {
  padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.page-hero h1 {
  max-width: 54rem;
  color: #fff;
}

.page-hero .lead {
  max-width: 44rem;
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  color: var(--on-dark-muted);
  font-size: 0.875rem;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current] {
  color: #fff;
}

.page-toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

.page-toc-title {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.page-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.page-toc a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* A pointer to another page, under a thin rule (Conseil → Renovaa Consult). */
.page-hero-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  max-width: 44rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.page-hero-note .arrow-link {
  color: var(--gold-light);
}

.page-hero-note .arrow-link:hover {
  color: #fff;
}

/* About: story, facts, where to find us */

.story-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr);
    align-items: start;
    gap: 5rem;
  }
}

.story-text .section-head {
  margin-bottom: 2rem;
}

.story-text > p {
  max-width: 42rem;
  font-size: 1.0625rem;
}

.story-text > .story-signature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.story-signature::before {
  content: '';
  width: 2rem;
  height: 0.1875rem;
  flex: none;
  border-radius: 1px;
  background: var(--tricolor);
}

.fact-sheet {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: var(--shadow);
}

.fact-sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.fact-sheet dl {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.fact-sheet div + div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--on-dark-line);
}

.fact-sheet dt {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--sky-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-sheet dt .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.fact-sheet dd {
  margin: 0.375rem 0 0;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
}

.presence-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .presence-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.presence-text .section-head {
  margin-bottom: 2rem;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 32rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.address-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 0.875rem;
  background: var(--copper-50);
  color: var(--copper-text);
}

.address-card-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.address-card-name {
  margin: 0 0 0.375rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.address-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 1.125rem;
}

.drc-map {
  width: 100%;
  max-width: 31rem;
  margin: 0;
  justify-self: center;
}

.drc-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.drc-shape {
  fill: #eef5fa;
  stroke: #bcd3e3;
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.drc-dots {
  fill: none;
  stroke-width: 7.5;
  stroke-linecap: round;
}

.drc-point {
  fill: var(--copper);
  stroke: #fff;
  stroke-width: 6;
}

.drc-pulse {
  fill: var(--copper);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.drc-label rect {
  fill: var(--navy);
}

.drc-label text {
  fill: #fff;
  font-family: var(--font);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Renovaa Consult: its page, and its presentation on the home page. On its page
   the gold of the branch takes over from the logo's colours as accent. */

[data-page='consult'] .eyebrow {
  color: var(--gold-text);
}

[data-page='consult'] .eyebrow::before,
.consult-teaser .eyebrow::before {
  background: var(--gold);
}

[data-page='consult'] .page-hero .eyebrow,
[data-page='consult'] .section--dark .eyebrow,
[data-page='consult'] .cta-panel .eyebrow,
.consult-teaser .eyebrow,
.consult-teaser .hero-accent,
.consult-hero .hero-accent {
  color: var(--gold-light);
}

[data-page='consult'] .page-hero::before,
[data-page='consult'] .section--dark::before,
[data-page='consult'] .cta-panel::before,
[data-page='consult'] .fact-sheet::before,
.consult-teaser::before {
  background: var(--glow-gold);
}

[data-page='consult'] .step-index {
  border-color: var(--gold);
}

[data-page='consult'] .step:not(:last-child)::after {
  background: var(--gold);
}

[data-page='consult'] .cta-direct .icon {
  color: var(--gold-light);
}

/* Opening: the promise beside the key figures. */
.consult-hero-grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
}

@media (min-width: 1024px) {
  .consult-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
}

.consult-tagline {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: #fff;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.consult-hero .lead {
  margin-top: 1rem;
}

.consult-hero .actions {
  margin-top: 2.25rem;
}

@media (max-width: 559px) {
  .consult-hero .actions .btn {
    flex: 1 1 100%;
  }
}

/* Key figures, on a pane over the navy. */
.consult-figures {
  padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow-lg);
}

.figure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.figure-list li {
  display: grid;
  align-content: start;
  gap: 0.375rem;
}

.figure-list .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}

.figure-list strong {
  color: #fff;
  font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.figure-list span {
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (max-width: 379px) {
  .figure-list {
    grid-template-columns: 1fr;
  }
}

/* Under the text rather than beside it, the pane is wide: the figures in a row. */
@media (min-width: 820px) and (max-width: 1023px) {
  .figure-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.consult-promise {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.consult-promise strong {
  color: var(--gold-light);
}

/* A sentence that sums up a section, behind a gold rule. */
.story-text > .consult-statement,
.consult-statement {
  max-width: 40rem;
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.consult-challenges h3 {
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.1875rem;
}

.consult-challenges .check-list {
  gap: 0.875rem;
  color: #fff;
  font-weight: 600;
}

.consult-challenges .check-list li + li {
  padding-top: 0.875rem;
  border-top: 1px solid var(--on-dark-line);
}

.consult-challenges .check-list .icon {
  color: var(--gold-light);
}

/* Services: three columns of cards, then what sets us apart. */
.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: clamp(1.75rem, 1.5rem + 0.75vw, 2.125rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--gold-100);
  box-shadow: var(--shadow);
}

.service-card:hover .icon-tile--gold {
  background: var(--gold);
  color: var(--navy-ink);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.service-card-head .index {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card-text {
  color: var(--muted);
  font-size: 0.9688rem;
}

.service-card-list {
  margin-top: 0.375rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.service-card-list .list-label {
  margin-bottom: 0.875rem;
}

.service-card .check-list {
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.service-card .check-list .icon {
  color: var(--gold);
}

.service-card-note {
  margin-top: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--gold-50);
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.service-value {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-dark);
}

.service-value::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow-gold);
}

.service-value p {
  max-width: 46rem;
  color: #fff;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
}

.service-value strong {
  color: var(--gold-light);
}

.service-value .btn {
  flex: none;
}

/* In two columns the panel is narrow: the button takes its whole width. */
@media (min-width: 700px) and (max-width: 1099px) {
  .service-value {
    padding: 1.75rem;
  }

  .service-value .btn {
    align-self: stretch;
    text-align: center;
  }
}

@media (min-width: 1100px) {
  .service-value {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

/* Where subgrid is supported, the four parts of the cards (icon, title, text,
   interventions) line up from one card to the next. Beside the last card, in
   two columns, the closing panel takes the same four rows. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 700px) {
    .service-card {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
    }

    /* A title shorter than its neighbours stays next to its text. */
    .service-card h3 {
      align-self: end;
    }

    .service-value {
      grid-row: span 4;
    }
  }

  @media (min-width: 1100px) {
    .service-value {
      grid-row: auto;
    }
  }
}

/* Where we work: the text beside the map of Africa and the countries. */
.consult-presence-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .consult-presence-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: 4.5rem;
  }
}

.consult-presence-text .section-head {
  margin-bottom: 2rem;
}

.consult-presence-text > p:not(.consult-statement) {
  max-width: 40rem;
}

.africa-map {
  max-width: 40rem;
  margin: 0 auto;
}

.africa-map svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.africa-coast {
  fill: none;
  stroke: #bcd3e3;
  stroke-width: 4;
  stroke-linejoin: round;
}

.africa-land {
  fill: #eef5fa;
}

.africa-dots {
  fill: none;
  stroke: #c2d8e6;
  stroke-width: 6.5;
  stroke-linecap: round;
}

.africa-country {
  fill: var(--gold-100);
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linejoin: round;
}

.africa-country-dots {
  fill: none;
  stroke: var(--gold);
  stroke-width: 7.5;
  stroke-linecap: round;
}

.africa-leader {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2.5;
}

.africa-point {
  fill: var(--navy);
  stroke: #fff;
  stroke-width: 4;
}

.africa-pulse {
  fill: var(--gold);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.africa-pin text {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Names a little larger on phones, where the map is small: the longest ones
   then reach a few pixels into the page margin. */
@media (max-width: 559px) {
  .africa-pin text {
    font-size: 36px;
  }
}

.country-list-label {
  margin-top: 1.75rem;
}

.country-list {
  display: grid;
  gap: 0.625rem;
}

@media (min-width: 480px) {
  .country-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .country-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.country-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.country-list img {
  width: 2rem;
  height: 1.5rem;
  flex: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 0 1px rgba(2, 42, 66, 0.12);
}

.country-name {
  display: block;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
}

.country-name abbr {
  text-decoration: none;
}

.country-region {
  display: block;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}

/* References: the client names in the tiles of the client logos. */
.reference-label {
  text-align: center;
}

.logo-grid--names li {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-align: center;
}

.reference-more {
  max-width: 40rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.reference-statement {
  max-width: 44rem;
  margin: clamp(2.75rem, 2rem + 2.5vw, 4rem) auto 0;
  color: var(--ink);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-align: center;
}

.reference-statement::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 0.1875rem;
  margin: 0 auto 1.5rem;
  border-radius: 1px;
  background: var(--gold);
}

.reference-note {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 0.8125rem;
  text-align: center;
}

/* Values, below the steps of the approach. */
.value-block {
  margin-top: clamp(3.5rem, 3rem + 2vw, 5rem);
  padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-top: 1px solid var(--on-dark-line);
}

.value-block .list-label {
  margin-bottom: 1.75rem;
  color: var(--gold-light);
}

.value-list {
  display: grid;
  gap: 2rem;
  margin: 0;
}

@media (min-width: 560px) {
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .value-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .value-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.value-list dt {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.value-list .icon-tile {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(226, 192, 122, 0.12);
  color: var(--gold-light);
}

.value-list .icon-tile .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.value-list dd {
  margin: 0.875rem 0 0;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Home page: the branch in a few words, its services and key figures. */
.consult-teaser-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .consult-teaser-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 4.5rem;
  }
}

.consult-teaser .section-head {
  margin-bottom: 1.75rem;
}

.consult-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.consult-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.3rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.consult-tags a:hover {
  border-color: var(--gold);
  background: rgba(199, 155, 74, 0.16);
  color: #fff;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4.25fr);
    align-items: start;
    gap: 2rem;
  }
}

.contact-main {
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-dark);
}

.contact-aside::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.contact-heading {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.contact-aside .contact-heading {
  margin-bottom: 1.75rem;
  color: #fff;
}

.contact-intro {
  margin-bottom: 2rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--wide {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.field label {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.field-optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.75rem 0.9375rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.field select {
  padding-right: 2.75rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6e81' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.875rem center;
  background-repeat: no-repeat;
  background-size: 1.125rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--sky-text);
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 166, 230, 0.2);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #b3401a;
}

.field--trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-form button[disabled] {
  cursor: progress;
  opacity: 0.65;
}

.form-status {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--tint);
  font-weight: 600;
}

.form-status[data-type='success'] {
  border-color: #b5dbc6;
  background: #edf7f1;
  color: #0f5c38;
}

.form-status[data-type='error'] {
  border-color: #eac0ae;
  background: #fbefe9;
  color: #8a2f12;
}

.contact-methods {
  display: grid;
  gap: 1.75rem;
  margin: 0;
}

.contact-methods div + div {
  padding-top: 1.75rem;
  border-top: 1px solid var(--on-dark-line);
}

.contact-methods dt {
  margin-bottom: 0.875rem;
  color: var(--sky-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-methods dd {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  margin: 0;
}

.contact-methods dd > a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-methods dd > a:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-methods .icon {
  color: var(--sky-light);
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.contact-address .icon {
  margin-top: 0.2em;
}

.contact-map {
  background: var(--sky-50);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(20rem, 40vw, 30rem);
  border: 0;
}

/* 404 */

.page-hero--404 {
  padding-block: clamp(4rem, 3rem + 6vw, 8rem);
}

.link-list {
  display: grid;
  gap: 0.5rem;
  max-width: 34rem;
  margin-top: 2.5rem;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.link-list a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Closing call to action */

.cta {
  padding-block: var(--section-space);
}

/* After a white section, one gap is enough. */
.section:not(.section--tint, .section--dark) + .cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 2.25rem;
  padding: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
  border-radius: 1.75rem;
  background: var(--navy);
  color: var(--on-dark);
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}

.cta-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grid);
  background-size: 3rem 3rem;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 100% 0%, #000 10%, transparent 70%);
}

@media (min-width: 960px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
  }
}

.cta-panel h2 {
  color: #fff;
  font-size: clamp(1.875rem, 1.35rem + 1.9vw, 2.75rem);
}

.cta-text p:not(.eyebrow) {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--on-dark-muted);
  font-size: 1.0625rem;
}

.cta-actions {
  display: grid;
  justify-items: start;
  gap: 1.5rem;
}

.cta-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
}

.cta-direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--on-dark);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.cta-direct a:hover {
  color: #fff;
  text-decoration: underline;
}

.cta-direct .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--sky-light);
}

@media (max-width: 559px) {
  .cta-actions,
  .cta-actions .actions,
  .cta-actions .btn {
    width: 100%;
  }
}

/* 6. Footer ------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-ink);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

/* The logo's three colours along the top edge. */
.site-footer::before {
  content: '';
  display: block;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--copper) 33.33% 66.66%, var(--sky) 66.66%);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 3rem + 3vw, 5rem);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: 3rem;
  }
}

.footer-about p {
  max-width: 22rem;
  margin-top: 1.25rem;
}

.footer-about .footer-tagline {
  margin-top: 0.75rem;
  color: var(--sky-light);
  font-weight: 700;
}

.footer-title {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .brand,
.site-footer .brand:hover {
  text-decoration: none;
}

.footer-col ul {
  display: grid;
  gap: 0.625rem;
}

.site-footer .postal-address {
  color: var(--on-dark);
}

.footer-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-weight: 600;
}

.footer-directions .icon,
.footer-contact .icon {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--sky-light);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  font-size: 0.8125rem;
}

/* The rule spans the content width, not the side padding. */
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  border-top: 1px solid var(--on-dark-line);
}

.footer-bottom p {
  margin: 0;
}

/* 7. Motion ---------------------------------------------------------------------------- */

/* Blocks marked data-reveal rise into place as they scroll into view
   (assets/js/site.js adds .reveal-ready, then .is-visible). Without JavaScript,
   or for visitors who prefer less motion, everything is simply shown. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal]:not(.is-visible) {
    opacity: 0;
  }

  .reveal-ready [data-reveal].is-visible:not(.is-instant) {
    animation: rise 0.8s var(--ease) backwards;
    animation-delay: calc(var(--i, 0) * 90ms);
  }

  /* Home: the screens and figures settle in once the page is shown. */
  .hero-screen--back {
    animation: rise 1s var(--ease) 0.1s backwards;
  }

  .hero-screen--front {
    animation: rise 1s var(--ease) 0.25s backwards;
  }

  .hero-highlight--1 {
    animation: pop 0.7s var(--ease) 0.85s backwards;
  }

  .hero-highlight--2 {
    animation: pop 0.7s var(--ease) 1s backwards;
  }

  /* The office on the map: two ripples, then it rests. */
  .drc-map.is-visible .drc-pulse {
    animation: ripple 2.2s ease-out 0.5s 2;
  }

  /* Renovaa Consult's countries: two ripples each, one country after the other. */
  .africa-map.is-visible .africa-pulse {
    animation: ripple 2.2s ease-out 2;
    animation-delay: calc(0.5s + var(--i) * 0.3s);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.96);
  }
}

@keyframes ripple {
  from {
    opacity: 0.5;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(3.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    animation: none !important;
  }

  .site-header {
    position: static;
  }
}
