/* =====================================================================
   Infinity Energy theme
   Palette from the logo: blue (engineering) + red (logistics) on a deep
   pipeline navy, with cool plate-steel whites. Type: Saira (variable width,
   used expanded for display like stamped plate markings) + Readex Pro for
   body text and Arabic.
   Logical properties throughout so the same CSS serves LTR and RTL.
   ===================================================================== */

:root {
  --inf-red: #EC1D2A;          /* overridden from Basic Settings */
  --inf-blue: #0C55A3;         /* overridden from Basic Settings */
  --inf-navy: #071B33;
  --inf-navy-2: #0D2849;
  --inf-plate: #F4F7FB;
  --inf-white: #FFFFFF;
  --inf-ink: #17202C;
  --inf-muted: #546479;
  --inf-line: #CBD5E1;
  --inf-line-soft: #E3E9F1;
  --inf-on-dark: #E8EEF6;
  --inf-on-dark-muted: #9DB0C7;

  --inf-display: "Saira", "Readex Pro", system-ui, sans-serif;
  --inf-body: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --inf-step--1: 0.875rem;
  --inf-step-0: 1.0625rem;
  --inf-step-1: 1.25rem;
  --inf-step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --inf-step-3: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --inf-step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);

  --inf-wrap: 1240px;
  --inf-gutter: clamp(16px, 4vw, 40px);
  --inf-section: clamp(72px, 9vw, 128px);
  --inf-radius: 4px;
  --inf-header-h: 76px;
  --inf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Kurdish (Sorani): Readex Pro has no Kurdish letters, so Arabic-script text is set in
   Vazirmatn (loaded by the layout for this language). Latin headings stay in Saira. */
html[lang="ckb"], html[lang="ku"] {
  --inf-display: "Saira", "Vazirmatn", system-ui, sans-serif;
  --inf-body: "Vazirmatn", "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- base ---------- */
.inf *, .inf *::before, .inf *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--inf-header-h) + 16px); }
body.inf {
  margin: 0;
  background: var(--inf-white);
  color: var(--inf-ink);
  font-family: var(--inf-body);
  font-size: var(--inf-step-0);
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.inf-nav-open { overflow: hidden; }
.inf img { max-width: 100%; height: auto; display: block; }
.inf a { color: inherit; }
.inf-native h1, .inf-native h2, .inf-native h3, .inf-native h4 {
  font-family: var(--inf-display);
  font-weight: 650;
  line-height: 1.08;
  margin: 0;
  color: inherit;
  letter-spacing: -0.005em;
}
.inf-native p { margin: 0; }
.inf-native ul, .inf-native ol { margin: 0; padding: 0; list-style: none; }
.inf :focus-visible { outline: 3px solid var(--inf-blue); outline-offset: 3px; border-radius: 2px; }
.inf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inf-skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--inf-white); color: var(--inf-ink); padding: 10px 16px; border-radius: var(--inf-radius);
}
.inf-skip:focus { top: 12px; }

.inf-wrap { width: 100%; max-width: var(--inf-wrap); margin-inline: auto; padding-inline: var(--inf-gutter); }

.inf-lead { font-size: var(--inf-step-1); line-height: 1.55; color: var(--inf-muted); max-width: 58ch; }

/* ---------- buttons and links ---------- */
.inf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--inf-red); color: var(--inf-white) !important;
  font-family: var(--inf-display); font-weight: 650; font-size: 1rem; font-stretch: 110%;
  letter-spacing: 0.01em; text-decoration: none; border: 0; border-radius: var(--inf-radius);
  cursor: pointer; transition: background-color .2s var(--inf-ease), transform .2s var(--inf-ease);
}
.inf-btn:hover { background: color-mix(in srgb, var(--inf-red) 86%, black); }
.inf-btn:active { transform: translateY(1px); }
.inf-btn--small { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.inf-btn--light { background: var(--inf-white); color: var(--inf-navy) !important; }
.inf-btn--light:hover { background: var(--inf-plate); }

.inf-link {
  display: inline-block; color: var(--inf-blue); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  text-decoration-color: color-mix(in srgb, var(--inf-blue) 35%, transparent);
  transition: text-decoration-color .2s var(--inf-ease);
}
.inf-link:hover { text-decoration-color: currentColor; }
.inf-link--light { color: var(--inf-white); text-decoration-color: rgba(255, 255, 255, .35); }

.inf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

/* ---------- header ---------- */
.inf-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  color: var(--inf-white);
  transition: background-color .3s var(--inf-ease), color .3s var(--inf-ease), box-shadow .3s var(--inf-ease);
}
.inf-header__bar {
  max-width: calc(var(--inf-wrap) + 80px); margin-inline: auto;
  height: var(--inf-header-h); padding-inline: var(--inf-gutter);
  display: flex; align-items: center; gap: 24px;
}
.inf-header__logo { flex: none; display: block; position: relative; z-index: 2; height: 46px; }
.inf-header__logo img { height: 46px; width: auto; }
.inf-header__logo .inf-logo-color { position: absolute; inset: 0; opacity: 0; }
.inf-header__logo .inf-logo-white { opacity: 1; }
.inf-header.is-scrolled,
.inf-legacy .inf-header {
  background: rgba(255, 255, 255, .96); color: var(--inf-ink);
  box-shadow: 0 1px 0 var(--inf-line-soft);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
}
.inf-header.is-scrolled .inf-logo-color, .inf-legacy .inf-logo-color { opacity: 1; position: static; }
.inf-header.is-scrolled .inf-logo-white, .inf-legacy .inf-logo-white { opacity: 0; position: absolute; inset: 0; }

.inf-nav { flex: 1; display: flex; align-items: center; gap: 24px; }
.inf-nav__list { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.inf-nav__list > li { position: relative; }
.inf-nav__list > li > a,
.inf-nav__parent {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px;
  font: inherit; font-size: .96875rem; font-weight: 450; color: inherit; text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: var(--inf-radius);
}
.inf-nav__parent::after {
  /* a down / up chevron: physical borders, so it points the same way in RTL */
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--inf-ease); opacity: .7;
}
.inf-nav__parent[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.inf-nav__list > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--inf-red); border-radius: 0; }
.inf-nav__list > li > a:hover, .inf-nav__parent:hover { background: rgba(127, 150, 180, .14); }

.inf-nav__sub {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 300px;
  padding: 10px; background: var(--inf-white); color: var(--inf-ink);
  border-radius: 6px; box-shadow: 0 24px 48px -16px rgba(7, 27, 51, .35), 0 0 0 1px var(--inf-line-soft);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--inf-ease), transform .18s var(--inf-ease), visibility 0s linear .18s;
}
/* every navbar menu opens on click / tap / Enter only (site.js sets aria-expanded) */
.inf-nav__parent[aria-expanded="true"] + .inf-nav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.inf-nav__parent[aria-expanded="true"] { background: rgba(127, 150, 180, .14); }

