/* ChainPoint — landing page (light theme)
   Palette is taken from the logo: navy #002047, steel gray #949494, teal #01897C. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/plex-arabic-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --white: #ffffff;
  --paper: #f4f6f9;
  --mist: #e8edf3;

  --ink-900: #0a192e;
  --ink-700: #2f3f55;
  --ink-500: #56647a;
  --ink-400: #667386;

  --line: rgba(10, 25, 46, 0.1);
  --line-strong: rgba(10, 25, 46, 0.22);

  /* --teal is the logo teal, for lines and marks; --teal-ink is a shade darker
     so that teal text and icons keep enough contrast on white */
  --teal: #01897c;
  --teal-ink: #017a6e;
  --teal-soft: rgba(1, 137, 124, 0.1);

  --shadow: 0 24px 48px -28px rgba(10, 25, 46, 0.35);

  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 4.75rem;
  --section-space: clamp(4.5rem, 9vw, 7.5rem);
}

/* ------------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-700);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--ink-900);
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
}

:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 3px;
}

::selection {
  background: var(--teal-ink);
  color: var(--white);
}

.container {
  width: min(100% - 3rem, 76rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Small Latin technical labels (01 — LAND, …) */
.label,
.eyebrow__num {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-400);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-500);
}

.eyebrow__num {
  color: var(--teal-ink);
}

/* the number is an LTR island, so ::before sits on its left, between it and the Arabic label */
.eyebrow__num::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: var(--line-strong);
}

/* title on one side, short description on the other */
.section__head {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section__head > p {
  padding-bottom: 0.35rem;
  color: var(--ink-500);
}

/* image frame with corner registration marks, as on a technical sheet */
.frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--mist);
  box-shadow: var(--shadow);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  border: 0 solid var(--teal);
  pointer-events: none;
}

.frame::before {
  top: -5px;
  right: -5px;
  border-top-width: 2px;
  border-right-width: 2px;
}

.frame::after {
  bottom: -5px;
  left: -5px;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ----------------------------------------------------------------- motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* content stays visible without JS; with JS it rises in when scrolled to */
.js .reveal:not(.is-in) {
  opacity: 0;
}

.js .reveal.is-in {
  animation: rise 0.8s var(--ease) var(--d, 0s) backwards;
}

.stagger > :nth-child(2) { --d: 0.09s; }
.stagger > :nth-child(3) { --d: 0.18s; }
.stagger > :nth-child(4) { --d: 0.27s; }
.stagger > :nth-child(5) { --d: 0.36s; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.125rem;
  padding: 0.6rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 14px 28px -16px rgba(10, 25, 46, 0.7);
}

.btn--primary:hover {
  background: var(--teal-ink);
}

.btn--primary svg {
  transition: transform 0.18s ease;
}

.btn--primary:hover svg {
  transform: translateX(-3px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--white);
  color: var(--ink-900);
}

.btn--ghost:hover,
.btn--ghost.is-done {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-stuck,
.site-header.is-open {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -22px rgba(10, 25, 46, 0.4);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav__link {
  position: relative;
  padding-block: 0.4rem;
  color: var(--ink-700);
  transition: color 0.18s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--ink-900);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 0.45rem 1.25rem;
  border: 1px solid var(--ink-900);
  border-radius: var(--radius);
  color: var(--ink-900);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav__cta:hover {
  background: var(--ink-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink-900);
  cursor: pointer;
}

.nav-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}

.nav-toggle__close,
.is-open .nav-toggle__open {
  display: none;
}

.is-open .nav-toggle__close {
  display: block;
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: var(--header-h);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), var(--white) 55%);
}

/* fine survey grid behind the photo, fading out toward the copy */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(10, 25, 46, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 25, 46, 0.05) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 22% 45%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 75% at 22% 45%, #000, transparent 78%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 3.75rem);
}

.hero__copy > * {
  animation: rise 0.8s var(--ease) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
}

.dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}

h1 {
  font-size: clamp(2.125rem, 4.8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.3;
}

h1 .accent {
  color: var(--teal-ink);
}

.hero__lead {
  max-width: 33rem;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__media {
  position: relative;
  animation: rise 0.9s var(--ease) 0.15s both;
}

/* The aircraft fills the left 60% of the photo and the rest is empty sky,
   so the crop is anchored near the left edge. */
.hero__media img {
  aspect-ratio: 1 / 1;
  object-position: 15% 50%;
}

/* technical readout over the dark tarmac at the foot of the photo */
.hero__readout {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  direction: ltr;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.82);
}

.hero__readout::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: #3fd0be;
}

.hero__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(2rem, 5vh, 3rem);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 36px -30px rgba(10, 25, 46, 0.4);
  font-size: 0.9688rem;
  font-weight: 500;
  color: var(--ink-900);
  animation: rise 0.8s var(--ease) 0.36s both;
}

.hero__strip li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.5rem;
}

.hero__strip li + li {
  border-inline-start: 1px solid var(--line);
}

/* ------------------------------------------------------------------ about */
/* every other section sits on a soft gray band; the hero above the first one
   and the footer below the last already draw the edge on that side */
.about,
.services,
.contact {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.about {
  border-top: 0;
}

.contact {
  border-bottom: 0;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about__body {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: 1.0625rem;
}

.about__media {
  position: relative;
}

/* overlaps the photo's corner on the side nearest the copy */
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  inset-inline-start: -1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 17.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--teal);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-500);
}

.about__badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-900);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: clamp(4rem, 8vw, 6rem);
}