/* ---------- services mega menu ---------- */
.inf-nav__list > li.has-mega { position: static; }
.inf-nav__sub.inf-mega {
  /* placed against the fixed header and centred on the page */
  top: calc(100% - 6px); left: 50%; right: auto; translate: -50% 0;
  width: min(1180px, calc(100vw - 2 * var(--inf-gutter))); min-width: 0;
  max-height: calc(100vh - var(--inf-header-h) - 20px);
  display: grid; grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  padding: 0; overflow: hidden; border-radius: 8px;
}
.inf-mega ul { margin: 0; padding: 0; list-style: none; }
.inf-mega a { text-decoration: none; }
.inf-mega__aside {
  grid-column: 1; grid-row: 1; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px; padding: 26px 20px 22px;
  background: var(--inf-navy); color: var(--inf-white);
}
/* faint infinity loop behind the category tabs */
.inf-mega__aside::after {
  content: ""; position: absolute; inset-inline-start: -30%; bottom: -14px; width: 160%; aspect-ratio: 5 / 2;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 160'%3E%3Cpath d='M200 80 C 150 10, 40 10, 40 80 S 150 150, 200 80 S 360 10, 360 80 S 250 150, 200 80 Z' fill='none' stroke='%23ffffff' stroke-width='5'/%3E%3C/svg%3E");
  opacity: .06; pointer-events: none;
}
.inf-mega__eyebrow {
  margin: 0; padding-inline: 14px; font-family: var(--inf-display); font-size: .75rem; font-weight: 600;
  font-stretch: 115%; letter-spacing: .16em; text-transform: uppercase; color: var(--inf-on-dark-muted);
}
.inf-mega__tabs { display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; }
.inf-mega__tab {
  display: block; width: 100%; padding: 13px 14px; text-align: start; cursor: pointer;
  font: inherit; color: inherit; background: none; border: 0; border-radius: 6px;
  box-shadow: inset 3px 0 0 transparent;
  transition: background-color .2s var(--inf-ease), box-shadow .2s var(--inf-ease);
}
[dir="rtl"] .inf-mega__tab { box-shadow: inset -3px 0 0 transparent; }
.inf-mega__tab:hover { background: rgba(255, 255, 255, .06); }
.inf-mega__tab[aria-selected="true"] { background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 0 var(--inf-red); }
[dir="rtl"] .inf-mega__tab[aria-selected="true"] { box-shadow: inset -3px 0 0 var(--inf-red); }
.inf-mega__tab-name { display: block; font-family: var(--inf-display); font-size: 1.0625rem; font-weight: 650; line-height: 1.25; }
.inf-mega__tab-text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  margin-top: 5px; font-size: .8125rem; line-height: 1.5; color: var(--inf-on-dark-muted);
}
.inf-mega__all {
  position: relative; z-index: 1; margin-top: auto; padding: 16px 14px 0;
  display: inline-flex; align-items: center; gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--inf-white) !important; font-weight: 500; font-size: .9375rem;
}
.inf-mega__all::after, .inf-mega__more::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg); transition: translate .2s var(--inf-ease);
}
[dir="rtl"] .inf-mega__all::after, [dir="rtl"] .inf-mega__more::after { transform: rotate(-45deg); }
.inf-mega__all:hover::after, .inf-mega__more:hover::after { translate: 3px 0; }
[dir="rtl"] .inf-mega__all:hover::after, [dir="rtl"] .inf-mega__more:hover::after { translate: -3px 0; }

.inf-mega__panel { grid-column: 2; grid-row: 1; min-height: 0; overflow-y: auto; padding: 24px 26px 26px; }
.inf-mega__panel[hidden] { display: none; }
.inf-mega__head {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center;
  padding-bottom: 20px; margin-bottom: 14px; border-bottom: 1px solid var(--inf-line-soft);
}
.inf-mega__head:not(:has(.inf-mega__cover)) { grid-template-columns: minmax(0, 1fr); }
.inf-mega__cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--inf-navy-2); }
.inf-mega__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--inf-ease), opacity .3s; }
.inf-mega__cover:hover img { transform: scale(1.04); }
.inf-mega .inf-mega__title {
  margin: 0; font-family: var(--inf-display); font-size: 1.375rem; font-weight: 650; line-height: 1.15; color: var(--inf-ink);
}
.inf-mega__title a { color: inherit !important; }
.inf-mega__title a:hover { color: var(--inf-blue) !important; }
.inf-mega__text { margin: 6px 0 10px; font-size: .9375rem; line-height: 1.55; color: var(--inf-muted); max-width: 62ch; }
.inf-mega__more {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--inf-blue) !important; font-weight: 500; font-size: .9375rem;
}
.inf-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 10px; }
.inf-mega__item {
  display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: 6px;
  color: var(--inf-ink) !important; font-size: .9375rem; line-height: 1.3;
  transition: background-color .15s var(--inf-ease), color .15s var(--inf-ease);
}
.inf-mega__item:hover, .inf-mega__item[aria-current="page"] { background: var(--inf-plate); color: var(--inf-blue) !important; }
.inf-mega__thumb {
  flex: none; width: 64px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  background: linear-gradient(135deg, var(--inf-navy-2), var(--inf-blue));
}
.inf-mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--inf-ease); }
.inf-mega__item:hover .inf-mega__thumb img { transform: scale(1.08); }
.inf-mega img { transition: opacity .3s var(--inf-ease), transform .5s var(--inf-ease); }
.inf-mega img[data-src] { opacity: 0; }
.inf-mega__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
@media (max-width: 1240px) and (min-width: 1081px) {
  .inf-mega__head { grid-template-columns: 170px minmax(0, 1fr); }
  .inf-mega__thumb { width: 52px; }
  .inf-mega__item { font-size: .875rem; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .inf-mega__cover img, .inf-mega__thumb img { transition: none; }
  .inf-mega__cover:hover img, .inf-mega__item:hover .inf-mega__thumb img { transform: none; }
}

/* ---------- link mega menu: every other dropdown (e.g. Company) ---------- */
.inf-nav__sub.inf-mega--links {
  width: min(1040px, calc(100vw - 2 * var(--inf-gutter)));
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
}
.inf-mega__brief { position: relative; z-index: 1; padding-inline: 14px; }
.inf-mega__headline {
  margin: 0; font-family: var(--inf-display); font-size: 1.375rem; font-weight: 650; font-stretch: 104%;
  line-height: 1.2; color: var(--inf-white);
}
.inf-mega .inf-mega__blurb { margin: 12px 0 0; font-size: .875rem; line-height: 1.6; color: var(--inf-on-dark-muted); }
.inf-mega__reach { position: relative; z-index: 1; display: grid; gap: 2px; padding-inline: 14px !important; }
.inf-mega__reach a {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 0;
  color: var(--inf-on-dark) !important; font-size: .875rem;
}
.inf-mega__reach a:hover { color: var(--inf-white) !important; text-decoration: underline; text-underline-offset: 4px; }
.inf-mega__reach svg { flex: none; width: 16px; height: 16px; fill: var(--inf-red); }

.inf-mega--links .inf-mega__panel { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.inf-mega__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
/* an odd number of links: the first one (About us) takes the whole first row */
.inf-mega__cards > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.inf-mega__card {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 16px; border-radius: 6px;
  color: var(--inf-ink) !important; transition: background-color .15s var(--inf-ease);
}
.inf-mega__cards > li:has(.inf-mega__subs) .inf-mega__card { height: auto; padding-bottom: 8px; }
.inf-mega__card:hover, .inf-mega__card[aria-current="page"] { background: var(--inf-plate); }
/* numbered nodes, like the delivery steps on the home page */
.inf-mega__num {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--inf-line-soft); background: var(--inf-white);
  font-family: var(--inf-display); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--inf-blue); transition: border-color .2s var(--inf-ease), background-color .2s var(--inf-ease), color .2s var(--inf-ease);
}
.inf-mega__card:hover .inf-mega__num,
.inf-mega__card[aria-current="page"] .inf-mega__num { border-color: var(--inf-red); background: var(--inf-red); color: var(--inf-white); }
.inf-mega__card-body { display: grid; gap: 4px; min-width: 0; padding-top: 6px; }
.inf-mega__card-name {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--inf-display); font-size: 1.0625rem; font-weight: 650; line-height: 1.3;
  transition: color .15s var(--inf-ease);
}
.inf-mega__card-name::after {
  content: ""; width: 7px; height: 7px; flex: none; opacity: 0; translate: -4px 0;
  border-top: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg);
  transition: opacity .2s var(--inf-ease), translate .2s var(--inf-ease);
}
[dir="rtl"] .inf-mega__card-name::after { transform: rotate(-45deg); translate: 4px 0; }
.inf-mega__card:hover .inf-mega__card-name { color: var(--inf-blue); }
.inf-mega__card:hover .inf-mega__card-name::after { opacity: 1; translate: 0 0; }
.inf-mega__card-text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font-size: .875rem; line-height: 1.5; color: var(--inf-muted);
}
.inf-mega__subs {
  display: flex; flex-wrap: wrap; gap: 2px 16px;
  padding: 0 16px 12px !important; padding-inline-start: 66px !important;
}
.inf-mega__subs a { font-size: .875rem; color: var(--inf-muted) !important; }
.inf-mega__subs a:hover { color: var(--inf-blue) !important; }
/* the codes and standards the work is done to, along the bottom */
.inf-mega__codes {
  margin-top: auto; padding: 16px 16px 2px; border-top: 1px solid var(--inf-line-soft);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
.inf-mega .inf-mega__codes-label {
  margin: 0; font-family: var(--inf-display); font-size: .6875rem; font-weight: 600; font-stretch: 112%;
  letter-spacing: .14em; text-transform: uppercase; color: var(--inf-muted);
}
/* Arabic script joins its letters: no letter spacing, a little larger instead */
[dir="rtl"] .inf-mega__eyebrow { letter-spacing: 0; font-size: .875rem; font-stretch: 100%; }
[dir="rtl"] .inf-mega .inf-mega__codes-label { letter-spacing: 0; font-size: .8125rem; font-stretch: 100%; }
.inf-mega__codes ul { display: flex; flex-wrap: wrap; gap: 5px; }
.inf-mega__codes li {
  padding: 3px 8px; border-radius: 3px; background: var(--inf-plate); border: 1px solid var(--inf-line-soft);
  font-family: var(--inf-display); font-size: .75rem; font-weight: 600; line-height: 1.4; color: var(--inf-navy-2);
  white-space: nowrap; direction: ltr; unicode-bidi: isolate;
}
@media (prefers-reduced-motion: reduce) {
  .inf-mega__card-name::after { transition: none; translate: 0 0; }
}

.inf-nav__side { display: flex; align-items: center; gap: 14px; }
.inf-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.inf-lang a {
  display: inline-flex; align-items: center; height: 42px; padding: 0 10px;
  text-decoration: none; font-size: .9375rem; border-radius: var(--inf-radius);
}
.inf-lang a:hover { background: rgba(127, 150, 180, .14); }

.inf-header__toggle {
  display: none; margin-inline-start: auto; width: 46px; height: 46px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 2;
}
.inf-header__toggle span:not(.inf-sr) {
  position: absolute; inset-inline-start: 11px; width: 24px; height: 2px; background: currentColor;
  transition: transform .25s var(--inf-ease), top .25s var(--inf-ease);
}
.inf-header__toggle span:nth-child(1) { top: 18px; }
.inf-header__toggle span:nth-child(2) { top: 26px; }
.inf-header__toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.inf-header__toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .inf-header__toggle { display: block; }
  .inf-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; gap: 28px;
    padding: calc(var(--inf-header-h) + 16px) var(--inf-gutter) 32px;
    background: var(--inf-navy); color: var(--inf-white);
    overflow-y: auto; visibility: hidden; opacity: 0;
    transition: opacity .25s var(--inf-ease), visibility 0s linear .25s;
  }
  .inf-nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .inf-nav-open .inf-header { color: var(--inf-white); background: transparent; box-shadow: none; }
  .inf-nav-open .inf-header .inf-logo-white { opacity: 1; position: static; }
  .inf-nav-open .inf-header .inf-logo-color { opacity: 0; position: absolute; }
  .inf-nav__list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .inf-nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .inf-nav__list > li > a, .inf-nav__parent {
    width: 100%; height: auto; padding: 16px 0; justify-content: space-between;
    font-family: var(--inf-display); font-size: 1.375rem; font-weight: 600; border-radius: 0;
  }
  .inf-nav__list > li > a:hover, .inf-nav__parent:hover { background: none; }
  .inf-nav__sub {
    position: static; min-width: 0; padding: 0 0 12px; background: none; color: var(--inf-on-dark);
    box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible;
  }
  .inf-nav__parent[aria-expanded="true"] + .inf-nav__sub { display: block; }
  .inf-nav__parent[aria-expanded="true"] { background: none; }

  /* services mega menu: an accordion of categories inside the menu drawer */
  .inf-nav__list > li.has-mega { position: static; }
  .inf-nav__sub.inf-mega {
    position: static; width: auto; max-height: none; translate: none; border-radius: 0;
    display: none; overflow: visible; padding: 0 0 18px;
  }
  .inf-nav__parent[aria-expanded="true"] + .inf-mega { display: flex; flex-direction: column; }
  .inf-mega__aside { order: 2; padding: 14px 0 0; background: none; }
  .inf-mega__aside::after, .inf-mega__eyebrow, .inf-mega__tabs { display: none; }
  .inf-mega__all { margin: 0; padding: 14px 0 0; }
  .inf-mega__panel, .inf-mega__panel[hidden] { display: block; padding: 0; overflow: visible; }
  .inf-mega__head { display: block; padding: 16px 0 6px; margin: 0; border: 0; }
  .inf-mega__cover, .inf-mega__text { display: none; }
  .inf-mega__intro { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .inf-mega .inf-mega__title {
    font-family: var(--inf-display); font-size: .8125rem; font-weight: 600; font-stretch: 112%;
    letter-spacing: .12em; text-transform: uppercase; color: var(--inf-on-dark-muted);
  }
  .inf-mega__title a:hover { color: var(--inf-white) !important; }
  .inf-mega__more { color: var(--inf-white) !important; font-size: .875rem; white-space: nowrap; }
  .inf-mega__grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .inf-mega__item { color: var(--inf-on-dark) !important; padding: 7px 0; font-size: 1rem; }
  .inf-mega__item:hover, .inf-mega__item[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--inf-white) !important; }
  .inf-mega__thumb { width: 52px; }

  /* link mega menu: the links only (name + one line of the page subtitle) */
  .inf-mega--links .inf-mega__aside { padding: 0; }
  .inf-mega__brief, .inf-mega__reach, .inf-mega__all--contact, .inf-mega__codes { display: none !important; }
  .inf-mega--links .inf-mega__panel { padding: 0; }
  .inf-mega__cards { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .inf-mega__card { gap: 12px; padding: 9px 0; color: var(--inf-on-dark) !important; }
  .inf-mega__card:hover, .inf-mega__card[aria-current="page"] { background: none; }
  .inf-mega__num {
    width: 30px; height: 30px; font-size: .75rem; background: transparent;
    border-color: rgba(255, 255, 255, .2); color: var(--inf-on-dark);
  }
  .inf-mega__card-body { gap: 2px; padding-top: 4px; }
  .inf-mega__card-name { font-family: var(--inf-body); font-size: 1rem; font-weight: 500; }
  .inf-mega__card:hover .inf-mega__card-name, .inf-mega__card[aria-current="page"] .inf-mega__card-name { color: var(--inf-white); }
  .inf-mega__card-text { -webkit-line-clamp: 1; line-clamp: 1; font-size: .8125rem; color: var(--inf-on-dark-muted); }
  .inf-mega__subs { padding: 0 0 8px !important; padding-inline-start: 42px !important; }
  .inf-mega__subs a { color: var(--inf-on-dark-muted) !important; }
  .inf-mega__subs a:hover { color: var(--inf-white) !important; }

  .inf-nav__side { flex-direction: column; align-items: stretch; }
  .inf-nav__side .inf-btn { width: 100%; }
}
@media (max-width: 1080px) and (min-width: 640px) {
  .inf-mega__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .inf-mega__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}

/* ---------- hero ---------- */
.inf-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 60% 70% at 72% 45%, rgba(12, 85, 163, .38), transparent 70%),
    var(--inf-navy);
  color: var(--inf-white);
}
[dir="rtl"] .inf-hero { background: radial-gradient(ellipse 60% 70% at 28% 45%, rgba(12, 85, 163, .38), transparent 70%), var(--inf-navy); }
/* faint drawing-sheet grid behind the pipe */
.inf-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(157, 176, 199, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 176, 199, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}
.inf-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.inf-hero__grid {
  position: relative; z-index: 1; flex: 1;
  display: flex; align-items: center;
  padding-top: calc(var(--inf-header-h) + 48px); padding-bottom: 56px;
}
.inf-hero__text { max-width: 640px; }
.inf-hero h1 {
  font-size: var(--inf-step-4); font-weight: 720; font-stretch: 116%; line-height: 1.02; letter-spacing: -0.015em;
  text-wrap: balance;
}
[dir="rtl"] .inf-hero h1 { font-stretch: 100%; line-height: 1.22; letter-spacing: 0; }
.inf-hero .inf-lead { margin-top: 24px; color: var(--inf-on-dark-muted); }