.principles > div {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  background: var(--white);
}

.principles .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.25rem;
}

.principles dt {
  margin-bottom: 0.35rem;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink-900);
}

.principles dd {
  font-size: 0.9688rem;
  color: var(--ink-500);
}

/* ---------------------------------------------------------------- sectors */
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sector {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sector:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.sector__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist);
}

.sector__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.sector:hover .sector__media img {
  transform: scale(1.05);
}

.sector__body {
  position: relative;
  flex: 1;
  padding: 1.5rem 1.5rem 1.75rem;
}

.sector__body::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.sector:hover .sector__body::before {
  transform: scaleX(1);
}

/* the label is an LTR island; it is pushed to the right to sit above the title */
.sector .label {
  display: block;
  margin-bottom: 0.6rem;
  text-align: right;
  color: var(--teal-ink);
}

.sector h3 {
  margin-bottom: 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.5;
}

.sector p {
  font-size: 0.9688rem;
  color: var(--ink-500);
}

/* --------------------------------------------------------------- services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.service {
  position: relative;
  padding: 2rem 2rem 2.5rem;
  background: var(--white);
  transition: background-color 0.25s ease;
}

.service::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.service:hover {
  background: #fbfcfd;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service__icon {
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  border: 1px solid rgba(1, 137, 124, 0.25);
  border-radius: var(--radius);
  background: var(--teal-soft);
  fill: none;
  stroke: var(--teal-ink);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.5;
}

.service p {
  font-size: 0.9688rem;
  color: var(--ink-500);
}

/* ---------------------------------------------------------------- process */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

/* each step carries its own piece of the track, so the line runs unbroken */
.step {
  position: relative;
  padding-top: 2rem;
  padding-inline-end: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  content: "";
  position: absolute;
  top: -5px;
  inset-inline-start: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-soft);
}

.step .label {
  display: block;
  margin-bottom: 0.6rem;
  text-align: right;
  color: var(--teal-ink);
}

.step h3 {
  margin-bottom: 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
}

.step p {
  font-size: 0.9375rem;
  color: var(--ink-500);
}

/* ---------------------------------------------------------------- contact */
.contact__panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact__panel::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 1;
  width: 4.5rem;
  height: 3px;
  background: var(--teal);
}

.contact__body {
  padding: clamp(1.5rem, 4.5vw, 3.5rem);
}

.contact__lead {
  max-width: 33rem;
  margin-top: 0.9rem;
}

.contact__email {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--teal);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: clamp(1.0625rem, 4.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-900);
  overflow-wrap: anywhere;
  transition: color 0.18s ease;
}

.contact__email:hover {
  color: var(--teal-ink);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.contact__hint {
  font-size: 0.9063rem;
  color: var(--ink-500);
}
/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--ink-500);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

.site-footer__brand p {
  max-width: 24rem;
  margin-top: 1.1rem;
}

.site-footer__nav {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
}

.site-footer a {
  transition: color 0.18s ease;
}

.site-footer a:hover {
  color: var(--teal-ink);
}

.site-footer__title {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-900);
}

.site-footer__contact a {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--ink-700);
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.site-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__top svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------- responsive */
@media (min-width: 56.01rem) {
  /* room for two lines in every card, so a shorter description does not drop
     below the ones beside it */
  .sector p {
    min-height: 3.6em;
  }
}

@media (max-width: 64rem) {
  /* five across gets too tight; the track wraps onto two rows */
  .steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }
}

@media (max-width: 56rem) {
  /* menu collapses behind a button (only when JS is there to open it) */
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.25rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 40px -24px rgba(10, 25, 46, 0.35);
    font-size: 1rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .js .is-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .js .nav__link {
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--line);
  }

  .js .nav__link::after {
    display: none;
  }

  .js .nav__cta {
    margin-top: 1.25rem;
    padding-block: 0.75rem;
    text-align: center;
  }

  html:not(.js) .nav__link {
    display: none;
  }

  /* copy first, then the photo as a wide band */
  .hero__inner,
  .section__head,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero::before {
    display: none;
  }

  .hero__media img {
    aspect-ratio: 16 / 10;
    object-position: 20% 50%;
  }

  .section__head > p {
    padding-bottom: 0;
  }

  .about__badge {
    inset-inline-start: 1rem;
  }

  /* one card per row, photo beside the copy */
  .sectors__grid {
    grid-template-columns: 1fr;
  }

  .sector {
    flex-direction: row;
  }

  .sector__media {
    flex: 0 0 38%;
  }

  .sector__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 40rem) {
  :root {
    --header-h: 4.25rem;
  }

  .brand img {
    width: 190px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__media img {
    aspect-ratio: 4 / 3;
  }

  .hero__readout {
    left: 1rem;
    bottom: 1rem;
    letter-spacing: 0.14em;
  }

  .hero__strip,
  .principles,
  .services__grid {
    grid-template-columns: 1fr;
  }

  .hero__strip li {
    padding: 0.9rem 1.25rem;
  }

  .hero__strip li + li {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  /* photo back on top of the copy */
  .sector {
    flex-direction: column;
  }

  .sector__media {
    flex: none;
    aspect-ratio: 1 / 1;
  }

  /* the track turns vertical and runs down the leading edge */
  .steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .step {
    padding: 0 1.75rem 2rem 0;
    border-top: 0;
    border-inline-start: 1px solid var(--line-strong);
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step::before {
    top: 0.35rem;
    inset-inline-start: -5px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal:not(.is-in) {
    opacity: 1;
  }
}