/* lobe labels: a plain list by default, pinned inside each lobe once the 3D loop is running */
.inf-hero__lobes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.inf-hero__lobe a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px;
  text-decoration: none; border-radius: var(--inf-radius);
  background: rgba(7, 27, 51, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: box-shadow .2s var(--inf-ease), background-color .2s var(--inf-ease);
}
.inf-hero__lobe strong { font-family: var(--inf-display); font-weight: 650; font-stretch: 108%; font-size: 1.0625rem; line-height: 1.2; }
.inf-hero__lobe span { font-size: .8125rem; color: var(--inf-on-dark-muted); }
.inf-hero__lobe--blue a { border-inline-start: 3px solid #4C8EDB; }
.inf-hero__lobe--red a { border-inline-start: 3px solid var(--inf-red); }
.inf-hero__lobe a:hover, .inf-hero__lobe a:focus-visible { background: rgba(7, 27, 51, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }

.inf-hero__lobes.is-tracked { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; z-index: 2; }
/* max-width: a long discipline name (Kurdish) wraps inside its lobe and stays clear of the other label */
.inf-hero__lobes.is-tracked .inf-hero__lobe { position: absolute; top: 0; left: 0; width: max-content; max-width: clamp(140px, 13vw, 190px); pointer-events: auto; will-change: transform; }
.inf-hero__lobes.is-tracked .inf-hero__lobe strong { text-wrap: balance; }
[dir="rtl"] .inf-hero__lobes.is-tracked .inf-hero__lobe { left: 0; right: auto; }
.inf-hero__lobes.is-tracked .inf-hero__lobe a { text-align: center; align-items: center; border-inline-start: 0; }
.inf-hero__lobes.is-tracked .inf-hero__lobe--blue a { box-shadow: inset 0 0 0 1px rgba(76, 142, 219, .55); }
.inf-hero__lobes.is-tracked .inf-hero__lobe--red a { box-shadow: inset 0 0 0 1px rgba(236, 29, 42, .6); }

/* the codes and standards the work is done to */
.inf-standards { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(4, 16, 32, .45); }
.inf-standards__row { display: flex; align-items: center; gap: 28px; padding-block: 20px; }
.inf-standards__label { flex: none; font-size: .875rem; color: var(--inf-on-dark-muted); }
.inf-standards ul { display: flex; gap: 10px 28px; flex-wrap: wrap; }
.inf-standards li {
  font-family: var(--inf-display); font-weight: 600; font-stretch: 112%; font-size: .9375rem;
  color: var(--inf-on-dark); white-space: nowrap;
}

@media (min-width: 1100px) and (max-width: 1320px) {
  .inf-hero__text { max-width: 520px; }
}
@media (max-width: 1099px) {
  .inf-hero { min-height: 0; }
  .inf-hero__grid { align-items: flex-end; padding-top: calc(var(--inf-header-h) + min(52vw, 340px)); padding-bottom: 40px; }
  .inf-hero h1 { font-stretch: 105%; }
  .inf-standards__row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- sections ---------- */
.inf-section { padding-block: var(--inf-section); }
.inf-section__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.inf-section__head h2 { font-size: var(--inf-step-3); font-stretch: 108%; text-wrap: balance; }
[dir="rtl"] .inf-section__head h2 { font-stretch: 100%; line-height: 1.25; }
.inf-section__head p { color: var(--inf-muted); font-size: var(--inf-step-1); line-height: 1.55; max-width: 60ch; }

/* ---------- disciplines ---------- */
.inf-disciplines { background: var(--inf-plate); }
.inf-disciplines__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.inf-discipline {
  background: var(--inf-white); border-radius: 6px; padding: clamp(24px, 3.4vw, 44px);
  border-top: 6px solid var(--inf-blue);
  box-shadow: 0 1px 0 var(--inf-line-soft), 0 30px 60px -40px rgba(7, 27, 51, .4);
}
.inf-discipline--side { border-top-color: var(--inf-red); }
.inf-discipline__head { display: grid; gap: 10px; padding-bottom: 22px; border-bottom: 1px solid var(--inf-line); }
.inf-discipline__head h3 { font-size: var(--inf-step-2); font-stretch: 110%; }
.inf-discipline--main .inf-discipline__head h3 { color: var(--inf-blue); }
.inf-discipline--side .inf-discipline__head h3 { color: var(--inf-red); }
.inf-discipline__head p { color: var(--inf-muted); max-width: 56ch; }
.inf-discipline__list { margin-bottom: 24px !important; }
.inf-discipline__list li { border-bottom: 1px solid var(--inf-line-soft); }
.inf-discipline__list a, .inf-discipline__list li > span:first-child { display: block; }
.inf-discipline__list a { display: grid; gap: 2px; padding: 16px 0; text-decoration: none; }
.inf-discipline__list li > .inf-discipline__name { padding-top: 16px; }
.inf-discipline__list li > .inf-discipline__summary { padding-bottom: 16px; }
.inf-discipline__name { font-family: var(--inf-display); font-weight: 600; font-stretch: 104%; font-size: 1.125rem; line-height: 1.3; }
.inf-discipline__summary { color: var(--inf-muted); font-size: .9375rem; line-height: 1.5; }
.inf-discipline__list a:hover .inf-discipline__name { color: var(--inf-blue); text-decoration: underline; text-underline-offset: 4px; }
.inf-discipline--side .inf-discipline__list a:hover .inf-discipline__name { color: var(--inf-red); }
.inf-discipline--main .inf-discipline__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 960px) {
  .inf-disciplines__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .inf-discipline--main .inf-discipline__list { grid-template-columns: 1fr; }
}

/* ---------- about + figures ---------- */
.inf-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.inf-about__text { display: grid; gap: 22px; align-content: start; }
.inf-about__text h2 { font-size: var(--inf-step-3); font-stretch: 108%; }
.inf-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--inf-line); }
.inf-figures > div {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 0; padding-inline-end: 24px;
  border-bottom: 1px solid var(--inf-line);
}
.inf-figures > div:nth-child(odd) { border-inline-end: 1px solid var(--inf-line); }
.inf-figures > div:nth-child(even) { padding-inline-start: 28px; }
.inf-figures dd {
  margin: 0; font-family: var(--inf-display); font-weight: 700; font-stretch: 120%;
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--inf-blue);
  font-variant-numeric: tabular-nums;
}
.inf-figures dt { color: var(--inf-muted); font-size: .9375rem; line-height: 1.45; max-width: 30ch; }
@media (max-width: 900px) { .inf-about__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .inf-figures { grid-template-columns: 1fr; }
  .inf-figures > div:nth-child(odd) { border-inline-end: 0; }
  .inf-figures > div:nth-child(even) { padding-inline-start: 0; }
}

/* ---------- process: a pipeline with a weld at each step ---------- */
.inf-process { background: var(--inf-navy); color: var(--inf-white); }
.inf-process .inf-section__head p { color: var(--inf-on-dark-muted); }
.inf-process__line {
  --steps: 6;
  position: relative; counter-reset: step;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 24px;
  padding-top: 58px !important;
}
.inf-process__line::before {
  content: ""; position: absolute; top: 20px; inset-inline: 0; height: 10px; border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%, rgba(0, 0, 0, .25)),
    linear-gradient(90deg, var(--inf-blue), #3E7CC4 50%, var(--inf-red));
}
[dir="rtl"] .inf-process__line::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 45%, rgba(0, 0, 0, .25)),
    linear-gradient(270deg, var(--inf-blue), #3E7CC4 50%, var(--inf-red));
}
.inf-process__line li { position: relative; counter-increment: step; display: grid; gap: 8px; align-content: start; }
.inf-process__node {
  position: absolute; top: -48px; inset-inline-start: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--inf-navy); border: 3px solid #D5DDE6;
  box-shadow: 0 0 0 4px var(--inf-navy);
  display: grid; place-items: center;
}
.inf-process__node::after {
  content: counter(step); font-family: var(--inf-display); font-weight: 700; font-size: .8125rem; color: var(--inf-white);
}
.inf-process__line h3 { font-size: 1.1875rem; font-stretch: 106%; }
.inf-process__line p { color: var(--inf-on-dark-muted); font-size: .9375rem; line-height: 1.55; }
@media (max-width: 760px) {
  .inf-process__line { grid-template-columns: 1fr; padding-top: 0 !important; padding-inline-start: 52px !important; gap: 30px; }
  .inf-process__line::before { top: 6px; bottom: 6px; inset-inline-start: 10px; inset-inline-end: auto; width: 10px; height: auto;
    background: linear-gradient(90deg, rgba(255,255,255,.28), transparent 45%, rgba(0,0,0,.25)), linear-gradient(180deg, var(--inf-blue), #3E7CC4 50%, var(--inf-red)); }
  .inf-process__node { top: -2px; inset-inline-start: -52px; }
}

/* ---------- projects / voices / team / partners ---------- */
.inf-projectgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin-bottom: 36px !important; }
.inf-projectgrid a { display: grid; gap: 10px; text-decoration: none; }
.inf-projectgrid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 6px; }
.inf-projectgrid h3 { font-size: 1.1875rem; }
.inf-projectgrid p { color: var(--inf-muted); font-size: .9375rem; }
.inf-projectgrid a:hover h3 { color: var(--inf-blue); }

.inf-voices { background: var(--inf-plate); }
.inf-voicelist { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.inf-voicelist blockquote { margin: 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--inf-blue); display: grid; gap: 18px; }
.inf-voicelist blockquote p { font-size: var(--inf-step-1); line-height: 1.55; }
.inf-voicelist footer { display: grid; }
.inf-voicelist cite { font-style: normal; font-weight: 600; }
.inf-voicelist footer span { color: var(--inf-muted); font-size: .9375rem; }

.inf-teamlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.inf-teamlist img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 6px; margin-bottom: 12px; }
.inf-teamlist h3 { font-size: 1.125rem; }
.inf-teamlist p { color: var(--inf-muted); font-size: .9375rem; }

.inf-partners { padding-block: 56px; border-top: 1px solid var(--inf-line-soft); }
.inf-partners ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.inf-partners img { max-height: 52px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.inf-partners a:hover img { filter: none; opacity: 1; }

/* ---------- inner page heading ---------- */
.inf-pagehead {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--inf-navy); color: var(--inf-white);
  padding: calc(var(--inf-header-h) + clamp(40px, 6vw, 72px)) 0 clamp(44px, 6vw, 72px);
}
.inf-pagehead h1 { font-family: var(--inf-display); font-size: var(--inf-step-3); font-weight: 680; font-stretch: 112%; line-height: 1.06; max-width: 22ch; margin: 14px 0 0; text-wrap: balance; }
[dir="rtl"] .inf-pagehead h1 { font-stretch: 100%; line-height: 1.25; }
.inf-pagehead__lead { margin: 18px 0 0; max-width: 62ch; color: var(--inf-on-dark-muted); font-size: var(--inf-step-1); line-height: 1.55; }
.inf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--inf-on-dark-muted); }
.inf-crumbs a { text-decoration: none; color: var(--inf-on-dark-muted); }
.inf-crumbs a:hover { color: var(--inf-white); text-decoration: underline; }
.inf-pagehead__loop {
  position: absolute; z-index: -1; inset-inline-end: -40px; top: 50%; translate: 0 -40%;
  width: min(620px, 62vw); fill: none; stroke: rgba(76, 142, 219, .22); stroke-width: 14; stroke-linejoin: round;
}
[dir="rtl"] .inf-pagehead__loop { transform: scaleX(-1); }

/* legacy CMS pages (blog, gallery, FAQ, careers ...) keep their own styles inside */
.inf-legacy .inf-pagehead { background: var(--inf-navy); }
.inf-legacy-content { min-height: 40vh; }

/* ---------- services list ---------- */
.inf-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 40px; }
.inf-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.inf-filter a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  text-decoration: none; font-size: .9375rem; box-shadow: inset 0 0 0 1px var(--inf-line);
}
.inf-filter a:hover { box-shadow: inset 0 0 0 1px var(--inf-ink); }
.inf-filter a[aria-current="true"] { background: var(--inf-navy); color: var(--inf-white); box-shadow: none; }
.inf-search { display: flex; min-width: min(360px, 100%); }
.inf-search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; font: inherit; font-size: .9375rem;
  border: 1px solid var(--inf-line); border-inline-end: 0; border-start-start-radius: var(--inf-radius); border-end-start-radius: var(--inf-radius);
  background: var(--inf-white); color: var(--inf-ink);
}
.inf-search button {
  height: 46px; padding: 0 18px; font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer;
  background: var(--inf-navy); color: var(--inf-white); border: 0;
  border-start-end-radius: var(--inf-radius); border-end-end-radius: var(--inf-radius);
}
.inf-servicelist { border-top: 2px solid var(--inf-ink); }
.inf-service {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(120px, 2fr); gap: 8px 32px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--inf-line);
}
.inf-service__name { font-size: 1.25rem !important; font-stretch: 106%; }
.inf-service__name a { text-decoration: none; }
.inf-service__name a:hover { color: var(--inf-blue); text-decoration: underline; text-underline-offset: 5px; }
.inf-service__summary { color: var(--inf-muted); line-height: 1.55; }
.inf-service__group { justify-self: end; font-size: .875rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.inf-service__group::before { content: ""; width: 10px; height: 10px; transform: rotate(45deg); background: var(--inf-blue); }
.inf-service__group--red::before { background: var(--inf-red); }
@media (max-width: 820px) {
  .inf-service { grid-template-columns: 1fr; }
  .inf-service__group { justify-self: start; }
}
.inf-empty { padding: 40px 0; display: grid; gap: 12px; justify-items: start; color: var(--inf-muted); }
.inf-pager { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.inf-pager a { color: var(--inf-blue); font-weight: 500; }

/* ---------- service detail and rich text ---------- */
.inf-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.inf-detail__figure { width: 100%; border-radius: 6px; margin-bottom: 32px; }
.inf-detail__side { position: sticky; top: calc(var(--inf-header-h) + 24px); display: grid; gap: 28px; }
.inf-detail__quote { background: var(--inf-navy); color: var(--inf-white); padding: 28px; border-radius: 6px; display: grid; gap: 14px; justify-items: start; }
.inf-detail__quote h2 { font-size: 1.375rem; font-stretch: 108%; }
.inf-detail__quote p { color: var(--inf-on-dark-muted); font-size: .9375rem; }
.inf-detail__quote .inf-link { color: var(--inf-white); text-decoration-color: rgba(255,255,255,.35); }
.inf-detail__more h2 { font-size: 1rem; margin-bottom: 8px !important; color: var(--inf-muted); font-family: var(--inf-body); font-weight: 500; }
.inf-detail__more li a, .inf-detail__more li span { display: block; padding: 10px 0; border-bottom: 1px solid var(--inf-line-soft); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.inf-detail__more li a:hover { color: var(--inf-blue); }
@media (max-width: 960px) {
  .inf-detail__grid { grid-template-columns: 1fr; }
  .inf-detail__side { position: static; }
}

.inf-prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; }
.inf-prose--page { margin-inline: auto; }
.inf-prose > * + * { margin-top: 1.1em !important; }
.inf-prose h2 { font-size: var(--inf-step-2); margin-top: 1.8em !important; font-stretch: 106%; }
.inf-prose h3 { font-size: 1.25rem; margin-top: 1.6em !important; }
.inf-prose ul, .inf-prose ol { padding-inline-start: 0; display: grid; gap: 8px; }
.inf-prose ul li { position: relative; padding-inline-start: 26px; }
.inf-prose ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; background: var(--inf-red); transform: rotate(45deg); }
.inf-prose ol { counter-reset: li; }
.inf-prose ol li { counter-increment: li; position: relative; padding-inline-start: 36px; }
.inf-prose ol li::before { content: counter(li); position: absolute; inset-inline-start: 0; top: .05em; font-family: var(--inf-display); font-weight: 700; color: var(--inf-blue); }
.inf-prose a { color: var(--inf-blue); text-underline-offset: 4px; }
.inf-prose strong { font-weight: 600; }
.inf-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; display: block; overflow-x: auto; }
.inf-prose th, .inf-prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--inf-line); vertical-align: top; }
.inf-prose th { font-weight: 600; background: var(--inf-plate); }
.inf-prose blockquote { margin-inline: 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--inf-blue); color: var(--inf-muted); }

/* ---------- forms ---------- */
.inf-contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.inf-contact__info dl { margin: 0; display: grid; gap: 28px; }
.inf-contact__info dt { font-size: .875rem; color: var(--inf-muted); margin-bottom: 6px; }
.inf-contact__info dd { margin: 0; display: grid; gap: 4px; font-size: 1.125rem; }
.inf-contact__info dd a { text-decoration: none; }
.inf-contact__info dd a:hover { color: var(--inf-blue); text-decoration: underline; }
.inf-map { margin-top: 36px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--inf-plate); }
.inf-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.inf-quote__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.inf-quote__steps { position: sticky; top: calc(var(--inf-header-h) + 24px); }
.inf-quote__steps h2 { font-size: 1.375rem; margin-bottom: 20px !important; }
.inf-quote__steps ol { counter-reset: q; display: grid; gap: 18px; }
.inf-quote__steps li { counter-increment: q; position: relative; padding-inline-start: 44px; color: var(--inf-muted); line-height: 1.55; }
.inf-quote__steps li::before {
  content: counter(q); position: absolute; inset-inline-start: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--inf-display); font-weight: 700; font-size: .875rem; color: var(--inf-white); background: var(--inf-blue);
}
@media (max-width: 900px) {
  .inf-contact__grid, .inf-quote__grid { grid-template-columns: 1fr; }
  .inf-quote__steps { position: static; }
}

.inf-form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); background: var(--inf-plate); border-radius: 6px; }
.inf-form h2 { font-size: var(--inf-step-2); font-stretch: 106%; }
.inf-form > p { color: var(--inf-muted); margin-top: -10px !important; }
.inf-form__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.inf-field { display: grid; gap: 8px; }
.inf-field--full { grid-column: 1 / -1; }
.inf-field label, .inf-field legend { font-size: .9375rem; font-weight: 500; }
.inf-field small { color: var(--inf-muted); font-weight: 400; }
.inf-field fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.inf-field input:not([type="checkbox"]):not([type="file"]), .inf-field select, .inf-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--inf-ink);
  background: var(--inf-white); border: 1px solid var(--inf-line); border-radius: var(--inf-radius);
  transition: border-color .15s, box-shadow .15s;
}
.inf-field textarea { resize: vertical; min-height: 140px; }
.inf-field input:focus, .inf-field select:focus, .inf-field textarea:focus {
  outline: none; border-color: var(--inf-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--inf-blue) 22%, transparent);
}
.inf-field__error { color: #B3121D; font-size: .875rem; }
.inf-field__hint { color: var(--inf-muted); font-size: .875rem; }
.inf-check { display: flex; gap: 10px; align-items: center; font-weight: 400 !important; }
.inf-check input { width: 18px; height: 18px; accent-color: var(--inf-blue); }
.inf-form .inf-btn { justify-self: start; }
@media (max-width: 640px) { .inf-form__cols { grid-template-columns: 1fr; } }

/* ---------- page builder sections ----------
   Pages (Admin > Pages) and the extra home content are built in the admin page
   builder from these sections. Markup: App\Http\Helpers\InfinityBlocks. */
.inf-b { padding-block: clamp(48px, 6.5vw, 96px); }
/* two plain sections in a row share one gap instead of doubling it */
.inf-b:not(.inf-b--plate):not(.inf-b-statement):not(.inf-b-cta) + .inf-b:not(.inf-b--plate):not(.inf-b-statement):not(.inf-b-cta) { padding-top: 0; }
.inf-b--plate, .inf-b-cta { background: var(--inf-plate); }
.inf-b h2 { font-size: var(--inf-step-3); font-stretch: 108%; text-wrap: balance; }
[dir="rtl"] .inf-b h2 { font-stretch: 100%; line-height: 1.25; }
.inf-b h3 { font-size: 1.25rem; font-stretch: 104%; line-height: 1.3; }
.inf-b p { color: var(--inf-muted); }
.inf-b .inf-b__eyebrow {
  font-family: var(--inf-display); font-weight: 650; font-size: .8125rem; line-height: 1.3;
  letter-spacing: .14em; text-transform: uppercase; color: var(--inf-red); margin-bottom: 14px;
}
[dir="rtl"] .inf-b .inf-b__eyebrow { letter-spacing: 0; font-size: .9375rem; }
.inf-b__head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.inf-b__head .inf-b__eyebrow { margin-bottom: 0; }
.inf-b__head p:not(.inf-b__eyebrow) { font-size: var(--inf-step-1); line-height: 1.55; max-width: 60ch; }

.inf-b-lead .inf-wrap > * { max-width: 70ch; }
.inf-b-lead h2 { margin-bottom: 18px; }
.inf-b-lead p:not(.inf-b__eyebrow) { font-size: var(--inf-step-1); line-height: 1.6; }
.inf-b-lead p + p:not(.inf-b__eyebrow) { margin-top: 14px; }

.inf-b-split__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.inf-b-split__text { display: grid; gap: 16px; align-content: start; }
.inf-b-split__text .inf-b__eyebrow { margin-bottom: 0; }
.inf-b-split__text p:not(.inf-b__eyebrow) { line-height: 1.7; }
.inf-b-split__side {
  background: var(--inf-plate); border-radius: 6px; padding: clamp(22px, 3vw, 36px);
  border-inline-start: 4px solid var(--inf-blue);
}
.inf-b--plate .inf-b-split__side { background: var(--inf-white); }
.inf-b-split__side h3 { margin-bottom: 18px; }
.inf-b-ticks { display: grid; gap: 12px; }
.inf-b-ticks li { position: relative; padding-inline-start: 30px; line-height: 1.5; }
.inf-b-ticks li::before {
  content: ""; position: absolute; inset-inline-start: 5px; top: .3em; width: 7px; height: 13px;
  border: solid var(--inf-blue); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
@media (max-width: 900px) { .inf-b-split__grid { grid-template-columns: 1fr; } }

.inf-b-cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: inf-card; }
.inf-b-card {
  display: grid; gap: 10px; align-content: start; padding: 26px 24px;
  background: var(--inf-white); border: 1px solid var(--inf-line-soft); border-top: 4px solid var(--inf-blue); border-radius: 6px;
}
.inf-b-card p { font-size: .9688rem; line-height: 1.6; }
.inf-b-cards__grid--numbered .inf-b-card { counter-increment: inf-card; }
.inf-b-cards__grid--numbered .inf-b-card::before {
  content: counter(inf-card, decimal-leading-zero);
  font-family: var(--inf-display); font-weight: 700; font-stretch: 120%; font-size: 1.75rem; line-height: 1;
  color: var(--inf-blue); font-variant-numeric: tabular-nums;
}

.inf-b-statement { background: var(--inf-navy); color: var(--inf-white); }
.inf-b-statement .inf-b__eyebrow { color: var(--inf-on-dark-muted); }
.inf-b-statement .inf-b-statement__text {
  font-family: var(--inf-display); font-weight: 600; font-stretch: 106%; font-size: var(--inf-step-3); line-height: 1.2;
  color: var(--inf-white); max-width: 30ch; text-wrap: balance;
}
[dir="rtl"] .inf-b-statement .inf-b-statement__text { font-stretch: 100%; line-height: 1.45; }
.inf-b-statement .inf-b-statement__note { color: var(--inf-on-dark-muted); margin-top: 22px; max-width: 62ch; font-size: var(--inf-step-1); line-height: 1.55; }

.inf-b-figures__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); column-gap: 28px; border-top: 1px solid var(--inf-line); }
.inf-b-figure { display: grid; gap: 6px; align-content: start; padding-block: 24px; border-bottom: 1px solid var(--inf-line); }
.inf-b-figure strong {
  font-family: var(--inf-display); font-weight: 700; font-stretch: 120%; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1;
  color: var(--inf-blue); font-variant-numeric: tabular-nums;
}
.inf-b-figure span { color: var(--inf-muted); font-size: .9375rem; line-height: 1.45; max-width: 30ch; }

.inf-b-prose .inf-prose p { color: var(--inf-ink); }

.inf-b-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.inf-b-cta__text { display: grid; gap: 10px; max-width: 60ch; }
.inf-b-cta h2 { font-size: var(--inf-step-2); }

/* ---------- home: company pages and questions ---------- */
.inf-company { background: var(--inf-plate); }
.inf-company__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.inf-company__grid a {
  display: grid; gap: 10px; align-content: start; height: 100%; padding: 26px 24px; text-decoration: none;
  background: var(--inf-white); border: 1px solid var(--inf-line-soft); border-radius: 6px;
  transition: border-color .2s var(--inf-ease), transform .2s var(--inf-ease);
}
.inf-company__grid a:hover { border-color: var(--inf-blue); transform: translateY(-2px); }
.inf-company__grid h3 { font-size: 1.25rem; font-stretch: 104%; color: var(--inf-blue); }
.inf-company__grid p { color: var(--inf-muted); font-size: .9688rem; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .inf-company__grid a { transition: none; } .inf-company__grid a:hover { transform: none; } }

.inf-faq__list { display: grid; max-width: 860px; border-top: 1px solid var(--inf-line); margin-bottom: 32px; }
.inf-faq__list details { border-bottom: 1px solid var(--inf-line); }
.inf-faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-family: var(--inf-display); font-weight: 600; font-stretch: 104%; font-size: 1.125rem; line-height: 1.35;
}
.inf-faq__list summary::-webkit-details-marker { display: none; }
.inf-faq__list summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-inline-end: 6px;
  border: solid var(--inf-blue); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s var(--inf-ease);
}
.inf-faq__list details[open] summary::after { transform: rotate(-135deg); }
.inf-faq__list details > div { padding-bottom: 22px; color: var(--inf-muted); max-width: 72ch; line-height: 1.7; }
.inf-faq__list details > div > * + * { margin-top: .8em; }
@media (prefers-reduced-motion: reduce) { .inf-faq__list summary::after { transition: none; } }

/* ---------- footer ---------- */
.inf-footer { background: #04101F; color: var(--inf-on-dark); font-size: .9375rem; }
.inf-footer__cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.inf-footer__ask {
  margin: 0; font-family: var(--inf-display); font-weight: 680; font-stretch: 112%;
  font-size: var(--inf-step-3); line-height: 1.08; color: var(--inf-white); max-width: 20ch; text-wrap: balance;
}
[dir="rtl"] .inf-footer__ask { font-stretch: 100%; line-height: 1.3; }
.inf-footer__grid {
  display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px;
  padding-block: 56px 40px;
}
.inf-footer h2 { font-family: var(--inf-body); font-size: .875rem; font-weight: 500; color: var(--inf-on-dark-muted); margin: 0 0 14px; }
.inf-footer__brand { display: grid; gap: 18px; align-content: start; }
.inf-footer__brand img { width: 200px; }
.inf-footer__brand p { color: var(--inf-on-dark-muted); max-width: 40ch; margin: 0; line-height: 1.6; }
.inf-footer ul { list-style: none; margin: 0; padding: 0; }
.inf-footer__links { display: grid; gap: 8px; }
.inf-footer a { color: var(--inf-on-dark); text-decoration: none; }
.inf-footer a:hover { color: var(--inf-white); text-decoration: underline; text-underline-offset: 4px; }
.inf-footer__social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.inf-footer__contact { font-style: normal; display: grid; gap: 6px; }
.inf-subscribe { display: grid; gap: 12px; }
.inf-subscribe p { margin: 0; color: var(--inf-on-dark-muted); }
.inf-subscribe__row { display: flex; }
.inf-subscribe input {
  flex: 1; min-width: 0; height: 46px; padding: 0 12px; font: inherit; font-size: .9375rem;
  color: var(--inf-white); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-inline-end: 0;
  border-start-start-radius: var(--inf-radius); border-end-start-radius: var(--inf-radius);
}
.inf-subscribe input::placeholder { color: var(--inf-on-dark-muted); }
.inf-subscribe button {
  height: 46px; padding: 0 16px; font: inherit; font-size: .9375rem; font-weight: 500; cursor: pointer;
  background: var(--inf-red); color: var(--inf-white); border: 0;
  border-start-end-radius: var(--inf-radius); border-end-end-radius: var(--inf-radius);
}
.inf-subscribe__msg:empty { display: none; }
.inf-footer__legal { padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--inf-on-dark-muted); font-size: .875rem; }
.inf-footer__legal p { margin: 0; }
@media (max-width: 960px) { .inf-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .inf-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .inf-footer__grid { grid-template-columns: 1fr; } }

/* ---------- floating bits ---------- */
.inf-whatsapp {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
}
.inf-toast {
  position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 60; max-width: min(520px, calc(100vw - 32px));
  translate: -50% 16px; opacity: 0; pointer-events: none;
  padding: 14px 18px; border-radius: 6px; background: var(--inf-navy); color: var(--inf-white);
  box-shadow: 0 20px 40px -12px rgba(7, 27, 51, .5); border-inline-start: 4px solid #2E9E5B;
  transition: opacity .25s var(--inf-ease), translate .25s var(--inf-ease);
}
[dir="rtl"] .inf-toast { translate: 50% 16px; }
.inf-toast[data-type="error"] { border-inline-start-color: var(--inf-red); }
.inf-toast.is-visible { opacity: 1; translate: -50% 0; pointer-events: auto; }
[dir="rtl"] .inf-toast.is-visible { translate: 50% 0; }

/* cookie notice (laravel-cookie-consent markup) */
.inf .cookie-consent {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 55; max-width: 720px; margin-inline: auto;
  background: var(--inf-white); color: var(--inf-ink); border-radius: 6px;
  box-shadow: 0 24px 48px -16px rgba(7, 27, 51, .45), 0 0 0 1px var(--inf-line-soft);
}
.inf .cookie-consent .container { padding: 0; max-width: none; }
.inf .cookie-container { display: flex; align-items: center; gap: 16px 24px; padding: 16px 20px; font-size: .9375rem; line-height: 1.5; }
.inf .cookie-consent__message, .inf .cookie-consent__message * { font-size: inherit !important; font-family: inherit !important; color: inherit !important; background: none !important; margin: 0; }
.inf .cookie-consent__agree {
  flex: none; min-height: 42px; padding: 0 18px; border: 0; border-radius: var(--inf-radius); cursor: pointer;
  background: var(--inf-navy); color: var(--inf-white); font: inherit; font-weight: 500;
}
@media (max-width: 560px) { .inf .cookie-container { flex-direction: column; align-items: stretch; } }

/* legacy pages: keep the fixed header from covering their content */
.inf-legacy .inf-pagehead { padding-top: calc(var(--inf-header-h) + 48px); }

@media (prefers-reduced-motion: reduce) {
  .inf *, .inf *::before, .inf *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- preloader: the white logo over an infinity loop ---------- */
.inf-preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(12, 85, 163, .32), transparent 70%),
    var(--inf-navy);
  transition: opacity .55s var(--inf-ease), visibility 0s linear .55s;
  /* failsafe: never stays up if the page's script does not run */
  animation: inf-preloader-away 0s linear 8s forwards;
}
.inf-preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes inf-preloader-away { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.inf-preloader__brand { position: relative; overflow: hidden; padding: 4px 6px; }
.inf-preloader__logo {
  display: block; width: min(220px, 56vw); height: auto;
  clip-path: inset(0 100% 0 0); opacity: 0;
  animation: inf-logo-in 1s var(--inf-ease) .1s forwards;
}
/* a light sweep across the logo once it is in */
.inf-preloader__brand::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  translate: -120% 0; transform: skewX(-18deg);
  animation: inf-logo-shine 2.2s var(--inf-ease) 1s infinite;
  mix-blend-mode: soft-light;
}
@keyframes inf-logo-in {
  0% { clip-path: inset(0 100% 0 0); opacity: 0; translate: 0 8px; }
  30% { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; translate: 0 0; }
}
@keyframes inf-logo-shine { 0% { translate: -120% 0; } 60%, 100% { translate: 360% 0; } }
.inf-preloader__loop { width: 112px; height: auto; overflow: visible; }
.inf-preloader__loop path { fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.inf-preloader__track { stroke: rgba(255, 255, 255, .1); }
.inf-preloader__run { stroke-dasharray: 22 78; animation: inf-loop-run 1.8s linear infinite; }
.inf-preloader__run--blue { stroke: color-mix(in srgb, var(--inf-blue) 60%, white); }
.inf-preloader__run--red { stroke: var(--inf-red); animation-delay: -.9s; }
@keyframes inf-loop-run { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .inf-preloader__logo { clip-path: none; opacity: 1; animation: none; }
  .inf-preloader__brand::after { display: none; }
  .inf-preloader__run { animation: none; }
}

/* ---------- back to top ---------- */
.inf-totop {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40;
  width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--inf-navy); color: var(--inf-white);
  box-shadow: 0 12px 28px -10px rgba(7, 27, 51, .55);
  opacity: 0; visibility: hidden; translate: 0 12px;
  transition: opacity .25s var(--inf-ease), translate .25s var(--inf-ease), visibility 0s linear .25s, background-color .2s var(--inf-ease);
}
.inf-totop.is-visible { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.inf-totop:hover { background: var(--inf-navy-2); }
.inf-whatsapp ~ .inf-totop { bottom: 88px; }
.inf-totop svg { grid-area: 1 / 1; }
/* the ring fills up as the page scrolls */
.inf-totop__ring { width: 52px; height: 52px; rotate: -90deg; }
.inf-totop__ring circle {
  fill: none; stroke: var(--inf-red); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--inf-progress, 0) * 100);
}
.inf-totop__arrow {
  width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; transition: translate .2s var(--inf-ease);
}
.inf-totop:hover .inf-totop__arrow { translate: 0 -2px; }
@media (max-width: 640px) { .inf-totop { inset-inline-end: 14px; bottom: 14px; width: 46px; height: 46px; } .inf-totop__ring { width: 46px; height: 46px; } .inf-whatsapp ~ .inf-totop { bottom: 82px; } }

/* ---------- error pages (resources/views/errors): 4xx inside the site, 5xx and maintenance on their own ---------- */
.inf-btn--outline { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .42); }
.inf-btn--outline:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--inf-white); }

.inf-error {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 860px); display: grid; align-content: center;
  padding: calc(var(--inf-header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 8vw, 112px);
  background:
    radial-gradient(ellipse 46% 58% at 76% 50%, rgba(12, 85, 163, .42), transparent 72%),
    var(--inf-navy);
  color: var(--inf-white);
}
[dir="rtl"] .inf-error { background: radial-gradient(ellipse 46% 58% at 24% 50%, rgba(12, 85, 163, .42), transparent 72%), var(--inf-navy); }
/* a drawing-sheet grid, fading out towards the text */
.inf-error::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 74% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 70% at 74% 50%, #000 15%, transparent 72%);
}
[dir="rtl"] .inf-error::before {
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 26% 50%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 70% at 26% 50%, #000 15%, transparent 72%);
}
.inf-error__loop {
  position: absolute; z-index: -1; inset-inline-start: -180px; bottom: -120px;
  width: min(760px, 90vw); fill: none; stroke: rgba(76, 142, 219, .12); stroke-width: 14; stroke-linejoin: round;
}
[dir="rtl"] .inf-error__loop { transform: scaleX(-1); }

.inf-error__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center; gap: clamp(36px, 6vw, 88px);
}
.inf-error__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--inf-display); font-weight: 650; font-stretch: 115%; font-size: .8125rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--inf-on-dark-muted);
}
.inf-error__eyebrow::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: var(--inf-red); }
[dir="rtl"] .inf-error__eyebrow { letter-spacing: 0; font-size: .9375rem; font-stretch: 100%; }
.inf-error h1 {
  margin-top: 18px; max-width: 15ch;
  font-size: var(--inf-step-4); font-weight: 700; font-stretch: 112%; line-height: 1.02; text-wrap: balance;
}
[dir="rtl"] .inf-error h1 { font-stretch: 100%; line-height: 1.22; }
.inf-error .inf-error__lead {
  margin-top: 22px; max-width: 50ch;
  color: var(--inf-on-dark-muted); font-size: var(--inf-step-1); line-height: 1.6;
}
.inf-error .inf-actions { margin-top: 38px; gap: 14px; }

/* the code: big digits, every 0 a piece of pipe with the brand colours flowing round it */
.inf-error__code {
  direction: ltr; display: flex; align-items: center; justify-content: center; gap: .03em;
  font-family: "Saira", system-ui, sans-serif; font-weight: 800; font-stretch: 112%;
  font-size: clamp(6.5rem, 4rem + 13vw, 16rem); line-height: .78; letter-spacing: -.01em;
  color: var(--inf-white); -webkit-user-select: none; user-select: none;
}
.inf-error__digit { display: block; }
.inf-error__zero { flex: none; display: block; width: .6em; height: .76em; overflow: visible; }
.inf-error__zero path { fill: none; stroke-linejoin: round; }
.inf-error__pipe { stroke: currentColor; stroke-width: 16; }
.inf-error__flow {
  stroke-width: 6; stroke-linecap: round; stroke-dasharray: 20 80;
  animation: inf-loop-run 2.6s linear infinite; animation-delay: var(--inf-delay, 0s);
}
.inf-error__flow--blue { stroke: var(--inf-blue); }
.inf-error__flow--red { stroke: var(--inf-red); animation-delay: calc(var(--inf-delay, 0s) - 1.3s); }

/* 404: a way back into the site */
.inf-error-next { background: var(--inf-plate); padding-block: clamp(56px, 7vw, 96px); }
.inf-error-next h2 { font-size: var(--inf-step-2); font-stretch: 108%; margin-bottom: clamp(24px, 3vw, 36px); }
[dir="rtl"] .inf-error-next h2 { font-stretch: 100%; line-height: 1.3; }
.inf-error-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.inf-error-card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none;
  background: var(--inf-white); border: 1px solid var(--inf-line-soft); border-radius: 6px;
  transition: border-color .2s var(--inf-ease), transform .2s var(--inf-ease);
}
.inf-error-card:hover { border-color: var(--inf-blue); transform: translateY(-2px); }
.inf .inf-error-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.inf-error-card__body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.inf-error-card__name { font-family: var(--inf-display); font-weight: 650; font-stretch: 104%; font-size: 1.25rem; line-height: 1.25; color: var(--inf-blue); }
.inf-error-card:hover .inf-error-card__name { text-decoration: underline; text-underline-offset: 4px; }
.inf-error-card__text { color: var(--inf-muted); font-size: .9688rem; line-height: 1.55; }
.inf-error-links { background: var(--inf-navy); color: var(--inf-white); border-radius: 6px; padding: 10px 24px; }
.inf-error-links li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.inf-error-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-block: 10px;
  text-decoration: none; font-family: var(--inf-display); font-weight: 600; font-stretch: 104%;
}
.inf-error-links a::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 4px;
  border: solid var(--inf-red); border-width: 2px 2px 0 0; transform: rotate(45deg);
  transition: translate .2s var(--inf-ease);
}
[dir="rtl"] .inf-error-links a::after { transform: rotate(-135deg); }
.inf-error-links a:hover { color: var(--inf-white); text-decoration: underline; text-underline-offset: 5px; }
.inf-error-links a:hover::after { translate: 4px 0; }
[dir="rtl"] .inf-error-links a:hover::after { translate: -4px 0; }

/* on its own page (5xx, maintenance): no header, the logo instead */
.inf-error--standalone { min-height: 100svh; padding-top: clamp(28px, 4vw, 44px); align-content: stretch; }
.inf-error--standalone > .inf-wrap { display: grid; grid-template-rows: auto 1fr; gap: clamp(40px, 6vw, 72px); }
.inf-error__brand { justify-self: start; display: block; }
.inf .inf-error__brand img { height: 46px; width: auto; }
.inf-error__reach { margin-top: 34px; display: grid; gap: 10px; }
.inf-error__reach p { color: var(--inf-on-dark-muted); font-size: .9375rem; }
.inf-error__reach ul { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.inf-error__reach a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.inf-error__reach a:hover { box-shadow: inset 0 0 0 1px var(--inf-white); background: rgba(255, 255, 255, .06); }

@media (max-width: 900px) {
  .inf-error { min-height: 0; }
  .inf-error__grid { grid-template-columns: 1fr; gap: 28px; }
  .inf-error__code { order: -1; justify-content: flex-start; font-size: clamp(5.5rem, 30vw, 10rem); }
  [dir="rtl"] .inf-error__code { justify-content: flex-end; }
  .inf-error h1 { max-width: 20ch; }
  .inf-error::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 45% at 30% 22%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 45% at 30% 22%, #000 15%, transparent 75%);
  }
  [dir="rtl"] .inf-error::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 45% at 70% 22%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 45% at 70% 22%, #000 15%, transparent 75%);
  }
  .inf-error--standalone { min-height: 100svh; }
}
@media (max-width: 480px) {
  .inf-error .inf-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .inf-error__flow { animation: none !important; }
  .inf-error__flow--blue { stroke-dashoffset: -50; }
  .inf-error-card, .inf-error-links a::after { transition: none; }
  .inf-error-card:hover { transform: none; }
}
